perldiag >
5.6.1
との差分
perldiag 5.6.1 と 5.28.0 の差分
1 | 1 | |
2 | 2 | =encoding euc-jp |
3 | 3 | |
4 | 4 | =head1 NAME |
5 | 5 | |
6 | 6 | =begin original |
7 | 7 | |
8 | 8 | perldiag - various Perl diagnostics |
9 | 9 | |
10 | 10 | =end original |
11 | 11 | |
12 | 12 | perldiag - さまざまな Perl 診断メッセージ |
13 | 13 | |
14 | 14 | =head1 DESCRIPTION |
15 | 15 | |
16 | 16 | =begin original |
17 | 17 | |
18 | 18 | These messages are classified as follows (listed in increasing order of |
19 | 19 | desperation): |
20 | 20 | |
21 | 21 | =end original |
22 | 22 | |
23 | 23 | これらのメッセージは以下のように分類されます (重要度が増す順に |
24 | 24 | 並べてあります): |
25 | 25 | |
26 | 26 | =begin original |
27 | 27 | |
28 | 28 | (W) A warning (optional). |
29 | (D) A deprecation ( | |
29 | (D) A deprecation (enabled by default). | |
30 | (S) A severe warning (default). | |
30 | (S) A severe warning (enabled by default). | |
31 | 31 | (F) A fatal error (trappable). |
32 | 32 | (P) An internal error you should never see (trappable). |
33 | 33 | (X) A very fatal error (nontrappable). |
34 | 34 | (A) An alien error message (not generated by Perl). |
35 | 35 | |
36 | 36 | =end original |
37 | 37 | |
38 | (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 | (W, D & S) can be controlled using the C<warnings> pragma. | |
49 | (W, D & S) can be controlled using the C<warnings> pragma. | |
50 | 50 | |
51 | 51 | =end original |
52 | 52 | |
53 | 53 | 上記のうち、最初の三つ (W, D, S) に分類されるメッセージの大部分は |
54 | 54 | C<warings> プラグマで制御できます。 |
55 | 55 | |
56 | 56 | =begin original |
57 | 57 | |
58 | 58 | If a message can be controlled by the C<warnings> pragma, its warning |
59 | 59 | category is included with the classification letter in the description |
60 | below. | |
60 | below. E.g. C<(W closed)> means a warning in the C<closed> category. | |
61 | 61 | |
62 | 62 | =end original |
63 | 63 | |
64 | メッセージが C<warnings> プラグマで制御できる場合、 | |
64 | メッセージが C<warnings> プラグマで制御できる場合、警告カテゴリは以下の | |
65 | ||
65 | 説明で分類文字と共に記されています。 | |
66 | 例えば、C<(W closed)> は C<closed> カテゴリの警告を意味します。 | |
66 | 67 | |
67 | 68 | =begin original |
68 | 69 | |
69 | 70 | Optional warnings are enabled by using the C<warnings> pragma or the B<-w> |
70 | and B<-W> switches. Warnings may be captured by setting C<$SIG{__WARN__}> | |
71 | and B<-W> switches. Warnings may be captured by setting C<$SIG{__WARN__}> | |
71 | 72 | to a reference to a routine that will be called on each warning instead |
72 | 73 | of printing it. See L<perlvar>. |
73 | 74 | |
74 | 75 | =end original |
75 | 76 | |
76 | 77 | C<warnings> プラグマか B<-w> と B<-W> のオプションを使うと追加の警告が |
77 | 78 | 有効になります。 |
78 | 79 | 警告は、表示する変わりに警告が出るたびに呼び出されるサブルーチンへの |
79 | 80 | リファレンスを C<$SIG{__WARN__}> にセットすることで捕捉できます。 |
80 | 81 | L<perlvar> を参照してください。 |
81 | 82 | |
82 | 83 | =begin original |
83 | 84 | |
84 | ||
85 | Severe warnings are always enabled, unless they are explicitly disabled | |
85 | 86 | with the C<warnings> pragma or the B<-X> switch. |
86 | 87 | |
87 | 88 | =end original |
88 | 89 | |
89 | ||
90 | C<warnings> プラグマか B<-X> オプションで明示的に無効にされない限り、 | |
90 | ||
91 | 厳しい警告は常に有効です。 | |
91 | 92 | |
92 | 93 | =begin original |
93 | 94 | |
94 | 95 | Trappable errors may be trapped using the eval operator. See |
95 | 96 | L<perlfunc/eval>. In almost all cases, warnings may be selectively |
96 | 97 | disabled or promoted to fatal errors using the C<warnings> pragma. |
97 | 98 | See L<warnings>. |
98 | 99 | |
99 | 100 | =end original |
100 | 101 | |
101 | 102 | トラップ可能なエラーは評価演算子を使ってトラップできます。 |
102 | 103 | L<perlfunc/eval> を参照してください。 |
103 | ほとんど全ての場合、警告は C<warnings> プラグマを使うことで | |
104 | ほとんど全ての場合、警告は C<warnings> プラグマを使うことで選択的に | |
104 | ||
105 | 無効にしたり致命的エラーに昇格させたりできます。 | |
105 | 106 | L<warnings> を参照してください。 |
106 | 107 | |
107 | 108 | =begin original |
108 | 109 | |
109 | 110 | The messages are in alphabetical order, without regard to upper or |
110 | 111 | lower-case. Some of these messages are generic. Spots that vary are |
111 | 112 | denoted with a %s or other printf-style escape. These escapes are |
112 | 113 | ignored by the alphabetical order, as are all characters other than |
113 | 114 | letters. To look up your message, just ignore anything that is not a |
114 | 115 | letter. |
115 | 116 | |
116 | 117 | =end original |
117 | 118 | |
118 | 119 | メッセージは大文字小文字を無視してアルファベット順に並んでいます。 |
119 | 120 | これらの中には一般的なものもあります。 |
120 | 121 | 変化する部分は %s またはその他の printf スタイルの表記をしています。 |
121 | 122 | これらの表記や、その他の英文字以外の文字は並び順に関しては |
122 | 123 | 無視されています。 |
123 | 124 | メッセージを探すには、英文字以外は無視してください。 |
124 | 125 | |
125 | 126 | =over 4 |
126 | 127 | |
127 | 128 | =item accept() on closed socket %s |
128 | 129 | |
129 | 130 | =begin original |
130 | 131 | |
131 | 132 | (W closed) You tried to do an accept on a closed socket. Did you forget |
132 | 133 | to check the return value of your socket() call? See |
133 | 134 | L<perlfunc/accept>. |
134 | 135 | |
135 | 136 | =end original |
136 | 137 | |
137 | 138 | (W closed) クローズされたソケットに accept を行なおうとしました。 |
138 | 139 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
139 | 140 | L<perlfunc/accept> を参照してください。 |
140 | 141 | |
141 | =item Al | |
142 | =item Aliasing via reference is experimental | |
142 | 143 | |
143 | 144 | =begin original |
144 | 145 | |
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 | ||
145 | 169 | (X) You can't allocate more than 64K on an MS-DOS machine. |
146 | 170 | |
147 | 171 | =end original |
148 | 172 | |
149 | 173 | (X) MS-DOS マシンでは、64K を越えるメモリアロケートをおこなえません。 |
150 | 174 | |
151 | =item ' | |
175 | =item '%c' allowed only after types %s in %s | |
152 | 176 | |
153 | 177 | =begin original |
154 | 178 | |
155 | (F) The '!' | |
179 | (F) The modifiers '!', '<' and '>' are allowed in pack() or unpack() only | |
156 | See L<perlfunc/pack>. | |
180 | after certain types. See L<perlfunc/pack>. | |
157 | 181 | |
158 | 182 | =end original |
159 | 183 | |
160 | (F) pack() や unpack() での '!' は特定のタイプの | |
184 | (F) pack() や unpack() での '!', '<', '>''!' の修飾子は特定のタイプの | |
161 | つけることができます。 | |
185 | 後にのみつけることができます。 | |
162 | 186 | L<perlfunc/pack> を参照してください。 |
163 | 187 | |
188 | =item alpha->numify() is lossy | |
189 | ||
190 | =begin original | |
191 | ||
192 | (W numeric) An alpha version can not be numified without losing | |
193 | information. | |
194 | ||
195 | =end original | |
196 | ||
197 | (W numeric) アルファバージョンは、情報を失うことなく数値化できません。 | |
198 | ||
164 | 199 | =item Ambiguous call resolved as CORE::%s(), qualify as such or use & |
165 | 200 | |
166 | 201 | =begin original |
167 | 202 | |
168 | 203 | (W ambiguous) A subroutine you have declared has the same name as a Perl |
169 | 204 | keyword, and you have used the name without qualification for calling |
170 | 205 | one or the other. Perl decided to call the builtin because the |
171 | 206 | subroutine is not imported. |
172 | 207 | |
173 | 208 | =end original |
174 | 209 | |
175 | 210 | (W ambiguous) 定義したサブルーチンの名前が Perl のキーワードと同じで、 |
176 | 211 | どちらかを呼び出すために修飾なしで名前を使っています。 |
177 | Perl は、サブルーチンがインポートされたものではないので、 | |
212 | Perl は、サブルーチンがインポートされたものではないので、組み込みのものを | |
178 | ||
213 | 呼び出すことにしました。 | |
179 | 214 | |
180 | 215 | =begin original |
181 | 216 | |
182 | 217 | To force interpretation as a subroutine call, either put an ampersand |
183 | 218 | before the subroutine name, or qualify the name with its package. |
184 | 219 | Alternatively, you can import the subroutine (or pretend that it's |
185 | 220 | imported with the C<use subs> pragma). |
186 | 221 | |
187 | 222 | =end original |
188 | 223 | |
189 | サブルーチン呼び出しとして解釈することを強制させるためには、 | |
224 | サブルーチン呼び出しとして解釈することを強制させるためには、サブルーチン名の | |
190 | ||
225 | 前にアンパサンドをつけるか、名前をパッケージ名で修飾してください。 | |
191 | 修飾してください。 | |
192 | 226 | 他の方法として、サブルーチンをインポートする(あるいは C<use subs> |
193 | 227 | プラグマを使ってインポートされたふりをする)方法もあります。 |
194 | 228 | |
195 | 229 | =begin original |
196 | 230 | |
197 | 231 | To silently interpret it as the Perl operator, use the C<CORE::> prefix |
198 | on the operator (e.g. C<CORE::log($x)>) or | |
232 | on the operator (e.g. C<CORE::log($x)>) or declare the subroutine | |
199 | 233 | to be an object method (see L<perlsub/"Subroutine Attributes"> or |
200 | 234 | L<attributes>). |
201 | 235 | |
202 | 236 | =end original |
203 | 237 | |
204 | 238 | 警告なしに Perl 演算子として解釈させるためには、(C<CORE::log($x)> のように) |
205 | 239 | 演算子に C<CORE::> 接頭辞をつけるか、サブルーチンをオブジェクト |
206 | 240 | メソッド(L<perlsub/"Subroutine Attributes"> や L<attributes> を |
207 | 241 | 参照してください)として定義してください。 |
208 | 242 | |
243 | =item Ambiguous range in transliteration operator | |
244 | ||
245 | =begin original | |
246 | ||
247 | (F) You wrote something like C<tr/a-z-0//> which doesn't mean anything at | |
248 | all. To include a C<-> character in a transliteration, put it either | |
249 | first or last. (In the past, C<tr/a-z-0//> was synonymous with | |
250 | C<tr/a-y//>, which was probably not what you would have expected.) | |
251 | ||
252 | =end original | |
253 | ||
254 | (F) C<tr/a-z-0//> のような、何の意味もないことをしようとしました。 | |
255 | 文字変換の文字に C<-> を加える時は、最初か最後に置いてください。 | |
256 | (以前は C<tr/a-z-0//> は C<tr/a-y//> と同義でしたが、これはおそらく | |
257 | 予想していたものと違うでしょう。) | |
258 | ||
209 | 259 | =item Ambiguous use of %s resolved as %s |
210 | 260 | |
211 | 261 | =begin original |
212 | 262 | |
213 | ( | |
263 | (S ambiguous) You said something that may not be interpreted the way | |
214 | 264 | you thought. Normally it's pretty easy to disambiguate it by supplying |
215 | 265 | a missing quote, operator, parenthesis pair or declaration. |
216 | 266 | |
217 | 267 | =end original |
218 | 268 | |
219 | ( | |
269 | (S ambiguous) 何か、あなたが考えているようには解釈できないものがありました。 | |
220 | ||
270 | 普通は、不足しているクォート、演算子、かっこ、宣言を追加することでかなり | |
221 | ||
271 | 簡単にあいまいさを解消できます。 | |
222 | かなり簡単にあいまいさを解消できます。 | |
223 | 272 | |
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 | ||
224 | 376 | =item '|' and '<' may not both be specified on command line |
225 | 377 | |
226 | 378 | =begin original |
227 | 379 | |
228 | 380 | (F) An error peculiar to VMS. Perl does its own command line |
229 | 381 | redirection, and found that STDIN was a pipe, and that you also tried to |
230 | 382 | redirect STDIN using '<'. Only one STDIN stream to a customer, please. |
231 | 383 | |
232 | 384 | =end original |
233 | 385 | |
234 | (F) VMS | |
386 | (F) VMS に固有のエラーです。 | |
235 | 387 | Perl は独自にコマンドラインのリダイレクトを扱っていて、STDIN がパイプで |
236 | 388 | あることを発見しましたが、さらに '<' を使って STDIN をリダイレクトしようと |
237 | 389 | しました。 |
238 | STDIN ストリームは一つだけにしてください。 | |
390 | STDIN ストリームは一つだけにしてください; お願いします。 | |
239 | お願いします。 | |
240 | 391 | |
241 | 392 | =item '|' and '>' may not both be specified on command line |
242 | 393 | |
243 | 394 | =begin original |
244 | 395 | |
245 | 396 | (F) An error peculiar to VMS. Perl does its own command line |
246 | 397 | redirection, and thinks you tried to redirect stdout both to a file and |
247 | 398 | into a pipe to another command. You need to choose one or the other, |
248 | 399 | though nothing's stopping you from piping into a program or Perl script |
249 | 400 | which 'splits' output into two streams, such as |
250 | 401 | |
251 | 402 | =end original |
252 | 403 | |
253 | (F) VMS | |
404 | (F) VMS に固有のエラーです。 | |
254 | 405 | Perl は独自にコマンドラインのリダイレクトを扱っていて、STDOUT を |
255 | 406 | ファイルと他のコマンドへのパイプと両方にリダイレクトしようとしていると |
256 | 407 | 判断しました。 |
257 | 408 | どちらかを選ぶ必要がありますが、以下のように出力を二つのストリームに |
258 | 409 | 「分割」するプログラムや Perl スクリプトにパイプすることを止めるものは |
259 | 410 | 何もありません。 |
260 | 411 | |
261 | 412 | open(OUT,">$ARGV[0]") or die "Can't write to $ARGV[0]: $!"; |
262 | 413 | while (<STDIN>) { |
263 | 414 | print; |
264 | 415 | print OUT; |
265 | 416 | } |
266 | 417 | close OUT; |
267 | 418 | |
268 | 419 | =item Applying %s to %s will act on scalar(%s) |
269 | 420 | |
270 | 421 | =begin original |
271 | 422 | |
272 | (W misc) The pattern match (//), substitution (s///), and | |
423 | (W misc) The pattern match (C<//>), substitution (C<s///>), and | |
273 | transliteration (tr///) operators work on scalar values. If you apply | |
424 | transliteration (C<tr///>) operators work on scalar values. If you apply | |
274 | 425 | one of them to an array or a hash, it will convert the array or hash to |
275 | a scalar value | |
426 | a scalar value (the length of an array, or the population info of a | |
276 | hash | |
427 | hash) and then work on that scalar value. This is probably not what | |
277 | 428 | you meant to do. See L<perlfunc/grep> and L<perlfunc/map> for |
278 | 429 | alternatives. |
279 | 430 | |
280 | 431 | =end original |
281 | 432 | |
282 | (W misc) パターンマッチ (//), 置換 (s///), 文字置換 | |
433 | (W misc) パターンマッチ (C<//>), 置換 (C<s///>), 文字置換 | |
283 | (tr///) 演算子はスカラ値に対して動作します。 | |
434 | (C<tr///>) 演算子はスカラ値に対して動作します。 | |
284 | これらを配列やハッシュに適用すると、配列やハッシュをスカラ値 | |
435 | これらを配列やハッシュに適用すると、配列やハッシュをスカラ値 (配列の長さか | |
285 | ||
436 | ハッシュの大きさの情報) に変換し、そのスカラ値に対して動作します。 | |
286 | 動作します。 | |
287 | 437 | これはおそらくしたいこととは違うでしょう。 |
288 | 438 | 代替案については L<perlfunc/grep> と L<perlfunc/map> を参照してください。 |
289 | 439 | |
290 | =item Arg | |
440 | =item Arg too short for msgsnd | |
291 | 441 | |
292 | 442 | =begin original |
293 | 443 | |
294 | (F) | |
444 | (F) msgsnd() requires a string at least as long as sizeof(long). | |
295 | with match the arguments specified on the #! line. Since some systems | |
296 | impose a one-argument limit on the #! line, try combining switches; | |
297 | for example, turn C<-w -U> into C<-wU>. | |
298 | 445 | |
299 | 446 | =end original |
300 | 447 | |
301 | (F) s | |
448 | (F) msgsnd() に渡す文字列は、少なくとも sizeof(long) の長さが必要です。 | |
302 | #! の行で指定された引数はマッチすることが要求されます。 | |
303 | #! 行の 1 引数制限があるシステムがあるので、 | |
304 | 組み合わせスイッチを試してみてください; | |
305 | 例えば、C<-w -U> を C<-wU> にしてください。 | |
306 | 449 | |
307 | =item Arg | |
450 | =item Argument "%s" isn't numeric%s | |
308 | 451 | |
309 | 452 | =begin original |
310 | 453 | |
311 | ( | |
454 | (W numeric) The indicated string was fed as an argument to an operator | |
455 | that expected a numeric value instead. If you're fortunate the message | |
456 | will identify which operator was so unfortunate. | |
312 | 457 | |
313 | 458 | =end original |
314 | 459 | |
315 | ( | |
460 | (W numeric) ここに示した文字列は、数値が必要な演算子の引数として、 | |
316 | ||
461 | 与えられました。 | |
462 | 運がよければ、このメッセージによって、どの演算子が問題となったかが | |
463 | わかります。 | |
317 | 464 | |
318 | = | |
465 | =begin original | |
319 | 466 | |
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 | ||
320 | 482 | =begin original |
321 | 483 | |
322 | ( | |
484 | (W layer) When pushing a layer with arguments onto the Perl I/O | |
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. | |
323 | 491 | |
324 | 492 | =end original |
325 | 493 | |
326 | ( | |
494 | (W layer) Perl I/O システムに層を引数付きで追加するときに、引数リストを | |
327 | ||
495 | 閉じる ) を忘れています。 | |
496 | (層はデータの外部表現と内部表現の変換を扱います。) | |
497 | Perl はここで層のリストのパースを中止し、この層の追加は行われませんでした。 | |
498 | 明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の | |
499 | 値が原因かもしれません。 | |
328 | 500 | |
329 | | |
501 | =item Argument "%s" treated as 0 in increment (++) | |
330 | $ref->{"susie"}[12] | |
331 | 502 | |
332 | = | |
503 | =begin original | |
333 | 504 | |
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 | ||
334 | 518 | =begin original |
335 | 519 | |
336 | ( | |
520 | (W syntax) You called stat() on an array, but the array will be | |
337 | s | |
521 | coerced to a scalar - the number of elements in the array. | |
338 | 522 | |
339 | 523 | =end original |
340 | 524 | |
341 | ( | |
525 | (W syntax) 配列に対して stat() が呼び出されましたが、配列は | |
526 | スカラ - 配列の要素数 - に強制されました。 | |
342 | 527 | |
343 | $ | |
528 | =item A signature parameter must start with '$', '@' or '%' | |
344 | $ref->{"susie"}[12] | |
345 | 529 | |
346 | 530 | =begin original |
347 | 531 | |
348 | ||
532 | (F) Each subroutine signature parameter declaration must start with a valid | |
533 | sigil; for example: | |
349 | 534 | |
350 | 535 | =end original |
351 | 536 | |
352 | ||
537 | (F) それぞれのサブルーチンシグネチャ引数宣言は、妥当な印で | |
538 | 始まらなければなりません; 例えば: | |
353 | 539 | |
354 | | |
540 | sub foo ($a, $, $b = 1, @c) {} | |
355 | @{$ref->[12]}{"susie", "queue"} | |
356 | 541 | |
357 | =item | |
542 | =item A slurpy parameter may not have a default value | |
358 | 543 | |
359 | 544 | =begin original |
360 | 545 | |
361 | (F) | |
546 | (F) Only scalar subroutine signature parameters may have a default value; | |
362 | ||
547 | for example: | |
363 | error. | |
364 | 548 | |
365 | 549 | =end original |
366 | 550 | |
367 | (F) | |
551 | (F) スカラサブルーチンシグネチャ引数のみがデフォルト値を持てます; | |
368 | ||
552 | 例えば: | |
369 | C<exists &sub()> とするとこのエラーが生成されます。 | |
370 | 553 | |
371 | ||
554 | sub foo ($a = 1) {} # legal | |
555 | sub foo (@a = (1)) {} # invalid | |
556 | sub foo (%a = (a => b)) {} # invalid | |
372 | 557 | |
558 | =item assertion botched: %s | |
559 | ||
373 | 560 | =begin original |
374 | 561 | |
375 | ( | |
562 | (X) The malloc package that comes with Perl had an internal failure. | |
376 | that expected a numeric value instead. If you're fortunate the message | |
377 | will identify which operator was so unfortunate. | |
378 | 563 | |
379 | 564 | =end original |
380 | 565 | |
381 | ( | |
566 | (X) Perl に付属の malloc ルーティンが内部エラーを起こしました。 | |
382 | 与えられました。 | |
383 | 運がよければ、このメッセージによって、どの演算子が | |
384 | 問題となったかがわかります。 | |
385 | 567 | |
386 | =item Ar | |
568 | =item Assertion %s failed: file "%s", line %d | |
387 | 569 | |
388 | 570 | =begin original |
389 | 571 | |
390 | ( | |
572 | (X) A general assertion failed. The file in question must be examined. | |
391 | spots. This is now heavily deprecated. | |
392 | 573 | |
393 | 574 | =end original |
394 | 575 | |
395 | ( | |
576 | (X) 一般的なアサーションが失敗しました。 | |
396 | ||
577 | 問題の file を調べる必要があります。 | |
397 | この省略は、止めてください。 | |
398 | 578 | |
399 | =item | |
579 | =item Assigned value is not a reference | |
400 | 580 | |
401 | 581 | =begin original |
402 | 582 | |
403 | ( | |
583 | (F) You tried to assign something that was not a reference to an lvalue | |
584 | reference (e.g., C<\$x = $y>). If you meant to make $x an alias to $y, use | |
585 | C<\$x = \$y>. | |
404 | 586 | |
405 | 587 | =end original |
406 | 588 | |
407 | ( | |
589 | (F) リファレンスでないものを左辺値リファレンスに代入しようとしました | |
590 | (例: C<\$x = $y>)。 | |
591 | $x を $y の別名にすることを意図しているなら、C<\$x = \$y> を使ってください。 | |
408 | 592 | |
409 | =item Ass | |
593 | =item Assigned value is not %s reference | |
410 | 594 | |
411 | 595 | =begin original |
412 | 596 | |
413 | ( | |
597 | (F) You tried to assign a reference to a reference constructor, but the | |
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. | |
414 | 600 | |
415 | 601 | =end original |
416 | 602 | |
417 | ( | |
603 | (F) あるリファレンスにリファレンスコンストラクタを代入しようとしましたが、 | |
418 | ||
604 | 二つのリファレンスが同じ型ではありません。 | |
605 | スカラから配列への別名や配列からハッシュへの別名はできません; | |
606 | 二つの型は一致していなければなりません。 | |
419 | 607 | |
608 | \$x = \@y; # error | |
609 | \@x = \%y; # error | |
610 | $y = []; | |
611 | \$x = $y; # error; did you mean \$y? | |
612 | ||
613 | =item Assigning non-zero to $[ is no longer possible | |
614 | ||
615 | =begin original | |
616 | ||
617 | (F) When the "array_base" feature is disabled (e.g., under C<use v5.16;>) | |
618 | the special variable C<$[>, which is deprecated, is now a fixed zero value. | |
619 | ||
620 | =end original | |
621 | ||
622 | (F) (C<use v5.16;> のように) "array_base" 機能が無効の場合、廃止予定である | |
623 | 特殊変数 C<$[> は 0 固定です。 | |
624 | ||
420 | 625 | =item Assignment to both a list and a scalar |
421 | 626 | |
422 | 627 | =begin original |
423 | 628 | |
424 | 629 | (F) If you assign to a conditional operator, the 2nd and 3rd arguments |
425 | 630 | must either both be scalars or both be lists. Otherwise Perl won't |
426 | 631 | know which context to supply to the right side. |
427 | 632 | |
428 | 633 | =end original |
429 | 634 | |
430 | (F) 条件演算子へ代入を行なう場合には、 | |
635 | (F) 条件演算子へ代入を行なう場合には、二つめの引数と、3 つめの引数は、 | |
431 | 636 | ともにスカラか、ともにリストでなければなりません。 |
432 | 637 | そうでないと、Perl は右辺のコンテキストを決めることができません。 |
433 | 638 | |
434 | =item | |
639 | =item Assuming NOT a POSIX class since %s in regex; marked by S<<-- HERE> in m/%s/ | |
435 | 640 | |
436 | 641 | =begin original |
437 | 642 | |
438 | ( | |
643 | (W regexp) You had something like these: | |
439 | greater than or equal to zero. | |
440 | 644 | |
441 | 645 | =end original |
442 | 646 | |
443 | ( | |
647 | (W regexp) 次のようなことをしました: | |
444 | 二つ目の引数は 0 以上でなければなりません。 | |
445 | 648 | |
446 | ||
649 | [[:alnum]] | |
650 | [[:digit:xyz] | |
447 | 651 | |
448 | 652 | =begin original |
449 | 653 | |
450 | ||
654 | They look like they might have been meant to be the POSIX classes | |
655 | C<[:alnum:]> or C<[:digit:]>. If so, they should be written: | |
656 | ||
657 | =end original | |
658 | ||
659 | これらは、POSIX クラス C<[:alnum:]> や C<[:digit:]> を意味しようと | |
660 | していたように見えます。 | |
661 | もしそうなら、次のように書くべきです: | |
662 | ||
663 | [[:alnum:]] | |
664 | [[:digit:]xyz] | |
665 | ||
666 | =begin original | |
667 | ||
668 | Since these aren't legal POSIX class specifications, but are legal | |
669 | bracketed character classes, Perl treats them as the latter. In the | |
670 | first example, it matches the characters C<":">, C<"[">, C<"a">, C<"l">, | |
671 | C<"m">, C<"n">, and C<"u">. | |
672 | ||
673 | =end original | |
674 | ||
675 | これらは有効な POSIX クラスしようではありませんが、有効な | |
676 | 大かっこ文字クラスなので、Perl これらを後者として扱います。 | |
677 | 一つ目の例では、これは C<":">, C<"[">, C<"a">, C<"l">, | |
678 | C<"m">, C<"n">, C<"u"> にマッチングします。 | |
679 | ||
680 | =begin original | |
681 | ||
682 | If these weren't meant to be POSIX classes, this warning message is | |
683 | spurious, and can be suppressed by reordering things, such as | |
684 | ||
685 | =end original | |
686 | ||
687 | これらが POSIX クラスを意味していないなら、この警告は誤りで、 | |
688 | 次のように文字を入れ替えることで抑制できます: | |
689 | ||
690 | [[al:num]] | |
691 | ||
692 | =begin original | |
693 | ||
694 | or | |
695 | ||
696 | =end original | |
697 | ||
698 | または | |
699 | ||
700 | [[:munla]] | |
701 | ||
702 | =item <> at require-statement should be quotes | |
703 | ||
704 | =begin original | |
705 | ||
706 | (F) You wrote C<< require <file> >> when you should have written | |
707 | C<require 'file'>. | |
708 | ||
709 | =end original | |
710 | ||
711 | (F) C<require 'file'> と書くべきところで C<< require <file> >> と | |
712 | 書いています。 | |
713 | ||
714 | =item Attempt to access disallowed key '%s' in a restricted hash | |
715 | ||
716 | =begin original | |
717 | ||
718 | (F) The failing code has attempted to get or set a key which is not in | |
719 | the current set of allowed keys of a restricted hash. | |
720 | ||
721 | =end original | |
722 | ||
723 | (F) 制限ハッシュで許されているキーの集合に含まれていないキーに対して | |
724 | 取得または設定しようとして失敗しました。 | |
725 | ||
726 | =item Attempt to bless into a freed package | |
727 | ||
728 | =begin original | |
729 | ||
730 | (F) You wrote C<bless $foo> with one argument after somehow causing | |
731 | the current package to be freed. Perl cannot figure out what to | |
732 | do, so it throws up its hands in despair. | |
733 | ||
734 | =end original | |
735 | ||
736 | (F) 現在のパッケージが解放されるような何かが起きた後で 1 引数の | |
737 | C<bless $foo> を書きました。 | |
738 | 何がしたいのかが分からないので Perl はお手上げになりました。 | |
739 | ||
740 | =item Attempt to bless into a reference | |
741 | ||
742 | =begin original | |
743 | ||
744 | (F) The CLASSNAME argument to the bless() operator is expected to be | |
745 | the name of the package to bless the resulting object into. You've | |
746 | supplied instead a reference to something: perhaps you wrote | |
747 | ||
748 | =end original | |
749 | ||
750 | (F) bless() 演算子の CLASSNAME 引数は結果のオブジェクトに bless する | |
751 | パッケージ名を想定しています。 | |
752 | そこに何かへのリファレンスが与えられました: | |
753 | おそらく以下のようにしたのでしょう: | |
754 | ||
755 | bless $self, $proto; | |
756 | ||
757 | =begin original | |
758 | ||
759 | when you intended | |
760 | ||
761 | =end original | |
762 | ||
763 | 以下を意図していたはずです: | |
764 | ||
765 | bless $self, ref($proto) || $proto; | |
766 | ||
767 | =begin original | |
768 | ||
769 | If you actually want to bless into the stringified version | |
770 | of the reference supplied, you need to stringify it yourself, for | |
771 | example by: | |
772 | ||
773 | =end original | |
774 | ||
775 | 実際に与えられたリファレンスを文字列化したものに bless したい場合は、 | |
776 | 以下のようにして自分で文字列化する必要があります: | |
777 | ||
778 | bless $self, "$proto"; | |
779 | ||
780 | =item Attempt to clear deleted array | |
781 | ||
782 | =begin original | |
783 | ||
784 | (S debugging) An array was assigned to when it was being freed. | |
785 | Freed values are not supposed to be visible to Perl code. This | |
786 | can also happen if XS code calls C<av_clear> from a custom magic | |
787 | callback on the array. | |
788 | ||
789 | =end original | |
790 | ||
791 | (S debugging) 配列が、解放されるときに代入されました。 | |
792 | 解放された値は Perl コードからは見えないはずです。 | |
793 | これはまた、XS コードが配列のカスタムマジックコールバックから | |
794 | C<av_clear> を呼び出したときにも起こります。 | |
795 | ||
796 | =item Attempt to delete disallowed key '%s' from a restricted hash | |
797 | ||
798 | =begin original | |
799 | ||
800 | (F) The failing code attempted to delete from a restricted hash a key | |
801 | which is not in its key set. | |
802 | ||
803 | =end original | |
804 | ||
805 | (F) 制限ハッシュで、キー集合に含まれていないキーから削除しようとしました。 | |
806 | ||
807 | =item Attempt to delete readonly key '%s' from a restricted hash | |
808 | ||
809 | =begin original | |
810 | ||
811 | (F) The failing code attempted to delete a key whose value has been | |
812 | declared readonly from a restricted hash. | |
813 | ||
814 | =end original | |
815 | ||
816 | (F) 制限ハッシュで、読み込み専用として宣言されている値のキーを | |
817 | 削除しようとしました。 | |
818 | ||
819 | =item Attempt to free non-arena SV: 0x%x | |
820 | ||
821 | =begin original | |
822 | ||
823 | (S internal) All SV objects are supposed to be allocated from arenas | |
451 | 824 | that will be garbage collected on exit. An SV was discovered to be |
452 | 825 | outside any of those arenas. |
453 | 826 | |
454 | 827 | =end original |
455 | 828 | |
456 | ( | |
829 | (S internal) すべての SV オブジェクトは、exit 時にガーベジコレクションが | |
457 | 830 | 行なわれるアリーナに割り当てるようになっています。 |
458 | 831 | ある SV が、そういったアリーナに入っていないことが、見つかりました。 |
459 | 832 | |
460 | =item Attempt to free nonexistent shared string | |
833 | =item Attempt to free nonexistent shared string '%s'%s | |
461 | 834 | |
462 | 835 | =begin original |
463 | 836 | |
464 | ( | |
837 | (S internal) Perl maintains a reference-counted internal table of | |
465 | 838 | strings to optimize the storage and access of hash keys and other |
466 | 839 | strings. This indicates someone tried to decrement the reference count |
467 | 840 | of a string that can no longer be found in the table. |
468 | 841 | |
469 | 842 | =end original |
470 | 843 | |
471 | ( | |
844 | (S internal) Perl はストレージおよびハッシュキーとその他の文字列への | |
472 | ||
845 | アクセスを最適化するために、文字列の参照数テーブルを管理しています。 | |
473 | ||
846 | これは誰かがもうテーブルにない文字列の参照カウントを減らそうとしたことを | |
474 | ||
847 | 示します。 | |
475 | したことを示します。 | |
476 | 848 | |
477 | =item Attempt to free temp prematurely | |
849 | =item Attempt to free temp prematurely: SV 0x%x | |
478 | 850 | |
479 | 851 | =begin original |
480 | 852 | |
481 | ( | |
853 | (S debugging) Mortalized values are supposed to be freed by the | |
482 | 854 | free_tmps() routine. This indicates that something else is freeing the |
483 | 855 | SV before the free_tmps() routine gets a chance, which means that the |
484 | 856 | free_tmps() routine will be freeing an unreferenced scalar when it does |
485 | 857 | try to free it. |
486 | 858 | |
487 | 859 | =end original |
488 | 860 | |
489 | ( | |
861 | (S debugging) 消滅する値は、free_tmps() ルーティンで解放されるように | |
490 | 862 | なっています。 |
491 | 863 | このメッセージは、free_tmps() ルーティンの前に何ものかが、SV を |
492 | 864 | 解放しようとしていることを示していて、これは、free_tmps() が |
493 | 865 | 解放しようとしたときには、どこからも参照されていないスカラを |
494 | 866 | 解放することになるということです。 |
495 | 867 | |
496 | 868 | =item Attempt to free unreferenced glob pointers |
497 | 869 | |
498 | 870 | =begin original |
499 | 871 | |
500 | ( | |
872 | (S internal) The reference counts got screwed up on symbol aliases. | |
501 | 873 | |
502 | 874 | =end original |
503 | 875 | |
504 | ( | |
876 | (S internal) シンボルのエイリアスについて、参照カウントの値がおかしな | |
505 | 877 | 状態になりました。 |
506 | 878 | |
507 | =item Attempt to free unreferenced scalar | |
879 | =item Attempt to free unreferenced scalar: SV 0x%x | |
508 | 880 | |
509 | 881 | =begin original |
510 | 882 | |
511 | ( | |
883 | (S internal) Perl went to decrement the reference count of a scalar to | |
512 | 884 | see if it would go to 0, and discovered that it had already gone to 0 |
513 | 885 | earlier, and should have been freed, and in fact, probably was freed. |
514 | 886 | This could indicate that SvREFCNT_dec() was called too many times, or |
515 | 887 | that SvREFCNT_inc() was called too few times, or that the SV was |
516 | 888 | mortalized when it shouldn't have been, or that memory has been |
517 | 889 | corrupted. |
518 | 890 | |
519 | 891 | =end original |
520 | 892 | |
521 | ( | |
893 | (S internal) Perl がスカラの参照カウントをデクリメントしようとして、0 に | |
522 | なるかを見たところ、既に 0 になっていることがわかりました | |
894 | なるかを見たところ、既に 0 になっていることがわかりました; | |
523 | 895 | これは、既に解放されているべきものであり、実際は、おそらく、 |
524 | 896 | 解放されたものでしょう。 |
525 | 897 | これは、SvREFCNT_dec() が必要以上に呼ばれたか、SvREFCNT_inc() が必要な |
526 | 898 | ときに呼ばれなかったか、SV が消滅すべきで無いときに消滅してしまったか、 |
527 | 899 | メモリ異常になったことが考えられます。 |
528 | 900 | |
529 | =item Attempt to join self | |
530 | ||
531 | =begin original | |
532 | ||
533 | (F) You tried to join a thread from within itself, which is an | |
534 | impossible task. You may be joining the wrong thread, or you may need | |
535 | to move the join() to some other thread. | |
536 | ||
537 | =end original | |
538 | ||
539 | (F) スレッドをそれ自身の中から join しようとしました。 | |
540 | これは不可能な動作です。 | |
541 | 間違ったスレッドに join しようとしているか、 | |
542 | あるいは join() を他のスレッドに移動させる必要があります。 | |
543 | ||
544 | 901 | =item Attempt to pack pointer to temporary value |
545 | 902 | |
546 | 903 | =begin original |
547 | 904 | |
548 | 905 | (W pack) You tried to pass a temporary value (like the result of a |
549 | 906 | function, or a computed expression) to the "p" pack() template. This |
550 | 907 | means the result contains a pointer to a location that could become |
551 | 908 | invalid anytime, even before the end of the current statement. Use |
552 | 909 | literals or global values as arguments to the "p" pack() template to |
553 | 910 | avoid this warning. |
554 | 911 | |
555 | 912 | =end original |
556 | 913 | |
557 | 914 | (W pack) (関数の結果や計算された式といった)一時的な値を pack() の |
558 | 915 | "p" テンプレートに渡そうとしました。 |
559 | 916 | これは、たとえ現在の文の終了前でも、不正な値となり得ます。 |
560 | この警告を避けるためには、pack テンプレート "p" の引数として、 | |
917 | この警告を避けるためには、pack テンプレート "p" の引数として、リテラルか | |
561 | ||
918 | グローバルな値を使ってください。 | |
562 | 919 | |
920 | =item Attempt to reload %s aborted. | |
921 | ||
922 | =begin original | |
923 | ||
924 | (F) You tried to load a file with C<use> or C<require> that failed to | |
925 | compile once already. Perl will not try to compile this file again | |
926 | unless you delete its entry from %INC. See L<perlfunc/require> and | |
927 | L<perlvar/%INC>. | |
928 | ||
929 | =end original | |
930 | ||
931 | (F) 既に一度コンパイルに失敗しているファイルを C<use> や C<require> で | |
932 | 読み込もうとしました。 | |
933 | Perl は %INC からこのファイルのエントリを削除するまで再びファイルを | |
934 | コンパイルしようとはしません。 | |
935 | L<perlfunc/require> と L<perlvar/%INC> を参照してください。 | |
936 | ||
937 | =item Attempt to set length of freed array | |
938 | ||
939 | =begin original | |
940 | ||
941 | (W misc) You tried to set the length of an array which has | |
942 | been freed. You can do this by storing a reference to the | |
943 | scalar representing the last index of an array and later | |
944 | assigning through that reference. For example | |
945 | ||
946 | =end original | |
947 | ||
948 | (W misc) 既に解放された配列の長さを設定しようとしました。 | |
949 | 配列の最後のインデックスを表現するスカラをリファレンスに保存して、 | |
950 | 後でこのリファレンスを通して代入することでこれを行えます。 | |
951 | 例えば: | |
952 | ||
953 | $r = do {my @a; \$#a}; | |
954 | $$r = 503 | |
955 | ||
563 | 956 | =item Attempt to use reference as lvalue in substr |
564 | 957 | |
565 | 958 | =begin original |
566 | 959 | |
567 | 960 | (W substr) You supplied a reference as the first argument to substr() |
568 | 961 | used as an lvalue, which is pretty strange. Perhaps you forgot to |
569 | 962 | dereference it first. See L<perlfunc/substr>. |
570 | 963 | |
571 | 964 | =end original |
572 | 965 | |
573 | 966 | (W substr) 左辺値として使われる substr() の 1 番目の引数としてリファレンスを |
574 | 967 | 渡しました; これはやや奇妙なことです。 |
575 | 968 | おそらくはまずデリファレンスするのを忘れたのでしょう。 |
576 | 969 | L<perlfunc/substr> を参照してください。 |
577 | 970 | |
578 | =item | |
971 | =item Attribute prototype(%s) discards earlier prototype attribute in same sub | |
579 | 972 | |
580 | 973 | =begin original |
581 | 974 | |
975 | (W misc) A sub was declared as sub foo : prototype(A) : prototype(B) {}, for | |
976 | example. Since each sub can only have one prototype, the earlier | |
977 | declaration(s) are discarded while the last one is applied. | |
978 | ||
979 | =end original | |
980 | ||
981 | (W misc) あるサブルーチンが、例えば | |
982 | sub foo : prototype(A) : prototype(B) {} のように宣言されました。 | |
983 | それぞれのサブルーチンは一つのプロトタイプしか持てないので、先に | |
984 | 宣言されたものは破棄され、最後のものが適用されます。 | |
985 | ||
986 | =item av_reify called on tied array | |
987 | ||
988 | =begin original | |
989 | ||
990 | (S debugging) This indicates that something went wrong and Perl got I<very> | |
991 | confused about C<@_> or C<@DB::args> being tied. | |
992 | ||
993 | =end original | |
994 | ||
995 | (S debugging) これは、C<@_> や C<@DB::args> が tie されたことに関して何かが | |
996 | うまくいかなくて Perl が I<とても> 混乱したことを示しています。 | |
997 | ||
998 | =item Bad arg length for %s, is %u, should be %d | |
999 | ||
1000 | =begin original | |
1001 | ||
582 | 1002 | (F) You passed a buffer of the wrong size to one of msgctl(), semctl() |
583 | 1003 | or shmctl(). In C parlance, the correct sizes are, respectively, |
584 | 1004 | S<sizeof(struct msqid_ds *)>, S<sizeof(struct semid_ds *)>, and |
585 | 1005 | S<sizeof(struct shmid_ds *)>. |
586 | 1006 | |
587 | 1007 | =end original |
588 | 1008 | |
589 | 1009 | (F) msgctl()、semctl()、shmctl() のいずれかに、間違ったサイズのバッファを |
590 | 1010 | 渡してしまいました。 |
591 | 1011 | C の言い方で書くと、正しいサイズはそれぞれ、sizeof(struct msqid_ds *)、 |
592 | 1012 | sizeof(struct semid_ds *)、sizeof(struct shmid_ds *) です。 |
593 | 1013 | |
594 | 1014 | =item Bad evalled substitution pattern |
595 | 1015 | |
596 | 1016 | =begin original |
597 | 1017 | |
598 | (F) You've used the /e switch to evaluate the replacement for a | |
1018 | (F) You've used the C</e> switch to evaluate the replacement for a | |
599 | 1019 | substitution, but perl found a syntax error in the code to evaluate, |
600 | 1020 | most likely an unexpected right brace '}'. |
601 | 1021 | |
602 | 1022 | =end original |
603 | 1023 | |
604 | 1024 | (F)置換のための置き換え文字列を評価するために C</e> オプションを指定して |
605 | 1025 | いますが、評価するコードに文法エラーがありました; |
606 | 1026 | 最もありそうなことは、予期しない位置に右中かっこ '}' があったことです。 |
607 | 1027 | |
608 | 1028 | =item Bad filehandle: %s |
609 | 1029 | |
610 | 1030 | =begin original |
611 | 1031 | |
612 | 1032 | (F) A symbol was passed to something wanting a filehandle, but the |
613 | 1033 | symbol has no filehandle associated with it. Perhaps you didn't do an |
614 | 1034 | open(), or did it in another package. |
615 | 1035 | |
616 | 1036 | =end original |
617 | 1037 | |
618 | (F) ファイルハンドルが必要なものに、シンボルを渡しましたが、 | |
1038 | (F) ファイルハンドルが必要なものに、シンボルを渡しましたが、そのシンボルは、 | |
619 | そ | |
1039 | それに伴うファイルハンドルがありません。 | |
620 | 1040 | おそらく、open() を忘れたか、別のパッケージで open() したかでしょう。 |
621 | 1041 | |
622 | 1042 | =item Bad free() ignored |
623 | 1043 | |
624 | 1044 | =begin original |
625 | 1045 | |
626 | 1046 | (S malloc) An internal routine called free() on something that had never |
627 | been malloc()ed in the first place. Mandatory, but can be disabled by | |
1047 | been malloc()ed in the first place. Mandatory, but can be disabled by | |
628 | 1048 | setting environment variable C<PERL_BADFREE> to 0. |
629 | 1049 | |
630 | 1050 | =end original |
631 | 1051 | |
632 | 1052 | (S malloc) まず、malloc() されていないものに対して、内部ルーティンが |
633 | 1053 | free() を呼びました。 |
634 | 1054 | 強制ですが、環境変数 C<PERL_BADFREE> を 0 にすることで無効化できます。 |
635 | 1055 | |
636 | 1056 | =begin original |
637 | 1057 | |
638 | 1058 | This message can be seen quite often with DB_File on systems with "hard" |
639 | dynamic linking, like C<AIX> and C<OS/2>. It is a bug of C<Berkeley DB> | |
1059 | dynamic linking, like C<AIX> and C<OS/2>. It is a bug of C<Berkeley DB> | |
640 | 1060 | which is left unnoticed if C<DB> uses I<forgiving> system malloc(). |
641 | 1061 | |
642 | 1062 | =end original |
643 | 1063 | |
644 | 1064 | このメッセージ は、C<AIX> や C<OS/2> のような、「ハード」動的リンクを |
645 | 1065 | 行うシステムで DB_File を使うとしばしば表示されます。 |
646 | 1066 | これは C<DB> がシステムの malloc() を許していることに気が付かない |
647 | 1067 | C<Berkeley DB> のバグです。 |
648 | 1068 | |
649 | 1069 | =item Bad hash |
650 | 1070 | |
651 | 1071 | =begin original |
652 | 1072 | |
653 | 1073 | (P) One of the internal hash routines was passed a null HV pointer. |
654 | 1074 | |
655 | 1075 | =end original |
656 | 1076 | |
657 | 1077 | (P) 内部ハッシュルーティンで、ヌル HV ポインタを渡されたものがありました。 |
658 | 1078 | |
659 | =item Bad index while coercing array into hash | |
660 | ||
661 | =begin original | |
662 | ||
663 | (F) The index looked up in the hash found as the 0'th element of a | |
664 | pseudo-hash is not legal. Index values must be at 1 or greater. | |
665 | See L<perlref>. | |
666 | ||
667 | =end original | |
668 | ||
669 | (F) 擬似ハッシュの 0 番目の要素として見つかったハッシュの中の | |
670 | インデックス検索は不正です。 | |
671 | インデックスの値は 1 以上でなければなりません。 | |
672 | L<perlref> を参照してください。 | |
673 | ||
674 | 1079 | =item Badly placed ()'s |
675 | 1080 | |
676 | 1081 | =begin original |
677 | 1082 | |
678 | 1083 | (A) You've accidentally run your script through B<csh> instead |
679 | 1084 | of Perl. Check the #! line, or manually feed your script into |
680 | 1085 | Perl yourself. |
681 | 1086 | |
682 | 1087 | =end original |
683 | 1088 | |
684 | 1089 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
685 | 1090 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
686 | 1091 | |
687 | =item Bad name after %s | |
1092 | =item Bad name after %s | |
688 | 1093 | |
689 | 1094 | =begin original |
690 | 1095 | |
691 | 1096 | (F) You started to name a symbol by using a package prefix, and then |
692 | 1097 | didn't finish the symbol. In particular, you can't interpolate outside |
693 | 1098 | of quotes, so |
694 | 1099 | |
695 | 1100 | =end original |
696 | 1101 | |
697 | (F) パッケージプレフィクスでシンボル名を書き始めましたが、 | |
1102 | (F) パッケージプレフィクスでシンボル名を書き始めましたが、そのシンボルが | |
698 | ||
1103 | 終了しませんでした。 | |
699 | 1104 | 特に、クォートの外で、変数展開はできませんから、 |
700 | 1105 | |
701 | 1106 | $var = 'myvar'; |
702 | 1107 | $sym = mypack::$var; |
703 | 1108 | |
704 | 1109 | =begin original |
705 | 1110 | |
706 | 1111 | is not the same as |
707 | 1112 | |
708 | 1113 | =end original |
709 | 1114 | |
710 | 1115 | は、以下と同じではありません。 |
711 | 1116 | |
712 | 1117 | $var = 'myvar'; |
713 | 1118 | $sym = "mypack::$var"; |
714 | 1119 | |
1120 | =item Bad plugin affecting keyword '%s' | |
1121 | ||
1122 | =begin original | |
1123 | ||
1124 | (F) An extension using the keyword plugin mechanism violated the | |
1125 | plugin API. | |
1126 | ||
1127 | =end original | |
1128 | ||
1129 | (F) キーワードプラグイン機構を使っているエクステンションがプラグイン API に | |
1130 | 違反しました。 | |
1131 | ||
715 | 1132 | =item Bad realloc() ignored |
716 | 1133 | |
717 | 1134 | =begin original |
718 | 1135 | |
719 | (S malloc) An internal routine called realloc() on something that | |
1136 | (S malloc) An internal routine called realloc() on something that | |
720 | never been malloc()ed in the first place. Mandatory, but can | |
1137 | had never been malloc()ed in the first place. Mandatory, but can | |
721 | by setting environment variable C<PERL_BADFREE> to 1. | |
1138 | be disabled by setting the environment variable C<PERL_BADFREE> to 1. | |
722 | 1139 | |
723 | 1140 | =end original |
724 | 1141 | |
725 | 1142 | (S malloc) 内部ルーチンが、最初に malloc() されていない何かに対して |
726 | 1143 | realloc() を呼び出しました。 |
727 | 1144 | 必須ですが、環境変数 C<PERL_BADFREE> に 1 をセットすることで無効化できます。 |
728 | 1145 | |
729 | 1146 | =item Bad symbol for array |
730 | 1147 | |
731 | 1148 | =begin original |
732 | 1149 | |
733 | 1150 | (P) An internal request asked to add an array entry to something that |
734 | 1151 | wasn't a symbol table entry. |
735 | 1152 | |
736 | 1153 | =end original |
737 | 1154 | |
738 | 1155 | (P) シンボルテーブルエントリではないものに、配列エントリを登録するような |
739 | 1156 | 内部要求があがりました。 |
740 | 1157 | |
1158 | =item Bad symbol for dirhandle | |
1159 | ||
1160 | =begin original | |
1161 | ||
1162 | (P) An internal request asked to add a dirhandle entry to something | |
1163 | that wasn't a symbol table entry. | |
1164 | ||
1165 | =end original | |
1166 | ||
1167 | (P) シンボルテーブルエントリではないものに、ディレクトリハンドルエントリを | |
1168 | 登録するような内部要求があがりました。 | |
1169 | ||
741 | 1170 | =item Bad symbol for filehandle |
742 | 1171 | |
743 | 1172 | =begin original |
744 | 1173 | |
745 | 1174 | (P) An internal request asked to add a filehandle entry to something |
746 | 1175 | that wasn't a symbol table entry. |
747 | 1176 | |
748 | 1177 | =end original |
749 | 1178 | |
750 | 1179 | (P) シンボルテーブルエントリではないものに、ファイルハンドルエントリを |
751 | 1180 | 登録するような内部要求があがりました。 |
752 | 1181 | |
753 | 1182 | =item Bad symbol for hash |
754 | 1183 | |
755 | 1184 | =begin original |
756 | 1185 | |
757 | 1186 | (P) An internal request asked to add a hash entry to something that |
758 | 1187 | wasn't a symbol table entry. |
759 | 1188 | |
760 | 1189 | =end original |
761 | 1190 | |
762 | 1191 | (P) シンボルテーブルエントリではないものに、ハッシュエントリを |
763 | 1192 | 登録するような内部要求があがった。 |
764 | 1193 | |
1194 | =item Bad symbol for scalar | |
1195 | ||
1196 | =begin original | |
1197 | ||
1198 | (P) An internal request asked to add a scalar entry to something that | |
1199 | wasn't a symbol table entry. | |
1200 | ||
1201 | =end original | |
1202 | ||
1203 | (P) 内部で、シンボルテーブルエントリでないものに対してスカラエントリを | |
1204 | 追加するよう要求がありました。 | |
1205 | ||
765 | 1206 | =item Bareword found in conditional |
766 | 1207 | |
767 | 1208 | =begin original |
768 | 1209 | |
769 | 1210 | (W bareword) The compiler found a bareword where it expected a |
770 | 1211 | conditional, which often indicates that an || or && was parsed as part |
771 | 1212 | of the last argument of the previous construct, for example: |
772 | 1213 | |
773 | 1214 | =end original |
774 | 1215 | |
775 | (W bareword) コンパイラが、条件が想定される位置に裸の単語を発見しました | |
1216 | (W bareword) コンパイラが、条件が想定される位置に裸の単語を発見しました; | |
776 | 1217 | これはしばしば、|| や && が直前の構造の最後の引数の一部として |
777 | 1218 | パースされたことを意味します; 例えば: |
778 | 1219 | |
779 | 1220 | open FOO || die; |
780 | 1221 | |
781 | 1222 | =begin original |
782 | 1223 | |
783 | 1224 | It may also indicate a misspelled constant that has been interpreted as |
784 | 1225 | a bareword: |
785 | 1226 | |
786 | 1227 | =end original |
787 | 1228 | |
788 | 1229 | これはまた、裸の単語として解釈されるような定数をタイプミスしたことを |
789 | 1230 | 示している場合もあります: |
790 | 1231 | |
791 | 1232 | use constant TYPO => 1; |
792 | 1233 | if (TYOP) { print "foo" } |
793 | 1234 | |
794 | 1235 | =begin original |
795 | 1236 | |
796 | 1237 | The C<strict> pragma is useful in avoiding such errors. |
797 | 1238 | |
798 | 1239 | =end original |
799 | 1240 | |
800 | 1241 | C<strict> プラグマはこのようなエラーを防ぐのに便利です。 |
801 | 1242 | |
1243 | =item Bareword in require contains "%s" | |
1244 | ||
1245 | =item Bareword in require maps to disallowed filename "%s" | |
1246 | ||
1247 | =item Bareword in require maps to empty filename | |
1248 | ||
1249 | =begin original | |
1250 | ||
1251 | (F) The bareword form of require has been invoked with a filename which could | |
1252 | not have been generated by a valid bareword permitted by the parser. You | |
1253 | shouldn't be able to get this error from Perl code, but XS code may throw it | |
1254 | if it passes an invalid module name to C<Perl_load_module>. | |
1255 | ||
1256 | =end original | |
1257 | ||
1258 | (F) 裸の単語形式の require は、パーサによって許された妥当な裸の単語によって | |
1259 | 生成することができないファイル名で起動されました。 | |
1260 | このエラーを Perl コードから得るようにできるべきではありませんが、 | |
1261 | C<Perl_load_module> に不正なモジュール名を渡した XS コードは | |
1262 | これを投げるかもしれません。 | |
1263 | ||
1264 | =item Bareword in require must not start with a double-colon: "%s" | |
1265 | ||
1266 | =begin original | |
1267 | ||
1268 | (F) In C<require Bare::Word>, the bareword is not allowed to start with a | |
1269 | double-colon. Write C<require ::Foo::Bar> as C<require Foo::Bar> instead. | |
1270 | ||
1271 | =end original | |
1272 | ||
1273 | (F) C<require Bare::Word> で、裸の単語はダブルコロンから | |
1274 | 開始することはできません。 | |
1275 | C<require ::Foo::Bar> ではなく C<require Foo::Bar> と書いてください。 | |
1276 | ||
802 | 1277 | =item Bareword "%s" not allowed while "strict subs" in use |
803 | 1278 | |
804 | 1279 | =begin original |
805 | 1280 | |
806 | 1281 | (F) With "strict subs" in use, a bareword is only allowed as a |
807 | 1282 | subroutine identifier, in curly brackets or to the left of the "=>" |
808 | 1283 | symbol. Perhaps you need to predeclare a subroutine? |
809 | 1284 | |
810 | 1285 | =end original |
811 | 1286 | |
812 | "strict subs" が有効の場合、裸の単語はサブルーチンの識別子、 | |
1287 | "strict subs" が有効の場合、裸の単語はサブルーチンの識別子、中かっこの中、 | |
813 | ||
1288 | シンボル "=>" の左側でのみ許されます。 | |
814 | 1289 | おそらくサブルーチンを先行宣言する必要があるのでは? |
815 | 1290 | |
816 | 1291 | =item Bareword "%s" refers to nonexistent package |
817 | 1292 | |
818 | 1293 | =begin original |
819 | 1294 | |
820 | 1295 | (W bareword) You used a qualified bareword of the form C<Foo::>, but the |
821 | 1296 | compiler saw no other uses of that namespace before that point. Perhaps |
822 | 1297 | you need to predeclare a package? |
823 | 1298 | |
824 | 1299 | =end original |
825 | 1300 | |
826 | 1301 | (W bareword) C<Foo::> の形で修飾された裸の単語が使われていますが、 |
827 | 1302 | コンパイラはこの場所以外でこの名前空間が使われている場所を |
828 | 1303 | 発見できませんでした。 |
829 | 1304 | おそらくパッケージを専攻宣言する必要があるのでは? |
830 | 1305 | |
831 | 1306 | =item BEGIN failed--compilation aborted |
832 | 1307 | |
833 | 1308 | =begin original |
834 | 1309 | |
835 | 1310 | (F) An untrapped exception was raised while executing a BEGIN |
836 | 1311 | subroutine. Compilation stops immediately and the interpreter is |
837 | 1312 | exited. |
838 | 1313 | |
839 | 1314 | =end original |
840 | 1315 | |
841 | (F) BEGIN サブルー | |
1316 | (F) BEGIN サブルーチンの実行中にトラップ不可能な例外が発生しました。 | |
842 | 1317 | コンパイルは即座に停止し、インタプリタは中止します。 |
843 | 1318 | |
844 | 1319 | =item BEGIN not safe after errors--compilation aborted |
845 | 1320 | |
846 | 1321 | =begin original |
847 | 1322 | |
848 | 1323 | (F) Perl found a C<BEGIN {}> subroutine (or a C<use> directive, which |
849 | 1324 | implies a C<BEGIN {}>) after one or more compilation errors had already |
850 | 1325 | occurred. Since the intended environment for the C<BEGIN {}> could not |
851 | 1326 | be guaranteed (due to the errors), and since subsequent code likely |
852 | 1327 | depends on its correct operation, Perl just gave up. |
853 | 1328 | |
854 | 1329 | =end original |
855 | 1330 | |
856 | 1331 | (F) Perl は既にコンパイルエラーが発生した後に C<BEGIN {}> サブルーチン |
857 | (または C<use> 指示子(これは C<BEGIN {}> を暗示します))を | |
1332 | (または C<use> 指示子(これは C<BEGIN {}> を暗示します))を発見しました。 | |
858 | ||
1333 | C<BEGIN {}> が意図した環境は(エラーのために)保証されず、引き続くコードは | |
859 | ||
1334 | 正しい処理に依存していると考えられるので、Perl は単に諦めました。 | |
860 | 引き続くコードは正しい処理に依存していると考えられるので、 | |
861 | Perl は単に諦めました。 | |
862 | 1335 | |
863 | =item \ | |
1336 | =item \%d better written as $%d | |
864 | 1337 | |
865 | 1338 | =begin original |
866 | 1339 | |
867 | 1340 | (W syntax) Outside of patterns, backreferences live on as variables. |
868 | 1341 | The use of backslashes is grandfathered on the right-hand side of a |
869 | 1342 | substitution, but stylistically it's better to use the variable form |
870 | 1343 | because other Perl programmers will expect it, and it works better if |
871 | 1344 | there are more than 9 backreferences. |
872 | 1345 | |
873 | 1346 | =end original |
874 | 1347 | |
875 | 1348 | (W syntax) パターンの外では、後方参照は変数の形で存在します。 |
876 | 後方参照の利用は、置換の右側の部分で扱われますが、スタイル的には、 | |
1349 | 後方参照の利用は、置換の右側の部分で扱われますが、スタイル的には、他の | |
877 | ||
1350 | Perl プログラマが期待し、9 個以上の後方参照があるときにもうまく動作する、 | |
878 | ||
1351 | 変数形式を使う方が良いでしょう。 | |
879 | 1352 | |
880 | 1353 | =item Binary number > 0b11111111111111111111111111111111 non-portable |
881 | 1354 | |
882 | 1355 | =begin original |
883 | 1356 | |
884 | 1357 | (W portable) The binary number you specified is larger than 2**32-1 |
885 | 1358 | (4294967295) and therefore non-portable between systems. See |
886 | 1359 | L<perlport> for more on portability concerns. |
887 | 1360 | |
888 | 1361 | =end original |
889 | 1362 | |
890 | 1363 | (W portable) 指定された 2 進数が 2**32-1 (4294967295) を越えるので、 |
891 | 1364 | システム間での移植性がありません。 |
892 | 1365 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
893 | 1366 | |
894 | 1367 | =item bind() on closed socket %s |
895 | 1368 | |
896 | 1369 | =begin original |
897 | 1370 | |
898 | 1371 | (W closed) You tried to do a bind on a closed socket. Did you forget to |
899 | 1372 | check the return value of your socket() call? See L<perlfunc/bind>. |
900 | 1373 | |
901 | 1374 | =end original |
902 | 1375 | |
903 | 1376 | (W closed) クローズされたソケットに bind を行なおうとしました。 |
904 | 1377 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
905 | 1378 | L<perlfunc/bind> を参照してください。 |
906 | 1379 | |
1380 | =item binmode() on closed filehandle %s | |
1381 | ||
1382 | =begin original | |
1383 | ||
1384 | (W unopened) You tried binmode() on a filehandle that was never opened. | |
1385 | Check your control flow and number of arguments. | |
1386 | ||
1387 | =end original | |
1388 | ||
1389 | (W unopened) 開いていないファイルハンドルに binmode() を使おうとしました。 | |
1390 | 制御フローと引数の数をチェックしてください。 | |
1391 | ||
907 | 1392 | =item Bit vector size > 32 non-portable |
908 | 1393 | |
909 | 1394 | =begin original |
910 | 1395 | |
911 | 1396 | (W portable) Using bit vector sizes larger than 32 is non-portable. |
912 | 1397 | |
913 | 1398 | =end original |
914 | 1399 | |
915 | 1400 | (W portable) 32 を越えるサイズのビットベクタは移植性がありません。 |
916 | 1401 | |
917 | =item Bizarre copy of %s | |
1402 | =item Bizarre copy of %s | |
918 | 1403 | |
919 | 1404 | =begin original |
920 | 1405 | |
921 | 1406 | (P) Perl detected an attempt to copy an internal value that is not |
922 | cop | |
1407 | copiable. | |
923 | 1408 | |
924 | 1409 | =end original |
925 | 1410 | |
926 | 1411 | (P) コピーできない内部の値をコピーしようとしました。 |
927 | 1412 | |
928 | =item B | |
1413 | =item Bizarre SvTYPE [%d] | |
929 | 1414 | |
930 | 1415 | =begin original |
931 | 1416 | |
932 | ( | |
1417 | (P) When starting a new thread or returning values from a thread, Perl | |
933 | ||
1418 | encountered an invalid data type. | |
934 | 1419 | |
935 | 1420 | =end original |
936 | 1421 | |
937 | ( | |
1422 | (P) 新しいスレッドを始めたりスレッドから値を返したときに、Perl は不正な | |
938 | ||
1423 | データ型に遭遇しました。 | |
939 | もたらします。 | |
940 | 1424 | |
1425 | =item Both or neither range ends should be Unicode in regex; marked by | |
1426 | S<<-- HERE> in m/%s/ | |
1427 | ||
1428 | =begin original | |
1429 | ||
1430 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
1431 | ||
1432 | =end original | |
1433 | ||
1434 | (W regexp) (C<S<use re 'strict'>> の基か C<(?[...])> の内側のみ) | |
1435 | ||
1436 | =begin original | |
1437 | ||
1438 | In a bracketed character class in a regular expression pattern, you | |
1439 | had a range which has exactly one end of it specified using C<\N{}>, and | |
1440 | the other end is specified using a non-portable mechanism. Perl treats | |
1441 | the range as a Unicode range, that is, all the characters in it are | |
1442 | considered to be the Unicode characters, and which may be different code | |
1443 | points on some platforms Perl runs on. For example, C<[\N{U+06}-\x08]> | |
1444 | is treated as if you had instead said C<[\N{U+06}-\N{U+08}]>, that is it | |
1445 | matches the characters whose code points in Unicode are 6, 7, and 8. | |
1446 | But that C<\x08> might indicate that you meant something different, so | |
1447 | the warning gets raised. | |
1448 | ||
1449 | =end original | |
1450 | ||
1451 | 正規表現中の大かっこ文字クラスの中で、範囲指定の片方は C<\N{}> を使って | |
1452 | 指定し、もう片方は移植性のない方法を使って指定しました。 | |
1453 | Perl はこの範囲を Unicode の範囲として扱います; つまり、その中の全ての文字は | |
1454 | Unicode 文字として扱われ、Perl が実行される一部のプラットフォームでは | |
1455 | 異なる符号位置になるかもしれません。 | |
1456 | 例えば、C<[\N{U+06}-\x08]> は、C<[\N{U+06}-\N{U+08}]> と | |
1457 | 書いたかのように扱われ、Unicode の符号位置 6, 7, 8 の文字にマッチングします。 | |
1458 | しかし、C<\x08> はなにか違うことを意味していることを示しているので、 | |
1459 | 警告が発生します。 | |
1460 | ||
941 | 1461 | =item Buffer overflow in prime_env_iter: %s |
942 | 1462 | |
943 | 1463 | =begin original |
944 | 1464 | |
945 | 1465 | (W internal) A warning peculiar to VMS. While Perl was preparing to |
946 | 1466 | iterate over %ENV, it encountered a logical name or symbol definition |
947 | 1467 | which was too long, so it was truncated to the string shown. |
948 | 1468 | |
949 | 1469 | =end original |
950 | 1470 | |
951 | (W) VMS | |
1471 | (W internal) VMS に固有の警告です。 | |
952 | Perl が %ENV を反復する準備中、長すぎる論理名かシンボル定義に | |
1472 | Perl が %ENV を反復する準備中、長すぎる論理名かシンボル定義に遭遇したので、 | |
953 | ||
1473 | 文字列は表示したように切り詰められました。 | |
954 | 1474 | |
955 | 1475 | =item Callback called exit |
956 | 1476 | |
957 | 1477 | =begin original |
958 | 1478 | |
959 | 1479 | (F) A subroutine invoked from an external package via call_sv() |
960 | 1480 | exited by calling exit. |
961 | 1481 | |
962 | 1482 | =end original |
963 | 1483 | |
964 | (F) 外部パッケージから call_sv() で起動されたサブルー | |
1484 | (F) 外部パッケージから call_sv() で起動されたサブルーチンが exit を呼んで | |
965 | ||
1485 | 終了しました。 | |
966 | 1486 | |
967 | 1487 | =item %s() called too early to check prototype |
968 | 1488 | |
969 | 1489 | =begin original |
970 | 1490 | |
971 | 1491 | (W prototype) You've called a function that has a prototype before the |
972 | 1492 | parser saw a definition or declaration for it, and Perl could not check |
973 | 1493 | that the call conforms to the prototype. You need to either add an |
974 | 1494 | early prototype declaration for the subroutine in question, or move the |
975 | 1495 | subroutine definition ahead of the call to get proper prototype |
976 | 1496 | checking. Alternatively, if you are certain that you're calling the |
977 | 1497 | function correctly, you may put an ampersand before the name to avoid |
978 | 1498 | the warning. See L<perlsub>. |
979 | 1499 | |
980 | 1500 | =end original |
981 | 1501 | |
982 | 1502 | (W prototype) 以前にパーサが宣言または定義されているのを見た、 |
983 | 1503 | プロトタイプ付きの関数を呼び出しましたが、Perl は呼び出しがプロトタイプに |
984 | 1504 | 従っているかどうかをチェックできませんでした。 |
985 | 1505 | 問題になっているサブルーチンのプロトタイプ宣言を最初の方に追加するか、 |
986 | 1506 | 適切なプロトタイプチェックを行うためにサブルーチン定義を呼び出しの前に |
987 | 1507 | 移動させる必要があります。 |
988 | 1508 | または、関数を正しく呼び出していることが確かな場合は、名前の前に |
989 | 1509 | アンパサンドを付けることで警告を回避できます。 |
990 | 1510 | L<perlsub> を参照してください。 |
991 | 1511 | |
992 | =item | |
1512 | =item Cannot chr %f | |
993 | 1513 | |
994 | 1514 | =begin original |
995 | 1515 | |
996 | (F) You | |
1516 | (F) You passed an invalid number (like an infinity or not-a-number) to C<chr>. | |
997 | you have also specified an explicit size for the string. See | |
998 | L<perlfunc/pack>. | |
999 | 1517 | |
1000 | 1518 | =end original |
1001 | 1519 | |
1002 | (F) | |
1520 | (F) (無限や非数のような) 不正な数値を C<chr> に渡しました。 | |
1003 | ||
1522 | =item Cannot complete in-place edit of %s: %s | |
1523 | ||
1524 | =begin original | |
1525 | ||
1526 | (F) Your perl script appears to have changed directory while | |
1527 | performing an in-place edit of a file specified by a relative path, | |
1528 | and your system doesn't include the directory relative POSIX functions | |
1529 | needed to handle that. | |
1530 | ||
1531 | =end original | |
1532 | ||
1533 | (F) perl スクリプトが、相対パスで指定されたファイルのその場編集を | |
1534 | 実行中にディレクトリを変更し、システムにはこれに対応するために必要な | |
1535 | ディレクトリ相対 POSIX 関数がないようです。 | |
1536 | ||
1537 | =item Cannot compress %f in pack | |
1538 | ||
1539 | =begin original | |
1540 | ||
1541 | (F) You tried compressing an infinity or not-a-number as an unsigned | |
1542 | integer with BER, which makes no sense. | |
1543 | ||
1544 | =end original | |
1545 | ||
1546 | (F) 無限や非数を BER で符号なし整数に圧縮しようとしました; これは無意味です。 | |
1547 | ||
1548 | =item Cannot compress integer in pack | |
1549 | ||
1550 | =begin original | |
1551 | ||
1552 | (F) An argument to pack("w",...) was too large to compress. | |
1553 | The BER compressed integer format can only be used with positive | |
1554 | integers, and you attempted to compress a very large number (> 1e308). | |
1555 | See L<perlfunc/pack>. | |
1556 | ||
1557 | =end original | |
1558 | ||
1559 | (F) pack("w",...) の引数が、圧縮するには大きすぎます。 | |
1560 | BER 圧縮整数フォーマットは正の整数のみ扱えますが、とても大きい数 | |
1561 | (> 1e308) を圧縮しようとしました。 | |
1004 | 1562 | L<perlfunc/pack> を参照してください。 |
1005 | 1563 | |
1564 | =item Cannot compress negative numbers in pack | |
1565 | ||
1566 | =begin original | |
1567 | ||
1568 | (F) An argument to pack("w",...) was negative. The BER compressed integer | |
1569 | format can only be used with positive integers. See L<perlfunc/pack>. | |
1570 | ||
1571 | =end original | |
1572 | ||
1573 | (F) pack("w",...) の引数が負数です。 | |
1574 | BER 圧縮整数フォーマットは正の整数のみ扱えます。 | |
1575 | L<perlfunc/pack> を参照してください。 | |
1576 | ||
1577 | =item Cannot convert a reference to %s to typeglob | |
1578 | ||
1579 | =begin original | |
1580 | ||
1581 | (F) You manipulated Perl's symbol table directly, stored a reference | |
1582 | in it, then tried to access that symbol via conventional Perl syntax. | |
1583 | The access triggers Perl to autovivify that typeglob, but it there is | |
1584 | no legal conversion from that type of reference to a typeglob. | |
1585 | ||
1586 | =end original | |
1587 | ||
1588 | (F) あなたは Perl のシンボルテーブルを直接操作して、リファレンスをその中に | |
1589 | 補完し、それからそのシンボルを伝統的な Perl の文法のよって | |
1590 | アクセスしようとしました。 | |
1591 | このアクセスによって、Perl はこの型グロブを自動有効化しますが、 | |
1592 | リファレンス型から型グロブへの正当な変換方法はありません。 | |
1593 | ||
1594 | =item Cannot copy to %s | |
1595 | ||
1596 | =begin original | |
1597 | ||
1598 | (P) Perl detected an attempt to copy a value to an internal type that cannot | |
1599 | be directly assigned to. | |
1600 | ||
1601 | =end original | |
1602 | ||
1603 | (P) Perl が、直接代入できない内部型に値をコピーしようとする試みを | |
1604 | 検出しました。 | |
1605 | ||
1606 | =item Cannot find encoding "%s" | |
1607 | ||
1608 | =begin original | |
1609 | ||
1610 | (S io) You tried to apply an encoding that did not exist to a filehandle, | |
1611 | either with open() or binmode(). | |
1612 | ||
1613 | =end original | |
1614 | ||
1615 | (S io) open() または binmode() のファイルハンドルに存在しない | |
1616 | エンコーディングを適用しようとしました。 | |
1617 | ||
1618 | =item Cannot open %s as a dirhandle: it is already open as a filehandle | |
1619 | ||
1620 | =begin original | |
1621 | ||
1622 | (F) You tried to use opendir() to associate a dirhandle to a symbol (glob | |
1623 | or scalar) that already holds a filehandle. Since this idiom might render | |
1624 | your code confusing, it was deprecated in Perl 5.10. As of Perl 5.28, it | |
1625 | is a fatal error. | |
1626 | ||
1627 | =end original | |
1628 | ||
1629 | (F) すでにファイルハンドルを保持しているシンボル | |
1630 | (グロブまたはスカラ)にディレクトリハンドルを関連付けるために | |
1631 | opendir() を使おうとしました。 | |
1632 | この用法はコードを間違えて解釈する可能性があるので、 | |
1633 | Perl 5.10 で廃止予定になりました。 | |
1634 | Perl 5.28 から、これは致命的エラーです。 | |
1635 | ||
1636 | =item Cannot open %s as a filehandle: it is already open as a dirhandle | |
1637 | ||
1638 | =begin original | |
1639 | ||
1640 | (F) You tried to use open() to associate a filehandle to a symbol (glob | |
1641 | or scalar) that already holds a dirhandle. Since this idiom might render | |
1642 | your code confusing, it was deprecated in Perl 5.10. As of Perl 5.28, it | |
1643 | is a fatal error. | |
1644 | ||
1645 | =end original | |
1646 | ||
1647 | (F) すでにディレクトリハンドルを保持しているシンボル | |
1648 | (グロブまたはスカラ)にファイルハンドルを関連付けるために | |
1649 | open() を使おうとしました。 | |
1650 | この用法はコードを間違えて解釈する可能性があるので、 | |
1651 | Perl 5.10 で廃止予定になりました。 | |
1652 | Perl 5.28 から、これは致命的エラーです。 | |
1653 | ||
1654 | =item Cannot pack %f with '%c' | |
1655 | ||
1656 | =begin original | |
1657 | ||
1658 | (F) You tried converting an infinity or not-a-number to an integer, | |
1659 | which makes no sense. | |
1660 | ||
1661 | =end original | |
1662 | ||
1663 | (F) 無限や非数を整数に変換しようとしました; これは無意味です。 | |
1664 | ||
1665 | =item Cannot printf %f with '%c' | |
1666 | ||
1667 | =begin original | |
1668 | ||
1669 | (F) You tried printing an infinity or not-a-number as a character (%c), | |
1670 | which makes no sense. Maybe you meant '%s', or just stringifying it? | |
1671 | ||
1672 | =end original | |
1673 | ||
1674 | (F) 無限や非数を文字 (%c) として表示しようとしました; これは無意味です。 | |
1675 | おそらく '%s' か、単に文字列化したかったのでは? | |
1676 | ||
1677 | =item Cannot set tied @DB::args | |
1678 | ||
1679 | =begin original | |
1680 | ||
1681 | (F) C<caller> tried to set C<@DB::args>, but found it tied. Tying C<@DB::args> | |
1682 | is not supported. (Before this error was added, it used to crash.) | |
1683 | ||
1684 | =end original | |
1685 | ||
1686 | (F) C<caller> は C<@DB::args> を設定しようとしましたが、tie されていました。 | |
1687 | C<@DB::args> の tie は非対応です。 | |
1688 | (このエラーが追加する前は、クラッシュしていました。) | |
1689 | ||
1690 | =item Cannot tie unreifiable array | |
1691 | ||
1692 | =begin original | |
1693 | ||
1694 | (P) You somehow managed to call C<tie> on an array that does not | |
1695 | keep a reference count on its arguments and cannot be made to | |
1696 | do so. Such arrays are not even supposed to be accessible to | |
1697 | Perl code, but are only used internally. | |
1698 | ||
1699 | =end original | |
1700 | ||
1701 | (P) 参照カウントを保持していない配列を引数にして C<tie> を | |
1702 | 呼び出そうとしましたがそうできませんでした。 | |
1703 | このような配列は Perl コードからアクセスできると想定してはならず、 | |
1704 | 内部だけで使われます。 | |
1705 | ||
1706 | =item Cannot yet reorder sv_catpvfn() arguments from va_list | |
1707 | ||
1708 | =begin original | |
1709 | ||
1710 | (F) Some XS code tried to use C<sv_catpvfn()> or a related function with a | |
1711 | format string that specifies explicit indexes for some of the elements, and | |
1712 | using a C-style variable-argument list (a C<va_list>). This is not currently | |
1713 | supported. XS authors wanting to do this must instead construct a C array | |
1714 | of C<SV*> scalars containing the arguments. | |
1715 | ||
1716 | =end original | |
1717 | ||
1718 | (F) 一部の XS コードは、要素の一部の明示的なインデックスを指定した | |
1719 | フォーマット文字列を使って C<sv_catpvfn()> や関連する関数を使おうとして、 | |
1720 | C 形式の可変引数リスト (C<va_list>) を使っています。 | |
1721 | これは現在のところ対応していません。 | |
1722 | これをしたい XS 作者は代わりに、引数を含む | |
1723 | C<SV*> スカラの C 配列を構築しなければなりません。 | |
1724 | ||
1725 | =item Can only compress unsigned integers in pack | |
1726 | ||
1727 | =begin original | |
1728 | ||
1729 | (F) An argument to pack("w",...) was not an integer. The BER compressed | |
1730 | integer format can only be used with positive integers, and you attempted | |
1731 | to compress something else. See L<perlfunc/pack>. | |
1732 | ||
1733 | =end original | |
1734 | ||
1735 | (F) pack("w",...) の引数が整数ではありません。 | |
1736 | BER 圧縮整数フォーマットは正の整数のみ扱えますが、何か他のものを | |
1737 | 圧縮しようとしました。 | |
1738 | L<perlfunc/pack> を参照してください。 | |
1739 | ||
1006 | 1740 | =item Can't bless non-reference value |
1007 | 1741 | |
1008 | 1742 | =begin original |
1009 | 1743 | |
1010 | 1744 | (F) Only hard references may be blessed. This is how Perl "enforces" |
1011 | 1745 | encapsulation of objects. See L<perlobj>. |
1012 | 1746 | |
1013 | 1747 | =end original |
1014 | 1748 | |
1015 | 1749 | (F) ハードリファレンスのみが bless できます。 |
1016 | 1750 | これによって、Perl はオブジェクトのカプセル化を「強制」します。 |
1017 | 1751 | L<perlobj> を参照してください。 |
1018 | 1752 | |
1019 | =item Can't | |
1753 | =item Can't "break" in a loop topicalizer | |
1020 | 1754 | |
1021 | 1755 | =begin original |
1022 | 1756 | |
1023 | (F) You called a | |
1757 | (F) You called C<break>, but you're in a C<foreach> block rather than | |
1024 | ||
1758 | a C<given> block. You probably meant to use C<next> or C<last>. | |
1025 | in it, let alone methods. See L<perlobj>. | |
1026 | 1759 | |
1027 | 1760 | =end original |
1028 | 1761 | |
1029 | (F) | |
1762 | (F) C<break> を呼び出しましたが、C<given> ブロックではなく C<foreach> | |
1030 | ||
1763 | ブロック内でした。 | |
1031 | ||
1764 | おそらく C<next> や C<last> を使いたかったのでしょう。 | |
1032 | L<perlobj> を参照してください。 | |
1033 | 1765 | |
1766 | =item Can't "break" outside a given block | |
1767 | ||
1768 | =begin original | |
1769 | ||
1770 | (F) You called C<break>, but you're not inside a C<given> block. | |
1771 | ||
1772 | =end original | |
1773 | ||
1774 | (F) C<break> を呼び出しましたが、C<given> ブロックの内側ではありません。 | |
1775 | ||
1034 | 1776 | =item Can't call method "%s" on an undefined value |
1035 | 1777 | |
1036 | 1778 | =begin original |
1037 | 1779 | |
1038 | 1780 | (F) You used the syntax of a method call, but the slot filled by the |
1039 | 1781 | object reference or package name contains an undefined value. Something |
1040 | 1782 | like this will reproduce the error: |
1041 | 1783 | |
1042 | 1784 | =end original |
1043 | 1785 | |
1044 | (F) メソッド呼び出しの文法が使われていますが、 | |
1786 | (F) メソッド呼び出しの文法が使われていますが、オブジェクトリファレンスか | |
1045 | ||
1787 | パッケージ名であるべきところが未定義値です。 | |
1046 | 1788 | 以下のように書くとエラーが再現します: |
1047 | 1789 | |
1048 | 1790 | $BADREF = undef; |
1049 | 1791 | process $BADREF 1,2,3; |
1050 | 1792 | $BADREF->process(1,2,3); |
1051 | 1793 | |
1052 | 1794 | =item Can't call method "%s" on unblessed reference |
1053 | 1795 | |
1054 | 1796 | =begin original |
1055 | 1797 | |
1056 | 1798 | (F) A method call must know in what package it's supposed to run. It |
1057 | 1799 | ordinarily finds this out from the object reference you supply, but you |
1058 | 1800 | didn't supply an object reference in this case. A reference isn't an |
1059 | 1801 | object reference until it has been blessed. See L<perlobj>. |
1060 | 1802 | |
1061 | 1803 | =end original |
1062 | 1804 | |
1063 | 1805 | (F) メソッド呼び出しは、自分が呼び出されたパッケージがどれであるかを |
1064 | 1806 | 知る必要があります。 普通は、渡したオブジェクトリファレンスから |
1065 | 1807 | その情報を受け取りますが、この場合にはオブジェクトリファレンスが |
1066 | 1808 | 渡されませんでした。 |
1067 | 1809 | リファレンスは、bless されて始めて、オブジェクトリファレンスとなります。 |
1068 | 1810 | L<perlobj> を参照してください。 |
1069 | 1811 | |
1070 | 1812 | =item Can't call method "%s" without a package or object reference |
1071 | 1813 | |
1072 | 1814 | =begin original |
1073 | 1815 | |
1074 | 1816 | (F) You used the syntax of a method call, but the slot filled by the |
1075 | 1817 | object reference or package name contains an expression that returns a |
1076 | 1818 | defined value which is neither an object reference nor a package name. |
1077 | 1819 | Something like this will reproduce the error: |
1078 | 1820 | |
1079 | 1821 | =end original |
1080 | 1822 | |
1081 | 1823 | (F) メソッド呼び出しの構文を用いましたが、オブジェクトリファレンス、 |
1082 | 1824 | もしくはパッケージ名が書かれるべき場所に、オブジェクトリファレンスも |
1083 | 1825 | パッケージ名も返さない定義された式が書かれています。 |
1084 | ||
1826 | 以下のように書くとエラーが再現します: | |
1085 | 以下のようなものは、エラーとなります: | |
1086 | 1827 | |
1087 | 1828 | $BADREF = 42; |
1088 | 1829 | process $BADREF 1,2,3; |
1089 | 1830 | $BADREF->process(1,2,3); |
1090 | 1831 | |
1091 | =item Can't chdi | |
1832 | =item Can't call mro_isa_changed_in() on anonymous symbol table | |
1092 | 1833 | |
1093 | 1834 | =begin original |
1094 | 1835 | |
1095 | ( | |
1836 | (P) Perl got confused as to whether a hash was a plain hash or a | |
1096 | ||
1837 | symbol table hash when trying to update @ISA caches. | |
1097 | 1838 | |
1098 | 1839 | =end original |
1099 | 1840 | |
1100 | ( | |
1841 | (P) @ISA キャッシュを更新しようとしたときに、ハッシュが普通のハッシュか | |
1101 | ||
1842 | シンボルテーブルハッシュかについて perl は混乱しました。 | |
1102 | おそらく、存在しないのではないでしょうか。 | |
1103 | 1843 | |
1104 | =item Can't c | |
1844 | =item Can't call mro_method_changed_in() on anonymous symbol table | |
1105 | 1845 | |
1106 | 1846 | =begin original |
1107 | 1847 | |
1108 | ( | |
1848 | (F) An XS module tried to call C<mro_method_changed_in> on a hash that was | |
1109 | no | |
1849 | not attached to the symbol table. | |
1110 | 1850 | |
1111 | 1851 | =end original |
1112 | 1852 | |
1113 | ( | |
1853 | (F) XS モジュールが、シンボルテーブルにアタッチされていないハッシュに対して | |
1114 | ||
1854 | C<mro_method_changed_in> を呼び出しました。 | |
1115 | 1855 | |
1116 | =item Can't c | |
1856 | =item Can't chdir to %s | |
1117 | 1857 | |
1118 | 1858 | =begin original |
1119 | 1859 | |
1120 | (F) You | |
1860 | (F) You called C<perl -x/foo/bar>, but F</foo/bar> is not a directory | |
1121 | ||
1861 | that you can chdir to, possibly because it doesn't exist. | |
1122 | only with arrays that have a hash reference at index 0. | |
1123 | 1862 | |
1124 | 1863 | =end original |
1125 | 1864 | |
1126 | (F) | |
1865 | (F) C<perl -x/foo/bar> のようにして起動しましたが、F</foo/bar> に | |
1127 | ||
1866 | chdir することができません; おそらく、存在しないのではないでしょうか。 | |
1128 | このようなことは添え字 0 にハッシュリファレンスがある配列でのみ可能です。 | |
1129 | 1867 | |
1130 | =item Can't c | |
1868 | =item Can't check filesystem of script "%s" for nosuid | |
1131 | 1869 | |
1132 | 1870 | =begin original |
1133 | 1871 | |
1872 | (P) For some reason you can't check the filesystem of the script for | |
1873 | nosuid. | |
1874 | ||
1875 | =end original | |
1876 | ||
1877 | (P) なぜかスクリプトが nosuid かどうかをファイルシステムから | |
1878 | 調べることができません。 | |
1879 | ||
1880 | =item Can't coerce %s to %s in %s | |
1881 | ||
1882 | =begin original | |
1883 | ||
1134 | 1884 | (F) Certain types of SVs, in particular real symbol table entries |
1135 | 1885 | (typeglobs), can't be forced to stop being what they are. So you can't |
1136 | 1886 | say things like: |
1137 | 1887 | |
1138 | 1888 | =end original |
1139 | 1889 | |
1140 | 1890 | (F) ある種の SV、特に本物のシンボルテーブルエントリ (型グロブ) は、 |
1141 | ||
1891 | 一つの型に留めておくことができません。 | |
1142 | 1892 | したがって、以下のようにすることはできません: |
1143 | 1893 | |
1144 | 1894 | *foo += 1; |
1145 | 1895 | |
1146 | 1896 | =begin original |
1147 | 1897 | |
1148 | 1898 | You CAN say |
1149 | 1899 | |
1150 | 1900 | =end original |
1151 | 1901 | |
1152 | 1902 | 以下のようにはできますが: |
1153 | 1903 | |
1154 | 1904 | $foo = *foo; |
1155 | 1905 | $foo += 1; |
1156 | 1906 | |
1157 | 1907 | =begin original |
1158 | 1908 | |
1159 | 1909 | but then $foo no longer contains a glob. |
1160 | 1910 | |
1161 | 1911 | =end original |
1162 | 1912 | |
1163 | 1913 | $foo にはもはやグロブは残っていません。 |
1164 | 1914 | |
1165 | =item Can't co | |
1915 | =item Can't "continue" outside a when block | |
1166 | 1916 | |
1167 | 1917 | =begin original |
1168 | 1918 | |
1169 | (F) | |
1919 | (F) You called C<continue>, but you're not inside a C<when> | |
1170 | ||
1920 | or C<default> block. | |
1171 | 1921 | |
1172 | 1922 | =end original |
1173 | 1923 | |
1174 | (F) | |
1924 | (F) C<continue> を呼び出しましたが、C<when> か C<default> のブロックの | |
1175 | ||
1925 | 内側ではありません。 | |
1176 | 1926 | |
1177 | =item Can't c | |
1927 | =item Can't create pipe mailbox | |
1178 | 1928 | |
1179 | 1929 | =begin original |
1180 | 1930 | |
1181 | ( | |
1931 | (P) An error peculiar to VMS. The process is suffering from exhausted | |
1182 | ||
1932 | quotas or other plumbing problems. | |
1183 | 1933 | |
1184 | 1934 | =end original |
1185 | 1935 | |
1186 | ( | |
1936 | (P) VMS に固有のエラーです。 | |
1187 | ||
1937 | プロセスはクォータを使い切ったか、その他の設備問題の影響を受けました。 | |
1188 | 1938 | |
1189 | =item Can't cre | |
1939 | =item Can't declare %s in "%s" | |
1190 | 1940 | |
1191 | 1941 | =begin original |
1192 | 1942 | |
1193 | ( | |
1943 | (F) Only scalar, array, and hash variables may be declared as "my", "our" or | |
1194 | ||
1944 | "state" variables. They must have ordinary identifiers as names. | |
1195 | 1945 | |
1196 | 1946 | =end original |
1197 | 1947 | |
1198 | (F) | |
1948 | (F) スカラ変数、配列変数、ハッシュ変数だけが、"my", "our", "state" 変数として | |
1199 | ||
1949 | 宣言できます。 | |
1950 | これらは、名前として通常の識別子を持たなければなりません。 | |
1200 | 1951 | |
1201 | =item Can't de | |
1952 | =item Can't "default" outside a topicalizer | |
1202 | 1953 | |
1203 | 1954 | =begin original |
1204 | 1955 | |
1205 | ( | |
1956 | (F) You have used a C<default> block that is neither inside a | |
1206 | ||
1957 | C<foreach> loop nor a C<given> block. (Note that this error is | |
1207 | ||
1958 | issued on exit from the C<default> block, so you won't get the | |
1959 | error if you use an explicit C<continue>.) | |
1208 | 1960 | |
1209 | 1961 | =end original |
1210 | 1962 | |
1211 | ( | |
1963 | (F) C<foreach> ループや C<given> ブロックの内側でないところで | |
1212 | ク | |
1964 | C<default> ブロックを使いました。 | |
1213 | この | |
1965 | (このエラーは C<default> ブロックから出るときに発生するので、明示的な | |
1966 | C<continue> を使うとエラーは発生しません。) | |
1214 | 1967 | |
1215 | =item Can't decla | |
1968 | =item Can't determine class of operator %s, assuming BASEOP | |
1216 | 1969 | |
1217 | 1970 | =begin original |
1218 | 1971 | |
1219 | ( | |
1972 | (S) This warning indicates something wrong in the internals of perl. | |
1220 | ||
1973 | Perl was trying to find the class (e.g. LISTOP) of a particular OP, | |
1974 | and was unable to do so. This is likely to be due to a bug in the perl | |
1975 | internals, or due to a bug in XS code which manipulates perl optrees. | |
1221 | 1976 | |
1222 | 1977 | =end original |
1223 | 1978 | |
1224 | ( | |
1979 | (S) この警告は、perl の内部で何かがおかしいことを示しています。 | |
1225 | ||
1980 | Perl は (LISTOP のような) 特定の OP のクラスを見つけようとして、 | |
1226 | こ | |
1981 | そうすることができませんでした。 | |
1982 | これはおそらく perl 内部のバグによるものか、perl の op 木を操作する | |
1983 | XS コードのバグによるものです。 | |
1227 | 1984 | |
1228 | 1985 | =item Can't do inplace edit: %s is not a regular file |
1229 | 1986 | |
1230 | 1987 | =begin original |
1231 | 1988 | |
1232 | 1989 | (S inplace) You tried to use the B<-i> switch on a special file, such as |
1233 | a file in /dev, | |
1990 | a file in /dev, a FIFO or an uneditable directory. The file was ignored. | |
1234 | 1991 | |
1235 | 1992 | =end original |
1236 | 1993 | |
1237 | (S inplace) /dev | |
1994 | (S inplace) /dev, FIFO, 変更できないディレクトリのような、特殊ファイルに対して | |
1238 | 使おうとしました。 | |
1995 | B<-i> スイッチを使おうとしました。 | |
1239 | ||
1996 | このファイルは無視されます。 | |
1240 | 1997 | |
1241 | 1998 | =item Can't do inplace edit on %s: %s |
1242 | 1999 | |
1243 | 2000 | =begin original |
1244 | 2001 | |
1245 | 2002 | (S inplace) The creation of the new file failed for the indicated |
1246 | 2003 | reason. |
1247 | 2004 | |
1248 | 2005 | =end original |
1249 | 2006 | |
1250 | 2007 | (S inplace) 表示された理由により、新しいファイルの生成に失敗しました。 |
1251 | 2008 | |
1252 | 2009 | =item Can't do inplace edit without backup |
1253 | 2010 | |
1254 | 2011 | =begin original |
1255 | 2012 | |
1256 | 2013 | (F) You're on a system such as MS-DOS that gets confused if you try |
1257 | 2014 | reading from a deleted (but still opened) file. You have to say |
1258 | 2015 | C<-i.bak>, or some such. |
1259 | 2016 | |
1260 | 2017 | =end original |
1261 | 2018 | |
1262 | 2019 | (F) 削除した (が、まだオープンされている) ファイルを読もうとすると |
1263 | 2020 | おかしくなる MS-DOS のようなシステムで実行しています。 |
1264 | 2021 | C<-i.bak> のようにバックアップを指定してください。 |
1265 | 2022 | |
1266 | 2023 | =item Can't do inplace edit: %s would not be unique |
1267 | 2024 | |
1268 | 2025 | =begin original |
1269 | 2026 | |
1270 | 2027 | (S inplace) Your filesystem does not support filenames longer than 14 |
1271 | 2028 | characters and Perl was unable to create a unique filename during |
1272 | 2029 | inplace editing with the B<-i> switch. The file was ignored. |
1273 | 2030 | |
1274 | 2031 | =end original |
1275 | 2032 | |
1276 | 2033 | (S inplace) ファイルシステムが 14 文字より長いファイル名に対応しておらず、 |
1277 | 2034 | Perl は B<-i> オプションによるその場編集の間のユニークなファイル名の |
1278 | 2035 | 作成ができませんでした。 |
1279 | 2036 | このファイルは無視されます。 |
1280 | 2037 | |
1281 | =item Can't do | |
2038 | =item Can't do %s("%s") on non-UTF-8 locale; resolved to "%s". | |
1282 | 2039 | |
1283 | 2040 | =begin original |
1284 | 2041 | |
1285 | ( | |
2042 | (W locale) You are 1) running under "C<use locale>"; 2) the current | |
1286 | ||
2043 | locale is not a UTF-8 one; 3) you tried to do the designated case-change | |
1287 | ||
2044 | operation on the specified Unicode character; and 4) the result of this | |
2045 | operation would mix Unicode and locale rules, which likely conflict. | |
2046 | Mixing of different rule types is forbidden, so the operation was not | |
2047 | done; instead the result is the indicated value, which is the best | |
2048 | available that uses entirely Unicode rules. That turns out to almost | |
2049 | always be the original character, unchanged. | |
1288 | 2050 | |
1289 | 2051 | =end original |
1290 | 2052 | |
1291 | ( | |
2053 | (W locale) あなたは 1) "C<use locale>" の基で実行していて; | |
1292 | ||
2054 | 2) 現在のロケールは UTF-8 ではなく; | |
1293 | ||
2055 | 3) 特定の Unicode 文字に指定された大文字小文字変換をしようとして; | |
1294 | ||
2056 | 4) この操作の結果、おそらく衝突する、Unicode とロケールの規則を混ぜました。 | |
1295 | ||
2057 | 異なる種類の規則を混ぜるのは禁止されているので、この操作は行われません; | |
2058 | 代わりに結果は示された値になります; これは全体的に Unicode の規則を | |
2059 | 使うという、最も利用可能なものです。 | |
2060 | これは、ほとんど常に、元の文字を変更しないままにします。 | |
1296 | 2061 | |
1297 | =item Can't do setegid! | |
1298 | ||
1299 | 2062 | =begin original |
1300 | 2063 | |
1301 | ||
2064 | It is generally a bad idea to mix non-UTF-8 locales and Unicode, and | |
1302 | sui | |
2065 | this issue is one of the reasons why. This warning is raised when | |
2066 | Unicode rules would normally cause the result of this operation to | |
2067 | contain a character that is in the range specified by the locale, | |
2068 | 0..255, and hence is subject to the locale's rules, not Unicode's. | |
1303 | 2069 | |
1304 | 2070 | =end original |
1305 | 2071 | |
1306 | ||
2072 | 非 UTF-8 ロケールと Unicode を混ぜるのは一般的に悪い考えで、 | |
1307 | ||
2073 | この問題はその理由の一つです。 | |
2074 | この警告は、Unicode の規則が、ロケールで指定された範囲 0..255 である文字を | |
2075 | 含むこの操作の結果を通常引き起こし、結果として Unicode ではなくロケールの | |
2076 | 規則を想定される場合に発生します。 | |
1308 | 2077 | |
1309 | =item Can't do seteuid! | |
1310 | ||
1311 | 2078 | =begin original |
1312 | 2079 | |
1313 | ||
2080 | If you are using locale purely for its characteristics related to things | |
2081 | like its numeric and time formatting (and not C<LC_CTYPE>), consider | |
2082 | using a restricted form of the locale pragma (see L<perllocale/The "use | |
2083 | locale" pragma>) like "S<C<use locale ':not_characters'>>". | |
1314 | 2084 | |
1315 | 2085 | =end original |
1316 | 2086 | |
1317 | ||
2087 | ロケールを、純粋に数値や時刻形式のようなものに関連する特徴だけに | |
2088 | 使っている (そして C<LC_CTYPE> は使っていない)場合、 | |
2089 | "S<C<use locale ':not_characters'>>" のような、locale プラグマの制限された | |
2090 | 形式 (L<perllocale/The "use locale" pragma> 参照) を使うことを | |
2091 | 検討してください。 | |
1318 | 2092 | |
1319 | =item Can't do setuid | |
1320 | ||
1321 | 2093 | =begin original |
1322 | 2094 | |
1323 | ||
2095 | Note that failed case-changing operations done as a result of | |
1324 | se | |
2096 | case-insensitive C</i> regular expression matching will show up in this | |
1325 | ||
2097 | warning as having the C<fc> operation (as that is what the regular | |
1326 | ||
2098 | expression engine calls behind the scenes.) | |
1327 | file is there, check the execute permissions. If it isn't, ask your | |
1328 | sysadmin why he and/or she removed it. | |
1329 | 2099 | |
1330 | 2100 | =end original |
1331 | 2101 | |
1332 | ||
2102 | 大文字小文字無視 C</i> 正規表現マッチングの結果として | |
1333 | ||
2103 | 大文字小文字変換操作が失敗した場合、この警告は | |
1334 | ||
2104 | C<fc> 操作に対して出力されることに注意してください | |
1335 | ||
2105 | (正規表現エンジンが裏でこれを使っているからです)。 | |
1336 | 名前を探します。 | |
1337 | もし、ファイルが存在していれば、実行パーミッションをチェックしてください。 | |
1338 | 許可されていないようであれば、システム管理者の方に、わけを | |
1339 | 尋ねてみてください。 | |
1340 | 2106 | |
1341 | 2107 | =item Can't do waitpid with flags |
1342 | 2108 | |
1343 | 2109 | =begin original |
1344 | 2110 | |
1345 | 2111 | (F) This machine doesn't have either waitpid() or wait4(), so only |
1346 | 2112 | waitpid() without flags is emulated. |
1347 | 2113 | |
1348 | 2114 | =end original |
1349 | 2115 | |
1350 | 2116 | (F) このマシンには、waitpid() も wait4() もありませんので、 |
1351 | 2117 | フラグの無い waitpid() のみがエミュレート可能です。 |
1352 | 2118 | |
1353 | 2119 | =item Can't emulate -%s on #! line |
1354 | 2120 | |
1355 | 2121 | =begin original |
1356 | 2122 | |
1357 | 2123 | (F) The #! line specifies a switch that doesn't make sense at this |
1358 | 2124 | point. For example, it'd be kind of silly to put a B<-x> on the #! |
1359 | 2125 | line. |
1360 | 2126 | |
1361 | 2127 | =end original |
1362 | 2128 | |
1363 | 2129 | (F) #! 行にその時点で意味をなさないスイッチが指定されました。 |
1364 | 2130 | たとえば、#! 行に B<-x> をおいても意味がありません。 |
1365 | 2131 | |
2132 | =item Can't %s %s-endian %ss on this platform | |
2133 | ||
2134 | =begin original | |
2135 | ||
2136 | (F) Your platform's byte-order is neither big-endian nor little-endian, | |
2137 | or it has a very strange pointer size. Packing and unpacking big- or | |
2138 | little-endian floating point values and pointers may not be possible. | |
2139 | See L<perlfunc/pack>. | |
2140 | ||
2141 | =end original | |
2142 | ||
2143 | (F) プラットフォームのバイト順序がビッグエンディアンでも | |
2144 | リトルエンディアンでもないか、ポインタサイズがとても変わっています。 | |
2145 | ビッグエンディアンやリトルエンディアンの不動小数点数やポインタの | |
2146 | pack や unpack はできません。 | |
2147 | L<perlfunc/pack> を参照してください。 | |
2148 | ||
1366 | 2149 | =item Can't exec "%s": %s |
1367 | 2150 | |
1368 | 2151 | =begin original |
1369 | 2152 | |
1370 | (W exec) A | |
2153 | (W exec) A system(), exec(), or piped open call could not execute the | |
1371 | 2154 | named program for the indicated reason. Typical reasons include: the |
1372 | 2155 | permissions were wrong on the file, the file wasn't found in |
1373 | 2156 | C<$ENV{PATH}>, the executable in question was compiled for another |
1374 | 2157 | architecture, or the #! line in a script points to an interpreter that |
1375 | 2158 | can't be run for similar reasons. (Or maybe your system doesn't support |
1376 | 2159 | #! at all.) |
1377 | 2160 | |
1378 | 2161 | =end original |
1379 | 2162 | |
1380 | 2163 | (W exec) 提示した理由によって、system() や exec() やパイプオープン |
1381 | 2164 | 呼び出しの指定されたプログラムが実行できませんでした。 |
1382 | 2165 | 考えられる理由には: ファイルのパーミッションが間違っている、 |
1383 | 2166 | ファイルが C<$ENV{PATH}> の中にない、問題の実行ファイルが |
1384 | 2167 | このマシン用ではない、スクリプトの #! 行が同じような理由で実行できない |
1385 | 2168 | インタプリタを指している、というようなものがあります。 |
1386 | 2169 | (あるいは、このシステムで、#! がサポートされていません。) |
1387 | 2170 | |
1388 | 2171 | =item Can't exec %s |
1389 | 2172 | |
1390 | 2173 | =begin original |
1391 | 2174 | |
1392 | 2175 | (F) Perl was trying to execute the indicated program for you because |
1393 | 2176 | that's what the #! line said. If that's not what you wanted, you may |
1394 | 2177 | need to mention "perl" on the #! line somewhere. |
1395 | 2178 | |
1396 | 2179 | =end original |
1397 | 2180 | |
1398 | 2181 | (F) #! 行に書かれた内容にしたがって、Perl は示されたプログラムを |
1399 | 2182 | 実行しようとしました。 |
1400 | 2183 | そうしたくないのであれば、#! 行のどこかに、"perl" と書いておいてください。 |
1401 | 2184 | |
1402 | 2185 | =item Can't execute %s |
1403 | 2186 | |
1404 | 2187 | =begin original |
1405 | 2188 | |
1406 | 2189 | (F) You used the B<-S> switch, but the copies of the script to execute |
1407 | 2190 | found in the PATH did not have correct permissions. |
1408 | 2191 | |
1409 | 2192 | =end original |
1410 | 2193 | |
1411 | 2194 | (F) B<-S> スイッチを使いましたが、PATH に見つかった実行するスクリプトが |
1412 | 2195 | 正しいパーミッションではありませんでした。 |
1413 | 2196 | |
1414 | 2197 | =item Can't find an opnumber for "%s" |
1415 | 2198 | |
1416 | 2199 | =begin original |
1417 | 2200 | |
1418 | 2201 | (F) A string of a form C<CORE::word> was given to prototype(), but there |
1419 | 2202 | is no builtin with the name C<word>. |
1420 | 2203 | |
1421 | 2204 | =end original |
1422 | 2205 | |
1423 | 2206 | (F) C<CORE::word> の形の文字列が prototype() に与えられましたが、 |
1424 | 2207 | 名前 C<word> は組み込みではありません。 |
1425 | 2208 | |
1426 | 2209 | =item Can't find label %s |
1427 | 2210 | |
1428 | 2211 | =begin original |
1429 | 2212 | |
1430 | 2213 | (F) You said to goto a label that isn't mentioned anywhere that it's |
1431 | 2214 | possible for us to go to. See L<perlfunc/goto>. |
1432 | 2215 | |
1433 | 2216 | =end original |
1434 | 2217 | |
1435 | 2218 | (F) どこにも見つからないラベルへ goto を行なおうとしました。 |
1436 | 2219 | L<perlfunc/goto> を参照してください。 |
1437 | 2220 | |
1438 | 2221 | =item Can't find %s on PATH |
1439 | 2222 | |
1440 | 2223 | =begin original |
1441 | 2224 | |
1442 | 2225 | (F) You used the B<-S> switch, but the script to execute could not be |
1443 | 2226 | found in the PATH. |
1444 | 2227 | |
1445 | 2228 | =end original |
1446 | 2229 | |
1447 | 2230 | B<-S> オプションを使いましたが、実行するスクリプトは PATH に |
1448 | 2231 | 見つかりませんでした。 |
1449 | 2232 | |
1450 | 2233 | =item Can't find %s on PATH, '.' not in PATH |
1451 | 2234 | |
1452 | 2235 | =begin original |
1453 | 2236 | |
1454 | 2237 | (F) You used the B<-S> switch, but the script to execute could not be |
1455 | 2238 | found in the PATH, or at least not with the correct permissions. The |
1456 | 2239 | script exists in the current directory, but PATH prohibits running it. |
1457 | 2240 | |
1458 | 2241 | =end original |
1459 | 2242 | |
1460 | 2243 | (F) B<-S> オプションが使われましたが、 PATH に実行するスクリプトが |
1461 | 見つか | |
2244 | 見つからないか、少なくとも適切なパーミッションがありません。 | |
1462 | 2245 | スクリプトはカレントディレクトリにはありますが、PATH に |
1463 | 2246 | カレントディレクトリは含まれていません。 |
1464 | 2247 | |
1465 | 2248 | =item Can't find string terminator %s anywhere before EOF |
1466 | 2249 | |
1467 | 2250 | =begin original |
1468 | 2251 | |
1469 | 2252 | (F) Perl strings can stretch over multiple lines. This message means |
1470 | 2253 | that the closing delimiter was omitted. Because bracketed quotes count |
1471 | 2254 | nesting levels, the following is missing its final parenthesis: |
1472 | 2255 | |
1473 | 2256 | =end original |
1474 | 2257 | |
1475 | 2258 | (F) Perl の文字列は、複数行に渡ることができます。このメッセージは、 |
1476 | 2259 | 文字列を終わる区切り文字が見つからなかったことを意味します。 |
1477 | ||
2260 | かっこ類の区切り文字では、ネストを数えるので、以下では、最後のかっこが | |
1478 | 2261 | 無いと言われます: |
1479 | 2262 | |
1480 | 2263 | print q(The character '(' starts a side comment.); |
1481 | 2264 | |
1482 | 2265 | =begin original |
1483 | 2266 | |
1484 | If you're getting this error from a here-document, you may have | |
2267 | If you're getting this error from a here-document, you may have | |
1485 | unseen whitespace before or after your closing tag | |
2268 | included unseen whitespace before or after your closing tag or there | |
1486 | ||
2269 | may not be a linebreak after it. A good programmer's editor will have | |
2270 | a way to help you find these characters (or lack of characters). See | |
2271 | L<perlop> for the full details on here-documents. | |
1487 | 2272 | |
1488 | 2273 | =end original |
1489 | 2274 | |
1490 | 2275 | このエラーがヒアドキュメントで起きた場合、閉じタグの前か後に |
1491 | 見えない空白を含んでいるかもしれません。 | |
2276 | 見えない空白を含んでいるか、その後に改行がないのかもしれません。 | |
1492 | よいプログラマ用エディタには、このような文字を探す | |
2277 | よいプログラマ用エディタには、このような文字(または文字がないこと)を探す | |
1493 | あります。 | |
2278 | 助けになる方法があります。 | |
2279 | ヒアドキュメントに関する完全な詳細については L<perlop> を参照してください。 | |
1494 | 2280 | |
1495 | =item Can't find | |
2281 | =item Can't find Unicode property definition "%s" | |
1496 | 2282 | |
2283 | =item Can't find Unicode property definition "%s" in regex; marked by <-- HERE in m/%s/ | |
2284 | ||
1497 | 2285 | =begin original |
1498 | 2286 | |
1499 | (F) | |
2287 | (F) The named property which you specified via C<\p> or C<\P> is not one | |
1500 | ||
2288 | known to Perl. Perhaps you misspelled the name? See | |
1501 | ||
2289 | L<perluniprops/Properties accessible through \p{} and \P{}> | |
1502 | ||
2290 | for a complete list of available official | |
2291 | properties. If it is a | |
2292 | L<user-defined property|perlunicode/User-Defined Character Properties> | |
2293 | it must have been defined by the time the regular expression is | |
2294 | matched. | |
1503 | 2295 | |
1504 | 2296 | =end original |
1505 | 2297 | |
1506 | (F) | |
2298 | (F) | |
1507 | C<\p> | |
2299 | C<\p> や C<\P> で指定した名前付き特性は Perl が知らないものです。 | |
1508 | ||
2300 | おそらく名前をタイプミスしたのでは? | |
1509 | ||
2301 | 公式に利用可能な特性の完全な一覧については | |
2302 | L<perluniprops/Properties accessible through \p{} and \P{}> を | |
2303 | 参照してください。 | |
2304 | これが L<ユーザー定義特性|perlunicode/User-Defined Character Properties> の | |
2305 | 場合は、正規表現がマッチングした時点で定義されていなければなりません。 | |
1510 | 2306 | |
1511 | = | |
2307 | =begin original | |
1512 | 2308 | |
2309 | If you didn't mean to use a Unicode property, escape the C<\p>, either | |
2310 | by C<\\p> (just the C<\p>) or by C<\Q\p> (the rest of the string, or | |
2311 | until C<\E>). | |
2312 | ||
2313 | =end original | |
2314 | ||
2315 | Unicode 特性を使うつもりでない場合は、C<\\p> (単に C<\p>) または | |
2316 | C<\Q\p> (残りの文字列 または C<\E> まで) を使って C<\p> を | |
2317 | エスケープしてください。 | |
2318 | ||
2319 | =item Can't fork: %s | |
2320 | ||
1513 | 2321 | =begin original |
1514 | 2322 | |
1515 | 2323 | (F) A fatal error occurred while trying to fork while opening a |
1516 | 2324 | pipeline. |
1517 | 2325 | |
1518 | 2326 | =end original |
1519 | 2327 | |
1520 | 2328 | (F) パイプラインをオープンしようとして、fork を行なおうとして、 |
1521 | 2329 | 致命的エラーが発生しました。 |
1522 | 2330 | |
2331 | =item Can't fork, trying again in 5 seconds | |
2332 | ||
2333 | =begin original | |
2334 | ||
2335 | (W pipe) A fork in a piped open failed with EAGAIN and will be retried | |
2336 | after five seconds. | |
2337 | ||
2338 | =end original | |
2339 | ||
2340 | (W pipe) パイプの open での fork が EAGAIN で失敗し、5 秒後に | |
2341 | 再試行されます。 | |
2342 | ||
1523 | 2343 | =item Can't get filespec - stale stat buffer? |
1524 | 2344 | |
1525 | 2345 | =begin original |
1526 | 2346 | |
1527 | 2347 | (S) A warning peculiar to VMS. This arises because of the difference |
1528 | 2348 | between access checks under VMS and under the Unix model Perl assumes. |
1529 | 2349 | Under VMS, access checks are done by filename, rather than by bits in |
1530 | 2350 | the stat buffer, so that ACLs and other protections can be taken into |
1531 | 2351 | account. Unfortunately, Perl assumes that the stat buffer contains all |
1532 | 2352 | the necessary information, and passes it, instead of the filespec, to |
1533 | the access | |
2353 | the access-checking routine. It will try to retrieve the filespec using | |
1534 | 2354 | the device name and FID present in the stat buffer, but this works only |
1535 | 2355 | if you haven't made a subsequent call to the CRTL stat() routine, |
1536 | 2356 | because the device name is overwritten with each call. If this warning |
1537 | appears, the name lookup failed, and the access | |
2357 | appears, the name lookup failed, and the access-checking routine gave up | |
1538 | and returned FALSE, just to be conservative. (Note: The access | |
2358 | and returned FALSE, just to be conservative. (Note: The access-checking | |
1539 | 2359 | routine knows about the Perl C<stat> operator and file tests, so you |
1540 | 2360 | shouldn't ever see this warning in response to a Perl command; it arises |
1541 | 2361 | only if some internal code takes stat buffers lightly.) |
1542 | 2362 | |
1543 | 2363 | =end original |
1544 | 2364 | |
1545 | (S) VMS | |
2365 | (S) VMS に固有の警告です。 | |
1546 | 2366 | これは VMS と、Perl が仮定している Unix モデルでは、アクセスチェックに違いが |
1547 | 2367 | あることによって起こります。 |
1548 | 2368 | VMS では、アクセスチェックは stat バッファのビットではなくファイル名によって |
1549 | 2369 | 行われるので、ACL やその他の保護が考慮されます。 |
1550 | 2370 | 残念ながら、Perl は stat バッファに全ての必要な情報が含まれていると仮定して、 |
1551 | 2371 | アクセスチェックルーチンにはファイルスペックではなくこれを渡します。 |
1552 | 2372 | stat バッファにあるデバイス名と FID を使ってファイルスペックを |
1553 | 2373 | 取得しようとしますが、これは引き続いて CRTL stat() ルーチンを呼び出さない |
1554 | 2374 | 場合にのみ動作します; なぜならデバイス名は呼出し毎に上書きされるからです。 |
1555 | 2375 | この警告が出ると、名前の検索が失敗し、アクセスチェックルーチンは諦めて、 |
1556 | 2376 | 安全のためだけに FALSE を返します。 |
1557 | 2377 | (注意: アクセスチェックルーチンは Perl の C<stat> 演算子とファイル |
1558 | 2378 | テストについて知っているので、Perl コマンドの結果としてこの警告を見ることは |
1559 | 2379 | ないはずです; これは内部コートが stat バッファを軽率に扱った場合にのみ |
1560 | 2380 | 発生します。) |
1561 | 2381 | |
1562 | 2382 | =item Can't get pipe mailbox device name |
1563 | 2383 | |
1564 | 2384 | =begin original |
1565 | 2385 | |
1566 | 2386 | (P) An error peculiar to VMS. After creating a mailbox to act as a |
1567 | 2387 | pipe, Perl can't retrieve its name for later use. |
1568 | 2388 | |
1569 | 2389 | =end original |
1570 | 2390 | |
1571 | ( | |
2391 | (P) VMS に固有のエラーです。 | |
1572 | 2392 | パイプとして働くメールボックスの作成後、後で使うための名前を |
1573 | 2393 | Perl が取得できませんでした。 |
1574 | 2394 | |
1575 | 2395 | =item Can't get SYSGEN parameter value for MAXBUF |
1576 | 2396 | |
1577 | 2397 | =begin original |
1578 | 2398 | |
1579 | 2399 | (P) An error peculiar to VMS. Perl asked $GETSYI how big you want your |
1580 | 2400 | mailbox buffers to be, and didn't get an answer. |
1581 | 2401 | |
1582 | 2402 | =end original |
1583 | 2403 | |
1584 | ( | |
2404 | (P) VMS に固有のエラーです。 | |
1585 | 2405 | メールボックスバッファをどれくらいとるべきかを $GETSYI に |
1586 | 2406 | 問い合わせましたが、答えが得られませんでした。 |
1587 | 2407 | |
2408 | =item Can't "goto" into a binary or list expression | |
2409 | ||
2410 | =begin original | |
2411 | ||
2412 | (F) A "goto" statement was executed to jump into the middle of a binary | |
2413 | or list expression. You can't get there from here. The reason for this | |
2414 | restriction is that the interpreter would get confused as to how many | |
2415 | arguments there are, resulting in stack corruption or crashes. This | |
2416 | error occurs in cases such as these: | |
2417 | ||
2418 | =end original | |
2419 | ||
2420 | (F) "goto" 文で 2 項式またはリスト式の途中に飛び込もうとしました。 | |
2421 | ここからそこへは行けません。 | |
2422 | この制限の理由は、そこにいくつの引数があるかに関してインタプリタが混乱し、 | |
2423 | 結果としてスタックは解約ラッシュを引き起こすからです。 | |
2424 | このエラーは次のような場合に起こります: | |
2425 | ||
2426 | goto F; | |
2427 | print do { F: }; # Can't jump into the arguments to print | |
2428 | ||
2429 | goto G; | |
2430 | $x + do { G: $y }; # How is + supposed to get its first operand? | |
2431 | ||
2432 | =item Can't "goto" into a "given" block | |
2433 | ||
2434 | =begin original | |
2435 | ||
2436 | (F) A "goto" statement was executed to jump into the middle of a C<given> | |
2437 | block. You can't get there from here. See L<perlfunc/goto>. | |
2438 | ||
2439 | =end original | |
2440 | ||
2441 | (F) "goto" 文で C<given> ブロックの中に飛び込もうとしました。 | |
2442 | ここからそこへは行けません。 | |
2443 | L<perlfunc/goto> を参照してください。 | |
2444 | ||
1588 | 2445 | =item Can't "goto" into the middle of a foreach loop |
1589 | 2446 | |
1590 | 2447 | =begin original |
1591 | 2448 | |
1592 | 2449 | (F) A "goto" statement was executed to jump into the middle of a foreach |
1593 | 2450 | loop. You can't get there from here. See L<perlfunc/goto>. |
1594 | 2451 | |
1595 | 2452 | =end original |
1596 | 2453 | |
1597 | 2454 | (F) "goto" 文で foreach ループの中に飛び込もうとしました。 |
1598 | 2455 | ここからそこへは行けません。 |
1599 | 2456 | L<perlfunc/goto> を参照してください。 |
1600 | 2457 | |
1601 | 2458 | =item Can't "goto" out of a pseudo block |
1602 | 2459 | |
1603 | 2460 | =begin original |
1604 | 2461 | |
1605 | 2462 | (F) A "goto" statement was executed to jump out of what might look like |
1606 | 2463 | a block, except that it isn't a proper block. This usually occurs if |
1607 | 2464 | you tried to jump out of a sort() block or subroutine, which is a no-no. |
1608 | 2465 | See L<perlfunc/goto>. |
1609 | 2466 | |
1610 | 2467 | =end original |
1611 | 2468 | |
1612 | 2469 | (F) "goto" 文でブロックのように見えるけれども、適切な |
1613 | 2470 | ブロックではないところから飛び出そうとしました。 |
1614 | 2471 | これは普通 sort() ブロックやサブルーチンから飛び出そうとしたときに |
1615 | 2472 | 起きますが、それはできません。 |
1616 | 2473 | L<perlfunc/goto> を参照してください。 |
1617 | 2474 | |
1618 | =item Can't goto subroutine from an eval-s | |
2475 | =item Can't goto subroutine from an eval-%s | |
1619 | 2476 | |
1620 | 2477 | =begin original |
1621 | 2478 | |
1622 | 2479 | (F) The "goto subroutine" call can't be used to jump out of an eval |
1623 | "string" | |
2480 | "string" or block. | |
1624 | probably don't want to.) | |
1625 | 2481 | |
1626 | 2482 | =end original |
1627 | 2483 | |
1628 | (F) "goto subroutine" 呼び出しは eval "string" から | |
2484 | (F) "goto subroutine" 呼び出しは eval "string" やブロックから | |
1629 | できません。 | |
2485 | 飛び出すことはできません。 | |
1630 | (eval {BLOCK} から飛び出すことはできますが、多分そうしたくはないでしょう。) | |
1631 | 2486 | |
2487 | =item Can't goto subroutine from a sort sub (or similar callback) | |
2488 | ||
2489 | =begin original | |
2490 | ||
2491 | (F) The "goto subroutine" call can't be used to jump out of the | |
2492 | comparison sub for a sort(), or from a similar callback (such | |
2493 | as the reduce() function in List::Util). | |
2494 | ||
2495 | =end original | |
2496 | ||
2497 | (F) "goto subroutine" 呼び出しは、sort() のための比較サブルーチンや、 | |
2498 | (List::Util の reduce() 関数のような) 似たようなコールバックから | |
2499 | 飛び出すことはできません。 | |
2500 | ||
1632 | 2501 | =item Can't goto subroutine outside a subroutine |
1633 | 2502 | |
1634 | 2503 | =begin original |
1635 | 2504 | |
1636 | 2505 | (F) The deeply magical "goto subroutine" call can only replace one |
1637 | 2506 | subroutine call for another. It can't manufacture one out of whole |
1638 | 2507 | cloth. In general you should be calling it out of only an AUTOLOAD |
1639 | 2508 | routine anyway. See L<perlfunc/goto>. |
1640 | 2509 | |
1641 | 2510 | =end original |
1642 | 2511 | |
1643 | (F) 結構マジカルな "goto subroutine" の呼び出しは、あるサブルー | |
2512 | (F) 結構マジカルな "goto subroutine" の呼び出しは、あるサブルーチン | |
1644 | 2513 | 呼び出しを別のもので置き換えるだけです。 |
1645 | 2514 | 反物の状態から作り上げることはできません。 |
1646 | 2515 | 一般に、これを行なうのは、AUTOLOAD ルーティンから抜け出すときだけに |
1647 | 2516 | しておくべきです。 |
1648 | L<perlfunc/goto> | |
2517 | L<perlfunc/goto> を参照してください。 | |
1649 | 2518 | |
1650 | 2519 | =item Can't ignore signal CHLD, forcing to default |
1651 | 2520 | |
1652 | 2521 | =begin original |
1653 | 2522 | |
1654 | 2523 | (W signal) Perl has detected that it is being run with the SIGCHLD |
1655 | 2524 | signal (sometimes known as SIGCLD) disabled. Since disabling this |
1656 | 2525 | signal will interfere with proper determination of exit status of child |
1657 | 2526 | processes, Perl has reset the signal to its default value. This |
1658 | 2527 | situation typically indicates that the parent program under which Perl |
1659 | 2528 | may be running (e.g. cron) is being very careless. |
1660 | 2529 | |
1661 | 2530 | =end original |
1662 | 2531 | |
1663 | 2532 | (W signal) Perl は、SIGCHLD (SIGCLD としても知られます) シグナルが |
1664 | 2533 | 無効化された状態で実行されていることを検出しました。 |
1665 | 2534 | このシグナルが無効化されると子プロセスの終了ステータスを適切に |
1666 | 2535 | 決定できなくなるので、Perl はシグナルをデフォルト値にリセットしました。 |
1667 | 2536 | この状況は典型的には Perl が動作している親プログラム(cron など)が |
1668 | 2537 | とても不注意であることを示しています。 |
1669 | 2538 | |
2539 | =item Can't kill a non-numeric process ID | |
2540 | ||
2541 | =begin original | |
2542 | ||
2543 | (F) Process identifiers must be (signed) integers. It is a fatal error to | |
2544 | attempt to kill() an undefined, empty-string or otherwise non-numeric | |
2545 | process identifier. | |
2546 | ||
2547 | =end original | |
2548 | ||
2549 | (F) プロセス識別子は(符号付き)整数でなければなりません。 | |
2550 | 未定義値、空文字列、その他の非数値プロセス識別子を使って | |
2551 | kill() しようとすることは致命的エラーです。 | |
2552 | ||
1670 | 2553 | =item Can't "last" outside a loop block |
1671 | 2554 | |
1672 | 2555 | =begin original |
1673 | 2556 | |
1674 | 2557 | (F) A "last" statement was executed to break out of the current block, |
1675 | 2558 | except that there's this itty bitty problem called there isn't a current |
1676 | 2559 | block. Note that an "if" or "else" block doesn't count as a "loopish" |
1677 | 2560 | block, as doesn't a block given to sort(), map() or grep(). You can |
1678 | 2561 | usually double the curlies to get the same effect though, because the |
1679 | 2562 | inner curlies will be considered a block that loops once. See |
1680 | 2563 | L<perlfunc/last>. |
1681 | 2564 | |
1682 | 2565 | =end original |
1683 | 2566 | |
1684 | 2567 | (F) 現在のブロックから脱出するために、"last" 文を実行しましたが、 |
1685 | 2568 | 残念なことにブロックの中ではありませんでした。 |
1686 | 2569 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
1687 | 2570 | 同様「ループ風」ブロックではないので、注意してください。 |
1688 | ただし、中 | |
2571 | ただし、中かっこを二重にすれば、内側の中かっこが、1 度だけループする | |
1689 | みなされますから、同じ効果が得られます。 | |
2572 | ブロックとみなされますから、同じ効果が得られます。 | |
1690 | 2573 | L<perlfunc/last> を参照してください。 |
1691 | 2574 | |
1692 | =item Can't l | |
2575 | =item Can't linearize anonymous symbol table | |
1693 | 2576 | |
1694 | 2577 | =begin original |
1695 | 2578 | |
1696 | (F) | |
2579 | (F) Perl tried to calculate the method resolution order (MRO) of a | |
1697 | ||
2580 | package, but failed because the package stash has no name. | |
1698 | localize a package variable of the same name, qualify it with the | |
1699 | package name. | |
1700 | 2581 | |
1701 | 2582 | =end original |
1702 | 2583 | |
1703 | (F) | |
2584 | (F) Perl はパッケージのメソッド解決順序 (MRO) を計算しようとしましたが、 | |
1704 | ||
2585 | パッケージ stash に名前がないので失敗しました。 | |
1705 | これは認められていません。 | |
1706 | 同じ名前のパッケージ変数をローカル化したい場合は、 | |
1707 | パッケージ名で修飾してください。 | |
1708 | 2586 | |
1709 | =item Can't lo | |
2587 | =item Can't load '%s' for module %s | |
1710 | 2588 | |
1711 | 2589 | =begin original |
1712 | 2590 | |
1713 | (F) | |
2591 | (F) The module you tried to load failed to load a dynamic extension. | |
1714 | ||
2592 | This may either mean that you upgraded your version of perl to one | |
1715 | ||
2593 | that is incompatible with your old dynamic extensions (which is known | |
1716 | ||
2594 | to happen between major versions of perl), or (more likely) that your | |
2595 | dynamic extension was built against an older version of the library | |
2596 | that is installed on your system. You may need to rebuild your old | |
2597 | dynamic extensions. | |
1717 | 2598 | |
1718 | 2599 | =end original |
1719 | 2600 | |
1720 | (F) | |
2601 | (F) 読み込もうとしたモジュールは、動的拡張モジュールの読み込みに | |
1721 | ||
2602 | 失敗しました。 | |
1722 | これは | |
2603 | これは古い動的拡張モジュールと互換性のない perl にアップグレードしたか | |
1723 | ||
2604 | (これは perl のメジャーバージョン間で起きることが知られています)、 | |
2605 | (よりあり得るのは)動的拡張モジュールがシステムにインストールされている古い | |
2606 | バージョンのライブラリに対してビルドされているかです。 | |
2607 | 古い動的拡張モジュールをリビルドする必要があるでしょう。 | |
1724 | 2608 | |
2609 | =item Can't localize lexical variable %s | |
2610 | ||
2611 | =begin original | |
2612 | ||
2613 | (F) You used local on a variable name that was previously declared as a | |
2614 | lexical variable using "my" or "state". This is not allowed. If you | |
2615 | want to localize a package variable of the same name, qualify it with | |
2616 | the package name. | |
2617 | ||
2618 | =end original | |
2619 | ||
2620 | (F) 以前に "my" や "state" を使ってレキシカル変数として宣言された変数名に | |
2621 | 対して local を使いました。 | |
2622 | これは認められていません。 | |
2623 | 同じ名前のパッケージ変数をローカル化したい場合は、 | |
2624 | パッケージ名で修飾してください。 | |
2625 | ||
1725 | 2626 | =item Can't localize through a reference |
1726 | 2627 | |
1727 | 2628 | =begin original |
1728 | 2629 | |
1729 | 2630 | (F) You said something like C<local $$ref>, which Perl can't currently |
1730 | 2631 | handle, because when it goes to restore the old value of whatever $ref |
1731 | 2632 | pointed to after the scope of the local() is finished, it can't be sure |
1732 | that $ref will still be a reference. | |
2633 | that $ref will still be a reference. | |
1733 | 2634 | |
1734 | 2635 | =end original |
1735 | 2636 | |
1736 | 2637 | (F) C<local $$ref> のようなことをしましたが、Perl は現在のところこれを |
1737 | 2638 | 扱えません; なぜなら、local() のスコープが終了した後、$ref が |
1738 | 2639 | 指しているものの古い値を戻すとき、$ref がまだリファレンスかどうかが |
1739 | 2640 | わからないからです。 |
1740 | 2641 | |
1741 | 2642 | =item Can't locate %s |
1742 | 2643 | |
1743 | 2644 | =begin original |
1744 | 2645 | |
1745 | (F) You said to C<do> (or C<require>, or C<use>) a file that couldn't be | |
2646 | (F) You said to C<do> (or C<require>, or C<use>) a file that couldn't be found. | |
1746 | ||
2647 | Perl looks for the file in all the locations mentioned in @INC, unless | |
1747 | ||
2648 | the file name included the full path to the file. Perhaps you need | |
1748 | ||
2649 | to set the PERL5LIB or PERL5OPT environment variable to say where the | |
1749 | ||
2650 | extra library is, or maybe the script needs to add the library name | |
1750 | 2651 | to @INC. Or maybe you just misspelled the name of the file. See |
1751 | 2652 | L<perlfunc/require> and L<lib>. |
1752 | 2653 | |
1753 | 2654 | =end original |
1754 | 2655 | |
1755 | 2656 | (F) ファイルを C<do> (または、C<require>、C<use>) するように |
1756 | 2657 | 指示されましたが、見つかりませんでした。 |
1757 | 2658 | Perl は、フルパスで指定されていない場合ファイルを @INC で示される |
1758 | 2659 | 全ての場所を検索します。 |
1759 | 2660 | おそらく、追加ライブラリの場所を示すために、 |
1760 | 2661 | PERL5LIB または PERL5OPT の環境変数を指定する必要があるか、 |
1761 | 2662 | スクリプトの中で @INC にライブラリ名を追加する必要があります。 |
1762 | 2663 | ファイル名のスペルミスの可能性もあります。 |
1763 | 2664 | L<perlfunc/require> と L<lib> を参照してください。 |
1764 | 2665 | |
1765 | 2666 | =item Can't locate auto/%s.al in @INC |
1766 | 2667 | |
1767 | 2668 | =begin original |
1768 | 2669 | |
1769 | 2670 | (F) A function (or method) was called in a package which allows |
1770 | 2671 | autoload, but there is no function to autoload. Most probable causes |
1771 | 2672 | are a misprint in a function/method name or a failure to C<AutoSplit> |
1772 | 2673 | the file, say, by doing C<make install>. |
1773 | 2674 | |
1774 | 2675 | =end original |
1775 | 2676 | |
1776 | 2677 | (F) 関数(またはメソッド)がオートロードを許可しているパッケージで |
1777 | 2678 | 呼び出されましたが、オートロードする関数がありませんでした。 |
1778 | 2679 | 最も可能性のある原因は関数/メソッド名の誤記か、C<make install> と |
1779 | 2680 | することによるファイルの C<AutoSplit> の失敗です。 |
1780 | 2681 | |
2682 | =item Can't locate loadable object for module %s in @INC | |
2683 | ||
2684 | =begin original | |
2685 | ||
2686 | (F) The module you loaded is trying to load an external library, like | |
2687 | for example, F<foo.so> or F<bar.dll>, but the L<DynaLoader> module was | |
2688 | unable to locate this library. See L<DynaLoader>. | |
2689 | ||
2690 | =end original | |
2691 | ||
2692 | (F) 読み込まれたモジュールは F<foo.so> や F<bar.dll> のような外部 | |
2693 | ライブラリを読み込もうとしましたが、L<DynaLoader> モジュールは、この | |
2694 | ライブラリの位置がわかりませんでした。 | |
2695 | L<DynaLoader> を参照してください。 | |
2696 | ||
1781 | 2697 | =item Can't locate object method "%s" via package "%s" |
1782 | 2698 | |
1783 | 2699 | =begin original |
1784 | 2700 | |
1785 | 2701 | (F) You called a method correctly, and it correctly indicated a package |
1786 | 2702 | functioning as a class, but that package doesn't define that particular |
1787 | 2703 | method, nor does any of its base classes. See L<perlobj>. |
1788 | 2704 | |
1789 | 2705 | =end original |
1790 | 2706 | |
1791 | 2707 | (F) 正しくメソッドを呼び出し、それは、クラスとして機能するパッケージを |
1792 | 2708 | 正しく示していますが、そのパッケージにも、基底クラスにも、 |
1793 | 2709 | 該当のメソッドが定義されていません。 |
1794 | 2710 | L<perlobj> を参照してください。 |
1795 | 2711 | |
1796 | =item (perhaps you forgot | |
2712 | =item Can't locate object method "%s" via package "%s" (perhaps you forgot | |
2713 | to load "%s"?) | |
1797 | 2714 | |
1798 | 2715 | =begin original |
1799 | 2716 | |
1800 | (F) | |
2717 | (F) You called a method on a class that did not exist, and the method | |
1801 | ||
2718 | could not be found in UNIVERSAL. This often means that a method | |
1802 | ||
2719 | requires a package that has not been loaded. | |
1803 | 2720 | |
1804 | 2721 | =end original |
1805 | 2722 | |
1806 | (F) | |
2723 | (F) 存在しないクラスメソッドを呼び出し、メソッドは | |
1807 | ||
2724 | UNIVERSAL に見つかりませんでした。 | |
1808 | 2725 | これはしばしばメソッドがまだロードされていないパッケージを |
1809 | 2726 | 要求していることを意味します。 |
1810 | 2727 | |
1811 | 2728 | =item Can't locate package %s for @%s::ISA |
1812 | 2729 | |
1813 | 2730 | =begin original |
1814 | 2731 | |
1815 | 2732 | (W syntax) The @ISA array contained the name of another package that |
1816 | 2733 | doesn't seem to exist. |
1817 | 2734 | |
1818 | 2735 | =end original |
1819 | 2736 | |
1820 | 2737 | (W syntax) 配列 @ISA に別のパッケージ名が記されていますが、 |
1821 | 2738 | 存在していないようです。 |
1822 | 2739 | |
1823 | =item Can't | |
2740 | =item Can't locate PerlIO%s | |
1824 | 2741 | |
1825 | 2742 | =begin original |
1826 | 2743 | |
2744 | (F) You tried to use in open() a PerlIO layer that does not exist, | |
2745 | e.g. open(FH, ">:nosuchlayer", "somefile"). | |
2746 | ||
2747 | =end original | |
2748 | ||
2749 | (F) 例えば、open(FH, ">:nosuchlayer", "somefile") のように、 | |
2750 | open() で 存在しない PerlIO 層を使おうとしました。 | |
2751 | ||
2752 | =item Can't make list assignment to %ENV on this system | |
2753 | ||
2754 | =begin original | |
2755 | ||
1827 | 2756 | (F) List assignment to %ENV is not supported on some systems, notably |
1828 | 2757 | VMS. |
1829 | 2758 | |
1830 | 2759 | =end original |
1831 | 2760 | |
1832 | 2761 | (F) %ENV へのリスト代入はいくつかのシステム、特に VMS では |
1833 | 2762 | 対応していません。 |
1834 | 2763 | |
2764 | =item Can't make loaded symbols global on this platform while loading %s | |
2765 | ||
2766 | =begin original | |
2767 | ||
2768 | (S) A module passed the flag 0x01 to DynaLoader::dl_load_file() to request | |
2769 | that symbols from the stated file are made available globally within the | |
2770 | process, but that functionality is not available on this platform. Whilst | |
2771 | the module likely will still work, this may prevent the perl interpreter | |
2772 | from loading other XS-based extensions which need to link directly to | |
2773 | functions defined in the C or XS code in the stated file. | |
2774 | ||
2775 | =end original | |
2776 | ||
2777 | (W) モジュールが、プロセスの中でグローバルに利用可能な固定ファイルから | |
2778 | シンボルを読み込むことを要求するために、DynaLoader::dl_load_file() に | |
2779 | 0x01 フラグを渡しましたが、この機能はこのプラットフォームでは利用できません。 | |
2780 | モジュールはおそらく動作しますが、perl インタプリタによる、固定ファイルの C や | |
2781 | XS コードで定義された関数へ直接リンクする必要のあるその他の XS ベースの | |
2782 | エクステンションの読み込みが妨げられるかもしれません。 | |
2783 | ||
1835 | 2784 | =item Can't modify %s in %s |
1836 | 2785 | |
1837 | 2786 | =begin original |
1838 | 2787 | |
1839 | 2788 | (F) You aren't allowed to assign to the item indicated, or otherwise try |
1840 | 2789 | to change it, such as with an auto-increment. |
1841 | 2790 | |
1842 | 2791 | =end original |
1843 | 2792 | |
1844 | 2793 | (F) 指定されたものは、代入、インクリメントなど、変更が許されていません。 |
1845 | 2794 | |
1846 | 2795 | =item Can't modify nonexistent substring |
1847 | 2796 | |
1848 | 2797 | =begin original |
1849 | 2798 | |
1850 | 2799 | (P) The internal routine that does assignment to a substr() was handed |
1851 | 2800 | a NULL. |
1852 | 2801 | |
1853 | 2802 | =end original |
1854 | 2803 | |
1855 | 2804 | (P) substr() への代入を行なう内部ルーティンに NULL が渡されました。 |
1856 | 2805 | |
1857 | =item Can't modify non-lvalue subroutine call | |
2806 | =item Can't modify non-lvalue subroutine call of &%s | |
1858 | 2807 | |
2808 | =item Can't modify non-lvalue subroutine call of &%s in %s | |
2809 | ||
1859 | 2810 | =begin original |
1860 | 2811 | |
1861 | 2812 | (F) Subroutines meant to be used in lvalue context should be declared as |
1862 | such | |
2813 | such. See L<perlsub/"Lvalue subroutines">. | |
1863 | 2814 | |
1864 | 2815 | =end original |
1865 | 2816 | |
1866 | 2817 | (F) 左辺値コンテキストとして使うサブルーチンは、そのように |
1867 | 宣言しなければなりません | |
2818 | 宣言しなければなりません。 | |
1868 | 2819 | L<perlsub/"Lvalue subroutines"> を参照してください。 |
1869 | 2820 | |
2821 | =item Can't modify reference to %s in %s assignment | |
2822 | ||
2823 | =begin original | |
2824 | ||
2825 | (F) Only a limited number of constructs can be used as the argument to a | |
2826 | reference constructor on the left-hand side of an assignment, and what | |
2827 | you used was not one of them. See L<perlref/Assigning to References>. | |
2828 | ||
2829 | =end original | |
2830 | ||
2831 | (F) 代入の左側のリファレンスコンストラクタの引数に使える構文は | |
2832 | 一部に制限されていて、ここで使ったものはその一つではありません。 | |
2833 | L<perlref/Assigning to References> を参照してください。 | |
2834 | ||
2835 | =item Can't modify reference to localized parenthesized array in list | |
2836 | assignment | |
2837 | ||
2838 | =begin original | |
2839 | ||
2840 | (F) Assigning to C<\local(@array)> or C<\(local @array)> is not supported, as | |
2841 | it is not clear exactly what it should do. If you meant to make @array | |
2842 | refer to some other array, use C<\@array = \@other_array>. If you want to | |
2843 | make the elements of @array aliases of the scalars referenced on the | |
2844 | right-hand side, use C<\(@array) = @scalar_refs>. | |
2845 | ||
2846 | =end original | |
2847 | ||
2848 | (F) C<\local(@array)> や C<\(local @array)> への代入は対応していません; | |
2849 | 正確に何をするべきかが明確ではないからです。 | |
2850 | @array が他の配列を参照するようにすることを意味しているなら、 | |
2851 | C<\@array = \@other_array> を使ってください。 | |
2852 | @array の要素が右側でリファレンスされているスカラへの別名にしたいなら、 | |
2853 | C<\(@array) = @scalar_refs> を使ってください。 | |
2854 | ||
2855 | =item Can't modify reference to parenthesized hash in list assignment | |
2856 | ||
2857 | =begin original | |
2858 | ||
2859 | (F) Assigning to C<\(%hash)> is not supported. If you meant to make %hash | |
2860 | refer to some other hash, use C<\%hash = \%other_hash>. If you want to | |
2861 | make the elements of %hash into aliases of the scalars referenced on the | |
2862 | right-hand side, use a hash slice: C<\@hash{@keys} = @those_scalar_refs>. | |
2863 | ||
2864 | =end original | |
2865 | ||
2866 | (F) C<\(%hash)> への代入は対応していません。 | |
2867 | %hash が他のハッシュを参照するようにすることを意味しているなら、 | |
2868 | C<\%hash = \%other_hash> を使ってください。 | |
2869 | %hash の要素が右側でリファレンスされているスカラへの別名にしたいなら、 | |
2870 | ハッシュスライスを使ってください: C<\@hash{@keys} = @those_scalar_refs>。 | |
2871 | ||
1870 | 2872 | =item Can't msgrcv to read-only var |
1871 | 2873 | |
1872 | 2874 | =begin original |
1873 | 2875 | |
1874 | 2876 | (F) The target of a msgrcv must be modifiable to be used as a receive |
1875 | 2877 | buffer. |
1876 | 2878 | |
1877 | 2879 | =end original |
1878 | 2880 | |
1879 | 2881 | (F) msgrcv で使用する変数は、受信バッファとして使用しますので、 |
1880 | 2882 | 変更可能なものでなければなりません。 |
1881 | 2883 | |
1882 | 2884 | =item Can't "next" outside a loop block |
1883 | 2885 | |
1884 | 2886 | =begin original |
1885 | 2887 | |
1886 | 2888 | (F) A "next" statement was executed to reiterate the current block, but |
1887 | 2889 | there isn't a current block. Note that an "if" or "else" block doesn't |
1888 | 2890 | count as a "loopish" block, as doesn't a block given to sort(), map() or |
1889 | 2891 | grep(). You can usually double the curlies to get the same effect |
1890 | 2892 | though, because the inner curlies will be considered a block that loops |
1891 | 2893 | once. See L<perlfunc/next>. |
1892 | 2894 | |
1893 | 2895 | =end original |
1894 | 2896 | |
1895 | 2897 | (F) 現在のブロックの繰り返しを進めるために、"next" 文を実行しましたが、 |
1896 | 2898 | ブロックの中ではありませんでした。 |
1897 | 2899 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
1898 | 2900 | 同様「ループ風」ブロックではないので、注意してください。 |
1899 | ただし、中 | |
2901 | ただし、中かっこを二重にすれば、内側の中かっこが、1 度だけループする | |
1900 | みなされますから、同じ効果が得られます。 | |
2902 | ブロックとみなされますから、同じ効果が得られます。 | |
1901 | 2903 | L<perlfunc/next> を参照してください。 |
1902 | 2904 | |
1903 | 2905 | =item Can't open %s: %s |
1904 | 2906 | |
1905 | 2907 | =begin original |
1906 | 2908 | |
1907 | 2909 | (S inplace) The implicit opening of a file through use of the C<< <> >> |
1908 | 2910 | filehandle, either implicitly under the C<-n> or C<-p> command-line |
1909 | switches, or explicitly, failed for the indicated reason. Usually | |
2911 | switches, or explicitly, failed for the indicated reason. Usually | |
1910 | is because you don't have read permission for a file which | |
2912 | this is because you don't have read permission for a file which | |
1911 | the command line. | |
2913 | you named on the command line. | |
1912 | 2914 | |
1913 | 2915 | =end original |
1914 | 2916 | |
1915 | 2917 | (S inplace) C<< <> >> ファイルハンドルによる暗黙的なファイルオープンまたは |
1916 | 2918 | C<-n> か C<-p> コマンドラインスイッチによる暗黙的な、あるいは |
1917 | 2919 | 明示的なファイルオープンが表示した理由によって失敗しました。 |
1918 | 2920 | 通常、これはコマンドラインで指定したファイルの読み込み権限が無いときに起こります。 |
1919 | 2921 | |
2922 | =begin original | |
2923 | ||
2924 | (F) You tried to call perl with the B<-e> switch, but F</dev/null> (or | |
2925 | your operating system's equivalent) could not be opened. | |
2926 | ||
2927 | =end original | |
2928 | ||
2929 | (F) B<-e> オプション付きで perl を呼び出そうとしましたが、F</dev/null> | |
2930 | (またはあなたのオペレーティングシステムでの等価物) が開けませんでした。 | |
2931 | ||
2932 | =item Can't open a reference | |
2933 | ||
2934 | =begin original | |
2935 | ||
2936 | (W io) You tried to open a scalar reference for reading or writing, | |
2937 | using the 3-arg open() syntax: | |
2938 | ||
2939 | =end original | |
2940 | ||
2941 | (W io) 3 引数の open() の構文を使ってスカラリファレンスを読み込みまたは | |
2942 | 書き込みのために開こうとしました: | |
2943 | ||
2944 | open FH, '>', $ref; | |
2945 | ||
2946 | =begin original | |
2947 | ||
2948 | but your version of perl is compiled without perlio, and this form of | |
2949 | open is not supported. | |
2950 | ||
2951 | =end original | |
2952 | ||
2953 | しかしこのバージョンの perl は perlio なしでコンパイルされていて、 | |
2954 | この形式の open は対応していません。 | |
2955 | ||
1920 | 2956 | =item Can't open bidirectional pipe |
1921 | 2957 | |
1922 | 2958 | =begin original |
1923 | 2959 | |
1924 | 2960 | (W pipe) You tried to say C<open(CMD, "|cmd|")>, which is not supported. |
1925 | 2961 | You can try any of several modules in the Perl library to do this, such |
1926 | 2962 | as IPC::Open2. Alternately, direct the pipe's output to a file using |
1927 | 2963 | ">", and then read it in under a different file handle. |
1928 | 2964 | |
1929 | 2965 | =end original |
1930 | 2966 | |
1931 | 2967 | (W pipe) サポートされていない C<open(CMD, "|cmd|")> を行なおうとしました。 |
1932 | 2968 | これを行なうためには、Perl ライブラリの IPC::Open2 のようないくつかの |
1933 | 2969 | モジュールを使うことができます。 |
1934 | 2970 | 別の方法として、パイプされたものを ">" を使っていったんファイルに出力し、 |
1935 | 2971 | あとで別のファイルハンドルで読み込みを行なうことも考えられます。 |
1936 | 2972 | |
1937 | 2973 | =item Can't open error file %s as stderr |
1938 | 2974 | |
1939 | 2975 | =begin original |
1940 | 2976 | |
1941 | 2977 | (F) An error peculiar to VMS. Perl does its own command line |
1942 | 2978 | redirection, and couldn't open the file specified after '2>' or '2>>' on |
1943 | 2979 | the command line for writing. |
1944 | 2980 | |
1945 | 2981 | =end original |
1946 | 2982 | |
1947 | (F) VMSに固有のエラーです。 | |
2983 | (F) VMS に固有のエラーです。 | |
1948 | 2984 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
1949 | 2985 | コマンドラインで書き込みのために '2>' や '2>>' の後に指定された |
1950 | 2986 | ファイルを開けませんでした。 |
1951 | 2987 | |
1952 | 2988 | =item Can't open input file %s as stdin |
1953 | 2989 | |
1954 | 2990 | =begin original |
1955 | 2991 | |
1956 | 2992 | (F) An error peculiar to VMS. Perl does its own command line |
1957 | 2993 | redirection, and couldn't open the file specified after '<' on the |
1958 | 2994 | command line for reading. |
1959 | 2995 | |
1960 | 2996 | =end original |
1961 | 2997 | |
1962 | (F) VMSに固有のエラーです。 | |
2998 | (F) VMS に固有のエラーです。 | |
1963 | 2999 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
1964 | 3000 | コマンドラインで読み込みのために '<' の後に指定された |
1965 | 3001 | ファイルを開けませんでした。 |
1966 | 3002 | |
1967 | 3003 | =item Can't open output file %s as stdout |
1968 | 3004 | |
1969 | 3005 | =begin original |
1970 | 3006 | |
1971 | 3007 | (F) An error peculiar to VMS. Perl does its own command line |
1972 | 3008 | redirection, and couldn't open the file specified after '>' or '>>' on |
1973 | 3009 | the command line for writing. |
1974 | 3010 | |
1975 | 3011 | =end original |
1976 | 3012 | |
1977 | (F) VMSに固有のエラーです。 | |
3013 | (F) VMS に固有のエラーです。 | |
1978 | 3014 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
1979 | 3015 | コマンドラインで書き込みのために '>' や '>>' の後に指定された |
1980 | 3016 | ファイルを開けませんでした。 |
1981 | 3017 | |
1982 | 3018 | =item Can't open output pipe (name: %s) |
1983 | 3019 | |
1984 | 3020 | =begin original |
1985 | 3021 | |
1986 | 3022 | (P) An error peculiar to VMS. Perl does its own command line |
1987 | 3023 | redirection, and couldn't open the pipe into which to send data destined |
1988 | 3024 | for stdout. |
1989 | 3025 | |
1990 | 3026 | =end original |
1991 | 3027 | |
1992 | (P) VMSに固有のエラーです。 | |
3028 | (P) VMS に固有のエラーです。 | |
1993 | 3029 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
1994 | 3030 | 標準出力としてデータを送るパイプを開けませんでした。 |
1995 | 3031 | |
1996 | 3032 | =item Can't open perl script "%s": %s |
1997 | 3033 | |
1998 | 3034 | =begin original |
1999 | 3035 | |
2000 | 3036 | (F) The script you specified can't be opened for the indicated reason. |
2001 | 3037 | |
2002 | 3038 | =end original |
2003 | 3039 | |
2004 | 3040 | (F) 指定したスクリプトが、表示した理由によってオープンできませんでした。 |
2005 | 3041 | |
3042 | =begin original | |
3043 | ||
3044 | If you're debugging a script that uses #!, and normally relies on the | |
3045 | shell's $PATH search, the -S option causes perl to do that search, so | |
3046 | you don't have to type the path or C<`which $scriptname`>. | |
3047 | ||
3048 | =end original | |
3049 | ||
3050 | #! を使うスクリプトをデバッグしていて、普通はシェルの $PATH 検索に | |
3051 | 頼っている場合は、-S オプションを付けることで perl が検索するようになり、 | |
3052 | パスや C<`which $scriptname`> をタイプする必要がなくなります。 | |
3053 | ||
2006 | 3054 | =item Can't read CRTL environ |
2007 | 3055 | |
2008 | 3056 | =begin original |
2009 | 3057 | |
2010 | 3058 | (S) A warning peculiar to VMS. Perl tried to read an element of %ENV |
2011 | 3059 | from the CRTL's internal environment array and discovered the array was |
2012 | 3060 | missing. You need to figure out where your CRTL misplaced its environ |
2013 | 3061 | or define F<PERL_ENV_TABLES> (see L<perlvms>) so that environ is not |
2014 | 3062 | searched. |
2015 | 3063 | |
2016 | 3064 | =end original |
2017 | 3065 | |
2018 | (S) VMSに固有の警告です。 | |
3066 | (S) VMS に固有の警告です。 | |
2019 | 3067 | Perl は %ENV の要素を CRTL の内部環境配列から読み込もうとしましたが、 |
2020 | 3068 | 配列がないことを発見しました。 |
2021 | 3069 | CRTL が環境をどこに間違えて置いたかを探し出すか、F<PERL_ENV_TABLE> を |
2022 | 3070 | 定義して(L<perlvms> を参照してください)環境を検索しないようにする |
2023 | 3071 | 必要があります。 |
2024 | 3072 | |
2025 | =item Can't rede | |
3073 | =item Can't redeclare "%s" in "%s" | |
2026 | 3074 | |
2027 | 3075 | =begin original |
2028 | 3076 | |
2029 | (F) | |
3077 | (F) A "my", "our" or "state" declaration was found within another declaration, | |
2030 | ||
3078 | such as C<my ($x, my($y), $z)> or C<our (my $x)>. | |
2031 | it was currently active, which is not allowed. If you really want to do | |
2032 | this, you should write C<sort { &func } @x> instead of C<sort func @x>. | |
2033 | 3079 | |
2034 | 3080 | =end original |
2035 | 3081 | |
2036 | (F) | |
3082 | (F) C<my ($x, my($y), $z)> や C<our (my $x)> のように、 | |
2037 | ||
3083 | "my", "our", "state" 宣言が他の宣言の中にありました。 | |
2038 | そのようなソートサブルーチンを現在アクティブな状態の時に | |
2039 | 再定義しようとしましたが、それはできません。 | |
2040 | 本当にそのようなことがしたい場合は、 | |
2041 | C<sort func @x> ではなく C<sort { &func } @x> と書くべきです。 | |
2042 | 3084 | |
2043 | 3085 | =item Can't "redo" outside a loop block |
2044 | 3086 | |
2045 | 3087 | =begin original |
2046 | 3088 | |
2047 | 3089 | (F) A "redo" statement was executed to restart the current block, but |
2048 | 3090 | there isn't a current block. Note that an "if" or "else" block doesn't |
2049 | 3091 | count as a "loopish" block, as doesn't a block given to sort(), map() |
2050 | 3092 | or grep(). You can usually double the curlies to get the same effect |
2051 | 3093 | though, because the inner curlies will be considered a block that |
2052 | 3094 | loops once. See L<perlfunc/redo>. |
2053 | 3095 | |
2054 | 3096 | =end original |
2055 | 3097 | |
2056 | 3098 | (F) 現在のブロックの繰り返しをもう一度行なうために、 |
2057 | 3099 | "redo" 文を実行しましたが、ブロックの中ではありませんでした。 |
2058 | 3100 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
2059 | 3101 | 同様「ループ風」ブロックではないので、注意してください。 |
2060 | ただし、中 | |
3102 | ただし、中かっこを二重にすれば、内側の中かっこが、1 度だけループする | |
2061 | 3103 | ブロックとみなされますから、同じ効果が得られます。 |
2062 | 3104 | L<perlfunc/redo> を参照してください。 |
2063 | 3105 | |
2064 | =item Can't remove %s: %s, skipping file | |
3106 | =item Can't remove %s: %s, skipping file | |
2065 | 3107 | |
2066 | 3108 | =begin original |
2067 | 3109 | |
2068 | 3110 | (S inplace) You requested an inplace edit without creating a backup |
2069 | 3111 | file. Perl was unable to remove the original file to replace it with |
2070 | 3112 | the modified file. The file was left unmodified. |
2071 | 3113 | |
2072 | 3114 | =end original |
2073 | 3115 | |
2074 | 3116 | (S inplace) バックアップを作成せずにその場編集することを要求しました。 |
2075 | 3117 | Perl は変更したファイルで置き換えるために元のファイルを削除することが |
2076 | 3118 | できませんでした。 |
2077 | 3119 | ファイルは変更されずに残されます。 |
2078 | 3120 | |
3121 | =item Can't rename in-place work file '%s' to '%s': %s | |
3122 | ||
3123 | =begin original | |
3124 | ||
3125 | (F) When closed implicitly, the temporary file for in-place editing | |
3126 | couldn't be renamed to the original filename. | |
3127 | ||
3128 | =end original | |
3129 | ||
3130 | (F) その場編集のための一時ファイルが暗黙に閉じられたとき、 | |
3131 | 元のファイル名にリネームできませんでした。 | |
3132 | ||
2079 | 3133 | =item Can't rename %s to %s: %s, skipping file |
2080 | 3134 | |
2081 | 3135 | =begin original |
2082 | 3136 | |
2083 | ( | |
3137 | (F) The rename done by the B<-i> switch failed for some reason, | |
2084 | 3138 | probably because you don't have write permission to the directory. |
2085 | 3139 | |
2086 | 3140 | =end original |
2087 | 3141 | |
2088 | ( | |
3142 | (F) B<-i> スイッチで行なわれた rename が何らかの理由によって、 | |
2089 | うまく行きませんでした。 | |
3143 | うまく行きませんでした; ディレクトリに書き込み権がないことも考えられます。 | |
2090 | ディレクトリに書き込み権がないことも考えられます。 | |
2091 | 3144 | |
2092 | 3145 | =item Can't reopen input pipe (name: %s) in binary mode |
2093 | 3146 | |
2094 | 3147 | =begin original |
2095 | 3148 | |
2096 | 3149 | (P) An error peculiar to VMS. Perl thought stdin was a pipe, and tried |
2097 | 3150 | to reopen it to accept binary data. Alas, it failed. |
2098 | 3151 | |
2099 | 3152 | =end original |
2100 | 3153 | |
2101 | 3154 | (P) VMS に固有のエラーです。 |
2102 | 3155 | Perl は標準入力がパイプであると考えて、バイナリデータを受け入れるために |
2103 | 3156 | 再オープンしようとしました。 |
2104 | 3157 | 悲しいかな、それは失敗しました。 |
2105 | 3158 | |
2106 | =item Can't res | |
3159 | =item Can't represent character for Ox%X on this platform | |
2107 | 3160 | |
2108 | 3161 | =begin original |
2109 | 3162 | |
2110 | (F | |
3163 | (F) There is a hard limit to how big a character code point can be due | |
2111 | to | |
3164 | to the fundamental properties of UTF-8, especially on EBCDIC | |
2112 | ||
3165 | platforms. The given code point exceeds that. The only work-around is | |
3166 | to not use such a large code point. | |
2113 | 3167 | |
2114 | 3168 | =end original |
2115 | 3169 | |
2116 | (F | |
3170 | (F) どれだけ大きな文字符号位置が使えるかについては固定値の制限があります; | |
2117 | ||
3171 | これは UTF-8 の、特に EBCDIC プラットフォームでの基礎的な特性によるものです。 | |
2118 | ||
3172 | 指定された符号位置はそれを越えています。 | |
2119 | ||
3173 | 唯一の回避策はそのような大きな符号位置を使わないことです。 | |
2120 | 3174 | |
2121 | =item Can't res | |
3175 | =item Can't reset %ENV on this system | |
2122 | 3176 | |
2123 | 3177 | =begin original |
2124 | 3178 | |
2125 | ( | |
3179 | (F) You called C<reset('E')> or similar, which tried to reset | |
2126 | s | |
3180 | all variables in the current package beginning with "E". In | |
3181 | the main package, that includes %ENV. Resetting %ENV is not | |
3182 | supported on some systems, notably VMS. | |
2127 | 3183 | |
2128 | 3184 | =end original |
2129 | 3185 | |
2130 | ( | |
3186 | (F) C<reset('E')> のようなものを呼び出して、現在のパッケージで "E" で始まる | |
2131 | set | |
3187 | 全ての変数を reset しようとしました。 | |
3188 | main パッケージでは、これには %ENV が含まれます。 | |
3189 | %ENV の reset は一部のシステム、特に VMS では対応していません。 | |
2132 | 3190 | |
2133 | =item Can't ret | |
3191 | =item Can't resolve method "%s" overloading "%s" in package "%s" | |
2134 | 3192 | |
2135 | 3193 | =begin original |
2136 | 3194 | |
2137 | (F) | |
3195 | (F)(P) Error resolving overloading specified by a method name (as | |
2138 | ||
3196 | opposed to a subroutine reference): no such method callable via the | |
2139 | is | |
3197 | package. If the method name is C<???>, this is an internal error. | |
2140 | 3198 | |
2141 | 3199 | =end original |
2142 | 3200 | |
2143 | (F) | |
3201 | (F)(P) (サブルーチンのリファレンスではなく)メソッド名で指定された | |
2144 | ||
3202 | オーバーロードの解決でのエラー: そのようなメソッドはパッケージ経由で | |
2145 | ||
3203 | 呼び出せません。 | |
2146 | ||
3204 | もしメソッド名が C<???> なら、内部エラーです。 | |
2147 | 3205 | |
2148 | =item Can't return %s | |
3206 | =item Can't return %s from lvalue subroutine | |
2149 | 3207 | |
2150 | 3208 | =begin original |
2151 | 3209 | |
2152 | (F) | |
3210 | (F) Perl detected an attempt to return illegal lvalues (such as | |
2153 | ||
3211 | temporary or readonly values) from a subroutine used as an lvalue. This | |
2154 | ||
3212 | is not allowed. | |
2155 | the call to the subroutine, which tell Perl that the call should be in | |
2156 | list context. | |
2157 | 3213 | |
2158 | 3214 | =end original |
2159 | 3215 | |
2160 | (F) 左辺値サブルーチンから | |
3216 | (F) Perl が、左辺値として使われるサブルーチンから(一時的や | |
2161 | ||
3217 | 読み込み専用のような)不正な左辺値が返されようとしているのを検出しました。 | |
2162 | ||
3218 | これは認められていません。 | |
2163 | おそらく、Perl にこの呼び出しがリストコンテキストであると伝えるために、 | |
2164 | サブルーチン呼び出しの周りにかっこを書いているのでしょう。 | |
2165 | 3219 | |
2166 | 3220 | =item Can't return outside a subroutine |
2167 | 3221 | |
2168 | 3222 | =begin original |
2169 | 3223 | |
2170 | 3224 | (F) The return statement was executed in mainline code, that is, where |
2171 | 3225 | there was no subroutine call to return out of. See L<perlsub>. |
2172 | 3226 | |
2173 | 3227 | =end original |
2174 | 3228 | |
2175 | (F) return 文が、return で抜けるべきサブルー | |
3229 | (F) return 文が、return で抜けるべきサブルーチンがない、 | |
2176 | 3230 | "main" コードで実行されました。 |
2177 | 3231 | L<perlsub> を参照してください。 |
2178 | 3232 | |
2179 | =item Can't sta | |
3233 | =item Can't return %s to lvalue scalar context | |
2180 | 3234 | |
2181 | 3235 | =begin original |
2182 | 3236 | |
2183 | ( | |
3237 | (F) You tried to return a complete array or hash from an lvalue | |
2184 | o | |
3238 | subroutine, but you called the subroutine in a way that made Perl | |
3239 | think you meant to return only one value. You probably meant to | |
3240 | write parentheses around the call to the subroutine, which tell | |
3241 | Perl that the call should be in list context. | |
2185 | 3242 | |
2186 | 3243 | =end original |
2187 | 3244 | |
2188 | ( | |
3245 | (F) 左辺値サブルーチンから配列やハッシュ全体を返そうとしましたが、 | |
2189 | ||
3246 | 一つだけの値を返そうとしていると Perl が考えるような方法でサブルーチンを | |
3247 | 呼び出しました。 | |
3248 | おそらく、Perl にこの呼び出しがリストコンテキストであると伝えるために、 | |
3249 | サブルーチン呼び出しの周りにかっこを書いているのでしょう。 | |
2190 | 3250 | |
2191 | =item Can't s | |
3251 | =item Can't stat script "%s" | |
2192 | 3252 | |
2193 | 3253 | =begin original |
2194 | 3254 | |
2195 | (P) | |
3255 | (P) For some reason you can't fstat() the script even though you have it | |
2196 | ||
3256 | open already. Bizarre. | |
2197 | 3257 | |
2198 | 3258 | =end original |
2199 | 3259 | |
2200 | (P) | |
3260 | (P) 何らかの理由で、例え既にオープンしていたとしても、fstat() が | |
2201 | ||
3261 | 行なえません。困ったもんだ。 | |
2202 | 3262 | |
2203 | 3263 | =item Can't take log of %g |
2204 | 3264 | |
2205 | 3265 | =begin original |
2206 | 3266 | |
2207 | 3267 | (F) For ordinary real numbers, you can't take the logarithm of a |
2208 | negative number or zero. There's a Math::Complex package that comes | |
3268 | negative number or zero. There's a Math::Complex package that comes | |
2209 | 3269 | standard with Perl, though, if you really want to do that for the |
2210 | 3270 | negative numbers. |
2211 | 3271 | |
2212 | 3272 | =end original |
2213 | 3273 | |
2214 | 3274 | (F) 実数に対しては、負数や 0 に対する対数を取ることはできません。 |
2215 | 3275 | しかし、もし本当に負数に対してそのようなことをしたいのなら、 |
2216 | 3276 | Perl 標準になっている Math::Complex パッケージがあります。 |
2217 | 3277 | |
2218 | 3278 | =item Can't take sqrt of %g |
2219 | 3279 | |
2220 | 3280 | =begin original |
2221 | 3281 | |
2222 | 3282 | (F) For ordinary real numbers, you can't take the square root of a |
2223 | 3283 | negative number. There's a Math::Complex package that comes standard |
2224 | 3284 | with Perl, though, if you really want to do that. |
2225 | 3285 | |
2226 | 3286 | =end original |
2227 | 3287 | |
2228 | 3288 | (F) 通常の実数では、負数の平方根をとることはできません。 |
2229 | 3289 | しかし、本当にその計算を行ないたいのであれば、Math::Complex パッケージが |
2230 | 3290 | Perl に標準で用意されています。 |
2231 | 3291 | |
2232 | 3292 | =item Can't undef active subroutine |
2233 | 3293 | |
2234 | 3294 | =begin original |
2235 | 3295 | |
2236 | 3296 | (F) You can't undefine a routine that's currently running. You can, |
2237 | 3297 | however, redefine it while it's running, and you can even undef the |
2238 | 3298 | redefined subroutine while the old routine is running. Go figure. |
2239 | 3299 | |
2240 | 3300 | =end original |
2241 | 3301 | |
2242 | 3302 | (F) 実行中のルーティンを未定義にすることはできません。 |
2243 | 3303 | しかし、実行中に再定義することはでき、古いルーティンを実行中に、 |
2244 | 再定義したサブルー | |
3304 | 再定義したサブルーチンを undef することさえできます。 | |
2245 | 3305 | 驚きです。 |
2246 | 3306 | |
2247 | =item Can't un | |
3307 | =item Can't unweaken a nonreference | |
2248 | 3308 | |
2249 | 3309 | =begin original |
2250 | 3310 | |
2251 | (F) You t | |
3311 | (F) You attempted to unweaken something that was not a reference. Only | |
2252 | ||
3312 | references can be unweakened. | |
2253 | 3313 | |
2254 | 3314 | =end original |
2255 | 3315 | |
2256 | (F) | |
3316 | (F) リファレンスでないものを弱くないようにしようとしました。 | |
2257 | ||
3317 | リファレンスだけが弱くないようにできます。 | |
2258 | 3318 | |
2259 | =item Can't upgrade | |
3319 | =item Can't upgrade %s (%d) to %d | |
2260 | 3320 | |
2261 | 3321 | =begin original |
2262 | 3322 | |
2263 | 3323 | (P) The internal sv_upgrade routine adds "members" to an SV, making it |
2264 | 3324 | into a more specialized kind of SV. The top several SV types are so |
2265 | 3325 | specialized, however, that they cannot be interconverted. This message |
2266 | 3326 | indicates that such a conversion was attempted. |
2267 | 3327 | |
2268 | 3328 | =end original |
2269 | 3329 | |
2270 | 3330 | (P) 内部の sv_upgrade ルーティンは、SV に「メンバ」を加えて、 |
2271 | 3331 | より特別な種類の SV にします。 しかし、上位のいくつかの SV 型は、 |
2272 | 3332 | 特殊化され過ぎて、内部変換することができません。 |
2273 | 3333 | このメッセージは、そのような変更を行なおうとしたことを示しています。 |
2274 | 3334 | |
2275 | =item Can't u | |
3335 | =item Can't use '%c' after -mname | |
2276 | 3336 | |
2277 | 3337 | =begin original |
2278 | 3338 | |
2279 | ( | |
3339 | (F) You tried to call perl with the B<-m> switch, but you put something | |
2280 | ||
3340 | other than "=" after the module name. | |
2281 | calling sv_upgrade. | |
2282 | 3341 | |
2283 | 3342 | =end original |
2284 | 3343 | |
2285 | ( | |
3344 | (F) B<-m> オプション付きで perl を呼び出そうとしましたが、モジュール名の後に | |
2286 | ||
3345 | "=" 以外のものを置きました。 | |
2287 | undef への upgrade は、sv_upgrade を呼ぶコードのエラーを示します。 | |
2288 | 3346 | |
3347 | =item Can't use a hash as a reference | |
3348 | ||
3349 | =begin original | |
3350 | ||
3351 | (F) You tried to use a hash as a reference, as in | |
3352 | C<< %foo->{"bar"} >> or C<< %$ref->{"hello"} >>. Versions of perl | |
3353 | <= 5.22.0 used to allow this syntax, but shouldn't | |
3354 | have. This was deprecated in perl 5.6.1. | |
3355 | ||
3356 | =end original | |
3357 | ||
3358 | (F) C<< %foo->{"bar"} >> or C<< %$ref->{"hello"} >> のように、 | |
3359 | ハッシュをリファレンスとして使おうとしました。 | |
3360 | <= 5.22.0 のバージョンの perl ではこの文法が許されていましたが、 | |
3361 | そうするべきではありません。 | |
3362 | これは perl 5.6.1 から廃止予定です。 | |
3363 | ||
3364 | =item Can't use an array as a reference | |
3365 | ||
3366 | =begin original | |
3367 | ||
3368 | (F) You tried to use an array as a reference, as in | |
3369 | C<< @foo->[23] >> or C<< @$ref->[99] >>. Versions of perl <= 5.22.0 | |
3370 | used to allow this syntax, but shouldn't have. This | |
3371 | was deprecated in perl 5.6.1. | |
3372 | ||
3373 | =end original | |
3374 | ||
3375 | (F) C<< @foo->[23] >> or C<< @$ref->[99] >> のように、 | |
3376 | 配列をリファレンスとして使おうとしました。 | |
3377 | <= 5.22.0 のバージョンの perl ではこの文法が許されていましたが、 | |
3378 | そうするべきではありません。 | |
3379 | これは perl 5.6.1 から廃止予定です。 | |
3380 | ||
3381 | =item Can't use anonymous symbol table for method lookup | |
3382 | ||
3383 | =begin original | |
3384 | ||
3385 | (F) The internal routine that does method lookup was handed a symbol | |
3386 | table that doesn't have a name. Symbol tables can become anonymous | |
3387 | for example by undefining stashes: C<undef %Some::Package::>. | |
3388 | ||
3389 | =end original | |
3390 | ||
3391 | (F) メソッド検索を行う内部ルーチンが、名前のないシンボルテーブルを | |
3392 | 扱いました。 | |
3393 | シンボルテーブルは、例えば C<undef %Some::Package::> のように未定義の | |
3394 | stash によって無名となります。 | |
3395 | ||
2289 | 3396 | =item Can't use an undefined value as %s reference |
2290 | 3397 | |
2291 | 3398 | =begin original |
2292 | 3399 | |
2293 | 3400 | (F) A value used as either a hard reference or a symbolic reference must |
2294 | 3401 | be a defined value. This helps to delurk some insidious errors. |
2295 | 3402 | |
2296 | 3403 | =end original |
2297 | 3404 | |
2298 | 3405 | (F) ハードリファレンスやシンボリックリファレンスとして使用する値は、 |
2299 | 3406 | 定義済みの値でなければなりません。 |
2300 | 3407 | 潜伏中のエラーを引きずり出す助けとなります。 |
2301 | 3408 | |
2302 | 3409 | =item Can't use bareword ("%s") as %s ref while "strict refs" in use |
2303 | 3410 | |
2304 | 3411 | =begin original |
2305 | 3412 | |
2306 | 3413 | (F) Only hard references are allowed by "strict refs". Symbolic |
2307 | 3414 | references are disallowed. See L<perlref>. |
2308 | 3415 | |
2309 | 3416 | =end original |
2310 | 3417 | |
2311 | (F) "strict refs" | |
3418 | (F) "strict refs" によって、ハードリファレンスのみが許可されます。 | |
2312 | シンボリックリファレンスは | |
3419 | シンボリックリファレンスは許可されません。 | |
2313 | 3420 | L<perlref> を参照してください。 |
2314 | 3421 | |
2315 | 3422 | =item Can't use %! because Errno.pm is not available |
2316 | 3423 | |
2317 | 3424 | =begin original |
2318 | 3425 | |
2319 | (F) The first time the %! hash is used, perl automatically loads the | |
3426 | (F) The first time the C<%!> hash is used, perl automatically loads the | |
2320 | Errno.pm module. The Errno module is expected to tie the %! hash to | |
3427 | Errno.pm module. The Errno module is expected to tie the %! hash to | |
2321 | 3428 | provide symbolic names for C<$!> errno values. |
2322 | 3429 | |
2323 | 3430 | =end original |
2324 | 3431 | |
2325 | (F) 最初に %! ハッシュが使われるときに、 | |
3432 | (F) 最初に C<%!> ハッシュが使われるときに、 | |
2326 | 3433 | perl は自動的に Errno.pm モジュールを読み込みます。 |
2327 | 3434 | Errno モジュールは C<$!> errno 値のシンボリック名を提供するために |
2328 | 3435 | %! ハッシュと tie されることになります。 |
2329 | 3436 | |
3437 | =item Can't use both '<' and '>' after type '%c' in %s | |
3438 | ||
3439 | =begin original | |
3440 | ||
3441 | (F) A type cannot be forced to have both big-endian and little-endian | |
3442 | byte-order at the same time, so this combination of modifiers is not | |
3443 | allowed. See L<perlfunc/pack>. | |
3444 | ||
3445 | =end original | |
3446 | ||
3447 | (F) 一つの型を同時にビッグエンディアンとリトルエンディアンの両方に | |
3448 | 強制することはできないので、この修飾子の組み合わせは許可されません。 | |
3449 | L<perlfunc/pack> を参照してください。 | |
3450 | ||
3451 | =item Can't use 'defined(@array)' (Maybe you should just omit the defined()?) | |
3452 | ||
3453 | =begin original | |
3454 | ||
3455 | (F) defined() is not useful on arrays because it | |
3456 | checks for an undefined I<scalar> value. If you want to see if the | |
3457 | array is empty, just use C<if (@array) { # not empty }> for example. | |
3458 | ||
3459 | =end original | |
3460 | ||
3461 | (F) defined() は未定義の I<スカラ> 値を調べるので、配列に使っても無意味です。 | |
3462 | 配列が空かどうかを調べたい場合は、例えば単に | |
3463 | C<if (@array) { # not empty }> としてください。 | |
3464 | ||
3465 | =item Can't use 'defined(%hash)' (Maybe you should just omit the defined()?) | |
3466 | ||
3467 | =begin original | |
3468 | ||
3469 | (F) C<defined()> is not usually right on hashes. | |
3470 | ||
3471 | =end original | |
3472 | ||
3473 | (F) C<defined()> は普通はハッシュの右側ではありません。 | |
3474 | ||
3475 | =begin original | |
3476 | ||
3477 | Although C<defined %hash> is false on a plain not-yet-used hash, it | |
3478 | becomes true in several non-obvious circumstances, including iterators, | |
3479 | weak references, stash names, even remaining true after C<undef %hash>. | |
3480 | These things make C<defined %hash> fairly useless in practice, so it now | |
3481 | generates a fatal error. | |
3482 | ||
3483 | =end original | |
3484 | ||
3485 | まだ使われていない普通のハッシュに対する C<defined %hash> は偽ですが、 | |
3486 | いくつかの明白でない状況では新になります; これには反復し、弱い参照、 | |
3487 | stash 名を含み、C<undef %hash> の後でも真になります。 | |
3488 | これらにより、実践では C<defined %hash> はほとんど使えないので、 | |
3489 | 致命的エラーを生成するようになりました。 | |
3490 | ||
3491 | =begin original | |
3492 | ||
3493 | If a check for non-empty is what you wanted then just put it in boolean | |
3494 | context (see L<perldata/Scalar values>): | |
3495 | ||
3496 | =end original | |
3497 | ||
3498 | 空でないことをチェックしたいなら、単にこれを真偽値コンテキストに | |
3499 | 置いてください (L<perldata/Scalar values> を参照してください): | |
3500 | ||
3501 | if (%hash) { | |
3502 | # not empty | |
3503 | } | |
3504 | ||
3505 | =begin original | |
3506 | ||
3507 | If you had C<defined %Foo::Bar::QUUX> to check whether such a package | |
3508 | variable exists then that's never really been reliable, and isn't | |
3509 | a good way to enquire about the features of a package, or whether | |
3510 | it's loaded, etc. | |
3511 | ||
3512 | =end original | |
3513 | ||
3514 | パッケージ変数が存在するかどうかを調べるために | |
3515 | C<defined %Foo::Bar::QUUX> のようなことをしていると、これは決して信頼性が | |
3516 | なく、パッケージの機能や読み込まれているかどうかなどを問い合わせる | |
3517 | 良い方法ではありません。 | |
3518 | ||
2330 | 3519 | =item Can't use %s for loop variable |
2331 | 3520 | |
2332 | 3521 | =begin original |
2333 | 3522 | |
2334 | ( | |
3523 | (P) The parser got confused when trying to parse a C<foreach> loop. | |
2335 | foreach. | |
2336 | 3524 | |
2337 | 3525 | =end original |
2338 | 3526 | |
2339 | ( | |
3527 | (P) パーサが C<foreach> ループをパースしようとしたときに混乱しました。 | |
2340 | 使用することができます。 | |
2341 | 3528 | |
2342 | =item Can't use global %s in " | |
3529 | =item Can't use global %s in "%s" | |
2343 | 3530 | |
2344 | 3531 | =begin original |
2345 | 3532 | |
2346 | 3533 | (F) You tried to declare a magical variable as a lexical variable. This |
2347 | 3534 | is not allowed, because the magic can be tied to only one location |
2348 | 3535 | (namely the global variable) and it would be incredibly confusing to |
2349 | 3536 | have variables in your program that looked like magical variables but |
2350 | 3537 | weren't. |
2351 | 3538 | |
2352 | 3539 | =end original |
2353 | 3540 | |
2354 | 3541 | (F) マジカル変数を、字句スコープ変数として宣言しようとしました。 |
2355 | これが許されていないのは、マジ | |
3542 | これが許されていないのは、マジカル変数は(グローバル変数という名前の) | |
2356 | | |
3543 | 1 か所だけに結び付けられているので、マジカル変数のように見えるけれども | |
2357 | そうでない | |
3544 | そうではない変数がプログラム中にあると、著しく混乱させるからです。 | |
2358 | 3545 | |
3546 | =item Can't use '%c' in a group with different byte-order in %s | |
3547 | ||
3548 | =begin original | |
3549 | ||
3550 | (F) You attempted to force a different byte-order on a type | |
3551 | that is already inside a group with a byte-order modifier. | |
3552 | For example you cannot force little-endianness on a type that | |
3553 | is inside a big-endian group. | |
3554 | ||
3555 | =end original | |
3556 | ||
3557 | (F) 既にバイト順修飾子が付けられているグループの内側で異なったバイト順を | |
3558 | 強制しようとしました。 | |
3559 | 例えば、ビッグエンディアングループの中にある型をリトルエンディアンに | |
3560 | 強制することはできません。 | |
3561 | ||
2359 | 3562 | =item Can't use "my %s" in sort comparison |
2360 | 3563 | |
2361 | 3564 | =begin original |
2362 | 3565 | |
2363 | 3566 | (F) The global variables $a and $b are reserved for sort comparisons. |
2364 | 3567 | You mentioned $a or $b in the same line as the <=> or cmp operator, |
2365 | 3568 | and the variable had earlier been declared as a lexical variable. |
2366 | 3569 | Either qualify the sort variable with the package name, or rename the |
2367 | 3570 | lexical variable. |
2368 | 3571 | |
2369 | 3572 | =end original |
2370 | 3573 | |
2371 | 3574 | (F) グローバル変数 $a と $b はソート比較のために予約されています。 |
2372 | 3575 | $a か $b を <=> か cmp 演算子と同じ行に記述しましたが、その変数は |
2373 | 3576 | その前にレキシカル変数として宣言されています。 |
2374 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を | |
3577 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を変えてください。 | |
2375 | 変更してください。 | |
2376 | 3578 | |
2377 | 3579 | =item Can't use %s ref as %s ref |
2378 | 3580 | |
2379 | 3581 | =begin original |
2380 | 3582 | |
2381 | 3583 | (F) You've mixed up your reference types. You have to dereference a |
2382 | 3584 | reference of the type needed. You can use the ref() function to |
2383 | 3585 | test the type of the reference, if need be. |
2384 | 3586 | |
2385 | 3587 | =end original |
2386 | 3588 | |
2387 | 3589 | (F) リファレンス型を混同しています。 |
2388 | 3590 | 必要な型のリファレンスを被参照しなければなりません。 |
2389 | 3591 | 必要ならば、リファレンスの型を調べるのに、ref() 関数を使うことができます。 |
2390 | 3592 | |
2391 | 3593 | =item Can't use string ("%s") as %s ref while "strict refs" in use |
2392 | 3594 | |
3595 | =item Can't use string ("%s"...) as %s ref while "strict refs" in use | |
3596 | ||
2393 | 3597 | =begin original |
2394 | 3598 | |
2395 | (F) | |
3599 | (F) You've told Perl to dereference a string, something which | |
2396 | ||
3600 | C<use strict> blocks to prevent it happening accidentally. See | |
3601 | L<perlref/"Symbolic references">. This can be triggered by an C<@> or C<$> | |
3602 | in a double-quoted string immediately before interpolating a variable, | |
3603 | for example in C<"user @$twitter_id">, which says to treat the contents | |
3604 | of C<$twitter_id> as an array reference; use a C<\> to have a literal C<@> | |
3605 | symbol followed by the contents of C<$twitter_id>: C<"user \@$twitter_id">. | |
2397 | 3606 | |
2398 | 3607 | =end original |
2399 | 3608 | |
2400 | (F) | |
3609 | (F) 文字列をデリファレンスするように Perl に指示しましたが、 | |
2401 | ||
3610 | C<use strict> ブロックがこれが偶然起きることを妨げました。 | |
2402 | L<perlref> を参照してください。 | |
3611 | L<perlref/"Symbolic references"> を参照してください。 | |
3612 | これは、ダブルクォート文字列の中の変数展開の直前の C<@> または C<$> で | |
3613 | 引き起こされます; 例えば C<"user @$twitter_id"> です; これは C<$twitter_id> の | |
3614 | 内容を配列リファレンスとして扱うように指示しています; | |
3615 | リテラルな C<@> の後に C<$twitter_id> の内容が引き続くようにするには | |
3616 | C<\> を使ってください: C<"user \@$twitter_id">。 | |
2403 | 3617 | |
2404 | 3618 | =item Can't use subscript on %s |
2405 | 3619 | |
2406 | 3620 | =begin original |
2407 | 3621 | |
2408 | 3622 | (F) The compiler tried to interpret a bracketed expression as a |
2409 | 3623 | subscript. But to the left of the brackets was an expression that |
2410 | didn't look like a | |
3624 | didn't look like a hash or array reference, or anything else subscriptable. | |
2411 | 3625 | |
2412 | 3626 | =end original |
2413 | 3627 | |
2414 | 3628 | (F) コンパイラが大かっこで囲われた式を添字として解釈しようとしました。 |
2415 | 3629 | しかし、大かっこの左側はハッシュか配列のリファレンスやその他の |
2416 | 3630 | 添字化できるもののようには見えない式です。 |
2417 | 3631 | |
2418 | 3632 | =item Can't use \%c to mean $%c in expression |
2419 | 3633 | |
2420 | 3634 | =begin original |
2421 | 3635 | |
2422 | 3636 | (W syntax) In an ordinary expression, backslash is a unary operator that |
2423 | 3637 | creates a reference to its argument. The use of backslash to indicate a |
2424 | 3638 | backreference to a matched substring is valid only as part of a regular |
2425 | 3639 | expression pattern. Trying to do this in ordinary Perl code produces a |
2426 | 3640 | value that prints out looking like SCALAR(0xdecaf). Use the $1 form |
2427 | 3641 | instead. |
2428 | 3642 | |
2429 | 3643 | =end original |
2430 | 3644 | |
2431 | 3645 | (W syntax) 通常の式では、バックスラッシュは引数へのリファレンスを作る |
2432 | 3646 | 単項演算子です。 |
2433 | 3647 | マッチした部分文字列への後方参照を示すためのバックスラッシュの使用は |
2434 | 3648 | 正規表現パターンの一部の場合にのみ有効です。 |
2435 | 3649 | 通常の Perl コードの中でこれをしようとすると、SCALAR(0xdecaf) のように |
2436 | 3650 | 表示される値を生成します。 |
2437 | 3651 | 代わりに $1 の形を使ってください。 |
2438 | 3652 | |
2439 | 3653 | =item Can't weaken a nonreference |
2440 | 3654 | |
2441 | 3655 | =begin original |
2442 | 3656 | |
2443 | 3657 | (F) You attempted to weaken something that was not a reference. Only |
2444 | 3658 | references can be weakened. |
2445 | 3659 | |
2446 | 3660 | =end original |
2447 | 3661 | |
2448 | 3662 | (F) リファレンスではない何かを弱めようとしました。 |
2449 | 3663 | リファレンスだけが弱めることができます。 |
2450 | 3664 | |
3665 | =item Can't "when" outside a topicalizer | |
3666 | ||
3667 | =begin original | |
3668 | ||
3669 | (F) You have used a when() block that is neither inside a C<foreach> | |
3670 | loop nor a C<given> block. (Note that this error is issued on exit | |
3671 | from the C<when> block, so you won't get the error if the match fails, | |
3672 | or if you use an explicit C<continue>.) | |
3673 | ||
3674 | =end original | |
3675 | ||
3676 | (F) C<foreach> ブロックや C<given> ブロックの内側以外で when() ブロックを | |
3677 | 使いました。 | |
3678 | (このエラーは C<when> ブロックから終了したときに発生するので、マッチングに | |
3679 | 失敗したときや、明示的な C<continue> を使った場合はこのエラーは | |
3680 | 発生しません。) | |
3681 | ||
2451 | 3682 | =item Can't x= to read-only value |
2452 | 3683 | |
2453 | 3684 | =begin original |
2454 | 3685 | |
2455 | 3686 | (F) You tried to repeat a constant value (often the undefined value) |
2456 | 3687 | with an assignment operator, which implies modifying the value itself. |
2457 | 3688 | Perhaps you need to copy the value to a temporary, and repeat that. |
2458 | 3689 | |
2459 | 3690 | =end original |
2460 | 3691 | |
2461 | 3692 | (F) 定数値 (未定義値であることが多い) を、自らを書き換えることを意味する、 |
2462 | 3693 | 代入演算子で繰り返しを行なおうとしました。 |
2463 | 3694 | テンポラリ変数に値を移してから、繰り返すと良いでしょう。 |
2464 | 3695 | |
2465 | =item | |
3696 | =item Character following "\c" must be printable ASCII | |
2466 | 3697 | |
2467 | 3698 | =begin original |
2468 | 3699 | |
2469 | ( | |
3700 | (F) In C<\cI<X>>, I<X> must be a printable (non-control) ASCII character. | |
2470 | 3701 | |
2471 | 3702 | =end original |
2472 | 3703 | |
2473 | ( | |
3704 | (F) C<\cI<X>> において、I<X> は表示可能な ASCII 文字でなければなりません。 | |
2474 | 3705 | |
2475 | | |
3706 | =begin original | |
2476 | 3707 | |
3708 | Note that ASCII characters that don't map to control characters are | |
3709 | discouraged, and will generate the warning (when enabled) | |
3710 | L</""\c%c" is more clearly written simply as "%s"">. | |
3711 | ||
3712 | =end original | |
3713 | ||
3714 | 制御文字にマッピングされない ASCII 文字は非推奨であることに注意してください; | |
3715 | そして (有効になっていれば) | |
3716 | L</""\c%c" is more clearly written simply as "%s""> 警告が出力されます。 | |
3717 | ||
3718 | =item Character following \%c must be '{' or a single-character Unicode property name in regex; marked by <-- HERE in m/%s/ | |
3719 | ||
2477 | 3720 | =begin original |
2478 | 3721 | |
2479 | ||
3722 | (F) (In the above the C<%c> is replaced by either C<p> or C<P>.) You | |
2480 | e | |
3723 | specified something that isn't a legal Unicode property name. Most | |
2481 | ||
3724 | Unicode properties are specified by C<\p{...}>. But if the name is a | |
3725 | single character one, the braces may be omitted. | |
2482 | 3726 | |
2483 | 3727 | =end original |
2484 | 3728 | |
2485 | ||
3729 | (F) (前述の C<%c> は C<p> か C<P> に置き換えられます。) | |
2486 | ||
3730 | 正当な Unicode 特性名ではない何かをしていしました。 | |
2487 | ||
3731 | ほとんどの Unicode 特性は C<\p{...}> として指定されます。 | |
3732 | しかし、名前が一文字の場合、中かっこは省略できます。 | |
2488 | 3733 | |
3734 | =item Character in 'C' format wrapped in pack | |
3735 | ||
3736 | =begin original | |
3737 | ||
3738 | (W pack) You said | |
3739 | ||
3740 | =end original | |
3741 | ||
3742 | (W pack) 以下のように書きましたが: | |
3743 | ||
3744 | pack("C", $x) | |
3745 | ||
3746 | =begin original | |
3747 | ||
3748 | where $x is either less than 0 or more than 255; the C<"C"> format is | |
3749 | only for encoding native operating system characters (ASCII, EBCDIC, | |
3750 | and so on) and not for Unicode characters, so Perl behaved as if you meant | |
3751 | ||
3752 | =end original | |
3753 | ||
3754 | $x は 0 より小さいか 255 より大きいです; C<"C"> フォーマットは | |
3755 | ネイティブ OS 文字 (ASCII, EBCDIC など) のエンコーディングだけに | |
3756 | 対応していて、Unicode 文字は対応していません; | |
3757 | それで、Perl は以下のように意味しているかのように振舞います: | |
3758 | ||
3759 | pack("C", $x & 255) | |
3760 | ||
3761 | =begin original | |
3762 | ||
3763 | If you actually want to pack Unicode codepoints, use the C<"U"> format | |
3764 | instead. | |
3765 | ||
3766 | =end original | |
3767 | ||
3768 | Unicode コードポイントを pack したい場合は、代わりに C<"U"> フォーマットを | |
3769 | 使ってください。 | |
3770 | ||
3771 | =item Character in 'c' format wrapped in pack | |
3772 | ||
3773 | =begin original | |
3774 | ||
3775 | (W pack) You said | |
3776 | ||
3777 | =end original | |
3778 | ||
3779 | (W pack) 以下のように書きましたが: | |
3780 | ||
3781 | pack("c", $x) | |
3782 | ||
3783 | =begin original | |
3784 | ||
3785 | where $x is either less than -128 or more than 127; the C<"c"> format | |
3786 | is only for encoding native operating system characters (ASCII, EBCDIC, | |
3787 | and so on) and not for Unicode characters, so Perl behaved as if you meant | |
3788 | ||
3789 | =end original | |
3790 | ||
3791 | $x は -128 より小さいか 127 より大きいです; C<"c"> フォーマットは | |
3792 | ネイティブ OS 文字 (ASCII, EBCDIC など) のエンコーディングだけに | |
3793 | 対応していて、Unicode 文字は対応していません; | |
3794 | それで、Perl は以下のように意味しているかのように振舞います: | |
3795 | ||
3796 | pack("c", $x & 255); | |
3797 | ||
3798 | =begin original | |
3799 | ||
3800 | If you actually want to pack Unicode codepoints, use the C<"U"> format | |
3801 | instead. | |
3802 | ||
3803 | =end original | |
3804 | ||
3805 | Unicode コードポイントを pack したい場合は、代わりに C<"U"> フォーマットを | |
3806 | 使ってください。 | |
3807 | ||
3808 | =item Character in '%c' format wrapped in unpack | |
3809 | ||
3810 | =begin original | |
3811 | ||
3812 | (W unpack) You tried something like | |
3813 | ||
3814 | =end original | |
3815 | ||
3816 | (W unpack) 以下のようなことをしましたが: | |
3817 | ||
3818 | unpack("H", "\x{2a1}") | |
3819 | ||
3820 | =begin original | |
3821 | ||
3822 | where the format expects to process a byte (a character with a value | |
3823 | below 256), but a higher value was provided instead. Perl uses the | |
3824 | value modulus 256 instead, as if you had provided: | |
3825 | ||
3826 | =end original | |
3827 | ||
3828 | ここでフォーマットはバイト(値が 256 より小さい文字)を想定していますが、 | |
3829 | 文字の中により大きな値のものがあります。 | |
3830 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の | |
3831 | 値として使います: | |
3832 | ||
3833 | unpack("H", "\x{a1}") | |
3834 | ||
3835 | =item Character in 'W' format wrapped in pack | |
3836 | ||
3837 | =begin original | |
3838 | ||
3839 | (W pack) You said | |
3840 | ||
3841 | =end original | |
3842 | ||
3843 | (W pack) 以下のように書きましたが: | |
3844 | ||
3845 | pack("U0W", $x) | |
3846 | ||
3847 | =begin original | |
3848 | ||
3849 | where $x is either less than 0 or more than 255. However, C<U0>-mode | |
3850 | expects all values to fall in the interval [0, 255], so Perl behaved | |
3851 | as if you meant: | |
3852 | ||
3853 | =end original | |
3854 | ||
3855 | $x が 0 より小さいか 255 より大きいです。 | |
3856 | しかし、C<U0>-モードは全ての値が [0, 255] の範囲にあることを想定してるので、 | |
3857 | Perl は以下のように振る舞います: | |
3858 | ||
3859 | pack("U0W", $x & 255) | |
3860 | ||
3861 | =item Character(s) in '%c' format wrapped in pack | |
3862 | ||
3863 | =begin original | |
3864 | ||
3865 | (W pack) You tried something like | |
3866 | ||
3867 | =end original | |
3868 | ||
3869 | (W pack) 以下のようなことをしましたが: | |
3870 | ||
3871 | pack("u", "\x{1f3}b") | |
3872 | ||
3873 | =begin original | |
3874 | ||
3875 | where the format expects to process a sequence of bytes (character with a | |
3876 | value below 256), but some of the characters had a higher value. Perl | |
3877 | uses the character values modulus 256 instead, as if you had provided: | |
3878 | ||
3879 | =end original | |
3880 | ||
3881 | ここでフォーマットはバイト(値が 256 より小さい文字)列を想定していますが、 | |
3882 | 文字の中により大きな値のものがあります。 | |
3883 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の | |
3884 | 値として使います: | |
3885 | ||
3886 | pack("u", "\x{f3}b") | |
3887 | ||
3888 | =item Character(s) in '%c' format wrapped in unpack | |
3889 | ||
3890 | =begin original | |
3891 | ||
3892 | (W unpack) You tried something like | |
3893 | ||
3894 | =end original | |
3895 | ||
3896 | (W unpack) 以下のようなことをしましたが: | |
3897 | ||
3898 | unpack("s", "\x{1f3}b") | |
3899 | ||
3900 | =begin original | |
3901 | ||
3902 | where the format expects to process a sequence of bytes (character with a | |
3903 | value below 256), but some of the characters had a higher value. Perl | |
3904 | uses the character values modulus 256 instead, as if you had provided: | |
3905 | ||
3906 | =end original | |
3907 | ||
3908 | ここでフォーマットはバイト(値が 256 より小さい文字)列を想定していますが、 | |
3909 | 文字の中により大きな値のものがあります。 | |
3910 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の | |
3911 | 値として使います: | |
3912 | ||
3913 | unpack("s", "\x{f3}b") | |
3914 | ||
3915 | =item charnames alias definitions may not contain a sequence of multiple | |
3916 | spaces; marked by S<<-- HERE> in %s | |
3917 | ||
3918 | =begin original | |
3919 | ||
3920 | (F) You defined a character name which had multiple space characters | |
3921 | in a row. Change them to single spaces. Usually these names are | |
3922 | defined in the C<:alias> import argument to C<use charnames>, but they | |
3923 | could be defined by a translator installed into C<$^H{charnames}>. See | |
3924 | L<charnames/CUSTOM ALIASES>. | |
3925 | ||
3926 | =end original | |
3927 | ||
3928 | (F) 連続して複数のスペース文字を持つ文字名を定義しました。 | |
3929 | 単一のスペースに変更してください。 | |
3930 | 普通はこれらの名前は C<use charnames> の C<:alias> インポート引数で | |
3931 | 定義されますが、C<$^H{charnames}> にインストールされた変換器で | |
3932 | 定義されているかも知れません。 | |
3933 | L<charnames/CUSTOM ALIASES> を参照してください。 | |
3934 | ||
3935 | =item charnames alias definitions may not contain trailing white-space; | |
3936 | marked by S<<-- HERE> in %s | |
3937 | ||
3938 | =begin original | |
3939 | ||
3940 | (F) You defined a character name which ended in a space | |
3941 | character. Remove the trailing space(s). Usually these names are | |
3942 | defined in the C<:alias> import argument to C<use charnames>, but they | |
3943 | could be defined by a translator installed into C<$^H{charnames}>. | |
3944 | See L<charnames/CUSTOM ALIASES>. | |
3945 | ||
3946 | =end original | |
3947 | ||
3948 | (D) スペース文字で終わる文字名を定義しました。 | |
3949 | 末尾のスペースを取り除いてください。 | |
3950 | 普通はこれらの名前は C<use charnames> の C<:alias> インポート引数で | |
3951 | 定義されますが、C<$^H{charnames}> にインストールされた変換器で | |
3952 | 定義されているかも知れません。 | |
3953 | L<charnames/CUSTOM ALIASES> を参照してください。 | |
3954 | ||
3955 | =item chdir() on unopened filehandle %s | |
3956 | ||
3957 | =begin original | |
3958 | ||
3959 | (W unopened) You tried chdir() on a filehandle that was never opened. | |
3960 | ||
3961 | =end original | |
3962 | ||
3963 | (W unopened) 開いていないファイルハンドルに対して chdir() しようとしました。 | |
3964 | ||
3965 | =item "\c%c" is more clearly written simply as "%s" | |
3966 | ||
3967 | =begin original | |
3968 | ||
3969 | (W syntax) The C<\cI<X>> construct is intended to be a way to specify | |
3970 | non-printable characters. You used it for a printable one, which | |
3971 | is better written as simply itself, perhaps preceded by a backslash | |
3972 | for non-word characters. Doing it the way you did is not portable | |
3973 | between ASCII and EBCDIC platforms. | |
3974 | ||
3975 | =end original | |
3976 | ||
3977 | (W syntax) C<\cI<X>> 構文は非表示文字を指定する方法を意図しています。 | |
3978 | これを表示文字に使いました; おそらく(おそらく非単語文字のために | |
3979 | 逆スラッシュを前に付けて)単にその文字自身を書くほうがよいです。 | |
3980 | この方法ですると ASCII と EBCDIC のプラットフォーム間で移植性がありません。 | |
3981 | ||
3982 | =item Cloning substitution context is unimplemented | |
3983 | ||
3984 | =begin original | |
3985 | ||
3986 | (F) Creating a new thread inside the C<s///> operator is not supported. | |
3987 | ||
3988 | =end original | |
3989 | ||
3990 | (F) C<s///> 演算子の中での新しいスレッドの作成は非対応です。 | |
3991 | ||
3992 | =item closedir() attempted on invalid dirhandle %s | |
3993 | ||
3994 | =begin original | |
3995 | ||
3996 | (W io) The dirhandle you tried to close is either closed or not really | |
3997 | a dirhandle. Check your control flow. | |
3998 | ||
3999 | =end original | |
4000 | ||
4001 | (W io) 閉じようとしたディレクトリハンドルは既に閉じられているか、実際には | |
4002 | ディレクトリハンドルではありません。 | |
4003 | 制御フローをチェックしてください。 | |
4004 | ||
2489 | 4005 | =item close() on unopened filehandle %s |
2490 | 4006 | |
2491 | 4007 | =begin original |
2492 | 4008 | |
2493 | 4009 | (W unopened) You tried to close a filehandle that was never opened. |
2494 | 4010 | |
2495 | 4011 | =end original |
2496 | 4012 | |
2497 | 4013 | (W unopened) オープンされていないファイルハンドルをクローズしようとしました。 |
2498 | 4014 | |
4015 | =item Closure prototype called | |
4016 | ||
4017 | =begin original | |
4018 | ||
4019 | (F) If a closure has attributes, the subroutine passed to an attribute | |
4020 | handler is the prototype that is cloned when a new closure is created. | |
4021 | This subroutine cannot be called. | |
4022 | ||
4023 | =end original | |
4024 | ||
4025 | (F) クロージャに属性があると、属性ハンドラに渡されるサブルーチンは、新しい | |
4026 | クロージャが作成されたときにクローン化されたプロトタイプです。 | |
4027 | このサブルーチンは呼び出すことができません。 | |
4028 | ||
4029 | =item \C no longer supported in regex; marked by S<<-- HERE> in m/%s/ | |
4030 | ||
4031 | =begin original | |
4032 | ||
4033 | (F) The \C character class used to allow a match of single byte | |
4034 | within a multi-byte utf-8 character, but was removed in v5.24 as | |
4035 | it broke encapsulation and its implementation was extremely buggy. | |
4036 | If you really need to process the individual bytes, you probably | |
4037 | want to convert your string to one where each underlying byte is | |
4038 | stored as a character, with utf8::encode(). | |
4039 | ||
4040 | =end original | |
4041 | ||
4042 | (F) \C 文字クラスは、複数バイトの UTF8 文字の単一のバイトに | |
4043 | マッチングできるようにしていましたが、 | |
4044 | カプセル化を壊し、その実装が極めてバグっぽいので、v5.24 で削除されました。 | |
4045 | 本当に個々のバイトを処理する必要があるなら、 | |
4046 | おそらくその文字列を、utf8::encode() を使って、 | |
4047 | 元となっているバイトそれぞれを文字として保持する文字列に変換した方が | |
4048 | 良いでしょう。 | |
4049 | ||
4050 | =item Code missing after '/' | |
4051 | ||
4052 | =begin original | |
4053 | ||
4054 | (F) You had a (sub-)template that ends with a '/'. There must be | |
4055 | another template code following the slash. See L<perlfunc/pack>. | |
4056 | ||
4057 | =end original | |
4058 | ||
4059 | (F) テンプレートが '/' で終わっています。 | |
4060 | スラッシュの後には他のテンプレートコードが必須です。 | |
4061 | L<perlfunc/pack> を参照してください。 | |
4062 | ||
4063 | =item Code point 0x%X is not Unicode, and not portable | |
4064 | ||
4065 | =begin original | |
4066 | ||
4067 | (S non_unicode) You had a code point that has never been in any | |
4068 | standard, so it is likely that languages other than Perl will NOT | |
4069 | understand it. At one time, it was legal in some standards to have code | |
4070 | points up to 0x7FFF_FFFF, but not higher, and this code point is higher. | |
4071 | ||
4072 | =end original | |
4073 | ||
4074 | (S non_unicode) どのような標準でもない符号位置を使いました; 従って | |
4075 | これはおそらく Perl 以外の言語では理解できないでしょう。 | |
4076 | 一時期、一部の標準では 0x7FFF_FFFF までの符号位置は正当でしたが、 | |
4077 | それ以上はそうではありません; そしてこの符号位置はそれ以上です。 | |
4078 | ||
4079 | =begin original | |
4080 | ||
4081 | Acceptance of these code points is a Perl extension, and you should | |
4082 | expect that nothing other than Perl can handle them; Perl itself on | |
4083 | EBCDIC platforms before v5.24 does not handle them. | |
4084 | ||
4085 | =end original | |
4086 | ||
4087 | このような符号位置を受け付けるのは Perl の拡張で、Perl 以外が | |
4088 | これらを扱えるかについて何も想定するべきではありません; | |
4089 | v5.24 以前の EBCDIC プラットフォームでは Perl 自身もこれらを扱えません。 | |
4090 | ||
4091 | =begin original | |
4092 | ||
4093 | Code points above 0xFFFF_FFFF require larger than a 32 bit word. | |
4094 | ||
4095 | =end original | |
4096 | ||
4097 | 0xFFFF_FFFF より上の符号位置は 32 ビットワードより大きいものを要求します。 | |
4098 | ||
4099 | =begin original | |
4100 | ||
4101 | Perl also makes no guarantees that the representation of these code | |
4102 | points won't change at some point in the future, say when machines | |
4103 | become available that have larger than a 64-bit word. At that time, | |
4104 | files written by an older Perl would require conversion before being | |
4105 | readable by a newer Perl. | |
4106 | ||
4107 | =end original | |
4108 | ||
4109 | Perl はまた、将来のある時点、例えばマシンが 64 ビットワード以上を | |
4110 | 利用可能になったときに、これらの符号位置の表現が変更されないことについて | |
4111 | 保証しません。 | |
4112 | この時点で、より古い Perl で書かれたファイルは、より新しい Perl で | |
4113 | 読み込めるようにする前に変換が必要です。 | |
4114 | ||
4115 | =item Code point 0x%X is not Unicode, may not be portable | |
4116 | ||
4117 | =begin original | |
4118 | ||
4119 | (S non_unicode) You had a code point above the Unicode maximum | |
4120 | of U+10FFFF. | |
4121 | ||
4122 | =end original | |
4123 | ||
4124 | (S non_unicode) Unicode の最大である U+10FFFF を超えた符号位置です。 | |
4125 | ||
4126 | =begin original | |
4127 | ||
4128 | Perl allows strings to contain a superset of Unicode code points, but | |
4129 | these may not be accepted by other languages/systems. Further, even if | |
4130 | these languages/systems accept these large code points, they may have | |
4131 | chosen a different representation for them than the UTF-8-like one that | |
4132 | Perl has, which would mean files are not exchangeable between them and | |
4133 | Perl. | |
4134 | ||
4135 | =end original | |
4136 | ||
4137 | Perl は Unicode 符号位置の上位集合を含む文字列を受け入れますが、 | |
4138 | これらは他の言語/システムは受け入れないかもしれません。 | |
4139 | さらに、たとえこれらの言語/システムがこれらの大きな符号位置を | |
4140 | 受け入れたとしても、それらは Perl の UTF-8 風のものと | |
4141 | ことなる表現を選ぶかもしれず、その場合それらと Perl の間でファイルが | |
4142 | 交換できないことを意味します。 | |
4143 | ||
4144 | =begin original | |
4145 | ||
4146 | On EBCDIC platforms, code points above 0x3FFF_FFFF have a different | |
4147 | representation in Perl v5.24 than before, so any file containing these | |
4148 | that was written before that version will require conversion before | |
4149 | being readable by a later Perl. | |
4150 | ||
4151 | =end original | |
4152 | ||
4153 | EBCDIC プラットフォームでは、Perl 5.24 では 0x3FFF_FFFF より上の符号位置は | |
4154 | 以前と異なった表現となっているので、このバージョンより前に書かれた | |
4155 | これらを含むファイルは、それ以降の Perl で読み込み可能にする前に | |
4156 | 変換が必要です。 | |
4157 | ||
2499 | 4158 | =item %s: Command not found |
2500 | 4159 | |
2501 | 4160 | =begin original |
2502 | 4161 | |
2503 | (A) You've accidentally run your script through B<csh> | |
4162 | (A) You've accidentally run your script through B<csh> or another shell | |
2504 | Check the #! line, or manually feed your script into | |
4163 | instead of Perl. Check the #! line, or manually feed your script into | |
4164 | Perl yourself. The #! line at the top of your file could look like | |
2505 | 4165 | |
2506 | 4166 | =end original |
2507 | 4167 | |
2508 | (A) スクリプトを perl ではなく B<csh> | |
4168 | (A) スクリプトを perl ではなく B<csh> またはその他のシェルで | |
4169 | 実行しようとしました。 | |
2509 | 4170 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
4171 | ファイルの先頭の #! 行は以下のようにします | |
2510 | 4172 | |
4173 | #!/usr/bin/perl | |
4174 | ||
4175 | =item %s: command not found | |
4176 | ||
4177 | =begin original | |
4178 | ||
4179 | (A) You've accidentally run your script through B<bash> or another shell | |
4180 | instead of Perl. Check the #! line, or manually feed your script into | |
4181 | Perl yourself. The #! line at the top of your file could look like | |
4182 | ||
4183 | =end original | |
4184 | ||
4185 | (A) 誤ってスクリプトを Perl ではなく B<bash> やその他のシェルに渡しました。 | |
4186 | #! 行を確認するか、スクリプトを手動で Perl 自身に渡してください。 | |
4187 | ファイルの先頭の #! 行は次のような形です: | |
4188 | ||
4189 | #!/usr/bin/perl | |
4190 | ||
4191 | =item %s: command not found: %s | |
4192 | ||
4193 | =begin original | |
4194 | ||
4195 | (A) You've accidentally run your script through B<zsh> or another shell | |
4196 | instead of Perl. Check the #! line, or manually feed your script into | |
4197 | Perl yourself. The #! line at the top of your file could look like | |
4198 | ||
4199 | =end original | |
4200 | ||
4201 | (A) 誤ってスクリプトを Perl ではなく B<zsh> やその他のシェルに渡しました。 | |
4202 | #! 行を確認するか、スクリプトを手動で Perl 自身に渡してください。 | |
4203 | ファイルの先頭の #! 行は次のような形です: | |
4204 | ||
4205 | #!/usr/bin/perl | |
4206 | ||
2511 | 4207 | =item Compilation failed in require |
2512 | 4208 | |
2513 | 4209 | =begin original |
2514 | 4210 | |
2515 | 4211 | (F) Perl could not compile a file specified in a C<require> statement. |
2516 | 4212 | Perl uses this generic message when none of the errors that it |
2517 | 4213 | encountered were severe enough to halt compilation immediately. |
2518 | 4214 | |
2519 | 4215 | =end original |
2520 | 4216 | |
2521 | 4217 | (F) Perl は C<require> 文で指定されたファイルをコンパイルできませんでした。 |
2522 | 4218 | Perl は、コンパイルを直ちに停止させるほど厳しいエラーに遭遇しなかった |
2523 | 4219 | ときに、この一般的なメッセージを使います。 |
2524 | 4220 | |
2525 | 4221 | =item Complex regular subexpression recursion limit (%d) exceeded |
2526 | 4222 | |
2527 | 4223 | =begin original |
2528 | 4224 | |
2529 | 4225 | (W regexp) The regular expression engine uses recursion in complex |
2530 | 4226 | situations where back-tracking is required. Recursion depth is limited |
2531 | 4227 | to 32766, or perhaps less in architectures where the stack cannot grow |
2532 | 4228 | arbitrarily. ("Simple" and "medium" situations are handled without |
2533 | 4229 | recursion and are not subject to a limit.) Try shortening the string |
2534 | 4230 | under examination; looping in Perl code (e.g. with C<while>) rather than |
2535 | 4231 | in the regular expression engine; or rewriting the regular expression so |
2536 | 4232 | that it is simpler or backtracks less. (See L<perlfaq2> for information |
2537 | 4233 | on I<Mastering Regular Expressions>.) |
2538 | 4234 | |
2539 | 4235 | =end original |
2540 | 4236 | |
2541 | 4237 | (W regexp) 正規表現エンジンはバックトラックが要求される複雑な状況では |
2542 | 4238 | 再帰を使用します。 |
2543 | 4239 | 再帰の深さは 32766、またはスタックを任意に増やせないアーキテクチャでは |
2544 | 4240 | おそらくもっと小さい値に制限されています。 |
2545 | 4241 | (「単純な」または「中くらいの」状況では再帰なしで扱われるので、制限は |
2546 | 4242 | ありません。) |
2547 | 4243 | 調べる文字列を短くしてみてください; 正規表現エンジンではなく |
2548 | 4244 | (C<while> などの) Perl コードを使ってループするか、 |
2549 | 4245 | あるいは正規表現をより単純にしたり、バックトラックが少なくなるように |
2550 | 4246 | 書き換えてください。 |
2551 | 4247 | (I<Mastering Regular Expressions> の情報については L<perlfaq2> を |
2552 | 4248 | 参照してください。) |
2553 | 4249 | |
2554 | 4250 | =item connect() on closed socket %s |
2555 | 4251 | |
2556 | 4252 | =begin original |
2557 | 4253 | |
2558 | 4254 | (W closed) You tried to do a connect on a closed socket. Did you forget |
2559 | 4255 | to check the return value of your socket() call? See |
2560 | 4256 | L<perlfunc/connect>. |
2561 | 4257 | |
2562 | 4258 | =end original |
2563 | 4259 | |
2564 | 4260 | (W closed) クローズされたソケットに connent を行なおうとしました。 |
2565 | socket() の呼び出し時に、返却値のチェックを忘れた | |
4261 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 | |
2566 | 4262 | L<perlfunc/connect> を参照してください。 |
2567 | 4263 | |
2568 | =item Constant(%s) | |
4264 | =item Constant(%s): Call to &{$^H{%s}} did not return a defined value | |
2569 | 4265 | |
2570 | 4266 | =begin original |
2571 | 4267 | |
2572 | (F) The | |
4268 | (F) The subroutine registered to handle constant overloading | |
2573 | ||
4269 | (see L<overload>) or a custom charnames handler (see | |
2574 | ||
4270 | L<charnames/CUSTOM TRANSLATORS>) returned an undefined value. | |
2575 | corresponding C<overload> or C<charnames> pragma? See L<charnames> and | |
2576 | L<overload>. | |
2577 | 4271 | |
2578 | 4272 | =end original |
2579 | 4273 | |
2580 | (F) | |
4274 | (F) 定数オーバーロード (L<overload> 参照) を扱うために登録された | |
2581 | ||
4275 | サブルーチンや、カスタム文字名ハンドラ | |
2582 | ||
4276 | (L<charnames/CUSTOM TRANSLATORS> 参照) が未定義値を返しました。 | |
2583 | おそらく対応する C<overload> か C<charnames> のプラグマの読み込みを | |
2584 | 忘れたのでは? | |
2585 | L<charnames> と L<overload> を参照してください。 | |
2586 | 4277 | |
4278 | =item Constant(%s): $^H{%s} is not defined | |
4279 | ||
4280 | =begin original | |
4281 | ||
4282 | (F) The parser found inconsistencies while attempting to define an | |
4283 | overloaded constant. Perhaps you forgot to load the corresponding | |
4284 | L<overload> pragma? | |
4285 | ||
4286 | =end original | |
4287 | ||
4288 | (F) パーサは、オーバーロード定数を定義しようとしたときに矛盾を発見しました。 | |
4289 | おそらく対応する L<overload> プラグマを読み込むのを忘れたのでは? | |
4290 | ||
2587 | 4291 | =item Constant is not %s reference |
2588 | 4292 | |
2589 | 4293 | =begin original |
2590 | 4294 | |
2591 | 4295 | (F) A constant value (perhaps declared using the C<use constant> pragma) |
2592 | 4296 | is being dereferenced, but it amounts to the wrong type of reference. |
2593 | The message indicates the type of reference that was expected. This | |
4297 | The message indicates the type of reference that was expected. This | |
2594 | 4298 | usually indicates a syntax error in dereferencing the constant value. |
2595 | 4299 | See L<perlsub/"Constant Functions"> and L<constant>. |
2596 | 4300 | |
2597 | 4301 | =end original |
2598 | 4302 | |
2599 | 4303 | (F) (おそらく C<use constant> プラグマを使って宣言した) 定数値が |
2600 | 4304 | デリファレンスされましたが、間違った型のリファレンスになりました。 |
2601 | 4305 | このメッセージは想定されたリファレンスの型を示しています。 |
2602 | 4306 | これは普通定数値をデリファレンスするときの文法エラーを示しています。 |
2603 | 4307 | L<perlsub/"Constant Functions"> と L<constant> を参照してください。 |
2604 | 4308 | |
4309 | =item Constants from lexical variables potentially modified elsewhere are | |
4310 | deprecated. This will not be allowed in Perl 5.32 | |
4311 | ||
4312 | =begin original | |
4313 | ||
4314 | (D deprecated) You wrote something like | |
4315 | ||
4316 | =end original | |
4317 | ||
4318 | (D deprecated) 次のようなものを書きましたが | |
4319 | ||
4320 | my $var; | |
4321 | $sub = sub () { $var }; | |
4322 | ||
4323 | =begin original | |
4324 | ||
4325 | but $var is referenced elsewhere and could be modified after the C<sub> | |
4326 | expression is evaluated. Either it is explicitly modified elsewhere | |
4327 | (C<$var = 3>) or it is passed to a subroutine or to an operator like | |
4328 | C<printf> or C<map>, which may or may not modify the variable. | |
4329 | ||
4330 | =end original | |
4331 | ||
4332 | $var はどこか別の場所へのリファレンスで、 | |
4333 | C<sub> 式が評価された後に変更されるかもしれません。 | |
4334 | どこかで明示的に変更されたり、(C<$var = 3>) 、 | |
4335 | 変数を変更するかどうかわからない、 | |
4336 | C<printf> や C<map> のようなサブルーチンや演算子に渡されたりします。 | |
4337 | ||
4338 | =begin original | |
4339 | ||
4340 | Traditionally, Perl has captured the value of the variable at that | |
4341 | point and turned the subroutine into a constant eligible for inlining. | |
4342 | In those cases where the variable can be modified elsewhere, this | |
4343 | breaks the behavior of closures, in which the subroutine captures | |
4344 | the variable itself, rather than its value, so future changes to the | |
4345 | variable are reflected in the subroutine's return value. | |
4346 | ||
4347 | =end original | |
4348 | ||
4349 | 伝統的に、Perl はこの時点で変数の値を捕捉して、 | |
4350 | サブルーチンをインライン化可能な定数に変換します。 | |
4351 | 変数が別の場所で変更可能な場合、 | |
4352 | これは、サブルーチンが変数の値ではなく変数自体を捕捉しているので | |
4353 | クロージャの振る舞いを壊します。 | |
4354 | 従って、将来この変数を変更すると、サブルーチンの返り値に反映されます。 | |
4355 | ||
4356 | =begin original | |
4357 | ||
4358 | This usage is deprecated, and will no longer be allowed in Perl 5.32, | |
4359 | making it possible to change the behavior in the future. | |
4360 | ||
4361 | =end original | |
4362 | ||
4363 | この使用法は廃止予定ですで、Perl 5.32 でもはや許されなくなります; | |
4364 | これにより将来振る舞いを換えることが可能になります。 | |
4365 | ||
4366 | =begin original | |
4367 | ||
4368 | If you intended for the subroutine to be eligible for inlining, then | |
4369 | make sure the variable is not referenced elsewhere, possibly by | |
4370 | copying it: | |
4371 | ||
4372 | =end original | |
4373 | ||
4374 | サブルーチンをインライン化可能にするのが目的なら、この変数を、 | |
4375 | おそらくコピーすることで、他のどこからも参照されないようにしてください: | |
4376 | ||
4377 | my $var2 = $var; | |
4378 | $sub = sub () { $var2 }; | |
4379 | ||
4380 | =begin original | |
4381 | ||
4382 | If you do want this subroutine to be a closure that reflects future | |
4383 | changes to the variable that it closes over, add an explicit C<return>: | |
4384 | ||
4385 | =end original | |
4386 | ||
4387 | このサブルーチンを、これを閉じた後の将来の変数の変更を反映させる | |
4388 | クロージャにしたいなら、明示的な C<return> を追加してください: | |
4389 | ||
4390 | my $var; | |
4391 | $sub = sub () { return $var }; | |
4392 | ||
2605 | 4393 | =item Constant subroutine %s redefined |
2606 | 4394 | |
2607 | 4395 | =begin original |
2608 | 4396 | |
2609 | ( | |
4397 | (W redefine)(S) You redefined a subroutine which had previously | |
2610 | eligible for inlining. See L<perlsub/"Constant Functions"> | |
4398 | been eligible for inlining. See L<perlsub/"Constant Functions"> | |
2611 | commentary and workarounds. | |
4399 | for commentary and workarounds. | |
2612 | 4400 | |
2613 | 4401 | =end original |
2614 | 4402 | |
2615 | ( | |
4403 | (W redefine)(S) 以前にインライン化できる形であったサブルーチンを | |
2616 | 4404 | 再定義しました。 |
2617 | 4405 | コメントと回避策については L<perlsub/"Constant Functions"> を |
2618 | 4406 | 参照してください。 |
2619 | 4407 | |
2620 | 4408 | =item Constant subroutine %s undefined |
2621 | 4409 | |
2622 | 4410 | =begin original |
2623 | 4411 | |
2624 | 4412 | (W misc) You undefined a subroutine which had previously been eligible |
2625 | 4413 | for inlining. See L<perlsub/"Constant Functions"> for commentary and |
2626 | 4414 | workarounds. |
2627 | 4415 | |
2628 | 4416 | =end original |
2629 | 4417 | |
2630 | 4418 | (W misc)以前にインライン化できる形であったサブルーチンを |
2631 | 4419 | 未定義化しました。 |
2632 | 4420 | コメントと回避策については L<perlsub/"Constant Functions"> を |
2633 | 4421 | 参照してください。 |
2634 | 4422 | |
4423 | =item Constant(%s) unknown | |
4424 | ||
4425 | =begin original | |
4426 | ||
4427 | (F) The parser found inconsistencies either while attempting | |
4428 | to define an overloaded constant, or when trying to find the | |
4429 | character name specified in the C<\N{...}> escape. Perhaps you | |
4430 | forgot to load the corresponding L<overload> pragma? | |
4431 | ||
4432 | =end original | |
4433 | ||
4434 | (F) パーサは、オーバーロードされた定数を定義しようとしたときか、 | |
4435 | C<\N{...}> エスケープで指定された文字名の検索中に矛盾を | |
4436 | 発見しました。 | |
4437 | おそらく対応する L<overload> プラグマを読み込むのを忘れたのでは? | |
4438 | ||
4439 | =item :const is experimental | |
4440 | ||
4441 | =begin original | |
4442 | ||
4443 | (S experimental::const_attr) The "const" attribute is experimental. | |
4444 | If you want to use the feature, disable the warning with C<no warnings | |
4445 | 'experimental::const_attr'>, but know that in doing so you are taking | |
4446 | the risk that your code may break in a future Perl version. | |
4447 | ||
4448 | =end original | |
4449 | ||
4450 | (S experimental::const_attr) "const" 属性は実験的です。 | |
4451 | この機能を使いたい場合、 | |
4452 | C<no warnings 'experimental::const_attr'> で警告を無効にしてください; | |
4453 | しかし、そうすることであなたのコードが将来の Perl のバージョンで | |
4454 | 壊れるリスクを取ることになります。 | |
4455 | ||
4456 | =item :const is not permitted on named subroutines | |
4457 | ||
4458 | =begin original | |
4459 | ||
4460 | (F) The "const" attribute causes an anonymous subroutine to be run and | |
4461 | its value captured at the time that it is cloned. Named subroutines are | |
4462 | not cloned like this, so the attribute does not make sense on them. | |
4463 | ||
4464 | =end original | |
4465 | ||
4466 | (F) The "const" 属性は、クローンされたときに値を捕捉された | |
4467 | 無名サブルーチンになります。 | |
4468 | 名前付きサブルーチンはこのようにクローンされないので、 | |
4469 | 属性はこれらに関して意味を持ちません。 | |
4470 | ||
2635 | 4471 | =item Copy method did not return a reference |
2636 | 4472 | |
2637 | 4473 | =begin original |
2638 | 4474 | |
2639 | (F) The method which overloads "=" is buggy. See | |
4475 | (F) The method which overloads "=" is buggy. See | |
2640 | 4476 | L<overload/Copy Constructor>. |
2641 | 4477 | |
2642 | 4478 | =end original |
2643 | 4479 | |
2644 | 4480 | (F) "=" をオーバーロードしたメソッドはバグっています。 |
2645 | 4481 | L<overload/Copy Constructor> を参照してください。 |
2646 | 4482 | |
4483 | =item &CORE::%s cannot be called directly | |
4484 | ||
4485 | =begin original | |
4486 | ||
4487 | (F) You tried to call a subroutine in the C<CORE::> namespace | |
4488 | with C<&foo> syntax or through a reference. Some subroutines | |
4489 | in this package cannot yet be called that way, but must be | |
4490 | called as barewords. Something like this will work: | |
4491 | ||
4492 | =end original | |
4493 | ||
4494 | (F) C<CORE::> 名前空間のサブルーチンを C<&foo> 文法またはリファレンス経由で | |
4495 | 呼び出そうとしました。 | |
4496 | このパッケージの一部のサブルーチンはまだこの方法では呼び出せず、裸の単語で | |
4497 | 呼び出さなければなりません。 | |
4498 | 以下のようなものは動作します: | |
4499 | ||
4500 | BEGIN { *shove = \&CORE::push; } | |
4501 | shove @array, 1,2,3; # pushes on to @array | |
4502 | ||
2647 | 4503 | =item CORE::%s is not a keyword |
2648 | 4504 | |
2649 | 4505 | =begin original |
2650 | 4506 | |
2651 | 4507 | (F) The CORE:: namespace is reserved for Perl keywords. |
2652 | 4508 | |
2653 | 4509 | =end original |
2654 | 4510 | |
2655 | 4511 | (F) CORE:: 名前空間は Perl キーワードとして予約されています。 |
2656 | 4512 | |
4513 | =item Corrupted regexp opcode %d > %d | |
4514 | ||
4515 | =begin original | |
4516 | ||
4517 | (P) This is either an error in Perl, or, if you're using | |
4518 | one, your L<custom regular expression engine|perlreapi>. If not the | |
4519 | latter, report the problem through the L<perlbug> utility. | |
4520 | ||
4521 | =end original | |
4522 | ||
4523 | (P) これは Perl か、あるいは、使っているなら | |
4524 | L<カスタム正規表現エンジン|perlreapi> のエラーです。 | |
4525 | 後者でなければ、L<perlbug> ユーティリティを使って問題を報告してください。 | |
4526 | ||
2657 | 4527 | =item corrupted regexp pointers |
2658 | 4528 | |
2659 | 4529 | =begin original |
2660 | 4530 | |
2661 | 4531 | (P) The regular expression engine got confused by what the regular |
2662 | 4532 | expression compiler gave it. |
2663 | 4533 | |
2664 | 4534 | =end original |
2665 | 4535 | |
2666 | 4536 | (P) 正規表現コンパイラが渡したもので、正規表現エンジンが |
2667 | 4537 | 処理できなくなりました。 |
2668 | 4538 | |
2669 | 4539 | =item corrupted regexp program |
2670 | 4540 | |
2671 | 4541 | =begin original |
2672 | 4542 | |
2673 | 4543 | (P) The regular expression engine got passed a regexp program without a |
2674 | 4544 | valid magic number. |
2675 | 4545 | |
2676 | 4546 | =end original |
2677 | 4547 | |
2678 | 4548 | (P) 正規表現エンジンが、有効なマジックナンバーを持たない |
2679 | 4549 | regexp プログラムを渡しました。 |
2680 | 4550 | |
2681 | =item Corrupt malloc ptr 0x% | |
4551 | =item Corrupt malloc ptr 0x%x at 0x%x | |
2682 | 4552 | |
2683 | 4553 | =begin original |
2684 | 4554 | |
2685 | 4555 | (P) The malloc package that comes with Perl had an internal failure. |
2686 | 4556 | |
2687 | 4557 | =end original |
2688 | 4558 | |
2689 | 4559 | (P) Perl に付属の malloc ルーティンが内部エラーを起こしました。 |
2690 | 4560 | |
2691 | =item C | |
4561 | =item Count after length/code in unpack | |
2692 | 4562 | |
2693 | 4563 | =begin original |
2694 | 4564 | |
2695 | (F) | |
4565 | (F) You had an unpack template indicating a counted-length string, but | |
2696 | ||
4566 | you have also specified an explicit size for the string. See | |
2697 | ||
4567 | L<perlfunc/pack>. | |
2698 | 4568 | |
2699 | 4569 | =end original |
2700 | 4570 | |
2701 | (F) | |
4571 | (F) unpack のテンプレートとしてカウント長文字列を示していますが、 | |
2702 | ||
4572 | 文字列の長さも明示的に指定しています。 | |
2703 | ||
4573 | L<perlfunc/pack> を参照してください。 | |
2704 | 4574 | |
2705 | =item | |
4575 | =item Declaring references is experimental | |
2706 | 4576 | |
2707 | 4577 | =begin original |
2708 | 4578 | |
2709 | ( | |
4579 | (S experimental::declared_refs) This warning is emitted if you use | |
2710 | ||
4580 | a reference constructor on the right-hand side of C<my>, C<state>, C<our>, or | |
4581 | C<local>. Simply suppress the warning if you want to use the feature, but | |
4582 | know that in doing so you are taking the risk of using an experimental | |
4583 | feature which may change or be removed in a future Perl version: | |
2711 | 4584 | |
2712 | 4585 | =end original |
2713 | 4586 | |
2714 | ( | |
4587 | (S experimental::declared_refs) C<my>, C<state>, C<our>, C<local> の右側で | |
2715 | ファ | |
4588 | リファレンスコンストラクタを使うとこの警告が出力されます。 | |
2716 | ||
4589 | この機能を使いたい場合は単にこの警告を抑制してください; ただし | |
4590 | そうすることによってあなたは将来のバージョンの Perl で変更したり | |
4591 | 削除されたりするかもしれない実験的な機能を使うというリスクを | |
4592 | 取っていると言うことを知っておいてください: | |
2717 | 4593 | |
4594 | no warnings "experimental::declared_refs"; | |
4595 | use feature "declared_refs"; | |
4596 | $fooref = my \$foo; | |
4597 | ||
4598 | =for comment | |
4599 | The following are used in lib/diagnostics.t for testing two =items that | |
4600 | share the same description. Changes here need to be propagated to there | |
4601 | ||
4602 | =item Deep recursion on anonymous subroutine | |
4603 | ||
2718 | 4604 | =item Deep recursion on subroutine "%s" |
2719 | 4605 | |
2720 | 4606 | =begin original |
2721 | 4607 | |
2722 | 4608 | (W recursion) This subroutine has called itself (directly or indirectly) |
2723 | 4609 | 100 times more than it has returned. This probably indicates an |
2724 | 4610 | infinite recursion, unless you're writing strange benchmark programs, in |
2725 | 4611 | which case it indicates something else. |
2726 | 4612 | |
2727 | 4613 | =end original |
2728 | 4614 | |
2729 | (W recursion) このサブルー | |
4615 | (W recursion) このサブルーチンは、(直接、間接に) 自分自身の呼び出しを、 | |
2730 | 4616 | return より 100 回多く行ないました。 |
2731 | 4617 | 変わったベンチマークプログラムを書いているのでなければ、無限再帰の |
2732 | 可能性があります。 | |
4618 | 可能性があります; ベンチマークを書いている場合には、別のことを示しています。 | |
2733 | ベンチマークを書いている場合には、別のことを示しています。 | |
2734 | 4619 | |
2735 | = | |
4620 | =begin original | |
2736 | 4621 | |
4622 | This threshold can be changed from 100, by recompiling the F<perl> binary, | |
4623 | setting the C pre-processor macro C<PERL_SUB_DEPTH_WARN> to the desired value. | |
4624 | ||
4625 | =end original | |
4626 | ||
4627 | この閾値は、C プリプロセッサマクロ C<PERL_SUB_DEPTH_WARN> を希望の値に | |
4628 | 設定して F<perl> バイナリを再コンパイルすることで、100 から変更できます。 | |
4629 | ||
4630 | =item (?(DEFINE)....) does not allow branches in regex; marked by | |
4631 | S<<-- HERE> in m/%s/ | |
4632 | ||
2737 | 4633 | =begin original |
2738 | 4634 | |
2739 | ( | |
4635 | (F) You used something like C<(?(DEFINE)...|..)> which is illegal. The | |
2740 | ||
4636 | most likely cause of this error is that you left out a parenthesis inside | |
2741 | ||
4637 | of the C<....> part. | |
2742 | 4638 | |
2743 | 4639 | =end original |
2744 | 4640 | |
2745 | ( | |
4641 | (F) 不正な形の C<(?(DEFINE)...|..)> のようなものを使いました。 | |
2746 | ||
4642 | このエラーの、もっともありそうな理由は、C<....> パートの中のかっこを | |
2747 | ||
4643 | そのままにしたことです。 | |
2748 | C<if (@array) { # not empty }> としてください。 | |
2749 | 4644 | |
2750 | = | |
4645 | =begin original | |
2751 | 4646 | |
4647 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
4648 | discovered. | |
4649 | ||
4650 | =end original | |
4651 | ||
4652 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
4653 | ||
4654 | =item %s defines neither package nor VERSION--version check failed | |
4655 | ||
2752 | 4656 | =begin original |
2753 | 4657 | |
2754 | ( | |
4658 | (F) You said something like "use Module 42" but in the Module file | |
2755 | ||
4659 | there are neither package declarations nor a C<$VERSION>. | |
2756 | is empty, just use C<if (%hash) { # not empty }> for example. | |
2757 | 4660 | |
2758 | 4661 | =end original |
2759 | 4662 | |
2760 | ( | |
4663 | (F) "use Module 42" のようなことをしましたが、Module ファイルに | |
2761 | ||
4664 | パッケージ定義がないか、C<$VERSION> がありませんでした。 | |
2762 | ハッシュが空かどうかを調べたい場合は、例えば単に | |
2763 | C<if (%hash) { # not empty }> としてください。 | |
2764 | 4665 | |
4666 | =item delete argument is not a HASH or ARRAY element or slice | |
4667 | ||
4668 | =begin original | |
4669 | ||
4670 | (F) The argument to C<delete> must be either a hash or array element, | |
4671 | such as: | |
4672 | ||
4673 | =end original | |
4674 | ||
4675 | (F) C<delete> の引数は以下のようにハッシュか配列の要素であるか: | |
4676 | ||
4677 | $foo{$bar} | |
4678 | $ref->{"susie"}[12] | |
4679 | ||
4680 | =begin original | |
4681 | ||
4682 | or a hash or array slice, such as: | |
4683 | ||
4684 | =end original | |
4685 | ||
4686 | あるいは以下のようにハッシュか配列のスライスか: | |
4687 | ||
4688 | @foo[$bar, $baz, $xyzzy] | |
4689 | @{$ref->[12]}{"susie", "queue"} | |
4690 | ||
4691 | =begin original | |
4692 | ||
4693 | or a hash key/value or array index/value slice, such as: | |
4694 | ||
4695 | =end original | |
4696 | ||
4697 | あるいは以下のようにハッシュのキー/値や配列のインデックス/値で | |
4698 | なければなりません: | |
4699 | ||
4700 | %foo[$bar, $baz, $xyzzy] | |
4701 | %{$ref->[12]}{"susie", "queue"} | |
4702 | ||
2765 | 4703 | =item Delimiter for here document is too long |
2766 | 4704 | |
2767 | 4705 | =begin original |
2768 | 4706 | |
2769 | 4707 | (F) In a here document construct like C<<<FOO>, the label C<FOO> is too |
2770 | 4708 | long for Perl to handle. You have to be seriously twisted to write code |
2771 | 4709 | that triggers this error. |
2772 | 4710 | |
2773 | 4711 | =end original |
2774 | 4712 | |
2775 | 4713 | (F) C<<<FOO> のようなヒアドキュメント構造で、ラベル C<FOO> が |
2776 | 4714 | Perl が扱うには長すぎました。 |
2777 | 4715 | このエラーを起こすようなコードを書くには相当ひねくれている必要があります。 |
2778 | 4716 | |
4717 | =item Deprecated use of my() in false conditional. This will be a fatal error in Perl 5.30 | |
4718 | ||
4719 | =begin original | |
4720 | ||
4721 | (D deprecated) You used a declaration similar to C<my $x if 0>. There | |
4722 | has been a long-standing bug in Perl that causes a lexical variable | |
4723 | not to be cleared at scope exit when its declaration includes a false | |
4724 | conditional. Some people have exploited this bug to achieve a kind of | |
4725 | static variable. Since we intend to fix this bug, we don't want people | |
4726 | relying on this behavior. You can achieve a similar static effect by | |
4727 | declaring the variable in a separate block outside the function, eg | |
4728 | ||
4729 | =end original | |
4730 | ||
4731 | (D deprecated) C<my $x if 0> のような定義を行いました。 | |
4732 | これは、宣言に偽の条件を含んでいるとスコープから外れた際にレキシカル変数が | |
4733 | クリアされないという、Perl に長い間存在したバグです。 | |
4734 | ある種の静的変数を実現するためにこのバグを悪用する人々もいます。 | |
4735 | 私たちはこのバグを修正するつもりなので、人々がこの振る舞いに依存して | |
4736 | ほしくありません。 | |
4737 | 関数外の別のブロックで変数を宣言することで似たような静的な効果を | |
4738 | 達成できます; 例えば: | |
4739 | ||
4740 | sub f { my $x if 0; return $x++ } | |
4741 | ||
4742 | =begin original | |
4743 | ||
4744 | becomes | |
4745 | ||
4746 | =end original | |
4747 | ||
4748 | これは以下のようにします: | |
4749 | ||
4750 | { my $x; sub f { return $x++ } } | |
4751 | ||
4752 | =begin original | |
4753 | ||
4754 | Beginning with perl 5.10.0, you can also use C<state> variables to have | |
4755 | lexicals that are initialized only once (see L<feature>): | |
4756 | ||
4757 | =end original | |
4758 | ||
4759 | perl 5.10.0 から、一度だけ初期化されるレキシカルとして C<state> 変数も | |
4760 | 使えます (L<feature> を参照してください): | |
4761 | ||
4762 | sub f { state $x; return $x++ } | |
4763 | ||
4764 | =begin original | |
4765 | ||
4766 | This use of C<my()> in a false conditional has been deprecated since | |
4767 | Perl 5.10, and it will become a fatal error in Perl 5.30. | |
4768 | ||
4769 | =end original | |
4770 | ||
4771 | 偽の条件での C<my()> のこの使用法は Perl 5.10 から廃止予定で、 | |
4772 | Perl 5.30 で致命的エラーになる予定です。 | |
4773 | ||
4774 | =item DESTROY created new reference to dead object '%s' | |
4775 | ||
4776 | =begin original | |
4777 | ||
4778 | (F) A DESTROY() method created a new reference to the object which is | |
4779 | just being DESTROYed. Perl is confused, and prefers to abort rather | |
4780 | than to create a dangling reference. | |
4781 | ||
4782 | =end original | |
4783 | ||
4784 | (F) DESTROY() メソッドが、DESTROY したばかりのオブジェクトへの | |
4785 | 新しいリファレンスを作りました。 | |
4786 | Perl は混乱して、不明瞭なリファレンスを作るよりは中断することを選びました。 | |
4787 | ||
2779 | 4788 | =item Did not produce a valid header |
2780 | 4789 | |
2781 | 4790 | =begin original |
2782 | 4791 | |
2783 | See Server error. | |
4792 | See L</500 Server error>. | |
2784 | 4793 | |
2785 | 4794 | =end original |
2786 | 4795 | |
2787 | ||
4796 | L</500 Server error> を参照してください。 | |
2788 | 4797 | |
2789 | 4798 | =item %s did not return a true value |
2790 | 4799 | |
2791 | 4800 | =begin original |
2792 | 4801 | |
2793 | 4802 | (F) A required (or used) file must return a true value to indicate that |
2794 | 4803 | it compiled correctly and ran its initialization code correctly. It's |
2795 | 4804 | traditional to end such a file with a "1;", though any true value would |
2796 | 4805 | do. See L<perlfunc/require>. |
2797 | 4806 | |
2798 | 4807 | =end original |
2799 | 4808 | |
2800 | 4809 | (F) require (や use) されたファイルは、正常にコンパイルされ、 |
2801 | 4810 | 初期化コードを正しく実行したことを示すために、真を返さなければなりません。 |
2802 | 4811 | こういったファイルは、"1;" で終わるようにするのが習慣ですが、 |
2803 | 4812 | 真となる値であれば、何でもかまいません。 |
2804 | 4813 | L<perlfunc/require> を参照してください。 |
2805 | 4814 | |
2806 | 4815 | =item (Did you mean &%s instead?) |
2807 | 4816 | |
2808 | 4817 | =begin original |
2809 | 4818 | |
2810 | (W) You probably referred to an imported subroutine &FOO as $FOO or | |
4819 | (W misc) You probably referred to an imported subroutine &FOO as $FOO or | |
2811 | such. | |
4820 | some such. | |
2812 | 4821 | |
2813 | 4822 | =end original |
2814 | 4823 | |
2815 | おそらく import したサブルーチン &FOO を $FOO として | |
4824 | (W misc) おそらく import したサブルーチン &FOO を $FOO として | |
2816 | 4825 | 参照したようなことでしょう。 |
2817 | 4826 | |
2818 | 4827 | =item (Did you mean "local" instead of "our"?) |
2819 | 4828 | |
2820 | 4829 | =begin original |
2821 | 4830 | |
2822 | (W | |
4831 | (W shadow) Remember that "our" does not localize the declared global | |
2823 | 4832 | variable. You have declared it again in the same lexical scope, which |
2824 | 4833 | seems superfluous. |
2825 | 4834 | |
2826 | 4835 | =end original |
2827 | 4836 | |
2828 | (W | |
4837 | (W shadow) "our" 宣言されたグローバル変数を local 化しないことを | |
2829 | 4838 | 忘れないで下さい。 |
2830 | 4839 | これをもう一度同じレキシカルスコープで宣言していますが、 |
2831 | 4840 | 不必要でしょう。 |
2832 | 4841 | |
2833 | 4842 | =item (Did you mean $ or @ instead of %?) |
2834 | 4843 | |
2835 | 4844 | =begin original |
2836 | 4845 | |
2837 | 4846 | (W) You probably said %hash{$key} when you meant $hash{$key} or |
2838 | 4847 | @hash{@keys}. On the other hand, maybe you just meant %hash and got |
2839 | 4848 | carried away. |
2840 | 4849 | |
2841 | 4850 | =end original |
2842 | 4851 | |
2843 | 4852 | (W) おそらく $hash{$key} か @hash{@keys} としたいときに %hash{$key} と |
2844 | 4853 | したのでしょう。 |
2845 | 4854 | あるいは、単に %hash としたくてやりすぎたのでしょう。 |
2846 | 4855 | |
2847 | 4856 | =item Died |
2848 | 4857 | |
2849 | 4858 | =begin original |
2850 | 4859 | |
2851 | 4860 | (F) You passed die() an empty string (the equivalent of C<die "">) or |
2852 | you called it with no args and | |
4861 | you called it with no args and C<$@> was empty. | |
2853 | 4862 | |
2854 | 4863 | =end original |
2855 | 4864 | |
2856 | 4865 | (F) die() に空文字列を渡した(C<die ""> と等価です)か、引数なしで |
2857 | 呼び出して、C<$@> | |
4866 | 呼び出して、C<$@> が空でした。 | |
2858 | 4867 | |
2859 | 4868 | =item Document contains no data |
2860 | 4869 | |
2861 | 4870 | =begin original |
2862 | 4871 | |
2863 | See Server error. | |
4872 | See L</500 Server error>. | |
2864 | 4873 | |
2865 | 4874 | =end original |
2866 | 4875 | |
2867 | ||
4876 | L</500 Server error> を参照してください。 | |
2868 | 4877 | |
2869 | =item | |
4878 | =item %s does not define %s::VERSION--version check failed | |
2870 | 4879 | |
2871 | 4880 | =begin original |
2872 | 4881 | |
4882 | (F) You said something like "use Module 42" but the Module did not | |
4883 | define a C<$VERSION>. | |
4884 | ||
4885 | =end original | |
4886 | ||
4887 | (F) "use Module 42" のようなことをしましたが、Module は C<$VERSION> を | |
4888 | 定義していません。 | |
4889 | ||
4890 | =item '/' does not take a repeat count | |
4891 | ||
4892 | =begin original | |
4893 | ||
4894 | (F) You cannot put a repeat count of any kind right after the '/' code. | |
4895 | See L<perlfunc/pack>. | |
4896 | ||
4897 | =end original | |
4898 | ||
4899 | (F) '/' の直後には繰り返し数を指定できません。 | |
4900 | L<perlfunc/pack> を参照してください。 | |
4901 | ||
4902 | =item do "%s" failed, '.' is no longer in @INC; did you mean do "./%s"? | |
4903 | ||
4904 | =begin original | |
4905 | ||
4906 | (D deprecated) Previously C< do "somefile"; > would search the current | |
4907 | directory for the specified file. Since perl v5.26.0, F<.> has been | |
4908 | removed from C<@INC> by default, so this is no longer true. To search the | |
4909 | current directory (and only the current directory) you can write | |
4910 | C< do "./somefile"; >. | |
4911 | ||
4912 | =end original | |
4913 | ||
4914 | (D deprecated) 以前は、C< do "somefile"; > は指定されたファイルを | |
4915 | カレントディレクトリから探していました。 | |
4916 | perl v5.26.0 から、デフォルトで C<@INC> から F<.> 削除されたので、 | |
4917 | これはもはや真ではありません。 | |
4918 | カレントディレクトリを(カレントディレクトリだけを)探すためには、 | |
4919 | C< do "./somefile"; > と書けます。 | |
4920 | ||
4921 | =item Don't know how to get file name | |
4922 | ||
4923 | =begin original | |
4924 | ||
4925 | (P) C<PerlIO_getname>, a perl internal I/O function specific to VMS, was | |
4926 | somehow called on another platform. This should not happen. | |
4927 | ||
4928 | =end original | |
4929 | ||
4930 | (P) VMS 固有の perl 内部 I/O 関数である C<PerlIO_getname> がなぜか | |
4931 | 他のプラットフォームで呼び出されました。 | |
4932 | これは起きないはずです。 | |
4933 | ||
4934 | =item Don't know how to handle magic of type \%o | |
4935 | ||
4936 | =begin original | |
4937 | ||
2873 | 4938 | (P) The internal handling of magical variables has been cursed. |
2874 | 4939 | |
2875 | 4940 | =end original |
2876 | 4941 | |
2877 | (P) マジ | |
4942 | (P) マジカル変数の内部処理がおかしくなっています。 | |
2878 | 4943 | |
2879 | 4944 | =item do_study: out of memory |
2880 | 4945 | |
2881 | 4946 | =begin original |
2882 | 4947 | |
2883 | 4948 | (P) This should have been caught by safemalloc() instead. |
2884 | 4949 | |
2885 | 4950 | =end original |
2886 | 4951 | |
2887 | 4952 | (P) これは、本来 safemalloc() で引っ掛かるはずのものです。 |
2888 | 4953 | |
2889 | 4954 | =item (Do you need to predeclare %s?) |
2890 | 4955 | |
2891 | 4956 | =begin original |
2892 | 4957 | |
2893 | (S) This is an educated guess made in conjunction with the message | |
4958 | (S syntax) This is an educated guess made in conjunction with the message | |
2894 | found where operator expected". It often means a subroutine or module | |
4959 | "%s found where operator expected". It often means a subroutine or module | |
2895 | 4960 | name is being referenced that hasn't been declared yet. This may be |
2896 | 4961 | because of ordering problems in your file, or because of a missing |
2897 | 4962 | "sub", "package", "require", or "use" statement. If you're referencing |
2898 | 4963 | something that isn't defined yet, you don't actually have to define the |
2899 | 4964 | subroutine or package before the current location. You can use an empty |
2900 | 4965 | "sub foo;" or "package FOO;" to enter a "forward" declaration. |
2901 | 4966 | |
2902 | 4967 | =end original |
2903 | 4968 | |
2904 | (S) これは "%s found where operator expected" メッセージと共に | |
4969 | (S syntax) これは "%s found where operator expected" メッセージと共に | |
2905 | 4970 | 表示される教育的な推測です。 |
2906 | 4971 | これはしばしばサブルーチンやモジュール名がまだ宣言される前に参照されている |
2907 | 4972 | ことを意味します。 |
2908 | 4973 | これはファイル内部での順番のためであったり、"sub", "package", "require", |
2909 | 4974 | "use" 文がないためであったりします。 |
2910 | 4975 | もしまだ定義されていないものを参照したい場合、現在位置より前に実際に |
2911 | 4976 | サブルーチンやパッケージを定義する必要はありません。 |
2912 | 4977 | 空の "sub foo;" や "package FOO;" を「前方」宣言として使えます。 |
2913 | 4978 | |
4979 | =item dump() better written as CORE::dump(). dump() will no longer be available in Perl 5.30 | |
4980 | ||
4981 | =begin original | |
4982 | ||
4983 | (D deprecated, misc) You used the obsolescent C<dump()> built-in function, | |
4984 | without fully qualifying it as C<CORE::dump()>. Maybe it's a typo. | |
4985 | ||
4986 | =end original | |
4987 | ||
4988 | (D deprecated, misc) 古いものである C<dump()> 組み込み関数を、 | |
4989 | C<CORE::dump()> というように完全修飾せずに使いました。 | |
4990 | おそらくこれはタイプミスです。 | |
4991 | ||
4992 | =begin original | |
4993 | ||
4994 | Use of a unqualified C<dump()> was deprecated in Perl 5.8.0, and this | |
4995 | will not be available in Perl 5.30. | |
4996 | ||
4997 | =end original | |
4998 | ||
4999 | 修飾されない C<dump()> の使用は Perl 5.8.0 から廃止予定で、 | |
5000 | Perl 5.30 から利用できなくなる予定です。 | |
5001 | ||
5002 | =begin original | |
5003 | ||
5004 | See L<perlfunc/dump>. | |
5005 | ||
5006 | =end original | |
5007 | ||
5008 | L<perlfunc/dump> を参照してください。 | |
5009 | ||
5010 | =item dump is not supported | |
5011 | ||
5012 | =begin original | |
5013 | ||
5014 | (F) Your machine doesn't support dump/undump. | |
5015 | ||
5016 | =end original | |
5017 | ||
5018 | (F) このマシンは dump/undump に対応していません。 | |
5019 | ||
2914 | 5020 | =item Duplicate free() ignored |
2915 | 5021 | |
2916 | 5022 | =begin original |
2917 | 5023 | |
2918 | 5024 | (S malloc) An internal routine called free() on something that had |
2919 | 5025 | already been freed. |
2920 | 5026 | |
2921 | 5027 | =end original |
2922 | 5028 | |
2923 | 5029 | (S malloc) 既に解放されているものに対して、内部ルーティンが free() を |
2924 | 5030 | 行なおうとしました。 |
2925 | 5031 | |
5032 | =item Duplicate modifier '%c' after '%c' in %s | |
5033 | ||
5034 | =begin original | |
5035 | ||
5036 | (W unpack) You have applied the same modifier more than once after a | |
5037 | type in a pack template. See L<perlfunc/pack>. | |
5038 | ||
5039 | =end original | |
5040 | ||
5041 | (W unpack) pack テンプレートで、一つの型の後に同じ修飾子を複数指定しました。 | |
5042 | L<perlfunc/pack> を参照してください。 | |
5043 | ||
2926 | 5044 | =item elseif should be elsif |
2927 | 5045 | |
2928 | 5046 | =begin original |
2929 | 5047 | |
2930 | (S) There is no keyword "elseif" in Perl because Larry thinks | |
5048 | (S syntax) There is no keyword "elseif" in Perl because Larry thinks | |
2931 | Your code will be interpreted as an attempt to call a metho | |
5049 | it's ugly. Your code will be interpreted as an attempt to call a method | |
2932 | "elseif" for the class returned by the following block. This is | |
5050 | named "elseif" for the class returned by the following block. This is | |
2933 | 5051 | unlikely to be what you want. |
2934 | 5052 | |
2935 | 5053 | =end original |
2936 | 5054 | |
2937 | 5055 | (S) Larry は "elseif" というのは醜いと考えたので、Perl にはこのキーワードは |
2938 | 5056 | ありません。 |
2939 | 5057 | このコードは引き続くブロックによって返されたクラスの "elseif" メソッドを |
2940 | 5058 | 呼び出そうとしていると解釈されます。 |
2941 | 5059 | これは望んでいることではないはずです。 |
2942 | 5060 | |
5061 | =item Empty \%c in regex; marked by S<<-- HERE> in m/%s/ | |
5062 | ||
5063 | =item Empty \%c{} in regex; marked by S<<-- HERE> in m/%s/ | |
5064 | ||
5065 | =begin original | |
5066 | ||
5067 | (F) C<\p> and C<\P> are used to introduce a named Unicode property, as | |
5068 | described in L<perlunicode> and L<perlre>. You used C<\p> or C<\P> in | |
5069 | a regular expression without specifying the property name. | |
5070 | ||
5071 | =end original | |
5072 | ||
5073 | (F) C<\p> と C<\P> は、L<perlunicode> と L<perlre> に記述されているように、 | |
5074 | 名前付き Unicode プロパティを導入するために使われます。 | |
5075 | 正規表現の中で、C<\p> や C<\P> をプロパティ名の指定なしに使いました。 | |
5076 | ||
5077 | =item ${^ENCODING} is no longer supported | |
5078 | ||
5079 | =begin original | |
5080 | ||
5081 | (F) The special variable C<${^ENCODING}>, formerly used to implement | |
5082 | the C<encoding> pragma, is no longer supported as of Perl 5.26.0. | |
5083 | ||
5084 | =end original | |
5085 | ||
5086 | (F) 以前は C<encoding> プラグマの実装に使われていた | |
5087 | 特殊変数 C<${^ENCODING}> は、Perl 5.26.0 からもはや対応されません。 | |
5088 | ||
5089 | =begin original | |
5090 | ||
5091 | Setting it to anything other than C<undef> is a fatal error as of Perl | |
5092 | 5.28. | |
5093 | ||
5094 | =end original | |
5095 | ||
5096 | これに C<undef> 以外のものを設定すると Perl 5.28 から致命的エラーが出ます。 | |
5097 | ||
2943 | 5098 | =item entering effective %s failed |
2944 | 5099 | |
2945 | 5100 | =begin original |
2946 | 5101 | |
2947 | 5102 | (F) While under the C<use filetest> pragma, switching the real and |
2948 | 5103 | effective uids or gids failed. |
2949 | 5104 | |
2950 | 5105 | =end original |
2951 | 5106 | |
2952 | 5107 | (F) C<use filetest> プラグマを使っている間に、 |
2953 | 5108 | 実と実効の UID や GID の切り替えに失敗しました。 |
2954 | 5109 | |
5110 | =item %ENV is aliased to %s | |
5111 | ||
5112 | =begin original | |
5113 | ||
5114 | (F) You're running under taint mode, and the C<%ENV> variable has been | |
5115 | aliased to another hash, so it doesn't reflect anymore the state of the | |
5116 | program's environment. This is potentially insecure. | |
5117 | ||
5118 | =end original | |
5119 | ||
5120 | (F) 汚染モードで動作していて、C<%ENV> 変数が他のハッシュへのエイリアスに | |
5121 | なっているので、これ以上プログラムの環境の状態を反映しません。 | |
5122 | これは潜在的にはセキュアではありません。 | |
5123 | ||
2955 | 5124 | =item Error converting file specification %s |
2956 | 5125 | |
2957 | 5126 | =begin original |
2958 | 5127 | |
2959 | 5128 | (F) An error peculiar to VMS. Because Perl may have to deal with file |
2960 | 5129 | specifications in either VMS or Unix syntax, it converts them to a |
2961 | 5130 | single form when it must operate on them directly. Either you've passed |
2962 | 5131 | an invalid file specification to Perl, or you've found a case the |
2963 | 5132 | conversion routines don't handle. Drat. |
2964 | 5133 | |
2965 | 5134 | =end original |
2966 | 5135 | |
2967 | 5136 | (F) VMS に固有のエラーです。 |
2968 | 5137 | Perl はファイル仕様を VMS 式か Unix 式かどちらかで扱わなければならないので、 |
2969 | 5138 | 直接操作しなければならない場合は変換します。 |
2970 | 5139 | 不正なファイル仕様を Perl に渡したか、変換ルーチンが扱えないパターンを |
2971 | 5140 | 発見したかです。 |
2972 | 5141 | ちぇっ。 |
2973 | 5142 | |
2974 | =item | |
5143 | =item Eval-group in insecure regular expression | |
2975 | 5144 | |
2976 | 5145 | =begin original |
2977 | 5146 | |
2978 | 5147 | (F) Perl detected tainted data when trying to compile a regular |
2979 | 5148 | expression that contains the C<(?{ ... })> zero-width assertion, which |
2980 | 5149 | is unsafe. See L<perlre/(?{ code })>, and L<perlsec>. |
2981 | 5150 | |
2982 | 5151 | =end original |
2983 | 5152 | |
2984 | 5153 | C<(?{ ... })> ゼロ幅アサーションを含む正規表現をコンパイルしようと |
2985 | 5154 | したときに、Perl は汚染されたデータを検出しました; |
2986 | 5155 | これは安全ではありません。 |
2987 | 5156 | L<perlre/(?{ code })> と L<perlsec> を参照してください。 |
2988 | 5157 | |
2989 | =item | |
5158 | =item Eval-group not allowed at runtime, use re 'eval' in regex m/%s/ | |
2990 | 5159 | |
2991 | 5160 | =begin original |
2992 | 5161 | |
2993 | 5162 | (F) Perl tried to compile a regular expression containing the |
2994 | 5163 | C<(?{ ... })> zero-width assertion at run time, as it would when the |
2995 | pattern contains interpolated values. Since that is a security risk, | |
5164 | pattern contains interpolated values. Since that is a security risk, | |
2996 | is not allowed. If you insist, you may still do this by | |
5165 | it is not allowed. If you insist, you may still do this by using the | |
2997 | building the pattern from an | |
5166 | C<re 'eval'> pragma or by explicitly building the pattern from an | |
2998 | that in an eval(). See | |
5167 | interpolated string at run time and using that in an eval(). See | |
5168 | L<perlre/(?{ code })>. | |
2999 | 5169 | |
3000 | 5170 | =end original |
3001 | 5171 | |
3002 | 5172 | (F) Perl が実行時に、変数展開された値を含んでいて、 |
3003 | 5173 | C<(?{ ... })> ゼロ幅アサーションを含む正規表現をコンパイルしようとしました。 |
3004 | 5174 | これはセキュリティ上の危険があるので、許可されていません。 |
3005 | どうしても実行したい場合は、実行時に | |
5175 | どうしても実行したい場合は、C<re 'eval'> プラグマを使うか実行時に | |
3006 | パターンを作成して、それを eval() の中で使うことで | |
5176 | 変数展開された文字列からパターンを作成して、それを eval() の中で使うことで | |
5177 | 実行できます。 | |
3007 | 5178 | L<perlre/(?{ code })> を参照してください。 |
3008 | 5179 | |
3009 | =item | |
5180 | =item Eval-group not allowed, use re 'eval' in regex m/%s/ | |
3010 | 5181 | |
3011 | 5182 | =begin original |
3012 | 5183 | |
3013 | 5184 | (F) A regular expression contained the C<(?{ ... })> zero-width |
3014 | 5185 | assertion, but that construct is only allowed when the C<use re 'eval'> |
3015 | 5186 | pragma is in effect. See L<perlre/(?{ code })>. |
3016 | 5187 | |
3017 | 5188 | =end original |
3018 | 5189 | |
3019 | 5190 | (F) 正規表現に C<(?{ ... })> ゼロ幅アサーションを含んでいますが、 |
3020 | 5191 | この構造は C<use re 'eval'> プラグマが有効の場合にのみ許可されます。 |
3021 | 5192 | L<perlre/(?{ code })> を参照してください。 |
3022 | 5193 | |
5194 | =item EVAL without pos change exceeded limit in regex; marked by | |
5195 | S<<-- HERE> in m/%s/ | |
5196 | ||
5197 | =begin original | |
5198 | ||
5199 | (F) You used a pattern that nested too many EVAL calls without consuming | |
5200 | any text. Restructure the pattern so that text is consumed. | |
5201 | ||
5202 | =end original | |
5203 | ||
5204 | (F) テキストを一切読み込むことなく、EVAL 呼び出しのネストが多すぎる | |
5205 | パターンを使いました。 | |
5206 | テキストを読み込むようにパターンを再構築してください。 | |
5207 | ||
5208 | =begin original | |
5209 | ||
5210 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
5211 | discovered. | |
5212 | ||
5213 | =end original | |
5214 | ||
5215 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
5216 | ||
3023 | 5217 | =item Excessively long <> operator |
3024 | 5218 | |
3025 | 5219 | =begin original |
3026 | 5220 | |
3027 | 5221 | (F) The contents of a <> operator may not exceed the maximum size of a |
3028 | 5222 | Perl identifier. If you're just trying to glob a long list of |
3029 | 5223 | filenames, try using the glob() operator, or put the filenames into a |
3030 | 5224 | variable and glob that. |
3031 | 5225 | |
3032 | 5226 | =end original |
3033 | 5227 | |
3034 | 5228 | (F) <> 演算子の内容は Perl 識別子の最大サイズを越えることはできません。 |
3035 | 5229 | 単にファイル名の長いリストをグロブしようとしただけなら、glob() 演算子を |
3036 | 5230 | 使うか、ファイル名を変数に入れて、それをグロブしてください。 |
3037 | 5231 | |
3038 | =item | |
5232 | =item exec? I'm not *that* kind of operating system | |
3039 | 5233 | |
3040 | 5234 | =begin original |
3041 | 5235 | |
5236 | (F) The C<exec> function is not implemented on some systems, e.g., Symbian | |
5237 | OS. See L<perlport>. | |
5238 | ||
5239 | =end original | |
5240 | ||
5241 | (F) C<exec> 関数は Symbian OS のような一部のシステムには実装されていません。 | |
5242 | L<perlport> を参照してください。 | |
5243 | ||
5244 | =item %sExecution of %s aborted due to compilation errors. | |
5245 | ||
5246 | =begin original | |
5247 | ||
3042 | 5248 | (F) The final summary message when a Perl compilation fails. |
3043 | 5249 | |
3044 | 5250 | =end original |
3045 | 5251 | |
3046 | 5252 | (F) Perl のコンパイルが失敗したときの、最後のまとめメッセージです。 |
3047 | 5253 | |
5254 | =item exists argument is not a HASH or ARRAY element or a subroutine | |
5255 | ||
5256 | =begin original | |
5257 | ||
5258 | (F) The argument to C<exists> must be a hash or array element or a | |
5259 | subroutine with an ampersand, such as: | |
5260 | ||
5261 | =end original | |
5262 | ||
5263 | (F) C<exists> の引数は以下のように、ハッシュや配列の要素か、 | |
5264 | アンパサンド付きのサブルーチンでなければなりません: | |
5265 | ||
5266 | $foo{$bar} | |
5267 | $ref->{"susie"}[12] | |
5268 | &do_something | |
5269 | ||
5270 | =item exists argument is not a subroutine name | |
5271 | ||
5272 | =begin original | |
5273 | ||
5274 | (F) The argument to C<exists> for C<exists &sub> must be a subroutine name, | |
5275 | and not a subroutine call. C<exists &sub()> will generate this error. | |
5276 | ||
5277 | =end original | |
5278 | ||
5279 | (F) C<exists &sub> での C<exists> への引数はサブルーチン名でなければならず、 | |
5280 | サブルーチン呼び出しではありません。 | |
5281 | C<exists &sub()> はこのエラーを生成します。 | |
5282 | ||
3048 | 5283 | =item Exiting eval via %s |
3049 | 5284 | |
3050 | 5285 | =begin original |
3051 | 5286 | |
3052 | 5287 | (W exiting) You are exiting an eval by unconventional means, such as a |
3053 | 5288 | goto, or a loop control statement. |
3054 | 5289 | |
3055 | 5290 | =end original |
3056 | 5291 | |
3057 | 5292 | (W exiting) goto やループ制御文など、おかしな方法で eval を抜けました。 |
3058 | 5293 | |
3059 | 5294 | =item Exiting format via %s |
3060 | 5295 | |
3061 | 5296 | =begin original |
3062 | 5297 | |
3063 | (W exiting) You are exiting a | |
5298 | (W exiting) You are exiting a format by unconventional means, such as a | |
3064 | 5299 | goto, or a loop control statement. |
3065 | 5300 | |
3066 | 5301 | =end original |
3067 | 5302 | |
3068 | (W exiting) goto やループ制御文といった、異例な形で | |
5303 | (W exiting) goto やループ制御文といった、異例な形でフォーマットを | |
5304 | 終了しました。 | |
3069 | 5305 | |
3070 | 5306 | =item Exiting pseudo-block via %s |
3071 | 5307 | |
3072 | 5308 | =begin original |
3073 | 5309 | |
3074 | 5310 | (W exiting) You are exiting a rather special block construct (like a |
3075 | 5311 | sort block or subroutine) by unconventional means, such as a goto, or a |
3076 | 5312 | loop control statement. See L<perlfunc/sort>. |
3077 | 5313 | |
3078 | 5314 | =end original |
3079 | 5315 | |
3080 | 5316 | (W exiting) (ソートブロックやサブルーチンのような) 特別なブロック構造を、 |
3081 | 5317 | goto やループ制御文といった異例な方法で終了しました。 |
3082 | 5318 | L<perlfunc/sort> を参照してください。 |
3083 | 5319 | |
3084 | 5320 | =item Exiting subroutine via %s |
3085 | 5321 | |
3086 | 5322 | =begin original |
3087 | 5323 | |
3088 | 5324 | (W exiting) You are exiting a subroutine by unconventional means, such |
3089 | 5325 | as a goto, or a loop control statement. |
3090 | 5326 | |
3091 | 5327 | =end original |
3092 | 5328 | |
3093 | (W exiting) goto やループ制御文など、おかしな方法でサブルー | |
5329 | (W exiting) goto やループ制御文など、おかしな方法でサブルーチンを | |
3094 | 5330 | 抜けました。 |
3095 | 5331 | |
3096 | 5332 | =item Exiting substitution via %s |
3097 | 5333 | |
3098 | 5334 | =begin original |
3099 | 5335 | |
3100 | 5336 | (W exiting) You are exiting a substitution by unconventional means, such |
3101 | 5337 | as a return, a goto, or a loop control statement. |
3102 | 5338 | |
3103 | 5339 | =end original |
3104 | 5340 | |
3105 | 5341 | (W exit) return や goto やループ制御文など、おかしな方法で置換を |
3106 | 5342 | 抜けました。 |
3107 | 5343 | |
5344 | =item Expecting close bracket in regex; marked by S<<-- HERE> in m/%s/ | |
5345 | ||
5346 | =begin original | |
5347 | ||
5348 | (F) You wrote something like | |
5349 | ||
5350 | =end original | |
5351 | ||
5352 | (F) 以下のようなものを書きました | |
5353 | ||
5354 | (?13 | |
5355 | ||
5356 | =begin original | |
5357 | ||
5358 | to denote a capturing group of the form | |
5359 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)>, | |
5360 | but omitted the C<")">. | |
5361 | ||
5362 | =end original | |
5363 | ||
5364 | to denote a capturing group of the form | |
5365 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)> 形式の | |
5366 | 捕捉グループを示していますが C<")"> が省略されています。 | |
5367 | ||
5368 | =item Expecting close paren for nested extended charclass in regex; marked | |
5369 | by <-- HERE in m/%s/ | |
5370 | ||
5371 | =begin original | |
5372 | ||
5373 | (F) While parsing a nested extended character class like: | |
5374 | ||
5375 | =end original | |
5376 | ||
5377 | (F) 次のようなネストした拡張文字クラスをパースするときに: | |
5378 | ||
5379 | (?[ ... (?flags:(?[ ... ])) ... ]) | |
5380 | ^ | |
5381 | ||
5382 | =begin original | |
5383 | ||
5384 | we expected to see a close paren ')' (marked by ^) but did not. | |
5385 | ||
5386 | =end original | |
5387 | ||
5388 | (^ でマークされている) 閉じかっこ ')' があることを想定しますが、 | |
5389 | ありませんでした。 | |
5390 | ||
5391 | =item Expecting close paren for wrapper for nested extended charclass in | |
5392 | regex; marked by <-- HERE in m/%s/ | |
5393 | ||
5394 | =begin original | |
5395 | ||
5396 | (F) While parsing a nested extended character class like: | |
5397 | ||
5398 | =end original | |
5399 | ||
5400 | (F) 次のようなネストした拡張文字クラスをパースするときに: | |
5401 | ||
5402 | (?[ ... (?flags:(?[ ... ])) ... ]) | |
5403 | ^ | |
5404 | ||
5405 | =begin original | |
5406 | ||
5407 | we expected to see a close paren ')' (marked by ^) but did not. | |
5408 | ||
5409 | =end original | |
5410 | ||
5411 | (^ でマークされている) 閉じかっこ ')' があることを想定しますが、 | |
5412 | ありませんでした。 | |
5413 | ||
5414 | =item Expecting '(?flags:(?[...' in regex; marked by S<<-- HERE> in m/%s/ | |
5415 | ||
5416 | =begin original | |
5417 | ||
5418 | (F) The C<(?[...])> extended character class regular expression construct | |
5419 | only allows character classes (including character class escapes like | |
5420 | C<\d>), operators, and parentheses. The one exception is C<(?flags:...)> | |
5421 | containing at least one flag and exactly one C<(?[...])> construct. | |
5422 | This allows a regular expression containing just C<(?[...])> to be | |
5423 | interpolated. If you see this error message, then you probably | |
5424 | have some other C<(?...)> construct inside your character class. See | |
5425 | L<perlrecharclass/Extended Bracketed Character Classes>. | |
5426 | ||
5427 | =end original | |
5428 | ||
5429 | (F) C<(?[...])> 拡張文字クラス正規表現構文には、(C<\d> のような | |
5430 | 文字クラスエスケープを含む) 文字クラス、演算子、かっこのみが許されます。 | |
5431 | 一つの例外は正確に一つだけのフラグと一つだけの C<(?[...])> を含む | |
5432 | C<(?flags:...)> です。 | |
5433 | これにより C<(?[...])> だけを含む正規表現を変数展開できるようになります。 | |
5434 | このエラーメッセージが表示された時は、おそらく文字クラスの中に他の | |
5435 | C<(?...)> 構文が含まれています。 | |
5436 | L<perlrecharclass/Extended Bracketed Character Classes> を参照してください。 | |
5437 | ||
5438 | =item Experimental aliasing via reference not enabled | |
5439 | ||
5440 | =begin original | |
5441 | ||
5442 | (F) To do aliasing via references, you must first enable the feature: | |
5443 | ||
5444 | =end original | |
5445 | ||
5446 | (F) リファレンスによる別名をするためには、最初にこの機能を | |
5447 | 有効にしなければなりません: | |
5448 | ||
5449 | no warnings "experimental::refaliasing"; | |
5450 | use feature "refaliasing"; | |
5451 | \$x = \$y; | |
5452 | ||
5453 | =item Experimental %s on scalar is now forbidden | |
5454 | ||
5455 | =begin original | |
5456 | ||
5457 | (F) An experimental feature added in Perl 5.14 allowed C<each>, C<keys>, | |
5458 | C<push>, C<pop>, C<shift>, C<splice>, C<unshift>, and C<values> to be called with a | |
5459 | scalar argument. This experiment is considered unsuccessful, and | |
5460 | has been removed. The C<postderef> feature may meet your needs better. | |
5461 | ||
5462 | =end original | |
5463 | ||
5464 | (F) Perl 5.14 で追加された実験的機能は、C<each>, C<keys>, | |
5465 | C<push>, C<pop>, C<shift>, C<splice>, C<unshift>, C<values> を | |
5466 | スカラ引数で呼び出すことができました。 | |
5467 | この実験は失敗と考えられ、削除されました。 | |
5468 | C<postderef> 機能はあなたの要求により良く一致します。 | |
5469 | ||
5470 | =item Experimental subroutine signatures not enabled | |
5471 | ||
5472 | =begin original | |
5473 | ||
5474 | (F) To use subroutine signatures, you must first enable them: | |
5475 | ||
5476 | =end original | |
5477 | ||
5478 | (F) サブルーチンシグネチャを使うためには、まずそれを有効にしなければなりません: | |
5479 | ||
5480 | no warnings "experimental::signatures"; | |
5481 | use feature "signatures"; | |
5482 | sub foo ($left, $right) { ... } | |
5483 | ||
3108 | 5484 | =item Explicit blessing to '' (assuming package main) |
3109 | 5485 | |
3110 | 5486 | =begin original |
3111 | 5487 | |
3112 | 5488 | (W misc) You are blessing a reference to a zero length string. This has |
3113 | 5489 | the effect of blessing the reference into the package main. This is |
3114 | 5490 | usually not what you want. Consider providing a default target package, |
3115 | 5491 | e.g. bless($ref, $p || 'MyPackage'); |
3116 | 5492 | |
3117 | 5493 | =end original |
3118 | 5494 | |
3119 | 5495 | (W misc) リファレンスを長さゼロの文字列に bless しました。 |
3120 | 5496 | これはリファレンスをパッケージ main に bless する効果があります。 |
3121 | 5497 | これは普通あなたが望んでいることではありません。 |
3122 | 5498 | (bless($ref, $p || 'MyPackage'); のように) デフォルトターゲット |
3123 | 5499 | パッケージを提供することを考慮してください; |
3124 | 5500 | |
3125 | 5501 | =item %s: Expression syntax |
3126 | 5502 | |
3127 | 5503 | =begin original |
3128 | 5504 | |
3129 | 5505 | (A) You've accidentally run your script through B<csh> instead of Perl. |
3130 | 5506 | Check the #! line, or manually feed your script into Perl yourself. |
3131 | 5507 | |
3132 | 5508 | =end original |
3133 | 5509 | |
3134 | 5510 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
3135 | 5511 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
3136 | 5512 | |
3137 | 5513 | =item %s failed--call queue aborted |
3138 | 5514 | |
3139 | 5515 | =begin original |
3140 | 5516 | |
3141 | (F) An untrapped exception was raised while executing a CHECK, | |
5517 | (F) An untrapped exception was raised while executing a UNITCHECK, | |
3142 | END subroutine. Processing of the remainder of the | |
5518 | CHECK, INIT, or END subroutine. Processing of the remainder of the | |
3143 | routines has been prematurely ended. | |
5519 | queue of such routines has been prematurely ended. | |
3144 | 5520 | |
3145 | 5521 | =end original |
3146 | 5522 | |
3147 | (F) CHECK, INIT, END サブルーチンを実行中にトラップされていない | |
5523 | (F) UNITCHECK, CHECK, INIT, END サブルーチンを実行中にトラップされていない | |
3148 | 発生しました。 | |
5524 | 例外が発生しました。 | |
3149 | 5525 | このようなルーチンのキューの残りの処理は途中で終了しました。 |
3150 | 5526 | |
3151 | =item | |
5527 | =item Failed to close in-place work file %s: %s | |
3152 | 5528 | |
3153 | 5529 | =begin original |
3154 | 5530 | |
3155 | ( | |
5531 | (F) Closing an output file from in-place editing, as with the C<-i> | |
3156 | c | |
5532 | command-line switch, failed. | |
3157 | "-" in your false range is interpreted as a literal "-". Consider | |
3158 | quoting the "-", "\-". See L<perlre>. | |
3159 | 5533 | |
3160 | 5534 | =end original |
3161 | 5535 | |
3162 | ( | |
5536 | (F) C<-i> コマンドラインオプションによるその場修正で開いたファイルを | |
5537 | 閉じるのに失敗しました。 | |
5538 | ||
5539 | =item False [] range "%s" in regex; marked by S<<-- HERE> in m/%s/ | |
5540 | ||
5541 | =begin original | |
5542 | ||
5543 | (W regexp)(F) A character class range must start and end at a literal | |
5544 | character, not another character class like C<\d> or C<[:alpha:]>. The "-" | |
5545 | in your false range is interpreted as a literal "-". In a C<(?[...])> | |
5546 | construct, this is an error, rather than a warning. Consider quoting | |
5547 | the "-", "\-". The S<<-- HERE> shows whereabouts in the regular expression | |
5548 | the problem was discovered. See L<perlre>. | |
5549 | ||
5550 | =end original | |
5551 | ||
5552 | (W regexp)(F) 文字クラス範囲の先頭とと末尾は、C<\d> や C<[:alpha:]> のような | |
3163 | 5553 | 他の文字クラスではなく、リテラル文字でなければなりません。 |
3164 | 5554 | 間違った範囲の "-" はリテラルの "-" と解釈されます。 |
5555 | C<(?[...])> 構文では、これは警告ではなくエラーです。 | |
3165 | 5556 | "-" を "\-" とクォートすることを考慮してください。 |
5557 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
3166 | 5558 | L<perlre> を参照してください。 |
3167 | 5559 | |
3168 | =item Fatal VMS error at %s, line %d | |
5560 | =item Fatal VMS error (status=%d) at %s, line %d | |
3169 | 5561 | |
3170 | 5562 | =begin original |
3171 | 5563 | |
3172 | 5564 | (P) An error peculiar to VMS. Something untoward happened in a VMS |
3173 | 5565 | system service or RTL routine; Perl's exit status should provide more |
3174 | 5566 | details. The filename in "at %s" and the line number in "line %d" tell |
3175 | 5567 | you which section of the Perl source code is distressed. |
3176 | 5568 | |
3177 | 5569 | =end original |
3178 | 5570 | |
3179 | 5571 | (P) VMS に固有のエラーです。 |
3180 | 5572 | 何か都合の悪いことが VMS システムサービスか RTL ルーチンで起こりました; |
3181 | 5573 | Perl の終了コードに詳細が示されています。 |
3182 | 5574 | "at %s" のファイル名と "line %d" の行番号は、問題の起こった |
3183 | 5575 | Perl ソースコードの位置を示しています。 |
3184 | 5576 | |
3185 | 5577 | =item fcntl is not implemented |
3186 | 5578 | |
3187 | 5579 | =begin original |
3188 | 5580 | |
3189 | 5581 | (F) Your machine apparently doesn't implement fcntl(). What is this, a |
3190 | 5582 | PDP-11 or something? |
3191 | 5583 | |
3192 | 5584 | =end original |
3193 | 5585 | |
3194 | 5586 | (F) このマシンでは、fcntl() が実装されていないように見えます。 |
3195 | 5587 | PDP-11 か何かでしょうか。 |
3196 | 5588 | |
5589 | =item FETCHSIZE returned a negative value | |
5590 | ||
5591 | =begin original | |
5592 | ||
5593 | (F) A tied array claimed to have a negative number of elements, which | |
5594 | is not possible. | |
5595 | ||
5596 | =end original | |
5597 | ||
5598 | (F) tie された配列に対して負の番号の要素を要求されました; これは不可能です。 | |
5599 | ||
5600 | =item Field too wide in 'u' format in pack | |
5601 | ||
5602 | =begin original | |
5603 | ||
5604 | (W pack) Each line in an uuencoded string starts with a length indicator | |
5605 | which can't encode values above 63. So there is no point in asking for | |
5606 | a line length bigger than that. Perl will behave as if you specified | |
5607 | C<u63> as the format. | |
5608 | ||
5609 | =end original | |
5610 | ||
5611 | (W pack) uuencode された文字列の各行が、63 以上にエンコードできない | |
5612 | 長さ識別子から始まっています。 | |
5613 | それで、これより長い行の長さを問い合わせるところがありません。 | |
5614 | Perl はフォーマットとして C<u63> が指定されたかのように振る舞います。 | |
5615 | ||
5616 | =item File::Glob::glob() will disappear in perl 5.30. Use File::Glob::bsd_glob() instead. | |
5617 | ||
5618 | =begin original | |
5619 | ||
5620 | (D deprecated) C<< File::Glob >> has a function called C<< glob >>, which | |
5621 | just calls C<< bsd_glob >>. However, its prototype is different from the | |
5622 | prototype of C<< CORE::glob >>, and hence, C<< File::Glob::glob >> should | |
5623 | not be used. | |
5624 | ||
5625 | =end original | |
5626 | ||
5627 | (D deprecated) C<< File::Glob >> は C<< glob >> と呼ばれる関数を持っています; | |
5628 | これは単に C<< bsd_glob >> を呼び出します。 | |
5629 | しかし、そのプロトタイプは C<< CORE::glob >> のプロトタイプと異なるので、 | |
5630 | C<< File::Glob::glob >> は使われるべきではありません。 | |
5631 | ||
5632 | =begin original | |
5633 | ||
5634 | C<< File::Glob::glob() >> was deprecated in perl 5.8.0. A deprecation | |
5635 | message was issued from perl 5.26.0 onwards, and the function will | |
5636 | disappear in perl 5.30.0. | |
5637 | ||
5638 | =end original | |
5639 | ||
5640 | C<< File::Glob::glob() >> は perl 5.8.0 で廃止予定になりました。 | |
5641 | 廃止予定メッセージは perl 5.26.0 以降で出力され、 | |
5642 | この関数は perl 5.30.0 で削除される予定です。 | |
5643 | ||
5644 | =begin original | |
5645 | ||
5646 | Code using C<< File::Glob::glob() >> should call | |
5647 | C<< File::Glob::bsd_glob() >> instead. | |
5648 | ||
5649 | =end original | |
5650 | ||
5651 | C<< File::Glob::glob() >> を使っているコードは、代わりに | |
5652 | C<< File::Glob::bsd_glob() >> を使う必要があります。 | |
5653 | ||
3197 | 5654 | =item Filehandle %s opened only for input |
3198 | 5655 | |
3199 | 5656 | =begin original |
3200 | 5657 | |
3201 | (W io) You tried to write on a read-only filehandle. If you intended | |
5658 | (W io) You tried to write on a read-only filehandle. If you intended | |
3202 | to be a read-write filehandle, you needed to open it with "+<" or | |
5659 | it to be a read-write filehandle, you needed to open it with "+<" or | |
3203 | or "+>>" instead of with "<" or nothing. If you intended only to | |
5660 | "+>" or "+>>" instead of with "<" or nothing. If you intended only to | |
3204 | the file, use ">" or ">>". See L<perlfunc/open>. | |
5661 | write the file, use ">" or ">>". See L<perlfunc/open>. | |
3205 | 5662 | |
3206 | 5663 | =end original |
3207 | 5664 | |
3208 | 5665 | (W io) リードオンリーのファイルハンドルに対して、書込みを行なおうとしました。 |
3209 | 5666 | 読み書き両用ファイルハンドルにしたいのであれば、"<" を付けたり、 |
3210 | 5667 | 何も付けなかったりするのではなく、"+<" や "+>" や "+>>" を付けて |
3211 | 5668 | open する必要があります。 |
3212 | 5669 | ライトオンリーであれば、">" や ">>" を使ってください。 |
3213 | L<perlfunc/open> | |
5670 | L<perlfunc/open> を参照してください。 | |
3214 | 5671 | |
3215 | 5672 | =item Filehandle %s opened only for output |
3216 | 5673 | |
3217 | 5674 | =begin original |
3218 | 5675 | |
3219 | (W io) You tried to read from a filehandle opened only for writing | |
5676 | (W io) You tried to read from a filehandle opened only for writing, If | |
3220 | 5677 | you intended it to be a read/write filehandle, you needed to open it |
3221 | with "+<" or "+>" or "+>>" instead of with " | |
5678 | with "+<" or "+>" or "+>>" instead of with ">". If you intended only to | |
3222 | ||
5679 | read from the file, use "<". See L<perlfunc/open>. Another possibility | |
5680 | is that you attempted to open filedescriptor 0 (also known as STDIN) for | |
5681 | output (maybe you closed STDIN earlier?). | |
3223 | 5682 | |
3224 | 5683 | =end original |
3225 | 5684 | |
3226 | (W io) 書き込み専用のファイルハンドルから読み込もうとしました | |
5685 | (W io) 書き込み専用のファイルハンドルから読み込もうとしました; | |
3227 | 読み書きできるファイルハンドルにしたい場合は、 | |
5686 | 読み書きできるファイルハンドルにしたい場合は、ファイルのオープン時に | |
3228 | ||
5687 | ">" ではなく、"+<" か "+>" か "+>>" をつける必要があります。 | |
3229 | "+<" か "+>" か "+>>" をつける必要があります。 | |
3230 | 5688 | 読み込み専用にしたい場合は、"<" を使ってください。 |
3231 | 5689 | L<perlfunc/open> を参照してください。 |
5690 | 他の可能性としては、ファイル記述子 0 (STDIN としても知られています) を | |
5691 | 出力用に開こうとした場合(おそらくその前に STDIN を閉じたのでは?)です。 | |
3232 | 5692 | |
3233 | =item Fi | |
5693 | =item Filehandle %s reopened as %s only for input | |
3234 | 5694 | |
3235 | 5695 | =begin original |
3236 | 5696 | |
3237 | ( | |
5697 | (W io) You opened for reading a filehandle that got the same filehandle id | |
3238 | a | |
5698 | as STDOUT or STDERR. This occurred because you closed STDOUT or STDERR | |
3239 | ||
5699 | previously. | |
3240 | name. | |
3241 | 5700 | |
3242 | 5701 | =end original |
3243 | 5702 | |
3244 | ( | |
5703 | (W io) STDOUT または STDERR として使われていたのと同じファイルハンドル ID の | |
3245 | ||
5704 | ファイルハンドルを読み込み用に開こうとしました。 | |
3246 | ||
5705 | これは、以前 STDOUT または STDERR を閉じたときに起きます。 | |
3247 | 5706 | |
3248 | =item Fi | |
5707 | =item Filehandle STDIN reopened as %s only for output | |
3249 | 5708 | |
3250 | 5709 | =begin original |
3251 | 5710 | |
3252 | ( | |
5711 | (W io) You opened for writing a filehandle that got the same filehandle id | |
3253 | a | |
5712 | as STDIN. This occurred because you closed STDIN previously. | |
5713 | ||
5714 | =end original | |
5715 | ||
5716 | (W io) STDIN として使われていたのと同じファイルハンドル ID の | |
5717 | ファイルハンドルを書き込み用に開こうとしました。 | |
5718 | これは、以前 STDIN を閉じたときに起きます。 | |
5719 | ||
5720 | =item Final $ should be \$ or $name | |
5721 | ||
5722 | =begin original | |
5723 | ||
5724 | (F) You must now decide whether the final $ in a string was meant to be | |
5725 | a literal dollar sign, or was meant to introduce a variable name that | |
3254 | 5726 | happens to be missing. So you have to put either the backslash or the |
3255 | 5727 | name. |
3256 | 5728 | |
3257 | 5729 | =end original |
3258 | 5730 | |
3259 | (F) 文字列の最後の | |
5731 | (F) 文字列の最後の $ が、リテラルのドル記号なのか、変数名を入れようとして | |
3260 | ||
5732 | 忘れたのかを、はっきりさせなければなりません。 | |
3261 | 5733 | バックスラッシュを付けるか、名前を入れてください。 |
3262 | 5734 | |
3263 | 5735 | =item flock() on closed filehandle %s |
3264 | 5736 | |
3265 | 5737 | =begin original |
3266 | 5738 | |
3267 | 5739 | (W closed) The filehandle you're attempting to flock() got itself closed |
3268 | some time before now. Check your | |
5740 | some time before now. Check your control flow. flock() operates on | |
3269 | 5741 | filehandles. Are you attempting to call flock() on a dirhandle by the |
3270 | 5742 | same name? |
3271 | 5743 | |
3272 | 5744 | =end original |
3273 | 5745 | |
3274 | 5746 | (W closed) flock() しようとしたファイルハンドルはその前に既に |
3275 | 5747 | 閉じられています。 |
3276 | ||
5748 | 制御フローをチェックしてください。 | |
3277 | 5749 | flock() はファイルハンドルを操作します。 |
3278 | 5750 | 同じ名前のディレクトリハンドルに flock() しようとしていませんか? |
3279 | 5751 | |
3280 | =item Quantifier follows nothing before << HERE in regex m/%s/ | |
3281 | ||
3282 | =begin original | |
3283 | ||
3284 | (F) You started a regular expression with a quantifier. Backslash it if you | |
3285 | meant it literally. The << HERE shows in the regular expression about where the | |
3286 | problem was discovered. See L<perlre>. | |
3287 | ||
3288 | =end original | |
3289 | ||
3290 | (F) 正規表現を量指定子で開始しています。 | |
3291 | もしそれをリテラルに使いたいなら、バックスラッシュでクォートしてください。 | |
3292 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
3293 | L<perlre> を参照してください。 | |
3294 | ||
3295 | 5752 | =item Format not terminated |
3296 | 5753 | |
3297 | 5754 | =begin original |
3298 | 5755 | |
3299 | 5756 | (F) A format must be terminated by a line with a solitary dot. Perl got |
3300 | 5757 | to the end of your file without finding such a line. |
3301 | 5758 | |
3302 | 5759 | =end original |
3303 | 5760 | |
3304 | 5761 | (F) フォーマットは、単独のドットだけからなる行で終わらなければなりません。 |
3305 | 5762 | そのような行が見つからないまま、スクリプトの最後に行き当たってしまいました。 |
3306 | 5763 | |
3307 | 5764 | =item Format %s redefined |
3308 | 5765 | |
3309 | 5766 | =begin original |
3310 | 5767 | |
3311 | 5768 | (W redefine) You redefined a format. To suppress this warning, say |
3312 | 5769 | |
3313 | 5770 | =end original |
3314 | 5771 | |
3315 | 5772 | (W redefine) フォーマットを再定義しました。 |
3316 | この警告を止めるには以下のようにしてください | |
5773 | この警告を止めるには以下のようにしてください: | |
3317 | 5774 | |
3318 | 5775 | { |
3319 | no warnings; | |
5776 | no warnings 'redefine'; | |
3320 | 5777 | eval "format NAME =..."; |
3321 | 5778 | } |
3322 | 5779 | |
3323 | 5780 | =item Found = in conditional, should be == |
3324 | 5781 | |
3325 | 5782 | =begin original |
3326 | 5783 | |
3327 | 5784 | (W syntax) You said |
3328 | 5785 | |
3329 | 5786 | =end original |
3330 | 5787 | |
3331 | 5788 | (W) 以下のようにしています: |
3332 | 5789 | |
3333 | 5790 | if ($foo = 123) |
3334 | 5791 | |
3335 | 5792 | =begin original |
3336 | 5793 | |
3337 | 5794 | when you meant |
3338 | 5795 | |
3339 | 5796 | =end original |
3340 | 5797 | |
3341 | 以下のようにす | |
5798 | 以下のようにすべきです: | |
3342 | 5799 | |
3343 | 5800 | if ($foo == 123) |
3344 | 5801 | |
3345 | 5802 | =begin original |
3346 | 5803 | |
3347 | 5804 | (or something like that). |
3348 | 5805 | |
3349 | 5806 | =end original |
3350 | 5807 | |
3351 | 5808 | (あるいは似たようなこと)。 |
3352 | 5809 | |
3353 | 5810 | =item %s found where operator expected |
3354 | 5811 | |
3355 | 5812 | =begin original |
3356 | 5813 | |
3357 | (S) The Perl lexer knows whether to expect a term or an operator. | |
5814 | (S syntax) The Perl lexer knows whether to expect a term or an operator. | |
3358 | sees what it knows to be a term when it was expecting to see an | |
5815 | If it sees what it knows to be a term when it was expecting to see an | |
3359 | 5816 | operator, it gives you this warning. Usually it indicates that an |
3360 | 5817 | operator or delimiter was omitted, such as a semicolon. |
3361 | 5818 | |
3362 | 5819 | =end original |
3363 | 5820 | |
3364 | (S) Perl の字句解析部は、次に項が来るか、演算子が来るかを | |
5821 | (S syntax) Perl の字句解析部は、次に項が来るか、演算子が来るかを | |
5822 | 知っています。 | |
3365 | 5823 | 次に演算子が来ると思っているときに、項であるとわかるものが現れると、 |
3366 | 5824 | この警告が出ることになります。 |
3367 | 5825 | 通常、演算子かセミコロンのような区切り文字が省略されたことをしめします。 |
3368 | 5826 | |
3369 | 5827 | =item gdbm store returned %d, errno %d, key "%s" |
3370 | 5828 | |
3371 | 5829 | =begin original |
3372 | 5830 | |
3373 | 5831 | (S) A warning from the GDBM_File extension that a store failed. |
3374 | 5832 | |
3375 | 5833 | =end original |
3376 | 5834 | |
3377 | 5835 | (S) GDBM_File 拡張モジュールが、値の設定に失敗したという警告です。 |
3378 | 5836 | |
3379 | 5837 | =item gethostent not implemented |
3380 | 5838 | |
3381 | 5839 | =begin original |
3382 | 5840 | |
3383 | 5841 | (F) Your C library apparently doesn't implement gethostent(), probably |
3384 | 5842 | because if it did, it'd feel morally obligated to return every hostname |
3385 | 5843 | on the Internet. |
3386 | 5844 | |
3387 | 5845 | =end original |
3388 | 5846 | |
3389 | (F) C ライブラリに gethostent() が実装されていないようです | |
5847 | (F) C ライブラリに gethostent() が実装されていないようです; | |
3390 | 5848 | おそらく、実装すると Internet 上のすべてのホスト名を |
3391 | 5849 | 返さなければいけないと思っているのでしょう。 |
3392 | 5850 | |
3393 | 5851 | =item get%sname() on closed socket %s |
3394 | 5852 | |
3395 | 5853 | =begin original |
3396 | 5854 | |
3397 | 5855 | (W closed) You tried to get a socket or peer socket name on a closed |
3398 | 5856 | socket. Did you forget to check the return value of your socket() call? |
3399 | 5857 | |
3400 | 5858 | =end original |
3401 | 5859 | |
3402 | 5860 | (W closed) 閉じたソケットに対してソケットやピアソケット名を取得しようと |
3403 | 5861 | しました。 |
3404 | 5862 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか? |
3405 | 5863 | |
3406 | 5864 | =item getpwnam returned invalid UIC %#o for user "%s" |
3407 | 5865 | |
3408 | 5866 | =begin original |
3409 | 5867 | |
3410 | 5868 | (S) A warning peculiar to VMS. The call to C<sys$getuai> underlying the |
3411 | 5869 | C<getpwnam> operator returned an invalid UIC. |
3412 | 5870 | |
3413 | 5871 | =end original |
3414 | 5872 | |
3415 | 5873 | (S) VMS に固有の警告です。 |
3416 | 5874 | C<getpwnam> 演算子の基礎となる C<sys$getuai> 呼び出しで |
3417 | 5875 | 不正な UIC が返されました。 |
3418 | 5876 | |
3419 | 5877 | =item getsockopt() on closed socket %s |
3420 | 5878 | |
3421 | 5879 | =begin original |
3422 | 5880 | |
3423 | 5881 | (W closed) You tried to get a socket option on a closed socket. Did you |
3424 | 5882 | forget to check the return value of your socket() call? See |
3425 | 5883 | L<perlfunc/getsockopt>. |
3426 | 5884 | |
3427 | 5885 | =end original |
3428 | 5886 | |
3429 | 5887 | (W clockd) クローズされたソケットのソケットオプションを取得しようとしました。 |
3430 | 5888 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
3431 | 5889 | L<perlfunc/getsockopt> を参照してください。 |
3432 | 5890 | |
3433 | =item | |
5891 | =item given is experimental | |
3434 | 5892 | |
3435 | 5893 | =begin original |
3436 | 5894 | |
3437 | ( | |
5895 | (S experimental::smartmatch) C<given> depends on smartmatch, which | |
3438 | ||
5896 | is experimental, so its behavior may change or even be removed | |
3439 | ||
5897 | in any future release of perl. See the explanation under | |
3440 | ||
5898 | L<perlsyn/Experimental Details on given and when>. | |
3441 | 5899 | |
3442 | 5900 | =end original |
3443 | 5901 | |
3444 | ( | |
5902 | (S experimental::smartmatch) C<given> はスマートマッチングのに依存していて、 | |
3445 | ||
5903 | これは実験的なので、その振る舞いは将来のリリースの perl で変更されたり | |
3446 | ||
5904 | 削除されたりするかもしれません。 | |
3447 | ||
5905 | L<perlsyn/Experimental Details on given and when> の説明を参照してください。 | |
3448 | 5906 | |
5907 | =item Global symbol "%s" requires explicit package name (did you forget to | |
5908 | declare "my %s"?) | |
5909 | ||
5910 | =begin original | |
5911 | ||
5912 | (F) You've said "use strict" or "use strict vars", which indicates | |
5913 | that all variables must either be lexically scoped (using "my" or "state"), | |
5914 | declared beforehand using "our", or explicitly qualified to say | |
5915 | which package the global variable is in (using "::"). | |
5916 | ||
5917 | =end original | |
5918 | ||
5919 | (F) "use strict" か "use strict vars" が指定されていますので、すべての変数は | |
5920 | ("my" か "state" を使った) レキシカルスコープの変数か、"our" を使って事前に | |
5921 | 宣言するか、グローバル変数がどのパッケージのものかを ("::" を使って)、 | |
5922 | 明示的に修飾しなくてはなりません。 | |
5923 | ||
3449 | 5924 | =item glob failed (%s) |
3450 | 5925 | |
3451 | 5926 | =begin original |
3452 | 5927 | |
3453 | ( | |
5928 | (S glob) Something went wrong with the external program(s) used | |
3454 | C<glob> and C<< <*.c> >>. Usually, this means that you supplied a | |
5929 | for C<glob> and C<< <*.c> >>. Usually, this means that you supplied a C<glob> | |
3455 | ||
5930 | pattern that caused the external program to fail and exit with a | |
3456 | 5931 | nonzero status. If the message indicates that the abnormal exit |
3457 | resulted in a coredump, this may also mean that your csh (C shell) | |
5932 | resulted in a coredump, this may also mean that your csh (C shell) | |
3458 | broken. If so, you should change all of the csh-related variables | |
5933 | is broken. If so, you should change all of the csh-related variables | |
3459 | config.sh: If you have tcsh, make the variables refer to it as | |
5934 | in config.sh: If you have tcsh, make the variables refer to it as | |
3460 | were csh (e.g. | |
5935 | if it were csh (e.g. C<full_csh='/usr/bin/tcsh'>); otherwise, make them | |
3461 | empty (except that C<d_csh> should be C<'undef'>) so that Perl will | |
5936 | all empty (except that C<d_csh> should be C<'undef'>) so that Perl will | |
3462 | 5937 | think csh is missing. In either case, after editing config.sh, run |
3463 | 5938 | C<./Configure -S> and rebuild Perl. |
3464 | 5939 | |
3465 | 5940 | =end original |
3466 | 5941 | |
3467 | ( | |
5942 | (S glob) C<glob> や C<< <*.c> >> のために使われる外部プログラムに何か問題が | |
3468 | 5943 | 発生しました。 |
3469 | 5944 | 通常、これは外部プログラムが失敗して非 0 のステータスで終了するような |
3470 | 5945 | C<glob> パターンが渡されたことを意味します。 |
3471 | 5946 | このメッセージがコアダンプを引きおこした異常終了を示している場合、 |
3472 | 5947 | csh (C シェル) が壊れていることを意味しているかもしれません。 |
3473 | 5948 | もしそうなら、config.sh の全ての csh 関連の変数を変更するべきです: |
3474 | 5949 | もし tcsh があるなら、(C<full_csh='/usr/bin/tcsh'> のように) tcsh を |
3475 | 5950 | 参照するように変数を設定します; |
3476 | 5951 | さもなければ、関連する全ての変数を空にする(例外として C<d_csh> は |
3477 | 5952 | C<'undef'> に設定するべきです)ことで、Perl は csh がないものと考えます。 |
3478 | 5953 | どちらの場合でも、config.sh を修正した後、C<./Configure -S> を実行して |
3479 | 5954 | Perl を再ビルドしてください。 |
3480 | 5955 | |
3481 | 5956 | =item Glob not terminated |
3482 | 5957 | |
3483 | 5958 | =begin original |
3484 | 5959 | |
3485 | 5960 | (F) The lexer saw a left angle bracket in a place where it was expecting |
3486 | 5961 | a term, so it's looking for the corresponding right angle bracket, and |
3487 | 5962 | not finding it. Chances are you left some needed parentheses out |
3488 | 5963 | earlier in the line, and you really meant a "less than". |
3489 | 5964 | |
3490 | 5965 | =end original |
3491 | 5966 | |
3492 | (F) 項が必要とされるところで、開き山 | |
5967 | (F) 項が必要とされるところで、開き山かっこが見つけたため、 | |
3493 | 対応する閉じ山 | |
5968 | 対応する閉じ山かっこを探しましたが、見つかりませんでした。 | |
3494 | 可能性としては、必要な | |
5969 | 可能性としては、必要なかっこを省いてしまい、本当は、「小なり記号」を | |
3495 | 5970 | 表したかった場合が考えられます。 |
3496 | 5971 | |
5972 | =item gmtime(%f) failed | |
5973 | ||
5974 | =begin original | |
5975 | ||
5976 | (W overflow) You called C<gmtime> with a number that it could not handle: | |
5977 | too large, too small, or NaN. The returned value is C<undef>. | |
5978 | ||
5979 | =end original | |
5980 | ||
5981 | (W overflow) 扱えない数値で C<gmtime> を呼び出しました: 大きすぎたり | |
5982 | 小さすぎたり NaN だったりです。 | |
5983 | 返り値は C<undef> です。 | |
5984 | ||
5985 | =item gmtime(%f) too large | |
5986 | ||
5987 | =begin original | |
5988 | ||
5989 | (W overflow) You called C<gmtime> with a number that was larger than | |
5990 | it can reliably handle and C<gmtime> probably returned the wrong | |
5991 | date. This warning is also triggered with NaN (the special | |
5992 | not-a-number value). | |
5993 | ||
5994 | =end original | |
5995 | ||
5996 | (W overflow) 確実に扱えるよりも大きい数値の引数で C<gmtime> を呼び出して、 | |
5997 | おそらく間違った日付が返されました。 | |
5998 | この警告は、NaN (特殊な非数) でも引き起こされます。 | |
5999 | ||
6000 | =item gmtime(%f) too small | |
6001 | ||
6002 | =begin original | |
6003 | ||
6004 | (W overflow) You called C<gmtime> with a number that was smaller than | |
6005 | it can reliably handle and C<gmtime> probably returned the wrong date. | |
6006 | ||
6007 | =end original | |
6008 | ||
6009 | (W overflow) 確実に扱えるよりも大きい数値の引数で C<gmtime> を呼び出して、 | |
6010 | おそらく間違った日付が返されました。 | |
6011 | ||
3497 | 6012 | =item Got an error from DosAllocMem |
3498 | 6013 | |
3499 | 6014 | =begin original |
3500 | 6015 | |
3501 | 6016 | (P) An error peculiar to OS/2. Most probably you're using an obsolete |
3502 | 6017 | version of Perl, and this should not happen anyway. |
3503 | 6018 | |
3504 | 6019 | =end original |
3505 | 6020 | |
3506 | 6021 | (P) OS/2 に固有のエラーです。 |
3507 | 6022 | もっともありそうなのは廃止されたバージョンの Perl を使っていることで、 |
3508 | 6023 | どちらにしてもこのエラーは起きないはずです。 |
3509 | 6024 | |
3510 | 6025 | =item goto must have label |
3511 | 6026 | |
3512 | 6027 | =begin original |
3513 | 6028 | |
3514 | 6029 | (F) Unlike with "next" or "last", you're not allowed to goto an |
3515 | 6030 | unspecified destination. See L<perlfunc/goto>. |
3516 | 6031 | |
3517 | 6032 | =end original |
3518 | 6033 | |
3519 | 6034 | (F) "next" や "last" とは違って、goto には必ず、飛び先を |
3520 | 6035 | 指定しなくてはなりません。 |
3521 | 6036 | L<perlfunc/goto> を参照してください。 |
3522 | 6037 | |
3523 | =item | |
6038 | =item Goto undefined subroutine%s | |
3524 | 6039 | |
3525 | 6040 | =begin original |
3526 | 6041 | |
6042 | (F) You tried to call a subroutine with C<goto &sub> syntax, but | |
6043 | the indicated subroutine hasn't been defined, or if it was, it | |
6044 | has since been undefined. | |
6045 | ||
6046 | =end original | |
6047 | ||
6048 | (F) C<goto &sub> 文法でサブルーチンを呼び出そうとしましたが、示された | |
6049 | サブルーチンは定義されていないか、定義されていましたが未定義化されました。 | |
6050 | ||
6051 | =item Group name must start with a non-digit word character in regex; marked by | |
6052 | S<<-- HERE> in m/%s/ | |
6053 | ||
6054 | =begin original | |
6055 | ||
6056 | (F) Group names must follow the rules for perl identifiers, meaning | |
6057 | they must start with a non-digit word character. A common cause of | |
6058 | this error is using (?&0) instead of (?0). See L<perlre>. | |
6059 | ||
6060 | =end original | |
6061 | ||
6062 | (F) グループ名は perl 識別子の規則に従う必要があり、非数値単語文字で | |
6063 | 始まらなければなりません。 | |
6064 | このエラーのよくある原因は (?0) ではなく (?&0) を使うことです。 | |
6065 | L<perlre> を参照してください。 | |
6066 | ||
6067 | =item ()-group starts with a count | |
6068 | ||
6069 | =begin original | |
6070 | ||
6071 | (F) A ()-group started with a count. A count is supposed to follow | |
6072 | something: a template character or a ()-group. See L<perlfunc/pack>. | |
6073 | ||
6074 | =end original | |
6075 | ||
6076 | (F) () グループが繰り返し数で始まっています。 | |
6077 | 繰り返し数は、テンプレート文字か () グループの後に続くことを想定しています。 | |
6078 | L<perlfunc/pack> を参照してください。 | |
6079 | ||
6080 | =item %s had compilation errors. | |
6081 | ||
6082 | =begin original | |
6083 | ||
3527 | 6084 | (F) The final summary message when a C<perl -c> fails. |
3528 | 6085 | |
3529 | 6086 | =end original |
3530 | 6087 | |
3531 | 6088 | (F) C<perl -c> が失敗したときの最終まとめメッセージです。 |
3532 | 6089 | |
3533 | 6090 | =item Had to create %s unexpectedly |
3534 | 6091 | |
3535 | 6092 | =begin original |
3536 | 6093 | |
3537 | 6094 | (S internal) A routine asked for a symbol from a symbol table that ought |
3538 | 6095 | to have existed already, but for some reason it didn't, and had to be |
3539 | 6096 | created on an emergency basis to prevent a core dump. |
3540 | 6097 | |
3541 | 6098 | =end original |
3542 | 6099 | |
3543 | 6100 | (S internal) あるルーティンが、既に存在しているはずのシンボルを、 |
3544 | 6101 | シンボルテーブルで探しましたが、何らかの理由で存在せず、 |
3545 | 6102 | コアダンプを避けるために、緊急に生成しました。 |
3546 | 6103 | |
3547 | =item | |
6104 | =item %s has too many errors | |
3548 | 6105 | |
3549 | 6106 | =begin original |
3550 | 6107 | |
3551 | ( | |
6108 | (F) The parser has given up trying to parse the program after 10 errors. | |
3552 | ||
6109 | Further error messages would likely be uninformative. | |
3553 | 6110 | |
3554 | 6111 | =end original |
3555 | 6112 | |
3556 | ( | |
6113 | (F) 構文解析部が、プログラム中に 10 個のエラーを見つけたため、 | |
3557 | ||
6114 | それ以上の解析を諦めました。 | |
3558 | ||
6115 | それ以上のエラーメッセージは、おそらく意味がないでしょう。 | |
3559 | 6116 | |
3560 | =item | |
6117 | =item Hexadecimal float: exponent overflow | |
3561 | 6118 | |
3562 | 6119 | =begin original |
3563 | 6120 | |
3564 | ( | |
6121 | (W overflow) The hexadecimal floating point has a larger exponent | |
3565 | ||
6122 | than the floating point supports. | |
3566 | 6123 | |
3567 | 6124 | =end original |
3568 | 6125 | |
3569 | ( | |
6126 | (W overflow) 16 進浮動小数点数は、対応している浮動小数点数よりも大きな | |
3570 | ||
6127 | 指数を持っています。 | |
3571 | それ以上のエラーメッセージは、おそらく意味がないでしょう。 | |
3572 | 6128 | |
6129 | =item Hexadecimal float: exponent underflow | |
6130 | ||
6131 | =begin original | |
6132 | ||
6133 | (W overflow) The hexadecimal floating point has a smaller exponent | |
6134 | than the floating point supports. With the IEEE 754 floating point, | |
6135 | this may also mean that the subnormals (formerly known as denormals) | |
6136 | are being used, which may or may not be an error. | |
6137 | ||
6138 | =end original | |
6139 | ||
6140 | (W overflow) 16 進浮動小数点数は、対応している浮動小数点数よりも大きな | |
6141 | 指数を持っています。 | |
6142 | IEEE 754 浮動小数点では、正規化数が使われたことを意味するかもしれません; | |
6143 | どちらにしろエラーです。 | |
6144 | ||
6145 | =item Hexadecimal float: internal error (%s) | |
6146 | ||
6147 | =begin original | |
6148 | ||
6149 | (F) Something went horribly bad in hexadecimal float handling. | |
6150 | ||
6151 | =end original | |
6152 | ||
6153 | (F) 16 進浮動小数点の扱いにおいて何かが恐ろしくおかしくなりました。 | |
6154 | ||
6155 | =item Hexadecimal float: mantissa overflow | |
6156 | ||
6157 | =begin original | |
6158 | ||
6159 | (W overflow) The hexadecimal floating point literal had more bits in | |
6160 | the mantissa (the part between the 0x and the exponent, also known as | |
6161 | the fraction or the significand) than the floating point supports. | |
6162 | ||
6163 | =end original | |
6164 | ||
6165 | (W overflow) 16 進浮動小数点数リテラルは、仮数部 (0x と指数部の間の部分) に | |
6166 | 浮動小数点数が対応しているよりも多いビット数があります。 | |
6167 | ||
6168 | =item Hexadecimal float: precision loss | |
6169 | ||
6170 | =begin original | |
6171 | ||
6172 | (W overflow) The hexadecimal floating point had internally more | |
6173 | digits than could be output. This can be caused by unsupported | |
6174 | long double formats, or by 64-bit integers not being available | |
6175 | (needed to retrieve the digits under some configurations). | |
6176 | ||
6177 | =end original | |
6178 | ||
6179 | (W overflow) 16 進浮動小数点数リテラルは内部では出力可能なものより | |
6180 | 多くの桁数を保持しています。 | |
6181 | これは未対応の long double 形式や、(設定によっては受け取る必要のある) | |
6182 | 利用できない 64 ビット整数によって引き起こされます。 | |
6183 | ||
6184 | =item Hexadecimal float: unsupported long double format | |
6185 | ||
6186 | =begin original | |
6187 | ||
6188 | (F) You have configured Perl to use long doubles but | |
6189 | the internals of the long double format are unknown; | |
6190 | therefore the hexadecimal float output is impossible. | |
6191 | ||
6192 | =end original | |
6193 | ||
6194 | (F) long double を使うように設定された Perl を使っていますが、 | |
6195 | long double の内部形式が不明です; 従って 16 進浮動小数点数出力は | |
6196 | 不可能です。 | |
6197 | ||
3573 | 6198 | =item Hexadecimal number > 0xffffffff non-portable |
3574 | 6199 | |
3575 | 6200 | =begin original |
3576 | 6201 | |
3577 | 6202 | (W portable) The hexadecimal number you specified is larger than 2**32-1 |
3578 | 6203 | (4294967295) and therefore non-portable between systems. See |
3579 | 6204 | L<perlport> for more on portability concerns. |
3580 | 6205 | |
3581 | 6206 | =end original |
3582 | 6207 | |
3583 | 6208 | (W portable) 指定した 16 進数が 2**32-1 (4294967295) より大きいので、 |
3584 | 6209 | システム間で移植性がありません。 |
3585 | 6210 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
3586 | 6211 | |
3587 | 6212 | =item Identifier too long |
3588 | 6213 | |
3589 | 6214 | =begin original |
3590 | 6215 | |
3591 | 6216 | (F) Perl limits identifiers (names for variables, functions, etc.) to |
3592 | 6217 | about 250 characters for simple names, and somewhat more for compound |
3593 | 6218 | names (like C<$A::B>). You've exceeded Perl's limits. Future versions |
3594 | 6219 | of Perl are likely to eliminate these arbitrary limitations. |
3595 | 6220 | |
3596 | 6221 | =end original |
3597 | 6222 | |
3598 | 6223 | (F) Perl は識別子(変数名や関数名など)について、単純な名前については |
3599 | 6224 | およそ 250 文字に、(C<$A::B> のような)複合名についてはもう少し長い長さに |
3600 | 6225 | 制限しています。 |
3601 | 6226 | この Perl の制限を越えました。 |
3602 | 6227 | 将来のバージョンの Perl ではこれらの恣意的な制限はなくなるでしょう。 |
3603 | 6228 | |
3604 | =item Il | |
6229 | =item Ignoring zero length \N{} in character class in regex; marked by | |
6230 | S<<-- HERE> in m/%s/ | |
3605 | 6231 | |
3606 | 6232 | =begin original |
3607 | 6233 | |
6234 | (W regexp) Named Unicode character escapes (C<\N{...}>) may return a | |
6235 | zero-length sequence. When such an escape is used in a character | |
6236 | class its behavior is not well defined. Check that the correct | |
6237 | escape has been used, and the correct charname handler is in scope. | |
6238 | ||
6239 | =end original | |
6240 | ||
6241 | (W regexp) 名前付き Unicode 文字エスケープ (C<\N{...}>) が長さ 0 の | |
6242 | シーケンスを返しました。 | |
6243 | 文字クラスでこのようなエスケープが使われた場合、振る舞いは未定義です。 | |
6244 | 正しいエスケープを使っているか、および正しい文字名ハンドラがスコープ内に | |
6245 | あるかをチェックしてください。 | |
6246 | ||
6247 | =item Illegal binary digit '%c' | |
6248 | ||
6249 | =begin original | |
6250 | ||
3608 | 6251 | (F) You used a digit other than 0 or 1 in a binary number. |
3609 | 6252 | |
3610 | 6253 | =end original |
3611 | 6254 | |
3612 | 6255 | (F) 2 進数として 0 と 1 以外の数値を使っています。 |
3613 | 6256 | |
3614 | 6257 | =item Illegal binary digit %s ignored |
3615 | 6258 | |
3616 | 6259 | =begin original |
3617 | 6260 | |
3618 | 6261 | (W digit) You may have tried to use a digit other than 0 or 1 in a |
3619 | 6262 | binary number. Interpretation of the binary number stopped before the |
3620 | 6263 | offending digit. |
3621 | 6264 | |
3622 | 6265 | =end original |
3623 | 6266 | |
3624 | 6267 | (W digit) 2 進数として 0 と 1 以外の数値を使おうとしたのでしょう。 |
3625 | 6268 | 2 進数の解釈は問題のある数値の手前で停止しました。 |
3626 | 6269 | |
3627 | =item Illegal character | |
6270 | =item Illegal character after '_' in prototype for %s : %s | |
3628 | 6271 | |
3629 | 6272 | =begin original |
3630 | 6273 | |
3631 | ( | |
6274 | (W illegalproto) An illegal character was found in a prototype | |
3632 | ||
6275 | declaration. The '_' in a prototype must be followed by a ';', | |
3633 | ||
6276 | indicating the rest of the parameters are optional, or one of '@' | |
3634 | ||
6277 | or '%', since those two will accept 0 or more final parameters. | |
3635 | to your Perl administrator. | |
3636 | 6278 | |
3637 | 6279 | =end original |
3638 | 6280 | |
6281 | (W illegalproto) プロトタイプ宣言に無効な文字が見つかりました。 | |
6282 | プロトタイプの中の '_' は、残りの引数がオプションであることを示すために | |
6283 | ';' が引き続くか、'@' か '%' の一つでなければなりません; | |
6284 | これら二つは 0 以上の末尾の引数を受け付けるからです。 | |
6285 | ||
6286 | =item Illegal character \%o (carriage return) | |
6287 | ||
6288 | =begin original | |
6289 | ||
6290 | (F) Perl normally treats carriage returns in the program text as | |
6291 | it would any other whitespace, which means you should never see | |
6292 | this error when Perl was built using standard options. For some | |
6293 | reason, your version of Perl appears to have been built without | |
6294 | this support. Talk to your Perl administrator. | |
6295 | ||
6296 | =end original | |
6297 | ||
3639 | 6298 | (F) Perl は普通プログラムテキスト中の復帰文字をその他の空白と同様に |
3640 | 6299 | 扱いますので、Perl を標準のオプションでビルドした場合はこのエラーを |
3641 | 6300 | 見ることは決してないはずです。 |
3642 | 6301 | どういうわけか、お使いの Perl はこの機能なしでビルドされているようです。 |
3643 | 6302 | Perl の管理者に問い合わせてください。 |
3644 | 6303 | |
6304 | =item Illegal character following sigil in a subroutine signature | |
6305 | ||
6306 | =begin original | |
6307 | ||
6308 | (F) A parameter in a subroutine signature contained an unexpected character | |
6309 | following the C<$>, C<@> or C<%> sigil character. Normally the sigil | |
6310 | should be followed by the variable name or C<=> etc. Perhaps you are | |
6311 | trying use a prototype while in the scope of C<use feature 'signatures'>? | |
6312 | For example: | |
6313 | ||
6314 | =end original | |
6315 | ||
6316 | (F) サブルーチンシグネチャの引数は、C<$>, C<@>, C<%> 印文字に引き続いて | |
6317 | 想定外の文字がありました。 | |
6318 | 通常は、印には変数名や C<=> などが引き続くはずです。 | |
6319 | おそらく C<use feature 'signatures'> のスコープ内で | |
6320 | プロトタイプを使おうとしたのでは? | |
6321 | 例えば: | |
6322 | ||
6323 | sub foo ($$) {} # legal - a prototype | |
6324 | ||
6325 | use feature 'signatures; | |
6326 | sub foo ($$) {} # illegal - was expecting a signature | |
6327 | sub foo ($a, $b) | |
6328 | :prototype($$) {} # legal | |
6329 | ||
6330 | =item Illegal character in prototype for %s : %s | |
6331 | ||
6332 | =begin original | |
6333 | ||
6334 | (W illegalproto) An illegal character was found in a prototype declaration. | |
6335 | Legal characters in prototypes are $, @, %, *, ;, [, ], &, \, and +. | |
6336 | Perhaps you were trying to write a subroutine signature but didn't enable | |
6337 | that feature first (C<use feature 'signatures'>), so your signature was | |
6338 | instead interpreted as a bad prototype. | |
6339 | ||
6340 | =end original | |
6341 | ||
6342 | (W illegalproto) プロトタイプ宣言に無効な文字が見つかりました。 | |
6343 | プロトタイプでの有効な文字は、$, @, %, *, ;, [, ], &, \, + です。 | |
6344 | おそらくサブルーチンシグネチャを書こうとしたけれども、先にこの機能を有効に | |
6345 | していなかった (C<use feature 'signatures'>) ので、シグネチャが間違った | |
6346 | プロトタイプとして解釈されたのでしょう。 | |
6347 | ||
6348 | =item Illegal declaration of anonymous subroutine | |
6349 | ||
6350 | =begin original | |
6351 | ||
6352 | (F) When using the C<sub> keyword to construct an anonymous subroutine, | |
6353 | you must always specify a block of code. See L<perlsub>. | |
6354 | ||
6355 | =end original | |
6356 | ||
6357 | (F) 無名サブルーチンを作るために C<sub> を使ったときは、 | |
6358 | 常にコードのブロックを指定しなければなりません。 | |
6359 | L<perlsub> を参照してください。 | |
6360 | ||
6361 | =item Illegal declaration of subroutine %s | |
6362 | ||
6363 | =begin original | |
6364 | ||
6365 | (F) A subroutine was not declared correctly. See L<perlsub>. | |
6366 | ||
6367 | =end original | |
6368 | ||
6369 | (F) サブルーチンが正しく宣言されていません。 | |
6370 | L<perlsub> を参照してください。 | |
6371 | ||
3645 | 6372 | =item Illegal division by zero |
3646 | 6373 | |
3647 | 6374 | =begin original |
3648 | 6375 | |
3649 | 6376 | (F) You tried to divide a number by 0. Either something was wrong in |
3650 | 6377 | your logic, or you need to put a conditional in to guard against |
3651 | 6378 | meaningless input. |
3652 | 6379 | |
3653 | 6380 | =end original |
3654 | 6381 | |
3655 | 6382 | (F) ゼロで割り算をしようとしました。 |
3656 | 6383 | ロジックの誤りか、意味の無い入力を防ぐために、条件を付けることが |
3657 | 6384 | 必要かのどちらかでしょう。 |
3658 | 6385 | |
3659 | 6386 | =item Illegal hexadecimal digit %s ignored |
3660 | 6387 | |
3661 | 6388 | =begin original |
3662 | 6389 | |
3663 | 6390 | (W digit) You may have tried to use a character other than 0 - 9 or |
3664 | 6391 | A - F, a - f in a hexadecimal number. Interpretation of the hexadecimal |
3665 | 6392 | number stopped before the illegal character. |
3666 | 6393 | |
3667 | 6394 | =end original |
3668 | 6395 | |
3669 | 6396 | (W digit) 16 進数として 0 - 9, A - F, a - f 以外の文字を使おうとしました。 |
3670 | 6397 | 16 進数の解釈は不正な文字の手前で停止しました。 |
3671 | 6398 | |
3672 | 6399 | =item Illegal modulus zero |
3673 | 6400 | |
3674 | 6401 | =begin original |
3675 | 6402 | |
3676 | 6403 | (F) You tried to divide a number by 0 to get the remainder. Most |
3677 | 6404 | numbers don't take to this kindly. |
3678 | 6405 | |
3679 | 6406 | =end original |
3680 | 6407 | |
3681 | 6408 | (F) 余りを求めるのに、ゼロで割り算をしようとしました。 |
3682 | 6409 | これは、ほとんどの数体系で受け入れられません。 |
3683 | 6410 | |
3684 | 6411 | =item Illegal number of bits in vec |
3685 | 6412 | |
3686 | 6413 | =begin original |
3687 | 6414 | |
3688 | 6415 | (F) The number of bits in vec() (the third argument) must be a power of |
3689 | 6416 | two from 1 to 32 (or 64, if your platform supports that). |
3690 | 6417 | |
3691 | 6418 | =end original |
3692 | 6419 | |
3693 | 6420 | (F) vec() のビット数 (第三引数) は 1 から 32 (プラットフォームが |
3694 | 6421 | 対応している場合は 64) までの、2 のべき乗でなければなりません。 |
3695 | 6422 | |
3696 | =item Illegal octal digit % | |
6423 | =item Illegal octal digit '%c' | |
3697 | 6424 | |
3698 | 6425 | =begin original |
3699 | 6426 | |
3700 | (F) You used an 8 or 9 in a octal number. | |
6427 | (F) You used an 8 or 9 in an octal number. | |
3701 | 6428 | |
3702 | 6429 | =end original |
3703 | 6430 | |
3704 | 6431 | (F) 8 進数で 8 か 9 を使いました。 |
3705 | 6432 | |
3706 | 6433 | =item Illegal octal digit %s ignored |
3707 | 6434 | |
3708 | 6435 | =begin original |
3709 | 6436 | |
3710 | (W digit) You may have tried to use an 8 or 9 in a octal number. | |
6437 | (W digit) You may have tried to use an 8 or 9 in an octal number. | |
3711 | 6438 | Interpretation of the octal number stopped before the 8 or 9. |
3712 | 6439 | |
3713 | 6440 | =end original |
3714 | 6441 | |
3715 | 6442 | (W digit) 8 進数で 8 か 9 を使おうとしたのでしょう。 |
3716 | 6443 | 8 進数の解釈は 8 か 9 の手前で停止しました。 |
3717 | 6444 | |
3718 | =item Illegal | |
6445 | =item Illegal operator following parameter in a subroutine signature | |
3719 | 6446 | |
3720 | 6447 | =begin original |
3721 | 6448 | |
6449 | (F) A parameter in a subroutine signature, was followed by something | |
6450 | other than C<=> introducing a default, C<,> or C<)>. | |
6451 | ||
6452 | =end original | |
6453 | ||
6454 | (F) サブルーチンシグネチャで引数に引き続いて、デフォルトを導入する | |
6455 | C<=>, C<,>, C<)> 以外のものがありました。 | |
6456 | ||
6457 | use feature 'signatures'; | |
6458 | sub foo ($=1) {} # legal | |
6459 | sub foo ($a = 1) {} # legal | |
6460 | sub foo ($a += 1) {} # illegal | |
6461 | sub foo ($a == 1) {} # illegal | |
6462 | ||
6463 | =item Illegal pattern in regex; marked by S<<-- HERE> in m/%s/ | |
6464 | ||
6465 | =begin original | |
6466 | ||
6467 | (F) You wrote something like | |
6468 | ||
6469 | =end original | |
6470 | ||
6471 | (F) 以下のようなものを書きました | |
6472 | ||
6473 | (?+foo) | |
6474 | ||
6475 | =begin original | |
6476 | ||
6477 | The C<"+"> is valid only when followed by digits, indicating a | |
6478 | capturing group. See | |
6479 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)>. | |
6480 | ||
6481 | =end original | |
6482 | ||
6483 | C<"+"> は捕捉グループを示すために数値が引き続く場合にのみ正当です。 | |
6484 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)> を | |
6485 | 参照してください。 | |
6486 | ||
6487 | =item Illegal suidscript | |
6488 | ||
6489 | =begin original | |
6490 | ||
6491 | (F) The script run under suidperl was somehow illegal. | |
6492 | ||
6493 | =end original | |
6494 | ||
6495 | (F) suidperl でのスクリプトの実行が何らかの理由で不正でした。 | |
6496 | ||
6497 | =item Illegal switch in PERL5OPT: -%c | |
6498 | ||
6499 | =begin original | |
6500 | ||
3722 | 6501 | (X) The PERL5OPT environment variable may only be used to set the |
3723 | following switches: B<-[DIMUdmw]>. | |
6502 | following switches: B<-[CDIMUdmtw]>. | |
3724 | 6503 | |
3725 | 6504 | =end original |
3726 | 6505 | |
3727 | (X) PERL5OPT 環境変数で設定できるのは B<-[DIMUdmw]> の | |
6506 | (X) PERL5OPT 環境変数で設定できるのは B<-[CDIMUdmtw]> のオプションだけです。 | |
3728 | オプションだけです。 | |
3729 | 6507 | |
6508 | =item Illegal user-defined property name | |
6509 | ||
6510 | =begin original | |
6511 | ||
6512 | (F) You specified a Unicode-like property name in a regular expression | |
6513 | pattern (using C<\p{}> or C<\P{}>) that Perl knows isn't an official | |
6514 | Unicode property, and was likely meant to be a user-defined property | |
6515 | name, but it can't be one of those, as they must begin with either C<In> | |
6516 | or C<Is>. Check the spelling. See also | |
6517 | L</Can't find Unicode property definition "%s">. | |
6518 | ||
6519 | =end original | |
6520 | ||
6521 | (F) (C<\p{}> や C<\P{}> を使って) 正規表現中に Perl が | |
6522 | 公式 Unicode 特性として知らない Unicode 風の特性姪を指定して、 | |
6523 | おそらくそれはユーザー定義特性を意味しているのでしょうが、 | |
6524 | しかし、それらは C<In> か C<Is> で始まっていなければならないので、 | |
6525 | そうなりません。 | |
6526 | スペルを確認してください。 | |
6527 | L</Can't find Unicode property definition "%s"> も参照してください。 | |
6528 | ||
3730 | 6529 | =item Ill-formed CRTL environ value "%s" |
3731 | 6530 | |
3732 | 6531 | =begin original |
3733 | 6532 | |
3734 | 6533 | (W internal) A warning peculiar to VMS. Perl tried to read the CRTL's |
3735 | 6534 | internal environ array, and encountered an element without the C<=> |
3736 | 6535 | delimiter used to separate keys from values. The element is ignored. |
3737 | 6536 | |
3738 | 6537 | =end original |
3739 | 6538 | |
3740 | (W internal) VMS 固有の警告です。 | |
6539 | (W internal) VMS に固有の警告です。 | |
3741 | 6540 | Perl は CRTL の内部環境配列を読み込もうとしましたが、キーを値と |
3742 | 6541 | 分離するために使われている C<=> デリミタのない要素に遭遇しました。 |
3743 | 6542 | この要素は無視しました。 |
3744 | 6543 | |
3745 | 6544 | =item Ill-formed message in prime_env_iter: |%s| |
3746 | 6545 | |
3747 | 6546 | =begin original |
3748 | 6547 | |
3749 | 6548 | (W internal) A warning peculiar to VMS. Perl tried to read a logical |
3750 | 6549 | name or CLI symbol definition when preparing to iterate over %ENV, and |
3751 | 6550 | didn't see the expected delimiter between key and value, so the line was |
3752 | 6551 | ignored. |
3753 | 6552 | |
3754 | 6553 | =end original |
3755 | 6554 | |
3756 | (W internal) VMS 固有の警告です。 | |
6555 | (W internal) VMS に固有の警告です。 | |
3757 | 6556 | Perl は %ENV を反復する準備したときに論理名や CLI シンボル定義を |
3758 | 6557 | 読み込もうとしましたが、キーと値の間のデリミタが見つからなかったので、 |
3759 | 6558 | その行は無視しました。 |
3760 | 6559 | |
3761 | 6560 | =item (in cleanup) %s |
3762 | 6561 | |
3763 | 6562 | =begin original |
3764 | 6563 | |
3765 | 6564 | (W misc) This prefix usually indicates that a DESTROY() method raised |
3766 | 6565 | the indicated exception. Since destructors are usually called by the |
3767 | 6566 | system at arbitrary points during execution, and often a vast number of |
3768 | 6567 | times, the warning is issued only once for any number of failures that |
3769 | 6568 | would otherwise result in the same message being repeated. |
3770 | 6569 | |
3771 | 6570 | =end original |
3772 | 6571 | |
3773 | 6572 | (W misc) この接頭辞は普通、示されている例外が DESTROY() メソッドで |
3774 | 6573 | 発生したことを示しています。 |
3775 | 6574 | デストラクタは普通実行中の任意の時点で呼び出され、しばしば大量に |
3776 | 6575 | 呼び出されるので、この警告は同じメッセージが繰り返されないように、 |
3777 | 6576 | 何回失敗しても一度だけ発生します。 |
3778 | 6577 | |
3779 | 6578 | =begin original |
3780 | 6579 | |
3781 | 6580 | Failure of user callbacks dispatched using the C<G_KEEPERR> flag could |
3782 | 6581 | also result in this warning. See L<perlcall/G_KEEPERR>. |
3783 | 6582 | |
3784 | 6583 | =end original |
3785 | 6584 | |
3786 | C<G_KEEPERR> フラグを使って | |
6585 | C<G_KEEPERR> フラグを使って発行(dispatch)したユーザーコールバックに失敗した | |
3787 | 6586 | 場合にもこの警告が出ることがあります。 |
3788 | 6587 | L<perlcall/G_KEEPERR> を参照してください。 |
3789 | 6588 | |
6589 | =item Incomplete expression within '(?[ ])' in regex; marked by S<<-- HERE> | |
6590 | in m/%s/ | |
6591 | ||
6592 | =begin original | |
6593 | ||
6594 | (F) There was a syntax error within the C<(?[ ])>. This can happen if the | |
6595 | expression inside the construct was completely empty, or if there are | |
6596 | too many or few operands for the number of operators. Perl is not smart | |
6597 | enough to give you a more precise indication as to what is wrong. | |
6598 | ||
6599 | =end original | |
6600 | ||
6601 | (F) これは C<(?[ ])> の中の文法エラーです。 | |
6602 | これは、この構文の中の式が完全に空か、演算子の数に対してオペランドが多すぎたり | |
6603 | 少なすぎたりする場合に起こります。 | |
6604 | Perl は、何が悪いのかをより正確に示せるほど賢くはありませんでした。 | |
6605 | ||
6606 | =item Inconsistent hierarchy during C3 merge of class '%s': merging failed on | |
6607 | parent '%s' | |
6608 | ||
6609 | =begin original | |
6610 | ||
6611 | (F) The method resolution order (MRO) of the given class is not | |
6612 | C3-consistent, and you have enabled the C3 MRO for this class. See the C3 | |
6613 | documentation in L<mro> for more information. | |
6614 | ||
6615 | =end original | |
6616 | ||
6617 | (F) 与えられたクラスのメソッド解決順序 (MRO) が C3 に矛盾していますが、 | |
6618 | このクラスの C3 MRO を有効にしました。 | |
6619 | さらなる情報については L<mro> 内の C3 に関する文書を参照してください。 | |
6620 | ||
6621 | =item Indentation on line %d of here-doc doesn't match delimiter | |
6622 | ||
6623 | =begin original | |
6624 | ||
6625 | (F) You have an indented here-document where one or more of its lines | |
6626 | have whitespace at the beginning that does not match the closing | |
6627 | delimiter. | |
6628 | ||
6629 | =end original | |
6630 | ||
6631 | (F) インデントのあるヒヤドキュメントがありますが、 | |
6632 | 先頭に空白があるけれども閉じ区切り文字にマッチングしない行があります。 | |
6633 | ||
6634 | =begin original | |
6635 | ||
6636 | For example, line 2 below is wrong because it does not have at least | |
6637 | 2 spaces, but lines 1 and 3 are fine because they have at least 2: | |
6638 | ||
6639 | =end original | |
6640 | ||
6641 | 例えば、以下の Line 2 は間違っています; これは少なくとも 2 個の | |
6642 | スペースが必要だからです; しかし、Line 1 と Line 3 は正しいです; | |
6643 | 少なくとも 2 個あるからです: | |
6644 | ||
6645 | if ($something) { | |
6646 | print <<~EOF; | |
6647 | Line 1 | |
6648 | Line 2 not | |
6649 | Line 3 | |
6650 | EOF | |
6651 | } | |
6652 | ||
6653 | =begin original | |
6654 | ||
6655 | Note that tabs and spaces are compared strictly, meaning 1 tab will | |
6656 | not match 8 spaces. | |
6657 | ||
6658 | =end original | |
6659 | ||
6660 | タブとスペースは厳密に比較されるので、タブ 1 個は スペース 8 個とは | |
6661 | マッチングしないことに注意してください。 | |
6662 | ||
6663 | =item Infinite recursion in regex | |
6664 | ||
6665 | =begin original | |
6666 | ||
6667 | (F) You used a pattern that references itself without consuming any input | |
6668 | text. You should check the pattern to ensure that recursive patterns | |
6669 | either consume text or fail. | |
6670 | ||
6671 | =end original | |
6672 | ||
6673 | (F) 入力テキストを読み込むことなく自分自身を参照するパターンを使いました。 | |
6674 | 再帰的なパターンが、テキストを読み込むか失敗するかを確実に行うように、 | |
6675 | パターンをチェックするべきです。 | |
6676 | ||
6677 | =item Infinite recursion via empty pattern | |
6678 | ||
6679 | =begin original | |
6680 | ||
6681 | (F) You tried to use the empty pattern inside of a regex code block, | |
6682 | for instance C</(?{ s!!! })/>, which resulted in re-executing | |
6683 | the same pattern, which is an infinite loop which is broken by | |
6684 | throwing an exception. | |
6685 | ||
6686 | =end original | |
6687 | ||
6688 | (F) C</(?{ s!!! })/> のように、正規表現コードブロックの中で | |
6689 | 空パターンを使いました; | |
6690 | これは同じパターンを再実行することになり、 | |
6691 | 例外が投げられることによって壊れる無限ループになります。 | |
6692 | ||
6693 | =item Initialization of state variables in list currently forbidden | |
6694 | ||
6695 | =begin original | |
6696 | ||
6697 | (F) C<state> only permits initializing a single variable, specified | |
6698 | without parentheses. So C<state $a = 42> and C<state @a = qw(a b c)> are | |
6699 | allowed, but not C<state ($a) = 42> or C<(state $a) = 42>. To initialize | |
6700 | more than one C<state> variable, initialize them one at a time. | |
6701 | ||
6702 | =end original | |
6703 | ||
6704 | (F) C<state> は、かっこなしで指定された単一の変数の初期化のみが | |
6705 | 許されています。 | |
6706 | 従って C<state $a = 42> と C<state @a = qw(a b c)> は許されますが、 | |
6707 | C<state ($a) = 42> や C<(state $a) = 42> は許されません。 | |
6708 | To initialize | |
6709 | more than one | |
6710 | 複数の C<state> 変数を初期化するには、一つずつ初期化してください。 | |
6711 | ||
6712 | =item %%s[%s] in scalar context better written as $%s[%s] | |
6713 | ||
6714 | =begin original | |
6715 | ||
6716 | (W syntax) In scalar context, you've used an array index/value slice | |
6717 | (indicated by %) to select a single element of an array. Generally | |
6718 | it's better to ask for a scalar value (indicated by $). The difference | |
6719 | is that C<$foo[&bar]> always behaves like a scalar, both in the value it | |
6720 | returns and when evaluating its argument, while C<%foo[&bar]> provides | |
6721 | a list context to its subscript, which can do weird things if you're | |
6722 | expecting only one subscript. When called in list context, it also | |
6723 | returns the index (what C<&bar> returns) in addition to the value. | |
6724 | ||
6725 | =end original | |
6726 | ||
6727 | (W syntax) スカラコンテキストで、配列の単一の要素を選択するために | |
6728 | (% で示される)配列インデックス/値スライスを使いました。 | |
6729 | 一般的には($ で示される)スカラ値を取得した方がよいです。 | |
6730 | 違いは、C<$foo[&bar]> は返り値と引数を評価したときの両方で常にスカラのように | |
6731 | 振る舞いますが、C<%foo[&bar]> は添え字にリストコンテキストを提供するので、 | |
6732 | 一つだけの添え字を想定していた場合、おかしなことになることがあります。 | |
6733 | リストコンテキストで呼び出された場合、値に加えてインデックス | |
6734 | (C<&bar> が返すもの) を返します。 | |
6735 | ||
6736 | =item %%s{%s} in scalar context better written as $%s{%s} | |
6737 | ||
6738 | =begin original | |
6739 | ||
6740 | (W syntax) In scalar context, you've used a hash key/value slice | |
6741 | (indicated by %) to select a single element of a hash. Generally it's | |
6742 | better to ask for a scalar value (indicated by $). The difference | |
6743 | is that C<$foo{&bar}> always behaves like a scalar, both in the value | |
6744 | it returns and when evaluating its argument, while C<@foo{&bar}> and | |
6745 | provides a list context to its subscript, which can do weird things | |
6746 | if you're expecting only one subscript. When called in list context, | |
6747 | it also returns the key in addition to the value. | |
6748 | ||
6749 | =end original | |
6750 | ||
6751 | (W syntax) スカラコンテキストで、ハッシュの単一の要素を選択するために | |
6752 | (% で示される)ハッシュキー/値スライスを使いました。 | |
6753 | 一般的には($ で示される)スカラ値を取得した方がよいです。 | |
6754 | 違いは、C<$foo[&bar]> は返り値と引数を評価したときの両方で常にスカラのように | |
6755 | 振る舞いますが、C<%foo[&bar]> は添え字にリストコンテキストを提供するので、 | |
6756 | 一つだけの添え字を想定していた場合、おかしなことになることがあります。 | |
6757 | リストコンテキストで呼び出された場合、値に加えてインデックスを返します。 | |
6758 | ||
3790 | 6759 | =item Insecure dependency in %s |
3791 | 6760 | |
3792 | 6761 | =begin original |
3793 | 6762 | |
3794 | 6763 | (F) You tried to do something that the tainting mechanism didn't like. |
3795 | 6764 | The tainting mechanism is turned on when you're running setuid or |
3796 | 6765 | setgid, or when you specify B<-T> to turn it on explicitly. The |
3797 | 6766 | tainting mechanism labels all data that's derived directly or indirectly |
3798 | 6767 | from the user, who is considered to be unworthy of your trust. If any |
3799 | 6768 | such data is used in a "dangerous" operation, you get this error. See |
3800 | 6769 | L<perlsec> for more information. |
3801 | 6770 | |
3802 | 6771 | =end original |
3803 | 6772 | |
3804 | 6773 | (F) 何か汚染チェックの機構が、望ましくないと判断することを |
3805 | 6774 | 行なおうとしました。 |
3806 | 6775 | setuid や setgid を実行したときや、明示的に B<-T> で指定したときに、 |
3807 | 6776 | 汚染チェック機構が働きます。 |
3808 | 6777 | 汚染チェック機構は、信頼がおけないと仮定されるユーザが直接、間接を問わず、 |
3809 | 6778 | 指定したデータに印を付けます。 |
3810 | 6779 | そのようなデータを「危険な」操作に用いると、このエラーが発生します。 |
3811 | 6780 | 詳しくは、L<perlsec> を参照してください。 |
3812 | 6781 | |
3813 | 6782 | =item Insecure directory in %s |
3814 | 6783 | |
3815 | 6784 | =begin original |
3816 | 6785 | |
3817 | 6786 | (F) You can't use system(), exec(), or a piped open in a setuid or |
3818 | 6787 | setgid script if C<$ENV{PATH}> contains a directory that is writable by |
3819 | the world. | |
6788 | the world. Also, the PATH must not contain any relative directory. | |
6789 | See L<perlsec>. | |
3820 | 6790 | |
3821 | 6791 | =end original |
3822 | 6792 | |
3823 | 6793 | (F) C<$ENV{PATH}> の中に、誰にでも書き込みができるディレクトリが |
3824 | 6794 | 含まれているとき、system()、exec()、パイプのオープンを |
3825 | 6795 | 行なうことはできません。 |
6796 | また、PATH には相対早退ディレクトリを含んでいてはいけません。 | |
3826 | 6797 | L<perlsec> を参照してください。 |
3827 | 6798 | |
3828 | 6799 | =item Insecure $ENV{%s} while running %s |
3829 | 6800 | |
3830 | 6801 | =begin original |
3831 | 6802 | |
3832 | 6803 | (F) You can't use system(), exec(), or a piped open in a setuid or |
3833 | 6804 | setgid script if any of C<$ENV{PATH}>, C<$ENV{IFS}>, C<$ENV{CDPATH}>, |
3834 | C<$ENV{ENV}> | |
6805 | C<$ENV{ENV}>, C<$ENV{BASH_ENV}> or C<$ENV{TERM}> are derived from data | |
3835 | potentially supplied) by the user. The script must set | |
6806 | supplied (or potentially supplied) by the user. The script must set | |
3836 | known value, using trustworthy data. See L<perlsec>. | |
6807 | the path to a known value, using trustworthy data. See L<perlsec>. | |
3837 | 6808 | |
3838 | 6809 | =end original |
3839 | 6810 | |
3840 | 6811 | (F) C<$ENV{PATH}>, C<$ENV{IFS}>, C<$ENV{CDPATH}>, C<$ENV{ENV}>, |
3841 | C<$ENV{BASH_ENV}> のいずれかがユーザーによって提供された | |
6812 | C<$ENV{BASH_ENV}>, C<$ENV{TERM}> のいずれかがユーザーによって提供された | |
3842 | 提供された可能性のある)データの場合、setuid や setgid された | |
6813 | (あるいは提供された可能性のある)データの場合、setuid や setgid された | |
3843 | system(), exec(), パイプされる open を | |
6814 | スクリプトでは system(), exec(), パイプされる open を | |
6815 | 使うことはできません。 | |
3844 | 6816 | スクリプトはパスとして、信頼の置けるデータを使った、既知の値を |
3845 | 6817 | セットしなければなりません。 |
3846 | 6818 | L<perlsec> を参照してください。 |
3847 | 6819 | |
6820 | =item Insecure user-defined property %s | |
6821 | ||
6822 | =begin original | |
6823 | ||
6824 | (F) Perl detected tainted data when trying to compile a regular | |
6825 | expression that contains a call to a user-defined character property | |
6826 | function, i.e. C<\p{IsFoo}> or C<\p{InFoo}>. | |
6827 | See L<perlunicode/User-Defined Character Properties> and L<perlsec>. | |
6828 | ||
6829 | =end original | |
6830 | ||
6831 | (F) Perl は、ユーザー定義文字特性関数 (C<\p{IsFoo}> や C<\p{InFoo}>) の | |
6832 | 呼び出しを含む正規表現をコンパイルしようとしたときに汚染されたデータを | |
6833 | 検出しました。 | |
6834 | L<perlunicode/User-Defined Character Properties> と L<perlsec> を | |
6835 | 参照してください。 | |
6836 | ||
6837 | =item Integer overflow in format string for %s | |
6838 | ||
6839 | =begin original | |
6840 | ||
6841 | (F) The indexes and widths specified in the format string of C<printf()> | |
6842 | or C<sprintf()> are too large. The numbers must not overflow the size of | |
6843 | integers for your architecture. | |
6844 | ||
6845 | =end original | |
6846 | ||
6847 | (F) C<printf()> や C<sprintf()> のフォーマット文字列で指定されたインデックスや | |
6848 | 幅が大きすぎます。 | |
6849 | 数値はあなたのアーキテクチャの整数のサイズをオーバーフローしないように | |
6850 | しなければなりません。 | |
6851 | ||
3848 | 6852 | =item Integer overflow in %s number |
3849 | 6853 | |
3850 | 6854 | =begin original |
3851 | 6855 | |
3852 | ( | |
6856 | (S overflow) The hexadecimal, octal or binary number you have specified | |
3853 | 6857 | either as a literal or as an argument to hex() or oct() is too big for |
3854 | 6858 | your architecture, and has been converted to a floating point number. |
3855 | 6859 | On a 32-bit architecture the largest hexadecimal, octal or binary number |
3856 | 6860 | representable without overflow is 0xFFFFFFFF, 037777777777, or |
3857 | 6861 | 0b11111111111111111111111111111111 respectively. Note that Perl |
3858 | 6862 | transparently promotes all numbers to a floating point representation |
3859 | 6863 | internally--subject to loss of precision errors in subsequent |
3860 | 6864 | operations. |
3861 | 6865 | |
3862 | 6866 | =end original |
3863 | 6867 | |
3864 | ( | |
6868 | (S overflow) リテラルまたは hex() や oct() の引数として指定された 16 進、 | |
3865 | 6869 | 8 進、2 進数は実行しているアーキテクチャには大きすぎるので、浮動小数点数に |
3866 | 6870 | 変換されました。 |
3867 | 6871 | 32 ビットアーキテクチャでは、オーバーフローせずに表現できる 16 進、8 進 |
3868 | 6872 | 2 進数はそれぞれ 0xFFFFFFFF, 037777777777, |
3869 | 6873 | 0b11111111111111111111111111111111 です。 |
3870 | 6874 | Perl は全ての数値を内部では浮動小数点表現に透過的に変換することに |
3871 | 6875 | 注意してください -- 引き続く操作によって精度が失われることがあります。 |
3872 | 6876 | |
3873 | =item Inte | |
6877 | =item Integer overflow in srand | |
3874 | 6878 | |
3875 | 6879 | =begin original |
3876 | 6880 | |
6881 | (S overflow) The number you have passed to srand is too big to fit | |
6882 | in your architecture's integer representation. The number has been | |
6883 | replaced with the largest integer supported (0xFFFFFFFF on 32-bit | |
6884 | architectures). This means you may be getting less randomness than | |
6885 | you expect, because different random seeds above the maximum will | |
6886 | return the same sequence of random numbers. | |
6887 | ||
6888 | =end original | |
6889 | ||
6890 | (S overflow) srand に渡した数値は、現在のアーキテクチャの整数表現に | |
6891 | 適合させるには大きすぎます。 | |
6892 | 数値は対応している最大の整数(32 ビットアーキテクチャでは 0xFFFFFFFF) に | |
6893 | 置き換えられました。 | |
6894 | これは、最大数よりも大きな異なった乱数の種が同じ乱数の並びを返すので、 | |
6895 | 想定しているよりもランダム性が低くなることを意味します。 | |
6896 | ||
6897 | =item Integer overflow in version | |
6898 | ||
6899 | =item Integer overflow in version %d | |
6900 | ||
6901 | =begin original | |
6902 | ||
6903 | (W overflow) Some portion of a version initialization is too large for | |
6904 | the size of integers for your architecture. This is not a warning | |
6905 | because there is no rational reason for a version to try and use an | |
6906 | element larger than typically 2**32. This is usually caused by trying | |
6907 | to use some odd mathematical operation as a version, like 100/9. | |
6908 | ||
6909 | =end original | |
6910 | ||
6911 | (W overflow) バージョン初期化の一部が、アーキテクチャの整数のサイズより | |
6912 | 大きすぎます。 | |
6913 | バージョンとして典型的には 2**32 を超える要素を使おうとするための合理的な | |
6914 | 理由がないので、これは警告ではありません。 | |
6915 | これは普通、100/9 のようなおかしな数値演算をバージョンとして | |
6916 | 使おうとしたことによります。 | |
6917 | ||
6918 | =item Internal disaster in regex; marked by S<<-- HERE> in m/%s/ | |
6919 | ||
6920 | =begin original | |
6921 | ||
3877 | 6922 | (P) Something went badly wrong in the regular expression parser. |
3878 | The << HERE shows in the regular expression | |
6923 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
3879 | 6924 | discovered. |
3880 | 6925 | |
3881 | 6926 | =end original |
3882 | 6927 | |
3883 | 6928 | (P) 正規表現解析部に何か悪いことが起こりました。 |
3884 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
6929 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
3885 | 6930 | |
3886 | 6931 | =item Internal inconsistency in tracking vforks |
3887 | 6932 | |
3888 | 6933 | =begin original |
3889 | 6934 | |
3890 | 6935 | (S) A warning peculiar to VMS. Perl keeps track of the number of times |
3891 | 6936 | you've called C<fork> and C<exec>, to determine whether the current call |
3892 | 6937 | to C<exec> should affect the current script or a subprocess (see |
3893 | 6938 | L<perlvms/"exec LIST">). Somehow, this count has become scrambled, so |
3894 | 6939 | Perl is making a guess and treating this C<exec> as a request to |
3895 | 6940 | terminate the Perl script and execute the specified command. |
3896 | 6941 | |
3897 | 6942 | =end original |
3898 | 6943 | |
3899 | (S) VMS | |
6944 | (S) VMS に固有の警告です。 | |
3900 | 6945 | Perl は C<fork> と C<exec> を呼び出した回数を数えています; |
3901 | 6946 | これは現在の C<exec> 呼び出しが現在のスクリプトかサブプロセスかどちらに |
3902 | 6947 | 影響を与えるかを決定するためです(L<perlvms/"exec LIST"> を |
3903 | 6948 | 参照してください)。 |
3904 | 6949 | どういうわけか、このカウントがおかしくなったので、Perl はこの C<exec> が |
3905 | 6950 | Perl スクリプトを終了させて指定されたコマンドを実行する要求であると |
3906 | 6951 | 仮定して、そのように扱いました。 |
3907 | 6952 | |
3908 | =item | |
6953 | =item internal %<num>p might conflict with future printf extensions | |
3909 | 6954 | |
3910 | 6955 | =begin original |
3911 | 6956 | |
3912 | ( | |
6957 | (S internal) Perl's internal routine that handles C<printf> and C<sprintf> | |
3913 | ||
6958 | formatting follows a slightly different set of rules when called from | |
6959 | C or XS code. Specifically, formats consisting of digits followed | |
6960 | by "p" (e.g., "%7p") are reserved for future use. If you see this | |
6961 | message, then an XS module tried to call that routine with one such | |
6962 | reserved format. | |
3914 | 6963 | |
3915 | 6964 | =end original |
3916 | 6965 | |
6966 | (S internal) C<printf> と C<sprintf> のフォーマットを扱う Perl の | |
6967 | 内部ルーチンは、C や XS コードから呼び出されたときは少し違う規則集合に | |
6968 | 従います。 | |
6969 | 特に、数値に引き続いて "p" のあるフォーマット (例えば "%7p") は将来の | |
6970 | 使用のために予約されています。 | |
6971 | このメッセージが表示された場合、XS モジュールはこのような予約された | |
6972 | フォーマットを使って呼び出そうとしました。 | |
6973 | ||
6974 | =item Internal urp in regex; marked by S<<-- HERE> in m/%s/ | |
6975 | ||
6976 | =begin original | |
6977 | ||
6978 | (P) Something went badly awry in the regular expression parser. The | |
6979 | S<<-- HERE> shows whereabouts in the regular expression the problem was | |
6980 | discovered. | |
6981 | ||
6982 | =end original | |
6983 | ||
3917 | 6984 | (P) 正規表現解析部に何か間違ったことが起こりました。 |
3918 | << | |
6985 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
3919 | 6986 | |
3920 | 6987 | =item %s (...) interpreted as function |
3921 | 6988 | |
3922 | 6989 | =begin original |
3923 | 6990 | |
3924 | 6991 | (W syntax) You've run afoul of the rule that says that any list operator |
3925 | 6992 | followed by parentheses turns into a function, with all the list |
3926 | operators arguments found inside the parentheses. See | |
6993 | operators arguments found inside the parentheses. See | |
3927 | 6994 | L<perlop/Terms and List Operators (Leftward)>. |
3928 | 6995 | |
3929 | 6996 | =end original |
3930 | 6997 | |
3931 | (W syntax) リスト演算子の直後に | |
6998 | (W syntax) リスト演算子の直後にかっこを置くと、かっこ内にある | |
3932 | 持つ関数になる、という規則が適用されました。 | |
6999 | リスト演算子引数を持つ関数になる、という規則が適用されました。 | |
3933 | 7000 | L<perlop/Terms and List Operators (Leftward)> を参照してください。 |
3934 | 7001 | |
7002 | =item In '(?...)', the '(' and '?' must be adjacent in regex; | |
7003 | marked by S<<-- HERE> in m/%s/ | |
7004 | ||
7005 | =begin original | |
7006 | ||
7007 | (F) The two-character sequence C<"(?"> in this context in a regular | |
7008 | expression pattern should be an indivisible token, with nothing | |
7009 | intervening between the C<"("> and the C<"?">, but you separated them | |
7010 | with whitespace. | |
7011 | ||
7012 | =end original | |
7013 | ||
7014 | (F) | |
7015 | 正規表現中のこのコンテキストでの 2 文字並び C<"(?"> は分割できないトークンで、 | |
7016 | C<"("> と C<"?"> の間には何も入らないはずですが、これを空白で分割しました。 | |
7017 | ||
7018 | =item In '(*...)', the '(' and '*' must be adjacent in regex; | |
7019 | marked by S<<-- HERE> in m/%s/ | |
7020 | ||
7021 | =begin original | |
7022 | ||
7023 | (F) The two-character sequence C<"(*"> in this context in a regular | |
7024 | expression pattern should be an indivisible token, with nothing | |
7025 | intervening between the C<"("> and the C<"*">, but you separated them. | |
7026 | Fix the pattern and retry. | |
7027 | ||
7028 | =end original | |
7029 | ||
7030 | (F) 正規表現パターンの中のこの文脈での 2 文字並び C<"(*"> は、 | |
7031 | C<"("> と C<"*"> の間に何も入っていない分割されていないトークンである | |
7032 | 必要があります; しかしこれが分割されています。 | |
7033 | パターンを修正してもう一度試してください。 | |
7034 | ||
3935 | 7035 | =item Invalid %s attribute: %s |
3936 | 7036 | |
3937 | 7037 | =begin original |
3938 | 7038 | |
3939 | The indicated attribute for a subroutine or variable was not recognized | |
7039 | (F) The indicated attribute for a subroutine or variable was not recognized | |
3940 | 7040 | by Perl or by a user-supplied handler. See L<attributes>. |
3941 | 7041 | |
3942 | 7042 | =end original |
3943 | 7043 | |
3944 | 示されたサブルーチンや変数の属性は | |
7044 | (F) 示されたサブルーチンや変数の属性は Perl やユーザー提供のハンドラで | |
3945 | ||
7045 | 認識されませんでした。 | |
3946 | 7046 | L<attributes> を参照してください。 |
3947 | 7047 | |
3948 | 7048 | =item Invalid %s attributes: %s |
3949 | 7049 | |
3950 | 7050 | =begin original |
3951 | 7051 | |
3952 | The indicated attributes for a subroutine or variable were not | |
7052 | (F) The indicated attributes for a subroutine or variable were not | |
3953 | 7053 | recognized by Perl or by a user-supplied handler. See L<attributes>. |
3954 | 7054 | |
3955 | 7055 | =end original |
3956 | 7056 | |
3957 | 示されたサブルーチンや変数の属性は | |
7057 | (F) 示されたサブルーチンや変数の属性は Perl やユーザー提供のハンドラで | |
3958 | ||
7058 | 認識されませんでした。 | |
3959 | 7059 | L<attributes> を参照してください。 |
3960 | 7060 | |
7061 | =item Invalid character in charnames alias definition; marked by | |
7062 | S<<-- HERE> in '%s | |
7063 | ||
7064 | =begin original | |
7065 | ||
7066 | (F) You tried to create a custom alias for a character name, with | |
7067 | the C<:alias> option to C<use charnames> and the specified character in | |
7068 | the indicated name isn't valid. See L<charnames/CUSTOM ALIASES>. | |
7069 | ||
7070 | =end original | |
7071 | ||
7072 | (F) C<use charnames> の C<:alias> オプションで文字名へのカスタム別名を | |
7073 | 作ろうとしましたが、指定された名前のうち示された文字は正当ではありません。 | |
7074 | L<charnames/CUSTOM ALIASES> を参照してください。 | |
7075 | ||
7076 | =item Invalid \0 character in %s for %s: %s\0%s | |
7077 | ||
7078 | =begin original | |
7079 | ||
7080 | (W syscalls) Embedded \0 characters in pathnames or other system call | |
7081 | arguments produce a warning as of 5.20. The parts after the \0 were | |
7082 | formerly ignored by system calls. | |
7083 | ||
7084 | =end original | |
7085 | ||
7086 | (W syscalls) パス名やその他のシステムコール引数に埋め込まれた \0 文字は | |
7087 | 5.20 から警告を出力するようになりました。 | |
7088 | 以前は \0 の後の部分はシステムコールによって無視されていました。 | |
7089 | ||
7090 | =item Invalid character in \N{...}; marked by S<<-- HERE> in \N{%s} | |
7091 | ||
7092 | =begin original | |
7093 | ||
7094 | (F) Only certain characters are valid for character names. The | |
7095 | indicated one isn't. See L<charnames/CUSTOM ALIASES>. | |
7096 | ||
7097 | =end original | |
7098 | ||
7099 | (F) 文字名としては一部の文字のみが正当です。 | |
7100 | 示されたものは違います。 | |
7101 | L<charnames/CUSTOM ALIASES> を参照してください。 | |
7102 | ||
3961 | 7103 | =item Invalid conversion in %s: "%s" |
3962 | 7104 | |
3963 | 7105 | =begin original |
3964 | 7106 | |
3965 | 7107 | (W printf) Perl does not understand the given format conversion. See |
3966 | 7108 | L<perlfunc/sprintf>. |
3967 | 7109 | |
3968 | 7110 | =end original |
3969 | 7111 | |
3970 | 7112 | (W printf) Perl は指定されたフォーマット変換が認識できませんでした。 |
3971 | 7113 | L<perlfunc/sprintf> を参照してください。 |
3972 | 7114 | |
3973 | =item | |
7115 | =item Invalid escape in the specified encoding in regex; marked by | |
7116 | S<<-- HERE> in m/%s/ | |
3974 | 7117 | |
3975 | 7118 | =begin original |
3976 | 7119 | |
7120 | (W regexp)(F) The numeric escape (for example C<\xHH>) of value < 256 | |
7121 | didn't correspond to a single character through the conversion | |
7122 | from the encoding specified by the encoding pragma. | |
7123 | The escape was replaced with REPLACEMENT CHARACTER (U+FFFD) | |
7124 | instead, except within S<C<(?[ ])>>, where it is a fatal error. | |
7125 | The S<<-- HERE> shows whereabouts in the regular expression the | |
7126 | escape was discovered. | |
7127 | ||
7128 | =end original | |
7129 | ||
7130 | (W regexp)(F) (例えば C<\xHH> のような)数値エスケープの 256 より小さい値が、 | |
7131 | エンコーディングプラグマで指定した変換によって 一つの文字に対応していません。 | |
7132 | エスケープは代わりに REPLACEMENT CHARACTER (U+FFFD) に置き換えられます; | |
7133 | ただし、S<C<(?[ ])>> の内側の場合は致命的エラーになります。 | |
7134 | S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。 | |
7135 | ||
7136 | =item Invalid hexadecimal number in \N{U+...} | |
7137 | ||
7138 | =item Invalid hexadecimal number in \N{U+...} in regex; marked by | |
7139 | S<<-- HERE> in m/%s/ | |
7140 | ||
7141 | =begin original | |
7142 | ||
7143 | (F) The character constant represented by C<...> is not a valid hexadecimal | |
7144 | number. Either it is empty, or you tried to use a character other than | |
7145 | 0 - 9 or A - F, a - f in a hexadecimal number. | |
7146 | ||
7147 | =end original | |
7148 | ||
7149 | (F) C<...> で表現された文字定数は妥当な 16 進数ではありません。 | |
7150 | 空か、16 進数の中に 0 - 9, A - F, a - f 以外の文字を使おうとしました。 | |
7151 | ||
7152 | =item Invalid module name %s with -%c option: contains single ':' | |
7153 | ||
7154 | =begin original | |
7155 | ||
7156 | (F) The module argument to perl's B<-m> and B<-M> command-line options | |
7157 | cannot contain single colons in the module name, but only in the | |
7158 | arguments after "=". In other words, B<-MFoo::Bar=:baz> is ok, but | |
7159 | B<-MFoo:Bar=baz> is not. | |
7160 | ||
7161 | =end original | |
7162 | ||
7163 | (F) perl の B<-m> と B<-M> のコマンドラインオプションでのモジュール引数は、 | |
7164 | モジュール名では単一のコロンを含むことが出来ず、"=" の後でのみ含むことが | |
7165 | できます。 | |
7166 | 言い換えると、B<-MFoo::Bar=:baz> は OK ですが、B<-MFoo:Bar=baz> は | |
7167 | そうではありません。 | |
7168 | ||
7169 | =item Invalid mro name: '%s' | |
7170 | ||
7171 | =begin original | |
7172 | ||
7173 | (F) You tried to C<mro::set_mro("classname", "foo")> or C<use mro 'foo'>, | |
7174 | where C<foo> is not a valid method resolution order (MRO). Currently, | |
7175 | the only valid ones supported are C<dfs> and C<c3>, unless you have loaded | |
7176 | a module that is a MRO plugin. See L<mro> and L<perlmroapi>. | |
7177 | ||
7178 | =end original | |
7179 | ||
7180 | (F) C<mro::set_mro("classname", "foo")> または C<use mro 'foo'> を使おうと | |
7181 | しましたが、C<foo> は有効なメソッド解決順序 (MRO) ではありません。 | |
7182 | 現在のところ、MRO プラグインモジュールを読み込まない限り、対応として | |
7183 | 有効なものは C<dfs> と C<c3> だけです。 | |
7184 | L<mro> と L<perlmroapi> を参照してください。 | |
7185 | ||
7186 | =item Invalid negative number (%s) in chr | |
7187 | ||
7188 | =begin original | |
7189 | ||
7190 | (W utf8) You passed a negative number to C<chr>. Negative numbers are | |
7191 | not valid character numbers, so it returns the Unicode replacement | |
7192 | character (U+FFFD). | |
7193 | ||
7194 | =end original | |
7195 | ||
7196 | (W utf8) C<chr> に負数を渡しました。 | |
7197 | 負数は正当な文字番号ではないので、Unicode 代替文字 (U+FFFD) を返します。 | |
7198 | ||
7199 | =item Invalid number '%s' for -C option. | |
7200 | ||
7201 | =begin original | |
7202 | ||
7203 | (F) You supplied a number to the -C option that either has extra leading | |
7204 | zeroes or overflows perl's unsigned integer representation. | |
7205 | ||
7206 | =end original | |
7207 | ||
7208 | (F) -C オプションに、前に 0 がついていたり、perl の符号なし整数表現を | |
7209 | オーバーフローするといったような数値を指定しました。 | |
7210 | ||
7211 | =item invalid option -D%c, use -D'' to see choices | |
7212 | ||
7213 | =begin original | |
7214 | ||
7215 | (S debugging) Perl was called with invalid debugger flags. Call perl | |
7216 | with the B<-D> option with no flags to see the list of acceptable values. | |
7217 | See also L<perlrun/-Dletters>. | |
7218 | ||
7219 | =end original | |
7220 | ||
7221 | (F) Perl は不正なデバッガフラグで呼び出されました。 | |
7222 | 受け付けられる値の一覧を見るには、フラグなしの B<-D> オプションをつけて | |
7223 | perl を呼び出してください。 | |
7224 | L<< perlrun/B<-D>I<letters> >> も参照してください。 | |
7225 | ||
7226 | =item Invalid quantifier in {,} in regex; marked by S<<-- HERE> in m/%s/ | |
7227 | ||
7228 | =begin original | |
7229 | ||
7230 | (F) The pattern looks like a {min,max} quantifier, but the min or max | |
7231 | could not be parsed as a valid number - either it has leading zeroes, | |
7232 | or it represents too big a number to cope with. The S<<-- HERE> shows | |
7233 | where in the regular expression the problem was discovered. See L<perlre>. | |
7234 | ||
7235 | =end original | |
7236 | ||
7237 | (F) パターンは {min,max} 量指定子のように見えますが、min または max が | |
7238 | 正当な数値としてパースできませんでした - 先頭に 0 が付いているか、 | |
7239 | 数値として扱うには大きすぎます。 | |
7240 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
7241 | L<perlre> を参照してください。 | |
7242 | ||
7243 | =item Invalid [] range "%s" in regex; marked by S<<-- HERE> in m/%s/ | |
7244 | ||
7245 | =begin original | |
7246 | ||
3977 | 7247 | (F) The range specified in a character class had a minimum character |
3978 | greater than the maximum character. | |
7248 | greater than the maximum character. One possibility is that you forgot the | |
7249 | C<{}> from your ending C<\x{}> - C<\x> without the curly braces can go only | |
7250 | up to C<ff>. The S<<-- HERE> shows whereabouts in the regular expression the | |
7251 | problem was discovered. See L<perlre>. | |
3979 | 7252 | |
3980 | 7253 | =end original |
3981 | 7254 | |
3982 | 7255 | (F) 文字クラスに指定した範囲の最小値が、最大値よりも大きくなっています。 |
7256 | ひとつの可能性としては、末尾の C<\x{}> から C<{}> を | |
7257 | 忘れているということです - 中かっこなしの C<\x> は C<ff> までにしか | |
7258 | なりません。 | |
7259 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
3983 | 7260 | L<perlre> を参照してください。 |
3984 | 7261 | |
7262 | =item Invalid range "%s" in transliteration operator | |
7263 | ||
7264 | =begin original | |
7265 | ||
7266 | (F) The range specified in the tr/// or y/// operator had a minimum | |
7267 | character greater than the maximum character. See L<perlop>. | |
7268 | ||
7269 | =end original | |
7270 | ||
7271 | (F) tr/// や y/// の演算子での範囲指定で、最大の文字より最小の文字の方が | |
7272 | 大きいです。 | |
7273 | L<perlop> を参照してください。 | |
7274 | ||
3985 | 7275 | =item Invalid separator character %s in attribute list |
3986 | 7276 | |
3987 | 7277 | =begin original |
3988 | 7278 | |
3989 | 7279 | (F) Something other than a colon or whitespace was seen between the |
3990 | 7280 | elements of an attribute list. If the previous attribute had a |
3991 | 7281 | parenthesised parameter list, perhaps that list was terminated too soon. |
3992 | 7282 | See L<attributes>. |
3993 | 7283 | |
3994 | 7284 | =end original |
3995 | 7285 | |
3996 | 7286 | (F) 属性リストの要素の間にコロンと空白以外のものがあります。 |
3997 | 7287 | 直前の属性がかっこ付きのパラメータリストの場合、おそらくリストが |
3998 | 7288 | 予定より早く終端されています。 |
3999 | 7289 | L<attributes> を参照してください。 |
4000 | 7290 | |
4001 | =item Invalid | |
7291 | =item Invalid separator character %s in PerlIO layer specification %s | |
4002 | 7292 | |
4003 | 7293 | =begin original |
4004 | 7294 | |
4005 | ( | |
7295 | (W layer) When pushing layers onto the Perl I/O system, something other | |
4006 | ||
7296 | than a colon or whitespace was seen between the elements of a layer list. | |
4007 | si | |
7297 | If the previous attribute had a parenthesised parameter list, perhaps that | |
7298 | list was terminated too soon. | |
4008 | 7299 | |
4009 | 7300 | =end original |
4010 | 7301 | |
4011 | ( | |
7302 | (W layer) 層を Perl I/O システムに押し込むときに、層リストの要素の間に | |
4012 | ||
7303 | コロンと空白以外のものがありました。 | |
4013 | ||
7304 | 直前の属性がかっこ付きのパラメータリストの場合、おそらくリストが | |
4014 | ||
7305 | 予定より早く終端されています。 | |
4015 | 7306 | |
4016 | =item Invalid t | |
7307 | =item Invalid strict version format (%s) | |
4017 | 7308 | |
4018 | 7309 | =begin original |
4019 | 7310 | |
4020 | (F) | |
7311 | (F) A version number did not meet the "strict" criteria for versions. | |
4021 | ||
7312 | A "strict" version number is a positive decimal number (integer or | |
4022 | ||
7313 | decimal-fraction) without exponentiation or else a dotted-decimal | |
7314 | v-string with a leading 'v' character and at least three components. | |
7315 | The parenthesized text indicates which criteria were not met. | |
7316 | See the L<version> module for more details on allowed version formats. | |
7317 | ||
7318 | =end original | |
7319 | ||
7320 | (F) バージョン番号がバージョンの「厳密な」基準に一致しませんでした。 | |
7321 | 「厳密な」バージョン番号は、指数なしの正の 10 進数 (整数または 10 進小数)か、 | |
7322 | さもなければどっと付き 10 進 v-文字列で先頭に 'v' の文字があり、少なくとも | |
7323 | 三つの部分からなるものです。 | |
7324 | かっこで囲まれたテキストは問題の基準を示しています。 | |
7325 | 許されるバージョンオブジェクトに関するさらなる詳細については | |
7326 | L<version> モジュールを参照してください。 | |
7327 | ||
7328 | =item Invalid type '%s' in %s | |
7329 | ||
7330 | =begin original | |
7331 | ||
7332 | (F) The given character is not a valid pack or unpack type. | |
7333 | See L<perlfunc/pack>. | |
7334 | ||
7335 | =end original | |
7336 | ||
7337 | (F) 与えられた文字は有効な pack や unpack の型ではありません。 | |
7338 | L<perlfunc/pack> を参照してください。 | |
7339 | ||
7340 | =begin original | |
7341 | ||
7342 | (W) The given character is not a valid pack or unpack type but used to be | |
4023 | 7343 | silently ignored. |
4024 | 7344 | |
4025 | 7345 | =end original |
4026 | 7346 | |
4027 | ( | |
7347 | (W) 与えられた文字は有効な pack や unpack の型ではありませんが、暗黙に | |
4028 | L<perlfunc/unpack> を参照してください。 | |
4029 | (W unpack) 与えられた文字は有効な unpack の型ではありませんが、暗黙に | |
4030 | 7348 | 無視されました。 |
4031 | 7349 | |
7350 | =item Invalid version format (%s) | |
7351 | ||
7352 | =begin original | |
7353 | ||
7354 | (F) A version number did not meet the "lax" criteria for versions. | |
7355 | A "lax" version number is a positive decimal number (integer or | |
7356 | decimal-fraction) without exponentiation or else a dotted-decimal | |
7357 | v-string. If the v-string has fewer than three components, it | |
7358 | must have a leading 'v' character. Otherwise, the leading 'v' is | |
7359 | optional. Both decimal and dotted-decimal versions may have a | |
7360 | trailing "alpha" component separated by an underscore character | |
7361 | after a fractional or dotted-decimal component. The parenthesized | |
7362 | text indicates which criteria were not met. See the L<version> module | |
7363 | for more details on allowed version formats. | |
7364 | ||
7365 | =end original | |
7366 | ||
7367 | (F) バージョン番号がバージョンの「緩い」基準に一致しませんでした。 | |
7368 | 「緩い」バージョン番号は指数なしの正の 10 進数(整数または 10 進小数)か、 | |
7369 | あるいはどっと付き 10 進 v-文字列です。 | |
7370 | v-文字列の要素が三つ未満の場合、先頭に 'v' 文字が必要です。 | |
7371 | さもなければ、先頭の 'v' はオプションです。 | |
7372 | 10 進とドット付き 10 進の両方のバージョンは、小数またはドット付き 10 進 | |
7373 | 要素の後に下線で区切られた「α」要素が引き続くこともあります。 | |
7374 | かっこで囲まれたテキストは問題の基準を示しています。 | |
7375 | 許されるバージョンオブジェクトに関するさらなる詳細については | |
7376 | L<version> モジュールを参照してください。 | |
7377 | ||
7378 | =item Invalid version object | |
7379 | ||
7380 | =begin original | |
7381 | ||
7382 | (F) The internal structure of the version object was invalid. | |
7383 | Perhaps the internals were modified directly in some way or | |
7384 | an arbitrary reference was blessed into the "version" class. | |
7385 | ||
7386 | =end original | |
7387 | ||
7388 | (F) バージョンオブジェクトの内部構造が不正です。 | |
7389 | おそらく何らかの方法で内部が直接変更されたか、任意のリファレンスが | |
7390 | "version" クラスとして bless されました。 | |
7391 | ||
7392 | =item In '(*VERB...)', the '(' and '*' must be adjacent in regex; | |
7393 | marked by S<<-- HERE> in m/%s/ | |
7394 | ||
7395 | =begin original | |
7396 | ||
7397 | (F) The two-character sequence C<"(*"> in this context in a regular | |
7398 | expression pattern should be an indivisible token, with nothing | |
7399 | intervening between the C<"("> and the C<"*">, but you separated them. | |
7400 | ||
7401 | =end original | |
7402 | ||
7403 | (F) 正規表現中のこのコンテキストでの 2 文字並び C<"(*"> は分割できない | |
7404 | トークンで、C<"("> と C<"*"> の間には何も入らないはずですが、これを | |
7405 | 分割しました。 | |
7406 | ||
4032 | 7407 | =item ioctl is not implemented |
4033 | 7408 | |
4034 | 7409 | =begin original |
4035 | 7410 | |
4036 | 7411 | (F) Your machine apparently doesn't implement ioctl(), which is pretty |
4037 | 7412 | strange for a machine that supports C. |
4038 | 7413 | |
4039 | 7414 | =end original |
4040 | 7415 | |
4041 | 7416 | (F) C をサポートしているマシンではおかしなことだと思いますが、 |
4042 | 7417 | このマシンでは ioctl() が実装されていないようです。 |
4043 | 7418 | |
4044 | =item | |
7419 | =item ioctl() on unopened %s | |
4045 | 7420 | |
4046 | 7421 | =begin original |
4047 | 7422 | |
4048 | (W | |
7423 | (W unopened) You tried ioctl() on a filehandle that was never opened. | |
4049 | ||
7424 | Check your control flow and number of arguments. | |
4050 | to a subroutine. | |
4051 | 7425 | |
4052 | 7426 | =end original |
4053 | 7427 | |
4054 | (W | |
7428 | (W unopened) 開いていないファイルハンドルに ioctl() を使おうとしました。 | |
4055 | ||
7429 | 制御フローと引数の数をチェックしてください。 | |
7430 | ||
7431 | =item IO layers (like '%s') unavailable | |
7432 | ||
7433 | =begin original | |
7434 | ||
7435 | (F) Your Perl has not been configured to have PerlIO, and therefore | |
7436 | you cannot use IO layers. To have PerlIO, Perl must be configured | |
7437 | with 'useperlio'. | |
7438 | ||
7439 | =end original | |
7440 | ||
7441 | (F) この Perl は PerlIO を使うように設定されていないので、IO 層は使えません。 | |
7442 | PerlIO を使うには、'useperlio' 付きで設定する必要があります。 | |
7443 | ||
7444 | =item IO::Socket::atmark not implemented on this architecture | |
7445 | ||
7446 | =begin original | |
7447 | ||
7448 | (F) Your machine doesn't implement the sockatmark() functionality, | |
7449 | neither as a system call nor an ioctl call (SIOCATMARK). | |
7450 | ||
7451 | =end original | |
7452 | ||
7453 | (F) 実行されているマシンでは、システムコールでも | |
7454 | ioctl コール(SIOCATMARK) でも sockatmark() 機能が実装されていません。 | |
7455 | ||
7456 | =item '%s' is an unknown bound type in regex; marked by S<<-- HERE> in m/%s/ | |
7457 | ||
7458 | =begin original | |
7459 | ||
7460 | (F) You used C<\b{...}> or C<\B{...}> and the C<...> is not known to | |
7461 | Perl. The current valid ones are given in | |
7462 | L<perlrebackslash/\b{}, \b, \B{}, \B>. | |
7463 | ||
7464 | =end original | |
7465 | ||
7466 | (F) あなたは C<\b{...}> または C<\B{...}> を使いましたが C<...> は | |
7467 | Perl が知らないものでした。 | |
7468 | 現在有効なものは L<perlrebackslash/\b{}, \b, \B{}, \B> にあるものです。 | |
7469 | ||
7470 | =item %s() is deprecated on :utf8 handles. This will be a fatal error in Perl 5.30 | |
7471 | ||
7472 | =begin original | |
7473 | ||
7474 | (D deprecated) The sysread(), recv(), syswrite() and send() operators are | |
7475 | deprecated on handles that have the C<:utf8> layer, either explicitly, or | |
7476 | implicitly, eg., with the C<:encoding(UTF-16LE)> layer. | |
7477 | ||
7478 | =end original | |
7479 | ||
7480 | (D deprecated) sysread(), recv(), syswrite() and send() 演算子は、 | |
7481 | 明示的あるいは C<:encoding(UTF-16LE)> 層のような暗黙的かに関わらず、 | |
7482 | C<:utf8> 層を持つハンドルに対しては廃止予定です。 | |
7483 | ||
7484 | =begin original | |
7485 | ||
7486 | Both sysread() and recv() currently use only the C<:utf8> flag for the stream, | |
7487 | ignoring the actual layers. Since sysread() and recv() do no UTF-8 | |
7488 | validation they can end up creating invalidly encoded scalars. | |
7489 | ||
7490 | =end original | |
7491 | ||
7492 | sysread() と recv() は現在の所ストリームに対して C<:utf8> フラグのみを | |
7493 | 使い、実際の層は無視します。 | |
7494 | sysread() と recv() は UTF-8 の検証を行わないので、 | |
7495 | 不正にエンコードされたスカラを作ることになる可能性があります。 | |
7496 | ||
7497 | =begin original | |
7498 | ||
7499 | Similarly, syswrite() and send() use only the C<:utf8> flag, otherwise ignoring | |
7500 | any layers. If the flag is set, both write the value UTF-8 encoded, even if | |
7501 | the layer is some different encoding, such as the example above. | |
7502 | ||
7503 | =end original | |
7504 | ||
7505 | 同様に、syswrite() は send() C<:utf8> フラグのみを使い、 | |
7506 | それ以外は全ての層を無視します。 | |
7507 | フラグがセットされると、例え層が前述の例のように異なった | |
7508 | エンコーディングでも、UTF-8 エンコードされた値を書き込みます。 | |
7509 | ||
7510 | =begin original | |
7511 | ||
7512 | Ideally, all of these operators would completely ignore the C<:utf8> state, | |
7513 | working only with bytes, but this would result in silently breaking existing | |
7514 | code. | |
7515 | ||
7516 | =end original | |
7517 | ||
7518 | 理想的には、これらの演算子全ては完全に C<:utf8> 状態を無視して | |
7519 | バイトに対してのみ動作するべきですが、これは既存のコードを暗黙に | |
7520 | 壊すことになります。 | |
7521 | ||
7522 | =begin original | |
7523 | ||
7524 | In Perl 5.30, it will no longer be possible to use sysread(), recv(), | |
7525 | syswrite() or send() to read or send bytes from/to :utf8 handles. | |
7526 | ||
7527 | =end original | |
7528 | ||
7529 | Perl 5.30 で、:utf8 ハンドルを使って sysread(), recv(), syswrite(), send() で | |
7530 | バイトを読み書きすることはもはやできなくなる予定です。 | |
7531 | ||
7532 | =item "%s" is more clearly written simply as "%s" in regex; marked by S<<-- HERE> in m/%s/ | |
7533 | ||
7534 | =begin original | |
7535 | ||
7536 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
7537 | ||
7538 | =end original | |
7539 | ||
7540 | (W regexp) (C<S<use re 'strict'>> の基か C<(?[...])> の内側のみ) | |
7541 | ||
7542 | =begin original | |
7543 | ||
7544 | You specified a character that has the given plainer way of writing it, and | |
7545 | which is also portable to platforms running with different character sets. | |
7546 | ||
7547 | =end original | |
7548 | ||
7549 | それを書くのにより平坦な方法があり、さらに異なる文字集合で実行される | |
7550 | プラットフォーム間で移植性のある文字を指定しました。 | |
7551 | ||
7552 | =item $* is no longer supported. Its use will be fatal in Perl 5.30 | |
7553 | ||
7554 | =begin original | |
7555 | ||
7556 | (D deprecated, syntax) The special variable C<$*>, deprecated in older | |
7557 | perls, has been removed as of 5.10.0 and is no longer supported. In | |
7558 | previous versions of perl the use of C<$*> enabled or disabled multi-line | |
7559 | matching within a string. | |
7560 | ||
7561 | =end original | |
7562 | ||
7563 | (D deprecated, syntax) より古い perl で廃止予定とされた特殊変数 C<$*> は | |
7564 | 5.10.0 で削除され、もはや対応していません。 | |
7565 | 以前のバージョンの perl では、C<$*> は文字列中の複数行マッチングを有効または | |
7566 | 無効にするために使っていました。 | |
7567 | ||
7568 | =begin original | |
7569 | ||
7570 | Instead of using C<$*> you should use the C</m> (and maybe C</s>) regexp | |
7571 | modifiers. You can enable C</m> for a lexical scope (even a whole file) | |
7572 | with C<use re '/m'>. (In older versions: when C<$*> was set to a true value | |
7573 | then all regular expressions behaved as if they were written using C</m>.) | |
7574 | ||
7575 | =end original | |
7576 | ||
7577 | C<$*> を使う代わりに、C</m> (とおそらく C</s>) 正規表現修飾子を | |
7578 | 使うべきです。 | |
7579 | C<use re '/m'> でレキシカルスコープで (ファイル全体でも) C</m> を | |
7580 | 有効にできます。 | |
7581 | (より古いバージョンでは: C<$*> を真の値に設定すると全ての正規表現は | |
7582 | C</m> を使って書かれたかのように振る舞っていました。) | |
7583 | ||
7584 | =begin original | |
7585 | ||
7586 | Use of this variable will be a fatal error in Perl 5.30. | |
7587 | ||
7588 | =end original | |
7589 | ||
7590 | この変数の使用は Perl 5.30 から致命的エラーになります。 | |
7591 | ||
7592 | =item $# is no longer supported. Its use will be fatal in Perl 5.30 | |
7593 | ||
7594 | =begin original | |
7595 | ||
7596 | (D deprecated, syntax) The special variable C<$#>, deprecated in older | |
7597 | perls, has been removed as of 5.10.0 and is no longer supported. You | |
7598 | should use the printf/sprintf functions instead. | |
7599 | ||
7600 | =end original | |
7601 | ||
7602 | (D deprecated, syntax) より古い perl で廃止予定とされた特殊変数 C<$#> は | |
7603 | 5.10.0 で削除され、もはや対応していません。 | |
7604 | 代わりに printf/sprintf 関数を使うべきです。 | |
7605 | ||
7606 | =begin original | |
7607 | ||
7608 | Use of this variable will be a fatal error in Perl 5.30. | |
7609 | ||
7610 | =end original | |
7611 | ||
7612 | この変数の使用は Perl 5.30 から致命的エラーになります。 | |
7613 | ||
7614 | =item '%s' is not a code reference | |
7615 | ||
7616 | =begin original | |
7617 | ||
7618 | (W overload) The second (fourth, sixth, ...) argument of | |
7619 | overload::constant needs to be a code reference. Either | |
7620 | an anonymous subroutine, or a reference to a subroutine. | |
7621 | ||
7622 | =end original | |
7623 | ||
7624 | (W overload) overload::constant の 2 番目 (4 番目、6 番目, ...) の引数は | |
7625 | コードリファレンスである必要があります。 | |
4056 | 7626 | 無名サブルーチンか、サブルーチンへのリファレンスです。 |
4057 | 7627 | |
4058 | =item | |
7628 | =item '%s' is not an overloadable type | |
4059 | 7629 | |
4060 | 7630 | =begin original |
4061 | 7631 | |
4062 | (W) You tried to overload a constant type the overload package is | |
7632 | (W overload) You tried to overload a constant type the overload package is | |
7633 | unaware of. | |
4063 | 7634 | |
4064 | 7635 | =end original |
4065 | 7636 | |
4066 | (W) オーバーロードパッケージが知らない定数型を | |
7637 | (W overload) オーバーロードパッケージが知らない定数型を | |
7638 | オーバーロードしようとしました。 | |
4067 | 7639 | |
4068 | =item | |
7640 | =item -i used with no filenames on the command line, reading from STDIN | |
4069 | 7641 | |
4070 | 7642 | =begin original |
4071 | 7643 | |
7644 | (S inplace) The C<-i> option was passed on the command line, indicating | |
7645 | that the script is intended to edit files in place, but no files were | |
7646 | given. This is usually a mistake, since editing STDIN in place doesn't | |
7647 | make sense, and can be confusing because it can make perl look like | |
7648 | it is hanging when it is really just trying to read from STDIN. You | |
7649 | should either pass a filename to edit, or remove C<-i> from the command | |
7650 | line. See L<perlrun> for more details. | |
7651 | ||
7652 | =end original | |
7653 | ||
7654 | (S inplace) The C<-i> オプションがコマンドラインで渡されました; これは | |
7655 | スクリプトがファイルをその場で編集することを示していますが、ファイルが | |
7656 | 指定されませんでした。 | |
7657 | これは普通はミスです; STDIN をその場で編集するというのは無意味ですし、 | |
7658 | 本当に単に STDIN から読み込もうとしているだけのときに perl が | |
7659 | ハングしているように見えることがあるので混乱を引き起こします。 | |
7660 | 編集するファイル名を指定するか、コマンドラインから C<-i> を | |
7661 | 取り除いてください。 | |
7662 | さらなる詳細については L<perlrun> を参照してください。 | |
7663 | ||
7664 | =item Junk on end of regexp in regex m/%s/ | |
7665 | ||
7666 | =begin original | |
7667 | ||
4072 | 7668 | (P) The regular expression parser is confused. |
4073 | 7669 | |
4074 | 7670 | =end original |
4075 | 7671 | |
4076 | 7672 | (P) 正規表現の構文解析ができなくなりました。 |
4077 | 7673 | |
4078 | 7674 | =item Label not found for "last %s" |
4079 | 7675 | |
4080 | 7676 | =begin original |
4081 | 7677 | |
4082 | 7678 | (F) You named a loop to break out of, but you're not currently in a loop |
4083 | 7679 | of that name, not even if you count where you were called from. See |
4084 | 7680 | L<perlfunc/last>. |
4085 | 7681 | |
4086 | 7682 | =end original |
4087 | 7683 | |
4088 | 7684 | (F) 脱出するループを指定しましたが、その名前のループの中にいません、 |
4089 | 7685 | たとえ、呼び出された場所がそうであっても、今はそうではありません。 |
4090 | 7686 | L<perlfunc/last> を参照してください。 |
4091 | 7687 | |
4092 | 7688 | =item Label not found for "next %s" |
4093 | 7689 | |
4094 | 7690 | =begin original |
4095 | 7691 | |
4096 | 7692 | (F) You named a loop to continue, but you're not currently in a loop of |
4097 | 7693 | that name, not even if you count where you were called from. See |
4098 | 7694 | L<perlfunc/last>. |
4099 | 7695 | |
4100 | 7696 | =end original |
4101 | 7697 | |
4102 | (F) 次の繰り返しを行なうループを指定しましたが、 | |
7698 | (F) 次の繰り返しを行なうループを指定しましたが、その名前のループの中に | |
4103 | ||
7699 | いません; たとえ、呼び出された場所がそうであっても、今はそうではありません。 | |
4104 | たとえ、呼び出された場所がそうであっても、今はそうではありません。 | |
4105 | 7700 | L<perlfunc/last> を参照してください。 |
4106 | 7701 | |
4107 | 7702 | =item Label not found for "redo %s" |
4108 | 7703 | |
4109 | 7704 | =begin original |
4110 | 7705 | |
4111 | 7706 | (F) You named a loop to restart, but you're not currently in a loop of |
4112 | 7707 | that name, not even if you count where you were called from. See |
4113 | 7708 | L<perlfunc/last>. |
4114 | 7709 | |
4115 | 7710 | =end original |
4116 | 7711 | |
4117 | (F) 繰り返しの再実行を行なうループを指定しましたが、 | |
7712 | (F) 繰り返しの再実行を行なうループを指定しましたが、その名前のループの中に | |
4118 | ||
7713 | いません; たとえ、呼び出された場所がそうであっても、今はそうではありません。 | |
4119 | たとえ、呼び出された場所がそうであっても、今はそうではありません。 | |
4120 | 7714 | L<perlfunc/last> を参照してください。 |
4121 | 7715 | |
4122 | 7716 | =item leaving effective %s failed |
4123 | 7717 | |
4124 | 7718 | =begin original |
4125 | 7719 | |
4126 | 7720 | (F) While under the C<use filetest> pragma, switching the real and |
4127 | 7721 | effective uids or gids failed. |
4128 | 7722 | |
4129 | 7723 | =end original |
4130 | 7724 | |
4131 | 7725 | (F) C<use filetest> プラグマを使っている間に、 |
4132 | 7726 | 実と実効の UID や GID の切り替えに失敗しました。 |
4133 | 7727 | |
7728 | =item length/code after end of string in unpack | |
7729 | ||
7730 | =begin original | |
7731 | ||
7732 | (F) While unpacking, the string buffer was already used up when an unpack | |
7733 | length/code combination tried to obtain more data. This results in | |
7734 | an undefined value for the length. See L<perlfunc/pack>. | |
7735 | ||
7736 | =end original | |
7737 | ||
7738 | (F) unpack する間、さらなるデータを取り出すために長さ/コードの組み合わせを | |
7739 | unpack するときに文字列バッファが既に使い切っていました。 | |
7740 | これにより、長さが未定義値となります。 | |
7741 | L<perlfunc/pack> を参照してください。 | |
7742 | ||
7743 | =item length() used on %s (did you mean "scalar(%s)"?) | |
7744 | ||
7745 | =begin original | |
7746 | ||
7747 | (W syntax) You used length() on either an array or a hash when you | |
7748 | probably wanted a count of the items. | |
7749 | ||
7750 | =end original | |
7751 | ||
7752 | (W syntax) おそらくアイテムの数を知りたいときに配列やハッシュに対して | |
7753 | length() を使いました。 | |
7754 | ||
7755 | =begin original | |
7756 | ||
7757 | Array size can be obtained by doing: | |
7758 | ||
7759 | =end original | |
7760 | ||
7761 | 配列の大きさは以下のようにして得られます: | |
7762 | ||
7763 | scalar(@array); | |
7764 | ||
7765 | =begin original | |
7766 | ||
7767 | The number of items in a hash can be obtained by doing: | |
7768 | ||
7769 | =end original | |
7770 | ||
7771 | ハッシュの要素数は以下のようにして得られます: | |
7772 | ||
7773 | scalar(keys %hash); | |
7774 | ||
7775 | =item Lexing code attempted to stuff non-Latin-1 character into Latin-1 input | |
7776 | ||
7777 | =begin original | |
7778 | ||
7779 | (F) An extension is attempting to insert text into the current parse | |
7780 | (using L<lex_stuff_pvn|perlapi/lex_stuff_pvn> or similar), but tried to insert a character that | |
7781 | couldn't be part of the current input. This is an inherent pitfall | |
7782 | of the stuffing mechanism, and one of the reasons to avoid it. Where | |
7783 | it is necessary to stuff, stuffing only plain ASCII is recommended. | |
7784 | ||
7785 | =end original | |
7786 | ||
7787 | (F) エクステンションが(L<lex_stuff_pvn|perlapi/lex_stuff_pvn> や | |
7788 | 同様なものを使って)現在のパースにテキストを挿入しようとしましたが、 | |
7789 | 現在の入力の一部となることができない文字を挿入しようとしました。 | |
7790 | これは詰め物機構の生来の落とし穴で、これを避けるための理由の一つです。 | |
7791 | 詰め物が必要なところでは、プレーン ASCII のみを詰めることを推奨します。 | |
7792 | ||
7793 | =item Lexing code internal error (%s) | |
7794 | ||
7795 | =begin original | |
7796 | ||
7797 | (F) Lexing code supplied by an extension violated the lexer's API in a | |
7798 | detectable way. | |
7799 | ||
7800 | =end original | |
7801 | ||
7802 | (F) エクステンションによって供給された文法解析コードが、検出できる方法で | |
7803 | 文法解析器の API に違反しています。 | |
7804 | ||
4134 | 7805 | =item listen() on closed socket %s |
4135 | 7806 | |
4136 | 7807 | =begin original |
4137 | 7808 | |
4138 | 7809 | (W closed) You tried to do a listen on a closed socket. Did you forget |
4139 | 7810 | to check the return value of your socket() call? See |
4140 | 7811 | L<perlfunc/listen>. |
4141 | 7812 | |
4142 | 7813 | =end original |
4143 | 7814 | |
4144 | 7815 | (W closed) クローズされたソケットに listen を行なおうとしました。 |
4145 | 7816 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
4146 | 7817 | L<perlfunc/listen> を参照してください。 |
4147 | 7818 | |
4148 | =item Loo | |
7819 | =item List form of piped open not implemented | |
4149 | 7820 | |
4150 | 7821 | =begin original |
4151 | 7822 | |
4152 | ||
7823 | (F) On some platforms, notably Windows, the three-or-more-arguments | |
4153 | re | |
7824 | form of C<open> does not support pipes, such as C<open($pipe, '|-', @args)>. | |
7825 | Use the two-argument C<open($pipe, '|prog arg1 arg2...')> form instead. | |
4154 | 7826 | |
4155 | 7827 | =end original |
4156 | 7828 | |
4157 | ( | |
7829 | (F) 一部のプラットフォーム、特に Windows では、 | |
7830 | C<open($pipe, '|-', @args)> のような、3 以上の引数の形式の | |
7831 | C<open> ではパイプに対応していません。 | |
7832 | 代わりに 2 引数 C<open($pipe, '|prog arg1 arg2...')> 形式を使ってください。 | |
4158 | 7833 | |
4159 | =item L | |
7834 | =item Literal vertical space in [] is illegal except under /x in regex; | |
7835 | marked by S<<-- HERE> in m/%s/ | |
4160 | 7836 | |
4161 | 7837 | =begin original |
4162 | 7838 | |
4163 | (F) | |
7839 | (F) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
4164 | values cannot be returned in subroutines used in lvalue context. See | |
4165 | L<perlsub/"Lvalue subroutines">. | |
4166 | 7840 | |
4167 | 7841 | =end original |
4168 | 7842 | |
4169 | (F) | |
7843 | (F) (C<S<use re 'strict'>> の下、または C<(?[...])> の中のみ) | |
4170 | 配列とハッシュの値を返すことができません。 | |
4171 | L<perlsub/"Lvalue subroutines"> を参照してください。 | |
4172 | 7844 | |
4173 | = | |
7845 | =begin original | |
4174 | 7846 | |
7847 | Likely you forgot the C</x> modifier or there was a typo in the pattern. | |
7848 | For example, did you really mean to match a form-feed? If so, all the | |
7849 | ASCII vertical space control characters are representable by escape | |
7850 | sequences which won't present such a jarring appearance as your pattern | |
7851 | does when displayed. | |
7852 | ||
7853 | =end original | |
7854 | ||
7855 | おそらく C</x> 修飾子を忘れたか、パターンの中にタイプミスがあるのでしょう。 | |
7856 | 例えば、本当に改ページとマッチングしたかったのですか? | |
7857 | もしそうなら、全ての ASCII の垂直スペース制御文字は、 | |
7858 | パターンを表示したときに不愉快な形で表現されることのない、 | |
7859 | エスケープシーケンスによって表現できます。 | |
7860 | ||
7861 | \r carriage return | |
7862 | \f form feed | |
7863 | \n line feed | |
7864 | \cK vertical tab | |
7865 | ||
7866 | =item %s: loadable library and perl binaries are mismatched (got handshake key %p, needed %p) | |
7867 | ||
4175 | 7868 | =begin original |
4176 | 7869 | |
7870 | (P) A dynamic loading library C<.so> or C<.dll> was being loaded into the | |
7871 | process that was built against a different build of perl than the | |
7872 | said library was compiled against. Reinstalling the XS module will | |
7873 | likely fix this error. | |
7874 | ||
7875 | =end original | |
7876 | ||
7877 | (P) 動的ロードライブラリ C<.so> が C<.dll> が、ライブラリが | |
7878 | コンパイルされたとするビルドと異なるビルドの perl に対して読み込まれました。 | |
7879 | XS モジュールを再インストールすることでおそらくこのエラーは | |
7880 | 修正されるでしょう。 | |
7881 | ||
7882 | =item Locale '%s' contains (at least) the following characters which | |
7883 | have unexpected meanings: %s The Perl program will use the expected | |
7884 | meanings | |
7885 | ||
7886 | =begin original | |
7887 | ||
7888 | (W locale) You are using the named UTF-8 locale. UTF-8 locales are | |
7889 | expected to have very particular behavior, which most do. This message | |
7890 | arises when perl found some departures from the expectations, and is | |
7891 | notifying you that the expected behavior overrides these differences. | |
7892 | In some cases the differences are caused by the locale definition being | |
7893 | defective, but the most common causes of this warning are when there are | |
7894 | ambiguities and conflicts in following the Standard, and the locale has | |
7895 | chosen an approach that differs from Perl's. | |
7896 | ||
7897 | =end original | |
7898 | ||
7899 | (W locale) 名前付きの UTF-8 ロケールを使っています。 | |
7900 | UTF-8 ロケールは、ほとんどの人がするような、とても特殊な振る舞いをすることが | |
7901 | 想定されています。 | |
7902 | このメッセージは、perl がこの想定との違いを発見し、その違いを | |
7903 | 想定される振る舞いで上書きしたことを通知するときに発生します。 | |
7904 | 違いはロケール定義に問題があることによる場合もありますが、 | |
7905 | この警告のもっとも一般的な原因は、標準に従う際に曖昧さや衝突があり、 | |
7906 | ロケールが Perl のものと異なる手法を選んだときです。 | |
7907 | ||
7908 | =begin original | |
7909 | ||
7910 | One of these is because that, contrary to the claims, Unicode is not | |
7911 | completely locale insensitive. Turkish and some related languages | |
7912 | have two types of C<"I"> characters. One is dotted in both upper- and | |
7913 | lowercase, and the other is dotless in both cases. Unicode allows a | |
7914 | locale to use either the Turkish rules, or the rules used in all other | |
7915 | instances, where there is only one type of C<"I">, which is dotless in | |
7916 | the uppercase, and dotted in the lower. The perl core does not (yet) | |
7917 | handle the Turkish case, and this message warns you of that. Instead, | |
7918 | the L<Unicode::Casing> module allows you to mostly implement the Turkish | |
7919 | casing rules. | |
7920 | ||
7921 | =end original | |
7922 | ||
7923 | その一つは、主張に反して、Unicode が完全にロケールに依存しない | |
7924 | 訳ではないからです。 | |
7925 | トルコ語およびいくつかの関連言語は、2 種類の C<"I"> 文字があります。 | |
7926 | 一つは大文字と小文字の両方でドットがあり、もう一つは両方ともドットが | |
7927 | ありません。 | |
7928 | Unicode はロケールがトルコ語の規則と、その他全ての場合に | |
7929 | 使われる規則、つまり一種類の C<"I"> だけで、大文字ではドットがなく、 | |
7930 | 小文字にはドットがあるもの、のどちらを使うことも許しています。 | |
7931 | perl コアは (まだ) トルコ語のケースを扱えず、このメッセージはそれを | |
7932 | 警告します。 | |
7933 | 代わりに、L<Unicode::Casing> モジュールはトルコ語のケース規則をほぼ | |
7934 | 実装しています。 | |
7935 | ||
7936 | =begin original | |
7937 | ||
7938 | The other common cause is for the characters | |
7939 | ||
7940 | =end original | |
7941 | ||
7942 | その他のよくある原因は次の文字です: | |
7943 | ||
7944 | $ + < = > ^ ` | ~ | |
7945 | ||
7946 | =begin original | |
7947 | ||
7948 | These are probematic. The C standard says that these should be | |
7949 | considered punctuation in the C locale (and the POSIX standard defers to | |
7950 | the C standard), and Unicode is generally considered a superset of | |
7951 | the C locale. But Unicode has added an extra category, "Symbol", and | |
7952 | classifies these particular characters as being symbols. Most UTF-8 | |
7953 | locales have them treated as punctuation, so that L<ispunct(2)> returns | |
7954 | non-zero for them. But a few locales have it return 0. Perl takes | |
7955 | the first approach, not using C<ispunct()> at all (see L<Note [5] in | |
7956 | perlrecharclass|perlrecharclass/[5]>), and this message is raised to notify you that you | |
7957 | are getting Perl's approach, not the locale's. | |
7958 | ||
7959 | =end original | |
7960 | ||
7961 | これらには問題があります。 | |
7962 | C 標準は、これらは C ロケールでは句読点として扱うよう規定されていて | |
7963 | (そして POSIX 標準は C 標準に従います)、Unicode は一般的に C ロケールの | |
7964 | 上位集合と考えられています。 | |
7965 | しかし Unicode は、"Symbol" というカテゴリが追加され、 | |
7966 | これはこれらの文字をシンボルとして分類しています。 | |
7967 | ほとんどの UTF-8 ロケールはこれらを句読点として扱うので、 | |
7968 | L<ispunct(2)> はこれらに対して非 0 を返します。 | |
7969 | しかしいくつかのロケールでは 0 を返します。 | |
7970 | Perl は最初の手法をとり、C<ispunct()> を全く使わず ( L<Note [5] in | |
7971 | perlrecharclass|perlrecharclass/[5]> 参照)、 | |
7972 | このメッセージはロケールのものではなく Perl の手法をとったことを | |
7973 | 知らせるために発生します。 | |
7974 | ||
7975 | =item Locale '%s' may not work well.%s | |
7976 | ||
7977 | =begin original | |
7978 | ||
7979 | (W locale) You are using the named locale, which is a non-UTF-8 one, and | |
7980 | which perl has determined is not fully compatible with what it can | |
7981 | handle. The second C<%s> gives a reason. | |
7982 | ||
7983 | =end original | |
7984 | ||
7985 | (W locale) 非 UTF-8 の名前付きロケールを使っていますが、 | |
7986 | perl はこれを扱うのに完全な互換性のあるものを決定できませんでした。 | |
7987 | 2 番目の C<%s> に理由があります。 | |
7988 | ||
7989 | =begin original | |
7990 | ||
7991 | By far the most common reason is that the locale has characters in it | |
7992 | that are represented by more than one byte. The only such locales that | |
7993 | Perl can handle are the UTF-8 locales. Most likely the specified locale | |
7994 | is a non-UTF-8 one for an East Asian language such as Chinese or | |
7995 | Japanese. If the locale is a superset of ASCII, the ASCII portion of it | |
7996 | may work in Perl. | |
7997 | ||
7998 | =end original | |
7999 | ||
8000 | もっともありそうな理由は、そのロケールが複数バイトで表現される文字を | |
8001 | 持っていることです。 | |
8002 | Perl が扱えるそのようなロケールで唯一のものは UTF-8 ロケールです。 | |
8003 | もっともありそうな指定されたロケールは、中国や日本のような東アジア言語の | |
8004 | 非 UTF-8 のものです。 | |
8005 | ロケールが ASCII の上位集合の場合、ASCII の部分は Perl で動作するでしょう。 | |
8006 | ||
8007 | =begin original | |
8008 | ||
8009 | Some essentially obsolete locales that aren't supersets of ASCII, mainly | |
8010 | those in ISO 646 or other 7-bit locales, such as ASMO 449, can also have | |
8011 | problems, depending on what portions of the ASCII character set get | |
8012 | changed by the locale and are also used by the program. | |
8013 | The warning message lists the determinable conflicting characters. | |
8014 | ||
8015 | =end original | |
8016 | ||
8017 | ASCII の上位集合でない、主に ISO 646 のものや、ASMO 449 のような | |
8018 | その他の 7 ビットロケールも問題になり得ます; | |
8019 | ASCII 文字集合のどの部分がロケールによって変更されるか、およびプログラムで | |
8020 | 使われるかによります。 | |
8021 | 警告メッセージは決定できる衝突している文字を一覧表示します。 | |
8022 | ||
8023 | =begin original | |
8024 | ||
8025 | Note that not all incompatibilities are found. | |
8026 | ||
8027 | =end original | |
8028 | ||
8029 | 全ての非互換性が発見されるわけではないことに注意してください。 | |
8030 | ||
8031 | =begin original | |
8032 | ||
8033 | If this happens to you, there's not much you can do except switch to use a | |
8034 | different locale or use L<Encode> to translate from the locale into | |
8035 | UTF-8; if that's impracticable, you have been warned that some things | |
8036 | may break. | |
8037 | ||
8038 | =end original | |
8039 | ||
8040 | これが起きた場合、異なるロケールを使うように変更するか、 | |
8041 | そのロケールから UTF-8 に変換するために L<Encode> を使う以外に | |
8042 | できることはあまりありません; もしそれができないなら、 | |
8043 | あなたは何かが壊れるかもしれないことを警告されました。 | |
8044 | ||
8045 | =begin original | |
8046 | ||
8047 | This message is output once each time a bad locale is switched into | |
8048 | within the scope of C<S<use locale>>, or on the first possibly-affected | |
8049 | operation if the C<S<use locale>> inherits a bad one. It is not raised | |
8050 | for any operations from the L<POSIX> module. | |
8051 | ||
8052 | =end original | |
8053 | ||
8054 | このメッセージは、C<S<use locale>> のスコープ内で悪いロケールに切り替わった | |
8055 | 毎に、あるいは C<S<use locale>> が悪いものを継承している場合は | |
8056 | 最初の影響があるかもしれない操作の時点で出力されます。 | |
8057 | これは L<POSIX> モジュールの操作では発生しません。 | |
8058 | ||
8059 | =item localtime(%f) failed | |
8060 | ||
8061 | =begin original | |
8062 | ||
8063 | (W overflow) You called C<localtime> with a number that it could not handle: | |
8064 | too large, too small, or NaN. The returned value is C<undef>. | |
8065 | ||
8066 | =end original | |
8067 | ||
8068 | (W overflow) 扱えない数値で C<localtime> を呼び出しました: 大きすぎたり | |
8069 | 小さすぎたり NaN だったりです。 | |
8070 | 返り値は C<undef> です。 | |
8071 | ||
8072 | =item localtime(%f) too large | |
8073 | ||
8074 | =begin original | |
8075 | ||
8076 | (W overflow) You called C<localtime> with a number that was larger | |
8077 | than it can reliably handle and C<localtime> probably returned the | |
8078 | wrong date. This warning is also triggered with NaN (the special | |
8079 | not-a-number value). | |
8080 | ||
8081 | =end original | |
8082 | ||
8083 | (W overflow) 信頼して扱えるよりも大きな数値で C<localtime> を呼び出したので | |
8084 | C<localtime> はおそらく間違った日付を返します。 | |
8085 | この警告は、NaN (特殊な非数) でも引き起こされます。 | |
8086 | ||
8087 | =item localtime(%f) too small | |
8088 | ||
8089 | =begin original | |
8090 | ||
8091 | (W overflow) You called C<localtime> with a number that was smaller | |
8092 | than it can reliably handle and C<localtime> probably returned the | |
8093 | wrong date. | |
8094 | ||
8095 | =end original | |
8096 | ||
8097 | (W overflow) 信頼して扱えるよりも小さな数値で C<localtime> を呼び出したので | |
8098 | C<localtime> はおそらく間違った日付を返します。 | |
8099 | ||
8100 | =item Lookbehind longer than %d not implemented in regex m/%s/ | |
8101 | ||
8102 | =begin original | |
8103 | ||
4177 | 8104 | (F) There is currently a limit on the length of string which lookbehind can |
4178 | handle. This restriction may be eased in a future release. | |
8105 | handle. This restriction may be eased in a future release. | |
4179 | the regular expression about where the problem was discovered. | |
4180 | 8106 | |
4181 | 8107 | =end original |
4182 | 8108 | |
4183 | 現在のところ前方参照が扱える文字列の長さには制限があります。 | |
8109 | (F) 現在のところ前方参照が扱える文字列の長さには制限があります。 | |
4184 | 8110 | この制限は将来のリリースでは緩和されるでしょう。 |
4185 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
4186 | 8111 | |
8112 | =item Lost precision when %s %f by 1 | |
8113 | ||
8114 | =begin original | |
8115 | ||
8116 | (W imprecision) The value you attempted to increment or decrement by one | |
8117 | is too large for the underlying floating point representation to store | |
8118 | accurately, hence the target of C<++> or C<--> is unchanged. Perl issues this | |
8119 | warning because it has already switched from integers to floating point | |
8120 | when values are too large for integers, and now even floating point is | |
8121 | insufficient. You may wish to switch to using L<Math::BigInt> explicitly. | |
8122 | ||
8123 | =end original | |
8124 | ||
8125 | (W imprecision) インクリメントまたはデクリメントしようとしている値は、 | |
8126 | 基礎となっている浮動小数点数表現にとって正確に保管するには大きすぎるので、 | |
8127 | C<++> や C<--> のターゲットは変更されません。 | |
8128 | Perl は既に値が整数として大きすぎる時には整数から浮動小数点数に | |
8129 | 切り替えていて、浮動小数点数でも不十分なときにこの警告を出力します。 | |
8130 | 明示的に L<Math::BigInt> を使うように切り替えたいかもしれません。 | |
8131 | ||
8132 | =item lstat() on filehandle%s | |
8133 | ||
8134 | =begin original | |
8135 | ||
8136 | (W io) You tried to do an lstat on a filehandle. What did you mean | |
8137 | by that? lstat() makes sense only on filenames. (Perl did a fstat() | |
8138 | instead on the filehandle.) | |
8139 | ||
8140 | =end original | |
8141 | ||
8142 | (W io) ファイルハンドルに lstat を実行しようとしました。 | |
8143 | これで何をしようとしたのですか? | |
8144 | lstat() はファイル名に対してのみ意味があります。 | |
8145 | (Perl はファイルハンドルには代わりに fstat() を行いました。) | |
8146 | ||
8147 | =item lvalue attribute %s already-defined subroutine | |
8148 | ||
8149 | =begin original | |
8150 | ||
8151 | (W misc) Although L<attributes.pm|attributes> allows this, turning the lvalue | |
8152 | attribute on or off on a Perl subroutine that is already defined | |
8153 | does not always work properly. It may or may not do what you | |
8154 | want, depending on what code is inside the subroutine, with exact | |
8155 | details subject to change between Perl versions. Only do this | |
8156 | if you really know what you are doing. | |
8157 | ||
8158 | =end original | |
8159 | ||
8160 | (W misc) L<attributes.pm|attributes> ではこれは許されていますが、既に | |
8161 | 定義されている Perl サブルーチンに対して左辺値属性をオンまたはオフにするのは | |
8162 | 常に適切に動作するわけではありません。 | |
8163 | あなたの望むことが行われるかもしれませんし行われないかもしれません; | |
8164 | サブルーチンの内側にどんなコードがあるかに依存し、正確な詳細は | |
8165 | Perl バージョン間で変更されることがあります。 | |
8166 | 自分が何をしているのかが本当に分かっているときにだけこれを行ってください。 | |
8167 | ||
8168 | =item lvalue attribute ignored after the subroutine has been defined | |
8169 | ||
8170 | =begin original | |
8171 | ||
8172 | (W misc) Using the C<:lvalue> declarative syntax to make a Perl | |
8173 | subroutine an lvalue subroutine after it has been defined is | |
8174 | not permitted. To make the subroutine an lvalue subroutine, | |
8175 | add the lvalue attribute to the definition, or put the C<sub | |
8176 | foo :lvalue;> declaration before the definition. | |
8177 | ||
8178 | =end original | |
8179 | ||
8180 | (W misc) サブルーチンが定義された後、Perl サブルーチンを左辺値サブルーチンに | |
8181 | するために C<:lvalue> 宣言文を使うことはできません。 | |
8182 | サブルーチンを左辺値サブルーチンにするには定義時に左辺値属性を追加するか、 | |
8183 | 定義する前に C<sub foo :lvalue;> 宣言を行います。 | |
8184 | ||
8185 | =begin original | |
8186 | ||
8187 | See also L<attributes.pm|attributes>. | |
8188 | ||
8189 | =end original | |
8190 | ||
8191 | L<attributes.pm|attributes> も参照してください。 | |
8192 | ||
8193 | =item Magical list constants are not supported | |
8194 | ||
8195 | =begin original | |
8196 | ||
8197 | (F) You assigned a magical array to a stash element, and then tried | |
8198 | to use the subroutine from the same slot. You are asking Perl to do | |
8199 | something it cannot do, details subject to change between Perl versions. | |
8200 | ||
8201 | =end original | |
8202 | ||
8203 | (F) マジカルな配列をスタッシュ要素に代入し、それから同じスロットから | |
8204 | サブルーチンを使おうとしました。 | |
8205 | Perl のバージョンによって詳細が変わるかも知れないような、してはいけないことを | |
8206 | Perl にさせようとしました。 | |
8207 | ||
8208 | =item Malformed integer in [] in pack | |
8209 | ||
8210 | =begin original | |
8211 | ||
8212 | (F) Between the brackets enclosing a numeric repeat count only digits | |
8213 | are permitted. See L<perlfunc/pack>. | |
8214 | ||
8215 | =end original | |
8216 | ||
8217 | (F) 中かっこで数値繰り返し数を囲む場合、数値のみが許されます。 | |
8218 | L<perlfunc/pack> を参照してください。 | |
8219 | ||
8220 | =item Malformed integer in [] in unpack | |
8221 | ||
8222 | =begin original | |
8223 | ||
8224 | (F) Between the brackets enclosing a numeric repeat count only digits | |
8225 | are permitted. See L<perlfunc/pack>. | |
8226 | ||
8227 | =end original | |
8228 | ||
8229 | (F) 中かっこで数値繰り返し数を囲む場合、数値のみが許されます。 | |
8230 | L<perlfunc/pack> を参照してください。 | |
8231 | ||
4187 | 8232 | =item Malformed PERLLIB_PREFIX |
4188 | 8233 | |
4189 | 8234 | =begin original |
4190 | 8235 | |
4191 | 8236 | (F) An error peculiar to OS/2. PERLLIB_PREFIX should be of the form |
4192 | 8237 | |
4193 | 8238 | =end original |
4194 | 8239 | |
4195 | 8240 | (F) OS/2 固有のエラーです。 |
4196 | 8241 | PERLLIB_PREFIX は以下のような形か: |
4197 | 8242 | |
4198 | 8243 | prefix1;prefix2 |
4199 | 8244 | |
4200 | 8245 | =begin original |
4201 | 8246 | |
4202 | 8247 | or |
8248 | prefix1 prefix2 | |
4203 | 8249 | |
4204 | 8250 | =end original |
4205 | 8251 | |
4206 | ||
8252 | または | |
4207 | ||
4208 | 8253 | prefix1 prefix2 |
4209 | 8254 | |
4210 | 8255 | =begin original |
4211 | 8256 | |
4212 | 8257 | with nonempty prefix1 and prefix2. If C<prefix1> is indeed a prefix of |
4213 | 8258 | a builtin library search path, prefix2 is substituted. The error may |
4214 | 8259 | appear if components are not found, or are too long. See |
4215 | 8260 | "PERLLIB_PREFIX" in L<perlos2>. |
4216 | 8261 | |
4217 | 8262 | =end original |
4218 | 8263 | |
4219 | 8264 | prefix1 と prefix2 が空でない形である必要があります。 |
4220 | 8265 | C<prefix1> が組み込みライブラリ検索パスのプレフィックスなら、 |
4221 | 8266 | prefix2 は置き換えられます。 |
4222 | 8267 | このエラーは、コンポーネントが見つからないか、長すぎる時に起こります。 |
4223 | 8268 | L<perlos2> の "PERLLIB_PREFIX" を参照してください。 |
4224 | 8269 | |
4225 | =item Malformed | |
8270 | =item Malformed prototype for %s: %s | |
4226 | 8271 | |
4227 | 8272 | =begin original |
4228 | 8273 | |
4229 | ||
8274 | (F) You tried to use a function with a malformed prototype. The | |
8275 | syntax of function prototypes is given a brief compile-time check for | |
8276 | obvious errors like invalid characters. A more rigorous check is run | |
8277 | when the function is called. | |
8278 | Perhaps the function's author was trying to write a subroutine signature | |
8279 | but didn't enable that feature first (C<use feature 'signatures'>), | |
8280 | so the signature was instead interpreted as a bad prototype. | |
4230 | 8281 | |
4231 | 8282 | =end original |
4232 | 8283 | |
4233 | ||
8284 | (F) 不正な形式のプロトタイプをもつ関数を使おうとしました。 | |
4234 | ||
8285 | 関数プロトタイプの構文は、不正な文字のようなありふれたエラーについては | |
8286 | コンパイル時にチェックされます。 | |
8287 | より厳密なチェックは、関数が呼び出された時に実行されます。 | |
8288 | おそらく関数の作者はサブルーチンシグネチャを書こうとしたけれども、 | |
8289 | 先にこの機能を有効にしなかった (C<use feature 'signatures'>) ので、 | |
8290 | シグネチャは間違ったプロトタイプとして解釈されました。 | |
4235 | 8291 | |
8292 | =item Malformed UTF-8 character%s | |
8293 | ||
8294 | =begin original | |
8295 | ||
8296 | (S utf8)(F) Perl detected a string that should be UTF-8, but didn't | |
8297 | comply with UTF-8 encoding rules, or represents a code point whose | |
8298 | ordinal integer value doesn't fit into the word size of the current | |
8299 | platform (overflows). Details as to the exact malformation are given in | |
8300 | the variable, C<%s>, part of the message. | |
8301 | ||
8302 | =end original | |
8303 | ||
8304 | (S utf8)(F) Perl が、UTF-8 であるべき文字列を検出しましたが、 | |
8305 | UTF-8 エンコーディング規則に従わない、 | |
8306 | あるいは序数が現在のプラットフォームのワードサイズに収まらない | |
8307 | (オーバーフローする)符号位置を表現する文字列を検出しました。 | |
8308 | 不正な内容についての詳細は、メッセージの C<%s> の部分に入ります。 | |
8309 | ||
8310 | =begin original | |
8311 | ||
8312 | One possible cause is that you set the UTF8 flag yourself for data that | |
8313 | you thought to be in UTF-8 but it wasn't (it was for example legacy 8-bit | |
8314 | data). To guard against this, you can use C<Encode::decode('UTF-8', ...)>. | |
8315 | ||
8316 | =end original | |
8317 | ||
8318 | 原因の可能性の一つは、UTF-8 だと思っていたけれでもそうではなかったデータ | |
8319 | (例えばレガシーな 8 ビットデータ)にあなた自身で UTF8 フラグをセットした | |
8320 | ことです。 | |
8321 | これから守るためには、C<Encode::decode('UTF-8', ...)> を使えます。 | |
8322 | ||
8323 | =begin original | |
8324 | ||
8325 | If you use the C<:encoding(UTF-8)> PerlIO layer for input, invalid byte | |
8326 | sequences are handled gracefully, but if you use C<:utf8>, the flag is set | |
8327 | without validating the data, possibly resulting in this error message. | |
8328 | ||
8329 | =end original | |
8330 | ||
8331 | 入力に C<:encoding(UTF-8)> PerlIO 層を使うと、不正なバイトシーケンスは | |
8332 | 寛容に扱われますが、C<:utf8> を使うと、フラグはデータを検証せずに設定され、 | |
8333 | おそらく結果としてこのエラーメッセージが出力されます。 | |
8334 | ||
8335 | =begin original | |
8336 | ||
8337 | See also L<Encode/"Handling Malformed Data">. | |
8338 | ||
8339 | =end original | |
8340 | ||
8341 | L<Encode/"Handling Malformed Data"> も参照してください。 | |
8342 | ||
8343 | =item Malformed UTF-8 returned by \N{%s} immediately after '%s' | |
8344 | ||
8345 | =begin original | |
8346 | ||
8347 | (F) The charnames handler returned malformed UTF-8. | |
8348 | ||
8349 | =end original | |
8350 | ||
8351 | (F) charnames ハンドラが不正な UTF-8 を返しました。 | |
8352 | ||
8353 | =item Malformed UTF-8 string in "%s" | |
8354 | ||
8355 | =begin original | |
8356 | ||
8357 | (F) This message indicates a bug either in the Perl core or in XS | |
8358 | code. Such code was trying to find out if a character, allegedly | |
8359 | stored internally encoded as UTF-8, was of a given type, such as | |
8360 | being punctuation or a digit. But the character was not encoded | |
8361 | in legal UTF-8. The C<%s> is replaced by a string that can be used | |
8362 | by knowledgeable people to determine what the type being checked | |
8363 | against was. | |
8364 | ||
8365 | =end original | |
8366 | ||
8367 | (F) このメッセージは、Perl 内部か XS コードのどちらかにバグがあることを | |
8368 | 示しています。 | |
8369 | そのコードは、UTF-8 として内部でエンコードされて | |
8370 | 保管されているということになっているある文字が、 | |
8371 | 句読点や数字のような指定された型であるかどうかを見つけ出そうとしました。 | |
8372 | しかし、この文字は正当な UTF-8 としてエンコードされていません。 | |
8373 | C<%s> は、知識がある人々が、どの種類をチェックするべきかを | |
8374 | 決めるために使われる文字列で置き換えられます。 | |
8375 | ||
8376 | =begin original | |
8377 | ||
8378 | Passing malformed strings was deprecated in Perl 5.18, and | |
8379 | became fatal in Perl 5.26. | |
8380 | ||
8381 | =end original | |
8382 | ||
8383 | 不正な文字列を渡すことは Perl 5.18 で廃止予定になり、 | |
8384 | Perl 5.26 で致命的エラーになりました。 | |
8385 | ||
8386 | =item Malformed UTF-8 string in '%c' format in unpack | |
8387 | ||
8388 | =begin original | |
8389 | ||
8390 | (F) You tried to unpack something that didn't comply with UTF-8 encoding | |
8391 | rules and perl was unable to guess how to make more progress. | |
8392 | ||
8393 | =end original | |
8394 | ||
8395 | (F) UTF-8 エンコーディング規則に従わない何かを unpack しようとしたので、 | |
8396 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 | |
8397 | ||
8398 | =item Malformed UTF-8 string in pack | |
8399 | ||
8400 | =begin original | |
8401 | ||
8402 | (F) You tried to pack something that didn't comply with UTF-8 encoding | |
8403 | rules and perl was unable to guess how to make more progress. | |
8404 | ||
8405 | =end original | |
8406 | ||
8407 | (F) UTF-8 エンコーディング規則に従わない何かを pack しようとしたので、 | |
8408 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 | |
8409 | ||
8410 | =item Malformed UTF-8 string in unpack | |
8411 | ||
8412 | =begin original | |
8413 | ||
8414 | (F) You tried to unpack something that didn't comply with UTF-8 encoding | |
8415 | rules and perl was unable to guess how to make more progress. | |
8416 | ||
8417 | =end original | |
8418 | ||
8419 | (F) UTF-8 エンコーディング規則に従わない何かを unpack しようとしたので、 | |
8420 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 | |
8421 | ||
4236 | 8422 | =item Malformed UTF-16 surrogate |
4237 | 8423 | |
4238 | 8424 | =begin original |
4239 | 8425 | |
4240 | Perl thought it was reading UTF-16 encoded character data but while | |
8426 | (F) Perl thought it was reading UTF-16 encoded character data but while | |
4241 | 8427 | doing it Perl met a malformed Unicode surrogate. |
4242 | 8428 | |
4243 | 8429 | =end original |
4244 | 8430 | |
4245 | Perl は UTF-16 エンコード文字データを読み込んでいると考えましたが、 | |
8431 | (F) Perl は UTF-16 エンコード文字データを読み込んでいると考えましたが、 | |
4246 | 8432 | その間に Perl が不正な Unicode サロゲートに遭遇しました。 |
4247 | 8433 | |
4248 | =item | |
8434 | =item Mandatory parameter follows optional parameter | |
4249 | 8435 | |
4250 | 8436 | =begin original |
4251 | 8437 | |
8438 | (F) In a subroutine signature, you wrote something like "$a = undef, | |
8439 | $b", making an earlier parameter optional and a later one mandatory. | |
8440 | Parameters are filled from left to right, so it's impossible for the | |
8441 | caller to omit an earlier one and pass a later one. If you want to act | |
8442 | as if the parameters are filled from right to left, declare the rightmost | |
8443 | optional and then shuffle the parameters around in the subroutine's body. | |
8444 | ||
8445 | =end original | |
8446 | ||
8447 | (F) サブルーチンシグネチャで、"$a = undef, $b" のような、先の引数が | |
8448 | オプションで後の引数が必須のようなものを書きました。 | |
8449 | 引数は左から右に埋められるので、呼び出し側が先のものを省略して後のものに | |
8450 | 渡すことは不可能です。 | |
8451 | 引数が右から左に埋められるかのように振る舞ってほしい場合は、一番右を | |
8452 | オプションと宣言して、引数をサブルーチン本体で入れ替えてください。 | |
8453 | ||
8454 | =item Matched non-Unicode code point 0x%X against Unicode property; may | |
8455 | not be portable | |
8456 | ||
8457 | =begin original | |
8458 | ||
8459 | (S non_unicode) Perl allows strings to contain a superset of | |
8460 | Unicode code points; each code point may be as large as what is storable | |
8461 | in a signed integer on your system, but these may not be accepted by | |
8462 | other languages/systems. This message occurs when you matched a string | |
8463 | containing such a code point against a regular expression pattern, and | |
8464 | the code point was matched against a Unicode property, C<\p{...}> or | |
8465 | C<\P{...}>. Unicode properties are only defined on Unicode code points, | |
8466 | so the result of this match is undefined by Unicode, but Perl (starting | |
8467 | in v5.20) treats non-Unicode code points as if they were typical | |
8468 | unassigned Unicode ones, and matched this one accordingly. Whether a | |
8469 | given property matches these code points or not is specified in | |
8470 | L<perluniprops/Properties accessible through \p{} and \P{}>. | |
8471 | ||
8472 | =end original | |
8473 | ||
8474 | (S non_unicode) Perl は文字列に Unicode 符号位置の上位集合を | |
8475 | 含むことができます; それぞれの符号位置はシステムの符号付き整数に | |
8476 | 格納できるだけの大きさを指定できますが、これらは他の言語/システムでは | |
8477 | 受け付けられないかも知れません。 | |
8478 | このメッセージは、このような符号位置を含む文字列をある正規表現パターンで | |
8479 | マッチングし、符号位置が Unicode 特性 C<\p{...}> または C<\P{...}> と | |
8480 | マッチングしたときに発生します。 | |
8481 | Unicode 特性は Unicode 符号位置に対してのみ定義されているので、 | |
8482 | Unicode によればこのマッチングの結果は未定義ですが、 | |
8483 | Perl は (v5.20 から) 非 Unicode 符号位置を、典型的な未割り当て | |
8484 | Unicode 符号位置として扱い、それぞれマッチングします。 | |
8485 | 指定された特性がこれらの符号位置にマッチングするかどうかは | |
8486 | L<perluniprops/Properties accessible through \p{} and \P{}> で | |
8487 | 指定されています。 | |
8488 | ||
8489 | =begin original | |
8490 | ||
8491 | This message is suppressed (unless it has been made fatal) if it is | |
8492 | immaterial to the results of the match if the code point is Unicode or | |
8493 | not. For example, the property C<\p{ASCII_Hex_Digit}> only can match | |
8494 | the 22 characters C<[0-9A-Fa-f]>, so obviously all other code points, | |
8495 | Unicode or not, won't match it. (And C<\P{ASCII_Hex_Digit}> will match | |
8496 | every code point except these 22.) | |
8497 | ||
8498 | =end original | |
8499 | ||
8500 | このメッセージは、符号位置が Unicode かどうかがマッチングの結果に関係ない | |
8501 | 場合は、(致命的にしていない限り)抑制されます。 | |
8502 | 例えば、特性 C<\p{ASCII_Hex_Digit}> は 22 文字 C<[0-9A-Fa-f]> だけに | |
8503 | マッチングするので、明らかに他の符号位置は、Unicode かどうかに関わらず、 | |
8504 | マッチングしません。 | |
8505 | (そして C<\P{ASCII_Hex_Digit}> はこれら 22 以外の全ての符号位置に | |
8506 | マッチングします。) | |
8507 | ||
8508 | =begin original | |
8509 | ||
8510 | Getting this message indicates that the outcome of the match arguably | |
8511 | should have been the opposite of what actually happened. If you think | |
8512 | that is the case, you may wish to make the C<non_unicode> warnings | |
8513 | category fatal; if you agree with Perl's decision, you may wish to turn | |
8514 | off this category. | |
8515 | ||
8516 | =end original | |
8517 | ||
8518 | このメッセージが出たということは、マッチングの結果はおそらく実際に起きた結果と | |
8519 | 逆になっているはずだということを示しています。 | |
8520 | これに当てはまっていると考えられる場合は、C<non_unicode> 警告カテゴリを | |
8521 | 致命的にした方がよいでしょう; Perl の結果に同意する場合は、このカテゴリを | |
8522 | オフにした方がよいでしょう。 | |
8523 | ||
8524 | =begin original | |
8525 | ||
8526 | See L<perlunicode/Beyond Unicode code points> for more information. | |
8527 | ||
8528 | =end original | |
8529 | ||
8530 | さらなる情報については L<perlunicode/Beyond Unicode code points> を | |
8531 | 参照してください。 | |
8532 | ||
8533 | =item %s matches null string many times in regex; marked by S<<-- HERE> in | |
8534 | m/%s/ | |
8535 | ||
8536 | =begin original | |
8537 | ||
4252 | 8538 | (W regexp) The pattern you've specified would be an infinite loop if the |
4253 | regular expression engine didn't specifically check for that. | |
8539 | regular expression engine didn't specifically check for that. The S<<-- HERE> | |
4254 | ||
8540 | shows whereabouts in the regular expression the problem was discovered. | |
8541 | See L<perlre>. | |
4255 | 8542 | |
4256 | 8543 | =end original |
4257 | 8544 | |
4258 | 8545 | (W) 指定したパターンは、もし、正規表現エンジンがチェックを |
4259 | 8546 | 行なっていなければ、無限ループに陥るものです。 |
8547 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
4260 | 8548 | L<perlre> を参照してください。 |
4261 | 8549 | |
4262 | =item | |
8550 | =item Maximal count of pending signals (%u) exceeded | |
4263 | 8551 | |
4264 | 8552 | =begin original |
4265 | 8553 | |
8554 | (F) Perl aborted due to too high a number of signals pending. This | |
8555 | usually indicates that your operating system tried to deliver signals | |
8556 | too fast (with a very high priority), starving the perl process from | |
8557 | resources it would need to reach a point where it can process signals | |
8558 | safely. (See L<perlipc/"Deferred Signals (Safe Signals)">.) | |
8559 | ||
8560 | =end original | |
8561 | ||
8562 | (F) あまりにも多くのシグナルが保留中になったので Perl は中断しました。 | |
8563 | これは普通 OS が速くシグナルを(とても高い優先順位で)配達しようとしすぎて、 | |
8564 | perl のプロセスが安全にシグナルを処理できるところに到達するまでに必要な | |
8565 | リソースが不足したことを示しています。 | |
8566 | (L<perlipc/"Deferred Signals (Safe Signals)"> を参照してください。) | |
8567 | ||
8568 | =item "%s" may clash with future reserved word | |
8569 | ||
8570 | =begin original | |
8571 | ||
8572 | (W) This warning may be due to running a perl5 script through a perl4 | |
8573 | interpreter, especially if the word that is being warned about is | |
8574 | "use" or "my". | |
8575 | ||
8576 | =end original | |
8577 | ||
8578 | (W) この警告は perl5 のスクリプトを perl4 インタプリタで実行しようとした | |
8579 | ときに起きることが多いです; 特に警告された文字が "use" や "my" の場合は | |
8580 | そうです。 | |
8581 | ||
8582 | =item '%' may not be used in pack | |
8583 | ||
8584 | =begin original | |
8585 | ||
4266 | 8586 | (F) You can't pack a string by supplying a checksum, because the |
4267 | 8587 | checksumming process loses information, and you can't go the other way. |
4268 | 8588 | See L<perlfunc/unpack>. |
4269 | 8589 | |
4270 | 8590 | =end original |
4271 | 8591 | |
4272 | (F) チェックサムを指定して pack を行なうことはできません | |
8592 | (F) チェックサムを指定して pack を行なうことはできません; | |
4273 | 8593 | チェックサム処理では、情報が失われ、どうしようもなくなるからです。 |
4274 | 8594 | L<perlfunc/unpack> を参照してください。 |
4275 | 8595 | |
4276 | 8596 | =item Method for operation %s not found in package %s during blessing |
4277 | 8597 | |
4278 | 8598 | =begin original |
4279 | 8599 | |
4280 | 8600 | (F) An attempt was made to specify an entry in an overloading table that |
4281 | 8601 | doesn't resolve to a valid subroutine. See L<overload>. |
4282 | 8602 | |
4283 | 8603 | =end original |
4284 | 8604 | |
4285 | 8605 | (F) 多重定義テーブルで、有効なサブルーチンに解決できない |
4286 | 8606 | エントリを指定しようとしました。 |
4287 | 8607 | L<overload> を参照してください。 |
4288 | 8608 | |
4289 | 8609 | =item Method %s not permitted |
4290 | 8610 | |
4291 | 8611 | =begin original |
4292 | 8612 | |
4293 | See Server error. | |
8613 | See L</500 Server error>. | |
4294 | 8614 | |
4295 | 8615 | =end original |
4296 | 8616 | |
4297 | ||
8617 | L</500 Server error> を参照してください。 | |
4298 | 8618 | |
4299 | 8619 | =item Might be a runaway multi-line %s string starting on line %d |
4300 | 8620 | |
4301 | 8621 | =begin original |
4302 | 8622 | |
4303 | 8623 | (S) An advisory indicating that the previous error may have been caused |
4304 | 8624 | by a missing delimiter on a string or pattern, because it eventually |
4305 | 8625 | ended earlier on the current line. |
4306 | 8626 | |
4307 | 8627 | =end original |
4308 | 8628 | |
4309 | 8629 | (S) ようやく現在行になって、文字列やパターンの終わりが見つかったことから、 |
4310 | 8630 | 先のエラーが、文字列やパターンのデリミタが、見つからなかったことで |
4311 | 8631 | 起ったかもしれないことを、補足的に示しています。 |
4312 | 8632 | |
4313 | 8633 | =item Misplaced _ in number |
4314 | 8634 | |
4315 | 8635 | =begin original |
4316 | 8636 | |
4317 | (W syntax) An under | |
8637 | (W syntax) An underscore (underbar) in a numeric constant did not | |
8638 | separate two digits. | |
4318 | 8639 | |
4319 | 8640 | =end original |
4320 | 8641 | |
4321 | (W syntax) | |
8642 | (W syntax) 数値定数の下線が、二つの値を分離していません。 | |
4322 | 8643 | |
4323 | =item Missing | |
8644 | =item Missing argument for %n in %s | |
4324 | 8645 | |
4325 | 8646 | =begin original |
4326 | 8647 | |
8648 | (F) A C<%n> was used in a format string with no corresponding argument for | |
8649 | perl to write the current string length to. | |
8650 | ||
8651 | =end original | |
8652 | ||
8653 | (F) C<%n> がフォーマット文字列で使われましたが、perl が現在の文字列長を | |
8654 | 書くための対応する引数がありません。 | |
8655 | ||
8656 | =item Missing argument in %s | |
8657 | ||
8658 | =begin original | |
8659 | ||
8660 | (W missing) You called a function with fewer arguments than other | |
8661 | arguments you supplied indicated would be needed. | |
8662 | ||
8663 | =end original | |
8664 | ||
8665 | (W missing) 他で指定した引数によって必要であると示されているよりも | |
8666 | 少ない引数で関数を呼び出しました。 | |
8667 | ||
8668 | =begin original | |
8669 | ||
8670 | Currently only emitted when a printf-type format required more | |
8671 | arguments than were supplied, but might be used in the future for | |
8672 | other cases where we can statically determine that arguments to | |
8673 | functions are missing, e.g. for the L<perlfunc/pack> function. | |
8674 | ||
8675 | =end original | |
8676 | ||
8677 | 現在のところは printf 型式のフォーマットが提供されたよりも多くの引数を | |
8678 | 要求した場合にのみ発生しますが、 | |
8679 | 将来、L<perlfunc/pack> 関数のような、関数の引数を静的に決定できる | |
8680 | その他の場合に使われるかもしれません。 | |
8681 | ||
8682 | =item Missing argument to -%c | |
8683 | ||
8684 | =begin original | |
8685 | ||
8686 | (F) The argument to the indicated command line switch must follow | |
8687 | immediately after the switch, without intervening spaces. | |
8688 | ||
8689 | =end original | |
8690 | ||
8691 | (F) 示されたコマンドラインスイッチの引数は、 | |
8692 | スイッチの直後にスペースを空けないで書く必要があります。 | |
8693 | ||
8694 | =item Missing braces on \N{} | |
8695 | ||
8696 | =item Missing braces on \N{} in regex; marked by S<<-- HERE> in m/%s/ | |
8697 | ||
8698 | =begin original | |
8699 | ||
4327 | 8700 | (F) Wrong syntax of character name literal C<\N{charname}> within |
4328 | double-quotish context. | |
8701 | double-quotish context. This can also happen when there is a space | |
8702 | (or comment) between the C<\N> and the C<{> in a regex with the C</x> modifier. | |
8703 | This modifier does not change the requirement that the brace immediately | |
8704 | follow the C<\N>. | |
4329 | 8705 | |
4330 | 8706 | =end original |
4331 | 8707 | |
4332 | 8708 | (F) ダブルクォートされたコンテキストの中で、文字名リテラル C<\N{charname}> の |
4333 | 8709 | 文法が間違っています。 |
8710 | これはまた、C</x> 修飾子付きの正規表現の C<\N> と C<{> の間に空白(または | |
8711 | コメント)がある場合にも起こります。 | |
8712 | この修飾子は、C<\N> の直後に中かっこが必要であるという条件は変更しません。 | |
4334 | 8713 | |
8714 | =item Missing braces on \o{} | |
8715 | ||
8716 | =begin original | |
8717 | ||
8718 | (F) A C<\o> must be followed immediately by a C<{> in double-quotish context. | |
8719 | ||
8720 | =end original | |
8721 | ||
8722 | (F) ダブルクォート風コンテキストでは C<\o> は直後に C<{> が | |
8723 | 引き続かなければなりません。 | |
8724 | ||
4335 | 8725 | =item Missing comma after first argument to %s function |
4336 | 8726 | |
4337 | 8727 | =begin original |
4338 | 8728 | |
4339 | 8729 | (F) While certain functions allow you to specify a filehandle or an |
4340 | 8730 | "indirect object" before the argument list, this ain't one of them. |
4341 | 8731 | |
4342 | 8732 | =end original |
4343 | 8733 | |
4344 | 8734 | (F) ある種の関数では、引数リストの前に、ファイルハンドルや |
4345 | 8735 | 「間接オブジェクト」をおくことができますが、この関数は、 |
4346 | 8736 | そういったものではありません。 |
4347 | 8737 | |
4348 | 8738 | =item Missing command in piped open |
4349 | 8739 | |
4350 | 8740 | =begin original |
4351 | 8741 | |
4352 | 8742 | (W pipe) You used the C<open(FH, "| command")> or |
4353 | 8743 | C<open(FH, "command |")> construction, but the command was missing or |
4354 | 8744 | blank. |
4355 | 8745 | |
4356 | 8746 | =end original |
4357 | 8747 | |
4358 | 8748 | (W pipe) C<open(FH, "| command")> か C<open(FH, "command |")> の構文を |
4359 | 8749 | 使っていますが、コマンドが指定されていないか空白です。 |
4360 | 8750 | |
4361 | =item Missing name in | |
8751 | =item Missing control char name in \c | |
4362 | 8752 | |
4363 | 8753 | =begin original |
4364 | 8754 | |
4365 | (F) | |
8755 | (F) A double-quoted string ended with "\c", without the required control | |
8756 | character name. | |
8757 | ||
8758 | =end original | |
8759 | ||
8760 | (F) ダブルクォートされた文字列が "\c" で終わっています; 制御文字名が | |
8761 | 必要です。 | |
8762 | ||
8763 | =item Missing ']' in prototype for %s : %s | |
8764 | ||
8765 | =begin original | |
8766 | ||
8767 | (W illegalproto) A grouping was started with C<[> but never closed with C<]>. | |
8768 | ||
8769 | =end original | |
8770 | ||
8771 | (W illegalproto) グループ化は C<[> で始まりましたが C<]> で | |
8772 | 閉じられませんでした。 | |
8773 | ||
8774 | =item Missing name in "%s sub" | |
8775 | ||
8776 | =begin original | |
8777 | ||
8778 | (F) The syntax for lexically scoped subroutines requires that | |
4366 | 8779 | they have a name with which they can be found. |
4367 | 8780 | |
4368 | 8781 | =end original |
4369 | 8782 | |
4370 | (F) | |
8783 | (F) レキシカルスコープのサブルーチンの文法には探すことの出来る名前が必要です。 | |
4371 | 探すことの出来る名前が必要です。 | |
4372 | 8784 | |
4373 | 8785 | =item Missing $ on loop variable |
4374 | 8786 | |
4375 | 8787 | =begin original |
4376 | 8788 | |
4377 | 8789 | (F) Apparently you've been programming in B<csh> too much. Variables |
4378 | 8790 | are always mentioned with the $ in Perl, unlike in the shells, where it |
4379 | 8791 | can vary from one line to the next. |
4380 | 8792 | |
4381 | 8793 | =end original |
4382 | 8794 | |
4383 | 8795 | (F) B<csh> を使いすぎた症状が現れているようです。 |
4384 | Perl では、変数は常に $ を付けて表わされます | |
8796 | Perl では、変数は常に $ を付けて表わされます; その時によって違う、シェルとは | |
4385 | ||
8797 | 違っています。 | |
4386 | 8798 | |
4387 | 8799 | =item (Missing operator before %s?) |
4388 | 8800 | |
4389 | 8801 | =begin original |
4390 | 8802 | |
4391 | (S) This is an educated guess made in conjunction with the message | |
8803 | (S syntax) This is an educated guess made in conjunction with the message | |
4392 | found where operator expected". Often the missing operator is a comma. | |
8804 | "%s found where operator expected". Often the missing operator is a comma. | |
4393 | 8805 | |
4394 | 8806 | =end original |
4395 | 8807 | |
4396 | (S) "%s found where operator expected" と共に | |
8808 | (S syntax) これは "%s found where operator expected" メッセージと共に | |
4397 | ||
8809 | 表示される教育的な推測です。 | |
8810 | しばしば不足している演算子はカンマです。 | |
4398 | 8811 | |
8812 | =item Missing or undefined argument to %s | |
8813 | ||
8814 | =begin original | |
8815 | ||
8816 | (F) You tried to call require or do with no argument or with an undefined | |
8817 | value as an argument. Require expects either a package name or a | |
8818 | file-specification as an argument; do expects a filename. See | |
8819 | L<perlfunc/require EXPR> and L<perlfunc/do EXPR>. | |
8820 | ||
8821 | =end original | |
8822 | ||
8823 | (F) 引数なし、または未定義値を引数として require や do を | |
8824 | 呼び出そうとしました。 | |
8825 | require はパッケージ名またはファイル指定を引数として想定します; | |
8826 | do はファイル名を想定します。 | |
8827 | L<perlfunc/require EXPR> と L<perlfunc/do EXPR> を参照してください。 | |
8828 | ||
8829 | =item Missing right brace on \%c{} in regex; marked by S<<-- HERE> in m/%s/ | |
8830 | ||
8831 | =begin original | |
8832 | ||
8833 | (F) Missing right brace in C<\x{...}>, C<\p{...}>, C<\P{...}>, or C<\N{...}>. | |
8834 | ||
8835 | =end original | |
8836 | ||
8837 | (F) C<\x{...}>, C<\p{...}>, C<\P{...}>, C<\N{...}> の右側のかっこが | |
8838 | 抜けています。 | |
8839 | ||
8840 | =item Missing right brace on \N{} | |
8841 | ||
8842 | =item Missing right brace on \N{} or unescaped left brace after \N | |
8843 | ||
8844 | =begin original | |
8845 | ||
8846 | (F) C<\N> has two meanings. | |
8847 | ||
8848 | =end original | |
8849 | ||
8850 | (F) C<\N> には二つの意味があります。 | |
8851 | ||
8852 | =begin original | |
8853 | ||
8854 | The traditional one has it followed by a name enclosed in braces, | |
8855 | meaning the character (or sequence of characters) given by that | |
8856 | name. Thus C<\N{ASTERISK}> is another way of writing C<*>, valid in both | |
8857 | double-quoted strings and regular expression patterns. In patterns, | |
8858 | it doesn't have the meaning an unescaped C<*> does. | |
8859 | ||
8860 | =end original | |
8861 | ||
8862 | 伝統的なものは中かっこで囲まれた名前が引き続き、その名前を持つ文字 | |
8863 | (または文字並び)を意味します。 | |
8864 | 従って C<\N{ASTERISK}> は C<*> を書くためのもう一つの方法であり、 | |
8865 | ダブルクォート文字列と正規表現パターンの両方で妥当です。 | |
8866 | パターンでは、これはエスケープされない C<*> の持つ意味はありません。 | |
8867 | ||
8868 | =begin original | |
8869 | ||
8870 | Starting in Perl 5.12.0, C<\N> also can have an additional meaning (only) | |
8871 | in patterns, namely to match a non-newline character. (This is short | |
8872 | for C<[^\n]>, and like C<.> but is not affected by the C</s> regex modifier.) | |
8873 | ||
8874 | =end original | |
8875 | ||
8876 | Perl 5.12.0 から、C<\N> はパターンでの中(のみ)では追加の意味を持ちます; | |
8877 | 非改行文字にマッチングします。 | |
8878 | (これは C<[^\n]> の短縮形で、C<.> と似ていますが C</s> 正規表現修飾子によって | |
8879 | 影響を受けません。) | |
8880 | ||
8881 | =begin original | |
8882 | ||
8883 | This can lead to some ambiguities. When C<\N> is not followed immediately | |
8884 | by a left brace, Perl assumes the C<[^\n]> meaning. Also, if the braces | |
8885 | form a valid quantifier such as C<\N{3}> or C<\N{5,}>, Perl assumes that this | |
8886 | means to match the given quantity of non-newlines (in these examples, | |
8887 | 3; and 5 or more, respectively). In all other case, where there is a | |
8888 | C<\N{> and a matching C<}>, Perl assumes that a character name is desired. | |
8889 | ||
8890 | =end original | |
8891 | ||
8892 | これによりいくつかの曖昧さを引き起こします。 | |
8893 | C<\N> の直後に開き中かっこがなければ、Perl は C<[^\n]> の意味を仮定します。 | |
8894 | また、中かっこが C<\N{3}> や C<\N{5,}> のような妥当な量指定子の形に | |
8895 | なっているなら、Perl はこれを与えられた量の非改行 (この例では、それぞれ 3 と | |
8896 | 5 以上) にマッチングするという意味を仮定します。 | |
8897 | それ以外の場合、C<\N{> と対応する C<}> があれば、Perl は文字名が | |
8898 | 求められていると仮定します。 | |
8899 | ||
8900 | =begin original | |
8901 | ||
8902 | However, if there is no matching C<}>, Perl doesn't know if it was | |
8903 | mistakenly omitted, or if C<[^\n]{> was desired, and raises this error. | |
8904 | If you meant the former, add the right brace; if you meant the latter, | |
8905 | escape the brace with a backslash, like so: C<\N\{> | |
8906 | ||
8907 | =end original | |
8908 | ||
8909 | しかし、対応する C<}> がなければ、それが間違って省略されたのか、 | |
8910 | C<[^\n]{> が求められているものなのかが分からず、エラーを起こします。 | |
8911 | 前者を意味しているなら、閉じ中かっこを追加してください; 後者を | |
8912 | 意味しているなら、C<\N\{> のように中かっこを逆スラッシュで | |
8913 | エスケープしてください。 | |
8914 | ||
4399 | 8915 | =item Missing right curly or square bracket |
4400 | 8916 | |
4401 | 8917 | =begin original |
4402 | 8918 | |
4403 | 8919 | (F) The lexer counted more opening curly or square brackets than closing |
4404 | 8920 | ones. As a general rule, you'll find it's missing near the place you |
4405 | 8921 | were last editing. |
4406 | 8922 | |
4407 | 8923 | =end original |
4408 | 8924 | |
4409 | (F) 字句解析部が、閉じ中 | |
8925 | (F) 字句解析部が、閉じ中かっこ(または大かっこ)よりも | |
4410 | 開き中 | |
8926 | 開き中かっこ(大かっこ)を多く発見しました。 | |
4411 | 8927 | 一般的な規則として、最後に修正した場所の近くに間違いがあるといえます。 |
4412 | 8928 | |
4413 | 8929 | =item (Missing semicolon on previous line?) |
4414 | 8930 | |
4415 | 8931 | =begin original |
4416 | 8932 | |
4417 | (S) This is an educated guess made in conjunction with the message | |
8933 | (S syntax) This is an educated guess made in conjunction with the message | |
4418 | found where operator expected". Don't automatically put a semicolon on | |
8934 | "%s found where operator expected". Don't automatically put a semicolon on | |
4419 | 8935 | the previous line just because you saw this message. |
4420 | 8936 | |
4421 | 8937 | =end original |
4422 | 8938 | |
4423 | (S) こ | |
8939 | (S syntax) これは "%s found where operator expected" メッセージと共に | |
4424 | ||
8940 | 表示される教育的な推測です。 | |
4425 | このメッセージが出たからといって、機械的に前の行に | |
8941 | このメッセージが出たからといって、機械的に前の行にセミコロンを付けることは | |
4426 | ||
8942 | しないでください。 | |
4427 | 8943 | |
4428 | 8944 | =item Modification of a read-only value attempted |
4429 | 8945 | |
4430 | 8946 | =begin original |
4431 | 8947 | |
4432 | 8948 | (F) You tried, directly or indirectly, to change the value of a |
4433 | 8949 | constant. You didn't, of course, try "2 = 1", because the compiler |
4434 | 8950 | catches that. But an easy way to do the same thing is: |
4435 | 8951 | |
4436 | 8952 | =end original |
4437 | 8953 | |
4438 | 8954 | (F) 直接、間接に関らず、定数値を変更しようとしました。 |
4439 | 8955 | もちろん、コンパイラが発見できる、"2 = 1" などといったことを |
4440 | 8956 | したわけではありません。 |
4441 | 8957 | しかし、同じことは以下のようにしても起こります。 |
4442 | 8958 | |
4443 | 8959 | sub mod { $_[0] = 1 } |
4444 | 8960 | mod(2); |
4445 | 8961 | |
4446 | 8962 | =begin original |
4447 | 8963 | |
4448 | 8964 | Another way is to assign to a substr() that's off the end of the string. |
4449 | 8965 | |
4450 | 8966 | =end original |
4451 | 8967 | |
4452 | 8968 | substr() で、文字列の終わりよりも後ろに代入を行なうことでも起こります。 |
4453 | 8969 | |
4454 | 8970 | =begin original |
4455 | 8971 | |
4456 | 8972 | Yet another way is to assign to a C<foreach> loop I<VAR> when I<VAR> |
4457 | 8973 | is aliased to a constant in the look I<LIST>: |
4458 | 8974 | |
4459 | 8975 | =end original |
4460 | 8976 | |
4461 | 8977 | もう一つの可能性は、C<foreach> ループにおいて、I<VAR> が I<LIST> の中の |
4462 | 8978 | 定数のエイリアスであるときに、I<VAR> に代入した時です: |
4463 | 8979 | |
4464 | | |
8980 | $x = 1; | |
4465 | | |
8981 | foreach my $n ($x, 2) { | |
4466 | | |
8982 | $n *= 2; # modifies the $x, but fails on attempt to | |
4467 | | |
8983 | } # modify the 2 | |
4468 | 8984 | |
4469 | 8985 | =item Modification of non-creatable array value attempted, %s |
4470 | 8986 | |
4471 | 8987 | =begin original |
4472 | 8988 | |
4473 | 8989 | (F) You tried to make an array value spring into existence, and the |
4474 | 8990 | subscript was probably negative, even counting from end of the array |
4475 | 8991 | backwards. |
4476 | 8992 | |
4477 | 8993 | =end original |
4478 | 8994 | |
4479 | (F) 配列値を存在するようにしようとしました | |
8995 | (F) 配列値を存在するようにしようとしました; おそらく、添字が負数で、配列の | |
4480 | ||
8996 | 終わりから逆に数えたとしても、おかしな位置を指しているようです。 | |
4481 | おかしな位置を指しているようです。 | |
4482 | 8997 | |
4483 | 8998 | =item Modification of non-creatable hash value attempted, %s |
4484 | 8999 | |
4485 | 9000 | =begin original |
4486 | 9001 | |
4487 | 9002 | (P) You tried to make a hash value spring into existence, and it |
4488 | 9003 | couldn't be created for some peculiar reason. |
4489 | 9004 | |
4490 | 9005 | =end original |
4491 | 9006 | |
4492 | 9007 | (F) ハッシュ値を存在するようにしようとしましたが、何か特別な理由で、 |
4493 | 9008 | できませんでした。 |
4494 | 9009 | |
4495 | 9010 | =item Module name must be constant |
4496 | 9011 | |
4497 | 9012 | =begin original |
4498 | 9013 | |
4499 | 9014 | (F) Only a bare module name is allowed as the first argument to a "use". |
4500 | 9015 | |
4501 | 9016 | =end original |
4502 | 9017 | |
4503 | 9018 | (F) "use" の最初の引数としてモジュール名を示すのに許されているのは、 |
4504 | 9019 | 裸の単語だけです。 |
4505 | 9020 | |
4506 | 9021 | =item Module name required with -%c option |
4507 | 9022 | |
4508 | 9023 | =begin original |
4509 | 9024 | |
4510 | 9025 | (F) The C<-M> or C<-m> options say that Perl should load some module, but |
4511 | 9026 | you omitted the name of the module. Consult L<perlrun> for full details |
4512 | 9027 | about C<-M> and C<-m>. |
4513 | 9028 | |
4514 | 9029 | =end original |
4515 | 9030 | |
4516 | 9031 | C<-M> と C<-m> のオプションは Perl にモジュールを読み込ませることを |
4517 | 9032 | 指示しますが、モジュール名がありませんでした。 |
4518 | 9033 | C<-M> と C<-m> に関する完全な詳細については L<perlrun> を参照してください。 |
4519 | 9034 | |
9035 | =item More than one argument to '%s' open | |
9036 | ||
9037 | =begin original | |
9038 | ||
9039 | (F) The C<open> function has been asked to open multiple files. This | |
9040 | can happen if you are trying to open a pipe to a command that takes a | |
9041 | list of arguments, but have forgotten to specify a piped open mode. | |
9042 | See L<perlfunc/open> for details. | |
9043 | ||
9044 | =end original | |
9045 | ||
9046 | (F) C<open> 関数に、複数のファイルを開くように指定されました。 | |
9047 | これは引数のリストを取るコマンドへのパイプを開こうとしたときに、パイプ | |
9048 | オープンモードを指定するのを忘れた時に起きます。 | |
9049 | 詳細は L<perlfunc/open> を参照してください。 | |
9050 | ||
9051 | =item mprotect for COW string %p %u failed with %d | |
9052 | ||
9053 | =begin original | |
9054 | ||
9055 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_COW (see | |
9056 | L<perlguts/"Copy on Write">), but a shared string buffer | |
9057 | could not be made read-only. | |
9058 | ||
9059 | =end original | |
9060 | ||
9061 | (S) perl を B<-D>PERL_DEBUG_READONLY_COW (L<perlguts/"Copy on Write"> 参照) で | |
9062 | コンパイルしましたが、共有文字列バッファを読み込み専用にできませんでした。 | |
9063 | ||
9064 | =item mprotect for %p %u failed with %d | |
9065 | ||
9066 | =begin original | |
9067 | ||
9068 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_OPS (see L<perlhacktips>), | |
9069 | but an op tree could not be made read-only. | |
9070 | ||
9071 | =end original | |
9072 | ||
9073 | (S) perl が B<-D>PERL_DEBUG_READONLY_OPS (L<perlhacktips> 参照) で | |
9074 | コンパイルされましたが、op 木を読み込み専用にできませんでした。 | |
9075 | ||
9076 | =item mprotect RW for COW string %p %u failed with %d | |
9077 | ||
9078 | =begin original | |
9079 | ||
9080 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_COW (see | |
9081 | L<perlguts/"Copy on Write">), but a read-only shared string | |
9082 | buffer could not be made mutable. | |
9083 | ||
9084 | =end original | |
9085 | ||
9086 | (S) perl を B<-D>PERL_DEBUG_READONLY_COW (L<perlguts/"Copy on Write"> 参照) で | |
9087 | コンパイルしましたが、読み込み専用共有文字列バッファを変更可能に | |
9088 | できませんでした。 | |
9089 | ||
9090 | =item mprotect RW for %p %u failed with %d | |
9091 | ||
9092 | =begin original | |
9093 | ||
9094 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_OPS (see | |
9095 | L<perlhacktips>), but a read-only op tree could not be made | |
9096 | mutable before freeing the ops. | |
9097 | ||
9098 | =end original | |
9099 | ||
9100 | (S) perl が B<-D>PERL_DEBUG_READONLY_OPS (L<perlhacktips> 参照) で | |
9101 | コンパイルされましたが、読み込み専用の op 木を、op を解放する前に | |
9102 | ミュータブルにできませんでした。 | |
9103 | ||
4520 | 9104 | =item msg%s not implemented |
4521 | 9105 | |
4522 | 9106 | =begin original |
4523 | 9107 | |
4524 | 9108 | (F) You don't have System V message IPC on your system. |
4525 | 9109 | |
4526 | 9110 | =end original |
4527 | 9111 | |
4528 | 9112 | (F) このシステムでは、System V メッセージ IPC は使えません。 |
4529 | 9113 | |
4530 | 9114 | =item Multidimensional syntax %s not supported |
4531 | 9115 | |
4532 | 9116 | =begin original |
4533 | 9117 | |
4534 | 9118 | (W syntax) Multidimensional arrays aren't written like C<$foo[1,2,3]>. |
4535 | 9119 | They're written like C<$foo[1][2][3]>, as in C. |
4536 | 9120 | |
4537 | 9121 | =end original |
4538 | 9122 | |
4539 | 9123 | (W syntax) 多次元配列は、C<$foo[1,2,3]> のようには書けません。 |
4540 | 9124 | これは、C のように C<$foo[1][2][3]> のように書きます。 |
4541 | 9125 | |
4542 | =item | |
9126 | =item Multiple slurpy parameters not allowed | |
4543 | 9127 | |
4544 | 9128 | =begin original |
4545 | 9129 | |
4546 | (F) | |
9130 | (F) In subroutine signatures, a slurpy parameter (C<@> or C<%>) must be | |
4547 | ||
9131 | the last parameter, and there must not be more than one of them; for | |
4548 | ||
9132 | example: | |
4549 | 9133 | |
4550 | 9134 | =end original |
4551 | 9135 | |
4552 | (F) | |
9136 | (F) サブルーチンシグネチャで、吸い込みパラメータ (C<@> または C<%>) は | |
4553 | ||
9137 | 最後のパラメータでなければならず、複数あってはなりません; 例えば: | |
4554 | L<perlfunc/pack> を参照してください。 | |
4555 | 9138 | |
4556 | ||
9139 | sub foo ($a, @b) {} # legal | |
9140 | sub foo ($a, @b, %) {} # invalid | |
4557 | 9141 | |
9142 | =item '/' must follow a numeric type in unpack | |
9143 | ||
4558 | 9144 | =begin original |
4559 | 9145 | |
4560 | (F) You had an unpack template | |
9146 | (F) You had an unpack template that contained a '/', but this did not | |
4561 | ||
9147 | follow some unpack specification producing a numeric value. | |
4562 | ||
9148 | See L<perlfunc/pack>. | |
4563 | 9149 | |
4564 | 9150 | =end original |
4565 | 9151 | |
4566 | (F) | |
9152 | (F) '/' を含む unpack テンプレートがありますが、これがなんらかの | |
4567 | ||
9153 | 数値を生成する unpack 指定に引き続いていません。 | |
4568 | いずれかの後に続かなければなりません。 | |
4569 | 9154 | L<perlfunc/pack> を参照してください。 |
4570 | 9155 | |
4571 | =item | |
9156 | =item %s must not be a named sequence in transliteration operator | |
4572 | 9157 | |
4573 | 9158 | =begin original |
4574 | 9159 | |
4575 | (F) | |
9160 | (F) Transliteration (C<tr///> and C<y///>) transliterates individual | |
4576 | ||
9161 | characters. But a named sequence by definition is more than an | |
9162 | individual character, and hence doing this operation on it doesn't make | |
9163 | sense. | |
4577 | 9164 | |
4578 | 9165 | =end original |
4579 | 9166 | |
4580 | (F) | |
9167 | (F) 文字変換 (C<tr///> と C<y///>) は個々の文字を変換します。 | |
4581 | ||
9168 | しかし、定義による名前付き並びは個々の文字以上のものがあるので、 | |
4582 | ||
9169 | それに対してこの操作をするのは意味がありません。 | |
4583 | 9170 | |
4584 | 9171 | =item "my sub" not yet implemented |
4585 | 9172 | |
4586 | 9173 | =begin original |
4587 | 9174 | |
4588 | 9175 | (F) Lexically scoped subroutines are not yet implemented. Don't try |
4589 | 9176 | that yet. |
4590 | 9177 | |
4591 | 9178 | =end original |
4592 | 9179 | |
4593 | 9180 | (F) レキシカルスコープのサブルーチンはまだ実装されていません。 |
4594 | 9181 | まだ試さないでください。 |
4595 | 9182 | |
9183 | =item "my" subroutine %s can't be in a package | |
9184 | ||
9185 | =begin original | |
9186 | ||
9187 | (F) Lexically scoped subroutines aren't in a package, so it doesn't make | |
9188 | sense to try to declare one with a package qualifier on the front. | |
9189 | ||
9190 | =end original | |
9191 | ||
9192 | (F) レキシカルスコープサブルーチンはパッケージ内にないので、 | |
9193 | 頭にパッケージ名を付けて宣言することは、無意味です。 | |
9194 | ||
9195 | =item "my %s" used in sort comparison | |
9196 | ||
9197 | =begin original | |
9198 | ||
9199 | (W syntax) The package variables $a and $b are used for sort comparisons. | |
9200 | You used $a or $b in as an operand to the C<< <=> >> or C<cmp> operator inside a | |
9201 | sort comparison block, and the variable had earlier been declared as a | |
9202 | lexical variable. Either qualify the sort variable with the package | |
9203 | name, or rename the lexical variable. | |
9204 | ||
9205 | =end original | |
9206 | ||
9207 | (W syntax) パッケージ変数 $a と $b はソート比較のために使われます。 | |
9208 | $a または $b をソート比較ブロックの中の C<< <=> >> または C<cmp> 演算子の | |
9209 | オペランドとして使いましたが、この変数はその前にレキシカル変数として | |
9210 | 宣言されています。 | |
9211 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を変えてください。 | |
9212 | ||
4596 | 9213 | =item "my" variable %s can't be in a package |
4597 | 9214 | |
4598 | 9215 | =begin original |
4599 | 9216 | |
4600 | 9217 | (F) Lexically scoped variables aren't in a package, so it doesn't make |
4601 | 9218 | sense to try to declare one with a package qualifier on the front. Use |
4602 | 9219 | local() if you want to localize a package variable. |
4603 | 9220 | |
4604 | 9221 | =end original |
4605 | 9222 | |
4606 | (F) | |
9223 | (F) レキシカルスコープサブルーチンはパッケージ内にないので、 | |
4607 | 9224 | 頭にパッケージ名を付けて宣言することは、無意味です。 |
4608 | 9225 | パッケージ変数をローカル化したい場合には、local() を使ってください。 |
4609 | 9226 | |
4610 | 9227 | =item Name "%s::%s" used only once: possible typo |
4611 | 9228 | |
4612 | 9229 | =begin original |
4613 | 9230 | |
4614 | (W once) Typographical errors often show up as unique variable | |
9231 | (W once) Typographical errors often show up as unique variable | |
4615 | If you had a good reason for having a unique name, then | |
9232 | names. If you had a good reason for having a unique name, then | |
4616 | again somehow to suppress the message. The C<our> | |
9233 | just mention it again somehow to suppress the message. The C<our> | |
4617 | provided for this purpose. | |
9234 | declaration is also provided for this purpose. | |
4618 | 9235 | |
4619 | 9236 | =end original |
4620 | 9237 | |
4621 | 9238 | (W once) しばしばタイプミスによってユニークな変数名として表示されます。 |
4622 | 9239 | ユニークな名前をを使う理由があるのなら、もう一度どこかで参照することで |
4623 | 9240 | このメッセージを抑制できます。 |
4624 | C<our> 宣言 | |
9241 | C<our> 宣言もこの目的のために提供されています。 | |
4625 | 9242 | |
9243 | =begin original | |
9244 | ||
9245 | NOTE: This warning detects package symbols that have been used | |
9246 | only once. This means lexical variables will never trigger this | |
9247 | warning. It also means that all of the package variables $c, @c, | |
9248 | %c, as well as *c, &c, sub c{}, c(), and c (the filehandle or | |
9249 | format) are considered the same; if a program uses $c only once | |
9250 | but also uses any of the others it will not trigger this warning. | |
9251 | Symbols beginning with an underscore and symbols using special | |
9252 | identifiers (q.v. L<perldata>) are exempt from this warning. | |
9253 | ||
9254 | =end original | |
9255 | ||
9256 | 注意: この警告は一度しか使われていないパッケージシンボルを検出します。 | |
9257 | つまり、レキシカル変数はこの警告を引き起こさないと言うことです。 | |
9258 | また、パッケージ変数 $c, @c, %c および | |
9259 | *c, &c, sub c{}, c(), c (ファイルハンドルまたはフォーマット) は | |
9260 | 同じであると考えます; プログラムが $c を一度だけ使っている蹴れどっも | |
9261 | その他のものも使っている場合、この警告は引き起こされません。 | |
9262 | 下線で始まるシンボルと特殊識別子 | |
9263 | (L<perldata> 参照) を使ったシンボルはこの警告を免れます。 | |
9264 | ||
9265 | =item Need exactly 3 octal digits in regex; marked by S<<-- HERE> in m/%s/ | |
9266 | ||
9267 | =begin original | |
9268 | ||
9269 | (F) Within S<C<(?[ ])>>, all constants interpreted as octal need to be | |
9270 | exactly 3 digits long. This helps catch some ambiguities. If your | |
9271 | constant is too short, add leading zeros, like | |
9272 | ||
9273 | =end original | |
9274 | ||
9275 | (F) S<C<(?[ ])>> の中で、8 進数として解釈される全ての定数は正確に 3 桁である | |
9276 | 必要があります。 | |
9277 | これはある種の曖昧さを捕まえる助けになります。 | |
9278 | 定数が短い場合は、以下のように先頭に 0 を追加してください | |
9279 | ||
9280 | (?[ [ \078 ] ]) # Syntax error! | |
9281 | (?[ [ \0078 ] ]) # Works | |
9282 | (?[ [ \007 8 ] ]) # Clearer | |
9283 | ||
9284 | =begin original | |
9285 | ||
9286 | The maximum number this construct can express is C<\777>. If you | |
9287 | need a larger one, you need to use L<\o{}|perlrebackslash/Octal escapes> instead. If you meant | |
9288 | two separate things, you need to separate them: | |
9289 | ||
9290 | =end original | |
9291 | ||
9292 | この構文が表現できる最大数は C<\777> です。 | |
9293 | より大きな値が必要なときは、代わりに L<\o{}|perlrebackslash/Octal escapes> を | |
9294 | 使う必要があります。 | |
9295 | 二つの別々のものを意味しているなら、分ける必要があります: | |
9296 | ||
9297 | (?[ [ \7776 ] ]) # Syntax error! | |
9298 | (?[ [ \o{7776} ] ]) # One meaning | |
9299 | (?[ [ \777 6 ] ]) # Another meaning | |
9300 | (?[ [ \777 \006 ] ]) # Still another | |
9301 | ||
9302 | =item Negative '/' count in unpack | |
9303 | ||
9304 | =begin original | |
9305 | ||
9306 | (F) The length count obtained from a length/code unpack operation was | |
9307 | negative. See L<perlfunc/pack>. | |
9308 | ||
9309 | =end original | |
9310 | ||
9311 | (F) 長さ/コード unpack 操作で得られた長さカウントが負数でした。 | |
9312 | L<perlfunc/pack> を参照してください。 | |
9313 | ||
4626 | 9314 | =item Negative length |
4627 | 9315 | |
4628 | 9316 | =begin original |
4629 | 9317 | |
4630 | 9318 | (F) You tried to do a read/write/send/recv operation with a buffer |
4631 | 9319 | length that is less than 0. This is difficult to imagine. |
4632 | 9320 | |
4633 | 9321 | =end original |
4634 | 9322 | |
4635 | 9323 | (F) ゼロより短い長さのバッファで、読み込み、書き込み、送信、受信を |
4636 | 9324 | 行なおうとしました。 |
4637 | ||
9325 | これは想像しにくいことです。 | |
4638 | 9326 | |
4639 | =item Ne | |
9327 | =item Negative offset to vec in lvalue context | |
4640 | 9328 | |
4641 | 9329 | =begin original |
4642 | 9330 | |
4643 | (F) | |
9331 | (F) When C<vec> is called in an lvalue context, the second argument must be | |
4644 | ||
9332 | greater than or equal to zero. | |
4645 | expression about where the problem was discovered. | |
4646 | 9333 | |
4647 | 9334 | =end original |
4648 | 9335 | |
4649 | (F) | |
9336 | (F) 左辺値コンテキストで C<vec> が呼び出されたとき、 | |
9337 | 二つ目の引数は 0 以上でなければなりません。 | |
9338 | ||
9339 | =item Negative repeat count does nothing | |
9340 | ||
9341 | =begin original | |
9342 | ||
9343 | (W numeric) You tried to execute the | |
9344 | L<C<x>|perlop/Multiplicative Operators> repetition operator fewer than 0 | |
9345 | times, which doesn't make sense. | |
9346 | ||
9347 | =end original | |
9348 | ||
9349 | (W numeric) L<C<x>|perlop/Multiplicative Operators> 繰り返し演算子を | |
9350 | 0 より小さい回数実行しようとしました; これは無意味です。 | |
9351 | ||
9352 | =item Nested quantifiers in regex; marked by S<<-- HERE> in m/%s/ | |
9353 | ||
9354 | =begin original | |
9355 | ||
9356 | (F) You can't quantify a quantifier without intervening parentheses. | |
9357 | So things like ** or +* or ?* are illegal. The S<<-- HERE> shows | |
9358 | whereabouts in the regular expression the problem was discovered. | |
9359 | ||
9360 | =end original | |
9361 | ||
9362 | (F) かっこを挟まないで、数量子を数量子で修飾することはできません。 | |
4650 | 9363 | つまり、** や +* や ?* といったものは、正しくありません。 |
4651 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
9364 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
4652 | 9365 | |
4653 | 9366 | =begin original |
4654 | 9367 | |
4655 | Note | |
9368 | Note that the minimal matching quantifiers, C<*?>, C<+?>, and | |
4656 | 9369 | C<??> appear to be nested quantifiers, but aren't. See L<perlre>. |
4657 | 9370 | |
4658 | 9371 | =end original |
4659 | 9372 | |
4660 | ||
9373 | 最短一致数量子の C<*?>、C<+?>、C<??> は、ネストした数量子のように | |
4661 | 9374 | 見えますが、そうではありません。 |
4662 | 9375 | L<perlre> を参照してください。 |
4663 | 9376 | |
4664 | 9377 | =item %s never introduced |
4665 | 9378 | |
4666 | 9379 | =begin original |
4667 | 9380 | |
4668 | 9381 | (S internal) The symbol in question was declared but somehow went out of |
4669 | 9382 | scope before it could possibly have been used. |
4670 | 9383 | |
4671 | 9384 | =end original |
4672 | 9385 | |
4673 | 9386 | (S internal) 問題のシンボルは、宣言されましたが、使われる前にスコープから |
4674 | 9387 | 外れてしまいました。 |
4675 | 9388 | |
9389 | =item next::method/next::can/maybe::next::method cannot find enclosing method | |
9390 | ||
9391 | =begin original | |
9392 | ||
9393 | (F) C<next::method> needs to be called within the context of a | |
9394 | real method in a real package, and it could not find such a context. | |
9395 | See L<mro>. | |
9396 | ||
9397 | =end original | |
9398 | ||
9399 | (F) C<next::method> は実パッケージの実メソッドのコンテキストの中で呼ばれる | |
9400 | 必要がありますが、そのようなコンテキストが見つけられませんでした。 | |
9401 | L<mro> を参照してください。 | |
9402 | ||
9403 | =item \N in a character class must be a named character: \N{...} in regex; | |
9404 | marked by S<<-- HERE> in m/%s/ | |
9405 | ||
9406 | =begin original | |
9407 | ||
9408 | (F) The new (as of Perl 5.12) meaning of C<\N> as C<[^\n]> is not valid in a | |
9409 | bracketed character class, for the same reason that C<.> in a character | |
9410 | class loses its specialness: it matches almost everything, which is | |
9411 | probably not what you want. | |
9412 | ||
9413 | =end original | |
9414 | ||
9415 | (F) C<[^\n]> という新しい (5.12 からの) C<\N> の意味は大かっこ文字クラスでは | |
9416 | 妥当ではありません; 文字クラス内の C<.> がその特殊性を失うのと同じ理由です: | |
9417 | これはほとんど何にでもマッチングし、これはおそらくあなたの求めているものでは | |
9418 | ないでしょう。 | |
9419 | ||
9420 | =item \N{} in inverted character class or as a range end-point is restricted to one character in regex; marked by <-- HERE in m/%s/ | |
9421 | ||
9422 | =begin original | |
9423 | ||
9424 | (F) Named Unicode character escapes (C<\N{...}>) may return a | |
9425 | multi-character sequence. Even though a character class is | |
9426 | supposed to match just one character of input, perl will match the | |
9427 | whole thing correctly, except when the class is inverted (C<[^...]>), | |
9428 | or the escape is the beginning or final end point of a range. The | |
9429 | mathematically logical behavior for what matches when inverting | |
9430 | is very different from what people expect, so we have decided to | |
9431 | forbid it. Similarly unclear is what should be generated when the | |
9432 | C<\N{...}> is used as one of the end points of the range, such as in | |
9433 | ||
9434 | =end original | |
9435 | ||
9436 | (F) 名前付き Unicode 文字エスケープ (C<(\N{...})>) は複数文字並びを | |
9437 | 返すことがあります。 | |
9438 | 文字クラスは入力のただ一つの文字にマッチングすることを想定していますが、 | |
9439 | perl は全体を正しくマッチングします; 但し例外は、 | |
9440 | クラスが反転された場合 (C<[^...]>) と、 | |
9441 | エスケープが範囲の始点か終点の場合です。 | |
9442 | 反転したときに何にマッチングするかに関する厳密に論理的な振る舞いは | |
9443 | 人々が想定するものと大きく異なっているので、これは禁止することにしました。 | |
9444 | 同様に不明確なものは、次のように、範囲の端点として C<\N{...}> が | |
9445 | 使われたときに何が生成されるべきかということです: | |
9446 | ||
9447 | [\x{41}-\N{ARABIC SEQUENCE YEH WITH HAMZA ABOVE WITH AE}] | |
9448 | ||
9449 | =begin original | |
9450 | ||
9451 | What is meant here is unclear, as the C<\N{...}> escape is a sequence | |
9452 | of code points, so this is made an error. | |
9453 | ||
9454 | =end original | |
9455 | ||
9456 | ここで意味しているものは不明確です; C<\N{...}> エスケープは | |
9457 | 符号位置の並びだからです; 従ってこれはエラーを発生させます。 | |
9458 | ||
9459 | =item \N{NAME} must be resolved by the lexer in regex; marked by | |
9460 | S<<-- HERE> in m/%s/ | |
9461 | ||
9462 | =begin original | |
9463 | ||
9464 | (F) When compiling a regex pattern, an unresolved named character or | |
9465 | sequence was encountered. This can happen in any of several ways that | |
9466 | bypass the lexer, such as using single-quotish context, or an extra | |
9467 | backslash in double-quotish: | |
9468 | ||
9469 | =end original | |
9470 | ||
9471 | (F) 正規表現パターンをコンパイルするとき、解決されない名前付き文字や並びに | |
9472 | 遭遇しました。 | |
9473 | これはシングルクォート風コンテキストを使ったり、ダブルクォート風で | |
9474 | 余分な逆スラッシュがあるような、字句解析器を回避する様々な方法のどれかで | |
9475 | 起こります: | |
9476 | ||
9477 | $re = '\N{SPACE}'; # Wrong! | |
9478 | $re = "\\N{SPACE}"; # Wrong! | |
9479 | /$re/; | |
9480 | ||
9481 | =begin original | |
9482 | ||
9483 | Instead, use double-quotes with a single backslash: | |
9484 | ||
9485 | =end original | |
9486 | ||
9487 | 代わりに、単一のバックスラッシュとダブルクォートを使ってください: | |
9488 | ||
9489 | $re = "\N{SPACE}"; # ok | |
9490 | /$re/; | |
9491 | ||
9492 | =begin original | |
9493 | ||
9494 | The lexer can be bypassed as well by creating the pattern from smaller | |
9495 | components: | |
9496 | ||
9497 | =end original | |
9498 | ||
9499 | 字句解析器はより小さい構造からパターンを作ることによっても回避できます: | |
9500 | ||
9501 | $re = '\N'; | |
9502 | /${re}{SPACE}/; # Wrong! | |
9503 | ||
9504 | =begin original | |
9505 | ||
9506 | It's not a good idea to split a construct in the middle like this, and | |
9507 | it doesn't work here. Instead use the solution above. | |
9508 | ||
9509 | =end original | |
9510 | ||
9511 | このように中間で構造を分割することはよい考えではなく、ここでは動作しません。 | |
9512 | 代わりに上述した解決法を使ってください。 | |
9513 | ||
9514 | =begin original | |
9515 | ||
9516 | Finally, the message also can happen under the C</x> regex modifier when the | |
9517 | C<\N> is separated by spaces from the C<{>, in which case, remove the spaces. | |
9518 | ||
9519 | =end original | |
9520 | ||
9521 | 最後に、このメッセージは C</x> 正規表現修飾子 が有効の時に C<\N> が C<{> と | |
9522 | 空白で区切られているときにもでます; この場合、空白を削除します。 | |
9523 | ||
9524 | /\N {SPACE}/x; # Wrong! | |
9525 | /\N{SPACE}/x; # ok | |
9526 | ||
4676 | 9527 | =item No %s allowed while running setuid |
4677 | 9528 | |
4678 | 9529 | =begin original |
4679 | 9530 | |
4680 | 9531 | (F) Certain operations are deemed to be too insecure for a setuid or |
4681 | 9532 | setgid script to even be allowed to attempt. Generally speaking there |
4682 | 9533 | will be another way to do what you want that is, if not secure, at least |
4683 | 9534 | securable. See L<perlsec>. |
4684 | 9535 | |
4685 | 9536 | =end original |
4686 | 9537 | |
4687 | 9538 | (F) ある種の操作は、setuid や setgid スクリプトにとって、 |
4688 | 9539 | やってみることはできても、とても安全なものとは考えられないものです。 |
4689 | 9540 | 一般に言って、安全ではなくても、安全にしうる、別の方法があるはずです。 |
4690 | 9541 | L<perlsec> を参照してください。 |
4691 | 9542 | |
4692 | =item No | |
9543 | =item No code specified for -%c | |
4693 | 9544 | |
4694 | 9545 | =begin original |
4695 | 9546 | |
4696 | (F) | |
9547 | (F) Perl's B<-e> and B<-E> command-line options require an argument. If | |
9548 | you want to run an empty program, pass the empty string as a separate | |
9549 | argument or run a program consisting of a single 0 or 1: | |
4697 | 9550 | |
4698 | 9551 | =end original |
4699 | 9552 | |
4700 | (F) | |
9553 | (F) Perl の B<-e> と B<-E> のコマンドラインオプションは引数が必要です。 | |
9554 | 空のプログラムを実行したい場合は、空文字列を別の引数として渡すか、単一の | |
9555 | 0 または 1 からなるプログラムを実行してください: | |
4701 | 9556 | |
9557 | perl -e "" | |
9558 | perl -e0 | |
9559 | perl -e1 | |
9560 | ||
4702 | 9561 | =item No comma allowed after %s |
4703 | 9562 | |
4704 | 9563 | =begin original |
4705 | 9564 | |
4706 | (F) A list operator that has a filehandle or "indirect object" is | |
9565 | (F) A list operator that has a filehandle or "indirect object" is | |
4707 | allowed to have a comma between that and the following arguments. | |
9566 | not allowed to have a comma between that and the following arguments. | |
4708 | 9567 | Otherwise it'd be just another one of the arguments. |
4709 | 9568 | |
4710 | 9569 | =end original |
4711 | 9570 | |
4712 | 9571 | (F) ファイルハンドルや「間接オブジェクト」を伴うリスト演算子では、 |
4713 | 9572 | それらとそれ以降の引数の間にコンマを入れることはできません。 |
4714 | 9573 | そのようにした場合には、引数の一つとなってしまいます。 |
4715 | 9574 | |
4716 | 9575 | =begin original |
4717 | 9576 | |
4718 | One possible cause for this is that you expected to have imported | |
9577 | One possible cause for this is that you expected to have imported | |
4719 | constant to your name space with B<use> or B<import> while no such | |
9578 | a constant to your name space with B<use> or B<import> while no such | |
4720 | importing took place, it may for example be that your operating | |
9579 | importing took place, it may for example be that your operating | |
4721 | does not support that particular constant. Hopefully you did | |
9580 | system does not support that particular constant. Hopefully you did | |
4722 | explicit import list for the constants you expect to see | |
9581 | use an explicit import list for the constants you expect to see; | |
4723 | L<perlfunc/use> and L<perlfunc/import>. While an | |
9582 | please see L<perlfunc/use> and L<perlfunc/import>. While an | |
4724 | would probably have caught this error earlier | |
9583 | explicit import list would probably have caught this error earlier | |
4725 | remedy the fact that your operating system | |
9584 | it naturally does not remedy the fact that your operating system | |
4726 | constant. Maybe you have a typo in | |
9585 | still does not support that constant. Maybe you have a typo in | |
4727 | list of B<use> or B<import> or in th | |
9586 | the constants of the symbol import list of B<use> or B<import> or in the | |
4728 | this error was triggered? | |
9587 | constant name at the line where this error was triggered? | |
4729 | 9588 | |
4730 | 9589 | =end original |
4731 | 9590 | |
4732 | 9591 | これの原因としてあり得るものの一つは、B<use> や B<import> を使って |
4733 | 9592 | 名前空間にインポートしたつもりの定数が実際にはインポートされていなかった |
4734 | 9593 | 場合です; |
4735 | 9594 | 例えば OS が特定の定数に対応していない場合などです。 |
4736 | 9595 | できればインポートしたい定数のリストを明示的に使ってください; |
4737 | 9596 | L<perlfunc/use> と L<perlfunc/import> を参照して下さい。 |
4738 | 9597 | 明示的なインポートリストでおそらくこのエラーをより早く知ることができますが、 |
4739 | 9598 | そもそも OS がその定数に対応していないという問題を解決はしません。 |
4740 | 9599 | おそらく B<use> や B<import> のシンボルインポートリストの定数か、 |
4741 | 9600 | エラーを引き起こした行の定数名をタイプミスしたのでは? |
4742 | 9601 | |
4743 | 9602 | =item No command into which to pipe on command line |
4744 | 9603 | |
4745 | 9604 | =begin original |
4746 | 9605 | |
4747 | 9606 | (F) An error peculiar to VMS. Perl handles its own command line |
4748 | 9607 | redirection, and found a '|' at the end of the command line, so it |
4749 | 9608 | doesn't know where you want to pipe the output from this command. |
4750 | 9609 | |
4751 | 9610 | =end original |
4752 | 9611 | |
4753 | (F) VMSに固有のエラーです。 | |
9612 | (F) VMS に固有のエラーです。 | |
4754 | 9613 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
4755 | 9614 | コマンドラインの最後にに '|' を発見しましたが、 |
4756 | 9615 | このコマンドから出力をどこにパイプしたいのかがわかりませんでした。 |
4757 | 9616 | |
4758 | 9617 | =item No DB::DB routine defined |
4759 | 9618 | |
4760 | 9619 | =begin original |
4761 | 9620 | |
4762 | 9621 | (F) The currently executing code was compiled with the B<-d> switch, but |
4763 | for some reason the perl5db.pl | |
9622 | for some reason the current debugger (e.g. F<perl5db.pl> or a C<Devel::> | |
4764 | define a routine to be called at the beginning of ea | |
9623 | module) didn't define a routine to be called at the beginning of each | |
4765 | ||
9624 | statement. | |
4766 | should have blown up the require if it didn't parse right. | |
4767 | 9625 | |
4768 | 9626 | =end original |
4769 | 9627 | |
4770 | 9628 | (F) 現在実行中のコードは、B<-d> スイッチを付けてコンパイルされましたが、 |
4771 | 何らかの理由により、perl5db.pl | |
9629 | 何らかの理由により、現在のデバッガ(F<perl5db.pl> か C<Devel::> モジュール) | |
4772 | 呼び出すルーティンを定義していません。 | |
9630 | が各実行文の頭で呼び出すルーティンを定義していません。 | |
4773 | そのファイルは自動的に require されるものであり、正しく解釈できなければ、 | |
4774 | require が失敗するはずですので、これはとても有り得ない状態です。 | |
4775 | 9631 | |
4776 | 9632 | =item No dbm on this machine |
4777 | 9633 | |
4778 | 9634 | =begin original |
4779 | 9635 | |
4780 | 9636 | (P) This is counted as an internal error, because every machine should |
4781 | 9637 | supply dbm nowadays, because Perl comes with SDBM. See L<SDBM_File>. |
4782 | 9638 | |
4783 | 9639 | =end original |
4784 | 9640 | |
4785 | (P) これは、内部エラーとして扱われます | |
9641 | (P) これは、内部エラーとして扱われます; Perl に SDBM が付いてくるので、 | |
4786 | 9642 | どのマシンでも dbm が使えるはずだからです。 |
4787 | 9643 | L<SDBM_File> を参照してください。 |
4788 | 9644 | |
4789 | =item No DBsub routine | |
9645 | =item No DB::sub routine defined | |
4790 | 9646 | |
4791 | 9647 | =begin original |
4792 | 9648 | |
4793 | (F) The currently executing code was compiled with the B<-d> switch, | |
9649 | (F) The currently executing code was compiled with the B<-d> switch, but | |
4794 | ||
9650 | for some reason the current debugger (e.g. F<perl5db.pl> or a C<Devel::> | |
4795 | didn't define a DB::sub routine to be called at the beginning | |
9651 | module) didn't define a C<DB::sub> routine to be called at the beginning | |
4796 | ordinary subroutine call. | |
9652 | of each ordinary subroutine call. | |
4797 | 9653 | |
4798 | 9654 | =end original |
4799 | 9655 | |
4800 | (F) 現在実行中のコードは、-d スイッチを付けてコンパイルされましたが、 | |
9656 | (F) 現在実行中のコードは、B<-d> スイッチを付けてコンパイルされましたが、 | |
4801 | 何らかの理由により、perl5db.pl | |
9657 | 何らかの理由により、現在のデバッガ(F<perl5db.pl> か C<Devel::> モジュール)が | |
4802 | 各サブルー | |
9658 | 各サブルーチン呼び出しの頭で呼び出す C<DB::sub> ルーティンを | |
4803 | ||
9659 | 定義していませんでした。 | |
4804 | 9660 | |
9661 | =item No directory specified for -I | |
9662 | ||
9663 | =begin original | |
9664 | ||
9665 | (F) The B<-I> command-line switch requires a directory name as part of the | |
9666 | I<same> argument. Use B<-Ilib>, for instance. B<-I lib> won't work. | |
9667 | ||
9668 | =end original | |
9669 | ||
9670 | (F) B<-I> コマンドラインオプションは I<同じ> 引数の一部としてディレクトリ名が | |
9671 | 必要です。 | |
9672 | 例えば、B<-Ilib> としてください。 | |
9673 | B<-I lib> は動作しません。 | |
9674 | ||
4805 | 9675 | =item No error file after 2> or 2>> on command line |
4806 | 9676 | |
4807 | 9677 | =begin original |
4808 | 9678 | |
4809 | 9679 | (F) An error peculiar to VMS. Perl handles its own command line |
4810 | 9680 | redirection, and found a '2>' or a '2>>' on the command line, but can't |
4811 | 9681 | find the name of the file to which to write data destined for stderr. |
4812 | 9682 | |
4813 | 9683 | =end original |
4814 | 9684 | |
4815 | (F) VMSに固有のエラーです。 | |
9685 | (F) VMS に固有のエラーです。 | |
4816 | 9686 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
4817 | 9687 | コマンドラインに '2>' や '2>>' を発見しましたが、 |
4818 | 9688 | 標準エラーとしてデータを書き込むファイル名が見つかりませんでした。 |
4819 | 9689 | |
9690 | =item No group ending character '%c' found in template | |
9691 | ||
9692 | =begin original | |
9693 | ||
9694 | (F) A pack or unpack template has an opening '(' or '[' without its | |
9695 | matching counterpart. See L<perlfunc/pack>. | |
9696 | ||
9697 | =end original | |
9698 | ||
9699 | (F) pack や unpack のテンプレートに開きかっこの '(' や '[' がありますが、 | |
9700 | 対応する閉じかっこがありません。 | |
9701 | L<perlfunc/pack> を参照してください。 | |
9702 | ||
4820 | 9703 | =item No input file after < on command line |
4821 | 9704 | |
4822 | 9705 | =begin original |
4823 | 9706 | |
4824 | 9707 | (F) An error peculiar to VMS. Perl handles its own command line |
4825 | 9708 | redirection, and found a '<' on the command line, but can't find the |
4826 | 9709 | name of the file from which to read data for stdin. |
4827 | 9710 | |
4828 | 9711 | =end original |
4829 | 9712 | |
4830 | (F) VMS | |
9713 | (F) VMS に固有のエラーです。 | |
4831 | 9714 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインに |
4832 | 9715 | '<' を発見しましたが、標準入力として読み込むためのファイル名が |
4833 | 9716 | 見つかりませんでした。 |
4834 | 9717 | |
4835 | =item No | |
9718 | =item No next::method '%s' found for %s | |
4836 | 9719 | |
4837 | 9720 | =begin original |
4838 | 9721 | |
4839 | (F) | |
9722 | (F) C<next::method> found no further instances of this method name | |
4840 | ||
9723 | in the remaining packages of the MRO of this class. If you don't want | |
9724 | it throwing an exception, use C<maybe::next::method> | |
9725 | or C<next::can>. See L<mro>. | |
4841 | 9726 | |
4842 | 9727 | =end original |
4843 | 9728 | |
4844 | (F) | |
9729 | (F) C<next::method> で、このクラスの MRO で残っているパッケージの中で、この | |
4845 | ||
9730 | メソッド名のインスタンスがもうありません。 | |
9731 | もし例外を投げたくないなら、C<maybe::next::method> か C<next::can> を | |
9732 | 使ってください。 | |
9733 | L<mro> を参照してください。 | |
4846 | 9734 | |
9735 | =item Non-finite repeat count does nothing | |
9736 | ||
9737 | =begin original | |
9738 | ||
9739 | (W numeric) You tried to execute the | |
9740 | L<C<x>|perlop/Multiplicative Operators> repetition operator C<Inf> (or | |
9741 | C<-Inf>) or C<NaN> times, which doesn't make sense. | |
9742 | ||
9743 | =end original | |
9744 | ||
9745 | (W numeric) L<C<x>|perlop/Multiplicative Operators> 繰り返し演算子を | |
9746 | C<Inf> (または C<-Inf>) 回、または C<NaN> 回実行しようとしました; | |
9747 | これは意味がありません。 | |
9748 | ||
9749 | =item Non-hex character in regex; marked by S<<-- HERE> in m/%s/ | |
9750 | ||
9751 | =begin original | |
9752 | ||
9753 | (F) In a regular expression, there was a non-hexadecimal character where | |
9754 | a hex one was expected, like | |
9755 | ||
9756 | =end original | |
9757 | ||
9758 | (F) 正規表現で、次のように 16 進文字が想定されるところで非 16 進文字がありました | |
9759 | ||
9760 | (?[ [ \xDG ] ]) | |
9761 | (?[ [ \x{DEKA} ] ]) | |
9762 | ||
9763 | =item Non-octal character in regex; marked by S<<-- HERE> in m/%s/ | |
9764 | ||
9765 | =begin original | |
9766 | ||
9767 | (F) In a regular expression, there was a non-octal character where | |
9768 | an octal one was expected, like | |
9769 | ||
9770 | =end original | |
9771 | ||
9772 | (F) 正規表現で、次のように 8 進文字が想定されるところで非 8 進文字がありました | |
9773 | ||
9774 | (?[ [ \o{1278} ] ]) | |
9775 | ||
9776 | =item Non-octal character '%c'. Resolved as "%s" | |
9777 | ||
9778 | =begin original | |
9779 | ||
9780 | (W digit) In parsing an octal numeric constant, a character was | |
9781 | unexpectedly encountered that isn't octal. The resulting value | |
9782 | is as indicated. | |
9783 | ||
9784 | =end original | |
9785 | ||
9786 | (W digit) 8 進数定数をパースするときに、8 進数でない文字に遭遇しました。 | |
9787 | 結果の値は示された通りになります。 | |
9788 | ||
4847 | 9789 | =item "no" not allowed in expression |
4848 | 9790 | |
4849 | 9791 | =begin original |
4850 | 9792 | |
4851 | 9793 | (F) The "no" keyword is recognized and executed at compile time, and |
4852 | 9794 | returns no useful value. See L<perlmod>. |
4853 | 9795 | |
4854 | 9796 | =end original |
4855 | 9797 | |
4856 | 9798 | (F) "no" キーワードは、コンパイル時に認識され、実行されるもので、 |
4857 | 9799 | 意味のある値を返しません。 |
4858 | 9800 | L<perlmod> を参照してください。 |
4859 | 9801 | |
9802 | =item Non-string passed as bitmask | |
9803 | ||
9804 | =begin original | |
9805 | ||
9806 | (W misc) A number has been passed as a bitmask argument to select(). | |
9807 | Use the vec() function to construct the file descriptor bitmasks for | |
9808 | select. See L<perlfunc/select>. | |
9809 | ||
9810 | =end original | |
9811 | ||
9812 | (W misc) select() のビットマスク引数として数値が渡されました。 | |
9813 | select のためのファイル記述子のビットマスクを構成するには、 | |
9814 | vec() 関数を使ってください。 | |
9815 | L<perlfunc/select> を参照してください。 | |
9816 | ||
4860 | 9817 | =item No output file after > on command line |
4861 | 9818 | |
4862 | 9819 | =begin original |
4863 | 9820 | |
4864 | 9821 | (F) An error peculiar to VMS. Perl handles its own command line |
4865 | 9822 | redirection, and found a lone '>' at the end of the command line, so it |
4866 | 9823 | doesn't know where you wanted to redirect stdout. |
4867 | 9824 | |
4868 | 9825 | =end original |
4869 | 9826 | |
4870 | (F) VMS | |
9827 | (F) VMS に固有のエラーです。 | |
4871 | 9828 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインの |
4872 | 9829 | 最後に単独の '>' を発見したので、stdout をどこにリダイレクトしたいのかが |
4873 | 9830 | わかりませんでした。 |
4874 | 9831 | |
4875 | 9832 | =item No output file after > or >> on command line |
4876 | 9833 | |
4877 | 9834 | =begin original |
4878 | 9835 | |
4879 | 9836 | (F) An error peculiar to VMS. Perl handles its own command line |
4880 | 9837 | redirection, and found a '>' or a '>>' on the command line, but can't |
4881 | 9838 | find the name of the file to which to write data destined for stdout. |
4882 | 9839 | |
4883 | 9840 | =end original |
4884 | 9841 | |
4885 | (F) VMS | |
9842 | (F) VMS に固有のエラーです。 | |
4886 | 9843 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインに |
4887 | 9844 | '>' や '>>' を発見しましたが、stdout を書き込むためのファイル名が |
4888 | 9845 | 見つかりませんでした。 |
4889 | 9846 | |
9847 | =item No package name allowed for subroutine %s in "our" | |
9848 | ||
4890 | 9849 | =item No package name allowed for variable %s in "our" |
4891 | 9850 | |
4892 | 9851 | =begin original |
4893 | 9852 | |
4894 | (F) Fully qualified variable names are not allowed in "our" | |
9853 | (F) Fully qualified subroutine and variable names are not allowed in "our" | |
4895 | declarations, because that doesn't make much sense under existing | |
9854 | declarations, because that doesn't make much sense under existing rules. | |
4896 | ||
9855 | Such syntax is reserved for future extensions. | |
4897 | 9856 | |
4898 | 9857 | =end original |
4899 | 9858 | |
4900 | (F) 完全修飾変数名は "our" 宣言では使えません; | |
9859 | (F) 完全修飾されたサブルーチン名や変数名は "our" 宣言では使えません; | |
4901 | 9860 | なぜなら現在の動作ではほとんど意味がないからです。 |
4902 | 9861 | そのような文法は将来の拡張に予約されています。 |
4903 | 9862 | |
4904 | 9863 | =item No Perl script found in input |
4905 | 9864 | |
4906 | 9865 | =begin original |
4907 | 9866 | |
4908 | 9867 | (F) You called C<perl -x>, but no line was found in the file beginning |
4909 | 9868 | with #! and containing the word "perl". |
4910 | 9869 | |
4911 | 9870 | =end original |
4912 | 9871 | |
4913 | 9872 | (F) C<perl -x> を呼び出しましたが、そのファイルに #! で始まり、 |
4914 | 9873 | "perl" という語を含む行が見つかりませんでした。 |
4915 | 9874 | |
4916 | 9875 | =item No setregid available |
4917 | 9876 | |
4918 | 9877 | =begin original |
4919 | 9878 | |
4920 | 9879 | (F) Configure didn't find anything resembling the setregid() call for |
4921 | 9880 | your system. |
4922 | 9881 | |
4923 | 9882 | =end original |
4924 | 9883 | |
4925 | 9884 | (F) Configure が、システム上に setregid() のような関数を |
4926 | 9885 | 見つけられませんでした。 |
4927 | 9886 | |
4928 | 9887 | =item No setreuid available |
4929 | 9888 | |
4930 | 9889 | =begin original |
4931 | 9890 | |
4932 | 9891 | (F) Configure didn't find anything resembling the setreuid() call for |
4933 | 9892 | your system. |
4934 | 9893 | |
4935 | 9894 | =end original |
4936 | 9895 | |
4937 | 9896 | (F) Configure が、システム上に setreuid() のような関数を |
4938 | 9897 | 見つけられませんでした。 |
4939 | 9898 | |
4940 | =item No s | |
9899 | =item No such class %s | |
4941 | 9900 | |
4942 | 9901 | =begin original |
4943 | 9902 | |
4944 | (F) | |
9903 | (F) You provided a class qualifier in a "my", "our" or "state" | |
4945 | ||
9904 | declaration, but this class doesn't exist at this point in your program. | |
4946 | 9905 | |
4947 | 9906 | =end original |
4948 | 9907 | |
4949 | (F) | |
9908 | (F) "my", "our", "state" の宣言でクラス修飾子が指定されましたが、指定された | |
4950 | ス | |
9909 | クラスは現時点では存在しません。 | |
4951 | 9910 | |
4952 | =item No | |
9911 | =item No such class field "%s" in variable %s of type %s | |
4953 | 9912 | |
4954 | 9913 | =begin original |
4955 | 9914 | |
4956 | (F) | |
9915 | (F) You tried to access a key from a hash through the indicated typed | |
4957 | ||
9916 | variable but that key is not allowed by the package of the same type. | |
9917 | The indicated package has restricted the set of allowed keys using the | |
9918 | L<fields> pragma. | |
4958 | 9919 | |
4959 | 9920 | =end original |
4960 | 9921 | |
4961 | (F) | |
9922 | (F) 示されている型の変数を通してハッシュのキーにアクセスしようとしましたが、 | |
4962 | ||
9923 | そのキーは同じ型のパッケージによって許可されていません。 | |
9924 | 示されているパッケージは L<fields> プラグマによって許可されるキーの集合が | |
9925 | 制限されています。 | |
4963 | 9926 | |
9927 | =item No such hook: %s | |
9928 | ||
9929 | =begin original | |
9930 | ||
9931 | (F) You specified a signal hook that was not recognized by Perl. | |
9932 | Currently, Perl accepts C<__DIE__> and C<__WARN__> as valid signal hooks. | |
9933 | ||
9934 | =end original | |
9935 | ||
9936 | (F) Perl が認識できないシグナルフックを指定しました。 | |
9937 | 現在のところ、Perl は有効なシグナルフックとして | |
9938 | C<__DIE__> と C<__WARN__> を受け付けます。 | |
9939 | ||
4964 | 9940 | =item No such pipe open |
4965 | 9941 | |
4966 | 9942 | =begin original |
4967 | 9943 | |
4968 | 9944 | (P) An error peculiar to VMS. The internal routine my_pclose() tried to |
4969 | 9945 | close a pipe which hadn't been opened. This should have been caught |
4970 | 9946 | earlier as an attempt to close an unopened filehandle. |
4971 | 9947 | |
4972 | 9948 | =end original |
4973 | 9949 | |
4974 | (P) VMS | |
9950 | (P) VMS に固有のエラーです。 | |
4975 | 9951 | 内部ルーチンである my_pclose() が、開いていないパイプを閉じようとしました。 |
4976 | 9952 | これは開いていないファイルハンドルを閉じようとしたとしてもっと早くに |
4977 | 9953 | 捕捉されるべきものです。 |
4978 | 9954 | |
4979 | =item No such pseudo-hash field "%s" | |
4980 | ||
4981 | =begin original | |
4982 | ||
4983 | (F) You tried to access an array as a hash, but the field name used is | |
4984 | not defined. The hash at index 0 should map all valid field names to | |
4985 | array indices for that to work. | |
4986 | ||
4987 | =end original | |
4988 | ||
4989 | (F) 配列にハッシュとしてアクセスしようとしましたが、使われたフィールド名は | |
4990 | 未定義です。 | |
4991 | インデックス 0 のハッシュは全ての有効なフィールド名が動作する配列 | |
4992 | インデックスにマッピングされるべきです。 | |
4993 | ||
4994 | =item No such pseudo-hash field "%s" in variable %s of type %s | |
4995 | ||
4996 | =begin original | |
4997 | ||
4998 | (F) You tried to access a field of a typed variable where the type does | |
4999 | not know about the field name. The field names are looked up in the | |
5000 | %FIELDS hash in the type package at compile time. The %FIELDS hash is | |
5001 | %usually set up with the 'fields' pragma. | |
5002 | ||
5003 | =end original | |
5004 | ||
5005 | (F) 型がフィールド名について知らない型付き変数のフィールドに | |
5006 | アクセスしようとしました。 | |
5007 | フィールド名はコンパイル時に型パッケージの %FIELDS ハッシュから | |
5008 | 検索されます。 | |
5009 | %FIELDS ハッシュは通常 'fields' プラグマで設定されます。 | |
5010 | ||
5011 | 9955 | =item No such signal: SIG%s |
5012 | 9956 | |
5013 | 9957 | =begin original |
5014 | 9958 | |
5015 | 9959 | (W signal) You specified a signal name as a subscript to %SIG that was |
5016 | 9960 | not recognized. Say C<kill -l> in your shell to see the valid signal |
5017 | 9961 | names on your system. |
5018 | 9962 | |
5019 | 9963 | =end original |
5020 | 9964 | |
5021 | 9965 | (W signal) %SIG の添字として認識できないシグナル名を指定しました。 |
5022 | 9966 | お使いのシステムで使用可能なシグナル名を調べるには、 |
5023 | 9967 | シェル上で C<kill -l> などとしてください。 |
5024 | 9968 | |
5025 | 9969 | =item Not a CODE reference |
5026 | 9970 | |
5027 | 9971 | =begin original |
5028 | 9972 | |
5029 | 9973 | (F) Perl was trying to evaluate a reference to a code value (that is, a |
5030 | 9974 | subroutine), but found a reference to something else instead. You can |
5031 | 9975 | use the ref() function to find out what kind of ref it really was. See |
5032 | 9976 | also L<perlref>. |
5033 | 9977 | |
5034 | 9978 | =end original |
5035 | 9979 | |
5036 | (F) Perl がコード値 (サブルー | |
9980 | (F) Perl がコード値 (サブルーチン) へのリファレンスを | |
5037 | 9981 | 評価しようとしましたが、別のものへのリファレンスでした。 |
5038 | 9982 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
5039 | 9983 | 使うことができます。 |
5040 | 9984 | L<perlref> も参照してください。 |
5041 | 9985 | |
5042 | =item Not a format reference | |
5043 | ||
5044 | =begin original | |
5045 | ||
5046 | (F) I'm not sure how you managed to generate a reference to an anonymous | |
5047 | format, but this indicates you did, and that it didn't exist. | |
5048 | ||
5049 | =end original | |
5050 | ||
5051 | (F) どのように無名のフォーマットへのリファレンスを生成したのかは | |
5052 | わかりませんが、このメッセージは、それが指定されて、 | |
5053 | 存在しなかったことを示します。 | |
5054 | ||
5055 | 9986 | =item Not a GLOB reference |
5056 | 9987 | |
5057 | 9988 | =begin original |
5058 | 9989 | |
5059 | 9990 | (F) Perl was trying to evaluate a reference to a "typeglob" (that is, a |
5060 | 9991 | symbol table entry that looks like C<*foo>), but found a reference to |
5061 | 9992 | something else instead. You can use the ref() function to find out what |
5062 | 9993 | kind of ref it really was. See L<perlref>. |
5063 | 9994 | |
5064 | 9995 | =end original |
5065 | 9996 | |
5066 | 9997 | (F) Perl が「型グロブ」(これは、C<*foo> のような |
5067 | 9998 | シンボルテーブルエントリです) へのリファレンスを評価しようとしましたが、 |
5068 | 9999 | 別のものへのリファレンスでした。 |
5069 | 10000 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
5070 | 10001 | 使うことができます。 |
5071 | 10002 | L<perlref> を参照してください。 |
5072 | 10003 | |
5073 | 10004 | =item Not a HASH reference |
5074 | 10005 | |
5075 | 10006 | =begin original |
5076 | 10007 | |
5077 | 10008 | (F) Perl was trying to evaluate a reference to a hash value, but found a |
5078 | 10009 | reference to something else instead. You can use the ref() function to |
5079 | 10010 | find out what kind of ref it really was. See L<perlref>. |
5080 | 10011 | |
5081 | 10012 | =end original |
5082 | 10013 | |
5083 | 10014 | (F) Perl がハッシュ値へのリファレンスを評価しようとしましたが、 |
5084 | 10015 | 別のものへのリファレンスでした。 |
5085 | 10016 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
5086 | 10017 | 使うことができます。 |
5087 | 10018 | L<perlref> を参照してください。 |
5088 | 10019 | |
10020 | =item '#' not allowed immediately following a sigil in a subroutine signature | |
10021 | ||
10022 | =begin original | |
10023 | ||
10024 | (F) In a subroutine signature definition, a comment following a sigil | |
10025 | (C<$>, C<@> or C<%>), needs to be separated by whitespace or a comma etc., in | |
10026 | particular to avoid confusion with the C<$#> variable. For example: | |
10027 | ||
10028 | =end original | |
10029 | ||
10030 | (F) サブルーチンシグネチャ定義で、印 (C<$>, C<@>, C<%>) に引き続く | |
10031 | コメントは、特に C<$#> 変数との混乱を避けるために、 | |
10032 | 空白やカンマなどで分ける必要があります; | |
10033 | 例えば: | |
10034 | ||
10035 | # bad | |
10036 | sub f ($# ignore first arg | |
10037 | , $b) {} | |
10038 | # good | |
10039 | sub f ($, # ignore first arg | |
10040 | $b) {} | |
10041 | ||
5089 | 10042 | =item Not an ARRAY reference |
5090 | 10043 | |
5091 | 10044 | =begin original |
5092 | 10045 | |
5093 | 10046 | (F) Perl was trying to evaluate a reference to an array value, but found |
5094 | 10047 | a reference to something else instead. You can use the ref() function |
5095 | 10048 | to find out what kind of ref it really was. See L<perlref>. |
5096 | 10049 | |
5097 | 10050 | =end original |
5098 | 10051 | |
5099 | 10052 | (F) Perl が配列値へのリファレンスを評価しようとしましたが、 |
5100 | 10053 | 別のものへのリファレンスでした。 |
5101 | 10054 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
5102 | 10055 | 使うことができます。 |
5103 | 10056 | L<perlref> を参照してください。 |
5104 | 10057 | |
5105 | =item Not a perl script | |
5106 | ||
5107 | =begin original | |
5108 | ||
5109 | (F) The setuid emulator requires that scripts have a well-formed #! line | |
5110 | even on machines that don't support the #! construct. The line must | |
5111 | mention perl. | |
5112 | ||
5113 | =end original | |
5114 | ||
5115 | (F) setuid エミュレータでは、たとえマシンがサポートしていなくても、 | |
5116 | 完全な形の #! 行がスクリプトに書かれていなければなりません。 | |
5117 | この行で指定されるのは、perl でなければなりません。 | |
5118 | ||
5119 | 10058 | =item Not a SCALAR reference |
5120 | 10059 | |
5121 | 10060 | =begin original |
5122 | 10061 | |
5123 | 10062 | (F) Perl was trying to evaluate a reference to a scalar value, but found |
5124 | 10063 | a reference to something else instead. You can use the ref() function |
5125 | 10064 | to find out what kind of ref it really was. See L<perlref>. |
5126 | 10065 | |
5127 | 10066 | =end original |
5128 | 10067 | |
5129 | 10068 | (F) Perl がスカラ値へのリファレンスを評価しようとしましたが、 |
5130 | 10069 | 別のものへのリファレンスでした。 |
5131 | 10070 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
5132 | 10071 | 使うことができます。 |
5133 | 10072 | L<perlref> を参照してください。 |
5134 | 10073 | |
5135 | 10074 | =item Not a subroutine reference |
5136 | 10075 | |
5137 | 10076 | =begin original |
5138 | 10077 | |
5139 | 10078 | (F) Perl was trying to evaluate a reference to a code value (that is, a |
5140 | 10079 | subroutine), but found a reference to something else instead. You can |
5141 | 10080 | use the ref() function to find out what kind of ref it really was. See |
5142 | 10081 | also L<perlref>. |
5143 | 10082 | |
5144 | 10083 | =end original |
5145 | 10084 | |
5146 | (F) Perl がコード値 (サブルー | |
10085 | (F) Perl がコード値 (サブルーチン) へのリファレンスを | |
5147 | 10086 | 評価しようとしましたが、別のものへのリファレンスでした。 |
5148 | 10087 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
5149 | 10088 | 使うことができます。 |
5150 | 10089 | L<perlref> も参照してください。 |
5151 | 10090 | |
5152 | 10091 | =item Not a subroutine reference in overload table |
5153 | 10092 | |
5154 | 10093 | =begin original |
5155 | 10094 | |
5156 | 10095 | (F) An attempt was made to specify an entry in an overloading table that |
5157 | 10096 | doesn't somehow point to a valid subroutine. See L<overload>. |
5158 | 10097 | |
5159 | 10098 | =end original |
5160 | 10099 | |
5161 | (F) 多重定義テーブルで、有効なサブルー | |
10100 | (F) 多重定義テーブルで、有効なサブルーチンを指していないエントリを | |
5162 | 10101 | 指定しようとしました。 |
5163 | 10102 | L<overload> を参照してください。 |
5164 | 10103 | |
5165 | 10104 | =item Not enough arguments for %s |
5166 | 10105 | |
5167 | 10106 | =begin original |
5168 | 10107 | |
5169 | 10108 | (F) The function requires more arguments than you specified. |
5170 | 10109 | |
5171 | 10110 | =end original |
5172 | 10111 | |
5173 | 10112 | (F) この関数は、指定したよりも多くの引数を必要とします。 |
5174 | 10113 | |
5175 | 10114 | =item Not enough format arguments |
5176 | 10115 | |
5177 | 10116 | =begin original |
5178 | 10117 | |
5179 | 10118 | (W syntax) A format specified more picture fields than the next line |
5180 | 10119 | supplied. See L<perlform>. |
5181 | 10120 | |
5182 | 10121 | =end original |
5183 | 10122 | |
5184 | 10123 | (W syntax) 指定したフォーマットに、次の行で指定したより多くの |
5185 | 10124 | ピクチャフィールドがあります。 |
5186 | 10125 | L<perlform> を参照してください。 |
5187 | 10126 | |
5188 | 10127 | =item %s: not found |
5189 | 10128 | |
5190 | 10129 | =begin original |
5191 | 10130 | |
5192 | 10131 | (A) You've accidentally run your script through the Bourne shell instead |
5193 | 10132 | of Perl. Check the #! line, or manually feed your script into Perl |
5194 | 10133 | yourself. |
5195 | 10134 | |
5196 | 10135 | =end original |
5197 | 10136 | |
5198 | (A) スクリプトを | |
10137 | (A) スクリプトを perl ではなく Bourne shell で実行しようとしました。 | |
5199 | #! | |
10138 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 | |
5200 | 10139 | |
10140 | =item (?[...]) not valid in locale in regex; marked by S<<-- HERE> in m/%s/ | |
10141 | ||
10142 | =begin original | |
10143 | ||
10144 | (F) C<(?[...])> cannot be used within the scope of a C<S<use locale>> or with | |
10145 | an C</l> regular expression modifier, as that would require deferring | |
10146 | to run-time the calculation of what it should evaluate to, and it is | |
10147 | regex compile-time only. | |
10148 | ||
10149 | =end original | |
10150 | ||
10151 | (F) C<(?[...])> は C<S<use locale>> のスコープ内や C</l> 正規表現修飾子付きでは | |
10152 | 使えません; これは何を評価するべきかを実行時の計算によりますが、 | |
10153 | これは正規表現のコンパイル時のみだからです。 | |
10154 | ||
5201 | 10155 | =item no UTC offset information; assuming local time is UTC |
5202 | 10156 | |
5203 | 10157 | =begin original |
5204 | 10158 | |
5205 | 10159 | (S) A warning peculiar to VMS. Perl was unable to find the local |
5206 | 10160 | timezone offset, so it's assuming that local system time is equivalent |
5207 | 10161 | to UTC. If it's not, define the logical name |
5208 | 10162 | F<SYS$TIMEZONE_DIFFERENTIAL> to translate to the number of seconds which |
5209 | 10163 | need to be added to UTC to get local time. |
5210 | 10164 | |
5211 | 10165 | =end original |
5212 | 10166 | |
5213 | (S) VMS 固有の警告です。 | |
10167 | (S) VMS に固有の警告です。 | |
5214 | 10168 | Perl はローカルタイムゾーンオフセットを見つけることができなかったので、 |
5215 | 10169 | ローカルシステムタイムは UTC と等価であると仮定します。 |
5216 | 10170 | もし違うなら、論理名 F<SYS$TIMEZONE_DIFFERENTIAL> に、UTC からローカル |
5217 | 10171 | 時刻を得るために加える必要がある秒数を定義してください。 |
5218 | 10172 | |
5219 | =item Null filename used | |
5220 | ||
5221 | =begin original | |
5222 | ||
5223 | (F) You can't require the null filename, especially because on many | |
5224 | machines that means the current directory! See L<perlfunc/require>. | |
5225 | ||
5226 | =end original | |
5227 | ||
5228 | (F) 特に、多くのマシンでカレントディレクトリを意味するため、 | |
5229 | 空のファイル名は require できません! | |
5230 | L<perlfunc/require> を参照してください。 | |
5231 | ||
5232 | 10173 | =item NULL OP IN RUN |
5233 | 10174 | |
5234 | 10175 | =begin original |
5235 | 10176 | |
5236 | ( | |
10177 | (S debugging) Some internal routine called run() with a null opcode | |
5237 | 10178 | pointer. |
5238 | 10179 | |
5239 | 10180 | =end original |
5240 | 10181 | |
5241 | ( | |
10182 | (S debugging) 内部ルーティンで、ヌル opcode ポインタで run() を | |
5242 | 10183 | 呼んだものがあります。 |
5243 | 10184 | |
5244 | 10185 | =item Null picture in formline |
5245 | 10186 | |
5246 | 10187 | =begin original |
5247 | 10188 | |
5248 | 10189 | (F) The first argument to formline must be a valid format picture |
5249 | 10190 | specification. It was found to be empty, which probably means you |
5250 | 10191 | supplied it an uninitialized value. See L<perlform>. |
5251 | 10192 | |
5252 | 10193 | =end original |
5253 | 10194 | |
5254 | 10195 | (F) formline の第 1 引数は有効なフォーマットピクチャー指定でなければ |
5255 | 10196 | なりません。 |
5256 | 10197 | これが空でした; おそらく初期化していない値を指定したのでしょう。 |
5257 | 10198 | L<perlform> を参照してください。 |
5258 | 10199 | |
5259 | 10200 | =item Null realloc |
5260 | 10201 | |
5261 | 10202 | =begin original |
5262 | 10203 | |
5263 | 10204 | (P) An attempt was made to realloc NULL. |
5264 | 10205 | |
5265 | 10206 | =end original |
5266 | 10207 | |
5267 | 10208 | (P) realloc NULL を行なおうとしました。 |
5268 | 10209 | |
5269 | 10210 | =item NULL regexp argument |
5270 | 10211 | |
5271 | 10212 | =begin original |
5272 | 10213 | |
5273 | 10214 | (P) The internal pattern matching routines blew it big time. |
5274 | 10215 | |
5275 | 10216 | =end original |
5276 | 10217 | |
5277 | 10218 | (P) 内部パターンマッチルーティンが、大当たりです。 |
5278 | 10219 | |
5279 | 10220 | =item NULL regexp parameter |
5280 | 10221 | |
5281 | 10222 | =begin original |
5282 | 10223 | |
5283 | 10224 | (P) The internal pattern matching routines are out of their gourd. |
5284 | 10225 | |
5285 | 10226 | =end original |
5286 | 10227 | |
5287 | 10228 | (P) 内部パターンマッチルーティンが、狂っています。 |
5288 | 10229 | |
5289 | 10230 | =item Number too long |
5290 | 10231 | |
5291 | 10232 | =begin original |
5292 | 10233 | |
5293 | 10234 | (F) Perl limits the representation of decimal numbers in programs to |
5294 | about | |
10235 | about 250 characters. You've exceeded that length. Future | |
5295 | 10236 | versions of Perl are likely to eliminate this arbitrary limitation. In |
5296 | 10237 | the meantime, try using scientific notation (e.g. "1e6" instead of |
5297 | 10238 | "1_000_000"). |
5298 | 10239 | |
5299 | 10240 | =end original |
5300 | 10241 | |
5301 | Perl はプログラム中での十進数の表現を | |
10242 | Perl はプログラム中での十進数の表現を 250 文字に制限しています。 | |
5302 | 10243 | この制限を越えました。 |
5303 | 10244 | Perl の将来のバージョンではこの恣意的な制限は除去されるでしょう。 |
5304 | 10245 | それまでの間は、科学的な記述法("1_000_000" ではなく "1e6")を |
5305 | 10246 | 使用してください。 |
5306 | 10247 | |
5307 | =item | |
10248 | =item Number with no digits | |
5308 | 10249 | |
5309 | 10250 | =begin original |
5310 | 10251 | |
5311 | (F) | |
10252 | (F) Perl was looking for a number but found nothing that looked like | |
5312 | ||
10253 | a number. This happens, for example with C<\o{}>, with no number between | |
5313 | ||
10254 | the braces. | |
5314 | 10255 | |
5315 | 10256 | =end original |
5316 | 10257 | |
5317 | ||
10258 | (F) Perl は数字を探していましたが数字に見えないものが見つかりました。 | |
5318 | こ | |
10259 | これは、例えば C<\o{}> では、中かっこの中に数字がないときに起こります。 | |
5319 | 対応されるでしょう。 | |
5320 | 10260 | |
5321 | 10261 | =item Octal number > 037777777777 non-portable |
5322 | 10262 | |
5323 | 10263 | =begin original |
5324 | 10264 | |
5325 | 10265 | (W portable) The octal number you specified is larger than 2**32-1 |
5326 | 10266 | (4294967295) and therefore non-portable between systems. See |
5327 | 10267 | L<perlport> for more on portability concerns. |
5328 | 10268 | |
5329 | 10269 | =end original |
5330 | 10270 | |
5331 | 10271 | (W portable) 指定した 8 進数が 2**32-1 (4294967295) より大きいので、 |
5332 | 10272 | システム間で移植性がありません。 |
5333 | 10273 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
5334 | 10274 | |
10275 | =item Odd name/value argument for subroutine '%s' | |
10276 | ||
5335 | 10277 | =begin original |
5336 | 10278 | |
5337 | ||
10279 | (F) A subroutine using a slurpy hash parameter in its signature | |
10280 | received an odd number of arguments to populate the hash. It requires | |
10281 | the arguments to be paired, with the same number of keys as values. | |
10282 | The caller of the subroutine is presumably at fault. | |
5338 | 10283 | |
5339 | 10284 | =end original |
5340 | 10285 | |
5341 | ||
10286 | (F) シグネチャで吸い込みハッシュ引数を使っているサブルーチンが、 | |
10287 | ハッシュに展開するために奇数の数の引数を受け取りました。 | |
10288 | 引数は、同じ数のキーと値のペアになっていることが必要です。 | |
10289 | サブルーチンの呼び出しものがおそらく間違えているのでしょう。 | |
5342 | 10290 | |
10291 | =begin original | |
10292 | ||
10293 | The message attempts to include the name of the called subroutine. If the | |
10294 | subroutine has been aliased, the subroutine's original name will be shown, | |
10295 | regardless of what name the caller used. | |
10296 | ||
10297 | =end original | |
10298 | ||
10299 | メッセージには呼び出されたサブルーチンの名前を含めようとします。 | |
10300 | サブルーチンに別名がある場合、どの名前で呼び出されたかに関わらず、 | |
10301 | 元の名前が表示されます。 | |
10302 | ||
5343 | 10303 | =item Odd number of arguments for overload::constant |
5344 | 10304 | |
5345 | 10305 | =begin original |
5346 | 10306 | |
5347 | (W) The call to overload::constant contained an odd number of | |
10307 | (W overload) The call to overload::constant contained an odd number of | |
5348 | The arguments should come in pairs. | |
10308 | arguments. The arguments should come in pairs. | |
5349 | 10309 | |
5350 | 10310 | =end original |
5351 | 10311 | |
5352 | (W) 奇数の数の引数で overload::constant を呼び出しました。 | |
10312 | (W overload) 奇数の数の引数で overload::constant を呼び出しました。 | |
5353 | 10313 | 引数はペアになっている必要があります。 |
5354 | 10314 | |
10315 | =item Odd number of elements in anonymous hash | |
10316 | ||
10317 | =begin original | |
10318 | ||
10319 | (W misc) You specified an odd number of elements to initialize a hash, | |
10320 | which is odd, because hashes come in key/value pairs. | |
10321 | ||
10322 | =end original | |
10323 | ||
10324 | (W misc) ハッシュリストへの要素の数が奇数でした; ハッシュリストは、 | |
10325 | key/value のペアで与えられますから、これは奇妙なことです。 | |
10326 | ||
5355 | 10327 | =item Odd number of elements in hash assignment |
5356 | 10328 | |
5357 | 10329 | =begin original |
5358 | 10330 | |
5359 | 10331 | (W misc) You specified an odd number of elements to initialize a hash, |
5360 | 10332 | which is odd, because hashes come in key/value pairs. |
5361 | 10333 | |
5362 | 10334 | =end original |
5363 | 10335 | |
5364 | (W misc) ハッシュリストへの要素の数が奇数でした | |
10336 | (W misc) ハッシュリストへの要素の数が奇数でした; ハッシュリストは、 | |
5365 | ||
10337 | key/value のペアで与えられますから、これは奇妙なことです。 | |
5366 | これは奇妙なことです。 | |
5367 | 10338 | |
5368 | 10339 | =item Offset outside string |
5369 | 10340 | |
5370 | 10341 | =begin original |
5371 | 10342 | |
5372 | (F) You tried to do a read/write/send/recv operation | |
10343 | (F)(W layer) You tried to do a read/write/send/recv/seek operation | |
5373 | pointing outside the buffer. This is difficult to | |
10344 | with an offset pointing outside the buffer. This is difficult to | |
5374 | exception to this | |
10345 | imagine. The sole exceptions to this are that zero padding will | |
5375 | t | |
10346 | take place when going past the end of the string when either | |
10347 | C<sysread()>ing a file, or when seeking past the end of a scalar opened | |
10348 | for I/O (in anticipation of future reads and to imitate the behavior | |
10349 | with real files). | |
5376 | 10350 | |
5377 | 10351 | =end original |
5378 | 10352 | |
5379 | (F) バッファの外を指すオフセットで read/write/send/recv 操作を | |
10353 | (F)(W layer) バッファの外を指すオフセットで read/write/send/recv/seek 操作を | |
5380 | 10354 | しようとしました。 |
5381 | 10355 | これは想像しにくいことです。 |
5382 | 唯一の例外は、 | |
10356 | 唯一の例外は、ファイルを C<sysread()> するときに 文字列の最後を越えたか、 | |
5383 | ||
10357 | (将来の読み込みと実際のファイルの振る舞いを模倣することを期待して) | |
10358 | I/O のためにオープンされているスカラの最後を越えてシークしたときに、 | |
10359 | 0 でパッディングされたときです。 | |
5384 | 10360 | |
5385 | =item | |
10361 | =item Old package separator used in string | |
5386 | 10362 | |
5387 | 10363 | =begin original |
5388 | 10364 | |
5389 | (W | |
10365 | (W syntax) You used the old package separator, "'", in a variable | |
5390 | ||
10366 | named inside a double-quoted string; e.g., C<"In $name's house">. This | |
10367 | is equivalent to C<"In $name::s house">. If you meant the former, put | |
10368 | a backslash before the apostrophe (C<"In $name\'s house">). | |
5391 | 10369 | |
5392 | 10370 | =end original |
5393 | 10371 | |
5394 | (W | |
10372 | (W syntax) ダブルクォートされた文字列の中の変数名で、 | |
5395 | ||
10373 | C<"In $name's house"> のように、 | |
5396 | ||
10374 | 古いパッケージ区切り文字である "'" を使いました。 | |
5397 | ||
10375 | これは C<"In $name::s house"> と等価です。 | |
10376 | 前者の意味なら、アポストロフィの前に逆スラッシュを置いてください | |
10377 | (C<"In $name\'s house">)。 | |
5398 | 10378 | |
5399 | =item %s() on unopened %s | |
10379 | =item %s() on unopened %s | |
5400 | 10380 | |
5401 | 10381 | =begin original |
5402 | 10382 | |
5403 | 10383 | (W unopened) An I/O operation was attempted on a filehandle that was |
5404 | 10384 | never initialized. You need to do an open(), a sysopen(), or a socket() |
5405 | 10385 | call, or call a constructor from the FileHandle package. |
5406 | 10386 | |
5407 | 10387 | =end original |
5408 | 10388 | |
5409 | 10389 | (W unopened) 初期化していないファイルハンドルに I/O 操作をしようとしました。 |
5410 | 10390 | open(), sysopen(), socket() を呼び出すか、FileHandle パッケージの |
5411 | 10391 | コンストラクタを呼び出す必要があります。 |
5412 | 10392 | |
10393 | =item -%s on unopened filehandle %s | |
10394 | ||
10395 | =begin original | |
10396 | ||
10397 | (W unopened) You tried to invoke a file test operator on a filehandle | |
10398 | that isn't open. Check your control flow. See also L<perlfunc/-X>. | |
10399 | ||
10400 | =end original | |
10401 | ||
10402 | (W unopened) 開いていないファイルハンドルに対してファイルテスト演算子を | |
10403 | 使おうとしました。 | |
10404 | 制御フローをチェックしてください。 | |
10405 | L<perlfunc/-X> も参照してください。 | |
10406 | ||
5413 | 10407 | =item oops: oopsAV |
5414 | 10408 | |
5415 | 10409 | =begin original |
5416 | 10410 | |
5417 | 10411 | (S internal) An internal warning that the grammar is screwed up. |
5418 | 10412 | |
5419 | 10413 | =end original |
5420 | 10414 | |
5421 | 10415 | (S internal) 文法がおかしくなったことを示す内部警告です。 |
5422 | 10416 | |
5423 | 10417 | =item oops: oopsHV |
5424 | 10418 | |
5425 | 10419 | =begin original |
5426 | 10420 | |
5427 | 10421 | (S internal) An internal warning that the grammar is screwed up. |
5428 | 10422 | |
5429 | 10423 | =end original |
5430 | 10424 | |
5431 | 10425 | (S internal) 文法がおかしくなったことを示す内部警告です。 |
5432 | 10426 | |
5433 | =item Opera | |
10427 | =item Operand with no preceding operator in regex; marked by S<<-- HERE> in | |
10428 | m/%s/ | |
5434 | 10429 | |
5435 | 10430 | =begin original |
5436 | 10431 | |
10432 | (F) You wrote something like | |
10433 | ||
10434 | =end original | |
10435 | ||
10436 | (F) 以下のようなものを書きました | |
10437 | ||
10438 | (?[ \p{Digit} \p{Thai} ]) | |
10439 | ||
10440 | =begin original | |
10441 | ||
10442 | There are two operands, but no operator giving how you want to combine | |
10443 | them. | |
10444 | ||
10445 | =end original | |
10446 | ||
10447 | 二つのオペランドがありますが、それをどのように結びつけたいかを指定する | |
10448 | 演算子がありません。 | |
10449 | ||
10450 | =item Operation "%s": no method found, %s | |
10451 | ||
10452 | =begin original | |
10453 | ||
5437 | 10454 | (F) An attempt was made to perform an overloaded operation for which no |
5438 | 10455 | handler was defined. While some handlers can be autogenerated in terms |
5439 | 10456 | of other handlers, there is no default handler for any operation, unless |
5440 | C<fallback> overloading key is specified to be true. See L<overload>. | |
10457 | the C<fallback> overloading key is specified to be true. See L<overload>. | |
5441 | 10458 | |
5442 | 10459 | =end original |
5443 | 10460 | |
5444 | 10461 | (F) ハンドラが定義されていないオーバーロード操作が行われました。 |
5445 | 10462 | 一部のハンドラは他のハンドラから自動生成されますが、C<fallback> |
5446 | 10463 | オーバーロードキーが真に指定されていない限り、どの動作にも |
5447 | 10464 | デフォルトのハンドラはありません。 |
5448 | 10465 | L<overload> を参照してください。 |
5449 | 10466 | |
10467 | =item Operation "%s" returns its argument for non-Unicode code point 0x%X | |
10468 | ||
10469 | =begin original | |
10470 | ||
10471 | (S non_unicode) You performed an operation requiring Unicode rules | |
10472 | on a code point that is not in Unicode, so what it should do is not | |
10473 | defined. Perl has chosen to have it do nothing, and warn you. | |
10474 | ||
10475 | =end original | |
10476 | ||
10477 | (S non_unicode) Unicode ではない符号位置に対して、Unicode の規則が | |
10478 | 必要な操作を実行しました; 何をするべきかは未定義です。 | |
10479 | Perl は何もしないことを選択し、警告を出します。 | |
10480 | ||
10481 | =begin original | |
10482 | ||
10483 | If the operation shown is "ToFold", it means that case-insensitive | |
10484 | matching in a regular expression was done on the code point. | |
10485 | ||
10486 | =end original | |
10487 | ||
10488 | 示された操作が "ToFold" なら、正規表現での大文字小文字を無視したマッチングが | |
10489 | その符号位置に対して行われたということです。 | |
10490 | ||
10491 | =begin original | |
10492 | ||
10493 | If you know what you are doing you can turn off this warning by | |
10494 | C<no warnings 'non_unicode';>. | |
10495 | ||
10496 | =end original | |
10497 | ||
10498 | 自分で何をしているのかが分かっているなら、 | |
10499 | C<no warnings 'non_unicode';> とすることでこの警告をオフにできます。 | |
10500 | ||
10501 | =item Operation "%s" returns its argument for UTF-16 surrogate U+%X | |
10502 | ||
10503 | =begin original | |
10504 | ||
10505 | (S surrogate) You performed an operation requiring Unicode | |
10506 | rules on a Unicode surrogate. Unicode frowns upon the use | |
10507 | of surrogates for anything but storing strings in UTF-16, but | |
10508 | rules are (reluctantly) defined for the surrogates, and | |
10509 | they are to do nothing for this operation. Because the use of | |
10510 | surrogates can be dangerous, Perl warns. | |
10511 | ||
10512 | =end original | |
10513 | ||
10514 | (S surrogate) Unicode サロゲートに対して Unicode の規則が必要な | |
10515 | 操作を実行しました。 | |
10516 | Unicode は文字列を UTF-16 で保管する以外のことでサロゲートを使うことに | |
10517 | 難色を示しますが、規則は(渋々)サロゲートのために定義されていて、それは | |
10518 | この操作に対して何もしないことです。 | |
10519 | サロゲートの使用は危険かも知れないので、Perl は警告します。 | |
10520 | ||
10521 | =begin original | |
10522 | ||
10523 | If the operation shown is "ToFold", it means that case-insensitive | |
10524 | matching in a regular expression was done on the code point. | |
10525 | ||
10526 | =end original | |
10527 | ||
10528 | 示された操作が "ToFold" なら、正規表現での大文字小文字を無視したマッチングが | |
10529 | その符号位置に対して行われたということです。 | |
10530 | ||
10531 | =begin original | |
10532 | ||
10533 | If you know what you are doing you can turn off this warning by | |
10534 | C<no warnings 'surrogate';>. | |
10535 | ||
10536 | =end original | |
10537 | ||
10538 | 自分で何をしているのかが分かっているなら、 | |
10539 | C<no warnings 'surrogate';> とすることでこの警告をオフにできます。 | |
10540 | ||
5450 | 10541 | =item Operator or semicolon missing before %s |
5451 | 10542 | |
5452 | 10543 | =begin original |
5453 | 10544 | |
5454 | 10545 | (S ambiguous) You used a variable or subroutine call where the parser |
5455 | 10546 | was expecting an operator. The parser has assumed you really meant to |
5456 | 10547 | use an operator, but this is highly likely to be incorrect. For |
5457 | 10548 | example, if you say "*foo *foo" it will be interpreted as if you said |
5458 | 10549 | "*foo * 'foo'". |
5459 | 10550 | |
5460 | 10551 | =end original |
5461 | 10552 | |
5462 | 10553 | (S ambiguous) パーサーが演算子を装置している場所で変数やサブルーチン |
5463 | 10554 | 呼び出しが使われました。 |
5464 | 10555 | パーサーはあなたが本当に演算子を使おうとしていると仮定しますが、 |
5465 | 10556 | これは大抵正しくありません。 |
5466 | 10557 | 例えば、"*foo *foo" とすると、"*foo * 'foo'" としたとして解釈されます。 |
5467 | 10558 | |
10559 | =item Optional parameter lacks default expression | |
10560 | ||
10561 | =begin original | |
10562 | ||
10563 | (F) In a subroutine signature, you wrote something like "$a =", making a | |
10564 | named optional parameter without a default value. A nameless optional | |
10565 | parameter is permitted to have no default value, but a named one must | |
10566 | have a specific default. You probably want "$a = undef". | |
10567 | ||
10568 | =end original | |
10569 | ||
10570 | (F) サブルーチンシグネチャで、"$a =" のような、デフォルト値のない名前付き | |
10571 | オプション引数を書きました。 | |
10572 | 無名オプション引数はデフォルト値を持たないことを許されていますが、 | |
10573 | 名前付きのものはデフォルトを指定しなければなりません。 | |
10574 | おそらく "$a = undef" としたかったのでしょう。 | |
10575 | ||
5468 | 10576 | =item "our" variable %s redeclared |
5469 | 10577 | |
5470 | 10578 | =begin original |
5471 | 10579 | |
5472 | (W | |
10580 | (W shadow) You seem to have already declared the same global once before | |
5473 | 10581 | in the current lexical scope. |
5474 | 10582 | |
5475 | 10583 | =end original |
5476 | 10584 | |
5477 | (W | |
10585 | (W shadow) 現在のレキシカルスコープで、既に同じ名前のグローバル変数を | |
5478 | 10586 | 宣言しているようです。 |
5479 | 10587 | |
5480 | 10588 | =item Out of memory! |
5481 | 10589 | |
5482 | 10590 | =begin original |
5483 | 10591 | |
5484 | 10592 | (X) The malloc() function returned 0, indicating there was insufficient |
5485 | 10593 | remaining memory (or virtual memory) to satisfy the request. Perl has |
5486 | 10594 | no option but to exit immediately. |
5487 | 10595 | |
5488 | 10596 | =end original |
5489 | 10597 | |
5490 | 10598 | (X) 要求を満たすだけの、十分な残メモリ (または、仮想メモリ) が |
5491 | 10599 | 取得できないことを示す、0 を malloc() 関数が返しました。 |
5492 | 10600 | Perl は直ちに終了するしかありませんでした。 |
5493 | 10601 | |
10602 | =begin original | |
10603 | ||
10604 | At least in Unix you may be able to get past this by increasing your | |
10605 | process datasize limits: in csh/tcsh use C<limit> and | |
10606 | C<limit datasize n> (where C<n> is the number of kilobytes) to check | |
10607 | the current limits and change them, and in ksh/bash/zsh use C<ulimit -a> | |
10608 | and C<ulimit -d n>, respectively. | |
10609 | ||
10610 | =end original | |
10611 | ||
10612 | 少なくとも Unix ではプロセスのデータサイズ制限を増やすことによって | |
10613 | これを回避することが可能です: | |
10614 | csh/tcsh では現在の制限を調べるのに C<limit> を、これを変更するには | |
10615 | C<limit datasize n> (ここで C<n> はキロバイト単位) を使ってください; | |
10616 | ksh/bash/zsh ではそれぞれ C<ulimit -a> と C<ulimit -d n> を使ってください。 | |
10617 | ||
10618 | =item Out of memory during %s extend | |
10619 | ||
10620 | =begin original | |
10621 | ||
10622 | (X) An attempt was made to extend an array, a list, or a string beyond | |
10623 | the largest possible memory allocation. | |
10624 | ||
10625 | =end original | |
10626 | ||
10627 | (X) 確保可能な最大メモリを越えて配列、リスト、文字列を拡張しようとしました。 | |
10628 | ||
5494 | 10629 | =item Out of memory during "large" request for %s |
5495 | 10630 | |
5496 | 10631 | =begin original |
5497 | 10632 | |
5498 | 10633 | (F) The malloc() function returned 0, indicating there was insufficient |
5499 | remaining memory (or virtual memory) to satisfy the request. However, | |
10634 | remaining memory (or virtual memory) to satisfy the request. However, | |
5500 | 10635 | the request was judged large enough (compile-time default is 64K), so a |
5501 | 10636 | possibility to shut down by trapping this error is granted. |
5502 | 10637 | |
5503 | 10638 | =end original |
5504 | 10639 | |
5505 | 10640 | (F) malloc() 関数が 0 を返しました; これは要求を満たすメモリ |
5506 | 10641 | (または仮想メモリ)が不十分であることを示しています。 |
5507 | 10642 | しかし、要求が十分大きい(コンパイル時のデフォルトは 64K)ので、 |
5508 | 10643 | このエラーをトラップすることでシャットダウンできる可能性があります。 |
5509 | 10644 | |
5510 | 10645 | =item Out of memory during request for %s |
5511 | 10646 | |
5512 | 10647 | =begin original |
5513 | 10648 | |
5514 | (X | |
10649 | (X)(F) The malloc() function returned 0, indicating there was | |
5515 | 10650 | insufficient remaining memory (or virtual memory) to satisfy the |
5516 | 10651 | request. |
5517 | 10652 | |
5518 | 10653 | =end original |
5519 | 10654 | |
5520 | (X | |
10655 | (X)(F) malloc() 関数が 0 を返しました; これは要求を満たすメモリ | |
5521 | 10656 | (または仮想メモリ)が不十分であることを示しています。 |
5522 | 10657 | |
5523 | 10658 | =begin original |
5524 | 10659 | |
5525 | 10660 | The request was judged to be small, so the possibility to trap it |
5526 | 10661 | depends on the way perl was compiled. By default it is not trappable. |
5527 | 10662 | However, if compiled for this, Perl may use the contents of C<$^M> as an |
5528 | 10663 | emergency pool after die()ing with this message. In this case the error |
5529 | 10664 | is trappable I<once>, and the error message will include the line and file |
5530 | 10665 | where the failed request happened. |
5531 | 10666 | |
5532 | 10667 | =end original |
5533 | 10668 | |
5534 | 10669 | 要求は小さいものと判定されたので、これをトラップできる確率は perl が |
5535 | 10670 | どのようにコンパイルされたかに依存します。 |
5536 | 10671 | デフォルトではこれはトラップできません。 |
5537 | 10672 | しかし、もしこのためにコンパイルすると、Perl はこのメッセージと共に |
5538 | 10673 | die() した後の非常用エリアとして C<$^M> の内容を使います。 |
5539 | 10674 | この場合エラーは I<一度だけ> トラップ可能で、エラーメッセージは失敗した |
5540 | 10675 | 要求が起きたファイルと行番号を含んでいます。 |
5541 | 10676 | |
5542 | 10677 | =item Out of memory during ridiculously large request |
5543 | 10678 | |
5544 | 10679 | =begin original |
5545 | 10680 | |
5546 | 10681 | (F) You can't allocate more than 2^31+"small amount" bytes. This error |
5547 | 10682 | is most likely to be caused by a typo in the Perl program. e.g., |
5548 | 10683 | C<$arr[time]> instead of C<$arr[$time]>. |
5549 | 10684 | |
5550 | 10685 | =end original |
5551 | 10686 | |
5552 | 10687 | (F) 2^31+「少量」バイト以上割り当てることはできません。 |
5553 | このエラーはほとんどの場合 | |
10688 | このエラーはほとんどの場合 Perl プログラムのタイプミスが原因です。 | |
5554 | C<$arr[time]> の | |
10689 | 例えば、C<$arr[$time]> の代わりに C<$arr[time]> のような。 | |
5555 | 10690 | |
5556 | 10691 | =item Out of memory for yacc stack |
5557 | 10692 | |
5558 | 10693 | =begin original |
5559 | 10694 | |
5560 | 10695 | (F) The yacc parser wanted to grow its stack so it could continue |
5561 | 10696 | parsing, but realloc() wouldn't give it more memory, virtual or |
5562 | 10697 | otherwise. |
5563 | 10698 | |
5564 | 10699 | =end original |
5565 | 10700 | |
5566 | 10701 | (F) yacc パーサーが解析を続けるために、スタックを広げようとしましたが、 |
5567 | 10702 | realloc() が仮想やその他のメモリを確保できませんでした。 |
5568 | 10703 | |
5569 | =item | |
10704 | =item '.' outside of string in pack | |
5570 | 10705 | |
5571 | 10706 | =begin original |
5572 | 10707 | |
5573 | (F) | |
10708 | (F) The argument to a '.' in your template tried to move the working | |
10709 | position to before the start of the packed string being built. | |
10710 | ||
10711 | =end original | |
10712 | ||
10713 | (F) テンプレートでの '.' の引数として、pack された文字列が構築されたよりも | |
10714 | 前に作業位置を移動しようとしました。 | |
10715 | ||
10716 | =item '@' outside of string in unpack | |
10717 | ||
10718 | =begin original | |
10719 | ||
10720 | (F) You had a template that specified an absolute position outside | |
5574 | 10721 | the string being unpacked. See L<perlfunc/pack>. |
5575 | 10722 | |
5576 | 10723 | =end original |
5577 | 10724 | |
5578 | 10725 | (F) unpack される文字列の外に絶対位置指定している、 |
5579 | ||
10726 | テンプレートを指定しました。 | |
5580 | 10727 | L<perlfunc/pack> を参照してください。 |
5581 | 10728 | |
10729 | =item '@' outside of string with malformed UTF-8 in unpack | |
10730 | ||
10731 | =begin original | |
10732 | ||
10733 | (F) You had a template that specified an absolute position outside | |
10734 | the string being unpacked. The string being unpacked was also invalid | |
10735 | UTF-8. See L<perlfunc/pack>. | |
10736 | ||
10737 | =end original | |
10738 | ||
10739 | (F) unpack される文字列の外に絶対位置指定している、 | |
10740 | テンプレートを指定しました。 | |
10741 | unpack された文字列は不正な UTF-8 でもあります。 | |
10742 | L<perlfunc/pack> を参照してください。 | |
10743 | ||
10744 | =item overload arg '%s' is invalid | |
10745 | ||
10746 | =begin original | |
10747 | ||
10748 | (W overload) The L<overload> pragma was passed an argument it did not | |
10749 | recognize. Did you mistype an operator? | |
10750 | ||
10751 | =end original | |
10752 | ||
10753 | (W overload) L<overload> プラグマに、認識できない引数が渡されました。 | |
10754 | 演算子をタイプミスしましたか? | |
10755 | ||
10756 | =item Overloaded dereference did not return a reference | |
10757 | ||
10758 | =begin original | |
10759 | ||
10760 | (F) An object with an overloaded dereference operator was dereferenced, | |
10761 | but the overloaded operation did not return a reference. See | |
10762 | L<overload>. | |
10763 | ||
10764 | =end original | |
10765 | ||
10766 | (F) オーバーロードされたデリファレンス演算子のオブジェクトが | |
10767 | デリファレンスされましたが、オーバーロード演算がリファレンスを | |
10768 | 返しませんでした。 | |
10769 | L<overload> を参照してください。 | |
10770 | ||
10771 | =item Overloaded qr did not return a REGEXP | |
10772 | ||
10773 | =begin original | |
10774 | ||
10775 | (F) An object with a C<qr> overload was used as part of a match, but the | |
10776 | overloaded operation didn't return a compiled regexp. See L<overload>. | |
10777 | ||
10778 | =end original | |
10779 | ||
10780 | (F) C<qr> をオーバーロードしたオブジェクトがマッチングの一部として | |
10781 | 使われましたが、オーバーロード演算がコンパイルされた正規表現を | |
10782 | 返しませんでした。 | |
10783 | L<overload> を参照してください。 | |
10784 | ||
5582 | 10785 | =item %s package attribute may clash with future reserved word: %s |
5583 | 10786 | |
5584 | 10787 | =begin original |
5585 | 10788 | |
5586 | 10789 | (W reserved) A lowercase attribute name was used that had a |
5587 | 10790 | package-specific handler. That name might have a meaning to Perl itself |
5588 | 10791 | some day, even though it doesn't yet. Perhaps you should use a |
5589 | 10792 | mixed-case attribute name, instead. See L<attributes>. |
5590 | 10793 | |
5591 | 10794 | =end original |
5592 | 10795 | |
5593 | 10796 | (W reserved) パッケージ固有のハンドラが、小文字の属性名を使っています。 |
5594 | 10797 | この名前は、たとえ今は使っていなくても、 Perl 自身がいつか使うかもしれません。 |
5595 | 10798 | おそらく代わりに大文字小文字の混じった属性名を使うべきでしょう。 |
5596 | 10799 | L<attributes> を参照してください。 |
5597 | 10800 | |
10801 | =item pack/unpack repeat count overflow | |
10802 | ||
10803 | =begin original | |
10804 | ||
10805 | (F) You can't specify a repeat count so large that it overflows your | |
10806 | signed integers. See L<perlfunc/pack>. | |
10807 | ||
10808 | =end original | |
10809 | ||
10810 | (F) 繰り返し回数として符号付き整数をオーバーフローするような | |
10811 | 値は指定できません。 | |
10812 | L<perlfunc/pack> を参照してください。 | |
10813 | ||
5598 | 10814 | =item page overflow |
5599 | 10815 | |
5600 | 10816 | =begin original |
5601 | 10817 | |
5602 | 10818 | (W io) A single call to write() produced more lines than can fit on a |
5603 | 10819 | page. See L<perlform>. |
5604 | 10820 | |
5605 | 10821 | =end original |
5606 | 10822 | |
5607 | (W io) write() の 1 度の呼び出しで、1 ページに収まるより | |
10823 | (W io) write() の 1 度の呼び出しで、1 ページに収まるより多くの行が | |
5608 | ||
10824 | できました。 | |
5609 | 10825 | L<perlform> を参照してください。 |
5610 | 10826 | |
5611 | 10827 | =item panic: %s |
5612 | 10828 | |
5613 | 10829 | =begin original |
5614 | 10830 | |
5615 | 10831 | (P) An internal error. |
5616 | 10832 | |
5617 | 10833 | =end original |
5618 | 10834 | |
5619 | 10835 | (P) 内部エラーです。 |
5620 | 10836 | |
5621 | =item panic: | |
10837 | =item panic: attempt to call %s in %s | |
5622 | 10838 | |
5623 | 10839 | =begin original |
5624 | 10840 | |
5625 | (P) | |
10841 | (P) One of the file test operators entered a code branch that calls | |
10842 | an ACL related-function, but that function is not available on this | |
10843 | platform. Earlier checks mean that it should not be possible to | |
10844 | enter this branch on this platform. | |
5626 | 10845 | |
5627 | 10846 | =end original |
5628 | 10847 | |
5629 | (P) | |
10848 | (P) ファイルテスト演算子の一つが ACL 関連関数を呼び出すコード分岐に | |
5630 | ||
10849 | 入りましたが、この関数はこのプラットフォームでは利用できません。 | |
10850 | より早いチェックは、このプラットフォームのこの分岐に入ることがないように | |
10851 | するべきことを意味します。 | |
5631 | 10852 | |
5632 | =item panic: c | |
10853 | =item panic: child pseudo-process was never scheduled | |
5633 | 10854 | |
5634 | 10855 | =begin original |
5635 | 10856 | |
5636 | (P) | |
10857 | (P) A child pseudo-process in the ithreads implementation on Windows | |
10858 | was not scheduled within the time period allowed and therefore was not | |
10859 | able to initialize properly. | |
5637 | 10860 | |
5638 | 10861 | =end original |
5639 | 10862 | |
5640 | (P) | |
10863 | (P) Windowsでのiスレッド実装の子疑似プロセスが許された時間間隔の間に | |
10864 | スケジューリングされなかったので、適切に初期化されなかった可能性があります。 | |
10865 | ||
10866 | =item panic: ck_grep, type=%u | |
10867 | ||
10868 | =begin original | |
10869 | ||
10870 | (P) Failed an internal consistency check trying to compile a grep. | |
10871 | ||
10872 | =end original | |
10873 | ||
10874 | (P) grep をコンパイルしようとして、内部の一貫性チェックに | |
5641 | 10875 | 引っ掛かりました。 |
5642 | 10876 | |
5643 | =item panic: corrupt saved stack index | |
10877 | =item panic: corrupt saved stack index %ld | |
5644 | 10878 | |
5645 | 10879 | =begin original |
5646 | 10880 | |
5647 | 10881 | (P) The savestack was requested to restore more localized values than |
5648 | 10882 | there are in the savestack. |
5649 | 10883 | |
5650 | 10884 | =end original |
5651 | 10885 | |
5652 | 10886 | (P) セーブスタックにある以上のローカル化した値を元に戻す |
5653 | 10887 | 要求がありました。 |
5654 | 10888 | |
5655 | 10889 | =item panic: del_backref |
5656 | 10890 | |
5657 | 10891 | =begin original |
5658 | 10892 | |
5659 | 10893 | (P) Failed an internal consistency check while trying to reset a weak |
5660 | 10894 | reference. |
5661 | 10895 | |
5662 | 10896 | =end original |
5663 | 10897 | |
5664 | 10898 | (P) 弱いリファレンスをリセットしようとしたときに内部の |
5665 | 10899 | 一貫性チェックに引っ掛かりました。 |
5666 | 10900 | |
5667 | =item panic: d | |
10901 | =item panic: do_subst | |
5668 | 10902 | |
5669 | 10903 | =begin original |
5670 | 10904 | |
5671 | (P) | |
10905 | (P) The internal pp_subst() routine was called with invalid operational | |
5672 | it wasn't an eval context. | |
5673 | ||
5674 | =end original | |
5675 | ||
5676 | (P) eval コンテキストへコンテキストスタックをポップしたあと、 | |
5677 | eval コンテキストでないことがわかりました。 | |
5678 | ||
5679 | =item panic: pp_match | |
5680 | ||
5681 | =begin original | |
5682 | ||
5683 | (P) The internal pp_match() routine was called with invalid operational | |
5684 | 10906 | data. |
5685 | 10907 | |
5686 | 10908 | =end original |
5687 | 10909 | |
5688 | (P) 内部の pp_ | |
10910 | (P) 内部の pp_subst() ルーティンが、無効な省略可能データを | |
5689 | 10911 | 付けて呼ばれました。 |
5690 | 10912 | |
5691 | =item panic: do_s | |
10913 | =item panic: do_trans_%s | |
5692 | 10914 | |
5693 | 10915 | =begin original |
5694 | 10916 | |
5695 | (P) The internal | |
10917 | (P) The internal do_trans routines were called with invalid operational | |
5696 | 10918 | data. |
5697 | 10919 | |
5698 | 10920 | =end original |
5699 | 10921 | |
5700 | (P) 内部の pp_ | |
10922 | (P) 内部の pp_trans ルーティンが、無効な省略可能データを | |
5701 | 10923 | 付けて呼ばれました。 |
5702 | 10924 | |
5703 | =item panic: | |
10925 | =item panic: fold_constants JMPENV_PUSH returned %d | |
5704 | 10926 | |
5705 | 10927 | =begin original |
5706 | 10928 | |
5707 | (P) | |
10929 | (P) While attempting folding constants an exception other than an C<eval> | |
5708 | ||
10930 | failure was caught. | |
5709 | 10931 | |
5710 | 10932 | =end original |
5711 | 10933 | |
5712 | (P) | |
10934 | (P) 定数の畳み込みを実行中に C<eval> 失敗以外の例外が捕捉されました。 | |
5713 | 付けて呼ばれました。 | |
5714 | 10935 | |
5715 | =item panic: frexp | |
10936 | =item panic: frexp: %f | |
5716 | 10937 | |
5717 | 10938 | =begin original |
5718 | 10939 | |
5719 | 10940 | (P) The library function frexp() failed, making printf("%f") impossible. |
5720 | 10941 | |
5721 | 10942 | =end original |
5722 | 10943 | |
5723 | 10944 | (P) ライブラリ関数 frexp() が失敗したので、printf("%f") ができません。 |
5724 | 10945 | |
5725 | =item panic: goto | |
10946 | =item panic: goto, type=%u, ix=%ld | |
5726 | 10947 | |
5727 | 10948 | =begin original |
5728 | 10949 | |
5729 | 10950 | (P) We popped the context stack to a context with the specified label, |
5730 | 10951 | and then discovered it wasn't a context we know how to do a goto in. |
5731 | 10952 | |
5732 | 10953 | =end original |
5733 | 10954 | |
5734 | 10955 | (P) 指定したラベルを伴うコンテキストへコンテキストスタックを |
5735 | 10956 | ポップしたあと、どのように goto するかがわかっている |
5736 | 10957 | コンテキストでないことがわかりました。 |
5737 | 10958 | |
5738 | =item panic: | |
10959 | =item panic: gp_free failed to free glob pointer | |
5739 | 10960 | |
5740 | 10961 | =begin original |
5741 | 10962 | |
10963 | (P) The internal routine used to clear a typeglob's entries tried | |
10964 | repeatedly, but each time something re-created entries in the glob. | |
10965 | Most likely the glob contains an object with a reference back to | |
10966 | the glob and a destructor that adds a new object to the glob. | |
10967 | ||
10968 | =end original | |
10969 | ||
10970 | (P) 型グロブのエントリをクリアするために使われる内部ルーチンが複数回 | |
10971 | 試しましたが、毎回何かがグロブにエントリを再作成しました。 | |
10972 | おそらくグロブにそのグロブへのリファレンスと、グロブへの新しいオブジェクトを | |
10973 | 追加するデストラクタを持つオブジェクトが含まれています。 | |
10974 | ||
10975 | =item panic: INTERPCASEMOD, %s | |
10976 | ||
10977 | =begin original | |
10978 | ||
5742 | 10979 | (P) The lexer got into a bad state at a case modifier. |
5743 | 10980 | |
5744 | 10981 | =end original |
5745 | 10982 | |
5746 | 10983 | (P) 大文字小文字修飾子のところで、字句解析部がおかしな状態に陥りました。 |
5747 | 10984 | |
5748 | =item panic: INTERPCONCAT | |
10985 | =item panic: INTERPCONCAT, %s | |
5749 | 10986 | |
5750 | 10987 | =begin original |
5751 | 10988 | |
5752 | 10989 | (P) The lexer got into a bad state parsing a string with brackets. |
5753 | 10990 | |
5754 | 10991 | =end original |
5755 | 10992 | |
5756 | (P) 中 | |
10993 | (P) 中かっこを伴う文字列を解析中に、字句解析部がおかしな状態に陥りました。 | |
5757 | 10994 | |
5758 | 10995 | =item panic: kid popen errno read |
5759 | 10996 | |
5760 | 10997 | =begin original |
5761 | 10998 | |
5762 | (F) forked child returned an incomprehensible message about its errno. | |
10999 | (F) A forked child returned an incomprehensible message about its errno. | |
5763 | 11000 | |
5764 | 11001 | =end original |
5765 | 11002 | |
5766 | 11003 | (F) fork した子プロセスが errno に関して不完全なメッセージを返しました。 |
5767 | 11004 | |
5768 | =item panic: last | |
11005 | =item panic: last, type=%u | |
5769 | 11006 | |
5770 | 11007 | =begin original |
5771 | 11008 | |
5772 | 11009 | (P) We popped the context stack to a block context, and then discovered |
5773 | 11010 | it wasn't a block context. |
5774 | 11011 | |
5775 | 11012 | =end original |
5776 | 11013 | |
5777 | 11014 | (P) block コンテキストへコンテキストスタックをポップしたあと、 |
5778 | 11015 | block コンテキストでないことがわかりました。 |
5779 | 11016 | |
5780 | 11017 | =item panic: leave_scope clearsv |
5781 | 11018 | |
5782 | 11019 | =begin original |
5783 | 11020 | |
5784 | 11021 | (P) A writable lexical variable became read-only somehow within the |
5785 | 11022 | scope. |
5786 | 11023 | |
5787 | 11024 | =end original |
5788 | 11025 | |
5789 | 11026 | (P) 書き込み可能な字句スコープ変数が、どういうわけか、スコープ内で |
5790 | 11027 | リードオンリーになりました。 |
5791 | 11028 | |
5792 | =item panic: leave_scope inconsistency | |
11029 | =item panic: leave_scope inconsistency %u | |
5793 | 11030 | |
5794 | 11031 | =begin original |
5795 | 11032 | |
5796 | 11033 | (P) The savestack probably got out of sync. At least, there was an |
5797 | 11034 | invalid enum on the top of it. |
5798 | 11035 | |
5799 | 11036 | =end original |
5800 | 11037 | |
5801 | 11038 | (P) おそらく、セーブスタックの同期がとれていません。 |
5802 | 11039 | 少なくとも、トップに不正な enum がありました。 |
5803 | 11040 | |
5804 | 11041 | =item panic: magic_killbackrefs |
5805 | 11042 | |
5806 | 11043 | =begin original |
5807 | 11044 | |
5808 | 11045 | (P) Failed an internal consistency check while trying to reset all weak |
5809 | 11046 | references to an object. |
5810 | 11047 | |
5811 | 11048 | =end original |
5812 | 11049 | |
5813 | 11050 | (P) あるオブジェクトへの全ての弱い参照をリセットしようとした時に内部の |
5814 | 11051 | 一貫性チェックに引っ掛かりました。 |
5815 | 11052 | |
5816 | =item panic: malloc | |
11053 | =item panic: malloc, %s | |
5817 | 11054 | |
5818 | 11055 | =begin original |
5819 | 11056 | |
5820 | 11057 | (P) Something requested a negative number of bytes of malloc. |
5821 | 11058 | |
5822 | 11059 | =end original |
5823 | 11060 | |
5824 | 11061 | (P) malloc に負のバイト数で要求が行なわれました。 |
5825 | 11062 | |
5826 | =item panic: map | |
11063 | =item panic: memory wrap | |
5827 | 11064 | |
5828 | 11065 | =begin original |
5829 | 11066 | |
5830 | (P) | |
11067 | (P) Something tried to allocate either more memory than possible or a | |
11068 | negative amount. | |
5831 | 11069 | |
5832 | 11070 | =end original |
5833 | 11071 | |
5834 | (P) | |
11072 | (P) 何かが、確保可能な量を超える、または負の量のメモリを確保しようとしました。 | |
5835 | 11073 | |
5836 | =item panic: | |
11074 | =item panic: pad_alloc, %p!=%p | |
5837 | 11075 | |
5838 | 11076 | =begin original |
5839 | 11077 | |
5840 | (P) One of the internal array routines was passed a null AV pointer. | |
5841 | ||
5842 | =end original | |
5843 | ||
5844 | (P) 内部配列ルーティンで、ヌル AV ポインタを渡されたものがありました。 | |
5845 | ||
5846 | =item panic: pad_alloc | |
5847 | ||
5848 | =begin original | |
5849 | ||
5850 | 11078 | (P) The compiler got confused about which scratch pad it was allocating |
5851 | 11079 | and freeing temporaries and lexicals from. |
5852 | 11080 | |
5853 | 11081 | =end original |
5854 | 11082 | |
5855 | 11083 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
5856 | 11084 | スクラッチパッドについて混乱しました。 |
5857 | 11085 | |
5858 | =item panic: pad_free curpad | |
11086 | =item panic: pad_free curpad, %p!=%p | |
5859 | 11087 | |
5860 | 11088 | =begin original |
5861 | 11089 | |
5862 | 11090 | (P) The compiler got confused about which scratch pad it was allocating |
5863 | 11091 | and freeing temporaries and lexicals from. |
5864 | 11092 | |
5865 | 11093 | =end original |
5866 | 11094 | |
5867 | 11095 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
5868 | 11096 | スクラッチパッドについて混乱しました。 |
5869 | 11097 | |
5870 | 11098 | =item panic: pad_free po |
5871 | 11099 | |
5872 | 11100 | =begin original |
5873 | 11101 | |
5874 | (P) A | |
11102 | (P) A zero scratch pad offset was detected internally. An attempt was | |
11103 | made to free a target that had not been allocated to begin with. | |
5875 | 11104 | |
5876 | 11105 | =end original |
5877 | 11106 | |
5878 | (P) | |
11107 | (P) スクラッチパッドのオフセット 0 が、内部的に検出されました。 | |
11108 | 始めるために割り当てられていないターゲットを解放しようとしました。 | |
5879 | 11109 | |
5880 | =item panic: pad_reset curpad | |
11110 | =item panic: pad_reset curpad, %p!=%p | |
5881 | 11111 | |
5882 | 11112 | =begin original |
5883 | 11113 | |
5884 | 11114 | (P) The compiler got confused about which scratch pad it was allocating |
5885 | 11115 | and freeing temporaries and lexicals from. |
5886 | 11116 | |
5887 | 11117 | =end original |
5888 | 11118 | |
5889 | 11119 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
5890 | 11120 | スクラッチパッドについて混乱しました。 |
5891 | 11121 | |
5892 | 11122 | =item panic: pad_sv po |
5893 | 11123 | |
5894 | 11124 | =begin original |
5895 | 11125 | |
5896 | (P) A | |
11126 | (P) A zero scratch pad offset was detected internally. Most likely | |
11127 | an operator needed a target but that target had not been allocated | |
11128 | for whatever reason. | |
5897 | 11129 | |
5898 | 11130 | =end original |
5899 | 11131 | |
5900 | (P) | |
11132 | (P) スクラッチパッドのオフセット 0 が、内部的に検出されました。 | |
11133 | おそらく演算子がターゲットを必要としたけれどもターゲットが何らかの理由で | |
11134 | 割り当てられていません。 | |
5901 | 11135 | |
5902 | =item panic: pad_swipe curpad | |
11136 | =item panic: pad_swipe curpad, %p!=%p | |
5903 | 11137 | |
5904 | 11138 | =begin original |
5905 | 11139 | |
5906 | 11140 | (P) The compiler got confused about which scratch pad it was allocating |
5907 | 11141 | and freeing temporaries and lexicals from. |
5908 | 11142 | |
5909 | 11143 | =end original |
5910 | 11144 | |
5911 | 11145 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
5912 | 11146 | スクラッチパッドについて混乱しました。 |
5913 | 11147 | |
5914 | 11148 | =item panic: pad_swipe po |
5915 | 11149 | |
5916 | 11150 | =begin original |
5917 | 11151 | |
5918 | 11152 | (P) An invalid scratch pad offset was detected internally. |
5919 | 11153 | |
5920 | 11154 | =end original |
5921 | 11155 | |
5922 | 11156 | (P) 不正なスクラッチパッドのオフセットが、内部的に検出されました。 |
5923 | 11157 | |
5924 | =item panic: pp_iter | |
11158 | =item panic: pp_iter, type=%u | |
5925 | 11159 | |
5926 | 11160 | =begin original |
5927 | 11161 | |
5928 | 11162 | (P) The foreach iterator got called in a non-loop context frame. |
5929 | 11163 | |
5930 | 11164 | =end original |
5931 | 11165 | |
5932 | 11166 | (P) foreach の繰返し子が、ループ文脈以外のところで呼ばれました。 |
5933 | 11167 | |
5934 | =item panic: pp_ | |
11168 | =item panic: pp_match%s | |
5935 | 11169 | |
5936 | 11170 | =begin original |
5937 | 11171 | |
5938 | (P) | |
11172 | (P) The internal pp_match() routine was called with invalid operational | |
11173 | data. | |
5939 | 11174 | |
5940 | 11175 | =end original |
5941 | 11176 | |
5942 | (P) | |
11177 | (P) 内部の pp_match() ルーティンが、無効な省略可能データを | |
11178 | 付けて呼ばれました。 | |
5943 | 11179 | |
5944 | =item panic: realloc | |
11180 | =item panic: realloc, %s | |
5945 | 11181 | |
5946 | 11182 | =begin original |
5947 | 11183 | |
5948 | 11184 | (P) Something requested a negative number of bytes of realloc. |
5949 | 11185 | |
5950 | 11186 | =end original |
5951 | 11187 | |
5952 | 11188 | (P) 何か、realloc に負のバイト数を要求したものがあります。 |
5953 | 11189 | |
5954 | =item panic: rest | |
11190 | =item panic: reference miscount on nsv in sv_replace() (%d != 1) | |
5955 | 11191 | |
5956 | 11192 | =begin original |
5957 | 11193 | |
11194 | (P) The internal sv_replace() function was handed a new SV with a | |
11195 | reference count other than 1. | |
11196 | ||
11197 | =end original | |
11198 | ||
11199 | (P) 内部の sv_replace() 関数は、参照カウントが 1 でない新しい SV を | |
11200 | 扱いました。 | |
11201 | ||
11202 | =item panic: restartop in %s | |
11203 | ||
11204 | =begin original | |
11205 | ||
5958 | 11206 | (P) Some internal routine requested a goto (or something like it), and |
5959 | 11207 | didn't supply the destination. |
5960 | 11208 | |
5961 | 11209 | =end original |
5962 | 11210 | |
5963 | 11211 | (P) 内部ルーティンから goto (または、同じようなもの) が |
5964 | 11212 | 要求されましたが、飛び先が与えれていません。 |
5965 | 11213 | |
5966 | =item panic: return | |
11214 | =item panic: return, type=%u | |
5967 | 11215 | |
5968 | 11216 | =begin original |
5969 | 11217 | |
5970 | 11218 | (P) We popped the context stack to a subroutine or eval context, and |
5971 | 11219 | then discovered it wasn't a subroutine or eval context. |
5972 | 11220 | |
5973 | 11221 | =end original |
5974 | 11222 | |
5975 | (P) サブルー | |
11223 | (P) サブルーチンコンテキストや eval コンテキストへ、 | |
5976 | コンテキストスタックをポップしたあと、サブルー | |
11224 | コンテキストスタックをポップしたあと、サブルーチンコンテキストや | |
5977 | 11225 | eval コンテキストでないことがわかりました。 |
5978 | 11226 | |
5979 | =item panic: scan_num | |
11227 | =item panic: scan_num, %s | |
5980 | 11228 | |
5981 | 11229 | =begin original |
5982 | 11230 | |
5983 | 11231 | (P) scan_num() got called on something that wasn't a number. |
5984 | 11232 | |
5985 | 11233 | =end original |
5986 | 11234 | |
5987 | 11235 | (P) scan_num() が、何か数字でないものに対して呼ばれました。 |
5988 | 11236 | |
5989 | =item panic: | |
11237 | =item panic: Sequence (?{...}): no code block found in regex m/%s/ | |
5990 | 11238 | |
5991 | 11239 | =begin original |
5992 | 11240 | |
11241 | (P) While compiling a pattern that has embedded (?{}) or (??{}) code | |
11242 | blocks, perl couldn't locate the code block that should have already been | |
11243 | seen and compiled by perl before control passed to the regex compiler. | |
11244 | ||
11245 | =end original | |
11246 | ||
11247 | (P) 組み込みの (?{}) や (??{}) コードブロックを持つパターンをコンパイル中に、 | |
11248 | 既に現れていて、正規表現コンパイラに制御を渡す前に perl によって | |
11249 | コンパイルされているコードブロックを発見できませんでした。 | |
11250 | ||
11251 | =item panic: strxfrm() gets absurd - a => %u, ab => %u | |
11252 | ||
11253 | =begin original | |
11254 | ||
11255 | (P) The interpreter's sanity check of the C function strxfrm() failed. | |
11256 | In your current locale the returned transformation of the string "ab" | |
11257 | is shorter than that of the string "a", which makes no sense. | |
11258 | ||
11259 | =end original | |
11260 | ||
11261 | (P) C 関数 strxfrm() のインタプリタの正気度チェックが失敗しました。 | |
11262 | 現在のロケールでは、文字列 "ab" の変換で返されたものは 文字列 "a" の | |
11263 | 変換で返されたものよりも短いので、おかしいです。 | |
11264 | ||
11265 | =item panic: sv_chop %s | |
11266 | ||
11267 | =begin original | |
11268 | ||
11269 | (P) The sv_chop() routine was passed a position that is not within the | |
11270 | scalar's string buffer. | |
11271 | ||
11272 | =end original | |
11273 | ||
11274 | (P) sv_chop() ルーチンは、スカラの文字列バッファ内でない位置を | |
11275 | 渡されました。 | |
11276 | ||
11277 | =item panic: sv_insert, midend=%p, bigend=%p | |
11278 | ||
11279 | =begin original | |
11280 | ||
5993 | 11281 | (P) The sv_insert() routine was told to remove more string than there |
5994 | 11282 | was string. |
5995 | 11283 | |
5996 | 11284 | =end original |
5997 | 11285 | |
5998 | 11286 | (P) sv_insert() ルーティンが、存在する以上の文字列を削除するように |
5999 | 11287 | 指示されました。 |
6000 | 11288 | |
6001 | 11289 | =item panic: top_env |
6002 | 11290 | |
6003 | 11291 | =begin original |
6004 | 11292 | |
6005 | 11293 | (P) The compiler attempted to do a goto, or something weird like that. |
6006 | 11294 | |
6007 | 11295 | =end original |
6008 | 11296 | |
6009 | 11297 | (P) コンパイラが、goto など妙なことを行なおうとしました。 |
6010 | 11298 | |
6011 | =item panic: | |
11299 | =item panic: unimplemented op %s (#%d) called | |
6012 | 11300 | |
6013 | 11301 | =begin original |
6014 | 11302 | |
6015 | (P) The le | |
11303 | (P) The compiler is screwed up and attempted to use an op that isn't | |
11304 | permitted at run time. | |
6016 | 11305 | |
6017 | 11306 | =end original |
6018 | 11307 | |
6019 | (P) | |
11308 | (P) コンパイラがおかしくなって、実行時に許可されていない op を | |
11309 | しようとしました。 | |
6020 | 11310 | |
11311 | =item panic: unknown OA_*: %x | |
11312 | ||
11313 | =begin original | |
11314 | ||
11315 | (P) The internal routine that handles arguments to C<&CORE::foo()> | |
11316 | subroutine calls was unable to determine what type of arguments | |
11317 | were expected. | |
11318 | ||
11319 | =end original | |
11320 | ||
11321 | (P) C<&CORE::foo()> サブルーチン呼び出しの引数を扱う内部ルーチンは、 | |
11322 | どの種類の引数が想定されているかを決定できませんでした。 | |
11323 | ||
6021 | 11324 | =item panic: utf16_to_utf8: odd bytelen |
6022 | 11325 | |
6023 | 11326 | =begin original |
6024 | 11327 | |
6025 | 11328 | (P) Something tried to call utf16_to_utf8 with an odd (as opposed |
6026 | to even) byte length. | |
11329 | to even) byte length. | |
6027 | 11330 | |
6028 | 11331 | =end original |
6029 | 11332 | |
6030 | 11333 | (P) 何かが(偶数ではなく)奇数のバイト長で utf16_to_utf8 を |
6031 | 11334 | 呼び出そうとしました。 |
6032 | 11335 | |
11336 | =item panic: utf16_to_utf8_reversed: odd bytelen | |
11337 | ||
11338 | =begin original | |
11339 | ||
11340 | (P) Something tried to call utf16_to_utf8_reversed with an odd (as opposed | |
11341 | to even) byte length. | |
11342 | ||
11343 | =end original | |
11344 | ||
11345 | (P) 何かが utf16_to_utf8_reversed を奇数バイト長で呼び出そうとしました。 | |
11346 | ||
11347 | =item panic: yylex, %s | |
11348 | ||
11349 | =begin original | |
11350 | ||
11351 | (P) The lexer got into a bad state while processing a case modifier. | |
11352 | ||
11353 | =end original | |
11354 | ||
11355 | (P) 大文字小文字修飾子を処理中に、字句解析部がおかしな状態に陥りました。 | |
11356 | ||
6033 | 11357 | =item Parentheses missing around "%s" list |
6034 | 11358 | |
6035 | 11359 | =begin original |
6036 | 11360 | |
6037 | 11361 | (W parenthesis) You said something like |
6038 | 11362 | |
6039 | 11363 | =end original |
6040 | 11364 | |
6041 | 11365 | (W parenthesis) おそらく以下のようにしたのでしょう: |
6042 | 11366 | |
6043 | 11367 | my $foo, $bar = @_; |
6044 | 11368 | |
6045 | 11369 | =begin original |
6046 | 11370 | |
6047 | 11371 | when you meant |
6048 | 11372 | |
6049 | 11373 | =end original |
6050 | 11374 | |
6051 | 11375 | 以下のようにすべきです: |
6052 | 11376 | |
6053 | 11377 | my ($foo, $bar) = @_; |
6054 | 11378 | |
6055 | 11379 | =begin original |
6056 | 11380 | |
6057 | Remember that "my", "our", | |
11381 | Remember that "my", "our", "local" and "state" bind tighter than comma. | |
6058 | 11382 | |
6059 | 11383 | =end original |
6060 | 11384 | |
6061 | "my" | |
11385 | "my", "our", "local", "state" は、コンマよりも強く結合することを | |
11386 | 忘れないでください。 | |
6062 | 11387 | |
6063 | =item P | |
11388 | =item Parsing code internal error (%s) | |
6064 | 11389 | |
6065 | 11390 | =begin original |
6066 | 11391 | |
11392 | (F) Parsing code supplied by an extension violated the parser's API in | |
11393 | a detectable way. | |
11394 | ||
11395 | =end original | |
11396 | ||
11397 | (F) エクステンションによって供給されたパースコードが、検出できる形で | |
11398 | パーサの API に違反しています。 | |
11399 | ||
11400 | =item Pattern subroutine nesting without pos change exceeded limit in regex | |
11401 | ||
11402 | =begin original | |
11403 | ||
11404 | (F) You used a pattern that uses too many nested subpattern calls without | |
11405 | consuming any text. Restructure the pattern so text is consumed before | |
11406 | the nesting limit is exceeded. | |
11407 | ||
11408 | =end original | |
11409 | ||
11410 | (F) テキストを全く消費することなく、あまりに多くネストした副パターンを使う | |
11411 | パターンを使いました。 | |
11412 | ネストの制限を越える前にテキストを消費するようにパターンを | |
11413 | 再構成してください。 | |
11414 | ||
11415 | =item C<-p> destination: %s | |
11416 | ||
11417 | =begin original | |
11418 | ||
11419 | (F) An error occurred during the implicit output invoked by the C<-p> | |
11420 | command-line switch. (This output goes to STDOUT unless you've | |
11421 | redirected it with select().) | |
11422 | ||
11423 | =end original | |
11424 | ||
11425 | (F) C<-p> コマンドラインオプションで起動された | |
11426 | 暗黙の出力中にエラーが発生しました。 | |
11427 | (この出力は select() でリダイレクトしていない限り STDOUT に出力されます。) | |
11428 | ||
11429 | =item Perl API version %s of %s does not match %s | |
11430 | ||
11431 | =begin original | |
11432 | ||
11433 | (F) The XS module in question was compiled against a different incompatible | |
11434 | version of Perl than the one that has loaded the XS module. | |
11435 | ||
11436 | =end original | |
11437 | ||
11438 | (F) この XS モジュールは、これを読み込んだ Perl とは互換性のないバージョンの | |
11439 | Perl 用にコンパイルされたものです。 | |
11440 | ||
11441 | =item Perl folding rules are not up-to-date for 0x%X; please use the perlbug | |
11442 | utility to report; in regex; marked by S<<-- HERE> in m/%s/ | |
11443 | ||
11444 | =begin original | |
11445 | ||
11446 | (S regexp) You used a regular expression with case-insensitive matching, | |
11447 | and there is a bug in Perl in which the built-in regular expression | |
11448 | folding rules are not accurate. This may lead to incorrect results. | |
11449 | Please report this as a bug using the L<perlbug> utility. | |
11450 | ||
11451 | =end original | |
11452 | ||
11453 | (S regexp) 大文字小文字を無視するマッチングを行う正規表現を使いました; そして | |
11454 | 組み込みの正規表現畳み込み規則が正確でないという Perl のバグがありました。 | |
11455 | これは間違った結果を引き起こします。 | |
11456 | どうか L<perlbug> ユーティリティを使ってバグとして報告してください。 | |
11457 | ||
11458 | =item PerlIO layer ':win32' is experimental | |
11459 | ||
11460 | =begin original | |
11461 | ||
11462 | (S experimental::win32_perlio) The C<:win32> PerlIO layer is | |
11463 | experimental. If you want to take the risk of using this layer, | |
11464 | simply disable this warning: | |
11465 | ||
11466 | =end original | |
11467 | ||
11468 | (S experimental::win32_perlio) C<:win32> PerlIO 層は実験的です。 | |
11469 | この層を使うリスクを取りたい場合は、単にこの警告を無効にしてください: | |
11470 | ||
11471 | no warnings "experimental::win32_perlio"; | |
11472 | ||
11473 | =item Perl_my_%s() not available | |
11474 | ||
11475 | =begin original | |
11476 | ||
11477 | (F) Your platform has very uncommon byte-order and integer size, | |
11478 | so it was not possible to set up some or all fixed-width byte-order | |
11479 | conversion functions. This is only a problem when you're using the | |
11480 | '<' or '>' modifiers in (un)pack templates. See L<perlfunc/pack>. | |
11481 | ||
11482 | =end original | |
11483 | ||
11484 | (F) あなたのプラットフォームはとても珍しいバイト順と整数サイズを | |
11485 | 使っているので、固定長バイト順変換関数の一部または全部を使うことができません。 | |
11486 | これは (un)pack テンプレートの中で | |
11487 | '<' か '>' の修飾子を使った場合にのみ問題となります。 | |
11488 | L<perlfunc/pack> を参照してください。 | |
11489 | ||
11490 | =item Perl %s required (did you mean %s?)--this is only %s, stopped | |
11491 | ||
11492 | =begin original | |
11493 | ||
11494 | (F) The code you are trying to run has asked for a newer version of | |
11495 | Perl than you are running. Perhaps C<use 5.10> was written instead | |
11496 | of C<use 5.010> or C<use v5.10>. Without the leading C<v>, the number is | |
11497 | interpreted as a decimal, with every three digits after the | |
11498 | decimal point representing a part of the version number. So 5.10 | |
11499 | is equivalent to v5.100. | |
11500 | ||
11501 | =end original | |
11502 | ||
11503 | (F) 実行しようとしたコードは、実行している Perl のバージョンよりも高いものを | |
11504 | 尋ねました。 | |
11505 | おそらく C<use 5.010> or C<use v5.10> ではなく C<use 5.10> と | |
11506 | 書かれているのでしょう。 | |
11507 | 先頭の C<v> がないと、数値は 10 進数で、小数点の後の 3 桁毎にバージョン番号の | |
11508 | 部分を表現していると解釈されます。 | |
11509 | それで、5.10 は v5.100 と等価です。 | |
11510 | ||
11511 | =item Perl %s required--this is only %s, stopped | |
11512 | ||
11513 | =begin original | |
11514 | ||
6067 | 11515 | (F) The module in question uses features of a version of Perl more |
6068 | 11516 | recent than the currently running version. How long has it been since |
6069 | 11517 | you upgraded, anyway? See L<perlfunc/require>. |
6070 | 11518 | |
6071 | 11519 | =end original |
6072 | 11520 | |
6073 | 11521 | (F) 問題のモジュールは、現在実行中の Perl よりも最近のバージョンの |
6074 | 11522 | 機能を使っています。 |
6075 | 11523 | ところで、いつからアップグレードしていないのですか? |
6076 | 11524 | L<perlfunc/require> を参照してください。 |
6077 | 11525 | |
6078 | 11526 | =item PERL_SH_DIR too long |
6079 | 11527 | |
6080 | 11528 | =begin original |
6081 | 11529 | |
6082 | (F) An error peculiar to OS/2. PERL_SH_DIR is the directory to find the | |
11530 | (F) An error peculiar to OS/2. PERL_SH_DIR is the directory to find the | |
6083 | 11531 | C<sh>-shell in. See "PERL_SH_DIR" in L<perlos2>. |
6084 | 11532 | |
6085 | 11533 | =end original |
6086 | 11534 | |
6087 | 11535 | (F) OS/2 固有のエラーです。 |
6088 | 11536 | PERL_SH_DIR は C<sh>-shell を見つけるためのディレクトリです。 |
6089 | 11537 | L<perlos2> の "PERL_SH_DIR" を参照してください。 |
6090 | 11538 | |
11539 | =item PERL_SIGNALS illegal: "%s" | |
11540 | ||
11541 | =begin original | |
11542 | ||
11543 | (X) See L<perlrun/PERL_SIGNALS> for legal values. | |
11544 | ||
11545 | =end original | |
11546 | ||
11547 | (X) 有効な値については L<perlrun/PERL_SIGNALS> を参照してください。 | |
11548 | ||
11549 | =item Perls since %s too modern--this is %s, stopped | |
11550 | ||
11551 | =begin original | |
11552 | ||
11553 | (F) The code you are trying to run claims it will not run | |
11554 | on the version of Perl you are using because it is too new. | |
11555 | Maybe the code needs to be updated, or maybe it is simply | |
11556 | wrong and the version check should just be removed. | |
11557 | ||
11558 | =end original | |
11559 | ||
11560 | (F) 実行しようとしているコードは、使っている Perl のバージョンが新しすぎると | |
11561 | 主張しています。 | |
11562 | コードを更新する必要があるかもしれませんし、単に間違っていて単純に | |
11563 | バージョンチェックを削除するべきかもしれません。 | |
11564 | ||
11565 | =item perl: warning: Non hex character in '$ENV{PERL_HASH_SEED}', seed only partially set | |
11566 | ||
11567 | =begin original | |
11568 | ||
11569 | (S) PERL_HASH_SEED should match /^\s*(?:0x)?[0-9a-fA-F]+\s*\z/ but it | |
11570 | contained a non hex character. This could mean you are not using the | |
11571 | hash seed you think you are. | |
11572 | ||
11573 | =end original | |
11574 | ||
11575 | (S) PERL_HASH_SEED は /^\s*(?:0x)?[0-9a-fA-F]+\s*\z/ にマッチングするけれども | |
11576 | 非 16 進数文字を含む必要があります。 | |
11577 | これは、考えているようなハッシュの種が使われないことを | |
11578 | 意味しているかもしれません。 | |
11579 | ||
6091 | 11580 | =item perl: warning: Setting locale failed. |
6092 | 11581 | |
6093 | 11582 | =begin original |
6094 | 11583 | |
6095 | 11584 | (S) The whole warning message will look something like: |
6096 | 11585 | |
6097 | 11586 | =end original |
6098 | 11587 | |
6099 | 11588 | (S) 警告全体は以下のような形になります: |
6100 | 11589 | |
6101 | 11590 | perl: warning: Setting locale failed. |
6102 | 11591 | perl: warning: Please check that your locale settings: |
6103 | 11592 | LC_ALL = "En_US", |
6104 | 11593 | LANG = (unset) |
6105 | 11594 | are supported and installed on your system. |
6106 | 11595 | perl: warning: Falling back to the standard locale ("C"). |
6107 | 11596 | |
6108 | 11597 | =begin original |
6109 | 11598 | |
6110 | 11599 | Exactly what were the failed locale settings varies. In the above the |
6111 | 11600 | settings were that the LC_ALL was "En_US" and the LANG had no value. |
6112 | 11601 | This error means that Perl detected that you and/or your operating |
6113 | 11602 | system supplier and/or system administrator have set up the so-called |
6114 | 11603 | locale system but Perl could not use those settings. This was not |
6115 | 11604 | dead serious, fortunately: there is a "default locale" called "C" that |
6116 | Perl can and will use, the script will be run. Before you really | |
11605 | Perl can and will use, and the script will be run. Before you really | |
6117 | the problem, however, you will get the same error message each | |
11606 | fix the problem, however, you will get the same error message each | |
6118 | you run Perl. How to really fix the problem can be found in | |
11607 | time you run Perl. How to really fix the problem can be found in | |
6119 | 11608 | L<perllocale> section B<LOCALE PROBLEMS>. |
6120 | 11609 | |
6121 | 11610 | =end original |
6122 | 11611 | |
6123 | 11612 | 正確にどのロケール設定が失敗したのかは様々です。 |
6124 | 11613 | 上記では設定は LC_ALL は "En_US" で、LANG は空でした。 |
6125 | 11614 | このエラーは、あなたや OS 供給者やシステム管理者がロケールシステムと呼ばれる |
6126 | 11615 | ものをセットアップしましたが、Perl がこれらの設定を使えないことを |
6127 | 11616 | 検出したことを意味します。 |
6128 | 11617 | これは幸いにして致命的ではありません; Perl が使用できる "C" と呼ばれる |
6129 | 11618 | 「デフォルトロケール」が存在するので、スクリプトは実行されます。 |
6130 | 11619 | しかし、本当にこの問題を解決するまでは、Perl を実行する毎に同じエラー |
6131 | 11620 | メッセージが表示されます。 |
6132 | 11621 | 本当にこの問題を修正する方法は L<perllocale> の B<LOCALE PROBLEMS> の |
6133 | 11622 | 章にあります。 |
6134 | 11623 | |
6135 | =item | |
11624 | =item perl: warning: strange setting in '$ENV{PERL_PERTURB_KEYS}': '%s' | |
6136 | 11625 | |
6137 | 11626 | =begin original |
6138 | 11627 | |
6139 | ( | |
11628 | (S) Perl was run with the environment variable PERL_PERTURB_KEYS defined | |
11629 | but containing an unexpected value. The legal values of this setting | |
11630 | are as follows. | |
6140 | 11631 | |
6141 | 11632 | =end original |
6142 | 11633 | |
6143 | ( | |
11634 | (S) 環境変数 PERL_PERTURB_KEYS が定義されている環境で Perl が実行されましたが | |
6144 | ||
11635 | 想定外の値でした。 | |
11636 | この設定の正当な値は以下のものです。 | |
6145 | 11637 | |
11638 | Numeric | String | Result | |
11639 | --------+---------------+----------------------------------------- | |
11640 | 0 | NO | Disables key traversal randomization | |
11641 | 1 | RANDOM | Enables full key traversal randomization | |
11642 | 2 | DETERMINISTIC | Enables repeatable key traversal | |
11643 | | | randomization | |
11644 | ||
11645 | =begin original | |
11646 | ||
11647 | Both numeric and string values are accepted, but note that string values are | |
11648 | case sensitive. The default for this setting is "RANDOM" or 1. | |
11649 | ||
11650 | =end original | |
11651 | ||
11652 | 数値と文字列の値の両方が受け入れられますが、文字列の値は大文字小文字を | |
11653 | 区別することに注意してください。 | |
11654 | この設定のデフォルトは "RANDOM"、つまり 1 です。 | |
11655 | ||
6146 | 11656 | =item pid %x not a child |
6147 | 11657 | |
6148 | 11658 | =begin original |
6149 | 11659 | |
6150 | 11660 | (W exec) A warning peculiar to VMS. Waitpid() was asked to wait for a |
6151 | 11661 | process which isn't a subprocess of the current process. While this is |
6152 | 11662 | fine from VMS' perspective, it's probably not what you intended. |
6153 | 11663 | |
6154 | 11664 | =end original |
6155 | 11665 | |
6156 | (W exec) VMS 固有の警告です。 | |
11666 | (W exec) VMS に固有の警告です。 | |
6157 | 11667 | 現在のプロセスのサブプロセスでないプロセスに Waitpid() を使いました。 |
6158 | 11668 | これは VMS の観点からは問題ありませんが、おそらくあなたの望んでいることでは |
6159 | 11669 | ないでしょう。 |
6160 | 11670 | |
6161 | =item P | |
11671 | =item 'P' must have an explicit size in unpack | |
6162 | 11672 | |
6163 | 11673 | =begin original |
6164 | 11674 | |
6165 | ( | |
11675 | (F) The unpack format P must have an explicit size, not "*". | |
6166 | I<inside> character classes, the [] are part of the construct, for | |
6167 | example: /[012[:alpha:]345]/. Note that [= =] and [. .] are not | |
6168 | currently implemented; they are simply placeholders for future | |
6169 | extensions and will cause fatal errors. | |
6170 | 11676 | |
6171 | 11677 | =end original |
6172 | 11678 | |
6173 | ( | |
11679 | (F) unpack フォーマット P は "*" ではなく、明示的なサイズを | |
6174 | ||
11680 | 指定しなければなりません。 | |
6175 | [= =] と [. .] は現在のところ実装されていないことに注意してください; | |
6176 | これらは単に将来の拡張のためのプレースホルダであり、致命的エラーを | |
6177 | 生成します。 | |
6178 | 11681 | |
6179 | =item POSIX | |
11682 | =item POSIX class [:%s:] unknown in regex; marked by S<<-- HERE> in m/%s/ | |
6180 | 11683 | |
6181 | 11684 | =begin original |
6182 | 11685 | |
6183 | (F | |
11686 | (F) The class in the character class [: :] syntax is unknown. The S<<-- HERE> | |
6184 | ||
11687 | shows whereabouts in the regular expression the problem was discovered. | |
6185 | ||
11688 | Note that the POSIX character classes do B<not> have the C<is> prefix | |
6186 | ||
11689 | the corresponding C interfaces have: in other words, it's C<[[:print:]]>, | |
6187 | ||
11690 | not C<isprint>. See L<perlre>. | |
6188 | 11691 | |
6189 | 11692 | =end original |
6190 | 11693 | |
6191 | (F | |
11694 | (F) 文字クラス [: :] 文法の中のクラスは不明です。 | |
6192 | ||
11695 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
6193 | ||
11696 | POSIX 文字クラスは、対応する C インターフェースが持っている C<is> 接頭辞が | |
6194 | ||
11697 | B<付かない> ことに注意してください: 言い換えると、C<[[:print:]]> であり、 | |
6195 | ||
11698 | C<isprint> ではありません。 | |
11699 | L<perlre> を参照してください。 | |
6196 | 11700 | |
6197 | =item POSIX | |
11701 | =item POSIX getpgrp can't take an argument | |
6198 | 11702 | |
6199 | 11703 | =begin original |
6200 | 11704 | |
6201 | (F) | |
11705 | (F) Your system has POSIX getpgrp(), which takes no argument, unlike | |
6202 | ||
11706 | the BSD version, which takes a pid. | |
6203 | extensions. If you need to represent those character sequences inside | |
6204 | a regular expression character class, just quote the square brackets | |
6205 | with the backslash: "\[=" and "=\]". | |
6206 | 11707 | |
6207 | 11708 | =end original |
6208 | 11709 | |
6209 | (F) | |
11710 | (F) お使いのシステムは、引数に pid をとる BSD バージョンの | |
6210 | ||
11711 | getpgrp() と違って、引数をとらない POSIX のものを使っています。 | |
6211 | 正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある | |
6212 | 場合には、"\[=" と "=\]" のように、大かっこをバックスラッシュで | |
6213 | クォートしてください。 | |
6214 | 11712 | |
6215 | =item POSIX cl | |
11713 | =item POSIX syntax [%c %c] belongs inside character classes%s in regex; marked by | |
11714 | S<<-- HERE> in m/%s/ | |
6216 | 11715 | |
6217 | 11716 | =begin original |
6218 | 11717 | |
6219 | ( | |
11718 | (W regexp) Perl thinks that you intended to write a POSIX character | |
6220 | ||
11719 | class, but didn't use enough brackets. These POSIX class constructs [: | |
11720 | :], [= =], and [. .] go I<inside> character classes, the [] are part of | |
11721 | the construct, for example: C<qr/[012[:alpha:]345]/>. What the regular | |
11722 | expression pattern compiled to is probably not what you were intending. | |
11723 | For example, C<qr/[:alpha:]/> compiles to a regular bracketed character | |
11724 | class consisting of the four characters C<":">, C<"a">, C<"l">, | |
11725 | C<"h">, and C<"p">. To specify the POSIX class, it should have been | |
11726 | written C<qr/[[:alpha:]]/>. | |
6221 | 11727 | |
6222 | 11728 | =end original |
6223 | 11729 | |
6224 | ( | |
11730 | (W regexp) Perl は、あなたが POSIX 文字クラスを書くことを意図していると | |
11731 | 考えましたが、大かっこが足りませんでした。 | |
11732 | 例えば C<qr/[012[:alpha:]345]/> のように、POSIX クラス構造 | |
11733 | [: :], [= =], [. .] が文字クラスの I<内側> にあり、[] は構文の一部です。 | |
11734 | コンパイルされた正規表現パターンはおそらくあなたが意図したものでは | |
11735 | ないでしょう。 | |
11736 | 例えば、C<qr/[:alpha:]/> は、C<":">, C<"a">, C<"l">, C<"h">, C<"p"> の | |
11737 | 四つの文字からなる 正規表現大かっこ文字クラスにコンパイルされます。 | |
11738 | POSIX クラスを指定するには、C<qr/[[:alpha:]]/> と書く必要があります。 | |
11739 | ||
11740 | =begin original | |
11741 | ||
11742 | Note that [= =] and [. .] are not currently | |
11743 | implemented; they are simply placeholders for future extensions and | |
11744 | will cause fatal errors. The S<<-- HERE> shows whereabouts in the regular | |
11745 | expression the problem was discovered. See L<perlre>. | |
11746 | ||
11747 | =end original | |
11748 | ||
11749 | [= =] と [. .] は現在のところ実装されていないことに注意してください; | |
11750 | これらは単に将来の拡張のためのプレースホルダであり、致命的エラーを | |
11751 | 生成します。 | |
11752 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
6225 | 11753 | L<perlre> を参照してください。 |
6226 | 11754 | |
6227 | = | |
11755 | =begin original | |
6228 | 11756 | |
11757 | If the specification of the class was not completely valid, the message | |
11758 | indicates that. | |
11759 | ||
11760 | =end original | |
11761 | ||
11762 | このクラスの仕様が完全に正当出ない場合、このメッセージはそれを示しています。 | |
11763 | ||
11764 | =item POSIX syntax [. .] is reserved for future extensions in regex; marked by | |
11765 | S<<-- HERE> in m/%s/ | |
11766 | ||
6229 | 11767 | =begin original |
6230 | 11768 | |
6231 | (F) | |
11769 | (F) Within regular expression character classes ([]) the syntax beginning | |
6232 | th | |
11770 | with "[." and ending with ".]" is reserved for future extensions. If you | |
11771 | need to represent those character sequences inside a regular expression | |
11772 | character class, just quote the square brackets with the backslash: "\[." | |
11773 | and ".\]". The S<<-- HERE> shows whereabouts in the regular expression the | |
11774 | problem was discovered. See L<perlre>. | |
6233 | 11775 | |
6234 | 11776 | =end original |
6235 | 11777 | |
6236 | (F) | |
11778 | (F) 正規表現文字クラス ([]) の中では、"[." で始まる文法と ".]" で | |
6237 | ||
11779 | 終わる文法は将来の拡張のために予約されます。 | |
11780 | 正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある | |
11781 | 場合には、"\[." と ".\]" のように、大かっこをバックスラッシュで | |
11782 | クォートしてください。 | |
11783 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
11784 | L<perlre> を参照してください。 | |
6238 | 11785 | |
11786 | =item POSIX syntax [= =] is reserved for future extensions in regex; marked by | |
11787 | S<<-- HERE> in m/%s/ | |
11788 | ||
11789 | =begin original | |
11790 | ||
11791 | (F) Within regular expression character classes ([]) the syntax beginning | |
11792 | with "[=" and ending with "=]" is reserved for future extensions. If you | |
11793 | need to represent those character sequences inside a regular expression | |
11794 | character class, just quote the square brackets with the backslash: "\[=" | |
11795 | and "=\]". The S<<-- HERE> shows whereabouts in the regular expression the | |
11796 | problem was discovered. See L<perlre>. | |
11797 | ||
11798 | =end original | |
11799 | ||
11800 | (F) 正規表現文字クラス ([]) の中では、"[=" で始まる文法と "=]" で | |
11801 | 終わる文法は将来の拡張のために予約されます。 | |
11802 | 正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある | |
11803 | 場合には、"\[=" と "=\]" のように、大かっこをバックスラッシュで | |
11804 | クォートしてください。 | |
11805 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
11806 | L<perlre> を参照してください。 | |
11807 | ||
6239 | 11808 | =item Possible attempt to put comments in qw() list |
6240 | 11809 | |
6241 | 11810 | =begin original |
6242 | 11811 | |
6243 | 11812 | (W qw) qw() lists contain items separated by whitespace; as with literal |
6244 | 11813 | strings, comment characters are not ignored, but are instead treated as |
6245 | 11814 | literal data. (You may have used different delimiters than the |
6246 | 11815 | parentheses shown here; braces are also frequently used.) |
6247 | 11816 | |
6248 | 11817 | =end original |
6249 | 11818 | |
6250 | 11819 | (W qw) qw() リストは空白で分割されたアイテムを含んでいます; |
6251 | 11820 | リテラル文字列では、コメント文字無視されず、リテラルデータとして扱われます。 |
6252 | ( | |
11821 | (ここで使われているのと違うデリミタを用いているかもしれません; | |
11822 | 大かっこもよく使われます。) | |
6253 | 11823 | |
6254 | 11824 | =begin original |
6255 | 11825 | |
6256 | 11826 | You probably wrote something like this: |
6257 | 11827 | |
6258 | 11828 | =end original |
6259 | 11829 | |
6260 | 11830 | おそらく以下のように書いたのでしょう: |
6261 | 11831 | |
6262 | 11832 | @list = qw( |
6263 | 11833 | a # a comment |
6264 | 11834 | b # another comment |
6265 | 11835 | ); |
6266 | 11836 | |
6267 | 11837 | =begin original |
6268 | 11838 | |
6269 | 11839 | when you should have written this: |
6270 | 11840 | |
6271 | 11841 | =end original |
6272 | 11842 | |
6273 | 11843 | 以下のように書くべきです: |
6274 | 11844 | |
6275 | 11845 | @list = qw( |
6276 | 11846 | a |
6277 | 11847 | b |
6278 | 11848 | ); |
6279 | 11849 | |
6280 | 11850 | =begin original |
6281 | 11851 | |
6282 | 11852 | If you really want comments, build your list the |
6283 | 11853 | old-fashioned way, with quotes and commas: |
6284 | 11854 | |
6285 | 11855 | =end original |
6286 | 11856 | |
6287 | 11857 | 本当にコメントをつけたいのなら、 |
6288 | 11858 | リストを昔のクォートとカンマの形で書いてください。 |
6289 | 11859 | |
6290 | 11860 | @list = ( |
6291 | 11861 | 'a', # a comment |
6292 | 11862 | 'b', # another comment |
6293 | 11863 | ); |
6294 | 11864 | |
6295 | 11865 | =item Possible attempt to separate words with commas |
6296 | 11866 | |
6297 | 11867 | =begin original |
6298 | 11868 | |
6299 | 11869 | (W qw) qw() lists contain items separated by whitespace; therefore |
6300 | 11870 | commas aren't needed to separate the items. (You may have used |
6301 | 11871 | different delimiters than the parentheses shown here; braces are also |
6302 | 11872 | frequently used.) |
6303 | 11873 | |
6304 | 11874 | =end original |
6305 | 11875 | |
6306 | 11876 | (W qw) qw() リストに空白で分割された項目があります; |
6307 | 11877 | そのため、カンマは項目を分割する必要がありません。 |
6308 | 11878 | (ここで使われているのと違うデリミタを用いているかもしれません; |
6309 | 大 | |
11879 | 大かっこもよく使われます。) | |
6310 | 11880 | |
6311 | 11881 | =begin original |
6312 | 11882 | |
6313 | 11883 | You probably wrote something like this: |
6314 | 11884 | |
6315 | 11885 | =end original |
6316 | 11886 | |
6317 | 11887 | おそらく以下のように書いたのでしょう: |
6318 | 11888 | |
6319 | 11889 | qw! a, b, c !; |
6320 | 11890 | |
6321 | 11891 | =begin original |
6322 | 11892 | |
6323 | 11893 | which puts literal commas into some of the list items. Write it without |
6324 | 11894 | commas if you don't want them to appear in your data: |
6325 | 11895 | |
6326 | 11896 | =end original |
6327 | 11897 | |
6328 | 11898 | リスト要素の中にリテラルのカンマを書いています。 |
6329 | 11899 | データの中にカンマを出したくないなら、カンマなしで書きます: |
6330 | 11900 | |
6331 | 11901 | qw! a b c !; |
6332 | 11902 | |
6333 | 11903 | =item Possible memory corruption: %s overflowed 3rd argument |
6334 | 11904 | |
6335 | 11905 | =begin original |
6336 | 11906 | |
6337 | 11907 | (F) An ioctl() or fcntl() returned more than Perl was bargaining for. |
6338 | 11908 | Perl guesses a reasonable buffer size, but puts a sentinel byte at the |
6339 | 11909 | end of the buffer just in case. This sentinel byte got clobbered, and |
6340 | 11910 | Perl assumes that memory is now corrupted. See L<perlfunc/ioctl>. |
6341 | 11911 | |
6342 | 11912 | =end original |
6343 | 11913 | |
6344 | 11914 | (F) ioctl() や fcntl() が、Perl が求めていた以上のものを返してきました。 |
6345 | 11915 | Perl は、適量のバッファサイズを見積もりますが、念のためにバッファの |
6346 | 11916 | 最後に目印を付けています。 |
6347 | 11917 | この目印が壊されたため、Perl はメモリの破壊が起こったと判断しました。 |
6348 | 11918 | L<perlfunc/ioctl> を参照してください。 |
6349 | 11919 | |
6350 | =item Possible | |
11920 | =item Possible precedence issue with control flow operator | |
6351 | 11921 | |
6352 | 11922 | =begin original |
6353 | 11923 | |
6354 | (W y | |
11924 | (W syntax) There is a possible problem with the mixing of a control | |
6355 | ||
11925 | flow operator (e.g. C<return>) and a low-precedence operator like | |
11926 | C<or>. Consider: | |
6356 | 11927 | |
6357 | 11928 | =end original |
6358 | 11929 | |
6359 | (W y | |
11930 | (W syntax) フロー制御演算子 (例えば C<return>) と、C<or> のような | |
6360 | ||
11931 | 低優先順位演算子を混ぜると問題が起きることがあります。 | |
11932 | 次を考えると: | |
6361 | 11933 | |
6362 | ||
11934 | sub { return $a or $b; } | |
6363 | 11935 | |
6364 | 11936 | =begin original |
6365 | 11937 | |
6366 | ||
11938 | This is parsed as: | |
6367 | 11939 | |
6368 | 11940 | =end original |
6369 | 11941 | |
6370 | ||
11942 | これは次のようにパースされます: | |
6371 | 11943 | |
6372 | sub | |
11944 | sub { (return $a) or $b; } | |
6373 | { | |
6374 | use attrs qw(locked); | |
6375 | } | |
6376 | 11945 | |
6377 | 11946 | =begin original |
6378 | 11947 | |
6379 | ||
11948 | Which is effectively just: | |
6380 | 11949 | |
6381 | 11950 | =end original |
6382 | 11951 | |
6383 | ||
11952 | これは事実上次のものです: | |
6384 | 11953 | |
6385 | sub | |
11954 | sub { return $a; } | |
6386 | { | |
6387 | ... | |
6388 | 11955 | |
6389 | 11956 | =begin original |
6390 | 11957 | |
6391 | ||
11958 | Either use parentheses or the high-precedence variant of the operator. | |
6392 | backward-compatibility. See L<perlsub/"Subroutine Attributes">. | |
6393 | 11959 | |
6394 | 11960 | =end original |
6395 | 11961 | |
6396 | ||
11962 | かっこか、高優先順位版の演算子を使ってください。 | |
6397 | 提供されています。 | |
6398 | L<perlsub/"Subroutine Attributes"> を参照してください。 | |
6399 | 11963 | |
11964 | =begin original | |
11965 | ||
11966 | Note this may be also triggered for constructs like: | |
11967 | ||
11968 | =end original | |
11969 | ||
11970 | これは次のような構文でも引き起こされることに注意してください: | |
11971 | ||
11972 | sub { 1 if die; } | |
11973 | ||
11974 | =item Possible precedence problem on bitwise %s operator | |
11975 | ||
11976 | =begin original | |
11977 | ||
11978 | (W precedence) Your program uses a bitwise logical operator in conjunction | |
11979 | with a numeric comparison operator, like this : | |
11980 | ||
11981 | =end original | |
11982 | ||
11983 | (W precedence) 以下のように、ビット単位の論理演算子を数値比較演算子と | |
11984 | 結合して使用しています: | |
11985 | ||
11986 | if ($x & $y == 0) { ... } | |
11987 | ||
11988 | =begin original | |
11989 | ||
11990 | This expression is actually equivalent to C<$x & ($y == 0)>, due to the | |
11991 | higher precedence of C<==>. This is probably not what you want. (If you | |
11992 | really meant to write this, disable the warning, or, better, put the | |
11993 | parentheses explicitly and write C<$x & ($y == 0)>). | |
11994 | ||
11995 | =end original | |
11996 | ||
11997 | この式は、C<==> の優先順位の方が高いので、C<$x & ($y == 0)> と | |
11998 | 等価になります。 | |
11999 | これはおそらく望んでいるものではないでしょう。 | |
12000 | (もし本当にこのように書きたいのなら、警告を無効にするか、あるいは | |
12001 | よりよいのはかっこを明示的に使って C<$x & ($y == 0)> と書きます)。 | |
12002 | ||
12003 | =item Possible unintended interpolation of $\ in regex | |
12004 | ||
12005 | =begin original | |
12006 | ||
12007 | (W ambiguous) You said something like C<m/$\/> in a regex. | |
12008 | The regex C<m/foo$\s+bar/m> translates to: match the word 'foo', the output | |
12009 | record separator (see L<perlvar/$\>) and the letter 's' (one time or more) | |
12010 | followed by the word 'bar'. | |
12011 | ||
12012 | =end original | |
12013 | ||
12014 | (W ambiguous) 正規表現で C<m/$\/> のようなことをしました。 | |
12015 | 正規表現 C<m/foo$\s+bar/m> は以下のように翻訳されます: 単語 'foo'、出力 | |
12016 | レコードセパレータ (L<perlvar/$\> 参照)、文字 's' (1 回以上)、単語 | |
12017 | 'bar' にマッチングします。 | |
12018 | ||
12019 | =begin original | |
12020 | ||
12021 | If this is what you intended then you can silence the warning by using | |
12022 | C<m/${\}/> (for example: C<m/foo${\}s+bar/>). | |
12023 | ||
12024 | =end original | |
12025 | ||
12026 | これがあなたのしたいことなら、C<m/${\}/> を使うことで警告を抑制できます | |
12027 | (例えば: C<m/foo${\}s+bar/>)。 | |
12028 | ||
12029 | =begin original | |
12030 | ||
12031 | If instead you intended to match the word 'foo' at the end of the line | |
12032 | followed by whitespace and the word 'bar' on the next line then you can use | |
12033 | C<m/$(?)\/> (for example: C<m/foo$(?)\s+bar/>). | |
12034 | ||
12035 | =end original | |
12036 | ||
12037 | そうではなく、行末の単語 'foo' に引き続いて、次の行で空白と単語 'bar' に | |
12038 | マッチングしたいなら、C<m/$(?)\/> を使ってください (例えば: | |
12039 | C<m/foo$(?)\s+bar/>)。 | |
12040 | ||
12041 | =item Possible unintended interpolation of %s in string | |
12042 | ||
12043 | =begin original | |
12044 | ||
12045 | (W ambiguous) You said something like '@foo' in a double-quoted string | |
12046 | but there was no array C<@foo> in scope at the time. If you wanted a | |
12047 | literal @foo, then write it as \@foo; otherwise find out what happened | |
12048 | to the array you apparently lost track of. | |
12049 | ||
12050 | =end original | |
12051 | ||
12052 | (W ambiguous) 「@foo」のようなものをダブルクォート文字列の中に書きましたが、 | |
12053 | 現在のスコープ内に C<@foo> という配列はありません。 | |
12054 | リテラルな @foo を指定したい場合は、\@foo と書いてください; | |
12055 | そうでなければ、どうやら見失ってしまったらしい配列に何が起こったを | |
12056 | 調べてください。 | |
12057 | ||
6400 | 12058 | =item Precedence problem: open %s should be open(%s) |
6401 | 12059 | |
6402 | 12060 | =begin original |
6403 | 12061 | |
6404 | 12062 | (S precedence) The old irregular construct |
6405 | 12063 | |
6406 | 12064 | =end original |
6407 | 12065 | |
6408 | 12066 | (S precedence) 古い変則的な構文 |
6409 | 12067 | |
6410 | 12068 | open FOO || die; |
6411 | 12069 | |
6412 | 12070 | =begin original |
6413 | 12071 | |
6414 | 12072 | is now misinterpreted as |
6415 | 12073 | |
6416 | 12074 | =end original |
6417 | 12075 | |
6418 | 12076 | は現在は、Perl 5 の文法の厳しい正規化の結果、単項演算子か |
6419 | 12077 | リスト演算子と解釈されますので、 |
6420 | 12078 | |
6421 | 12079 | open(FOO || die); |
6422 | 12080 | |
6423 | 12081 | =begin original |
6424 | 12082 | |
6425 | 12083 | because of the strict regularization of Perl 5's grammar into unary and |
6426 | 12084 | list operators. (The old open was a little of both.) You must put |
6427 | 12085 | parentheses around the filehandle, or use the new "or" operator instead |
6428 | 12086 | of "||". |
6429 | 12087 | |
6430 | 12088 | =end original |
6431 | 12089 | |
6432 | 12090 | という風に誤った解釈がなされます。 |
6433 | 12091 | (古い open は、単項演算子とリスト演算子の中間のようなものでした。) |
6434 | ファイルハンドルの前後を | |
12092 | ファイルハンドルの前後をかっこで囲むか、"||" 演算子の代わりに | |
6435 | 12093 | "or" 演算子を使わなくてはなりません。 |
6436 | 12094 | |
6437 | 12095 | =item Premature end of script headers |
6438 | 12096 | |
6439 | 12097 | =begin original |
6440 | 12098 | |
6441 | See Server error. | |
12099 | See L</500 Server error>. | |
6442 | 12100 | |
6443 | 12101 | =end original |
6444 | 12102 | |
6445 | ||
12103 | L</500 Server error> を参照してください。 | |
6446 | 12104 | |
6447 | 12105 | =item printf() on closed filehandle %s |
6448 | 12106 | |
6449 | 12107 | =begin original |
6450 | 12108 | |
6451 | 12109 | (W closed) The filehandle you're writing to got itself closed sometime |
6452 | before now. Check your | |
12110 | before now. Check your control flow. | |
6453 | 12111 | |
6454 | 12112 | =end original |
6455 | 12113 | |
6456 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既に | |
12114 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既に閉じられています。 | |
6457 | ||
12115 | 制御フローをチェックしてください。 | |
6458 | 12116 | |
6459 | 12117 | =item print() on closed filehandle %s |
6460 | 12118 | |
6461 | 12119 | =begin original |
6462 | 12120 | |
6463 | 12121 | (W closed) The filehandle you're printing on got itself closed sometime |
6464 | before now. Check your | |
12122 | before now. Check your control flow. | |
6465 | 12123 | |
6466 | 12124 | =end original |
6467 | 12125 | |
6468 | (W closed) print を行なおうとしたファイルハンドルは、既に | |
12126 | (W closed) print を行なおうとしたファイルハンドルは、既に閉じられています。 | |
6469 | ||
12127 | 制御フローをチェックしてください。 | |
6470 | 12128 | |
6471 | 12129 | =item Process terminated by SIG%s |
6472 | 12130 | |
6473 | 12131 | =begin original |
6474 | 12132 | |
6475 | 12133 | (W) This is a standard message issued by OS/2 applications, while *nix |
6476 | 12134 | applications die in silence. It is considered a feature of the OS/2 |
6477 | 12135 | port. One can easily disable this by appropriate sighandlers, see |
6478 | 12136 | L<perlipc/"Signals">. See also "Process terminated by SIGTERM/SIGINT" |
6479 | 12137 | in L<perlos2>. |
6480 | 12138 | |
6481 | 12139 | =end original |
6482 | 12140 | |
6483 | 12141 | (W) *nix アプリケーションは何も出力せずに終了しますが、 |
6484 | 12142 | OS/2 アプリケーションはこれを標準メッセージとして出力します。 |
6485 | 12143 | これは OS/2 版の仕様とみなされています。 |
6486 | 12144 | 適切なシグナルハンドラによって簡単に無効にできます; |
6487 | 12145 | L<perlipc/"Signals"> を参照してください。 |
6488 | 12146 | L<perlos2> の "Process terminated by SIGTERM/SIGINT" も参照してください。 |
6489 | 12147 | |
12148 | =item Prototype after '%c' for %s : %s | |
12149 | ||
12150 | =begin original | |
12151 | ||
12152 | (W illegalproto) A character follows % or @ in a prototype. This is | |
12153 | useless, since % and @ gobble the rest of the subroutine arguments. | |
12154 | ||
12155 | =end original | |
12156 | ||
12157 | (W illegalproto) プロトタイプで % または @ に文字が引き続いています。 | |
12158 | これは無意味です; % と @ は残りのサブルーチン引数を全て飲み込むからです。 | |
12159 | ||
6490 | 12160 | =item Prototype mismatch: %s vs %s |
6491 | 12161 | |
6492 | 12162 | =begin original |
6493 | 12163 | |
6494 | (S | |
12164 | (S prototype) The subroutine being declared or defined had previously been | |
6495 | 12165 | declared or defined with a different function prototype. |
6496 | 12166 | |
6497 | 12167 | =end original |
6498 | 12168 | |
6499 | (S | |
12169 | (S prototype) 以前異なる関数プロトタイプで宣言または定義された | |
6500 | 宣言または定義されました。 | |
12170 | サブルーチンが宣言または定義されました。 | |
6501 | 12171 | |
6502 | =item | |
12172 | =item Prototype not terminated | |
6503 | 12173 | |
6504 | 12174 | =begin original |
6505 | 12175 | |
6506 | (F) | |
12176 | (F) You've omitted the closing parenthesis in a function prototype | |
6507 | ||
12177 | definition. | |
6508 | the problem was discovered. See L<perlre>. | |
6509 | 12178 | |
6510 | 12179 | =end original |
6511 | 12180 | |
12181 | (F) 関数プロトタイプ宣言で、閉じかっこがありませんでした。 | |
12182 | ||
12183 | =item Prototype '%s' overridden by attribute 'prototype(%s)' in %s | |
12184 | ||
12185 | =begin original | |
12186 | ||
12187 | (W prototype) A prototype was declared in both the parentheses after | |
12188 | the sub name and via the prototype attribute. The prototype in | |
12189 | parentheses is useless, since it will be replaced by the prototype | |
12190 | from the attribute before it's ever used. | |
12191 | ||
12192 | =end original | |
12193 | ||
12194 | (W prototype) サブルーチン名の後のかっことプロトタイプ属性の両方で | |
12195 | プロトタイプが宣言されました。 | |
12196 | 先に宣言されていたプロトタイプは属性で置き換えられるので、かっこ内の | |
12197 | プロトタイプは無駄です。 | |
12198 | ||
12199 | =item Quantifier follows nothing in regex; marked by S<<-- HERE> in m/%s/ | |
12200 | ||
12201 | =begin original | |
12202 | ||
12203 | (F) You started a regular expression with a quantifier. Backslash it if | |
12204 | you meant it literally. The S<<-- HERE> shows whereabouts in the regular | |
12205 | expression the problem was discovered. See L<perlre>. | |
12206 | ||
12207 | =end original | |
12208 | ||
12209 | (F) 正規表現を量指定子で開始しています。 | |
12210 | もしそれをリテラルに使いたいなら、バックスラッシュでクォートしてください。 | |
12211 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
12212 | L<perlre> を参照してください。 | |
12213 | ||
12214 | =item Quantifier in {,} bigger than %d in regex; marked by S<<-- HERE> in m/%s/ | |
12215 | ||
12216 | =begin original | |
12217 | ||
12218 | (F) There is currently a limit to the size of the min and max values of | |
12219 | the {min,max} construct. The S<<-- HERE> shows whereabouts in the regular | |
12220 | expression the problem was discovered. See L<perlre>. | |
12221 | ||
12222 | =end original | |
12223 | ||
6512 | 12224 | 現在のところ、{min,max} 構造の最大値と最小値には制限があります。 |
6513 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
12225 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
6514 | 12226 | L<perlre> を参照してください。 |
6515 | 12227 | |
6516 | =item Quantifier | |
12228 | =item Quantifier {n,m} with n > m can't match in regex | |
6517 | 12229 | |
12230 | =item Quantifier {n,m} with n > m can't match in regex; marked by | |
12231 | S<<-- HERE> in m/%s/ | |
12232 | ||
6518 | 12233 | =begin original |
6519 | 12234 | |
12235 | (W regexp) Minima should be less than or equal to maxima. If you really | |
12236 | want your regexp to match something 0 times, just put {0}. | |
12237 | ||
12238 | =end original | |
12239 | ||
12240 | (W regexp) 最小値は最大値以下である必要があります。 | |
12241 | 本当に 0 回マッチングする正規表現がほしいなら、単に {0} を指定してください。 | |
12242 | ||
12243 | =item Quantifier unexpected on zero-length expression in regex m/%s/ | |
12244 | ||
12245 | =begin original | |
12246 | ||
6520 | 12247 | (W regexp) You applied a regular expression quantifier in a place where |
6521 | 12248 | it makes no sense, such as on a zero-width assertion. Try putting the |
6522 | 12249 | quantifier inside the assertion instead. For example, the way to match |
6523 | 12250 | "abc" provided that it is followed by three repetitions of "xyz" is |
6524 | 12251 | C</abc(?=(?:xyz){3})/>, not C</abc(?=xyz){3}/>. |
6525 | 12252 | |
6526 | 12253 | =end original |
6527 | 12254 | |
6528 | 12255 | (W regexp) 正規表現量指定子をゼロ幅アサーションのような意味のない場所に |
6529 | 12256 | 適用しました。 |
6530 | 12257 | 代わりにアサーションの中に量指定子を置いてください。 |
6531 | 12258 | 例えば、"xyz" を 3 回繰り返した後の "abc" にマッチングさせるには、 |
6532 | 12259 | C</abc(?=xyz){3}/> ではなく C</abc(?=(?:xyz){3})/> としてください。 |
6533 | 12260 | |
6534 | 12261 | =item Range iterator outside integer range |
6535 | 12262 | |
6536 | 12263 | =begin original |
6537 | 12264 | |
6538 | 12265 | (F) One (or both) of the numeric arguments to the range operator ".." |
6539 | 12266 | are outside the range which can be represented by integers internally. |
6540 | 12267 | One possible workaround is to force Perl to use magical string increment |
6541 | 12268 | by prepending "0" to your numbers. |
6542 | 12269 | |
6543 | 12270 | =end original |
6544 | 12271 | |
6545 | 12272 | (F) 範囲演算子 ".." の一つ(または両方)の数値引数が、内部で整数として |
6546 | 12273 | 表現できる範囲を越えています。 |
6547 | 12274 | 回避方法のひとつとしては、数値の頭に "0" を付けることで Perl に |
6548 | 12275 | マジカル文字列インクリメントの使用を強制させることです。 |
6549 | 12276 | |
12277 | =item Ranges of ASCII printables should be some subset of "0-9", "A-Z", or | |
12278 | "a-z" in regex; marked by S<<-- HERE> in m/%s/ | |
12279 | ||
12280 | =begin original | |
12281 | ||
12282 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
12283 | ||
12284 | =end original | |
12285 | ||
12286 | (W regexp) (C<S<use re 'strict'>> の基か C<(?[...])> の内側のみ) | |
12287 | ||
12288 | =begin original | |
12289 | ||
12290 | Stricter rules help to find typos and other errors. Perhaps you didn't | |
12291 | even intend a range here, if the C<"-"> was meant to be some other | |
12292 | character, or should have been escaped (like C<"\-">). If you did | |
12293 | intend a range, the one that was used is not portable between ASCII and | |
12294 | EBCDIC platforms, and doesn't have an obvious meaning to a casual | |
12295 | reader. | |
12296 | ||
12297 | =end original | |
12298 | ||
12299 | より厳密な規則はタイプミスやその他のエラーを見つける助けになります。 | |
12300 | おそらくそもそもここで範囲を意図していないか、C<"-"> が他の文字の | |
12301 | つもりだったか、(C<"\-"> のように)エスケープされるべきだったのでしょう。 | |
12302 | 範囲を意図していたのなら、使われているものは ASCII と EBCDIC | |
12303 | プラットフォームの間で移植性がなく、カジュアルな読者には不明確な | |
12304 | 意味になります。 | |
12305 | ||
12306 | [3-7] # OK; Obvious and portable | |
12307 | [d-g] # OK; Obvious and portable | |
12308 | [A-Y] # OK; Obvious and portable | |
12309 | [A-z] # WRONG; Not portable; not clear what is meant | |
12310 | [a-Z] # WRONG; Not portable; not clear what is meant | |
12311 | [%-.] # WRONG; Not portable; not clear what is meant | |
12312 | [\x41-Z] # WRONG; Not portable; not obvious to non-geek | |
12313 | ||
12314 | =begin original | |
12315 | ||
12316 | (You can force portability by specifying a Unicode range, which means that | |
12317 | the endpoints are specified by | |
12318 | L<C<\N{...}>|perlrecharclass/Character Ranges>, but the meaning may | |
12319 | still not be obvious.) | |
12320 | The stricter rules require that ranges that start or stop with an ASCII | |
12321 | character that is not a control have all their endpoints be the literal | |
12322 | character, and not some escape sequence (like C<"\x41">), and the ranges | |
12323 | must be all digits, or all uppercase letters, or all lowercase letters. | |
12324 | ||
12325 | =end original | |
12326 | ||
12327 | (Unicode の範囲を指定することで移植性を共生することができます; | |
12328 | これは端点を L<C<\N{...}>|perlrecharclass/Character Ranges> で | |
12329 | 指定するということですが、意味はやはり明確ではないかもしれません。) | |
12330 | より厳密な規則は、制御文字でなく、全てリテラルな文字で、 | |
12331 | (C<"\x41"> のような)一部のエスケープシーケンスでない | |
12332 | ASCII 文字で開始および終了することを要求し、 | |
12333 | 範囲は全て数字か、全て大文字か、全て小文字でなければなりません。 | |
12334 | ||
12335 | =item Ranges of digits should be from the same group in regex; marked by | |
12336 | S<<-- HERE> in m/%s/ | |
12337 | ||
12338 | =begin original | |
12339 | ||
12340 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
12341 | ||
12342 | =end original | |
12343 | ||
12344 | (W regexp) (C<S<use re 'strict'>> の基か C<(?[...])> の内側のみ) | |
12345 | ||
12346 | =begin original | |
12347 | ||
12348 | Stricter rules help to find typos and other errors. You included a | |
12349 | range, and at least one of the end points is a decimal digit. Under the | |
12350 | stricter rules, when this happens, both end points should be digits in | |
12351 | the same group of 10 consecutive digits. | |
12352 | ||
12353 | =end original | |
12354 | ||
12355 | より厳密な規則はタイプミスやその他のエラーを見つける助けになります。 | |
12356 | 範囲を含んでいて、少なくとも片方の端は数字です。 | |
12357 | より厳密な規則では、これが起きたときは、両端が 10 連続した数字の同じ | |
12358 | グループに属する符号位置である必要があります。 | |
12359 | ||
12360 | =item readdir() attempted on invalid dirhandle %s | |
12361 | ||
12362 | =begin original | |
12363 | ||
12364 | (W io) The dirhandle you're reading from is either closed or not really | |
12365 | a dirhandle. Check your control flow. | |
12366 | ||
12367 | =end original | |
12368 | ||
12369 | (W io) 読み込もうとしたディレクトリハンドルは既に閉じられているか、 | |
12370 | 実際にはディレクトリハンドルではありません。 | |
12371 | 制御フローをチェックしてください。 | |
12372 | ||
6550 | 12373 | =item readline() on closed filehandle %s |
6551 | 12374 | |
6552 | 12375 | =begin original |
6553 | 12376 | |
6554 | 12377 | (W closed) The filehandle you're reading from got itself closed sometime |
6555 | before now. Check your | |
12378 | before now. Check your control flow. | |
6556 | 12379 | |
6557 | 12380 | =end original |
6558 | 12381 | |
6559 | (W closed) 読み込 | |
12382 | (W closed) 読み込もうとしたファイルハンドルは、既に閉じられています。 | |
6560 | ||
12383 | 制御フローをチェックしてください。 | |
6561 | 12384 | |
6562 | =item | |
12385 | =item read() on closed filehandle %s | |
6563 | 12386 | |
6564 | 12387 | =begin original |
6565 | 12388 | |
12389 | (W closed) You tried to read from a closed filehandle. | |
12390 | ||
12391 | =end original | |
12392 | ||
12393 | (W closed) 閉じたファイルハンドルから読み込もうとしました。 | |
12394 | ||
12395 | =item read() on unopened filehandle %s | |
12396 | ||
12397 | =begin original | |
12398 | ||
12399 | (W unopened) You tried to read from a filehandle that was never opened. | |
12400 | ||
12401 | =end original | |
12402 | ||
12403 | (W unopened) 開いていないファイルハンドルから読み込もうとしました。 | |
12404 | ||
12405 | =item Reallocation too large: %x | |
12406 | ||
12407 | =begin original | |
12408 | ||
6566 | 12409 | (F) You can't allocate more than 64K on an MS-DOS machine. |
6567 | 12410 | |
6568 | 12411 | =end original |
6569 | 12412 | |
6570 | 12413 | (F) MS-DOS マシンでは、64K を越えるメモリを割り当てることはできません。 |
6571 | 12414 | |
6572 | 12415 | =item realloc() of freed memory ignored |
6573 | 12416 | |
6574 | 12417 | =begin original |
6575 | 12418 | |
6576 | 12419 | (S malloc) An internal routine called realloc() on something that had |
6577 | 12420 | already been freed. |
6578 | 12421 | |
6579 | 12422 | =end original |
6580 | 12423 | |
6581 | 12424 | 内部ルーチンが、何か既に解放されているものに対して realloc() を |
6582 | 12425 | 呼び出しました。 |
6583 | 12426 | |
6584 | 12427 | =item Recompile perl with B<-D>DEBUGGING to use B<-D> switch |
6585 | 12428 | |
6586 | 12429 | =begin original |
6587 | 12430 | |
6588 | ( | |
12431 | (S debugging) You can't use the B<-D> option unless the code to produce | |
6589 | 12432 | the desired output is compiled into Perl, which entails some overhead, |
6590 | 12433 | which is why it's currently left out of your copy. |
6591 | 12434 | |
6592 | 12435 | =end original |
6593 | 12436 | |
6594 | ( | |
12437 | (S debugging) Perl のコンパイル時に、適切な出力ルーティンが | |
6595 | 組み込まれていなければ、B<-D> スイッチを使うことはできません | |
12438 | 組み込まれていなければ、B<-D> スイッチを使うことはできません; | |
6596 | 12439 | これは、多少のオーバヘッドがかかるもので、それが現在使っている |
6597 | 12440 | Perl に組み込んでない理由でしょう。 |
6598 | 12441 | |
12442 | =item Recursive call to Perl_load_module in PerlIO_find_layer | |
12443 | ||
12444 | =begin original | |
12445 | ||
12446 | (P) It is currently not permitted to load modules when creating | |
12447 | a filehandle inside an %INC hook. This can happen with C<open my | |
12448 | $fh, '<', \$scalar>, which implicitly loads PerlIO::scalar. Try | |
12449 | loading PerlIO::scalar explicitly first. | |
12450 | ||
12451 | =end original | |
12452 | ||
12453 | (P) %INC フックの内側でファイルハンドルを作る時にモジュールを読み込むのは | |
12454 | 現在のところ許されていません。 | |
12455 | これは、C<open my $fh, '<', \$scalar> で暗黙に PerlIO::scalar を読み込むときに | |
12456 | 起こることがあります。 | |
12457 | 最初に PerlIO::scalar を明示的に読み込むことを試してください。 | |
12458 | ||
6599 | 12459 | =item Recursive inheritance detected in package '%s' |
6600 | 12460 | |
6601 | 12461 | =begin original |
6602 | 12462 | |
6603 | (F) | |
12463 | (F) While calculating the method resolution order (MRO) of a package, Perl | |
6604 | an | |
12464 | believes it found an infinite loop in the C<@ISA> hierarchy. This is a | |
12465 | crude check that bails out after 100 levels of C<@ISA> depth. | |
6605 | 12466 | |
6606 | 12467 | =end original |
6607 | 12468 | |
6608 | (F) | |
12469 | (F) パッケージのメソッド解決順序 (MRO) の計算中に、C<@ISA> 構造に | |
6609 | ||
12470 | 無限ループがあると判断しました。 | |
6610 | ||
12471 | これは、C<@ISA> を 100 階層探索した後に起きる荒いチェックです。 | |
6611 | 12472 | |
6612 | =item Re | |
12473 | =item Redundant argument in %s | |
6613 | 12474 | |
6614 | 12475 | =begin original |
6615 | 12476 | |
6616 | ( | |
12477 | (W redundant) You called a function with more arguments than other | |
6617 | a | |
12478 | arguments you supplied indicated would be needed. Currently only | |
6618 | hierar | |
12479 | emitted when a printf-type format required fewer arguments than were | |
12480 | supplied, but might be used in the future for e.g. L<perlfunc/pack>. | |
6619 | 12481 | |
6620 | 12482 | =end original |
6621 | 12483 | |
6622 | ( | |
12484 | (W redundant) 関数を呼び出すときに、ある引数が示している必要数より | |
6623 | ||
12485 | 多くの引数を指定しました。 | |
6624 | ||
12486 | 現在のところ、printf 型のフォーマットが指定されたものより少ない数の | |
12487 | 引数しか必要としていない場合にのみ発生しますが、将来は | |
12488 | 例えば L<perlfunc/pack> で使われるかもしれません。 | |
6625 | 12489 | |
12490 | =item refcnt_dec: fd %d%s | |
12491 | ||
12492 | =item refcnt: fd %d%s | |
12493 | ||
12494 | =item refcnt_inc: fd %d%s | |
12495 | ||
12496 | =begin original | |
12497 | ||
12498 | (P) Perl's I/O implementation failed an internal consistency check. If | |
12499 | you see this message, something is very wrong. | |
12500 | ||
12501 | =end original | |
12502 | ||
12503 | (P) Perl の I/O 実装は内部の一貫性チェックに失敗しました。 | |
12504 | このメッセージを見たなら、何かがすごく悪いです。 | |
12505 | ||
6626 | 12506 | =item Reference found where even-sized list expected |
6627 | 12507 | |
6628 | 12508 | =begin original |
6629 | 12509 | |
6630 | 12510 | (W misc) You gave a single reference where Perl was expecting a list |
6631 | with an even number of elements (for assignment to a hash). This | |
12511 | with an even number of elements (for assignment to a hash). This | |
6632 | means that you used the anon hash constructor when you meant | |
12512 | usually means that you used the anon hash constructor when you meant | |
6633 | parens. In any case, a hash requires key/value B<pairs>. | |
12513 | to use parens. In any case, a hash requires key/value B<pairs>. | |
6634 | 12514 | |
6635 | 12515 | =end original |
6636 | 12516 | |
6637 | 12517 | (W misc) Perl が(ハッシュへの代入のために)偶数の数の要素のリストを |
6638 | 想定しているところに | |
12518 | 想定しているところに 一つのリファレンスを渡しました。 | |
6639 | 12519 | これは普通かっこを使うべきところで無名ハッシュコンストラクタを使ったことを |
6640 | 12520 | 意味します。 |
6641 | 12521 | とにかく、ハッシュはキー/値の B<組> を要求します。 |
6642 | 12522 | |
6643 | 12523 | %hash = { one => 1, two => 2, }; # WRONG |
6644 | 12524 | %hash = [ qw/ an anon array / ]; # WRONG |
6645 | 12525 | %hash = ( one => 1, two => 2, ); # right |
6646 | 12526 | %hash = qw( one 1 two 2 ); # also fine |
6647 | 12527 | |
6648 | 12528 | =item Reference is already weak |
6649 | 12529 | |
6650 | 12530 | =begin original |
6651 | 12531 | |
6652 | 12532 | (W misc) You have attempted to weaken a reference that is already weak. |
6653 | 12533 | Doing so has no effect. |
6654 | 12534 | |
6655 | 12535 | =end original |
6656 | 12536 | |
6657 | 12537 | (W misc) 既に弱いリファレンスを弱めようとしました。 |
6658 | 12538 | そうしても何の効果もありません。 |
6659 | 12539 | |
6660 | =item Reference | |
12540 | =item Reference is not weak | |
6661 | 12541 | |
6662 | 12542 | =begin original |
6663 | 12543 | |
6664 | (W i | |
12544 | (W misc) You have attempted to unweaken a reference that is not weak. | |
6665 | ||
12545 | Doing so has no effect. | |
6666 | 12546 | |
6667 | 12547 | =end original |
6668 | 12548 | |
6669 | (W i | |
12549 | (W misc) 現在弱くないリファレンスを弱くないリファレンスにしようとしました。 | |
6670 | ||
12550 | そうしても何の効果もありません。 | |
6671 | 12551 | |
6672 | =item Reference to | |
12552 | =item Reference to invalid group 0 in regex; marked by S<<-- HERE> in m/%s/ | |
6673 | 12553 | |
6674 | 12554 | =begin original |
6675 | 12555 | |
12556 | (F) You used C<\g0> or similar in a regular expression. You may refer | |
12557 | to capturing parentheses only with strictly positive integers | |
12558 | (normal backreferences) or with strictly negative integers (relative | |
12559 | backreferences). Using 0 does not make sense. | |
12560 | ||
12561 | =end original | |
12562 | ||
12563 | (F) 正規表現で C<\g0> のようなものを使いました。 | |
12564 | 捕捉用のかっこへの参照は、正数(通常の後方参照)か、負数(相対後方参照) | |
12565 | のみです。 | |
12566 | 0 は意味を成しません。 | |
12567 | ||
12568 | =item Reference to nonexistent group in regex; marked by S<<-- HERE> in | |
12569 | m/%s/ | |
12570 | ||
12571 | =begin original | |
12572 | ||
6676 | 12573 | (F) You used something like C<\7> in your regular expression, but there are |
6677 | not at least seven sets of capturing parentheses in the expression. If | |
12574 | not at least seven sets of capturing parentheses in the expression. If | |
6678 | wanted to have the character with | |
12575 | you wanted to have the character with ordinal 7 inserted into the regular | |
6679 | prepend | |
12576 | expression, prepend zeroes to make it three digits long: C<\007> | |
6680 | 12577 | |
6681 | 12578 | =end original |
6682 | 12579 | |
6683 | 12580 | 正規表現の中で C<\7> のような記述がありますが、 |
6684 | 正規表現の中に値を捕らえる | |
12581 | 正規表現の中に値を捕らえるかっこが 7 つありません。 | |
6685 | 12582 | 正規表現の中に値 7 を持つ文字を挿入したい場合、 |
6686 | ゼロをつけて最低 | |
12583 | ゼロをつけて最低 3 桁の数値にする必要があります: C<\007> | |
6687 | 12584 | |
6688 | 12585 | =begin original |
6689 | 12586 | |
6690 | The << HERE shows in the regular expression | |
12587 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
6691 | 12588 | discovered. |
6692 | 12589 | |
6693 | 12590 | =end original |
6694 | 12591 | |
6695 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
12592 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
6696 | 12593 | |
12594 | =item Reference to nonexistent named group in regex; marked by S<<-- HERE> | |
12595 | in m/%s/ | |
12596 | ||
12597 | =begin original | |
12598 | ||
12599 | (F) You used something like C<\k'NAME'> or C<< \k<NAME> >> in your regular | |
12600 | expression, but there is no corresponding named capturing parentheses | |
12601 | such as C<(?'NAME'...)> or C<< (?<NAME>...) >>. Check if the name has been | |
12602 | spelled correctly both in the backreference and the declaration. | |
12603 | ||
12604 | =end original | |
12605 | ||
12606 | (F) 正規表現中に C<\k'NAME'> や C<< \k<NAME> >> のようなものを使いましたが、 | |
12607 | C<(?'NAME'...)> や C<< (?<NAME>...) >> のような、対応する名前付き捕捉かっこが | |
12608 | ありません。 | |
12609 | 前方参照と定義の両方において、名前のスペルが正しいかどうか | |
12610 | チェックしてください。 | |
12611 | ||
12612 | =begin original | |
12613 | ||
12614 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
12615 | discovered. | |
12616 | ||
12617 | =end original | |
12618 | ||
12619 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
12620 | ||
12621 | =item Reference to nonexistent or unclosed group in regex; marked by | |
12622 | S<<-- HERE> in m/%s/ | |
12623 | ||
12624 | =begin original | |
12625 | ||
12626 | (F) You used something like C<\g{-7}> in your regular expression, but there | |
12627 | are not at least seven sets of closed capturing parentheses in the | |
12628 | expression before where the C<\g{-7}> was located. | |
12629 | ||
12630 | =end original | |
12631 | ||
12632 | (F) 正規表現で C<\g{-7}> のようなものを使いましたが、式中で C<\g{-7}> の | |
12633 | 位置より前に少なくとも 7 組の捕捉用のかっこの組がありません。 | |
12634 | ||
12635 | =begin original | |
12636 | ||
12637 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
12638 | discovered. | |
12639 | ||
12640 | =end original | |
12641 | ||
12642 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
12643 | ||
6697 | 12644 | =item regexp memory corruption |
6698 | 12645 | |
6699 | 12646 | =begin original |
6700 | 12647 | |
6701 | 12648 | (P) The regular expression engine got confused by what the regular |
6702 | 12649 | expression compiler gave it. |
6703 | 12650 | |
6704 | 12651 | =end original |
6705 | 12652 | |
6706 | 12653 | (P) 正規表現コンパイラが渡したもので、正規表現エンジンが |
6707 | 12654 | 処理できなくなりました。 |
6708 | 12655 | |
6709 | =item Regexp ou | |
12656 | =item Regexp modifier "/%c" may appear a maximum of twice | |
6710 | 12657 | |
12658 | =item Regexp modifier "%c" may appear a maximum of twice in regex; marked | |
12659 | by S<<-- HERE> in m/%s/ | |
12660 | ||
6711 | 12661 | =begin original |
6712 | 12662 | |
12663 | (F) The regular expression pattern had too many occurrences | |
12664 | of the specified modifier. Remove the extraneous ones. | |
12665 | ||
12666 | =end original | |
12667 | ||
12668 | (F) 正規表現パターンに指定された修飾子が多すぎます。 | |
12669 | 余分なものを削除してください。 | |
12670 | ||
12671 | =item Regexp modifier "%c" may not appear after the "-" in regex; marked by <-- | |
12672 | HERE in m/%s/ | |
12673 | ||
12674 | =begin original | |
12675 | ||
12676 | (F) Turning off the given modifier has the side effect of turning on | |
12677 | another one. Perl currently doesn't allow this. Reword the regular | |
12678 | expression to use the modifier you want to turn on (and place it before | |
12679 | the minus), instead of the one you want to turn off. | |
12680 | ||
12681 | =end original | |
12682 | ||
12683 | (F regexp) 指定された修飾子をオフにするのは他の修飾子をオンにするという | |
12684 | 副作用があります。 | |
12685 | Perl は現在のところこれを受け入れません。 | |
12686 | オフにしたいものではなく、オンにしたい修飾子を使う(そしてマイナスの | |
12687 | 前に置く)ように正規表現を書き直してください。 | |
12688 | ||
12689 | =item Regexp modifier "/%c" may not appear twice | |
12690 | ||
12691 | =item Regexp modifier "%c" may not appear twice in regex; marked by <-- | |
12692 | HERE in m/%s/ | |
12693 | ||
12694 | =begin original | |
12695 | ||
12696 | (F) The regular expression pattern had too many occurrences | |
12697 | of the specified modifier. Remove the extraneous ones. | |
12698 | ||
12699 | =end original | |
12700 | ||
12701 | (F) 正規表現パターンに指定された修飾子が多すぎます。 | |
12702 | 余分なものを削除してください。 | |
12703 | ||
12704 | =item Regexp modifiers "/%c" and "/%c" are mutually exclusive | |
12705 | ||
12706 | =item Regexp modifiers "%c" and "%c" are mutually exclusive in regex; | |
12707 | marked by S<<-- HERE> in m/%s/ | |
12708 | ||
12709 | =begin original | |
12710 | ||
12711 | (F) The regular expression pattern had more than one of these | |
12712 | mutually exclusive modifiers. Retain only the modifier that is | |
12713 | supposed to be there. | |
12714 | ||
12715 | =end original | |
12716 | ||
12717 | (F) 正規表現パターンに相互に排他的な修飾子が複数あります。 | |
12718 | ここで使うであろう修飾子のみを保持します。 | |
12719 | ||
12720 | =item Regexp out of space in regex m/%s/ | |
12721 | ||
12722 | =begin original | |
12723 | ||
6713 | 12724 | (P) A "can't happen" error, because safemalloc() should have caught it |
6714 | 12725 | earlier. |
6715 | 12726 | |
6716 | 12727 | =end original |
6717 | 12728 | |
6718 | (P) safemalloc() が見つけるはずなので、「起こるはずのないエラー | |
12729 | (P) safemalloc() が見つけるはずなので、「起こるはずのない」エラーです。 | |
6719 | 12730 | |
6720 | =item Repeat | |
12731 | =item Repeated format line will never terminate (~~ and @#) | |
6721 | 12732 | |
6722 | 12733 | =begin original |
6723 | 12734 | |
6724 | (F) You | |
12735 | (F) Your format contains the ~~ repeat-until-blank sequence and a | |
6725 | ||
12736 | numeric field that will never go blank so that the repetition never | |
12737 | terminates. You might use ^# instead. See L<perlform>. | |
6726 | 12738 | |
6727 | 12739 | =end original |
6728 | 12740 | |
6729 | (F) 繰り返し | |
12741 | (F) フォーマットに ~~ (空白まで繰り返し)シーケンスと決して空白にならない | |
6730 | ||
12742 | スウチフィールドが含まれているので、無限ループになります。 | |
6731 | ||
12743 | 代わりに ^# を使うべきでしょう。 | |
12744 | L<perlform> を参照してください。 | |
6732 | 12745 | |
6733 | =item Rep | |
12746 | =item Replacement list is longer than search list | |
6734 | 12747 | |
6735 | 12748 | =begin original |
6736 | 12749 | |
6737 | ( | |
12750 | (W misc) You have used a replacement list that is longer than the | |
6738 | s | |
12751 | search list. So the additional elements in the replacement list | |
12752 | are meaningless. | |
6739 | 12753 | |
6740 | 12754 | =end original |
6741 | 12755 | |
6742 | ( | |
12756 | (W misc) 検索リストよりも長い置換リストを使いました。 | |
6743 | ||
12757 | 長い分の置換リストは無意味です。 | |
6744 | L<perlfunc/unpack> を参照してください。 | |
6745 | 12758 | |
12759 | =item '(*%s' requires a terminating ':' in regex; marked by <-- HERE in m/%s/ | |
12760 | ||
12761 | =begin original | |
12762 | ||
12763 | (F) You used a construct that needs a colon and pattern argument. | |
12764 | Supply these or check that you are using the right construct. | |
12765 | ||
12766 | =end original | |
12767 | ||
12768 | (F) コロンとパターン引数を必要とする構文を使いました。 | |
12769 | これらを補うか、正しい構文を使っているか確認してください。 | |
12770 | ||
12771 | =item '%s' resolved to '\o{%s}%d' | |
12772 | ||
12773 | =begin original | |
12774 | ||
12775 | (W misc, regexp) You wrote something like C<\08>, or C<\179> in a | |
12776 | double-quotish string. All but the last digit is treated as a single | |
12777 | character, specified in octal. The last digit is the next character in | |
12778 | the string. To tell Perl that this is indeed what you want, you can use | |
12779 | the C<\o{ }> syntax, or use exactly three digits to specify the octal | |
12780 | for the character. | |
12781 | ||
12782 | =end original | |
12783 | ||
12784 | (W misc, regexp) ダブルクォート風の文字列の中で C<\08> や C<\179> のような | |
12785 | ものを書きました。 | |
12786 | 最後以外の数字は、8 進数で指定された単一の文字として扱われます。 | |
12787 | 最後の数字は文字列中の次の文字です。 | |
12788 | これがまさしく望んでいるものであることを Perl に伝えるには、 | |
12789 | C<\o{ }> 構文を使うか、文字を 8 進数で指定するために正確に 3 桁を | |
12790 | 使ってください。 | |
12791 | ||
6746 | 12792 | =item Reversed %s= operator |
6747 | 12793 | |
6748 | 12794 | =begin original |
6749 | 12795 | |
6750 | 12796 | (W syntax) You wrote your assignment operator backwards. The = must |
6751 | always come | |
12797 | always come last, to avoid ambiguity with subsequent unary operators. | |
6752 | 12798 | |
6753 | 12799 | =end original |
6754 | 12800 | |
6755 | 12801 | (W syntax) 代入演算子を逆順に書いています。 |
6756 | 12802 | 等号の後に単項演算子が続くときに、曖昧になるのを避けるため、 |
6757 | 12803 | 代入演算子では、等号 = が、最後にこないといけません。 |
6758 | 12804 | |
6759 | =item | |
12805 | =item rewinddir() attempted on invalid dirhandle %s | |
6760 | 12806 | |
6761 | 12807 | =begin original |
6762 | 12808 | |
6763 | ( | |
12809 | (W io) The dirhandle you tried to do a rewinddir() on is either closed | |
6764 | ||
12810 | or not really a dirhandle. Check your control flow. | |
6765 | 199th line. Apparently you didn't arrange for the arguments to exhaust | |
6766 | themselves, either by using ^ instead of @ (for scalar variables), or by | |
6767 | shifting or popping (for array variables). See L<perlform>. | |
6768 | 12811 | |
6769 | 12812 | =end original |
6770 | 12813 | |
6771 | ( | |
12814 | (W io) rewinddir() しようとしたディレクトリハンドルは既に閉じられているか、 | |
6772 | ||
12815 | 実際にはディレクトリハンドルではありません。 | |
6773 | ||
12816 | 制御フローをチェックしてください。 | |
6774 | (スカラ変数には) @ の代わりに ^ を用いるか、(配列変数には) shift か pop を | |
6775 | 行なうかして、引数が自動的になくなるようになっていないといけませんが、 | |
6776 | そうなっていないようです。 | |
6777 | L<perlform> を参照してください。 | |
6778 | 12817 | |
12818 | =item Scalars leaked: %d | |
12819 | ||
12820 | =begin original | |
12821 | ||
12822 | (S internal) Something went wrong in Perl's internal bookkeeping | |
12823 | of scalars: not all scalar variables were deallocated by the time | |
12824 | Perl exited. What this usually indicates is a memory leak, which | |
12825 | is of course bad, especially if the Perl program is intended to be | |
12826 | long-running. | |
12827 | ||
12828 | =end original | |
12829 | ||
12830 | (P) Perl 内部のスカラ管理で何かがおかしくなりました: | |
12831 | Perl 終了時に全てのスカラ変数が解放されませんでした。 | |
12832 | これは普通メモリリークを示していて、これはもちろん悪いことですが、 | |
12833 | Perl プログラムが長い間動作する場合には特にそうです。 | |
12834 | ||
6779 | 12835 | =item Scalar value @%s[%s] better written as $%s[%s] |
6780 | 12836 | |
6781 | 12837 | =begin original |
6782 | 12838 | |
6783 | 12839 | (W syntax) You've used an array slice (indicated by @) to select a |
6784 | 12840 | single element of an array. Generally it's better to ask for a scalar |
6785 | 12841 | value (indicated by $). The difference is that C<$foo[&bar]> always |
6786 | 12842 | behaves like a scalar, both when assigning to it and when evaluating its |
6787 | 12843 | argument, while C<@foo[&bar]> behaves like a list when you assign to it, |
6788 | 12844 | and provides a list context to its subscript, which can do weird things |
6789 | 12845 | if you're expecting only one subscript. |
6790 | 12846 | |
6791 | 12847 | =end original |
6792 | 12848 | |
6793 | 12849 | (W syntax) 配列の一つの要素を選ぶのに、(@ で示される) 配列 |
6794 | 12850 | スライスを用いました。 |
6795 | 12851 | 一般には、($ で示される) スカラ値を使った方が良いと思われます。 |
6796 | 12852 | 違いは、C<$foo[&bar]> とした場合、代入の対象としたときにも、 |
6797 | 12853 | 添字を評価するときにも、常にスカラとして振る舞うのに対し、 |
6798 | 12854 | C<@foo[&bar]> の場合には、代入の対象としてもリストとして振る舞い、 |
6799 | 添字にもリストコンテキストを与えることになります | |
12855 | 添字にもリストコンテキストを与えることになります; | |
6800 | これは、 | |
12856 | これは、一つの添字だけを期待するときには、おかしなこととなるでしょう。 | |
6801 | 12857 | |
6802 | 12858 | =begin original |
6803 | 12859 | |
6804 | 12860 | On the other hand, if you were actually hoping to treat the array |
6805 | 12861 | element as a list, you need to look into how references work, because |
6806 | 12862 | Perl will not magically convert between scalars and lists for you. See |
6807 | 12863 | L<perlref>. |
6808 | 12864 | |
6809 | 12865 | =end original |
6810 | 12866 | |
6811 | 12867 | 一方、もし本当に配列要素をリストとして扱いたい場合、リファレンスが |
6812 | 12868 | どのように働くかについて詳しく知る必要があります; なぜなら |
6813 | 12869 | Perl はスカラとリストを自動的に変換したりはしないからです。 |
6814 | 12870 | L<perlref> を参照してください。 |
6815 | 12871 | |
6816 | 12872 | =item Scalar value @%s{%s} better written as $%s{%s} |
6817 | 12873 | |
6818 | 12874 | =begin original |
6819 | 12875 | |
6820 | 12876 | (W syntax) You've used a hash slice (indicated by @) to select a single |
6821 | 12877 | element of a hash. Generally it's better to ask for a scalar value |
6822 | 12878 | (indicated by $). The difference is that C<$foo{&bar}> always behaves |
6823 | 12879 | like a scalar, both when assigning to it and when evaluating its |
6824 | 12880 | argument, while C<@foo{&bar}> behaves like a list when you assign to it, |
6825 | 12881 | and provides a list context to its subscript, which can do weird things |
6826 | 12882 | if you're expecting only one subscript. |
6827 | 12883 | |
6828 | 12884 | =end original |
6829 | 12885 | |
6830 | 12886 | (W syntax) ハッシュの一つの要素を選ぶのに、(@ で示される) ハッシュ |
6831 | 12887 | スライスを用いました。 |
6832 | 12888 | 一般には、($ で示される) スカラ値を使った方が良いと思われます。 |
6833 | 12889 | 違いは、C<$foo{&bar}> とした場合、代入の対象としたときにも、 |
6834 | 12890 | 添字を評価するときにも、常にスカラとして振る舞うのに対し、 |
6835 | 12891 | C<@foo{&bar}> の場合には、代入の対象としてもリストとして振る舞い、 |
6836 | 添字にもリストコンテキストを与えることになります | |
12892 | 添字にもリストコンテキストを与えることになります; | |
6837 | これは、 | |
12893 | これは、一つの添字だけを期待するときには、おかしなこととなるでしょう。 | |
6838 | 12894 | |
6839 | 12895 | =begin original |
6840 | 12896 | |
6841 | 12897 | On the other hand, if you were actually hoping to treat the hash element |
6842 | 12898 | as a list, you need to look into how references work, because Perl will |
6843 | 12899 | not magically convert between scalars and lists for you. See |
6844 | 12900 | L<perlref>. |
6845 | 12901 | |
6846 | 12902 | =end original |
6847 | 12903 | |
6848 | 12904 | 一方、もし本当にハッシュ要素をリストとして扱いたい場合、リファレンスが |
6849 | 12905 | どのように働くかについて詳しく知る必要があります; なぜなら |
6850 | 12906 | Perl はスカラとリストを自動的に変換したりはしないからです。 |
6851 | 12907 | L<perlref> を参照してください。 |
6852 | 12908 | |
6853 | =item Sca | |
12909 | =item Search pattern not terminated | |
6854 | 12910 | |
6855 | 12911 | =begin original |
6856 | 12912 | |
6857 | ( | |
12913 | (F) The lexer couldn't find the final delimiter of a // or m{} | |
6858 | ||
12914 | construct. Remember that bracketing delimiters count nesting level. | |
6859 | ||
12915 | Missing the leading C<$> from a variable C<$m> may cause this error. | |
6860 | especially if the Perl program is intended to be long-running. | |
6861 | 12916 | |
6862 | 12917 | =end original |
6863 | 12918 | |
6864 | ( | |
12919 | (F) // もしくは m{} 構文の最後の区切り文字が見つかりませんでした。 | |
6865 | ||
12920 | かっこ類の区切り文字では、ネストを数えることを忘れないでください。 | |
6866 | ||
12921 | C<$m> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 | |
6867 | Perl プログラムが長い間動作する場合には特にそうです。 | |
6868 | 12922 | |
6869 | =item Script is not setuid/setgid in suidperl | |
6870 | ||
6871 | 12923 | =begin original |
6872 | 12924 | |
6873 | ||
12925 | Note that since Perl 5.10.0 a // can also be the I<defined-or> | |
6874 | or s | |
12926 | construct, not just the empty search pattern. Therefore code written | |
12927 | in Perl 5.10.0 or later that uses the // as the I<defined-or> can be | |
12928 | misparsed by pre-5.10.0 Perls as a non-terminated search pattern. | |
6875 | 12929 | |
6876 | 12930 | =end original |
6877 | 12931 | |
6878 | ||
12932 | Perl 5.10.0 から、// は I<defined-or> 構文として扱われ、単なる | |
6879 | ||
12933 | 空検索パターンではありません。 | |
6880 | ||
12934 | 従って、Perl 5.10.0 以降で書かれた、// を I<defined-or> として使っている | |
12935 | コードは、5.10.0 以前の Perl では、終端していない検索パターンとして | |
12936 | 誤パースされるかもしれません。 | |
6881 | 12937 | |
6882 | =item | |
12938 | =item seekdir() attempted on invalid dirhandle %s | |
6883 | 12939 | |
6884 | 12940 | =begin original |
6885 | 12941 | |
6886 | ( | |
12942 | (W io) The dirhandle you are doing a seekdir() on is either closed or not | |
6887 | ||
12943 | really a dirhandle. Check your control flow. | |
6888 | Missing the leading C<$> from a variable C<$m> may cause this error. | |
6889 | 12944 | |
6890 | 12945 | =end original |
6891 | 12946 | |
6892 | ( | |
12947 | (W io) seekdir() しようとしたディレクトリハンドルは閉じられているか、 | |
6893 | ||
12948 | 実際にはディレクトリハンドルではありません。 | |
6894 | ||
12949 | 制御フローをチェックしてください。 | |
6895 | 12950 | |
6896 | 12951 | =item %sseek() on unopened filehandle |
6897 | 12952 | |
6898 | 12953 | =begin original |
6899 | 12954 | |
6900 | 12955 | (W unopened) You tried to use the seek() or sysseek() function on a |
6901 | 12956 | filehandle that was either never opened or has since been closed. |
6902 | 12957 | |
6903 | 12958 | =end original |
6904 | 12959 | |
6905 | 12960 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
6906 | 12961 | ファイルハンドルに対して、seek() 関数や sysseek() 関数を使おうとしました。 |
6907 | 12962 | |
6908 | 12963 | =item select not implemented |
6909 | 12964 | |
6910 | 12965 | =begin original |
6911 | 12966 | |
6912 | 12967 | (F) This machine doesn't implement the select() system call. |
6913 | 12968 | |
6914 | 12969 | =end original |
6915 | 12970 | |
6916 | 12971 | (F) このマシンでは、select() システムコールは実装されていません。 |
6917 | 12972 | |
12973 | =item Self-ties of arrays and hashes are not supported | |
12974 | ||
12975 | =begin original | |
12976 | ||
12977 | (F) Self-ties are of arrays and hashes are not supported in | |
12978 | the current implementation. | |
12979 | ||
12980 | =end original | |
12981 | ||
12982 | (F) 配列やハッシュの自己 tie は現在の実装では対応していません。 | |
12983 | ||
6918 | 12984 | =item Semicolon seems to be missing |
6919 | 12985 | |
6920 | 12986 | =begin original |
6921 | 12987 | |
6922 | 12988 | (W semicolon) A nearby syntax error was probably caused by a missing |
6923 | 12989 | semicolon, or possibly some other missing operator, such as a comma. |
6924 | 12990 | |
6925 | 12991 | =end original |
6926 | 12992 | |
6927 | 12993 | (W semicolon) この付近の構文エラーは、おそらくセミコロンか、コンマなどの |
6928 | 12994 | 演算子がなかったために起こったものと考えられます。 |
6929 | 12995 | |
6930 | 12996 | =item semi-panic: attempt to dup freed string |
6931 | 12997 | |
6932 | 12998 | =begin original |
6933 | 12999 | |
6934 | 13000 | (S internal) The internal newSVsv() routine was called to duplicate a |
6935 | 13001 | scalar that had previously been marked as free. |
6936 | 13002 | |
6937 | 13003 | =end original |
6938 | 13004 | |
6939 | 13005 | (S internal) 既に解放と印を付けたスカラを複製するために、内部の |
6940 | 13006 | newSVsv() ルーティンが呼ばれました。 |
6941 | 13007 | |
6942 | 13008 | =item sem%s not implemented |
6943 | 13009 | |
6944 | 13010 | =begin original |
6945 | 13011 | |
6946 | 13012 | (F) You don't have System V semaphore IPC on your system. |
6947 | 13013 | |
6948 | 13014 | =end original |
6949 | 13015 | |
6950 | 13016 | (F) このシステムでは、System V セマフォ IPC は使えません。 |
6951 | 13017 | |
6952 | 13018 | =item send() on closed socket %s |
6953 | 13019 | |
6954 | 13020 | =begin original |
6955 | 13021 | |
6956 | 13022 | (W closed) The socket you're sending to got itself closed sometime |
6957 | before now. Check your | |
13023 | before now. Check your control flow. | |
6958 | 13024 | |
6959 | 13025 | =end original |
6960 | 13026 | |
6961 | (W closed) 送信を行なおうとしたソケットは、既に | |
13027 | (W closed) 送信を行なおうとしたソケットは、既に閉じられています。 | |
6962 | ||
13028 | 制御フローをチェックしてください。 | |
6963 | 13029 | |
6964 | =item Sequence | |
13030 | =item Sequence "\c{" invalid | |
6965 | 13031 | |
6966 | 13032 | =begin original |
6967 | 13033 | |
6968 | (F) | |
13034 | (F) These three characters may not appear in sequence in a | |
6969 | ||
13035 | double-quotish context. This message is raised only on non-ASCII | |
6970 | ||
13036 | platforms (a different error message is output on ASCII ones). If you | |
13037 | were intending to specify a control character with this sequence, you'll | |
13038 | have to use a different way to specify it. | |
6971 | 13039 | |
6972 | 13040 | =end original |
6973 | 13041 | |
6974 | (F) | |
13042 | (F) これら三つの文字の並びはダブルクォート風のコンテキストでは | |
6975 | ||
13043 | 使えません。 | |
6976 | ||
13044 | このメッセージは非 ASCII プラットフォームでのみ発生します | |
13045 | (ASCII では異なったえらメッセージが出力されます)。 | |
13046 | この並びの制御文字を指定することを意図している場合は、指定するために | |
13047 | 異なる方法を使う必要があります。 | |
6977 | 13048 | |
6978 | =item Sequence (? | |
13049 | =item Sequence (? incomplete in regex; marked by S<<-- HERE> in m/%s/ | |
6979 | 13050 | |
6980 | 13051 | =begin original |
6981 | 13052 | |
6982 | (F) | |
13053 | (F) A regular expression ended with an incomplete extension (?. The | |
6983 | ||
13054 | S<<-- HERE> shows whereabouts in the regular expression the problem was | |
13055 | discovered. See L<perlre>. | |
6984 | 13056 | |
6985 | 13057 | =end original |
6986 | 13058 | |
6987 | (F) (? | |
13059 | (F) 正規表現が不完全な拡張 (? で終わっています。 | |
6988 | ||
13060 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
6989 | 13061 | L<perlre> を参照してください。 |
6990 | 13062 | |
6991 | =item Sequence (?% | |
13063 | =item Sequence (?%c...) not implemented in regex; marked by S<<-- HERE> in | |
13064 | m/%s/ | |
6992 | 13065 | |
6993 | 13066 | =begin original |
6994 | 13067 | |
6995 | (F) A proposed regular expression extension has the character reserved | |
13068 | (F) A proposed regular expression extension has the character reserved | |
6996 | has not yet been written. The << HERE shows | |
13069 | but has not yet been written. The S<<-- HERE> shows whereabouts in the | |
6997 | ||
13070 | regular expression the problem was discovered. See L<perlre>. | |
6998 | 13071 | |
6999 | 13072 | =end original |
7000 | 13073 | |
7001 | 13074 | (F) 使おうとした正規表現の拡張は、予約された文字ですが、 |
7002 | 13075 | まだ実装されていません。 |
7003 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
13076 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
7004 | 13077 | L<perlre> を参照してください。 |
7005 | 13078 | |
7006 | =item Sequence (?%s...) not recognized | |
13079 | =item Sequence (?%s...) not recognized in regex; marked by S<<-- HERE> in | |
13080 | m/%s/ | |
7007 | 13081 | |
7008 | 13082 | =begin original |
7009 | 13083 | |
7010 | 13084 | (F) You used a regular expression extension that doesn't make sense. |
7011 | The << HERE shows in the regular expression | |
13085 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
7012 | ||
13086 | discovered. This may happen when using the C<(?^...)> construct to tell | |
7013 | ||
13087 | Perl to use the default regular expression modifiers, and you | |
13088 | redundantly specify a default modifier. For other | |
13089 | causes, see L<perlre>. | |
7014 | 13090 | |
7015 | 13091 | =end original |
7016 | 13092 | |
7017 | 13093 | (F) お使いになった正規表現の拡張は、意味をなしません。 |
7018 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
13094 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
7019 | ||
13095 | これは、 Perl にデフォルトの正規表現修飾子を使うように知らせるために | |
13096 | C<(?^...)> 構文を使ったときや、デフォルトの演算子を冗長に指定しています。 | |
13097 | その他の理由については、L<perlre> を参照してください。 | |
7020 | 13098 | |
7021 | 13099 | =item Sequence (?#... not terminated in regex m/%s/ |
7022 | 13100 | |
7023 | 13101 | =begin original |
7024 | 13102 | |
7025 | 13103 | (F) A regular expression comment must be terminated by a closing |
7026 | parenthesis. Embedded parentheses aren't allowed. See | |
13104 | parenthesis. Embedded parentheses aren't allowed. See | |
13105 | L<perlre>. | |
7027 | 13106 | |
7028 | 13107 | =end original |
7029 | 13108 | |
7030 | (F) 正規表現コメントは | |
13109 | (F) 正規表現のコメントは閉じかっこで終わらなければなりません。 | |
7031 | ||
13110 | 組み込みのかっこは許可されません。 | |
7032 | 13111 | L<perlre> を参照してください。 |
7033 | 13112 | |
7034 | =item | |
13113 | =item Sequence (?&... not terminated in regex; marked by S<<-- HERE> in | |
13114 | m/%s/ | |
7035 | 13115 | |
7036 | 13116 | =begin original |
7037 | 13117 | |
7038 | ||
13118 | (F) A named reference of the form C<(?&...)> was missing the final | |
13119 | closing parenthesis after the name. The S<<-- HERE> shows whereabouts | |
13120 | in the regular expression the problem was discovered. | |
7039 | 13121 | |
7040 | 13122 | =end original |
7041 | 13123 | |
7042 | ||
13124 | (F) C<(?&...)> の形式の名前付きリファレンスで、名前の後の最後の閉じかっこが | |
13125 | ありません。 | |
13126 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
7043 | 13127 | |
7044 | =item Se | |
13128 | =item Sequence (?%c... not terminated in regex; marked by S<<-- HERE> | |
13129 | in m/%s/ | |
7045 | 13130 | |
7046 | 13131 | =begin original |
7047 | 13132 | |
7048 | ||
13133 | (F) A named group of the form C<(?'...')> or C<< (?<...>) >> was missing the final | |
7049 | ||
13134 | closing quote or angle bracket. The S<<-- HERE> shows whereabouts in the | |
7050 | ||
13135 | regular expression the problem was discovered. | |
7051 | are "500 Server error", "Method (something) not permitted", "Document | |
7052 | contains no data", "Premature end of script headers", and "Did not | |
7053 | produce a valid header". | |
7054 | 13136 | |
7055 | 13137 | =end original |
7056 | 13138 | |
7057 | ||
13139 | (F) C<(?'...')> または C<< (?<...>) >> の形式の名前付きグループで、名前の後の | |
13140 | 最後の閉じクォートまたは山かっこがありません。 | |
13141 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
13142 | ||
13143 | =item Sequence (?(%c... not terminated in regex; marked by S<<-- HERE> | |
13144 | in m/%s/ | |
13145 | ||
13146 | =begin original | |
13147 | ||
13148 | (F) A named reference of the form C<(?('...')...)> or C<< (?(<...>)...) >> was | |
13149 | missing the final closing quote or angle bracket after the name. The | |
13150 | S<<-- HERE> shows whereabouts in the regular expression the problem was | |
13151 | discovered. | |
13152 | ||
13153 | =end original | |
13154 | ||
13155 | (F) C<(?('...')...)> または C<< (?(<...>)...) >> の形式の名前付き | |
13156 | リファレンスで、名前の後の最後の閉じクォートまたは山かっこがありません。 | |
13157 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
13158 | ||
13159 | =item Sequence (?... not terminated in regex; marked by S<<-- HERE> in | |
13160 | m/%s/ | |
13161 | ||
13162 | =begin original | |
13163 | ||
13164 | (F) There was no matching closing parenthesis for the '('. The | |
13165 | S<<-- HERE> shows whereabouts in the regular expression the problem was | |
13166 | discovered. | |
13167 | ||
13168 | =end original | |
13169 | ||
13170 | (F) '(' に対応する閉じかっこがありません。 | |
13171 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
13172 | ||
13173 | =item Sequence \%s... not terminated in regex; marked by S<<-- HERE> in | |
13174 | m/%s/ | |
13175 | ||
13176 | =begin original | |
13177 | ||
13178 | (F) The regular expression expects a mandatory argument following the escape | |
13179 | sequence and this has been omitted or incorrectly written. | |
13180 | ||
13181 | =end original | |
13182 | ||
13183 | (F) 正規表現でエスケープシーケンスの後に必須の引き数を想定しましたが、 | |
13184 | それが省略されているか適切に書かれていません。 | |
13185 | ||
13186 | =item Sequence (?{...}) not terminated with ')' | |
13187 | ||
13188 | =begin original | |
13189 | ||
13190 | (F) The end of the perl code contained within the {...} must be | |
13191 | followed immediately by a ')'. | |
13192 | ||
13193 | =end original | |
13194 | ||
13195 | (F) {} の中に含まれている perl コードの末尾は直後に ')' が | |
13196 | 引き続かなければなりません。 | |
13197 | ||
13198 | =item Sequence (?PE<gt>... not terminated in regex; marked by S<<-- HERE> in m/%s/ | |
13199 | ||
13200 | =begin original | |
13201 | ||
13202 | (F) A named reference of the form C<(?PE<gt>...)> was missing the final | |
13203 | closing parenthesis after the name. The S<<-- HERE> shows whereabouts | |
13204 | in the regular expression the problem was discovered. | |
13205 | ||
13206 | =end original | |
13207 | ||
13208 | (F) C<(?PE<gt>...)> 形式の名前付き参照で、名前の後の最後の閉じかっこが | |
13209 | ありません。 | |
13210 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
13211 | ||
13212 | =item Sequence (?PE<lt>... not terminated in regex; marked by S<<-- HERE> in m/%s/ | |
13213 | ||
13214 | =begin original | |
13215 | ||
13216 | (F) A named group of the form C<(?PE<lt>...E<gt>')> was missing the final | |
13217 | closing angle bracket. The S<<-- HERE> shows whereabouts in the | |
13218 | regular expression the problem was discovered. | |
13219 | ||
13220 | =end original | |
13221 | ||
13222 | (F) C<(?PE<lt>...E<gt>')> 形式の名前付きグループで、 | |
13223 | 最後の閉じ山かっこがありません。 | |
13224 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
13225 | ||
13226 | =item Sequence ?P=... not terminated in regex; marked by S<<-- HERE> in | |
13227 | m/%s/ | |
13228 | ||
13229 | =begin original | |
13230 | ||
13231 | (F) A named reference of the form C<(?P=...)> was missing the final | |
13232 | closing parenthesis after the name. The S<<-- HERE> shows whereabouts | |
13233 | in the regular expression the problem was discovered. | |
13234 | ||
13235 | =end original | |
13236 | ||
13237 | (F) C<(?P=...)> の形式の名前付きリファレンスで、名前の後の最後の | |
13238 | 閉じかっこがありません。 | |
13239 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
13240 | ||
13241 | =item Sequence (?R) not terminated in regex m/%s/ | |
13242 | ||
13243 | =begin original | |
13244 | ||
13245 | (F) An C<(?R)> or C<(?0)> sequence in a regular expression was missing the | |
13246 | final parenthesis. | |
13247 | ||
13248 | =end original | |
13249 | ||
13250 | (F) 正規表現中の C<(?R)> または C<(?0)> で最後のかっこがありません。 | |
13251 | ||
13252 | =item Z<>500 Server error | |
13253 | ||
13254 | =begin original | |
13255 | ||
13256 | (A) This is the error message generally seen in a browser window | |
13257 | when trying to run a CGI program (including SSI) over the web. The | |
13258 | actual error text varies widely from server to server. The most | |
13259 | frequently-seen variants are "500 Server error", "Method (something) | |
13260 | not permitted", "Document contains no data", "Premature end of script | |
13261 | headers", and "Did not produce a valid header". | |
13262 | ||
13263 | =end original | |
13264 | ||
13265 | (A) これは、一般的には CGI (SSI を含みます)プログラムを WWW 越しに | |
7058 | 13266 | 実行しようとしたときにブラウザのウィンドウに表示されるメッセージです。 |
7059 | 13267 | 実際のエラーテキストはサーバーによって大きく異なります。 |
7060 | 13268 | もっともよく見られるものとしては、"500 Server error", |
7061 | 13269 | "Method (something) not permitted", "Document contains no data", |
7062 | 13270 | "Premature end of script headers", "Did not produce a valid header" が |
7063 | 13271 | あります。 |
7064 | 13272 | |
7065 | 13273 | =begin original |
7066 | 13274 | |
7067 | 13275 | B<This is a CGI error, not a Perl error>. |
7068 | 13276 | |
7069 | 13277 | =end original |
7070 | 13278 | |
7071 | 13279 | B<これは CGI のエラーであり、Perl のエラーではありません>. |
7072 | 13280 | |
7073 | 13281 | =begin original |
7074 | 13282 | |
7075 | You need to make sure your script is executable, is accessible by | |
13283 | You need to make sure your script is executable, is accessible by | |
7076 | user CGI is running the script under (which is probably not the | |
13284 | the user CGI is running the script under (which is probably not the | |
7077 | account you tested it under), does not rely on any environment | |
13285 | user account you tested it under), does not rely on any environment | |
7078 | (like PATH) from the user it isn't running under, and isn't | |
13286 | variables (like PATH) from the user it isn't running under, and isn't | |
7079 | location where the CGI server can't find it, basically, more or | |
13287 | in a location where the CGI server can't find it, basically, more or | |
7080 | Please see the following for more information: | |
13288 | less. Please see the following for more information: | |
7081 | 13289 | |
7082 | 13290 | =end original |
7083 | 13291 | |
7084 | 13292 | まずはあなたのスクリプトが実行可能か、CGI を実行するユーザー(これはおそらく |
7085 | 13293 | あなたがテストしたユーザーではありません)で読み込み可能か、実行しているのとは |
7086 | 13294 | 異なるユーザーの環境変数(PATH など)に依存していないか、CGI サーバーが |
7087 | 13295 | 見つけられない場所に置いていないか、といったことを確認する必要があるでしょう。 |
7088 | 13296 | さらなる情報については以下を参照してください。 |
7089 | 13297 | |
7090 | http://www.perl. | |
13298 | http://www.perl.org/CGI_MetaFAQ.html | |
7091 | http://www. | |
13299 | http://www.htmlhelp.org/faq/cgifaq.html | |
7092 | | |
13300 | http://www.w3.org/Security/Faq/ | |
7093 | http://hoohoo.ncsa.uiuc.edu/cgi/interface.html | |
7094 | http://www-genome.wi.mit.edu/WWW/faqs/www-security-faq.html | |
7095 | 13301 | |
7096 | 13302 | =begin original |
7097 | 13303 | |
7098 | 13304 | You should also look at L<perlfaq9>. |
7099 | 13305 | |
7100 | 13306 | =end original |
7101 | 13307 | |
7102 | 13308 | L<perlfaq9> も見るべきでしょう。 |
7103 | 13309 | |
7104 | 13310 | =item setegid() not implemented |
7105 | 13311 | |
7106 | 13312 | =begin original |
7107 | 13313 | |
7108 | 13314 | (F) You tried to assign to C<$)>, and your operating system doesn't |
7109 | 13315 | support the setegid() system call (or equivalent), or at least Configure |
7110 | 13316 | didn't think so. |
7111 | 13317 | |
7112 | 13318 | =end original |
7113 | 13319 | |
7114 | 13320 | (F) C<$)> へ代入を行なおうとしましたが、この OS では、setegid() |
7115 | システムコール (または、同等のもの) がサポートされていません | |
13321 | システムコール (または、同等のもの) がサポートされていません; | |
7116 | 13322 | 少なくとも Configure では、そう判断されました。 |
7117 | 13323 | |
7118 | 13324 | =item seteuid() not implemented |
7119 | 13325 | |
7120 | 13326 | =begin original |
7121 | 13327 | |
7122 | 13328 | (F) You tried to assign to C<< $> >>, and your operating system doesn't |
7123 | 13329 | support the seteuid() system call (or equivalent), or at least Configure |
7124 | 13330 | didn't think so. |
7125 | 13331 | |
7126 | 13332 | =end original |
7127 | 13333 | |
7128 | 13334 | (F) C<< $> >> へ代入を行なおうとしましたが、この OS では、seteuid() |
7129 | システムコール (または、同等のもの) がサポートされていません | |
13335 | システムコール (または、同等のもの) がサポートされていません; | |
7130 | 13336 | 少なくとも Configure では、そう判断されました。 |
7131 | 13337 | |
7132 | 13338 | =item setpgrp can't take arguments |
7133 | 13339 | |
7134 | 13340 | =begin original |
7135 | 13341 | |
7136 | 13342 | (F) Your system has the setpgrp() from BSD 4.2, which takes no |
7137 | 13343 | arguments, unlike POSIX setpgid(), which takes a process ID and process |
7138 | 13344 | group ID. |
7139 | 13345 | |
7140 | 13346 | =end original |
7141 | 13347 | |
7142 | (F) このシステムの setpgrp() は BSD 4.2 由来のもので、引数がありません | |
13348 | (F) このシステムの setpgrp() は BSD 4.2 由来のもので、引数がありません; | |
7143 | 13349 | POSIX setpgid() はプロセス ID とプロセスグループ ID を引数にとります。 |
7144 | 13350 | |
7145 | 13351 | =item setrgid() not implemented |
7146 | 13352 | |
7147 | 13353 | =begin original |
7148 | 13354 | |
7149 | 13355 | (F) You tried to assign to C<$(>, and your operating system doesn't |
7150 | 13356 | support the setrgid() system call (or equivalent), or at least Configure |
7151 | 13357 | didn't think so. |
7152 | 13358 | |
7153 | 13359 | =end original |
7154 | 13360 | |
7155 | 13361 | (F) C<$(> へ代入を行なおうとしましたが、この OS では、setrgid() |
7156 | システムコール (または、同等のもの) がサポートされていません | |
13362 | システムコール (または、同等のもの) がサポートされていません; | |
7157 | 13363 | 少なくとも Configure では、そう判断されました。 |
7158 | 13364 | |
7159 | 13365 | =item setruid() not implemented |
7160 | 13366 | |
7161 | 13367 | =begin original |
7162 | 13368 | |
7163 | 13369 | (F) You tried to assign to C<$<>, and your operating system doesn't |
7164 | 13370 | support the setruid() system call (or equivalent), or at least Configure |
7165 | 13371 | didn't think so. |
7166 | 13372 | |
7167 | 13373 | =end original |
7168 | 13374 | |
7169 | 13375 | (F) C<$<> へ代入を行なおうとしましたが、この OS では、setruid() |
7170 | システムコール (または、同等のもの) がサポートされていません | |
13376 | システムコール (または、同等のもの) がサポートされていません; | |
7171 | 13377 | 少なくとも Configure では、そう判断されました。 |
7172 | 13378 | |
7173 | 13379 | =item setsockopt() on closed socket %s |
7174 | 13380 | |
7175 | 13381 | =begin original |
7176 | 13382 | |
7177 | 13383 | (W closed) You tried to set a socket option on a closed socket. Did you |
7178 | 13384 | forget to check the return value of your socket() call? See |
7179 | 13385 | L<perlfunc/setsockopt>. |
7180 | 13386 | |
7181 | 13387 | =end original |
7182 | 13388 | |
7183 | 13389 | (W closed) 閉じているソケットにソケットオプションを設定しようとしました。 |
7184 | socket() 呼び出し | |
13390 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか? | |
7185 | 13391 | L<perlfunc/setsockopt> を参照してください。 |
7186 | 13392 | |
7187 | =item Set | |
13393 | =item Setting $/ to a reference to %s is forbidden | |
7188 | 13394 | |
7189 | 13395 | =begin original |
7190 | 13396 | |
7191 | (F) | |
13397 | (F) You assigned a reference to a scalar to C<$/> where the referenced item is | |
7192 | ||
13398 | not a positive integer. In older perls this B<appeared> to work the same as | |
13399 | setting it to C<undef> but was in fact internally different, less efficient | |
13400 | and with very bad luck could have resulted in your file being split by a | |
13401 | stringified form of the reference. | |
7193 | 13402 | |
7194 | 13403 | =end original |
7195 | 13404 | |
7196 | (F) | |
13405 | (F) リファレンス先のアイテムが正の整数でないときに、 | |
7197 | ス | |
13406 | C<$/> にスカラへの整数を代入しました。 | |
7198 | ||
13407 | 以前の perl ではこれは C<undef> を設定するのと同じように B<見えました> が、 | |
13408 | 内部的には異なっていて、より非効率で、とても運が悪い場合はファイルが | |
13409 | このリファレンスの文字列化形式で split されることになっていました。 | |
7199 | 13410 | |
13411 | =begin original | |
13412 | ||
13413 | In Perl 5.20.0 this was changed so that it would be B<exactly> the same as | |
13414 | setting C<$/> to undef, with the exception that this warning would be thrown. | |
13415 | ||
13416 | =end original | |
13417 | ||
13418 | Perl 5.20.0 でこれは変更され、これはこの警告が投げられることを除いては | |
13419 | C<$/> に undef を設定するのと B<正確に> 同じになりました。 | |
13420 | ||
13421 | =begin original | |
13422 | ||
13423 | You are recommended to change your code to set C<$/> to C<undef> explicitly if | |
13424 | you wish to slurp the file. As of Perl 5.28 assigning C<$/> to a reference | |
13425 | to an integer which isn't positive is a fatal error. | |
13426 | ||
13427 | =end original | |
13428 | ||
13429 | ファイル全体を読み込みたい場合は、明示的に C<$/> に C<undef> を | |
13430 | 設定するようにコードを変更することを勧めます。 | |
13431 | Perl 5.28 から、C<$/> への正でない整数へのリファレンスの代入は | |
13432 | 致命的エラーです。 | |
13433 | ||
13434 | =item Setting $/ to %s reference is forbidden | |
13435 | ||
13436 | =begin original | |
13437 | ||
13438 | (F) You tried to assign a reference to a non integer to C<$/>. In older | |
13439 | Perls this would have behaved similarly to setting it to a reference to | |
13440 | a positive integer, where the integer was the address of the reference. | |
13441 | As of Perl 5.20.0 this is a fatal error, to allow future versions of Perl | |
13442 | to use non-integer refs for more interesting purposes. | |
13443 | ||
13444 | =end original | |
13445 | ||
13446 | (F) 非整数へのリファレンスを C<$/> に代入しようとしました。 | |
13447 | 以前の Perl ではこれは正の整数(リファレンスのアドレス)へのリファレンスを | |
13448 | 設定するのと似たように振る舞っていました。 | |
13449 | 将来のバージョンの Perl で非整数リファレンスをより興味深い目的に使えるように | |
13450 | Perl 5.20.0 から、これは致命的エラーになりました。 | |
13451 | ||
7200 | 13452 | =item shm%s not implemented |
7201 | 13453 | |
7202 | 13454 | =begin original |
7203 | 13455 | |
7204 | 13456 | (F) You don't have System V shared memory IPC on your system. |
7205 | 13457 | |
7206 | 13458 | =end original |
7207 | 13459 | |
7208 | 13460 | (F) このシステムでは、System V 共有メモリ IPC は使えません。 |
7209 | 13461 | |
7210 | =item | |
13462 | =item !=~ should be !~ | |
7211 | 13463 | |
7212 | 13464 | =begin original |
7213 | 13465 | |
7214 | ( | |
13466 | (W syntax) The non-matching operator is !~, not !=~. !=~ will be | |
7215 | ||
13467 | interpreted as the != (numeric not equal) and ~ (1's complement) | |
13468 | operators: probably not what you intended. | |
7216 | 13469 | |
7217 | 13470 | =end original |
7218 | 13471 | |
7219 | ( | |
13472 | (W syntax) 非マッチ演算子は !=~ ではなく !~ です。 | |
7220 | ||
13473 | !=~ は != (数値の不一致) と ~ (1 の補数) 演算子と解釈されます: | |
13474 | おそらくあなたの意図していることではないでしょう。 | |
7221 | 13475 | |
7222 | 13476 | =item /%s/ should probably be written as "%s" |
7223 | 13477 | |
7224 | 13478 | =begin original |
7225 | 13479 | |
7226 | 13480 | (W syntax) You have used a pattern where Perl expected to find a string, |
7227 | 13481 | as in the first argument to C<join>. Perl will treat the true or false |
7228 | 13482 | result of matching the pattern against $_ as the string, which is |
7229 | 13483 | probably not what you had in mind. |
7230 | 13484 | |
7231 | 13485 | =end original |
7232 | 13486 | |
7233 | 13487 | (W syntax) C<join> の最初の引数として、Perl が文字列を想定しているところに |
7234 | 13488 | パターンを使いました。 |
7235 | 13489 | Perl は $_ をパターンマッチングした結果の真か偽の値を文字列として |
7236 | 13490 | 扱いますが、これはおそらく望んでいることではないでしょう。 |
7237 | 13491 | |
7238 | 13492 | =item shutdown() on closed socket %s |
7239 | 13493 | |
7240 | 13494 | =begin original |
7241 | 13495 | |
7242 | 13496 | (W closed) You tried to do a shutdown on a closed socket. Seems a bit |
7243 | 13497 | superfluous. |
7244 | 13498 | |
7245 | 13499 | =end original |
7246 | 13500 | |
7247 | 13501 | (W closed) クローズされたソケットに shutdown を行なおうとしました。 |
7248 | 13502 | 多少、無駄のように思われます。 |
7249 | 13503 | |
7250 | 13504 | =item SIG%s handler "%s" not defined |
7251 | 13505 | |
7252 | 13506 | =begin original |
7253 | 13507 | |
7254 | 13508 | (W signal) The signal handler named in %SIG doesn't, in fact, exist. |
7255 | 13509 | Perhaps you put it into the wrong package? |
7256 | 13510 | |
7257 | 13511 | =end original |
7258 | 13512 | |
7259 | 13513 | (W signal) %SIG 内で指定したシグナルハンドラが、存在しません。 |
7260 | 13514 | 間違ったパッケージで、設定を行なっているのかもしれません。 |
7261 | 13515 | |
13516 | =item Slab leaked from cv %p | |
13517 | ||
13518 | =begin original | |
13519 | ||
13520 | (S) If you see this message, then something is seriously wrong with the | |
13521 | internal bookkeeping of op trees. An op tree needed to be freed after | |
13522 | a compilation error, but could not be found, so it was leaked instead. | |
13523 | ||
13524 | =end original | |
13525 | ||
13526 | (S) このメッセージが出た場合、構文木の内部管理で何かひどく | |
13527 | 悪いことになっています。 | |
13528 | ある構文木がコンパイルエラーの後で解放される必要がありますが、 | |
13529 | 見つからないので、リークしています。 | |
13530 | ||
13531 | =item sleep(%u) too large | |
13532 | ||
13533 | =begin original | |
13534 | ||
13535 | (W overflow) You called C<sleep> with a number that was larger than | |
13536 | it can reliably handle and C<sleep> probably slept for less time than | |
13537 | requested. | |
13538 | ||
13539 | =end original | |
13540 | ||
13541 | (W overflow) 確実に扱えるよりも大きな値で C<sleep> を呼び出したので、 | |
13542 | C<sleep> はおそらく指定されたより短い時間だけスリープします。 | |
13543 | ||
13544 | =item Slurpy parameter not last | |
13545 | ||
13546 | =begin original | |
13547 | ||
13548 | (F) In a subroutine signature, you put something after a slurpy (array or | |
13549 | hash) parameter. The slurpy parameter takes all the available arguments, | |
13550 | so there can't be any left to fill later parameters. | |
13551 | ||
13552 | =end original | |
13553 | ||
13554 | (F) サブルーチンシグネチャの中で、吸い込み(配列またはハッシュ)パラメータの後に | |
13555 | 何かを起きました。 | |
13556 | 吸い込みパラメータは利用可能な全ての引数を取るので、その後のパラメータに | |
13557 | 対応するものを残しません。 | |
13558 | ||
13559 | =item Smart matching a non-overloaded object breaks encapsulation | |
13560 | ||
13561 | =begin original | |
13562 | ||
13563 | (F) You should not use the C<~~> operator on an object that does not | |
13564 | overload it: Perl refuses to use the object's underlying structure | |
13565 | for the smart match. | |
13566 | ||
13567 | =end original | |
13568 | ||
13569 | (F) オーバーロードしていないオブジェクトに対して C<~~> 演算子を | |
13570 | 使うべきではありません: Perl はスマートマッチング時にオブジェクトの | |
13571 | 基礎となる構造を使うことを拒否します。 | |
13572 | ||
13573 | =item Smartmatch is experimental | |
13574 | ||
13575 | =begin original | |
13576 | ||
13577 | (S experimental::smartmatch) This warning is emitted if you | |
13578 | use the smartmatch (C<~~>) operator. This is currently an experimental | |
13579 | feature, and its details are subject to change in future releases of | |
13580 | Perl. Particularly, its current behavior is noticed for being | |
13581 | unnecessarily complex and unintuitive, and is very likely to be | |
13582 | overhauled. | |
13583 | ||
13584 | =end original | |
13585 | ||
13586 | (S experimental::smartmatch) この警告は、スマートマッチング (C<~~>) 演算子を | |
13587 | 使ったときに出力されます。 | |
13588 | これは現在のところ実験的な機能で、Perl の将来のリリースでは変更される | |
13589 | 可能性があります。 | |
13590 | 特に、現在の実装は不必要に複雑かつ直感的でないとされており、ほぼ確実に | |
13591 | 見直されます。 | |
13592 | ||
13593 | =item Sorry, hash keys must be smaller than 2**31 bytes | |
13594 | ||
13595 | =begin original | |
13596 | ||
13597 | (F) You tried to create a hash containing a very large key, where "very | |
13598 | large" means that it needs at least 2 gigabytes to store. Unfortunately, | |
13599 | Perl doesn't yet handle such large hash keys. You should | |
13600 | reconsider your design to avoid hashing such a long string directly. | |
13601 | ||
13602 | =end original | |
13603 | ||
13604 | (F) とても大きなキーを含むハッシュを作ろうとしました; | |
13605 | ここで「とても大きな」とは、保管に最低 2 ギガバイト必要なものです。 | |
13606 | 残念ながら、Perl はまだそのような大きなハッシュキーを扱えません。 | |
13607 | そのような長い文字列で直接ハッシュを作るのを避けるように、 | |
13608 | 設計を再考する必要があります。 | |
13609 | ||
7262 | 13610 | =item sort is now a reserved word |
7263 | 13611 | |
7264 | 13612 | =begin original |
7265 | 13613 | |
7266 | 13614 | (F) An ancient error message that almost nobody ever runs into anymore. |
7267 | 13615 | But before sort was a keyword, people sometimes used it as a filehandle. |
7268 | 13616 | |
7269 | 13617 | =end original |
7270 | 13618 | |
7271 | 13619 | (F) もはや、誰もお目にかかることのない、旧世代のエラーメッセージです。 |
7272 | 13620 | ただ、sort がキーワードとなる前には、これをファイルハンドルとして |
7273 | 13621 | 使う方がいました。 |
7274 | 13622 | |
7275 | =item So | |
13623 | =item Source filters apply only to byte streams | |
7276 | 13624 | |
7277 | 13625 | =begin original |
7278 | 13626 | |
7279 | (F) | |
13627 | (F) You tried to activate a source filter (usually by loading a | |
7280 | ||
13628 | source filter module) within a string passed to C<eval>. This is | |
7281 | ||
13629 | not permitted under the C<unicode_eval> feature. Consider using | |
13630 | C<evalbytes> instead. See L<feature>. | |
7282 | 13631 | |
7283 | 13632 | =end original |
7284 | 13633 | |
7285 | (F) | |
13634 | (F) C<eval> に渡された文字列の中で(通常はソースフィルタモジュールを | |
7286 | ||
13635 | 読み込むことで)ソースフィルタを有効にしようとしました。 | |
7287 | ||
13636 | これは C<unicode_eval> 機能が有効の場合は許されていません。 | |
13637 | 代わりに C<evalbytes> を使うことを検討してください。 | |
13638 | L<feature> を参照してください。 | |
7288 | 13639 | |
7289 | =item | |
13640 | =item splice() offset past end of array | |
7290 | 13641 | |
7291 | 13642 | =begin original |
7292 | 13643 | |
7293 | ( | |
13644 | (W misc) You attempted to specify an offset that was past the end of | |
7294 | ||
13645 | the array passed to splice(). Splicing will instead commence at the | |
13646 | end of the array, rather than past it. If this isn't what you want, | |
13647 | try explicitly pre-extending the array by assigning $#array = $offset. | |
13648 | See L<perlfunc/splice>. | |
7295 | 13649 | |
7296 | 13650 | =end original |
7297 | 13651 | |
7298 | ( | |
13652 | (W misc) splice() で渡された配列の末尾より後ろのオフセットを指定しました。 | |
7299 | ||
13653 | splice は配列の末尾ではなく、配列の最後の位置に対して実行されます。 | |
7300 | ||
13654 | これが望んでいることではないなら、$#array = $offset と代入することで | |
13655 | 明示的に事前に配列を拡張してください。 | |
13656 | L<perlfunc/splice> を参照してください。 | |
7301 | 13657 | |
7302 | 13658 | =item Split loop |
7303 | 13659 | |
7304 | 13660 | =begin original |
7305 | 13661 | |
7306 | 13662 | (P) The split was looping infinitely. (Obviously, a split shouldn't |
7307 | 13663 | iterate more times than there are characters of input, which is what |
7308 | happened.) See L<perlfunc/split>. | |
13664 | happened.) See L<perlfunc/split>. | |
7309 | 13665 | |
7310 | 13666 | =end original |
7311 | 13667 | |
7312 | 13668 | (P) split が無限ループに陥りました。 |
7313 | 13669 | (明らかに、split は、入力文字数以上にはできないはずですが、 |
7314 | 13670 | そうなってしまいました。) |
7315 | 13671 | L<perlfunc/split> を参照してください。 |
7316 | 13672 | |
7317 | 13673 | =item Statement unlikely to be reached |
7318 | 13674 | |
7319 | 13675 | =begin original |
7320 | 13676 | |
7321 | 13677 | (W exec) You did an exec() with some statement after it other than a |
7322 | 13678 | die(). This is almost always an error, because exec() never returns |
7323 | 13679 | unless there was a failure. You probably wanted to use system() |
7324 | 13680 | instead, which does return. To suppress this warning, put the exec() in |
7325 | 13681 | a block by itself. |
7326 | 13682 | |
7327 | 13683 | =end original |
7328 | 13684 | |
7329 | 13685 | (W exec) exec() の後に、die() 以外の実行文があります。 |
7330 | 13686 | 失敗したとき以外は、exec() から戻ってくることはありませんから、 |
7331 | 13687 | ほとんどの場合には誤りでしょう。 |
7332 | 13688 | 戻ってくるsystem() に置き換える必要があるかもしれません。 |
7333 | 13689 | この警告を止めるには、ブロック内に exec() だけを記述してください。 |
7334 | 13690 | |
13691 | =item "state" subroutine %s can't be in a package | |
13692 | ||
13693 | =begin original | |
13694 | ||
13695 | (F) Lexically scoped subroutines aren't in a package, so it doesn't make | |
13696 | sense to try to declare one with a package qualifier on the front. | |
13697 | ||
13698 | =end original | |
13699 | ||
13700 | (F) レキシカルスコープサブルーチンはパッケージ内にないので、 | |
13701 | 頭にパッケージ名を付けて宣言することは、無意味です。 | |
13702 | ||
13703 | =item "state %s" used in sort comparison | |
13704 | ||
13705 | =begin original | |
13706 | ||
13707 | (W syntax) The package variables $a and $b are used for sort comparisons. | |
13708 | You used $a or $b in as an operand to the C<< <=> >> or C<cmp> operator inside a | |
13709 | sort comparison block, and the variable had earlier been declared as a | |
13710 | lexical variable. Either qualify the sort variable with the package | |
13711 | name, or rename the lexical variable. | |
13712 | ||
13713 | =end original | |
13714 | ||
13715 | (W syntax) パッケージ変数 $a と $b はソート比較のために使われます。 | |
13716 | $a または $b をソート比較ブロックの中の C<< <=> >> または C<cmp> 演算子の | |
13717 | オペランドとして使いましたが、この変数はその前にレキシカル変数として | |
13718 | 宣言されています。 | |
13719 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を変えてください。 | |
13720 | ||
13721 | =item "state" variable %s can't be in a package | |
13722 | ||
13723 | =begin original | |
13724 | ||
13725 | (F) Lexically scoped variables aren't in a package, so it doesn't make | |
13726 | sense to try to declare one with a package qualifier on the front. Use | |
13727 | local() if you want to localize a package variable. | |
13728 | ||
13729 | =end original | |
13730 | ||
13731 | (F) レキシカルスコープサブルーチンはパッケージ内にないので、 | |
13732 | 頭にパッケージ名を付けて宣言することは、無意味です。 | |
13733 | パッケージ変数をローカル化したい場合には、local() を使ってください。 | |
13734 | ||
7335 | 13735 | =item stat() on unopened filehandle %s |
7336 | 13736 | |
7337 | 13737 | =begin original |
7338 | 13738 | |
7339 | 13739 | (W unopened) You tried to use the stat() function on a filehandle that |
7340 | 13740 | was either never opened or has since been closed. |
7341 | 13741 | |
7342 | 13742 | =end original |
7343 | 13743 | |
7344 | 13744 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
7345 | 13745 | ファイルハンドルに対して、stat() 関数を使おうとしました。 |
7346 | 13746 | |
7347 | =item St | |
13747 | =item Strings with code points over 0xFF may not be mapped into in-memory file handles | |
7348 | 13748 | |
7349 | 13749 | =begin original |
7350 | 13750 | |
13751 | (W utf8) You tried to open a reference to a scalar for read or append | |
13752 | where the scalar contained code points over 0xFF. In-memory files | |
13753 | model on-disk files and can only contain bytes. | |
13754 | ||
13755 | =end original | |
13756 | ||
13757 | (W utf8) 0xFF を超える符号位置を含むスカラに対して、読み込みや追加で | |
13758 | スカラへのリファレンスを開こうとしました。 | |
13759 | インメモリファイルはディスクのファイルをモデル化していて、バイトのみが | |
13760 | 使えます。 | |
13761 | ||
13762 | =item Stub found while resolving method "%s" overloading "%s" in package "%s" | |
13763 | ||
13764 | =begin original | |
13765 | ||
7351 | 13766 | (P) Overloading resolution over @ISA tree may be broken by importation |
7352 | 13767 | stubs. Stubs should never be implicitly created, but explicit calls to |
7353 | 13768 | C<can> may break this. |
7354 | 13769 | |
7355 | 13770 | =end original |
7356 | 13771 | |
7357 | 13772 | (P) @ISA ツリーでのオーバーロードの解決がインポートのスタブで壊されました。 |
7358 | 13773 | スタブは暗黙に作られることはありませんが、明示的に C<can> を呼び出すと |
7359 | 13774 | これを破壊することがあります。 |
7360 | 13775 | |
13776 | =item Subroutine attributes must come before the signature | |
13777 | ||
13778 | =begin original | |
13779 | ||
13780 | (F) When subroutine signatures are enabled, any subroutine attributes must | |
13781 | come before the signature. Note that this order was the opposite in | |
13782 | versions 5.22..5.26. So: | |
13783 | ||
13784 | =end original | |
13785 | ||
13786 | (F) サブルーチンシグネチャが有効の場合、サブルーチン属性は | |
13787 | シグネチャの前に来なければなりません。 | |
13788 | この順序はバージョン 5.22 .. 5.26 と反対であることに注意してください。 | |
13789 | 従って: | |
13790 | ||
13791 | sub foo :lvalue ($a, $b) { ... } # 5.20 and 5.28 + | |
13792 | sub foo ($a, $b) :lvalue { ... } # 5.22 .. 5.26 | |
13793 | ||
13794 | =item Subroutine "&%s" is not available | |
13795 | ||
13796 | =begin original | |
13797 | ||
13798 | (W closure) During compilation, an inner named subroutine or eval is | |
13799 | attempting to capture an outer lexical subroutine that is not currently | |
13800 | available. This can happen for one of two reasons. First, the lexical | |
13801 | subroutine may be declared in an outer anonymous subroutine that has | |
13802 | not yet been created. (Remember that named subs are created at compile | |
13803 | time, while anonymous subs are created at run-time.) For example, | |
13804 | ||
13805 | =end original | |
13806 | ||
13807 | (W closure) コンパイル時に、内部の名前付きサブルーチンや eval が、現在 | |
13808 | 利用できない外側のレキシカルサブルーチンを捕捉しようとしました。 | |
13809 | これは二つの理由で起こります。 | |
13810 | まず、レキシカルサブルーチンが、まだ作成されていない外側の無名サブルーチンで | |
13811 | 宣言されたときです。 | |
13812 | (名前付きサブルーチンはコンパイル時に作成されますが、無名サブルーチンは | |
13813 | 実行時に作成されることを思い出してください。) | |
13814 | 例えば、 | |
13815 | ||
13816 | sub { my sub a {...} sub f { \&a } } | |
13817 | ||
13818 | =begin original | |
13819 | ||
13820 | At the time that f is created, it can't capture the current "a" sub, | |
13821 | since the anonymous subroutine hasn't been created yet. Conversely, the | |
13822 | following won't give a warning since the anonymous subroutine has by now | |
13823 | been created and is live: | |
13824 | ||
13825 | =end original | |
13826 | ||
13827 | f が作成された時点で、現在の "a" サブルーチンは捕捉できません; なぜなら | |
13828 | 無名サブルーチンはまだ作成されていないからです。 | |
13829 | 逆に、以下のものは警告されません; 無名サブルーチンはこの時点で作成されていて | |
13830 | 生きているからです: | |
13831 | ||
13832 | sub { my sub a {...} eval 'sub f { \&a }' }->(); | |
13833 | ||
13834 | =begin original | |
13835 | ||
13836 | The second situation is caused by an eval accessing a lexical subroutine | |
13837 | that has gone out of scope, for example, | |
13838 | ||
13839 | =end original | |
13840 | ||
13841 | 2 番目の状況は eval がスコープ外となったレキシカルサブルーチンに | |
13842 | アクセスすることで起こります; 例えば: | |
13843 | ||
13844 | sub f { | |
13845 | my sub a {...} | |
13846 | sub { eval '\&a' } | |
13847 | } | |
13848 | f()->(); | |
13849 | ||
13850 | =begin original | |
13851 | ||
13852 | Here, when the '\&a' in the eval is being compiled, f() is not currently | |
13853 | being executed, so its &a is not available for capture. | |
13854 | ||
13855 | =end original | |
13856 | ||
13857 | ここで、eval の中の '\&a' がコンパイルされるとき、f() はこの時点では | |
13858 | 実行されていないので、&a は捕捉として利用できません。 | |
13859 | ||
13860 | =item "%s" subroutine &%s masks earlier declaration in same %s | |
13861 | ||
13862 | =begin original | |
13863 | ||
13864 | (W shadow) A "my" or "state" subroutine has been redeclared in the | |
13865 | current scope or statement, effectively eliminating all access to | |
13866 | the previous instance. This is almost always a typographical error. | |
13867 | Note that the earlier subroutine will still exist until the end of | |
13868 | the scope or until all closure references to it are destroyed. | |
13869 | ||
13870 | =end original | |
13871 | ||
13872 | (W shadow) "my" または "state" サブルーチンは現在のスコープまたは文で | |
13873 | 再定義されたため、事実上以前の実体への全てのアクセスが取り除かれます。 | |
13874 | これはほとんど常にタイプミスです。 | |
13875 | 最初のサブルーチンはスコープの末尾に到達するか、これを参照している | |
13876 | 全てのクロージャが破壊されるまで存在したままであることに注意してください。 | |
13877 | ||
7361 | 13878 | =item Subroutine %s redefined |
7362 | 13879 | |
7363 | 13880 | =begin original |
7364 | 13881 | |
7365 | 13882 | (W redefine) You redefined a subroutine. To suppress this warning, say |
7366 | 13883 | |
7367 | 13884 | =end original |
7368 | 13885 | |
7369 | (W redefine) サブルー | |
13886 | (W redefine) サブルーチンを再定義しました。 | |
7370 | この警告を止めるには | |
13887 | この警告を止めるには以下のようにしてください: | |
7371 | 13888 | |
7372 | 13889 | { |
7373 | no warnings; | |
13890 | no warnings 'redefine'; | |
7374 | 13891 | eval "sub name { ... }"; |
7375 | 13892 | } |
7376 | 13893 | |
13894 | =item Subroutine "%s" will not stay shared | |
13895 | ||
13896 | =begin original | |
13897 | ||
13898 | (W closure) An inner (nested) I<named> subroutine is referencing a "my" | |
13899 | subroutine defined in an outer named subroutine. | |
13900 | ||
13901 | =end original | |
13902 | ||
13903 | (W closure) 内側の (ネストした) I<名前付き> サブルーチンが、 | |
13904 | 外側の名前付きサブルーチンで定義された "my" サブルーチンを参照しています。 | |
13905 | ||
13906 | =begin original | |
13907 | ||
13908 | When the inner subroutine is called, it will see the value of the outer | |
13909 | subroutine's lexical subroutine as it was before and during the *first* | |
13910 | call to the outer subroutine; in this case, after the first call to the | |
13911 | outer subroutine is complete, the inner and outer subroutines will no | |
13912 | longer share a common value for the lexical subroutine. In other words, | |
13913 | it will no longer be shared. This will especially make a difference | |
13914 | if the lexical subroutines accesses lexical variables declared in its | |
13915 | surrounding scope. | |
13916 | ||
13917 | =end original | |
13918 | ||
13919 | 内側のサブルーチンが呼び出されるとき、 | |
13920 | 外側のサブルーチンのレキシカルサブルーチンの値は、 | |
13921 | 外側のサブルーチンの「最初の」呼び出し前と呼び出し中のものになります; | |
13922 | この場合、外側のサブルーチンへの最初の呼び出しが終了した後、 | |
13923 | 内側と外側のサブルーチンはもはやレキシカルサブルーチンについて | |
13924 | 共通の値を共有しません。 | |
13925 | 言い換えると、これはもはや共有されません。 | |
13926 | これは特に、レキシカルサブルーチンがその周りのスコープで宣言された | |
13927 | レキシカル変数にアクセスしたときに違いがあります。 | |
13928 | ||
13929 | =begin original | |
13930 | ||
13931 | This problem can usually be solved by making the inner subroutine | |
13932 | anonymous, using the C<sub {}> syntax. When inner anonymous subs that | |
13933 | reference lexical subroutines in outer subroutines are created, they | |
13934 | are automatically rebound to the current values of such lexical subs. | |
13935 | ||
13936 | =end original | |
13937 | ||
13938 | この問題は普通、C<sub {}> 構文を使って内側のサブルーチンを無名にすることで | |
13939 | 解決します。 | |
13940 | 外側のサブルーチンのレキシカルサブルーチンを参照する内側の | |
13941 | 無名サブルーチンが作成されたとき、そのレキシカルサブルーチンの現在の値に | |
13942 | 自動的に回復します。 | |
13943 | ||
7377 | 13944 | =item Substitution loop |
7378 | 13945 | |
7379 | 13946 | =begin original |
7380 | 13947 | |
7381 | 13948 | (P) The substitution was looping infinitely. (Obviously, a substitution |
7382 | 13949 | shouldn't iterate more times than there are characters of input, which |
7383 | 13950 | is what happened.) See the discussion of substitution in |
7384 | L<perlop/" | |
13951 | L<perlop/"Regexp Quote-Like Operators">. | |
7385 | 13952 | |
7386 | 13953 | =end original |
7387 | 13954 | |
7388 | 13955 | (P) 置換が無限ループに陥りました。 |
7389 | 13956 | (明らかに、置換は入力文字数以上には起こらないはずですが、 |
7390 | 13957 | それが起こってしまいました。) |
7391 | L<perlop/"Quote and Quote- | |
13958 | L<perlop/"Quote and Quote-Like Operators"> を参照してください。 | |
7392 | 13959 | |
7393 | 13960 | =item Substitution pattern not terminated |
7394 | 13961 | |
7395 | 13962 | =begin original |
7396 | 13963 | |
7397 | (F) The lexer couldn't find the interior delimiter of a s/// or s{}{} | |
13964 | (F) The lexer couldn't find the interior delimiter of an s/// or s{}{} | |
7398 | 13965 | construct. Remember that bracketing delimiters count nesting level. |
7399 | 13966 | Missing the leading C<$> from variable C<$s> may cause this error. |
7400 | 13967 | |
7401 | 13968 | =end original |
7402 | 13969 | |
7403 | 13970 | (F) s/// もしくは s{}{} 構文の真ん中の区切り文字が見つかりませんでした。 |
7404 | ||
13971 | かっこ類の区切り文字では、ネストを数えることを忘れないでください。 | |
7405 | 13972 | C<$s> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 |
7406 | 13973 | |
7407 | 13974 | =item Substitution replacement not terminated |
7408 | 13975 | |
7409 | 13976 | =begin original |
7410 | 13977 | |
7411 | (F) The lexer couldn't find the final delimiter of a s/// or s{}{} | |
13978 | (F) The lexer couldn't find the final delimiter of an s/// or s{}{} | |
7412 | 13979 | construct. Remember that bracketing delimiters count nesting level. |
7413 | 13980 | Missing the leading C<$> from variable C<$s> may cause this error. |
7414 | 13981 | |
7415 | 13982 | =end original |
7416 | 13983 | |
7417 | 13984 | (F) s/// もしくは s{}{} 構文の最後の区切り文字が見つかりませんでした。 |
7418 | ||
13985 | かっこ類の区切り文字では、ネストを数えることを忘れないでください。 | |
7419 | 13986 | C<$s> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 |
7420 | 13987 | |
7421 | 13988 | =item substr outside of string |
7422 | 13989 | |
7423 | 13990 | =begin original |
7424 | 13991 | |
7425 | (W substr) | |
13992 | (W substr)(F) You tried to reference a substr() that pointed outside of | |
7426 | 13993 | a string. That is, the absolute value of the offset was larger than the |
7427 | 13994 | length of the string. See L<perlfunc/substr>. This warning is fatal if |
7428 | 13995 | substr is used in an lvalue context (as the left hand side of an |
7429 | 13996 | assignment or as a subroutine argument for example). |
7430 | 13997 | |
7431 | 13998 | =end original |
7432 | 13999 | |
7433 | (W substr) | |
14000 | (W substr)(F) 文字列の外を指す substr() を参照しようとしました。 | |
7434 | 14001 | つまり、オフセットの絶対値が、文字列の長さより大きくなっています。 |
7435 | 14002 | L<perlfunc/substr> を参照してください。 |
7436 | 14003 | この警告は、substr が(代入の左側やサブルーチンの引数といった) |
7437 | 14004 | 左辺値として使われた場合は致命的となります。 |
7438 | 14005 | |
7439 | =item su | |
14006 | =item sv_upgrade from type %d down to type %d | |
7440 | 14007 | |
7441 | 14008 | =begin original |
7442 | 14009 | |
7443 | ( | |
14010 | (P) Perl tried to force the upgrade of an SV to a type which was actually | |
7444 | ||
14011 | inferior to its current type. | |
7445 | 14012 | |
7446 | 14013 | =end original |
7447 | 14014 | |
7448 | ( | |
14015 | (P) Perl は SV を、実際には現在の型より下位の型への昇格を | |
7449 | ||
14016 | 強制しようとしました。 | |
7450 | 実行されてしまいました。 | |
7451 | 14017 | |
7452 | =item S | |
14018 | =item SWASHNEW didn't return an HV ref | |
7453 | 14019 | |
7454 | 14020 | =begin original |
7455 | 14021 | |
7456 | ( | |
14022 | (P) Something went wrong internally when Perl was trying to look up | |
7457 | ||
14023 | Unicode characters. | |
7458 | contain alternation, such as using C<this|that|other>, enclose it in | |
7459 | clustering parentheses: | |
7460 | 14024 | |
7461 | 14025 | =end original |
7462 | 14026 | |
7463 | ( | |
14027 | (P) Perl が Unicode 文字を探そうとしたときに、内部で何かがおかしくなりました。 | |
14028 | ||
14029 | =item Switch (?(condition)... contains too many branches in regex; marked by | |
14030 | S<<-- HERE> in m/%s/ | |
14031 | ||
14032 | =begin original | |
14033 | ||
14034 | (F) A (?(condition)if-clause|else-clause) construct can have at most | |
14035 | two branches (the if-clause and the else-clause). If you want one or | |
14036 | both to contain alternation, such as using C<this|that|other>, enclose | |
14037 | it in clustering parentheses: | |
14038 | ||
14039 | =end original | |
14040 | ||
14041 | (F) (?(condition)if-clause|else-clause) 構造は最大で二つの分岐 | |
7464 | 14042 | (if-clause と else-clause) を持つことができます。 |
7465 | 14043 | 片方、または両方に選択肢を含めたいときは、それをかっこで囲んでください: |
7466 | 14044 | |
7467 | 14045 | (?(condition)(?:this|that|other)|else-clause) |
7468 | 14046 | |
7469 | 14047 | =begin original |
7470 | 14048 | |
7471 | The << HERE shows in the regular expression | |
14049 | The S<<-- HERE> shows whereabouts in the regular expression the problem | |
7472 | discovered. See L<perlre>. | |
14050 | was discovered. See L<perlre>. | |
7473 | 14051 | |
7474 | 14052 | =end original |
7475 | 14053 | |
7476 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
14054 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
7477 | 14055 | L<perlre> を参照してください。 |
7478 | 14056 | |
7479 | =item Switch condition not recognized | |
14057 | =item Switch condition not recognized in regex; marked by S<<-- HERE> in | |
14058 | m/%s/ | |
7480 | 14059 | |
7481 | 14060 | =begin original |
7482 | 14061 | |
7483 | (F) | |
14062 | (F) The condition part of a (?(condition)if-clause|else-clause) construct | |
7484 | ||
14063 | is not known. The condition must be one of the following: | |
7485 | about where the problem was discovered. See L<perlre>. | |
7486 | 14064 | |
7487 | 14065 | =end original |
7488 | 14066 | |
7489 | (?(...)if-clause|else-clause) 構造の | |
14067 | (?(...)if-clause|else-clause) 構造の条件部が不明です。 | |
7490 | ||
14068 | 条件は以下のいずれかでなければなりません。 | |
14069 | ||
14070 | (1) (2) ... true if 1st, 2nd, etc., capture matched | |
14071 | (<NAME>) ('NAME') true if named capture matched | |
14072 | (?=...) (?<=...) true if subpattern matches | |
14073 | (?!...) (?<!...) true if subpattern fails to match | |
14074 | (?{ CODE }) true if code returns a true value | |
14075 | (R) true if evaluating inside recursion | |
14076 | (R1) (R2) ... true if directly inside capture group 1, 2, etc. | |
14077 | (R&NAME) true if directly inside named capture | |
14078 | (DEFINE) always false; for defining named subpatterns | |
14079 | ||
14080 | =begin original | |
14081 | ||
14082 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
14083 | discovered. See L<perlre>. | |
14084 | ||
14085 | =end original | |
14086 | ||
14087 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
7491 | 14088 | L<perlre> を参照してください。 |
7492 | 14089 | |
14090 | =item Switch (?(condition)... not terminated in regex; marked by | |
14091 | S<<-- HERE> in m/%s/ | |
14092 | ||
14093 | =begin original | |
14094 | ||
14095 | (F) You omitted to close a (?(condition)...) block somewhere | |
14096 | in the pattern. Add a closing parenthesis in the appropriate | |
14097 | position. See L<perlre>. | |
14098 | ||
14099 | =end original | |
14100 | ||
14101 | (F) パターン中のどこかで (?(condition)...) ブロックを閉じるのを省略しました。 | |
14102 | 適切な位置に閉じかっこを追加してください。 | |
14103 | L<perlre> を参照してください。 | |
14104 | ||
7493 | 14105 | =item switching effective %s is not implemented |
7494 | 14106 | |
7495 | 14107 | =begin original |
7496 | 14108 | |
7497 | 14109 | (F) While under the C<use filetest> pragma, we cannot switch the real |
7498 | 14110 | and effective uids or gids. |
7499 | 14111 | |
7500 | 14112 | =end original |
7501 | 14113 | |
7502 | 14114 | (F) C<use filetest> プラグマを使っている間に、 |
7503 | 14115 | 実と実効の UID や GID の切り替えに失敗しました。 |
7504 | 14116 | |
7505 | 14117 | =item syntax error |
7506 | 14118 | |
7507 | 14119 | =begin original |
7508 | 14120 | |
7509 | 14121 | (F) Probably means you had a syntax error. Common reasons include: |
7510 | 14122 | |
7511 | 14123 | =end original |
7512 | 14124 | |
7513 | 14125 | (F) おそらく、構文エラーが起こっています。 |
7514 | 14126 | よくある原因としては以下のことが考えられます: |
7515 | 14127 | |
7516 | 14128 | =begin original |
7517 | 14129 | |
7518 | 14130 | A keyword is misspelled. |
7519 | 14131 | A semicolon is missing. |
7520 | 14132 | A comma is missing. |
7521 | 14133 | An opening or closing parenthesis is missing. |
7522 | 14134 | An opening or closing brace is missing. |
7523 | 14135 | A closing quote is missing. |
7524 | 14136 | |
7525 | 14137 | =end original |
7526 | 14138 | |
7527 | 14139 | キーワードのスペルミス。 |
7528 | 14140 | セミコロンを忘れた。 |
7529 | 14141 | コンマを忘れた。 |
7530 | 開き | |
14142 | 開きかっこ、閉じかっこを忘れた。 | |
7531 | 開き中 | |
14143 | 開き中かっこ、閉じ中かっこを忘れた。 | |
7532 | 14144 | クォートの閉じ忘れ。 |
7533 | 14145 | |
7534 | 14146 | =begin original |
7535 | 14147 | |
7536 | 14148 | Often there will be another error message associated with the syntax |
7537 | 14149 | error giving more information. (Sometimes it helps to turn on B<-w>.) |
7538 | 14150 | The error message itself often tells you where it was in the line when |
7539 | 14151 | it decided to give up. Sometimes the actual error is several tokens |
7540 | 14152 | before this, because Perl is good at understanding random input. |
7541 | 14153 | Occasionally the line number may be misleading, and once in a blue moon |
7542 | 14154 | the only way to figure out what's triggering the error is to call |
7543 | 14155 | C<perl -c> repeatedly, chopping away half the program each time to see |
7544 | if the error went away. Sort of the cybernetic version of S<20 | |
14156 | if the error went away. Sort of the cybernetic version of S<20 questions>. | |
7545 | questions>. | |
7546 | 14157 | |
7547 | 14158 | =end original |
7548 | 14159 | |
7549 | 14160 | 多くの場合、構文エラーと一緒に、別のエラーメッセージが出て、 |
7550 | 14161 | 情報を与えてくれます。(-w を付けることが、助けになることもあります。) |
7551 | 14162 | エラーメッセージ自身には、何行目まで行って、諦めたのかということも |
7552 | 14163 | 含まれています。 |
7553 | 14164 | Perl はでたらめな入力を理解するのが得意なので、実際のエラーはもう少し前に |
7554 | 14165 | 在ることもあります。 |
7555 | 14166 | ときには、行番号が全く役に立たないこともあり、はまってしまったなら、 |
7556 | 14167 | エラーのきっかけが何かを見つける唯一の手段は、プログラムを寸断して、 |
7557 | 14168 | エラーがなくなるまで、perl -c を繰り返すしかありません。 |
7558 | 14169 | S<頭の体操 20 問>だと思ってください。 |
7559 | 14170 | |
7560 | =item syntax error at line %d: | |
14171 | =item syntax error at line %d: '%s' unexpected | |
7561 | 14172 | |
7562 | 14173 | =begin original |
7563 | 14174 | |
7564 | 14175 | (A) You've accidentally run your script through the Bourne shell instead |
7565 | 14176 | of Perl. Check the #! line, or manually feed your script into Perl |
7566 | 14177 | yourself. |
7567 | 14178 | |
7568 | 14179 | =end original |
7569 | 14180 | |
7570 | 14181 | (A) スクリプトを perl ではなく Bourne shell で実行しようとしました。 |
7571 | 14182 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
7572 | 14183 | |
14184 | =item syntax error in file %s at line %d, next 2 tokens "%s" | |
14185 | ||
14186 | =begin original | |
14187 | ||
14188 | (F) This error is likely to occur if you run a perl5 script through | |
14189 | a perl4 interpreter, especially if the next 2 tokens are "use strict" | |
14190 | or "my $var" or "our $var". | |
14191 | ||
14192 | =end original | |
14193 | ||
14194 | (F) このエラーは、perl5 のスクリプトを perl4 インタプリタで実行したときに | |
14195 | おきそうなものです; 特に次の二つのトークンが "use strict" か | |
14196 | "my $var" か "our $var" の場合はそうです。 | |
14197 | ||
14198 | =item Syntax error in (?[...]) in regex; marked by <-- HERE in m/%s/ | |
14199 | ||
14200 | =begin original | |
14201 | ||
14202 | (F) Perl could not figure out what you meant inside this construct; this | |
14203 | notifies you that it is giving up trying. | |
14204 | ||
14205 | =end original | |
14206 | ||
14207 | (F) Perl はこの構文の中で何を意味しようとしているのかが分かりませんでした; | |
14208 | これは試すのを諦めたことを知らせます。 | |
14209 | ||
7573 | 14210 | =item %s syntax OK |
7574 | 14211 | |
7575 | 14212 | =begin original |
7576 | 14213 | |
7577 | 14214 | (F) The final summary message when a C<perl -c> succeeds. |
7578 | 14215 | |
7579 | 14216 | =end original |
7580 | 14217 | |
7581 | 14218 | (F) C<perl -c> が成功したときの最終まとめメッセージです。 |
7582 | 14219 | |
14220 | =item sysread() on closed filehandle %s | |
14221 | ||
14222 | =begin original | |
14223 | ||
14224 | (W closed) You tried to read from a closed filehandle. | |
14225 | ||
14226 | =end original | |
14227 | ||
14228 | (W closed) 閉じたファイルハンドルから読み込もうとしました。 | |
14229 | ||
14230 | =item sysread() on unopened filehandle %s | |
14231 | ||
14232 | =begin original | |
14233 | ||
14234 | (W unopened) You tried to read from a filehandle that was never opened. | |
14235 | ||
14236 | =end original | |
14237 | ||
14238 | (W unopened) 開いていないファイルハンドルから読み込もうとしました。 | |
14239 | ||
7583 | 14240 | =item System V %s is not implemented on this machine |
7584 | 14241 | |
7585 | 14242 | =begin original |
7586 | 14243 | |
7587 | 14244 | (F) You tried to do something with a function beginning with "sem", |
7588 | 14245 | "shm", or "msg" but that System V IPC is not implemented in your |
7589 | 14246 | machine. In some machines the functionality can exist but be |
7590 | 14247 | unconfigured. Consult your system support. |
7591 | 14248 | |
7592 | 14249 | =end original |
7593 | 14250 | |
7594 | 14251 | (F) 何か、名前が "sem"、"shm"、"msg" で始まる関数を実行しようとしましたが、 |
7595 | 14252 | あなたのマシンには System V IPC が実装されていません。 |
7596 | 14253 | 機能はあっても設定されていない場合もあります。 |
7597 | 14254 | システムサポートに相談してください。 |
7598 | 14255 | |
7599 | 14256 | =item syswrite() on closed filehandle %s |
7600 | 14257 | |
7601 | 14258 | =begin original |
7602 | 14259 | |
7603 | 14260 | (W closed) The filehandle you're writing to got itself closed sometime |
7604 | before now. Check your | |
14261 | before now. Check your control flow. | |
7605 | 14262 | |
7606 | 14263 | =end original |
7607 | 14264 | |
7608 | (W closed) 書き込みを行なおうとしたファイルハンドルは、 | |
14265 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既に閉じられています。 | |
7609 | ||
14266 | 制御フローをチェックしてください。 | |
7610 | 論理フローをチェックしてください。 | |
7611 | 14267 | |
14268 | =item C<-T> and C<-B> not implemented on filehandles | |
14269 | ||
14270 | =begin original | |
14271 | ||
14272 | (F) Perl can't peek at the stdio buffer of filehandles when it doesn't | |
14273 | know about your kind of stdio. You'll have to use a filename instead. | |
14274 | ||
14275 | =end original | |
14276 | ||
14277 | (F) Perl が、お使いの stdio のことをよく知らないとき、 | |
14278 | ファイルハンドルの stdio バッファを覗くことはできません。 | |
14279 | 代わりにファイル名を使わなければなりません。 | |
14280 | ||
7612 | 14281 | =item Target of goto is too deeply nested |
7613 | 14282 | |
7614 | 14283 | =begin original |
7615 | 14284 | |
7616 | 14285 | (F) You tried to use C<goto> to reach a label that was too deeply nested |
7617 | 14286 | for Perl to reach. Perl is doing you a favor by refusing. |
7618 | 14287 | |
7619 | 14288 | =end original |
7620 | 14289 | |
7621 | 14290 | (F) C<goto> で、Perl が届かないほど深くネストしたラベルに移動しようとしました。 |
7622 | 14291 | Perl は親切にもこれを拒否します。 |
7623 | 14292 | |
14293 | =item telldir() attempted on invalid dirhandle %s | |
14294 | ||
14295 | =begin original | |
14296 | ||
14297 | (W io) The dirhandle you tried to telldir() is either closed or not really | |
14298 | a dirhandle. Check your control flow. | |
14299 | ||
14300 | =end original | |
14301 | ||
14302 | (W io) telldir() しようとしたディレクトリハンドルは既に閉じられているか、 | |
14303 | 実際にはディレクトリハンドルではありません。 | |
14304 | 制御フローをチェックしてください。 | |
14305 | ||
7624 | 14306 | =item tell() on unopened filehandle |
7625 | 14307 | |
7626 | 14308 | =begin original |
7627 | 14309 | |
7628 | 14310 | (W unopened) You tried to use the tell() function on a filehandle that |
7629 | 14311 | was either never opened or has since been closed. |
7630 | 14312 | |
7631 | 14313 | =end original |
7632 | 14314 | |
7633 | 14315 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
7634 | 14316 | ファイルハンドルに対して、tell() 関数を使おうとしました。 |
7635 | 14317 | |
7636 | 14318 | =item That use of $[ is unsupported |
7637 | 14319 | |
7638 | 14320 | =begin original |
7639 | 14321 | |
7640 | 14322 | (F) Assignment to C<$[> is now strictly circumscribed, and interpreted |
7641 | 14323 | as a compiler directive. You may say only one of |
7642 | 14324 | |
7643 | 14325 | =end original |
7644 | 14326 | |
7645 | 14327 | (F) 現在、C<$[> への代入は、厳しく制限され、コンパイラ指示子と解釈されます。 |
7646 | 14328 | 使えるのは以下の形だけです: |
7647 | 14329 | |
7648 | 14330 | $[ = 0; |
7649 | 14331 | $[ = 1; |
7650 | 14332 | ... |
7651 | 14333 | local $[ = 0; |
7652 | 14334 | local $[ = 1; |
7653 | 14335 | ... |
7654 | 14336 | |
7655 | 14337 | =begin original |
7656 | 14338 | |
7657 | 14339 | This is to prevent the problem of one module changing the array base out |
7658 | from under another module inadvertently. See L<perlvar/$[>. | |
14340 | from under another module inadvertently. See L<perlvar/$[> and L<arybase>. | |
7659 | 14341 | |
7660 | 14342 | =end original |
7661 | 14343 | |
7662 | 14344 | これは、一つのモジュールで、他のモジュールが意図しないような、 |
7663 | 14345 | 配列のベースを変更する問題を回避するためのものです。 |
7664 | L<perlvar/$[> を参照してください。 | |
14346 | L<perlvar/$[> と L<arybase> を参照してください。 | |
7665 | 14347 | |
7666 | =item The | |
14348 | =item The alpha_assertions feature is experimental | |
7667 | 14349 | |
7668 | 14350 | =begin original |
7669 | 14351 | |
14352 | (S experimental::alpha_assertions) This feature is experimental | |
14353 | and its behavior may change in any future release of perl. See | |
14354 | L<perlre/Extended Patterns>. | |
14355 | ||
14356 | =end original | |
14357 | ||
14358 | (S experimental::alpha_assertions) この機能は実験的で、 | |
14359 | その振る舞いは perl の将来のリリースで変更されるかもしれません。 | |
14360 | L<perlre/Extended Patterns> を参照してください。 | |
14361 | ||
14362 | =item The crypt() function is unimplemented due to excessive paranoia. | |
14363 | ||
14364 | =begin original | |
14365 | ||
7670 | 14366 | (F) Configure couldn't find the crypt() function on your machine, |
7671 | 14367 | probably because your vendor didn't supply it, probably because they |
7672 | 14368 | think the U.S. Government thinks it's a secret, or at least that they |
7673 | 14369 | will continue to pretend that it is. And if you quote me on that, I |
7674 | 14370 | will deny it. |
7675 | 14371 | |
7676 | 14372 | =end original |
7677 | 14373 | |
7678 | (F) Configure は、マシン上で crypt() 関数を見つけられませんでした | |
14374 | (F) Configure は、マシン上で crypt() 関数を見つけられませんでした; | |
7679 | 14375 | おそらく、ベンダからの供給がなかったからで、おそらく、ベンダは |
7680 | 14376 | アメリカ政府がそれを秘密だとしていると思っているか、 |
7681 | 14377 | 少なくとも思っているというふりをしているのでしょう。 |
7682 | 14378 | 私を引き合いに出したところで、それは否定されることでしょう。 |
7683 | 14379 | |
14380 | =item The experimental declared_refs feature is not enabled | |
14381 | ||
14382 | =begin original | |
14383 | ||
14384 | (F) To declare references to variables, as in C<my \%x>, you must first enable | |
14385 | the feature: | |
14386 | ||
14387 | =end original | |
14388 | ||
14389 | (F) C<my \%x> のように、変数へのリファレンスを定義するには、 | |
14390 | 最初にこの機能を有効にしなければなりません: | |
14391 | ||
14392 | no warnings "experimental::declared_refs"; | |
14393 | use feature "declared_refs"; | |
14394 | ||
7684 | 14395 | =item The %s function is unimplemented |
7685 | 14396 | |
7686 | 14397 | =begin original |
7687 | 14398 | |
7688 | The function indicated isn't implemented on this architecture, | |
14399 | (F) The function indicated isn't implemented on this architecture, | |
7689 | to the probings of Configure. | |
14400 | according to the probings of Configure. | |
7690 | 14401 | |
7691 | 14402 | =end original |
7692 | 14403 | |
7693 | 14404 | (F) この関数は、Configure の調査によると、このアーキテクチャでは、 |
7694 | 14405 | 実装されていないようです。 |
7695 | 14406 | |
7696 | =item The | |
14407 | =item The regex_sets feature is experimental | |
7697 | 14408 | |
7698 | 14409 | =begin original |
7699 | 14410 | |
14411 | (S experimental::regex_sets) This warning is emitted if you | |
14412 | use the syntax S<C<(?[ ])>> in a regular expression. | |
14413 | The details of this feature are subject to change. | |
14414 | If you want to use it, but know that in doing so you | |
14415 | are taking the risk of using an experimental feature which may | |
14416 | change in a future Perl version, you can do this to silence the | |
14417 | warning: | |
14418 | ||
14419 | =end original | |
14420 | ||
14421 | (S experimental::regex_sets) この警告は、正規表現で S<C<(?[ ])>> 構文を | |
14422 | 使うと出力されます。 | |
14423 | この機能の詳細は変更されることがあります。 | |
14424 | この機能を使いたいけれども、そうすることで将来の Perl バージョンで | |
14425 | 変更されるかもしれない実験的機能を使うリスクを取ることを分かっている場合は、 | |
14426 | 以下のようにして警告を黙らせられます: | |
14427 | ||
14428 | no warnings "experimental::regex_sets"; | |
14429 | ||
14430 | =item The script_run feature is experimental | |
14431 | ||
14432 | =begin original | |
14433 | ||
14434 | (S experimental::script_run) This feature is experimental | |
14435 | and its behavior may in any future release of perl. See | |
14436 | L<perlre/Script Runs>. | |
14437 | ||
14438 | =end original | |
14439 | ||
14440 | (S experimental::script_run) この機能は実験的で、その振る舞いは | |
14441 | Perl の将来のリリースで変わるかもしれません。 | |
14442 | L<perlre/Script Runs> を参照してください。 | |
14443 | ||
14444 | =item The signatures feature is experimental | |
14445 | ||
14446 | =begin original | |
14447 | ||
14448 | (S experimental::signatures) This warning is emitted if you unwrap a | |
14449 | subroutine's arguments using a signature. Simply suppress the warning | |
14450 | if you want to use the feature, but know that in doing so you are taking | |
14451 | the risk of using an experimental feature which may change or be removed | |
14452 | in a future Perl version: | |
14453 | ||
14454 | =end original | |
14455 | ||
14456 | (S experimental::signatures) この警告は、シグネチャを使ったサブルーチンの | |
14457 | 引数を展開するときに出力されます。 | |
14458 | この機能を使いたいけれども、そうすることで将来の Perl バージョンで | |
14459 | 変更されるかもしれない実験的機能を使うリスクを取ることを分かっている場合は、 | |
14460 | 単に警告を抑制してください: | |
14461 | ||
14462 | no warnings "experimental::signatures"; | |
14463 | use feature "signatures"; | |
14464 | sub foo ($left, $right) { ... } | |
14465 | ||
14466 | =item The stat preceding %s wasn't an lstat | |
14467 | ||
14468 | =begin original | |
14469 | ||
7700 | 14470 | (F) It makes no sense to test the current stat buffer for symbolic |
7701 | 14471 | linkhood if the last stat that wrote to the stat buffer already went |
7702 | 14472 | past the symlink to get to the real file. Use an actual filename |
7703 | 14473 | instead. |
7704 | 14474 | |
7705 | 14475 | =end original |
7706 | 14476 | |
7707 | 14477 | (F) 過去の stat がシンボリックリンクを通り過ぎた、実際のファイルの |
7708 | 14478 | 情報を取って、stat バッファに入れているときに、シンボリックタイプの |
7709 | 14479 | stat をカレント stat バッファに対して行なっても意味がありません。 |
7710 | 14480 | 実際のファイル名を使ってください。 |
7711 | 14481 | |
14482 | =item The 'unique' attribute may only be applied to 'our' variables | |
14483 | ||
14484 | =begin original | |
14485 | ||
14486 | (F) This attribute was never supported on C<my> or C<sub> declarations. | |
14487 | ||
14488 | =end original | |
14489 | ||
14490 | (F) この属性は C<my> や C<sub> の宣言では対応していません。 | |
14491 | ||
7712 | 14492 | =item This Perl can't reset CRTL environ elements (%s) |
7713 | 14493 | |
7714 | 14494 | =item This Perl can't set CRTL environ elements (%s=%s) |
7715 | 14495 | |
7716 | 14496 | =begin original |
7717 | 14497 | |
7718 | 14498 | (W internal) Warnings peculiar to VMS. You tried to change or delete an |
7719 | 14499 | element of the CRTL's internal environ array, but your copy of Perl |
7720 | 14500 | wasn't built with a CRTL that contained the setenv() function. You'll |
7721 | 14501 | need to rebuild Perl with a CRTL that does, or redefine |
7722 | 14502 | F<PERL_ENV_TABLES> (see L<perlvms>) so that the environ array isn't the |
7723 | 14503 | target of the change to |
7724 | 14504 | %ENV which produced the warning. |
7725 | 14505 | |
7726 | 14506 | =end original |
7727 | 14507 | |
7728 | (W internal) VMS 固有の警告です。 | |
14508 | (W internal) VMS に固有の警告です。 | |
7729 | 14509 | CRTL の内部環境配列を変更または削除しようとしましたが、この Perl は |
7730 | 14510 | setenv() 関数を含んだ CRTL でビルドされていません。 |
7731 | 14511 | これを含む CRTL を使って Perl を再ビルドするか、環境配列がこの警告を |
7732 | 14512 | 出力している %ENV を変更するターゲットとならないように |
7733 | 14513 | F<PERL_ENV_TABLES> (L<perlvms> を参照してください) を再定義してください。 |
7734 | 14514 | |
7735 | =item | |
14515 | =item This Perl has not been built with support for randomized hash key traversal but something called Perl_hv_rand_set(). | |
7736 | 14516 | |
7737 | 14517 | =begin original |
7738 | 14518 | |
7739 | (F) | |
14519 | (F) Something has attempted to use an internal API call which | |
7740 | ||
14520 | depends on Perl being compiled with the default support for randomized hash | |
14521 | key traversal, but this Perl has been compiled without it. You should | |
14522 | report this warning to the relevant upstream party, or recompile perl | |
14523 | with default options. | |
7741 | 14524 | |
7742 | 14525 | =end original |
7743 | 14526 | |
7744 | (F) | |
14527 | (F) 何かが、Perl がデフォルトで対応しているランダム化されたハッシュキー検索に | |
7745 | ||
14528 | 依存した 内部 API 呼び出しを使おうとしましたが、この Perl はそれなしで | |
14529 | コンパイルされていました。 | |
14530 | この警告を関係する上流グループに報告するか、デフォルトオプションで perl を | |
14531 | 再コンパイルしてください。 | |
7746 | 14532 | |
7747 | =item | |
14533 | =item times not implemented | |
7748 | 14534 | |
7749 | 14535 | =begin original |
7750 | 14536 | |
7751 | (F) | |
14537 | (F) Your version of the C library apparently doesn't do times(). I | |
7752 | s | |
14538 | suspect you're not running on Unix. | |
7753 | 14539 | |
7754 | 14540 | =end original |
7755 | 14541 | |
7756 | (F) s | |
14542 | (F) お使いの C ライブラリでは、times() を行わないようです。 | |
7757 | ||
14543 | UNIX ではない環境でしょうか。 | |
7758 | 14544 | |
7759 | =item To | |
14545 | =item "-T" is on the #! line, it must also be used on the command line | |
7760 | 14546 | |
7761 | 14547 | =begin original |
7762 | 14548 | |
7763 | (X) The #! line (or local equivalent) in a Perl script contains | |
14549 | (X) The #! line (or local equivalent) in a Perl script contains | |
7764 | B<-T> option, but Perl was not invoked with | |
14550 | the B<-T> option (or the B<-t> option), but Perl was not invoked with | |
7765 | This is an error because, by the time | |
14551 | B<-T> in its command line. This is an error because, by the time | |
7766 | script, it's too late to properly taint | |
14552 | Perl discovers a B<-T> in a script, it's too late to properly taint | |
7767 | So Perl gives up. | |
14553 | everything from the environment. So Perl gives up. | |
7768 | 14554 | |
7769 | 14555 | =end original |
7770 | 14556 | |
7771 | 14557 | (X) Perl スクリプトの #! 行(あるいはローカルで等価なもの)に B<-T> |
7772 | オプションが含まれていますが、Perl は | |
14558 | オプション (または B<-t> オプション) が含まれていますが、Perl は | |
7773 | 起動されていません。 | |
14559 | コマンドラインで B<-T> 付きで起動されていません。 | |
7774 | 14560 | Perl がスクリプトの中で B<-T> を発見した時点では、環境からの全てを |
7775 | 14561 | 汚染チェックするには遅すぎるので、これはエラーになります。 |
7776 | 14562 | それで Perl は諦めます。 |
7777 | 14563 | |
7778 | 14564 | =begin original |
7779 | 14565 | |
7780 | 14566 | If the Perl script is being executed as a command using the #! |
7781 | mechanism (or its local equivalent), this error can usually be | |
14567 | mechanism (or its local equivalent), this error can usually be | |
7782 | editing the #! line so that the B<- | |
14568 | fixed by editing the #! line so that the B<-%c> option is a part of | |
7783 | argument: e.g. change C<perl -n - | |
14569 | Perl's first argument: e.g. change C<perl -n -%c> to C<perl -%c -n>. | |
7784 | 14570 | |
7785 | 14571 | =end original |
7786 | 14572 | |
7787 | 14573 | perl スクリプトが #! 機構(またはローカルな等価な機構)を使ってコマンドとして |
7788 | 実行される場合、このエラーは普通 B<- | |
14574 | 実行される場合、このエラーは普通 B<-%c> オプションを Perl の最初の引数に | |
7789 | 変更する(C<perl -n - | |
14575 | 変更する(C<perl -n -%c> を C<perl -%c -n> に変更する)ことで修正されます。 | |
7790 | 14576 | |
7791 | 14577 | =begin original |
7792 | 14578 | |
7793 | 14579 | If the Perl script is being executed as C<perl scriptname>, then the |
7794 | B<- | |
14580 | B<-%c> option must appear on the command line: C<perl -%c scriptname>. | |
7795 | 14581 | |
7796 | 14582 | =end original |
7797 | 14583 | |
7798 | 14584 | Perl スクリプトが C<perl scriptname> として起動される場合、B<-T> オプションは |
7799 | コマンドラインに書かなければなりません: C<perl - | |
14585 | コマンドラインに書かなければなりません: C<perl -%c scriptname> | |
7800 | 14586 | |
14587 | =item To%s: illegal mapping '%s' | |
14588 | ||
14589 | =begin original | |
14590 | ||
14591 | (F) You tried to define a customized To-mapping for lc(), lcfirst, | |
14592 | uc(), or ucfirst() (or their string-inlined versions), but you | |
14593 | specified an illegal mapping. | |
14594 | See L<perlunicode/"User-Defined Character Properties">. | |
14595 | ||
14596 | =end original | |
14597 | ||
14598 | (F) lc(), lcfirst, uc(), or ucfirst() (またはこれらの文字列組み込み版)の | |
14599 | ためのカスタマイズされた変換先マッピングを定義しようとしましたが、 | |
14600 | 不正なマッピングを指定しました。 | |
14601 | L<perlunicode/"User-Defined Character Properties"> を参照してください。 | |
14602 | ||
14603 | =item Too deeply nested ()-groups | |
14604 | ||
14605 | =begin original | |
14606 | ||
14607 | (F) Your template contains ()-groups with a ridiculously deep nesting level. | |
14608 | ||
14609 | =end original | |
14610 | ||
14611 | (F) テンプレートに、おかしいぐらいネストした () グループがあります。 | |
14612 | ||
14613 | =item Too few args to syscall | |
14614 | ||
14615 | =begin original | |
14616 | ||
14617 | (F) There has to be at least one argument to syscall() to specify the | |
14618 | system call to call, silly dilly. | |
14619 | ||
14620 | =end original | |
14621 | ||
14622 | (F) syscall() には、最低限でも呼び出すシステムコールを示す、 | |
14623 | 引数が一つ必要です。 | |
14624 | ||
14625 | =item Too few arguments for subroutine '%s' | |
14626 | ||
14627 | =begin original | |
14628 | ||
14629 | (F) A subroutine using a signature fewer arguments than required by the | |
14630 | signature. The caller of the subroutine is presumably at fault. | |
14631 | ||
14632 | =end original | |
14633 | ||
14634 | (F) シグネチャを使っているサブルーチンが、シグネチャが要求しているよりも | |
14635 | 少ない引数を受け取りました。 | |
14636 | おそらくサブルーチンの呼び出し元が間違っています。 | |
14637 | ||
14638 | =begin original | |
14639 | ||
14640 | The message attempts to include the name of the called subroutine. If | |
14641 | the subroutine has been aliased, the subroutine's original name will be | |
14642 | shown, regardless of what name the caller used. | |
14643 | ||
14644 | =end original | |
14645 | ||
14646 | このメッセージは呼び出されたサブルーチン名を含めようとします。 | |
14647 | サブルーチンが別名化されている場合、どの名前で呼びされたかにかかわらず | |
14648 | サブルーチンの元の名前が表示されます。 | |
14649 | ||
7801 | 14650 | =item Too late for "-%s" option |
7802 | 14651 | |
7803 | 14652 | =begin original |
7804 | 14653 | |
7805 | 14654 | (X) The #! line (or local equivalent) in a Perl script contains the |
7806 | B<-M> | |
14655 | B<-M>, B<-m> or B<-C> option. | |
14656 | ||
14657 | =end original | |
14658 | ||
14659 | (X) Perl スクリプトの #! 行(またはローカルな等価な機構)に B<-M>, B<-m>, | |
14660 | B<-C> オプションが含まれています。 | |
14661 | ||
14662 | =begin original | |
14663 | ||
14664 | In the case of B<-M> and B<-m>, this is an error because those options | |
7807 | 14665 | are not intended for use inside scripts. Use the C<use> pragma instead. |
7808 | 14666 | |
7809 | 14667 | =end original |
7810 | 14668 | |
7811 | ||
14669 | B<-M> と B<-m> に関しては、スクリプト内部で使うためのものではないので、 | |
7812 | B<-m> オプションが含まれています。 | |
7813 | B<-M> と B<-m> のオプションは、スクリプト内部で使うためのものではないので、 | |
7814 | 14670 | これはエラーになります。 |
7815 | 14671 | 代わりに C<use> プラグマを使ってください。 |
7816 | 14672 | |
14673 | =begin original | |
14674 | ||
14675 | The B<-C> option only works if it is specified on the command line as | |
14676 | well (with the same sequence of letters or numbers following). Either | |
14677 | specify this option on the command line, or, if your system supports | |
14678 | it, make your script executable and run it directly instead of passing | |
14679 | it to perl. | |
14680 | ||
14681 | =end original | |
14682 | ||
14683 | B<-C> オプションは、コマンドラインも (以下と同じ文字と数値の並びで) | |
14684 | 指定されたときにのみ動作します。 | |
14685 | このオプションをコマンドラインで指定するか、もしシステムが対応しているなら、 | |
14686 | スクリプトを perl に渡すのではなく、スクリプトを実行可能にして | |
14687 | 直接実行してください。 | |
14688 | ||
7817 | 14689 | =item Too late to run %s block |
7818 | 14690 | |
7819 | 14691 | =begin original |
7820 | 14692 | |
7821 | 14693 | (W void) A CHECK or INIT block is being defined during run time proper, |
7822 | 14694 | when the opportunity to run them has already passed. Perhaps you are |
7823 | 14695 | loading a file with C<require> or C<do> when you should be using C<use> |
7824 | 14696 | instead. Or perhaps you should put the C<require> or C<do> inside a |
7825 | 14697 | BEGIN block. |
7826 | 14698 | |
7827 | 14699 | =end original |
7828 | 14700 | |
7829 | 14701 | (W void) CHECK か INIT のブロックが、それが実行される機会が過ぎてから |
7830 | 14702 | 実行時に定義されました。 |
7831 | 14703 | おそらく C<use> を使うべきときに C<require> か C<do> を使ってファイルを |
7832 | 14704 | 読み込んでいます。 |
7833 | 14705 | あるいはおそらく BEGIN ブロックの中に C<require> か C<do> を |
7834 | 14706 | 書いたのでしょう。 |
7835 | 14707 | |
7836 | 14708 | =item Too many args to syscall |
7837 | 14709 | |
7838 | 14710 | =begin original |
7839 | 14711 | |
7840 | 14712 | (F) Perl supports a maximum of only 14 args to syscall(). |
7841 | 14713 | |
7842 | 14714 | =end original |
7843 | 14715 | |
7844 | 14716 | (F) Perl では、syscall() に最大 14 までしか、引数を渡すことができません。 |
7845 | 14717 | |
7846 | 14718 | =item Too many arguments for %s |
7847 | 14719 | |
7848 | 14720 | =begin original |
7849 | 14721 | |
7850 | 14722 | (F) The function requires fewer arguments than you specified. |
7851 | 14723 | |
7852 | 14724 | =end original |
7853 | 14725 | |
7854 | 14726 | (F) 関数が要求する以上の引数を指定しました。 |
7855 | 14727 | |
14728 | =item Too many arguments for subroutine '%s' | |
14729 | ||
14730 | =begin original | |
14731 | ||
14732 | (F) A subroutine using a signature received more arguments than permitted | |
14733 | by the signature. The caller of the subroutine is presumably at fault. | |
14734 | ||
14735 | =end original | |
14736 | ||
14737 | (F) シグネチャを使っているサブルーチンが、シグネチャで許されているよりも | |
14738 | 多い引数を受け取りました。 | |
14739 | おそらくサブルーチンの呼び出し元が間違っています。 | |
14740 | ||
14741 | =begin original | |
14742 | ||
14743 | The message attempts to include the name of the called subroutine. If the | |
14744 | subroutine has been aliased, the subroutine's original name will be shown, | |
14745 | regardless of what name the caller used. | |
14746 | ||
14747 | =end original | |
14748 | ||
14749 | メッセージには呼び出されたサブルーチンの名前を含めようとします。 | |
14750 | サブルーチンに別名がある場合、どの名前で呼び出されたかに関わらず、 | |
14751 | 元の名前が表示されます。 | |
14752 | ||
7856 | 14753 | =item Too many )'s |
7857 | 14754 | |
7858 | 14755 | =begin original |
7859 | 14756 | |
7860 | 14757 | (A) You've accidentally run your script through B<csh> instead of Perl. |
7861 | 14758 | Check the #! line, or manually feed your script into Perl yourself. |
7862 | 14759 | |
7863 | 14760 | =end original |
7864 | 14761 | |
7865 | 14762 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
7866 | 14763 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
7867 | 14764 | |
7868 | 14765 | =item Too many ('s |
7869 | 14766 | |
7870 | = | |
14767 | =begin original | |
7871 | 14768 | |
14769 | (A) You've accidentally run your script through B<csh> instead of Perl. | |
14770 | Check the #! line, or manually feed your script into Perl yourself. | |
14771 | ||
14772 | =end original | |
14773 | ||
14774 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 | |
14775 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 | |
14776 | ||
14777 | =item Trailing \ in regex m/%s/ | |
14778 | ||
7872 | 14779 | =begin original |
7873 | 14780 | |
7874 | 14781 | (F) The regular expression ends with an unbackslashed backslash. |
7875 | 14782 | Backslash it. See L<perlre>. |
7876 | 14783 | |
7877 | 14784 | =end original |
7878 | 14785 | |
7879 | 14786 | (F) 正規表現が、バックスラッシュを付けていないバックスラッシュで |
7880 | 14787 | 終了しました。バックスラッシュを付けてください。 |
7881 | 14788 | L<perlre> を参照してください。 |
7882 | 14789 | |
7883 | 14790 | =item Transliteration pattern not terminated |
7884 | 14791 | |
7885 | 14792 | =begin original |
7886 | 14793 | |
7887 | 14794 | (F) The lexer couldn't find the interior delimiter of a tr/// or tr[][] |
7888 | 14795 | or y/// or y[][] construct. Missing the leading C<$> from variables |
7889 | 14796 | C<$tr> or C<$y> may cause this error. |
7890 | 14797 | |
7891 | 14798 | =end original |
7892 | 14799 | |
7893 | (F) tr///, tr[][], y///, y[][] | |
14800 | (F) tr///, tr[][], y///, y[][] 構文の真ん中の区切り文字が | |
7894 | 14801 | 見つかりませんでした。 |
7895 | 14802 | C<$tr> 変数 や C<$y> 変数の前に C<$> をつけるのを忘れると |
7896 | 14803 | このエラーが出ることがあります。 |
7897 | 14804 | |
7898 | ||
7899 | 14805 | =item Transliteration replacement not terminated |
7900 | 14806 | |
7901 | 14807 | =begin original |
7902 | 14808 | |
7903 | (F) The lexer couldn't find the final delimiter of a tr/// | |
14809 | (F) The lexer couldn't find the final delimiter of a tr///, tr[][], | |
7904 | construct. | |
14810 | y/// or y[][] construct. | |
7905 | 14811 | |
7906 | 14812 | =end original |
7907 | 14813 | |
7908 | (F) tr/// | |
14814 | (F) tr///, tr[][], y///, y[][] 構文の最後の区切り文字が | |
14815 | 見つかりませんでした。 | |
7909 | 14816 | |
14817 | =item '%s' trapped by operation mask | |
14818 | ||
14819 | =begin original | |
14820 | ||
14821 | (F) You tried to use an operator from a Safe compartment in which it's | |
14822 | disallowed. See L<Safe>. | |
14823 | ||
14824 | =end original | |
14825 | ||
14826 | (F) Safe 区画の中で、許されていない演算子を使おうとしました。 | |
14827 | L<Safe> を参照してください。 | |
14828 | ||
7910 | 14829 | =item truncate not implemented |
7911 | 14830 | |
7912 | 14831 | =begin original |
7913 | 14832 | |
7914 | 14833 | (F) Your machine doesn't implement a file truncation mechanism that |
7915 | 14834 | Configure knows about. |
7916 | 14835 | |
7917 | 14836 | =end original |
7918 | 14837 | |
7919 | 14838 | (F) このマシンでは、Configure が知りうる、ファイルの切り詰めの機能が |
7920 | 14839 | 実装されていません。 |
7921 | 14840 | |
14841 | =item Type of arg %d to &CORE::%s must be %s | |
14842 | ||
14843 | =begin original | |
14844 | ||
14845 | (F) The subroutine in question in the CORE package requires its argument | |
14846 | to be a hard reference to data of the specified type. Overloading is | |
14847 | ignored, so a reference to an object that is not the specified type, but | |
14848 | nonetheless has overloading to handle it, will still not be accepted. | |
14849 | ||
14850 | =end original | |
14851 | ||
14852 | (F) CORE パッケージにある問題のサブルーチンは、引数に特定の型のデータへの | |
14853 | ハードリファレンスを要求しています。 | |
14854 | オーバーロードは無視されるので、指定された型ではないけれども、それを | |
14855 | 扱えるようにオーバーロードされたオブジェクトへのリファレンスでも | |
14856 | 受け付けられません。 | |
14857 | ||
7922 | 14858 | =item Type of arg %d to %s must be %s (not %s) |
7923 | 14859 | |
7924 | 14860 | =begin original |
7925 | 14861 | |
7926 | 14862 | (F) This function requires the argument in that position to be of a |
7927 | 14863 | certain type. Arrays must be @NAME or C<@{EXPR}>. Hashes must be |
7928 | 14864 | %NAME or C<%{EXPR}>. No implicit dereferencing is allowed--use the |
7929 | 14865 | {EXPR} forms as an explicit dereference. See L<perlref>. |
7930 | 14866 | |
7931 | 14867 | =end original |
7932 | 14868 | |
7933 | 14869 | (F) この関数は、その位置に決まった型の引数を必要とします。 |
7934 | 配列は、@NAME もしくは C<@{EXPR}> でな | |
14870 | 配列は、@NAME もしくは C<@{EXPR}> でなりません。 | |
7935 | %NAME もしくは C<%{EXPR}> でなければなりません。 | |
14871 | ハッシュは、%NAME もしくは C<%{EXPR}> でなければなりません。 | |
7936 | 14872 | 暗黙の被参照は許されませんので、明示的な被参照として、 |
7937 | 14873 | {EXPR} 形式を使ってください。 |
7938 | 14874 | L<perlref> を参照してください。 |
7939 | 14875 | |
7940 | =item umask: argument is missing initial 0 | |
7941 | ||
7942 | =begin original | |
7943 | ||
7944 | (W umask) A umask of 222 is incorrect. It should be 0222, because octal | |
7945 | literals always start with 0 in Perl, as in C. | |
7946 | ||
7947 | =end original | |
7948 | ||
7949 | (W umask) umask 222 は正しくありません。 | |
7950 | Perl の 8 進数リテラルは、C と同じように 0 で始まりますから、 | |
7951 | 0222 とすべきです。 | |
7952 | ||
7953 | 14876 | =item umask not implemented |
7954 | 14877 | |
7955 | 14878 | =begin original |
7956 | 14879 | |
7957 | 14880 | (F) Your machine doesn't implement the umask function and you tried to |
7958 | 14881 | use it to restrict permissions for yourself (EXPR & 0700). |
7959 | 14882 | |
7960 | 14883 | =end original |
7961 | 14884 | |
7962 | 14885 | (F) umask 関数が実装されていないマシンで、自分自身の権限を制限する |
7963 | 14886 | (EXPR & 0700) ためにこれを使おうとしました。 |
7964 | 14887 | |
7965 | =item Unable to create sub named "%s" | |
7966 | ||
7967 | =begin original | |
7968 | ||
7969 | (F) You attempted to create or access a subroutine with an illegal name. | |
7970 | ||
7971 | =end original | |
7972 | ||
7973 | (F) 不正な名前のサブルーチンを作成または呼び出ししようとしました。 | |
7974 | ||
7975 | 14888 | =item Unbalanced context: %d more PUSHes than POPs |
7976 | 14889 | |
7977 | 14890 | =begin original |
7978 | 14891 | |
7979 | ( | |
14892 | (S internal) The exit code detected an internal inconsistency in how | |
7980 | 14893 | many execution contexts were entered and left. |
7981 | 14894 | |
7982 | 14895 | =end original |
7983 | 14896 | |
7984 | ( | |
14897 | (S internal) いくつの実行コンテキストに入って、出たかということの | |
7985 | 14898 | 内部矛盾が exit コードで発見されました。 |
7986 | 14899 | |
7987 | 14900 | =item Unbalanced saves: %d more saves than restores |
7988 | 14901 | |
7989 | 14902 | =begin original |
7990 | 14903 | |
7991 | ( | |
14904 | (S internal) The exit code detected an internal inconsistency in how | |
7992 | 14905 | many values were temporarily localized. |
7993 | 14906 | |
7994 | 14907 | =end original |
7995 | 14908 | |
7996 | ( | |
14909 | (S internal) いくつの値が、一時的にローカル化されたかということの | |
7997 | 14910 | 内部矛盾が exit コードで発見されました。 |
7998 | 14911 | |
7999 | 14912 | =item Unbalanced scopes: %d more ENTERs than LEAVEs |
8000 | 14913 | |
8001 | 14914 | =begin original |
8002 | 14915 | |
8003 | ( | |
14916 | (S internal) The exit code detected an internal inconsistency in how | |
8004 | 14917 | many blocks were entered and left. |
8005 | 14918 | |
8006 | 14919 | =end original |
8007 | 14920 | |
8008 | ( | |
14921 | (S internal) いくつのブロックに入って、出たかということの | |
8009 | 14922 | 内部矛盾が exit コードで発見されました。 |
8010 | 14923 | |
14924 | =item Unbalanced string table refcount: (%d) for "%s" | |
14925 | ||
14926 | =begin original | |
14927 | ||
14928 | (S internal) On exit, Perl found some strings remaining in the shared | |
14929 | string table used for copy on write and for hash keys. The entries | |
14930 | should have been freed, so this indicates a bug somewhere. | |
14931 | ||
14932 | =end original | |
14933 | ||
14934 | (S internal) 終了時に、ハッシュキーのためのコピーオンライトのための | |
14935 | 共有文字列テーブルに文字列が残っていることを Perl が発見しました。 | |
14936 | エントリは開放されている必要があるので、これはどこかにバグがあることを | |
14937 | 示しています。 | |
14938 | ||
8011 | 14939 | =item Unbalanced tmps: %d more allocs than frees |
8012 | 14940 | |
8013 | 14941 | =begin original |
8014 | 14942 | |
8015 | ( | |
14943 | (S internal) The exit code detected an internal inconsistency in how | |
8016 | 14944 | many mortal scalars were allocated and freed. |
8017 | 14945 | |
8018 | 14946 | =end original |
8019 | 14947 | |
8020 | ( | |
14948 | (S internal) いくつの揮発性スカラの割り当てを行ない、解放したかと | |
8021 | 14949 | いうことの内部矛盾が exit コードで発見されました。 |
8022 | 14950 | |
8023 | 14951 | =item Undefined format "%s" called |
8024 | 14952 | |
8025 | 14953 | =begin original |
8026 | 14954 | |
8027 | 14955 | (F) The format indicated doesn't seem to exist. Perhaps it's really in |
8028 | 14956 | another package? See L<perlform>. |
8029 | 14957 | |
8030 | 14958 | =end original |
8031 | 14959 | |
8032 | (F) | |
14960 | (F) 示されたフォーマットが存在しないようです。 | |
8033 | おそらく | |
14961 | おそらく本当は他のパッケージにあるのでは? | |
8034 | 14962 | L<perlform> を参照してください。 |
8035 | 14963 | |
8036 | 14964 | =item Undefined sort subroutine "%s" called |
8037 | 14965 | |
8038 | 14966 | =begin original |
8039 | 14967 | |
8040 | 14968 | (F) The sort comparison routine specified doesn't seem to exist. |
8041 | 14969 | Perhaps it's in a different package? See L<perlfunc/sort>. |
8042 | 14970 | |
8043 | 14971 | =end original |
8044 | 14972 | |
8045 | 14973 | (F) 指定された sort の比較ルーティンは存在していないように思われます。 |
8046 | 14974 | おそらく、別のパッケージに存在するのではないでしょうか。 |
8047 | L<perlfunc/sort>を参照してください。 | |
14975 | L<perlfunc/sort> を参照してください。 | |
8048 | 14976 | |
8049 | 14977 | =item Undefined subroutine &%s called |
8050 | 14978 | |
8051 | 14979 | =begin original |
8052 | 14980 | |
8053 | 14981 | (F) The subroutine indicated hasn't been defined, or if it was, it has |
8054 | 14982 | since been undefined. |
8055 | 14983 | |
8056 | 14984 | =end original |
8057 | 14985 | |
8058 | (F) 指定されたサブルー | |
14986 | (F) 指定されたサブルーチンが定義されていません; 定義されていたとしても、 | |
8059 | ||
14987 | 既に未定義になっています。 | |
8060 | 14988 | |
8061 | 14989 | =item Undefined subroutine called |
8062 | 14990 | |
8063 | 14991 | =begin original |
8064 | 14992 | |
8065 | 14993 | (F) The anonymous subroutine you're trying to call hasn't been defined, |
8066 | 14994 | or if it was, it has since been undefined. |
8067 | 14995 | |
8068 | 14996 | =end original |
8069 | 14997 | |
8070 | (F) 呼びだそうとしている無名のサブルー | |
14998 | (F) 呼びだそうとしている無名のサブルーチンは、定義されていません; | |
8071 | 14999 | 定義されていたとしても、既に未定義になっています。 |
8072 | 15000 | |
8073 | 15001 | =item Undefined subroutine in sort |
8074 | 15002 | |
8075 | 15003 | =begin original |
8076 | 15004 | |
8077 | 15005 | (F) The sort comparison routine specified is declared but doesn't seem |
8078 | 15006 | to have been defined yet. See L<perlfunc/sort>. |
8079 | 15007 | |
8080 | 15008 | =end original |
8081 | 15009 | |
8082 | 15010 | (F) 指定された sort の比較ルーティンは宣言されましたが、 |
8083 | 15011 | 定義されていないようです。 |
8084 | 15012 | L<perlfunc/sort> を参照してください。 |
8085 | 15013 | |
8086 | 15014 | =item Undefined top format "%s" called |
8087 | 15015 | |
8088 | 15016 | =begin original |
8089 | 15017 | |
8090 | 15018 | (F) The format indicated doesn't seem to exist. Perhaps it's really in |
8091 | 15019 | another package? See L<perlform>. |
8092 | 15020 | |
8093 | 15021 | =end original |
8094 | 15022 | |
8095 | 15023 | (F) 示されたフォーマットが存在しないようです。 |
8096 | 15024 | おそらく本当は他のパッケージにあるのでは? |
8097 | 15025 | L<perlform> を参照してください。 |
8098 | 15026 | |
8099 | 15027 | =item Undefined value assigned to typeglob |
8100 | 15028 | |
8101 | 15029 | =begin original |
8102 | 15030 | |
8103 | 15031 | (W misc) An undefined value was assigned to a typeglob, a la |
8104 | 15032 | C<*foo = undef>. This does nothing. It's possible that you really mean |
8105 | 15033 | C<undef *foo>. |
8106 | 15034 | |
8107 | 15035 | =end original |
8108 | 15036 | |
8109 | 15037 | (W misc) C<*foo = undef> のように、未定義値を型グロブに代入しました。 |
8110 | 15038 | これは何もしません。 |
8111 | 15039 | 本当は C<undef *foo> としたかったのかもしれません。 |
8112 | 15040 | |
8113 | 15041 | =item %s: Undefined variable |
8114 | 15042 | |
8115 | 15043 | =begin original |
8116 | 15044 | |
8117 | 15045 | (A) You've accidentally run your script through B<csh> instead of Perl. |
8118 | 15046 | Check the #! line, or manually feed your script into Perl yourself. |
8119 | 15047 | |
8120 | 15048 | =end original |
8121 | 15049 | |
8122 | 15050 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
8123 | 15051 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
8124 | 15052 | |
15053 | =item Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by S<<-- HERE> in m/%s/ | |
15054 | ||
15055 | =item Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32), passed through in regex; marked by S<<-- HERE> in m/%s/ | |
15056 | ||
15057 | =begin original | |
15058 | ||
15059 | (D deprecated, regexp) The simple rule to remember, if you want to | |
15060 | match a literal C<{> character (U+007B C<LEFT CURLY BRACKET>) in a | |
15061 | regular expression pattern, is to escape each literal instance of it in | |
15062 | some way. Generally easiest is to precede it with a backslash, like | |
15063 | C<\{> or enclose it in square brackets (C<[{]>). If the pattern | |
15064 | delimiters are also braces, any matching right brace (C<}>) should | |
15065 | also be escaped to avoid confusing the parser, for example, | |
15066 | ||
15067 | =end original | |
15068 | ||
15069 | (D deprecated, regexp) 正規表現中で | |
15070 | リテラルな C<{> 文字 (U+007B C<LEFT CURLY BRACKET>) にマッチングしたいときに | |
15071 | 覚えておくべき単純な規則は、何らかの方法で | |
15072 | それぞれのリテラルな実体をエスケープすることです。 | |
15073 | 一般的に一番簡単なのは、C<\{> のように逆スラッシュを前置するか、 | |
15074 | かっこでかこむ (C<[{]>) ことです。. | |
15075 | パターン区切り文字も中かっこの場合、マッチングする右中かっこ | |
15076 | (C<}>) も、パーサーの混乱を避けるためにエスケープするべきです; 例えば: | |
15077 | ||
15078 | qr{abc\{def\}ghi} | |
15079 | ||
15080 | =begin original | |
15081 | ||
15082 | Forcing literal C<{> characters to be escaped will enable the Perl | |
15083 | language to be extended in various ways in future releases. To avoid | |
15084 | needlessly breaking existing code, the restriction is is not enforced in | |
15085 | contexts where there are unlikely to ever be extensions that could | |
15086 | conflict with the use there of C<{> as a literal. | |
15087 | ||
15088 | =end original | |
15089 | ||
15090 | リテラルな C<{> 文字にエスケープを強制することにより、 | |
15091 | 将来のリリースで様々な方法で Perl 言語を拡張できるようになります。 | |
15092 | 既存のコードを不必要に壊すことを避けるために、 | |
15093 | 拡張が C<{> をリテラルとして使うことと競合しそうにない文脈では | |
15094 | 制限は強制されません。 | |
15095 | ||
15096 | =begin original | |
15097 | ||
15098 | In this release of Perl, some literal uses of C<{> are fatal, and some | |
15099 | still just deprecated. This is because of an oversight: some uses of a | |
15100 | literal C<{> that should have raised a deprecation warning starting in | |
15101 | v5.20 did not warn until v5.26. By making the already-warned uses fatal | |
15102 | now, some of the planned extensions can be made to the language sooner. | |
15103 | The cases which are still allowed will be fatal in Perl 5.30 or 5.32. | |
15104 | ||
15105 | =end original | |
15106 | ||
15107 | このリリースの Perl では、C<"{"> のリテラルな使用法の一部は致命的エラーで、 | |
15108 | 一部は単に廃止予定です。 | |
15109 | これは見落としによるものです: v5.20 から廃止予定警告をだすべきだった | |
15110 | リテラルな C<"{"> の使用法の一部は v5.26 まで警告されていませんでした。 | |
15111 | すでに警告されていた使用法を今致命的エラーにすることで、 | |
15112 | 言語に計画されていた拡張の一部をより早く実行できます。 | |
15113 | まだ許されている使用法は Perl 5.30 か 5.32 で致命的エラーになる予定です。 | |
15114 | ||
15115 | =begin original | |
15116 | ||
15117 | The contexts where no warnings or errors are raised are: | |
15118 | ||
15119 | =end original | |
15120 | ||
15121 | 警告やエラーが出ない文脈は: | |
15122 | ||
15123 | =over 4 | |
15124 | ||
15125 | =item * | |
15126 | ||
15127 | =begin original | |
15128 | ||
15129 | as the first character in a pattern, or following C<^> indicating to | |
15130 | anchor the match to the beginning of a line. | |
15131 | ||
15132 | =end original | |
15133 | ||
15134 | パターンの最初の文字、あるいは行頭にマッチングすることを示す | |
15135 | C<"^"> に引き続いている場合。 | |
15136 | ||
15137 | =item * | |
15138 | ||
15139 | =begin original | |
15140 | ||
15141 | as the first character following a C<|> indicating alternation. | |
15142 | ||
15143 | =end original | |
15144 | ||
15145 | 代替を示す C<"|"> に引き続く最初の文字の場合。 | |
15146 | ||
15147 | =item * | |
15148 | ||
15149 | =begin original | |
15150 | ||
15151 | as the first character in a parenthesized grouping like | |
15152 | ||
15153 | =end original | |
15154 | ||
15155 | 次のようなかっこ付きグループの最初の文字の場合: | |
15156 | ||
15157 | /foo({bar)/ | |
15158 | /foo(?:{bar)/ | |
15159 | ||
15160 | =item * | |
15161 | ||
15162 | =begin original | |
15163 | ||
15164 | as the first character following a quantifier | |
15165 | ||
15166 | =end original | |
15167 | ||
15168 | 量指定子に引き続く最初の文字の場合 | |
15169 | ||
15170 | /\s*{/ | |
15171 | ||
15172 | =back | |
15173 | ||
15174 | =for comment | |
15175 | The text of the message above is duplicated below to allow splain (and | |
15176 | 'use diagnostics') to work. Since one is fatal, and one not, they can't | |
15177 | be combined as one message. And since the non-fatal one is temporary, | |
15178 | there's no real need to enhance perldiag to handle this transient case. | |
15179 | ||
15180 | =item Unescaped left brace in regex is illegal here in regex; | |
15181 | marked by S<<-- HERE> in m/%s/ | |
15182 | ||
15183 | =begin original | |
15184 | ||
15185 | (F) The simple rule to remember, if you want to | |
15186 | match a literal C<"{"> character (U+007B C<LEFT CURLY BRACKET>) in a | |
15187 | regular expression pattern, is to escape each literal instance of it in | |
15188 | some way. Generally easiest is to precede it with a backslash, like | |
15189 | C<"\{"> or enclose it in square brackets (C<"[{]">). If the pattern | |
15190 | delimiters are also braces, any matching right brace (C<"}">) should | |
15191 | also be escaped to avoid confusing the parser, for example, | |
15192 | ||
15193 | =end original | |
15194 | ||
15195 | (F) 正規表現中で | |
15196 | リテラルな C<"{"> 文字 (U+007B C<LEFT CURLY BRACKET>) にマッチングしたいときに | |
15197 | 覚えておくべき単純な規則は、何らかの方法で | |
15198 | それぞれのリテラルな実体をエスケープすることです。 | |
15199 | 一般的に一番簡単なのは、C<"\{"> のように逆スラッシュを前置するか、 | |
15200 | かっこでかこむ (C<"[{]">) ことです。. | |
15201 | パターン区切り文字も中かっこの場合、マッチングする右中かっこ | |
15202 | (C<"}">) も、パーサーの混乱を避けるためにエスケープするべきです; 例えば: | |
15203 | ||
15204 | qr{abc\{def\}ghi} | |
15205 | ||
15206 | =begin original | |
15207 | ||
15208 | Forcing literal C<"{"> characters to be escaped will enable the Perl | |
15209 | language to be extended in various ways in future releases. To avoid | |
15210 | needlessly breaking existing code, the restriction is is not enforced in | |
15211 | contexts where there are unlikely to ever be extensions that could | |
15212 | conflict with the use there of C<"{"> as a literal. | |
15213 | ||
15214 | =end original | |
15215 | ||
15216 | リテラルな C<"{"> 文字にエスケープを強制することにより、 | |
15217 | 将来のリリースで様々な方法で Perl 言語を拡張できるようになります。 | |
15218 | 既存のコードを不必要に壊すことを避けるために、 | |
15219 | 拡張が C<"{"> をリテラルとして使うことと競合しそうにない文脈では | |
15220 | 制限は強制されません。 | |
15221 | ||
15222 | =begin original | |
15223 | ||
15224 | In this release of Perl, some literal uses of C<"{"> are fatal, and some | |
15225 | still just deprecated. This is because of an oversight: some uses of a | |
15226 | literal C<"{"> that should have raised a deprecation warning starting in | |
15227 | v5.20 did not warn until v5.26. By making the already-warned uses fatal | |
15228 | now, some of the planned extensions can be made to the language sooner. | |
15229 | ||
15230 | =end original | |
15231 | ||
15232 | このリリースの Perl では、C<"{"> のリテラルな使用法の一部は致命的エラーで、 | |
15233 | 一部は単に廃止予定です。 | |
15234 | これは見落としによるものです: v5.20 から廃止予定警告をだすべきだった | |
15235 | リテラルな C<"{"> の使用法の一部は v5.26 まで警告されていませんでした。 | |
15236 | すでに警告されていた使用法を今致命的エラーにすることで、 | |
15237 | 言語に計画されていた拡張の一部をより早く実行できます。 | |
15238 | ||
15239 | =begin original | |
15240 | ||
15241 | The contexts where no warnings or errors are raised are: | |
15242 | ||
15243 | =end original | |
15244 | ||
15245 | 警告やエラーが出ない文脈は: | |
15246 | ||
15247 | =over 4 | |
15248 | ||
15249 | =item * | |
15250 | ||
15251 | =begin original | |
15252 | ||
15253 | as the first character in a pattern, or following C<"^"> indicating to | |
15254 | anchor the match to the beginning of a line. | |
15255 | ||
15256 | =end original | |
15257 | ||
15258 | パターンの最初の文字、あるいは行頭にマッチングすることを示す | |
15259 | C<"^"> に引き続いている場合。 | |
15260 | ||
15261 | =item * | |
15262 | ||
15263 | =begin original | |
15264 | ||
15265 | as the first character following a C<"|"> indicating alternation. | |
15266 | ||
15267 | =end original | |
15268 | ||
15269 | 代替を示す C<"|"> に引き続く最初の文字の場合。 | |
15270 | ||
15271 | =item * | |
15272 | ||
15273 | =begin original | |
15274 | ||
15275 | as the first character in a parenthesized grouping like | |
15276 | ||
15277 | =end original | |
15278 | ||
15279 | 次のようなかっこ付きグループの最初の文字の場合: | |
15280 | ||
15281 | /foo({bar)/ | |
15282 | /foo(?:{bar)/ | |
15283 | ||
15284 | =item * | |
15285 | ||
15286 | =begin original | |
15287 | ||
15288 | as the first character following a quantifier | |
15289 | ||
15290 | =end original | |
15291 | ||
15292 | 量指定子に引き続く最初の文字の場合 | |
15293 | ||
15294 | /\s*{/ | |
15295 | ||
15296 | =back | |
15297 | ||
15298 | =item Unescaped literal '%c' in regex; marked by <-- HERE in m/%s/ | |
15299 | ||
15300 | =begin original | |
15301 | ||
15302 | (W regexp) (only under C<S<use re 'strict'>>) | |
15303 | ||
15304 | =end original | |
15305 | ||
15306 | (W regexp) (C<S<use re 'strict'>> の下のみ) | |
15307 | ||
15308 | =begin original | |
15309 | ||
15310 | Within the scope of C<S<use re 'strict'>> in a regular expression | |
15311 | pattern, you included an unescaped C<}> or C<]> which was interpreted | |
15312 | literally. These two characters are sometimes metacharacters, and | |
15313 | sometimes literals, depending on what precedes them in the | |
15314 | pattern. This is unlike the similar C<)> which is always a | |
15315 | metacharacter unless escaped. | |
15316 | ||
15317 | =end original | |
15318 | ||
15319 | C<S<use re 'strict'>> スコープでの正規表現パターンの中で、 | |
15320 | リテラルとして解釈される、エスケープされない C<}> や C<]> を置きました。 | |
15321 | これらの二つの文字は時にはメタ文字で、ときにはリテラルです; | |
15322 | パターン中で何が前に置かれるかによります。 | |
15323 | これは、エスケープされない限り常にメタ文字である C<)> に似ていますが | |
15324 | 異なります。 | |
15325 | ||
15326 | =begin original | |
15327 | ||
15328 | This action at a distance, perhaps a large distance, can lead to Perl | |
15329 | silently misinterpreting what you meant, so when you specify that you | |
15330 | want extra checking by C<S<use re 'strict'>>, this warning is generated. | |
15331 | If you meant the character as a literal, simply confirm that to Perl by | |
15332 | preceding the character with a backslash, or make it into a bracketed | |
15333 | character class (like C<[}]>). If you meant it as closing a | |
15334 | corresponding C<[> or C<{>, you'll need to look back through the pattern | |
15335 | to find out why that isn't happening. | |
15336 | ||
15337 | =end original | |
15338 | ||
15339 | 遠くで、おそらくはとても遠くでこの動作をすると、Perl は暗黙のままで | |
15340 | あなたの意図を間違って解釈するかもしれないので、 | |
15341 | C<S<use re 'strict'>> で追加のチェックを求めるように指定すると、 | |
15342 | この警告が出力されます。 | |
15343 | この文字がリテラルであるなら、文字の前に逆スラッシュを置くか、 | |
15344 | (C<[}]> のように)大かっこ文字クラスの中に入れることで、Perl に | |
15345 | はっきりさせてください。 | |
15346 | これが対応する C<[> や C<{> を閉じるものなら、 | |
15347 | なぜそれが起きないかを見つけるためにパターン全体を見直してください。 | |
15348 | ||
8125 | 15349 | =item unexec of %s into %s failed! |
8126 | 15350 | |
8127 | 15351 | =begin original |
8128 | 15352 | |
8129 | 15353 | (F) The unexec() routine failed for some reason. See your local FSF |
8130 | 15354 | representative, who probably put it there in the first place. |
8131 | 15355 | |
8132 | 15356 | =end original |
8133 | 15357 | |
8134 | 15358 | (F) unexec() ルーティンが何らかの理由によって失敗しました。 |
8135 | 15359 | 最初にインストールしたであろう、サイトの FSF 代表者にたずねてみてください。 |
8136 | 15360 | |
8137 | =item Un | |
15361 | =item Unexpected binary operator '%c' with no preceding operand in regex; | |
15362 | marked by S<<-- HERE> in m/%s/ | |
8138 | 15363 | |
8139 | 15364 | =begin original |
8140 | 15365 | |
8141 | (F) | |
15366 | (F) You had something like this: | |
8142 | order. | |
8143 | 15367 | |
8144 | 15368 | =end original |
8145 | 15369 | |
8146 | (F) | |
15370 | (F) 以下のようなものを書きました: | |
8147 | 15371 | |
8148 | ||
15372 | (?[ | \p{Digit} ]) | |
8149 | 15373 | |
8150 | 15374 | =begin original |
8151 | 15375 | |
8152 | ||
15376 | where the C<"|"> is a binary operator with an operand on the right, but | |
8153 | ||
15377 | no operand on the left. | |
8154 | lookaround is true), a (?{...}) construct (the condition is true if the | |
8155 | code evaluates to a true value), or a number (the condition is true if the | |
8156 | set of capturing parentheses named by the number is defined). | |
8157 | 15378 | |
8158 | 15379 | =end original |
8159 | 15380 | |
8160 | ||
15381 | ここで C<"|"> は右側にはオペランドがありますが、左側にはオペランドがない | |
8161 | ||
15382 | 2 項演算子です。 | |
8162 | (?{...}) 構文 (コードが真の値に評価されれば真)、 | |
8163 | 数値 (番号付けされた、捕捉されたかっこの集合が定義されていれば真) の | |
8164 | いずれかです。 | |
8165 | 15383 | |
15384 | =item Unexpected character in regex; marked by S<<-- HERE> in m/%s/ | |
15385 | ||
8166 | 15386 | =begin original |
8167 | 15387 | |
8168 | ||
15388 | (F) You had something like this: | |
8169 | discovered. See L<perlre>. | |
8170 | 15389 | |
8171 | 15390 | =end original |
8172 | 15391 | |
8173 | ||
15392 | (F) 以下のようなものを書きました: | |
8174 | L<perlre> を参照してください。 | |
8175 | 15393 | |
15394 | (?[ z ]) | |
15395 | ||
15396 | =begin original | |
15397 | ||
15398 | Within C<(?[ ])>, no literal characters are allowed unless they are | |
15399 | within an inner pair of square brackets, like | |
15400 | ||
15401 | =end original | |
15402 | ||
15403 | C<(?[ ])> の中では、次のようにさらに内側の大かっこの内側でない限り | |
15404 | リテラル文字は許されません | |
15405 | ||
15406 | (?[ [ z ] ]) | |
15407 | ||
15408 | =begin original | |
15409 | ||
15410 | Another possibility is that you forgot a backslash. Perl isn't smart | |
15411 | enough to figure out what you really meant. | |
15412 | ||
15413 | =end original | |
15414 | ||
15415 | もう一つの可能性は、逆スラッシュを忘れたことです。 | |
15416 | Perl はあなたが何を意味しているのかを見つけ出せるほど賢くはありませんでした。 | |
15417 | ||
15418 | =item Unexpected constant lvalue entersub entry via type/targ %d:%d | |
15419 | ||
15420 | =begin original | |
15421 | ||
15422 | (P) When compiling a subroutine call in lvalue context, Perl failed an | |
15423 | internal consistency check. It encountered a malformed op tree. | |
15424 | ||
15425 | =end original | |
15426 | ||
15427 | (P) 左辺値コンテキストでのサブルーチン呼び出しをコンパイルするときに、Perl は | |
15428 | 内部一貫性チェックに失敗しました。 | |
15429 | 不正な構文木に遭遇しました。 | |
15430 | ||
15431 | =item Unexpected exit %u | |
15432 | ||
15433 | =begin original | |
15434 | ||
15435 | (S) exit() was called or the script otherwise finished gracefully when | |
15436 | C<PERL_EXIT_WARN> was set in C<PL_exit_flags>. | |
15437 | ||
15438 | =end original | |
15439 | ||
15440 | (S) C<PL_exit_flags> に C<PERL_EXIT_WARN> が設定されているときに exit() が | |
15441 | 呼び出されたりその他の理由で通常終了しました。 | |
15442 | ||
15443 | =item Unexpected exit failure %d | |
15444 | ||
15445 | =begin original | |
15446 | ||
15447 | (S) An uncaught die() was called when C<PERL_EXIT_WARN> was set in | |
15448 | C<PL_exit_flags>. | |
15449 | ||
15450 | =end original | |
15451 | ||
15452 | (S) C<PL_exit_flags> に C<PERL_EXIT_WARN> が設定されているときに | |
15453 | 捕らえられていない die() が呼び出されました。 | |
15454 | ||
15455 | =item Unexpected ')' in regex; marked by S<<-- HERE> in m/%s/ | |
15456 | ||
15457 | =begin original | |
15458 | ||
15459 | (F) You had something like this: | |
15460 | ||
15461 | =end original | |
15462 | ||
15463 | (F) 以下のようなものを書きました: | |
15464 | ||
15465 | (?[ ( \p{Digit} + ) ]) | |
15466 | ||
15467 | =begin original | |
15468 | ||
15469 | The C<")"> is out-of-place. Something apparently was supposed to | |
15470 | be combined with the digits, or the C<"+"> shouldn't be there, or | |
15471 | something like that. Perl can't figure out what was intended. | |
15472 | ||
15473 | =end original | |
15474 | ||
15475 | C<")"> の場所がおかしいです。 | |
15476 | 何かを数値と結合しようとしていたのか、C<"+"> があるべきでないのか、あるいは | |
15477 | 似たような何かです。 | |
15478 | Perl は何を意図しているのかが分かりませんでした。 | |
15479 | ||
15480 | =item Unexpected ']' with no following ')' in (?[... in regex; marked by | |
15481 | <-- HERE in m/%s/ | |
15482 | ||
15483 | =begin original | |
15484 | ||
15485 | (F) While parsing an extended character class a ']' character was | |
15486 | encountered at a point in the definition where the only legal use of | |
15487 | ']' is to close the character class definition as part of a '])', you | |
15488 | may have forgotten the close paren, or otherwise confused the parser. | |
15489 | ||
15490 | =end original | |
15491 | ||
15492 | (F) 拡張文字クラスのパース中、'])' の一部として文字クラス定義を | |
15493 | 閉じることが唯一の有効な ']' の使い方である位置で ']' に遭遇しました; | |
15494 | 閉じかっこを忘れているか、さもなければパーサが混乱しています。 | |
15495 | ||
15496 | =item Unexpected '(' with no preceding operator in regex; marked by | |
15497 | S<<-- HERE> in m/%s/ | |
15498 | ||
15499 | =begin original | |
15500 | ||
15501 | (F) You had something like this: | |
15502 | ||
15503 | =end original | |
15504 | ||
15505 | (F) 以下のようなものを書きました: | |
15506 | ||
15507 | (?[ \p{Digit} ( \p{Lao} + \p{Thai} ) ]) | |
15508 | ||
15509 | =begin original | |
15510 | ||
15511 | There should be an operator before the C<"(">, as there's | |
15512 | no indication as to how the digits are to be combined | |
15513 | with the characters in the Lao and Thai scripts. | |
15514 | ||
15515 | =end original | |
15516 | ||
15517 | これらは C<"("> の前の演算子であるべきです; ラオ語やタイ語で数字とこれらの | |
15518 | 文字がどのように結びつくかの指示がないからです。 | |
15519 | ||
15520 | =item Unicode non-character U+%X is not recommended for open interchange | |
15521 | ||
15522 | =begin original | |
15523 | ||
15524 | (S nonchar) Certain codepoints, such as U+FFFE and U+FFFF, are | |
15525 | defined by the Unicode standard to be non-characters. Those | |
15526 | are legal codepoints, but are reserved for internal use; so, | |
15527 | applications shouldn't attempt to exchange them. An application | |
15528 | may not be expecting any of these characters at all, and receiving | |
15529 | them may lead to bugs. If you know what you are doing you can | |
15530 | turn off this warning by C<no warnings 'nonchar';>. | |
15531 | ||
15532 | =end original | |
15533 | ||
15534 | (S nonchar) U+FFFE や U+FFFF のようないくつかの符号位置は | |
15535 | Unicode 標準によって非文字として指定されています。 | |
15536 | これらは有効な符号位置ですが、内部使用のために予約されています; 従って、 | |
15537 | アプリケーションはこれを交換しようとするべきではありません。 | |
15538 | アプリケーションは、これらの文字を想定するべきではなく、これらを | |
15539 | 受け取るとバグを引き起こすことがあります。 | |
15540 | もし自分が何をしているかを理解しているなら、C<no warnings 'nonchar';> で | |
15541 | 警告を無効にできます。 | |
15542 | ||
15543 | =begin original | |
15544 | ||
15545 | This is not really a "severe" error, but it is supposed to be | |
15546 | raised by default even if warnings are not enabled, and currently | |
15547 | the only way to do that in Perl is to mark it as serious. | |
15548 | ||
15549 | =end original | |
15550 | ||
15551 | これは実際には「重大な」エラーではありませんが、例え警告が有効でなくても | |
15552 | デフォルトで発生させることになっていて、今のところ Perl で出来る唯一のことは | |
15553 | これを重大なものとして扱うことです。 | |
15554 | ||
15555 | =item Unicode surrogate U+%X is illegal in UTF-8 | |
15556 | ||
15557 | =begin original | |
15558 | ||
15559 | (S surrogate) You had a UTF-16 surrogate in a context where they are | |
15560 | not considered acceptable. These code points, between U+D800 and | |
15561 | U+DFFF (inclusive), are used by Unicode only for UTF-16. However, Perl | |
15562 | internally allows all unsigned integer code points (up to the size limit | |
15563 | available on your platform), including surrogates. But these can cause | |
15564 | problems when being input or output, which is likely where this message | |
15565 | came from. If you really really know what you are doing you can turn | |
15566 | off this warning by C<no warnings 'surrogate';>. | |
15567 | ||
15568 | =end original | |
15569 | ||
15570 | (S surrogate) 受け付けられないと考えられる場所に UTF-16 サロゲートを | |
15571 | 使いました。 | |
15572 | これらの符号位置、U+D800 から U+DFFF (両端含む) は UTF-16 のためだけに | |
15573 | Unicode によって使われます。 | |
15574 | しかし Perl は、サロゲートを含む、内部で全ての符号なし整数の符号位置(最大値は | |
15575 | プラットフォームで利用可能なサイズ上限)を受け付けます。 | |
15576 | しかし、これらは入力や出力になるときに問題を引き起こします; それは | |
15577 | おそらくこのメッセージが出た場所です。 | |
15578 | 自分で何をしているのかが本当に本当に分かっているなら、 | |
15579 | C<no warnings 'surrogate';> とすることでこの警告をオフにできます。 | |
15580 | ||
15581 | =item Unknown charname '%s' | |
15582 | ||
15583 | =begin original | |
15584 | ||
15585 | (F) The name you used inside C<\N{}> is unknown to Perl. Check the | |
15586 | spelling. You can say C<use charnames ":loose"> to not have to be | |
15587 | so precise about spaces, hyphens, and capitalization on standard Unicode | |
15588 | names. (Any custom aliases that have been created must be specified | |
15589 | exactly, regardless of whether C<:loose> is used or not.) This error may | |
15590 | also happen if the C<\N{}> is not in the scope of the corresponding | |
15591 | C<S<use charnames>>. | |
15592 | ||
15593 | =end original | |
15594 | ||
15595 | (F) C<\N{}> の内側で使った名前は Perl が知らないものでした。 | |
15596 | 綴りをチェックしてください。 | |
15597 | C<use charnames ":loose"> と指定することで、標準 Unicode 名の空白、ハイフン、 | |
15598 | 大文字小文字についてはそれほど正確でなくてもいいようになります。 | |
15599 | (作成されたカスタム別名は、C<:loose> のありなしに関わらず正確に | |
15600 | 指定されなければなりません。) | |
15601 | このエラーは、C<\N{}> が、対応する C<S<use charnames>> のスコープ内に | |
15602 | ないときにも起こることがあります。 | |
15603 | ||
15604 | =item Unknown '(*...)' construct '%s' in regex; marked by <-- HERE in m/%s/ | |
15605 | ||
15606 | =begin original | |
15607 | ||
15608 | (F) The C<(*> was followed by something that the regular expression | |
15609 | compiler does not recognize. Check your spelling. | |
15610 | ||
15611 | =end original | |
15612 | ||
15613 | (F) C<(*> に、何か正規表現コンパイラが理解できないものが | |
15614 | 引き続いていました。 | |
15615 | 綴りをチェックしてください。 | |
15616 | ||
15617 | =item Unknown error | |
15618 | ||
15619 | =begin original | |
15620 | ||
15621 | (P) Perl was about to print an error message in C<$@>, but the C<$@> variable | |
15622 | did not exist, even after an attempt to create it. | |
15623 | ||
15624 | =end original | |
15625 | ||
15626 | (P) Perl は C<$@> のエラーメッセージを表示しようとしましたが、C<$@> 変数が | |
15627 | (たとえ作ろうとした後でも) 存在しませんでした。 | |
15628 | ||
15629 | =item Unknown locale category %d; can't set it to %s | |
15630 | ||
15631 | =begin original | |
15632 | ||
15633 | (W locale) You used a locale category that perl doesn't recognize, so it | |
15634 | cannot carry out your request. Check that you are using a valid | |
15635 | category. If so, see L<perllocale/Multi-threaded> for advice on | |
15636 | reporting this as a bug, and for modifying perl locally to accommodate | |
15637 | your needs. | |
15638 | ||
15639 | =end original | |
15640 | ||
15641 | (W locale) perl が認識できないロケールカテゴリを使ったので、 | |
15642 | 要求を実行することができません。 | |
15643 | 正しいカテゴリを使っているかチェックしてください。 | |
15644 | もしそうなら、これをバグとして報告する助言や、必要性に対応するために | |
15645 | perl をローカルで修正する方法について L<perllocale/Multi-threaded> を | |
15646 | 参照してください。 | |
15647 | ||
8176 | 15648 | =item Unknown open() mode '%s' |
8177 | 15649 | |
8178 | 15650 | =begin original |
8179 | 15651 | |
8180 | 15652 | (F) The second argument of 3-argument open() is not among the list |
8181 | 15653 | of valid modes: C<< < >>, C<< > >>, C<<< >> >>>, C<< +< >>, |
8182 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|->. | |
15654 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|->, C<< <& >>, C<< >& >>. | |
8183 | 15655 | |
8184 | 15656 | =end original |
8185 | 15657 | |
8186 | 15658 | (F) 3 引数 open() の 第 2 引数が以下の有効なモードの |
8187 | 15659 | どれでもありませんでした: |
8188 | 15660 | C<< < >>, C<< > >>, C<<< >> >>>, C<< +< >>, |
8189 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|-> | |
15661 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|->, C<< <& >>, C<< >& >> | |
8190 | 15662 | |
15663 | =item Unknown PerlIO layer "%s" | |
15664 | ||
15665 | =begin original | |
15666 | ||
15667 | (W layer) An attempt was made to push an unknown layer onto the Perl I/O | |
15668 | system. (Layers take care of transforming data between external and | |
15669 | internal representations.) Note that some layers, such as C<mmap>, | |
15670 | are not supported in all environments. If your program didn't | |
15671 | explicitly request the failing operation, it may be the result of the | |
15672 | value of the environment variable PERLIO. | |
15673 | ||
15674 | =end original | |
15675 | ||
15676 | (W layer) 不明な層をPerl I/O システムに追加しようとしました。 | |
15677 | (層はデータの外部表現と内部表現の変換を扱います。) | |
15678 | C<mmap> のような層は、全ての環境で対応しているわけではないことに | |
15679 | 注意してください。 | |
15680 | 明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の | |
15681 | 値が原因かもしれません。 | |
15682 | ||
8191 | 15683 | =item Unknown process %x sent message to prime_env_iter: %s |
8192 | 15684 | |
8193 | 15685 | =begin original |
8194 | 15686 | |
8195 | 15687 | (P) An error peculiar to VMS. Perl was reading values for %ENV before |
8196 | 15688 | iterating over it, and someone else stuck a message in the stream of |
8197 | 15689 | data Perl expected. Someone's very confused, or perhaps trying to |
8198 | 15690 | subvert Perl's population of %ENV for nefarious purposes. |
8199 | 15691 | |
8200 | 15692 | =end original |
8201 | 15693 | |
8202 | (P) VMS 固有のエラーです。 | |
15694 | (P) VMS に固有のエラーです。 | |
8203 | 15695 | Perl は %ENV を反復する前に %ENV から値を読み込み、Perl が想定している |
8204 | 15696 | データストリームの中に誰かがメッセージを差し込みました。 |
8205 | 15697 | 誰かはとても混乱しているか、邪悪な目的のために %ENV の Perl の集団を |
8206 | 15698 | 滅亡させようとしています。 |
8207 | 15699 | |
8208 | =item | |
15700 | =item Unknown regexp modifier "/%s" | |
8209 | 15701 | |
8210 | 15702 | =begin original |
8211 | 15703 | |
8212 | (F) | |
15704 | (F) Alphanumerics immediately following the closing delimiter | |
15705 | of a regular expression pattern are interpreted by Perl as modifier | |
15706 | flags for the regex. One of the ones you specified is invalid. One way | |
15707 | this can happen is if you didn't put in white space between the end of | |
15708 | the regex and a following alphanumeric operator: | |
15709 | ||
15710 | =end original | |
15711 | ||
15712 | (F) 正規表現で、閉じデリミタの直後の英数字は Perl によって正規表現への | |
15713 | 修飾子フラグと解釈されます。 | |
15714 | その一つが不正でした。 | |
15715 | これが起きる一つの可能性は、正規表現の終わりと引き続く英数字演算子の間に | |
15716 | 空白を置いていない場合です: | |
15717 | ||
15718 | if ($a =~ /foo/and $bar == 3) { ... } | |
15719 | ||
15720 | =begin original | |
15721 | ||
15722 | The C<"a"> is a valid modifier flag, but the C<"n"> is not, and raises | |
15723 | this error. Likely what was meant instead was: | |
15724 | ||
15725 | =end original | |
15726 | ||
15727 | C<"a"> は正当な修飾子フラグですが、C<"n"> は違うので、このエラーが起こります。 | |
15728 | おそらくしたかったのは以下のようなことでしょう: | |
15729 | ||
15730 | if ($a =~ /foo/ and $bar == 3) { ... } | |
15731 | ||
15732 | =item Unknown "re" subpragma '%s' (known ones are: %s) | |
15733 | ||
15734 | =begin original | |
15735 | ||
15736 | (W) You tried to use an unknown subpragma of the "re" pragma. | |
15737 | ||
15738 | =end original | |
15739 | ||
15740 | (W) "re" プラグマの、不明なサブプラグマを使おうとしました。 | |
15741 | ||
15742 | =item Unknown switch condition (?(...)) in regex; marked by S<<-- HERE> in | |
15743 | m/%s/ | |
15744 | ||
15745 | =begin original | |
15746 | ||
15747 | (F) The condition part of a (?(condition)if-clause|else-clause) construct | |
15748 | is not known. The condition must be one of the following: | |
15749 | ||
15750 | =end original | |
15751 | ||
15752 | (?(...)if-clause|else-clause) 構造の条件部が不明です。 | |
15753 | 条件は以下のいずれかでなければなりません。 | |
15754 | ||
15755 | (1) (2) ... true if 1st, 2nd, etc., capture matched | |
15756 | (<NAME>) ('NAME') true if named capture matched | |
15757 | (?=...) (?<=...) true if subpattern matches | |
15758 | (*pla:...) (*plb:...) true if subpattern matches; also | |
15759 | (*positive_lookahead:...) | |
15760 | (*positive_lookbehind:...) | |
15761 | (*nla:...) (*nlb:...) true if subpattern fails to match; also | |
15762 | (*negative_lookahead:...) | |
15763 | (*negative_lookbehind:...) | |
15764 | (?{ CODE }) true if code returns a true value | |
15765 | (R) true if evaluating inside recursion | |
15766 | (R1) (R2) ... true if directly inside capture group 1, 2, | |
15767 | etc. | |
15768 | (R&NAME) true if directly inside named capture | |
15769 | (DEFINE) always false; for defining named subpatterns | |
15770 | ||
15771 | =begin original | |
15772 | ||
15773 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
15774 | discovered. See L<perlre>. | |
15775 | ||
15776 | =end original | |
15777 | ||
15778 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
15779 | L<perlre> を参照してください。 | |
15780 | ||
15781 | =item Unknown Unicode option letter '%c' | |
15782 | ||
15783 | =begin original | |
15784 | ||
15785 | (F) You specified an unknown Unicode option. See L<perlrun> documentation | |
15786 | of the C<-C> switch for the list of known options. | |
15787 | ||
15788 | =end original | |
15789 | ||
15790 | (F) 不明な Unicode オプションを指定しました。 | |
15791 | オプションの一覧については、L<perlrun> ドキュメントの C<-C> オプションを | |
15792 | 参照してください。 | |
15793 | ||
15794 | =item Unknown Unicode option value %d | |
15795 | ||
15796 | =begin original | |
15797 | ||
15798 | (F) You specified an unknown Unicode option. See L<perlrun> documentation | |
15799 | of the C<-C> switch for the list of known options. | |
15800 | ||
15801 | =end original | |
15802 | ||
15803 | (F) 不明な Unicode オプションを指定しました。 | |
15804 | オプションの一覧については、L<perlrun> ドキュメントの C<-C> オプションを | |
15805 | 参照してください。 | |
15806 | ||
15807 | =item Unknown verb pattern '%s' in regex; marked by S<<-- HERE> in m/%s/ | |
15808 | ||
15809 | =begin original | |
15810 | ||
15811 | (F) You either made a typo or have incorrectly put a C<*> quantifier | |
15812 | after an open brace in your pattern. Check the pattern and review | |
15813 | L<perlre> for details on legal verb patterns. | |
15814 | ||
15815 | =end original | |
15816 | ||
15817 | (F) タイプミスをしたか、間違ってパターン中の開き大かっこの後に | |
15818 | C<*> 量指定子を書いたかどちらかです。 | |
15819 | パターンをチェックして、有効な動詞パターンの詳細については | |
15820 | L<perlre> を再チェックしてください。 | |
15821 | ||
15822 | =item Unknown warnings category '%s' | |
15823 | ||
15824 | =begin original | |
15825 | ||
15826 | (F) An error issued by the C<warnings> pragma. You specified a warnings | |
15827 | category that is unknown to perl at this point. | |
15828 | ||
15829 | =end original | |
15830 | ||
15831 | (F) C<warnings> プラグマによるエラーです。 | |
15832 | 現在のところ perl が知らない警告カテゴリを指定しました。 | |
15833 | ||
15834 | =begin original | |
15835 | ||
15836 | Note that if you want to enable a warnings category registered by a | |
15837 | module (e.g. C<use warnings 'File::Find'>), you must have loaded this | |
15838 | module first. | |
15839 | ||
15840 | =end original | |
15841 | ||
15842 | (C<use warnings 'File::Find'> のように)モジュールによって登録される | |
15843 | 警告カテゴリを有効にしたい場合、このモジュールを先に読み込む必要が | |
15844 | あることに注意してください。 | |
15845 | ||
15846 | =item Unmatched [ in regex; marked by S<<-- HERE> in m/%s/ | |
15847 | ||
15848 | =begin original | |
15849 | ||
15850 | (F) The brackets around a character class must match. If you wish to | |
8213 | 15851 | include a closing bracket in a character class, backslash it or put it |
8214 | first. | |
15852 | first. The S<<-- HERE> shows whereabouts in the regular expression the | |
8215 | ||
15853 | problem was discovered. See L<perlre>. | |
8216 | 15854 | |
8217 | 15855 | =end original |
8218 | 15856 | |
8219 | 15857 | (F) 文字クラスの周りの大かっこが一致していません。 |
8220 | 15858 | 文字クラスに閉じ大かっこを含めたい場合は、バックスラッシュをつけるか |
8221 | 15859 | 先頭に置いてください。 |
15860 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
8222 | 15861 | L<perlre> を参照してください。 |
8223 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
8224 | 15862 | |
8225 | =item | |
15863 | =item Unmatched ( in regex; marked by S<<-- HERE> in m/%s/ | |
8226 | 15864 | |
15865 | =item Unmatched ) in regex; marked by S<<-- HERE> in m/%s/ | |
15866 | ||
8227 | 15867 | =begin original |
8228 | 15868 | |
8229 | 15869 | (F) Unbackslashed parentheses must always be balanced in regular |
8230 | expressions. If you're a vi user, the % key is valuable for finding | |
15870 | expressions. If you're a vi user, the % key is valuable for finding | |
8231 | matching parenthesis. | |
15871 | the matching parenthesis. The S<<-- HERE> shows whereabouts in the | |
15872 | regular expression the problem was discovered. See L<perlre>. | |
8232 | 15873 | |
8233 | 15874 | =end original |
8234 | 15875 | |
8235 | 15876 | (F) 正規表現の中ではバックスラッシュのついていないかっこは常に |
8236 | 15877 | 対応していなければなりません。 |
8237 | 15878 | vi ユーザーであれば、% キーが対応するかっこの発見に有用です。 |
15879 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
8238 | 15880 | L<perlre> を参照してください。 |
8239 | 15881 | |
8240 | 15882 | =item Unmatched right %s bracket |
8241 | 15883 | |
8242 | 15884 | =begin original |
8243 | 15885 | |
8244 | 15886 | (F) The lexer counted more closing curly or square brackets than opening |
8245 | 15887 | ones, so you're probably missing a matching opening bracket. As a |
8246 | 15888 | general rule, you'll find the missing one (so to speak) near the place |
8247 | 15889 | you were last editing. |
8248 | 15890 | |
8249 | 15891 | =end original |
8250 | 15892 | |
8251 | (F) | |
15893 | (F) 文法解析器が、閉じ中かっこや大かっこが開きかっこよりも多いことを | |
8252 | 見つけました。 | |
15894 | 見つけました; おそらく対応する開きかっこを忘れたのでしょう。 | |
8253 | ||
15895 | 一般的な規則として、忘れたかっこ(そう呼ぶなら)はあなたが最後に編集した | |
8254 | ||
15896 | 場所の近くにあります。 | |
8255 | または大括弧 (であるはずのもの) があることでしょう。 | |
8256 | 15897 | |
8257 | 15898 | =item Unquoted string "%s" may clash with future reserved word |
8258 | 15899 | |
8259 | 15900 | =begin original |
8260 | 15901 | |
8261 | 15902 | (W reserved) You used a bareword that might someday be claimed as a |
8262 | 15903 | reserved word. It's best to put such a word in quotes, or capitalize it |
8263 | 15904 | somehow, or insert an underbar into it. You might also declare it as a |
8264 | 15905 | subroutine. |
8265 | 15906 | |
8266 | 15907 | =end original |
8267 | 15908 | |
8268 | 15909 | (W) いつの日にか、予約語とかち合うかもしれない、裸の単語を使用しています。 |
8269 | 15910 | そのような単語は、クォートするか、大文字を入れるか、アンダーバー (_) を |
8270 | 15911 | いれるかしてください。 |
8271 | その裸の単語は、サブルー | |
15912 | その裸の単語は、サブルーチンとして宣言することも可能です。 | |
8272 | 15913 | |
8273 | =item Unrecognized character %s | |
15914 | =item Unrecognized character %s; marked by S<<-- HERE> after %s near column | |
15915 | %d | |
8274 | 15916 | |
8275 | 15917 | =begin original |
8276 | 15918 | |
8277 | 15919 | (F) The Perl parser has no idea what to do with the specified character |
8278 | in your Perl script (or eval) | |
15920 | in your Perl script (or eval) near the specified column. Perhaps you | |
8279 | script, a binary program, or a directory as | |
15921 | tried to run a compressed script, a binary program, or a directory as | |
15922 | a Perl program. | |
8280 | 15923 | |
8281 | 15924 | =end original |
8282 | 15925 | |
8283 | (F) Perl パーサーは、Perl スクリプト(または eval) で | |
15926 | (F) Perl パーサーは、Perl スクリプト(または eval) で指定された桁数あたりに | |
8284 | どうすればよいか分かりませんでした。 | |
15927 | 出てきた文字に対してどうすればよいか分かりませんでした。 | |
8285 | 15928 | おそらく圧縮したスクリプト、バイナリプログラム、ディレクトリといったものを |
8286 | 15929 | Perl プログラムとして実行しようとしたのでしょう。 |
8287 | 15930 | |
8288 | =item | |
15931 | =item Unrecognized escape \%c in character class in regex; marked by | |
15932 | S<<-- HERE> in m/%s/ | |
8289 | 15933 | |
8290 | 15934 | =begin original |
8291 | 15935 | |
15936 | (F) You used a backslash-character combination which is not | |
15937 | recognized by Perl inside character classes. This is a fatal | |
15938 | error when the character class is used within C<(?[ ])>. | |
15939 | ||
15940 | =end original | |
15941 | ||
15942 | (F) Perl の内部文字クラスとして認識されない逆スラッシュ文字並びを使いました。 | |
15943 | これは文字クラスが C<(?[ ])> の中で使われた時は致命的エラーです。 | |
15944 | ||
15945 | =item Unrecognized escape \%c in character class passed through in regex; | |
15946 | marked by S<<-- HERE> in m/%s/ | |
15947 | ||
15948 | =begin original | |
15949 | ||
8292 | 15950 | (W regexp) You used a backslash-character combination which is not |
8293 | 15951 | recognized by Perl inside character classes. The character was |
8294 | understood literally. | |
15952 | understood literally, but this may change in a future version of Perl. | |
15953 | The S<<-- HERE> shows whereabouts in the regular expression the | |
15954 | escape was discovered. | |
8295 | 15955 | |
8296 | 15956 | =end original |
8297 | 15957 | |
8298 | 15958 | (W regexp) Perl 内部文字クラスで認識できない、バックスラッシュ-文字の |
8299 | 15959 | 組み合わせを使いました。 |
8300 | 文字はリテラルに理 | |
15960 | 文字はリテラルに処理されますが、将来のバージョンの Perl では | |
15961 | 変更されるかもしれません。 | |
15962 | S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。 | |
8301 | 15963 | |
8302 | =item Unrecognized escape \ | |
15964 | =item Unrecognized escape \%c passed through | |
8303 | 15965 | |
8304 | 15966 | =begin original |
8305 | 15967 | |
8306 | (W | |
15968 | (W misc) You used a backslash-character combination which is not | |
8307 | recognized by Perl. Th | |
15969 | recognized by Perl. The character was understood literally, but this may | |
8308 | a | |
15970 | change in a future version of Perl. | |
8309 | literally. The << HERE shows in the regular expression about where the escape | |
8310 | was discovered. | |
8311 | 15971 | |
8312 | 15972 | =end original |
8313 | 15973 | |
8314 | (W | |
15974 | (W misc) Perl が理解できないバックスラッシュ-文字の組み合わせが | |
8315 | 15975 | 使われています。 |
8316 | ||
15976 | 文字はリテラルに処理されますが、将来のバージョンの Perl では | |
8317 | ||
15977 | 変更されるかもしれません。 | |
8318 | この文字はリテラルに処理されます。 | |
8319 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
8320 | 15978 | |
8321 | =item Unrecognized escape \ | |
15979 | =item Unrecognized escape \%s passed through in regex; marked by | |
15980 | S<<-- HERE> in m/%s/ | |
8322 | 15981 | |
8323 | 15982 | =begin original |
8324 | 15983 | |
8325 | (W | |
15984 | (W regexp) You used a backslash-character combination which is not | |
8326 | recognized by Perl. | |
15985 | recognized by Perl. The character(s) were understood literally, but | |
15986 | this may change in a future version of Perl. The S<<-- HERE> shows | |
15987 | whereabouts in the regular expression the escape was discovered. | |
8327 | 15988 | |
8328 | 15989 | =end original |
8329 | 15990 | |
8330 | (W | |
15991 | (W regexp) Perl が認識できない、バックスラッシュ-文字の組み合わせが | |
8331 | 15992 | 使われています。 |
15993 | 文字はリテラルに処理されますが、将来のバージョンの Perl では | |
15994 | 変更されるかもしれません。 | |
15995 | S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。 | |
8332 | 15996 | |
8333 | 15997 | =item Unrecognized signal name "%s" |
8334 | 15998 | |
8335 | 15999 | =begin original |
8336 | 16000 | |
8337 | 16001 | (F) You specified a signal name to the kill() function that was not |
8338 | 16002 | recognized. Say C<kill -l> in your shell to see the valid signal names |
8339 | 16003 | on your system. |
8340 | 16004 | |
8341 | 16005 | =end original |
8342 | 16006 | |
8343 | 16007 | (F) kill() 関数に、認識できないシグナル名を指定しました。 |
8344 | 16008 | お使いのシステムで使用可能なシグナル名を調べるには、 |
8345 | 16009 | シェル上で C<kill -l> などとしてください。 |
8346 | 16010 | |
8347 | 16011 | =item Unrecognized switch: -%s (-h will show valid options) |
8348 | 16012 | |
8349 | 16013 | =begin original |
8350 | 16014 | |
8351 | 16015 | (F) You specified an illegal option to Perl. Don't do that. (If you |
8352 | 16016 | think you didn't do that, check the #! line to see if it's supplying the |
8353 | 16017 | bad switch on your behalf.) |
8354 | 16018 | |
8355 | 16019 | =end original |
8356 | 16020 | |
8357 | 16021 | (F) Perl に間違ったオプションを指定しました。 |
8358 | 16022 | これを行なってはいけません。 |
8359 | 16023 | (指定したつもりがないのであれば、#! 行に間違ったオプションが |
8360 | 16024 | スイッチが指定されていないかをチェックしてください。) |
8361 | 16025 | |
8362 | 16026 | =item Unsuccessful %s on filename containing newline |
8363 | 16027 | |
8364 | 16028 | =begin original |
8365 | 16029 | |
8366 | 16030 | (W newline) A file operation was attempted on a filename, and that |
8367 | 16031 | operation failed, PROBABLY because the filename contained a newline, |
8368 | 16032 | PROBABLY because you forgot to chomp() it off. See L<perlfunc/chomp>. |
8369 | 16033 | |
8370 | 16034 | =end original |
8371 | 16035 | |
8372 | 16036 | (W newline) あるファイル名に対して、ファイル操作を行ないましたが、 |
8373 | 失敗しました | |
16037 | 失敗しました; 「おそらく」ファイル名に改行文字がついていたからで、 | |
8374 | 「おそらく」ファイル名に改行文字がついていたからで、 | |
8375 | 16038 | 「おそらく」 chomp() するのを忘れたのでしょう。 |
8376 | 16039 | L<perlfunc/chomp> を参照してください。 |
8377 | 16040 | |
8378 | 16041 | =item Unsupported directory function "%s" called |
8379 | 16042 | |
8380 | 16043 | =begin original |
8381 | 16044 | |
8382 | 16045 | (F) Your machine doesn't support opendir() and readdir(). |
8383 | 16046 | |
8384 | 16047 | =end original |
8385 | 16048 | |
8386 | 16049 | (F) このマシンでは、opendir() や readdir() がサポートされていません。 |
8387 | 16050 | |
8388 | 16051 | =item Unsupported function %s |
8389 | 16052 | |
8390 | 16053 | =begin original |
8391 | 16054 | |
8392 | 16055 | (F) This machine doesn't implement the indicated function, apparently. |
8393 | 16056 | At least, Configure doesn't think so. |
8394 | 16057 | |
8395 | 16058 | =end original |
8396 | 16059 | |
8397 | 16060 | (F) このマシンでは、表示した関数は実装されていません。 |
8398 | 16061 | 少なくとも、Configure はそう判断しました。 |
8399 | 16062 | |
8400 | 16063 | =item Unsupported function fork |
8401 | 16064 | |
8402 | 16065 | =begin original |
8403 | 16066 | |
8404 | 16067 | (F) Your version of executable does not support forking. |
8405 | 16068 | |
8406 | 16069 | =end original |
8407 | 16070 | |
8408 | 16071 | (F) この実行ファイルは fork に対応していません。 |
8409 | 16072 | |
8410 | 16073 | =begin original |
8411 | 16074 | |
8412 | 16075 | Note that under some systems, like OS/2, there may be different flavors |
8413 | of Perl executables, some of which may support fork, some not. Try | |
16076 | of Perl executables, some of which may support fork, some not. Try | |
8414 | 16077 | changing the name you call Perl by to C<perl_>, C<perl__>, and so on. |
8415 | 16078 | |
8416 | 16079 | =end original |
8417 | 16080 | |
8418 | 16081 | OS/2 のようなシステムには、Perl 実行ファイルにいくつかの種類があり、 |
8419 | 16082 | fork に対応しているものとしていないものがあります。 |
8420 | 16083 | Perl を呼び出す時の名前を C<perl_>, C<perl__> のように |
8421 | 16084 | 変えてみてください。 |
8422 | 16085 | |
8423 | =item Unsupported script encoding | |
16086 | =item Unsupported script encoding %s | |
8424 | 16087 | |
8425 | 16088 | =begin original |
8426 | 16089 | |
8427 | 16090 | (F) Your program file begins with a Unicode Byte Order Mark (BOM) which |
8428 | declares it to be in a Unicode encoding that Perl cannot | |
16091 | declares it to be in a Unicode encoding that Perl cannot read. | |
8429 | 16092 | |
8430 | 16093 | =end original |
8431 | 16094 | |
8432 | 16095 | (F) プログラムファイルが、Perl が読み込めない Unicode エンコーディングを |
8433 | 16096 | 宣言する Unicode Byte Order Mark (BOM) で始まっています。 |
8434 | 16097 | |
8435 | 16098 | =item Unsupported socket function "%s" called |
8436 | 16099 | |
8437 | 16100 | =begin original |
8438 | 16101 | |
8439 | 16102 | (F) Your machine doesn't support the Berkeley socket mechanism, or at |
8440 | 16103 | least that's what Configure thought. |
8441 | 16104 | |
8442 | 16105 | =end original |
8443 | 16106 | |
8444 | 16107 | (F) このマシンでは、Berkeley ソケット機構がサポートされていないか、 |
8445 | 16108 | 少なくとも Configure がそう判断しました。 |
8446 | 16109 | |
16110 | =item Unterminated '(*...' argument in regex; marked by <-- HERE in m/%s/ | |
16111 | ||
16112 | =begin original | |
16113 | ||
16114 | (F) You used a pattern of the form C<(*...:...)> but did not terminate | |
16115 | the pattern with a C<)>. Fix the pattern and retry. | |
16116 | ||
16117 | =end original | |
16118 | ||
16119 | (F) C<(*...:...)> 形式のパターンを使いましたが、パターンが | |
16120 | C<)> で終端されていません。 | |
16121 | パターンを修正して再挑戦してください。 | |
16122 | ||
8447 | 16123 | =item Unterminated attribute list |
8448 | 16124 | |
8449 | 16125 | =begin original |
8450 | 16126 | |
8451 | 16127 | (F) The lexer found something other than a simple identifier at the |
8452 | 16128 | start of an attribute, and it wasn't a semicolon or the start of a |
8453 | 16129 | block. Perhaps you terminated the parameter list of the previous |
8454 | 16130 | attribute too soon. See L<attributes>. |
8455 | 16131 | |
8456 | 16132 | =end original |
8457 | 16133 | |
8458 | 16134 | (F) 字句解析器が、属性の先頭として単純な識別子やセミコロンやブロックの |
8459 | 16135 | 開始でないものを発見しました。 |
8460 | 16136 | おそらく以前の属性のパラメータリストを早く終端しすぎたのでしょう。 |
8461 | 16137 | L<attributes> を参照してください。 |
8462 | 16138 | |
8463 | 16139 | =item Unterminated attribute parameter in attribute list |
8464 | 16140 | |
8465 | 16141 | =begin original |
8466 | 16142 | |
8467 | 16143 | (F) The lexer saw an opening (left) parenthesis character while parsing |
8468 | 16144 | an attribute list, but the matching closing (right) parenthesis |
8469 | 16145 | character was not found. You may need to add (or remove) a backslash |
8470 | 16146 | character to get your parentheses to balance. See L<attributes>. |
8471 | 16147 | |
8472 | 16148 | =end original |
8473 | 16149 | |
8474 | 16150 | (F) 字句解析器が、属性リストをパースしているときに開き(左)かっこを |
8475 | 16151 | 発見しましたが、対応する閉じ(右)かっこが見つかりませんでした。 |
8476 | 16152 | かっこのバランスを取るために、バックスラッシュを追加(または削除)する |
8477 | 16153 | 必要があるでしょう。 |
8478 | 16154 | L<attributes> を参照してください。 |
8479 | 16155 | |
8480 | 16156 | =item Unterminated compressed integer |
8481 | 16157 | |
8482 | 16158 | =begin original |
8483 | 16159 | |
8484 | 16160 | (F) An argument to unpack("w",...) was incompatible with the BER |
8485 | 16161 | compressed integer format and could not be converted to an integer. |
8486 | 16162 | See L<perlfunc/pack>. |
8487 | 16163 | |
8488 | 16164 | =end original |
8489 | 16165 | |
8490 | 16166 | (F) unpack("w",...) の引数が BER 圧縮整数フォーマットと互換性がなく、 |
8491 | 16167 | 整数に変換できませんでした。 |
8492 | 16168 | L<perlfunc/pack> を参照してください。 |
8493 | 16169 | |
16170 | =item Unterminated '(*...' construct in regex; marked by <-- HERE in m/%s/ | |
16171 | ||
16172 | =begin original | |
16173 | ||
16174 | (F) You used a pattern of the form C<(*...)> but did not terminate | |
16175 | the pattern with a C<)>. Fix the pattern and retry. | |
16176 | ||
16177 | =end original | |
16178 | ||
16179 | (F) C<(*...)> 形式のパターンを使いましたが、パターンが | |
16180 | C<)> で終端されていません。 | |
16181 | パターンを修正して再挑戦してください。 | |
16182 | ||
16183 | =item Unterminated delimiter for here document | |
16184 | ||
16185 | =begin original | |
16186 | ||
16187 | (F) This message occurs when a here document label has an initial | |
16188 | quotation mark but the final quotation mark is missing. Perhaps | |
16189 | you wrote: | |
16190 | ||
16191 | =end original | |
16192 | ||
16193 | (F) このメッセージは、ヒヤドキュメントのラベルがクォートで始まっているけれども | |
16194 | 末尾のクォートがありません。 | |
16195 | おそらく以下のように書いたのでしょう: | |
16196 | ||
16197 | <<"foo | |
16198 | ||
16199 | =begin original | |
16200 | ||
16201 | instead of: | |
16202 | ||
16203 | =end original | |
16204 | ||
16205 | 次のように書いてください: | |
16206 | ||
16207 | <<"foo" | |
16208 | ||
16209 | =item Unterminated \g... pattern in regex; marked by S<<-- HERE> in m/%s/ | |
16210 | ||
16211 | =item Unterminated \g{...} pattern in regex; marked by S<<-- HERE> in m/%s/ | |
16212 | ||
16213 | =begin original | |
16214 | ||
16215 | (F) In a regular expression, you had a C<\g> that wasn't followed by a | |
16216 | proper group reference. In the case of C<\g{>, the closing brace is | |
16217 | missing; otherwise the C<\g> must be followed by an integer. Fix the | |
16218 | pattern and retry. | |
16219 | ||
16220 | =end original | |
16221 | ||
16222 | (F) 正規表現の中で、適切なグループ参照が引き続かない C<\g> を使いました。 | |
16223 | C<\g{> の場合、閉じ中かっこがありません; さもなければ、C<\g> には整数が | |
16224 | 引き続かなければ鳴りません。 | |
16225 | パターンを修正して再挑戦してください。 | |
16226 | ||
8494 | 16227 | =item Unterminated <> operator |
8495 | 16228 | |
8496 | 16229 | =begin original |
8497 | 16230 | |
8498 | 16231 | (F) The lexer saw a left angle bracket in a place where it was expecting |
8499 | 16232 | a term, so it's looking for the corresponding right angle bracket, and |
8500 | 16233 | not finding it. Chances are you left some needed parentheses out |
8501 | 16234 | earlier in the line, and you really meant a "less than". |
8502 | 16235 | |
8503 | 16236 | =end original |
8504 | 16237 | |
8505 | (F) 項が必要とされるところで、開き山 | |
16238 | (F) 項が必要とされるところで、開き山かっこが見つけたため、 | |
8506 | 対応する閉じ山 | |
16239 | 対応する閉じ山かっこを探しましたが、見つかりませんでした。 | |
8507 | 可能性としては、必要な | |
16240 | 可能性としては、必要なかっこを省いてしまい、本当は、「小なり記号」を | |
8508 | 16241 | 表したかった場合が考えられます。 |
8509 | 16242 | |
16243 | =item Unterminated verb pattern argument in regex; marked by S<<-- HERE> in | |
16244 | m/%s/ | |
16245 | ||
16246 | =begin original | |
16247 | ||
16248 | (F) You used a pattern of the form C<(*VERB:ARG)> but did not terminate | |
16249 | the pattern with a C<)>. Fix the pattern and retry. | |
16250 | ||
16251 | =end original | |
16252 | ||
16253 | (F) C<(*VERB:ARG)> の形のパターンを使いましたが、パターンが C<)> で | |
16254 | 終わっていません。 | |
16255 | パターンを修正して再挑戦してください。 | |
16256 | ||
16257 | =item Unterminated verb pattern in regex; marked by S<<-- HERE> in m/%s/ | |
16258 | ||
16259 | =begin original | |
16260 | ||
16261 | (F) You used a pattern of the form C<(*VERB)> but did not terminate | |
16262 | the pattern with a C<)>. Fix the pattern and retry. | |
16263 | ||
16264 | =end original | |
16265 | ||
16266 | (F) C<(*VERB)> の形のパターンを使いましたが、パターンが C<)> で | |
16267 | 終わっていません。 | |
16268 | パターンを修正して再挑戦してください。 | |
16269 | ||
8510 | 16270 | =item untie attempted while %d inner references still exist |
8511 | 16271 | |
8512 | 16272 | =begin original |
8513 | 16273 | |
8514 | 16274 | (W untie) A copy of the object returned from C<tie> (or C<tied>) was |
8515 | 16275 | still valid when C<untie> was called. |
8516 | 16276 | |
8517 | 16277 | =end original |
8518 | 16278 | |
8519 | 16279 | (W untie) C<tie> (または C<tied>) から返されたオブジェクトが、 |
8520 | 16280 | C<untie> が呼び出されたときにまだ有効でした。 |
8521 | 16281 | |
16282 | =item Usage: POSIX::%s(%s) | |
16283 | ||
16284 | =begin original | |
16285 | ||
16286 | (F) You called a POSIX function with incorrect arguments. | |
16287 | See L<POSIX/FUNCTIONS> for more information. | |
16288 | ||
16289 | =end original | |
16290 | ||
16291 | (F) POSIX 関数を間違った引数で呼び出しました。 | |
16292 | さらなる情報については L<POSIX/FUNCTIONS> を参照してください。 | |
16293 | ||
16294 | =item Usage: Win32::%s(%s) | |
16295 | ||
16296 | =begin original | |
16297 | ||
16298 | (F) You called a Win32 function with incorrect arguments. | |
16299 | See L<Win32> for more information. | |
16300 | ||
16301 | =end original | |
16302 | ||
16303 | (F) Win32 関数を間違った引数で呼び出しました。 | |
16304 | 更なる情報については L<Win32> を参照してください。 | |
16305 | ||
16306 | =item $[ used in %s (did you mean $] ?) | |
16307 | ||
16308 | =begin original | |
16309 | ||
16310 | (W syntax) You used C<$[> in a comparison, such as: | |
16311 | ||
16312 | =end original | |
16313 | ||
16314 | (W syntax) 以下のように、比較で C<$[> を使いました: | |
16315 | ||
16316 | if ($[ > 5.006) { | |
16317 | ... | |
16318 | } | |
16319 | ||
16320 | =begin original | |
16321 | ||
16322 | You probably meant to use C<$]> instead. C<$[> is the base for indexing | |
16323 | arrays. C<$]> is the Perl version number in decimal. | |
16324 | ||
16325 | =end original | |
16326 | ||
16327 | おそらく C<$]> を使いたかったのでしょう。 | |
16328 | C<$[> は配列の基数です。 | |
16329 | C<$]> は Perl のバージョン番号の 10 進数です。 | |
16330 | ||
16331 | =item Use "%s" instead of "%s" | |
16332 | ||
16333 | =begin original | |
16334 | ||
16335 | (F) The second listed construct is no longer legal. Use the first one | |
16336 | instead. | |
16337 | ||
16338 | =end original | |
16339 | ||
16340 | (F) 2 番目に挙げられた構文はもはや有効ではありません。 | |
16341 | 代わりに 1 番目のものを使ってください。 | |
16342 | ||
16343 | =item Useless assignment to a temporary | |
16344 | ||
16345 | =begin original | |
16346 | ||
16347 | (W misc) You assigned to an lvalue subroutine, but what | |
16348 | the subroutine returned was a temporary scalar about to | |
16349 | be discarded, so the assignment had no effect. | |
16350 | ||
16351 | =end original | |
16352 | ||
16353 | (W misc) 左辺値サブルーチンに代入しましたが、サブルーチンが返したものは | |
16354 | 捨てられようとする一時的なスカラなので、代入は向こうです。 | |
16355 | ||
16356 | =item Useless (?-%s) - don't use /%s modifier in regex; marked by | |
16357 | S<<-- HERE> in m/%s/ | |
16358 | ||
16359 | =begin original | |
16360 | ||
16361 | (W regexp) You have used an internal modifier such as (?-o) that has no | |
16362 | meaning unless removed from the entire regexp: | |
16363 | ||
16364 | =end original | |
16365 | ||
16366 | (W regexp) (?-o) のような内部修飾子は、正規表現全体から除去されなければ | |
16367 | 意味がありません: | |
16368 | ||
16369 | if ($string =~ /(?-o)$pattern/o) { ... } | |
16370 | ||
16371 | =begin original | |
16372 | ||
16373 | must be written as | |
16374 | ||
16375 | =end original | |
16376 | ||
16377 | これは以下のように書かなければなりません: | |
16378 | ||
16379 | if ($string =~ /$pattern/) { ... } | |
16380 | ||
16381 | =begin original | |
16382 | ||
16383 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
16384 | discovered. See L<perlre>. | |
16385 | ||
16386 | =end original | |
16387 | ||
16388 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
16389 | L<perlre> を参照してください。 | |
16390 | ||
16391 | =item Useless localization of %s | |
16392 | ||
16393 | =begin original | |
16394 | ||
16395 | (W syntax) The localization of lvalues such as C<local($x=10)> is legal, | |
16396 | but in fact the local() currently has no effect. This may change at | |
16397 | some point in the future, but in the meantime such code is discouraged. | |
16398 | ||
16399 | =end original | |
16400 | ||
16401 | (W syntax) C<local($x=10)> のような左辺値のローカル化は有効ですが、 | |
16402 | 実際のところ local() は現在のところ何の効果もありません。 | |
16403 | これは将来変更されるかもしれませんが、今のところはこのようなコードは | |
16404 | 勧められません。 | |
16405 | ||
16406 | =item Useless (?%s) - use /%s modifier in regex; marked by S<<-- HERE> in | |
16407 | m/%s/ | |
16408 | ||
16409 | =begin original | |
16410 | ||
16411 | (W regexp) You have used an internal modifier such as (?o) that has no | |
16412 | meaning unless applied to the entire regexp: | |
16413 | ||
16414 | =end original | |
16415 | ||
16416 | (W regexp) (?o) のような内部修飾子は、正規表現全体に適用されなければ | |
16417 | 意味がありません: | |
16418 | ||
16419 | if ($string =~ /(?o)$pattern/) { ... } | |
16420 | ||
16421 | =begin original | |
16422 | ||
16423 | must be written as | |
16424 | ||
16425 | =end original | |
16426 | ||
16427 | これは以下のように書かなければなりません: | |
16428 | ||
16429 | if ($string =~ /$pattern/o) { ... } | |
16430 | ||
16431 | =begin original | |
16432 | ||
16433 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
16434 | discovered. See L<perlre>. | |
16435 | ||
16436 | =end original | |
16437 | ||
16438 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
16439 | L<perlre> を参照してください。 | |
16440 | ||
16441 | =item Useless use of attribute "const" | |
16442 | ||
16443 | =begin original | |
16444 | ||
16445 | (W misc) The C<const> attribute has no effect except | |
16446 | on anonymous closure prototypes. You applied it to | |
16447 | a subroutine via L<attributes.pm|attributes>. This is only useful | |
16448 | inside an attribute handler for an anonymous subroutine. | |
16449 | ||
16450 | =end original | |
16451 | ||
16452 | (W misc) C<const> 属性は、無名クロージャプロトタイプ以外では効果がありません。 | |
16453 | あなたはこれを L<attributes.pm|attributes> 経由でサブルーチンに適用しました。 | |
16454 | これは無名サブルーチンのための属性ハンドラの中でしか有用ではありません。 | |
16455 | ||
16456 | =item Useless use of /d modifier in transliteration operator | |
16457 | ||
16458 | =begin original | |
16459 | ||
16460 | (W misc) You have used the /d modifier where the searchlist has the | |
16461 | same length as the replacelist. See L<perlop> for more information | |
16462 | about the /d modifier. | |
16463 | ||
16464 | =end original | |
16465 | ||
16466 | (W misc) 検索リストが置換リストと同じ長さの時に /d 修飾子を使いました。 | |
16467 | /d 修飾子に関するさらなる情報については L<perlop> を参照してください。 | |
16468 | ||
16469 | =item Useless use of \E | |
16470 | ||
16471 | =begin original | |
16472 | ||
16473 | (W misc) You have a \E in a double-quotish string without a C<\U>, | |
16474 | C<\L> or C<\Q> preceding it. | |
16475 | ||
16476 | =end original | |
16477 | ||
16478 | (W misc) ダブルクォート風文字列の中で C<\U>, C<\L>, C<\Q> を前置することなく | |
16479 | \E を書きました。 | |
16480 | ||
16481 | =item Useless use of greediness modifier '%c' in regex; marked by S<<-- HERE> in m/%s/ | |
16482 | ||
16483 | =begin original | |
16484 | ||
16485 | (W regexp) You specified something like these: | |
16486 | ||
16487 | =end original | |
16488 | ||
16489 | (W regexp) 次のようなものを指定しました: | |
16490 | ||
16491 | qr/a{3}?/ | |
16492 | qr/b{1,1}+/ | |
16493 | ||
16494 | =begin original | |
16495 | ||
16496 | The C<"?"> and C<"+"> don't have any effect, as they modify whether to | |
16497 | match more or fewer when there is a choice, and by specifying to match | |
16498 | exactly a given numer, there is no room left for a choice. | |
16499 | ||
16500 | =end original | |
16501 | ||
16502 | C<"?"> と C<"+"> は何の効果もありません; これはマッチングする数に幅がある時に | |
16503 | より多くまたは少なく変更します。 | |
16504 | そして指定された数に正確にマッチングすることを指定されているので、 | |
16505 | 選択の余地はありません。 | |
16506 | ||
8522 | 16507 | =item Useless use of %s in void context |
8523 | 16508 | |
8524 | 16509 | =begin original |
8525 | 16510 | |
8526 | 16511 | (W void) You did something without a side effect in a context that does |
8527 | 16512 | nothing with the return value, such as a statement that doesn't return a |
8528 | 16513 | value from a block, or the left side of a scalar comma operator. Very |
8529 | 16514 | often this points not to stupidity on your part, but a failure of Perl |
8530 | 16515 | to parse your program the way you thought it would. For example, you'd |
8531 | 16516 | get this if you mixed up your C precedence with Python precedence and |
8532 | 16517 | said |
8533 | 16518 | |
8534 | 16519 | =end original |
8535 | 16520 | |
8536 | 16521 | (W void) ブロックの値を返さない文や、スカラのコンマ演算子の左側のように |
8537 | 16522 | 返却値の無い文脈で、副作用のないことを行ないました。 |
8538 | 16523 | 多くは、みなさんの間違いを指摘するものではなく、Perl がみなさんの |
8539 | 16524 | 意向を汲み取った解釈ができないことで起こります。 |
8540 | 16525 | たとえば、みなさんが C の優先順位を Python の優先順位と混同して |
8541 | 16526 | 以下のようにした場合です: |
8542 | 16527 | |
8543 | 16528 | $one, $two = 1, 2; |
8544 | 16529 | |
8545 | 16530 | =begin original |
8546 | 16531 | |
8547 | 16532 | when you meant to say |
8548 | 16533 | |
8549 | 16534 | =end original |
8550 | 16535 | |
8551 | 16536 | 以下のようにするべきです。 |
8552 | 16537 | |
8553 | 16538 | ($one, $two) = (1, 2); |
8554 | 16539 | |
8555 | 16540 | =begin original |
8556 | 16541 | |
8557 | 16542 | Another common error is to use ordinary parentheses to construct a list |
8558 | 16543 | reference when you should be using square or curly brackets, for |
8559 | 16544 | example, if you say |
8560 | 16545 | |
8561 | 16546 | =end original |
8562 | 16547 | |
8563 | その他の良くあるエラーとしては、リストを作るのに中 | |
16548 | その他の良くあるエラーとしては、リストを作るのに中かっこや大かっこを | |
8564 | ||
16549 | 使うべきところで普通のかっこを使うことです; 例えば、以下のように書いた | |
8565 | ||
16550 | 場合です: | |
8566 | 16551 | |
8567 | 16552 | $array = (1,2); |
8568 | 16553 | |
8569 | 16554 | =begin original |
8570 | 16555 | |
8571 | 16556 | when you should have said |
8572 | 16557 | |
8573 | 16558 | =end original |
8574 | 16559 | |
8575 | 16560 | 以下のように書くべきです: |
8576 | 16561 | |
8577 | 16562 | $array = [1,2]; |
8578 | 16563 | |
8579 | 16564 | =begin original |
8580 | 16565 | |
8581 | 16566 | The square brackets explicitly turn a list value into a scalar value, |
8582 | 16567 | while parentheses do not. So when a parenthesized list is evaluated in |
8583 | 16568 | a scalar context, the comma is treated like C's comma operator, which |
8584 | 16569 | throws away the left argument, which is not what you want. See |
8585 | 16570 | L<perlref> for more on this. |
8586 | 16571 | |
8587 | 16572 | =end original |
8588 | 16573 | |
8589 | 16574 | 角かっこはリスト値を明示的にスカラ値に変換しますが、かっこは変換しません。 |
8590 | 16575 | そのため、かっこで括られたリストをスカラコンテキストで評価すると、 |
8591 | 16576 | カンマは C のカンマ演算子のように扱われ、左側の引数は捨てられます; |
8592 | 16577 | これは望んでいることではないでしょう。 |
8593 | 16578 | これに関するさらなる情報については L<perlref> を参照してください。 |
8594 | 16579 | |
16580 | =begin original | |
16581 | ||
16582 | This warning will not be issued for numerical constants equal to 0 or 1 | |
16583 | since they are often used in statements like | |
16584 | ||
16585 | =end original | |
16586 | ||
16587 | この警告は、0 か 1 と等しい数値定数では起きません; なぜなら、 | |
16588 | しばしば以下のような文で使われるからです: | |
16589 | ||
16590 | 1 while sub_with_side_effects(); | |
16591 | ||
16592 | =begin original | |
16593 | ||
16594 | String constants that would normally evaluate to 0 or 1 are warned | |
16595 | about. | |
16596 | ||
16597 | =end original | |
16598 | ||
16599 | 通常 0 か 1 に評価される文字列定数は警告されます。 | |
16600 | ||
16601 | =item Useless use of (?-p) in regex; marked by S<<-- HERE> in m/%s/ | |
16602 | ||
16603 | =begin original | |
16604 | ||
16605 | (W regexp) The C<p> modifier cannot be turned off once set. Trying to do | |
16606 | so is futile. | |
16607 | ||
16608 | =end original | |
16609 | ||
16610 | (W regexp) | |
16611 | C<p> 修飾子は、一度設定したものをオフにはできません。 | |
16612 | そうしようとしても無効です。 | |
16613 | ||
8595 | 16614 | =item Useless use of "re" pragma |
8596 | 16615 | |
8597 | 16616 | =begin original |
8598 | 16617 | |
8599 | (W) You did C<use re;> without any arguments. | |
16618 | (W) You did C<use re;> without any arguments. That isn't very useful. | |
8600 | 16619 | |
8601 | 16620 | =end original |
8602 | 16621 | |
8603 | 16622 | (W) C<use re;> プラグマを引数なしで指定しました。これは無意味です。 |
8604 | 16623 | |
16624 | =item Useless use of sort in scalar context | |
16625 | ||
16626 | =begin original | |
16627 | ||
16628 | (W void) You used sort in scalar context, as in : | |
16629 | ||
16630 | =end original | |
16631 | ||
16632 | (W void) こんな風に、ソートをスカラコンテキストで使いました: | |
16633 | ||
16634 | my $x = sort @y; | |
16635 | ||
16636 | =begin original | |
16637 | ||
16638 | This is not very useful, and perl currently optimizes this away. | |
16639 | ||
16640 | =end original | |
16641 | ||
16642 | これは全く便利ではないので、perl は現在のところ最適化して取り除きます。 | |
16643 | ||
16644 | =item Useless use of %s with no values | |
16645 | ||
16646 | =begin original | |
16647 | ||
16648 | (W syntax) You used the push() or unshift() function with no arguments | |
16649 | apart from the array, like C<push(@x)> or C<unshift(@foo)>. That won't | |
16650 | usually have any effect on the array, so is completely useless. It's | |
16651 | possible in principle that push(@tied_array) could have some effect | |
16652 | if the array is tied to a class which implements a PUSH method. If so, | |
16653 | you can write it as C<push(@tied_array,())> to avoid this warning. | |
16654 | ||
16655 | =end original | |
16656 | ||
16657 | (W syntax) C<push(@x)> や C<unshift(@foo)> のようにして、push() 関数や | |
16658 | unshift() 関数を、配列以外の引数なしで使いました。 | |
16659 | これは普通は配列に何の影響も与えないので、完全に無意味です。 | |
16660 | 理論的には、配列が tie されているクラスの PUSH メソッドの実装によっては | |
16661 | push(@tied_array) が何らかの効果を持つ可能性はあります。 | |
16662 | もしそうなら、これを C<push(@tied_array,())> のように書くことで警告を | |
16663 | 回避できます。 | |
16664 | ||
8605 | 16665 | =item "use" not allowed in expression |
8606 | 16666 | |
8607 | 16667 | =begin original |
8608 | 16668 | |
8609 | 16669 | (F) The "use" keyword is recognized and executed at compile time, and |
8610 | 16670 | returns no useful value. See L<perlmod>. |
8611 | 16671 | |
8612 | 16672 | =end original |
8613 | 16673 | |
8614 | 16674 | (F) "use" キーワードは、コンパイル時に認識され、実行されるもので、 |
8615 | 16675 | 意味のある値を返しません。 |
8616 | 16676 | L<perlmod> を参照してください。 |
8617 | 16677 | |
8618 | =item Use of | |
16678 | =item Use of assignment to $[ is deprecated, and will be fatal in 5.30 | |
8619 | 16679 | |
8620 | 16680 | =begin original |
8621 | 16681 | |
8622 | (D deprecated) | |
16682 | (D deprecated) The C<$[> variable (index of the first element in an array) | |
8623 | i | |
16683 | is deprecated since Perl 5.12, and setting it to a non-zero value will be | |
16684 | fatal as of Perl 5.30. | |
16685 | See L<perlvar/"$[">. | |
8624 | 16686 | |
8625 | 16687 | =end original |
8626 | 16688 | |
8627 | (D deprecated) | |
16689 | (D deprecated) C<$[> 変数 (配列の最初の要素のインデックス) は | |
8628 | ||
16690 | Perl 5.12 から廃止予定で、これに 0 以外の値を設定するのは | |
16691 | Perl 5.30 から致命的エラーになります。 | |
16692 | L<perlvar/"$["> を参照してください。 | |
8629 | 16693 | |
8630 | =item Use of | |
16694 | =item Use of bare << to mean <<"" is forbidden | |
8631 | 16695 | |
8632 | 16696 | =begin original |
8633 | 16697 | |
8634 | ( | |
16698 | (F) You are now required to use the explicitly quoted form if you wish | |
8635 | ||
16699 | to use an empty line as the terminator of the here-document. | |
8636 | of a split() explicitly to an array (or list). | |
8637 | 16700 | |
8638 | 16701 | =end original |
8639 | 16702 | |
8640 | ( | |
16703 | (F) ヒアドキュメントの終端子として空行を使いたいときには、明示的に | |
8641 | ||
16704 | クォートされた形を使うことが必要になりました。 | |
8642 | 代入を行なうようにしてください。 | |
8643 | 16705 | |
8644 | = | |
16706 | =begin original | |
8645 | 16707 | |
16708 | Use of a bare terminator was deprecated in Perl 5.000, and is a fatal | |
16709 | error as of Perl 5.28. | |
16710 | ||
16711 | =end original | |
16712 | ||
16713 | 裸の終端子は Perl 5.000 で廃止予定になっていて、 | |
16714 | Perl 5.28 から致命的エラーです。 | |
16715 | ||
16716 | =item Use of /c modifier is meaningless in s/// | |
16717 | ||
8646 | 16718 | =begin original |
8647 | 16719 | |
8648 | ( | |
16720 | (W regexp) You used the /c modifier in a substitution. The /c | |
8649 | ||
16721 | modifier is not presently meaningful in substitutions. | |
8650 | subroutines to be autoloaded were called as plain functions (e.g. | |
8651 | C<Foo::bar()>), not as methods (e.g. C<< Foo->bar() >> or C<< | |
8652 | $obj->bar() >>). | |
8653 | 16722 | |
8654 | 16723 | =end original |
8655 | 16724 | |
8656 | ( | |
16725 | (W regexp) 置換で /c 修飾子を使いました。 | |
8657 | ||
16726 | /c は置換では現在のところ無意味です。 | |
8658 | C<< $obj->bar() >>) ではなく、普通の関数 (C<Foo::bar()>) として | |
8659 | 呼び出された場合にも、(C<@ISA> 階層を使って) メソッドとして検索します。 | |
8660 | 16727 | |
16728 | =item Use of /c modifier is meaningless without /g | |
16729 | ||
8661 | 16730 | =begin original |
8662 | 16731 | |
8663 | ||
16732 | (W regexp) You used the /c modifier with a regex operand, but didn't | |
8664 | ||
16733 | use the /g modifier. Currently, /c is meaningful only when /g is | |
8665 | ||
16734 | used. (This may change in the future.) | |
8666 | currently issues an optional warning when non-methods use inherited | |
8667 | C<AUTOLOAD>s. | |
8668 | 16735 | |
8669 | 16736 | =end original |
8670 | 16737 | |
8671 | ||
16738 | (W regexp) 正規表現オペランドに /c 修飾子を使いましたが、/g 修飾子は | |
8672 | ||
16739 | 使いませんでした。 | |
8673 | ||
16740 | 現在のところ、/c は /g が使われたときにのみ有効です。 | |
8674 | ||
16741 | (これは将来変更されるかもしれません。) | |
8675 | メソッド以外が継承されたC<AUTOLOAD> を使うときにオプションの警告を | |
8676 | 発生させます。 | |
8677 | 16742 | |
16743 | =item Use of code point 0x%s is not allowed; the permissible max is 0x%x | |
16744 | ||
16745 | =item Use of code point 0x%s is not allowed; the permissible max is 0x%x | |
16746 | in regex; marked by <-- HERE in m/%s/ | |
16747 | ||
8678 | 16748 | =begin original |
8679 | 16749 | |
8680 | ||
16750 | (F) You used a code point that is not allowed, because it is too large. | |
8681 | no | |
16751 | Unicode only allows code points up to 0x10FFFF, but Perl allows much | |
8682 | ||
16752 | larger ones. Earlier versions of Perl allowed code points above IV_MAX | |
8683 | n | |
16753 | (0x7FFFFFF on 32-bit platforms, 0x7FFFFFFFFFFFFFFF on 64-bit platforms), | |
8684 | ||
16754 | however, this could possibly break the perl interpreter in some constructs, | |
16755 | including causing it to hang in a few cases. | |
8685 | 16756 | |
8686 | 16757 | =end original |
8687 | 16758 | |
8688 | ||
16759 | (F) 大きすぎるので許されない符号位置を使いました。 | |
8689 | ||
16760 | Unicode は 0x10FFFF までだけの符号位置を許していますが、 | |
8690 | ||
16761 | Perl は遙かに大きいものを許します。 | |
8691 | ||
16762 | 以前のバージョンの Perl は | |
16763 | IV_MAX (32 ビットシステムでは 0x7FFFFFF、64 ビットシステムでは | |
16764 | 0x7FFFFFFFFFFFFFFF) を超えた符号位置を許していましたが、 | |
16765 | これは一部の構文で perl インタプリタを壊すことがあり、 | |
16766 | 場合によってはハングアップすることがありました。 | |
8692 | 16767 | |
8693 | 16768 | =begin original |
8694 | 16769 | |
8695 | I | |
16770 | If your code is to run on various platforms, keep in mind that the upper | |
8696 | ||
16771 | limit depends on the platform. It is much larger on 64-bit word sizes | |
8697 | ||
16772 | than 32-bit ones. | |
8698 | 16773 | |
8699 | 16774 | =end original |
8700 | 16775 | |
8701 | ||
16776 | コードが様々なプラットフォームで実行するためのものなら、 | |
8702 | ||
16777 | 上限がプラットフォームに依存していることを心に留めておいてください。 | |
8703 | ||
16778 | 64 ビットワードサイズは 32 ビットよりも遙かに大きいです。 | |
8704 | 16779 | |
16780 | =begin original | |
16781 | ||
16782 | The use of out of range code points was deprecated in Perl 5.24, and | |
16783 | became a fatal error in Perl 5.28. | |
16784 | ||
16785 | =end original | |
16786 | ||
16787 | 範囲外の符号位置の使用は Perl 5.24 で廃止予定になり、 | |
16788 | Perl 5.28 で致命的エラーになりました。 | |
16789 | ||
16790 | =item Use of each() on hash after insertion without resetting hash iterator results in undefined behavior | |
16791 | ||
16792 | =begin original | |
16793 | ||
16794 | (S internal) The behavior of C<each()> after insertion is undefined; | |
16795 | it may skip items, or visit items more than once. Consider using | |
16796 | C<keys()> instead of C<each()>. | |
16797 | ||
16798 | =end original | |
16799 | ||
16800 | (S internal) 挿入の後の C<each()> の振る舞いは未定義です; アイテムを | |
16801 | 読み飛ばしたり、複数回読んだりします。 | |
16802 | C<each()> の代わりに C<keys()> を使うことを検討してください。 | |
16803 | ||
16804 | =item Use of := for an empty attribute list is not allowed | |
16805 | ||
16806 | =begin original | |
16807 | ||
16808 | (F) The construction C<my $x := 42> used to parse as equivalent to | |
16809 | C<my $x : = 42> (applying an empty attribute list to C<$x>). | |
16810 | This construct was deprecated in 5.12.0, and has now been made a syntax | |
16811 | error, so C<:=> can be reclaimed as a new operator in the future. | |
16812 | ||
16813 | =end original | |
16814 | ||
16815 | (F) 構文 C<my $x := 42> は C<my $x : = 42> と等価にパースされていました | |
16816 | (C<$x> に空の属性リストを適用する)。 | |
16817 | この構文は 5.12.0 に廃止予定となり、今回文法エラーとなったので、 | |
16818 | C<:=> は将来新しい演算子として再利用できます。 | |
16819 | ||
16820 | =begin original | |
16821 | ||
16822 | If you need an empty attribute list, for example in a code generator, add | |
16823 | a space before the C<=>. | |
16824 | ||
16825 | =end original | |
16826 | ||
16827 | 例えばコードジェネレータのために、空属性リストが必要なら、C<=> の前に | |
16828 | スペースを加えてください。 | |
16829 | ||
16830 | =item Use of %s for non-UTF-8 locale is wrong. Assuming a UTF-8 locale | |
16831 | ||
16832 | =begin original | |
16833 | ||
16834 | (W locale) You are matching a regular expression using locale rules, | |
16835 | and the specified construct was encountered. This construct is only | |
16836 | valid for UTF-8 locales, which the current locale isn't. This doesn't | |
16837 | make sense. Perl will continue, assuming a Unicode (UTF-8) locale, but | |
16838 | the results are likely to be wrong. | |
16839 | ||
16840 | =end original | |
16841 | ||
16842 | (W locale) ロケールの規則を使って正規表現のマッチングを行い、 | |
16843 | 指定した構文が出現しました。 | |
16844 | この構文は UTF-8 ロケールでのみ有効ですが、現在のロケールは異なります。 | |
16845 | これは意味がありません。 | |
16846 | Perl は Unicode (UTF-8) ロケールを仮定して動作を続けますが、 | |
16847 | 結果はおそらく間違ったものです。 | |
16848 | ||
16849 | =item Use of freed value in iteration | |
16850 | ||
16851 | =begin original | |
16852 | ||
16853 | (F) Perhaps you modified the iterated array within the loop? | |
16854 | This error is typically caused by code like the following: | |
16855 | ||
16856 | =end original | |
16857 | ||
16858 | (F) おそらくループの中で反復される配列を変更したのでは? | |
16859 | このエラーは典型的には以下のようなコードで発生します: | |
16860 | ||
16861 | @a = (3,4); | |
16862 | @a = () for (1,2,@a); | |
16863 | ||
16864 | =begin original | |
16865 | ||
16866 | You are not supposed to modify arrays while they are being iterated over. | |
16867 | For speed and efficiency reasons, Perl internally does not do full | |
16868 | reference-counting of iterated items, hence deleting such an item in the | |
16869 | middle of an iteration causes Perl to see a freed value. | |
16870 | ||
16871 | =end original | |
16872 | ||
16873 | 反復中の配列は変更してはいけないことになっています。 | |
16874 | 速度と効率上の理由から、Perl 内部では反復されたアイテムの参照カウントを | |
16875 | 完全には数えていません; 従って反復中のアイテムのを削除すると Perl は | |
16876 | 解放された値を見ることになります。 | |
16877 | ||
16878 | =item Use of /g modifier is meaningless in split | |
16879 | ||
16880 | =begin original | |
16881 | ||
16882 | (W regexp) You used the /g modifier on the pattern for a C<split> | |
16883 | operator. Since C<split> always tries to match the pattern | |
16884 | repeatedly, the C</g> has no effect. | |
16885 | ||
16886 | =end original | |
16887 | ||
16888 | (W regexp) C<split> 演算子のパターンで /g 修飾子を使いました。 | |
16889 | C<split> は常にパターンを繰り返しマッチングしようとするので、 | |
16890 | C</g> は効果がありません。 | |
16891 | ||
16892 | =item Use of "goto" to jump into a construct is deprecated | |
16893 | ||
16894 | =begin original | |
16895 | ||
16896 | (D deprecated) Using C<goto> to jump from an outer scope into an inner | |
16897 | scope is deprecated and should be avoided. | |
16898 | ||
16899 | =end original | |
16900 | ||
16901 | (D deprecated) 外側のスコープから内側のスコープに飛び込むために C<goto> を | |
16902 | 使うことは廃止予定であり、避けるべきです。 | |
16903 | ||
16904 | =begin original | |
16905 | ||
16906 | This was deprecated in Perl 5.12. | |
16907 | ||
16908 | =end original | |
16909 | ||
16910 | これは Perl 5.12 で廃止予定になりました。 | |
16911 | ||
16912 | =item Use of '%s' in \p{} or \P{} is deprecated because: %s | |
16913 | ||
16914 | =begin original | |
16915 | ||
16916 | (D deprecated) Certain properties are deprecated by Unicode, and may | |
16917 | eventually be removed from the Standard, at which time Perl will follow | |
16918 | along. In the meantime, this message is raised to notify you. | |
16919 | ||
16920 | =end original | |
16921 | ||
16922 | (D deprecated) 一部の特性は Unicode によって廃止予定とされており、 | |
16923 | 最終的に標準から削除されるかもしれません; その時点で Perl も追随します。 | |
16924 | 今のところは、通知のためにこのメッセージが発生します。 | |
16925 | ||
16926 | =item Use of inherited AUTOLOAD for non-method %s::%s() is no longer allowed | |
16927 | ||
16928 | =begin original | |
16929 | ||
16930 | (F) As an accidental feature, C<AUTOLOAD> subroutines were looked up as | |
16931 | methods (using the C<@ISA> hierarchy), even when the subroutines to be | |
16932 | autoloaded were called as plain functions (e.g. C<Foo::bar()>), not as | |
16933 | methods (e.g. C<< Foo->bar() >> or C<< $obj->bar() >>). | |
16934 | ||
16935 | =end original | |
16936 | ||
16937 | (F) 偶発的な仕様によって、C<AUTOLOAD> サブルーチンは、 | |
16938 | autoload されるサブルーチンがメソッド (C<< Foo->bar() >> や | |
16939 | C<< $obj->bar() >>) ではなく、普通の関数 (C<Foo::bar()>) として | |
16940 | 呼び出された場合にも、(C<@ISA> 階層を使って) メソッドとして検索していました。 | |
16941 | ||
16942 | =begin original | |
16943 | ||
16944 | This was deprecated in Perl 5.004, and was made fatal in Perl 5.28. | |
16945 | ||
16946 | =end original | |
16947 | ||
16948 | この機能は Perl 5.004 で廃止予定になり、Perl 5.28 で致命的エラーになりました。 | |
16949 | ||
8705 | 16950 | =item Use of %s in printf format not supported |
8706 | 16951 | |
8707 | 16952 | =begin original |
8708 | 16953 | |
8709 | 16954 | (F) You attempted to use a feature of printf that is accessible from |
8710 | 16955 | only C. This usually means there's a better way to do it in Perl. |
8711 | 16956 | |
8712 | 16957 | =end original |
8713 | 16958 | |
8714 | 16959 | (F) C でのみアクセス可能な printf の機能を使おうとしました。 |
8715 | 16960 | これは普通 Perl で行うより良い方法があります。 |
8716 | 16961 | |
8717 | =item Use of | |
16962 | =item Use of -l on filehandle%s | |
8718 | 16963 | |
8719 | 16964 | =begin original |
8720 | 16965 | |
8721 | ( | |
16966 | (W io) A filehandle represents an opened file, and when you opened the file | |
8722 | ||
16967 | it already went past any symlink you are presumably trying to look for. | |
8723 | ||
16968 | The operation returned C<undef>. Use a filename instead. | |
8724 | that without the dangerous action-at-a-distance effects of C<$*>. | |
8725 | 16969 | |
8726 | 16970 | =end original |
8727 | 16971 | |
8728 | ( | |
16972 | (F) ファイルはオープンされたファイルを表わすものであり、 | |
8729 | ||
16973 | ファイルをオープンしたときには、探しているシンボリックリンクは、 | |
8730 | ||
16974 | 既に通り過ぎた後です。 | |
8731 | ||
16975 | この操作は C<undef> を返します。 | |
16976 | 代わりにファイル名を使ってください。 | |
8732 | 16977 | |
8733 | =item Use of %s | |
16978 | =item Use of reference "%s" as array index | |
8734 | 16979 | |
8735 | 16980 | =begin original |
8736 | 16981 | |
8737 | ( | |
16982 | (W misc) You tried to use a reference as an array index; this probably | |
8738 | ||
16983 | isn't what you mean, because references in numerical context tend | |
8739 | o | |
16984 | to be huge numbers, and so usually indicates programmer error. | |
8740 | 16985 | |
8741 | 16986 | =end original |
8742 | 16987 | |
8743 | ( | |
16988 | (W misc) リファレンスを配列の添え字として使おうとしました; これはおそらく | |
8744 | ||
16989 | 望んでいることではないでしょう; なぜなら数値コンテキストでの | |
8745 | ||
16990 | リファレンスはとても大きな数になることが多いので、普通はプログラマの | |
16991 | ミスを意味しています。 | |
8746 | 16992 | |
8747 | = | |
16993 | =begin original | |
8748 | 16994 | |
16995 | If you really do mean it, explicitly numify your reference, like so: | |
16996 | C<$array[0+$ref]>. This warning is not given for overloaded objects, | |
16997 | however, because you can overload the numification and stringification | |
16998 | operators and then you presumably know what you are doing. | |
16999 | ||
17000 | =end original | |
17001 | ||
17002 | 本当にそうしたい場合は、C<$array[0+$ref]> のように、リファレンスを明示的に | |
17003 | 数値化してください。 | |
17004 | しかし、この警告はオーバーロードされたオブジェクトでは発生しません; | |
17005 | 数値化と文字列化の演算子をオーバーロードして、何をしているかをわかっていると | |
17006 | 仮定できるからです。 | |
17007 | ||
17008 | =item Use of strings with code points over 0xFF as arguments to %s | |
17009 | operator is not allowed | |
17010 | ||
8749 | 17011 | =begin original |
8750 | 17012 | |
8751 | ( | |
17013 | (F) You tried to use one of the string bitwise operators (C<&> or C<|> or C<^> or | |
8752 | ||
17014 | C<~>) on a string containing a code point over 0xFF. The string bitwise | |
17015 | operators treat their operands as strings of bytes, and values beyond | |
17016 | 0xFF are nonsensical in this context. | |
8753 | 17017 | |
8754 | 17018 | =end original |
8755 | 17019 | |
8756 | ( | |
17020 | (F) 文字列ビット単位演算子 (C<&> や C<|> や C<^> や C<~>) の一つを | |
8757 | ||
17021 | 0xFF を超える符号位置を含む文字列に使おうとしました。 | |
8758 | ||
17022 | ビット単位文字列演算子はオペランドをバイト文字列として扱い、 | |
17023 | 0xFF を超える値はこの文脈では無意味です。 | |
8759 | 17024 | |
8760 | = | |
17025 | =begin original | |
8761 | 17026 | |
17027 | This became fatal in Perl 5.28. | |
17028 | ||
17029 | =end original | |
17030 | ||
17031 | このような使用法は Perl 5.28 で致命的エラーになりました。 | |
17032 | ||
17033 | =item Use of strings with code points over 0xFF as arguments to C<vec> | |
17034 | is deprecated. This will be a fatal error in Perl 5.32 | |
17035 | ||
8762 | 17036 | =begin original |
8763 | 17037 | |
8764 | (D deprecated) | |
17038 | (D deprecated) You tried to use L<C<vec>|perlfunc/vec EXPR,OFFSET,BITS> | |
8765 | ||
17039 | on a string containing a code point over 0xFF, which is nonsensical here. | |
8766 | explicitly quoting the word in a manner appropriate for its context of | |
8767 | use, or using a different name altogether. The warning can be | |
8768 | suppressed for subroutine names by either adding a C<&> prefix, or using | |
8769 | a package qualifier, e.g. C<&our()>, or C<Foo::our()>. | |
8770 | 17040 | |
8771 | 17041 | =end original |
8772 | 17042 | |
8773 | (D deprecated) | |
17043 | (D deprecated) 0xFF を超える符号位置を含む文字列に対して | |
8774 | ||
17044 | L<C<vec>|perlfunc/vec EXPR,OFFSET,BITS> を使おうとしました; | |
8775 | ||
17045 | これはここでは意味がありません。 | |
8776 | 使ってください。 | |
8777 | この警告は、サブルーチン名の前に C<&> を付ける(C<&our()>)か、 | |
8778 | パッケージ修飾子を付ける(C<Foo::our()>)ことで消すことができます。 | |
8779 | 17046 | |
17047 | =begin original | |
17048 | ||
17049 | Such usage will be a fatal error in Perl 5.32. | |
17050 | ||
17051 | =end original | |
17052 | ||
17053 | このような使用法は Perl 5.32 で致命的エラーになる予定です。 | |
17054 | ||
17055 | =item Use of tainted arguments in %s is deprecated | |
17056 | ||
17057 | =begin original | |
17058 | ||
17059 | (W taint, deprecated) You have supplied C<system()> or C<exec()> with multiple | |
17060 | arguments and at least one of them is tainted. This used to be allowed | |
17061 | but will become a fatal error in a future version of perl. Untaint your | |
17062 | arguments. See L<perlsec>. | |
17063 | ||
17064 | =end original | |
17065 | ||
17066 | (W taint, deprecated) C<system()> や C<exec()> に複数の引数を与えましたが、 | |
17067 | そのうち少なくとも一つが汚染されています。 | |
17068 | これは許されていましたが、将来のバージョンの perl では致命的エラーに | |
17069 | なるでしょう。 | |
17070 | 引数を浄化してください。 | |
17071 | L<perlsec> を参照してください。 | |
17072 | ||
17073 | =item Use of unassigned code point or non-standalone grapheme for a | |
17074 | delimiter will be a fatal error starting in Perl 5.30 | |
17075 | ||
17076 | =begin original | |
17077 | ||
17078 | (D deprecated) | |
17079 | A grapheme is what appears to a native-speaker of a language to be a | |
17080 | character. In Unicode (and hence Perl) a grapheme may actually be | |
17081 | several adjacent characters that together form a complete grapheme. For | |
17082 | example, there can be a base character, like "R" and an accent, like a | |
17083 | circumflex "^", that appear when displayed to be a single character with | |
17084 | the circumflex hovering over the "R". Perl currently allows things like | |
17085 | that circumflex to be delimiters of strings, patterns, I<etc>. When | |
17086 | displayed, the circumflex would look like it belongs to the character | |
17087 | just to the left of it. In order to move the language to be able to | |
17088 | accept graphemes as delimiters, we have to deprecate the use of | |
17089 | delimiters which aren't graphemes by themselves. Also, a delimiter must | |
17090 | already be assigned (or known to be never going to be assigned) to try | |
17091 | to future-proof code, for otherwise code that works today would fail to | |
17092 | compile if the currently unassigned delimiter ends up being something | |
17093 | that isn't a stand-alone grapheme. Because Unicode is never going to | |
17094 | assign | |
17095 | L<non-character code points|perlunicode/Noncharacter code points>, nor | |
17096 | L<code points that are above the legal Unicode maximum| | |
17097 | perlunicode/Beyond Unicode code points>, those can be delimiters, and | |
17098 | their use won't raise this warning. | |
17099 | ||
17100 | =end original | |
17101 | ||
17102 | (D deprecated) | |
17103 | 書記素は言語のネイティブスピーカーにとって文字のように見えるものです。 | |
17104 | Unicode (従って Perl) では、 | |
17105 | 書記素は実際には互いに完全な書記素を形成するいくつかの隣接する | |
17106 | 文字かもしれません。 | |
17107 | 例えば、"R" のような基底文字と曲折アクセント "^" のような | |
17108 | アクセントかもしれません; これは表示されるときには | |
17109 | "R" の上に曲折アクセントがある単一の文字となります。 | |
17110 | Perl は現在の所曲折アクセントのようなものを文字列、パターンなどの | |
17111 | 区切り文字にすることを許しています。 | |
17112 | 表示されるとき、曲折アクセントは、 | |
17113 | そのすぐ左にある文字に付属するかのように見えます。 | |
17114 | 言語が書記素を区切り文字として受けいられられるようにするために、 | |
17115 | それ自体が書記素でない区切り文字の使用を廃止予定にする必要があります。 | |
17116 | また、区切り文字は将来も動作するコードであり続けるために、 | |
17117 | 既に割り当てられている(または決して割り当てられないと分かっている) | |
17118 | ものでなければなりません; | |
17119 | さもなければ、もし現在割り当てられていない書記素が単体の書記素でないものに | |
17120 | なった場合、今日動作しているコードがコンパイルに失敗することになります。 | |
17121 | Unicode は決して | |
17122 | L<非文字符号位置|perlunicode/Noncharacter code points> や | |
17123 | L<正当な Unicode の最大値より大きな符号位置| | |
17124 | perlunicode/Beyond Unicode code points> を割り当てないので、 | |
17125 | これらは区切り文字になることができ、これらの使用は警告を発生させません。 | |
17126 | ||
8780 | 17127 | =item Use of uninitialized value%s |
8781 | 17128 | |
8782 | 17129 | =begin original |
8783 | 17130 | |
8784 | 17131 | (W uninitialized) An undefined value was used as if it were already |
8785 | 17132 | defined. It was interpreted as a "" or a 0, but maybe it was a mistake. |
8786 | 17133 | To suppress this warning assign a defined value to your variables. |
8787 | 17134 | |
8788 | 17135 | =end original |
8789 | 17136 | |
8790 | 17137 | (W uninitialized) 未定義値を、あたかも既に定義されているかのように |
8791 | 17138 | 使用しました。 |
8792 | 17139 | これは、"" か 0 と解釈されますが、間違いの可能性があります。 |
8793 | 17140 | この警告を止めるには、変数に定義された値を代入してください。 |
8794 | 17141 | |
8795 | 17142 | =begin original |
8796 | 17143 | |
8797 | To help you figure out what was undefined, perl | |
17144 | To help you figure out what was undefined, perl will try to tell you | |
8798 | ||
17145 | the name of the variable (if any) that was undefined. In some cases | |
8799 | ||
17146 | it cannot do this, so it also tells you what operation you used the | |
8800 | ||
17147 | undefined value in. Note, however, that perl optimizes your program | |
8801 | ||
17148 | and the operation displayed in the warning may not necessarily appear | |
8802 | t | |
17149 | literally in your program. For example, C<"that $foo"> is usually | |
8803 | p | |
17150 | optimized into C<"that " . $foo>, and the warning will refer to the | |
17151 | C<concatenation (.)> operator, even though there is no C<.> in | |
17152 | your program. | |
8804 | 17153 | |
8805 | 17154 | =end original |
8806 | 17155 | |
8807 | ||
17156 | 何が未定義なのかを見つけ出す助けにするために、perl は(あれば)未定義である | |
8808 | ||
17157 | 変数名を示します。 | |
8809 | ||
17158 | それができないような場合では、未定義値を使った操作を示します。 | |
8810 | ||
17159 | しかし、perl がプログラムを最適化するので、文字通りにはプログラム中に | |
8811 | ||
17160 | 現れない操作についての警告が表示されるかもしれないことに注意してください。 | |
8812 | ||
17161 | 例えば、C<"that $foo"> は C<"that " . $foo> に最適化されるので、 | |
8813 | ||
17162 | たとえプログラム中に C<連結 (.)> 演算子がなくても C<.> に関する警告が | |
17163 | 出ます。 | |
8814 | 17164 | |
17165 | =item "use re 'strict'" is experimental | |
17166 | ||
17167 | =begin original | |
17168 | ||
17169 | (S experimental::re_strict) The things that are different when a regular | |
17170 | expression pattern is compiled under C<'strict'> are subject to change | |
17171 | in future Perl releases in incompatible ways. This means that a pattern | |
17172 | that compiles today may not in a future Perl release. This warning is | |
17173 | to alert you to that risk. | |
17174 | ||
17175 | =end original | |
17176 | ||
17177 | (S experimental::re_strict) 正規表現が C<'strict'> の基で | |
17178 | コンパイルされたときに何が異なるかは、 | |
17179 | 将来の Perl のリリースで互換性のない形で変更される予定です。 | |
17180 | つまり、今日コンパイルしたパターンは将来の Perl リリースのものとは | |
17181 | 違うかもしれません。 | |
17182 | この警告はそのリスクを知らせるためのものです。 | |
17183 | ||
17184 | =item Use \x{...} for more than two hex characters in regex; marked by | |
17185 | S<<-- HERE> in m/%s/ | |
17186 | ||
17187 | =begin original | |
17188 | ||
17189 | (F) In a regular expression, you said something like | |
17190 | ||
17191 | =end original | |
17192 | ||
17193 | (F) 正規表現で、以下のようなことをしました | |
17194 | ||
17195 | (?[ [ \xBEEF ] ]) | |
17196 | ||
17197 | =begin original | |
17198 | ||
17199 | Perl isn't sure if you meant this | |
17200 | ||
17201 | =end original | |
17202 | ||
17203 | Perl は、これが以下のものを意味しているのか | |
17204 | ||
17205 | (?[ [ \x{BEEF} ] ]) | |
17206 | ||
17207 | =begin original | |
17208 | ||
17209 | or if you meant this | |
17210 | ||
17211 | =end original | |
17212 | ||
17213 | それとも次のものかがわかりません。 | |
17214 | ||
17215 | (?[ [ \x{BE} E F ] ]) | |
17216 | ||
17217 | =begin original | |
17218 | ||
17219 | You need to add either braces or blanks to disambiguate. | |
17220 | ||
17221 | =end original | |
17222 | ||
17223 | 明確にするために大かっこか空白を追加する必要があります。 | |
17224 | ||
17225 | =item Using just the first character returned by \N{} in character class in | |
17226 | regex; marked by S<<-- HERE> in m/%s/ | |
17227 | ||
17228 | =begin original | |
17229 | ||
17230 | (W regexp) Named Unicode character escapes C<(\N{...})> may return | |
17231 | a multi-character sequence. Even though a character class is | |
17232 | supposed to match just one character of input, perl will match | |
17233 | the whole thing correctly, except when the class is inverted | |
17234 | (C<[^...]>), or the escape is the beginning or final end point of | |
17235 | a range. For these, what should happen isn't clear at all. In | |
17236 | these circumstances, Perl discards all but the first character | |
17237 | of the returned sequence, which is not likely what you want. | |
17238 | ||
17239 | =end original | |
17240 | ||
17241 | (W regexp) 名前付き Unicode 文字エスケープ C<(\N{...})> は | |
17242 | 複数文字並びを返すことがあります。 | |
17243 | 文字クラスは入力のただ一つの文字にマッチングすることを想定していますが、 | |
17244 | perl は全体を正しくマッチングします; 但し例外は、 | |
17245 | クラスが反転された場合 (C<[^...]>) と、 | |
17246 | エスケープが範囲の始点か終点の場合です。 | |
17247 | これらの場合、何をするべきかは全く明らかではありません。 | |
17248 | このため、Perl は返された並びの最初以外の文字を捨てます; | |
17249 | おそらくこれはあなたが求めているものではないでしょう。 | |
17250 | ||
17251 | =item Using /u for '%s' instead of /%s in regex; marked by S<<-- HERE> in m/%s/ | |
17252 | ||
17253 | =begin original | |
17254 | ||
17255 | (W regexp) You used a Unicode boundary (C<\b{...}> or C<\B{...}>) in a | |
17256 | portion of a regular expression where the character set modifiers C</a> | |
17257 | or C</aa> are in effect. These two modifiers indicate an ASCII | |
17258 | interpretation, and this doesn't make sense for a Unicode definition. | |
17259 | The generated regular expression will compile so that the boundary uses | |
17260 | all of Unicode. No other portion of the regular expression is affected. | |
17261 | ||
17262 | =end original | |
17263 | ||
17264 | (W regexp) 文字集合修飾子 C</a> または C</aa> が有効の場合に正規表現の一部で | |
17265 | Unicode 境界 (C<\b{...}> または C<\B{...}>) を使いました。 | |
17266 | これら二つの修飾子は ASCII での解釈を示していて、これは | |
17267 | Unicode の定義では意味がありません。 | |
17268 | 生成された正規表現は、境界は全て Unicode としてコンパイルします。 | |
17269 | 正規表現のその他の部分は影響を受けません。 | |
17270 | ||
17271 | =item Using !~ with %s doesn't make sense | |
17272 | ||
17273 | =begin original | |
17274 | ||
17275 | (F) Using the C<!~> operator with C<s///r>, C<tr///r> or C<y///r> is | |
17276 | currently reserved for future use, as the exact behavior has not | |
17277 | been decided. (Simply returning the boolean opposite of the | |
17278 | modified string is usually not particularly useful.) | |
17279 | ||
17280 | =end original | |
17281 | ||
17282 | (F) C<s///r>, C<tr///r>, C<y///r> での C<!~> 演算子の使用は、正確な振る舞いが | |
17283 | まだ決定されていないので、将来の使用のために予約されています。 | |
17284 | (単に修正された文字列の真偽値としての逆を返すのは普通特に | |
17285 | 有用ではありません。) | |
17286 | ||
17287 | =item UTF-16 surrogate U+%X | |
17288 | ||
17289 | =begin original | |
17290 | ||
17291 | (S surrogate) You had a UTF-16 surrogate in a context where they are | |
17292 | not considered acceptable. These code points, between U+D800 and | |
17293 | U+DFFF (inclusive), are used by Unicode only for UTF-16. However, Perl | |
17294 | internally allows all unsigned integer code points (up to the size limit | |
17295 | available on your platform), including surrogates. But these can cause | |
17296 | problems when being input or output, which is likely where this message | |
17297 | came from. If you really really know what you are doing you can turn | |
17298 | off this warning by C<no warnings 'surrogate';>. | |
17299 | ||
17300 | =end original | |
17301 | ||
17302 | (S surrogate) 受け付けられないと考えられる場所に UTF-16 サロゲートを | |
17303 | 使いました。 | |
17304 | これらの符号位置、U+D800 から U+DFFF (両端含む) は UTF-16 のためだけに | |
17305 | Unicode によって使われます。 | |
17306 | しかし Perl は、サロゲートを含む、内部で全ての符号なし整数の符号位置(最大値は | |
17307 | プラットフォームで利用可能なサイズ上限)を受け付けます。 | |
17308 | しかし、これらは入力や出力になるときに問題を引き起こします; それは | |
17309 | おそらくこのメッセージが出た場所です。 | |
17310 | 自分で何をしているのかが本当に本当に分かっているなら、 | |
17311 | C<no warnings 'surrogate';> とすることでこの警告をオフにできます。 | |
17312 | ||
8815 | 17313 | =item Value of %s can be "0"; test with defined() |
8816 | 17314 | |
8817 | 17315 | =begin original |
8818 | 17316 | |
8819 | 17317 | (W misc) In a conditional expression, you used <HANDLE>, <*> (glob), |
8820 | 17318 | C<each()>, or C<readdir()> as a boolean value. Each of these constructs |
8821 | 17319 | can return a value of "0"; that would make the conditional expression |
8822 | 17320 | false, which is probably not what you intended. When using these |
8823 | 17321 | constructs in conditional expressions, test their values with the |
8824 | 17322 | C<defined> operator. |
8825 | 17323 | |
8826 | 17324 | =end original |
8827 | 17325 | |
8828 | 17326 | (W misc) 条件式の中で、<HANDLE>, <*> (グロブ), C<each()>, C<readdir()> を |
8829 | 17327 | 真偽値として使いました。 |
8830 | 17328 | これらの構文は値 "0" を返すことがあります; これは条件式では偽を示しますが、 |
8831 | 17329 | これはおそらく望んでいることではないでしょう。 |
8832 | 17330 | これらの構文を条件式の中で使うときは、その値を C<defined> 演算子で |
8833 | 17331 | テストしてください。 |
8834 | 17332 | |
8835 | 17333 | =item Value of CLI symbol "%s" too long |
8836 | 17334 | |
8837 | 17335 | =begin original |
8838 | 17336 | |
8839 | 17337 | (W misc) A warning peculiar to VMS. Perl tried to read the value of an |
8840 | 17338 | %ENV element from a CLI symbol table, and found a resultant string |
8841 | 17339 | longer than 1024 characters. The return value has been truncated to |
8842 | 17340 | 1024 characters. |
8843 | 17341 | |
8844 | 17342 | =end original |
8845 | 17343 | |
8846 | (W misc) VMS 固有の警告です。 | |
17344 | (W misc) VMS に固有の警告です。 | |
8847 | 17345 | Perl は CLI シンボルテーブルから %ENV 要素の値を読み込もうとしましたが、 |
8848 | 17346 | 結果の文字列が 1024 文字を越えました。 |
8849 | 17347 | 返り値は 1024 文字に切り詰められます。 |
8850 | 17348 | |
17349 | =item Variable "%s" is not available | |
17350 | ||
17351 | =begin original | |
17352 | ||
17353 | (W closure) During compilation, an inner named subroutine or eval is | |
17354 | attempting to capture an outer lexical that is not currently available. | |
17355 | This can happen for one of two reasons. First, the outer lexical may be | |
17356 | declared in an outer anonymous subroutine that has not yet been created. | |
17357 | (Remember that named subs are created at compile time, while anonymous | |
17358 | subs are created at run-time.) For example, | |
17359 | ||
17360 | =end original | |
17361 | ||
17362 | (W closure) コンパイル中に、内側の名前付きサブルーチンや eval が | |
17363 | まだ利用可能でない外側のレキシカルを捕捉しようとしました。 | |
17364 | これは二つの理由で起こります。 | |
17365 | まず、外側のレキシカルが、まだ作成されていない外側の無名サブルーチンで | |
17366 | 定義されている場合です。 | |
17367 | (名前付きサブルーチンはコンパイル時に作成されますが、無名サブルーチンは | |
17368 | 実行時に作成されることを思い出してください。) | |
17369 | 例えば、 | |
17370 | ||
17371 | sub { my $a; sub f { $a } } | |
17372 | ||
17373 | =begin original | |
17374 | ||
17375 | At the time that f is created, it can't capture the current value of $a, | |
17376 | since the anonymous subroutine hasn't been created yet. Conversely, | |
17377 | the following won't give a warning since the anonymous subroutine has by | |
17378 | now been created and is live: | |
17379 | ||
17380 | =end original | |
17381 | ||
17382 | f が作成された時点で、$a の現在の値を捕捉できません; | |
17383 | なぜなら無名サブルーチンはまだ作成されていないからです。 | |
17384 | 逆に、以下のものは警告されません; 無名サブルーチンはこの時点で作成されていて | |
17385 | 生きているからです: | |
17386 | ||
17387 | sub { my $a; eval 'sub f { $a }' }->(); | |
17388 | ||
17389 | =begin original | |
17390 | ||
17391 | The second situation is caused by an eval accessing a variable that has | |
17392 | gone out of scope, for example, | |
17393 | ||
17394 | =end original | |
17395 | ||
17396 | 2 番目の状況は eval がスコープ外となった変数にアクセスすることで起こります; | |
17397 | 例えば: | |
17398 | ||
17399 | sub f { | |
17400 | my $a; | |
17401 | sub { eval '$a' } | |
17402 | } | |
17403 | f()->(); | |
17404 | ||
17405 | =begin original | |
17406 | ||
17407 | Here, when the '$a' in the eval is being compiled, f() is not currently | |
17408 | being executed, so its $a is not available for capture. | |
17409 | ||
17410 | =end original | |
17411 | ||
17412 | ここで、eval の中の '$a' がコンパイルされるとき、f() はまだ | |
17413 | 実行されていないので、この $a は捕捉出来ません。 | |
17414 | ||
8851 | 17415 | =item Variable "%s" is not imported%s |
8852 | 17416 | |
8853 | 17417 | =begin original |
8854 | 17418 | |
8855 | ( | |
17419 | (S misc) With "use strict" in effect, you referred to a global variable | |
8856 | you apparently thought was imported from another module, because | |
17420 | that you apparently thought was imported from another module, because | |
8857 | 17421 | something else of the same name (usually a subroutine) is exported by |
8858 | 17422 | that module. It usually means you put the wrong funny character on the |
8859 | 17423 | front of your variable. |
8860 | 17424 | |
8861 | 17425 | =end original |
8862 | 17426 | |
8863 | ( | |
17427 | (S misc) "use strict" が有効のときに、見たところ他のモジュールから | |
8864 | 17428 | インポートされたとあなたが考えたグローバル変数を参照しました; |
8865 | 17429 | なぜなら同じ名前の何か他のもの(通常はサブルーチン)がそのモジュールから |
8866 | 17430 | エクスポートされています。 |
8867 | 17431 | これは普通は変数の前に間違ったおかしな文字を置いたことを意味します。 |
8868 | 17432 | |
8869 | =item | |
17433 | =item Variable length lookbehind not implemented in regex m/%s/ | |
8870 | 17434 | |
8871 | 17435 | =begin original |
8872 | 17436 | |
8873 | ( | |
17437 | (F) Lookbehind is allowed only for subexpressions whose length is fixed and | |
8874 | ||
17438 | known at compile time. For positive lookbehind, you can use the C<\K> | |
8875 | ||
17439 | regex construct as a way to get the equivalent functionality. See | |
8876 | ||
17440 | L<(?<=pattern) and \K in perlre|perlre/\K>. | |
8877 | all closure referents to it are destroyed. | |
8878 | 17441 | |
8879 | 17442 | =end original |
8880 | 17443 | |
8881 | ( | |
17444 | (F) 後方参照は長さが固定で、コンパイル時に確定している副式に対してのみ | |
8882 | ||
17445 | 可能です。 | |
8883 | ||
17446 | 正の後方参照では、等価な機能を得るために C<\K> 正規表現構文が使えます。 | |
8884 | ||
17447 | L<(?<=pattern) and \K in perlre|perlre/\K> を参照してください。 | |
8885 | 破壊されるまでは存在し続けることに注意してください。 | |
8886 | 17448 | |
8887 | = | |
17449 | =begin original | |
8888 | 17450 | |
17451 | Starting in Perl 5.18, there are non-obvious Unicode rules under C</i> | |
17452 | that can match variably, but which you might not think could. For | |
17453 | example, the substring C<"ss"> can match the single character LATIN | |
17454 | SMALL LETTER SHARP S. Here's a complete list of the current ones | |
17455 | affecting ASCII characters: | |
17456 | ||
17457 | =end original | |
17458 | ||
17459 | Perl 5.18 から、C</i> の下では、おそらくあなたが考えていないような | |
17460 | 種類のものにマッチングするという、明確でない Unicode の規則があります。 | |
17461 | 例えば、部分文字列 C<"ss"> は単一文字 LATIN SMALL LETTER SHARP S に | |
17462 | マッチングします。 | |
17463 | 以下は ASCII 文字に影響を与える現在のものの完全な一覧です: | |
17464 | ||
17465 | ASCII | |
17466 | sequence Matches single letter under /i | |
17467 | FF U+FB00 LATIN SMALL LIGATURE FF | |
17468 | FFI U+FB03 LATIN SMALL LIGATURE FFI | |
17469 | FFL U+FB04 LATIN SMALL LIGATURE FFL | |
17470 | FI U+FB01 LATIN SMALL LIGATURE FI | |
17471 | FL U+FB02 LATIN SMALL LIGATURE FL | |
17472 | SS U+00DF LATIN SMALL LETTER SHARP S | |
17473 | U+1E9E LATIN CAPITAL LETTER SHARP S | |
17474 | ST U+FB06 LATIN SMALL LIGATURE ST | |
17475 | U+FB05 LATIN SMALL LIGATURE LONG S T | |
17476 | ||
8889 | 17477 | =begin original |
8890 | 17478 | |
8891 | ||
17479 | This list is subject to change, but is quite unlikely to. | |
8892 | ||
17480 | Each ASCII sequence can be any combination of upper- and lowercase. | |
8893 | anonymous (innermost) subroutine is referencing a lexical variable | |
8894 | defined in the outermost subroutine. For example: | |
8895 | 17481 | |
8896 | 17482 | =end original |
8897 | 17483 | |
8898 | ||
17484 | この一覧は変更されるかもしれませんが、かなり起こりにくいです。 | |
8899 | ||
17485 | それぞれの ASCII 並びは大文字と小文字が組み合わさっている場合もあります。 | |
8900 | そして無名の(一番内側の)サブルーチンが一番外側のサブルーチンで | |
8901 | 定義されているレキシカル変数で参照されています。 | |
8902 | 例えば: | |
8903 | 17486 | |
8904 | ||
17487 | =begin original | |
8905 | 17488 | |
17489 | You can avoid this by using a bracketed character class in the | |
17490 | lookbehind assertion, like | |
17491 | ||
17492 | =end original | |
17493 | ||
17494 | 次のように、後読み言明で大かっこ文字クラスを使うことでこれを防げます: | |
17495 | ||
17496 | (?<![sS]t) | |
17497 | (?<![fF]f[iI]) | |
17498 | ||
8906 | 17499 | =begin original |
8907 | 17500 | |
8908 | ||
17501 | This fools Perl into not matching the ligatures. | |
8909 | indirectly) from the outermost subroutine, it will share the variable as | |
8910 | you would expect. But if the anonymous subroutine is called or | |
8911 | referenced when the outermost subroutine is not active, it will see the | |
8912 | value of the shared variable as it was before and during the *first* | |
8913 | call to the outermost subroutine, which is probably not what you want. | |
8914 | 17502 | |
8915 | 17503 | =end original |
8916 | 17504 | |
8917 | ||
17505 | これは合字にマッチングしないように Perl を騙します。 | |
8918 | 間接に)リファレンスされたとき、予想通りに変数は共有されます。 | |
8919 | しかし、一番外側のサブルーチンが有効でない時に無名サブルーチンが呼び出されたり | |
8920 | リファレンスされたりすると、共有された変数の値は一番外側のサブルーチンへの | |
8921 | 最初の呼び出し前および呼び出し中のものになります; | |
8922 | これはおそらく望んでいることではないでしょう。 | |
8923 | 17506 | |
8924 | 17507 | =begin original |
8925 | 17508 | |
8926 | ||
17509 | Another option for Perls starting with 5.16, if you only care about | |
8927 | ||
17510 | ASCII matches, is to add the C</aa> modifier to the regex. This will | |
8928 | ||
17511 | exclude all these non-obvious matches, thus getting rid of this message. | |
8929 | ||
17512 | You can also say | |
8930 | 17513 | |
8931 | 17514 | =end original |
8932 | 17515 | |
8933 | ||
17516 | Perl v5.16 からのもう一つの選択肢として、 | |
8934 | ||
17517 | もし ASCII のマッチングにだけ関心があるのなら、 | |
8935 | ||
17518 | 正規表現に C</aa> を追加することでこれらの明確でないマッチングを全て | |
8936 | この | |
17519 | 除くことができるので、このメッセージを避けられます。 | |
17520 | また、次のようにすることで: | |
8937 | 17521 | |
17522 | use if $] ge 5.016, re => '/aa'; | |
17523 | ||
17524 | =begin original | |
17525 | ||
17526 | to apply C</aa> to all regular expressions compiled within its scope. | |
17527 | See L<re>. | |
17528 | ||
17529 | =end original | |
17530 | ||
17531 | スコープ内でコンパイルされた全ての正規表現に対して C</aa> を適用します。 | |
17532 | L<re> を参照してください。 | |
17533 | ||
17534 | =item "%s" variable %s masks earlier declaration in same %s | |
17535 | ||
17536 | =begin original | |
17537 | ||
17538 | (W shadow) A "my", "our" or "state" variable has been redeclared in the | |
17539 | current scope or statement, effectively eliminating all access to the | |
17540 | previous instance. This is almost always a typographical error. Note | |
17541 | that the earlier variable will still exist until the end of the scope | |
17542 | or until all closure references to it are destroyed. | |
17543 | ||
17544 | =end original | |
17545 | ||
17546 | (W shadow) 現在のスコープや文で "my", "our", "state" 変数が再宣言されたので、 | |
17547 | 以前の実体への全てのアクセスができなくなりました。 | |
17548 | これはほとんど常にタイプミスです。 | |
17549 | 以前の変数は、スコープが終わるか、それを参照している全てのクロージャが | |
17550 | 破壊されるまでは存在し続けることに注意してください。 | |
17551 | ||
8938 | 17552 | =item Variable syntax |
8939 | 17553 | |
8940 | 17554 | =begin original |
8941 | 17555 | |
8942 | 17556 | (A) You've accidentally run your script through B<csh> instead |
8943 | 17557 | of Perl. Check the #! line, or manually feed your script into |
8944 | 17558 | Perl yourself. |
8945 | 17559 | |
8946 | 17560 | =end original |
8947 | 17561 | |
8948 | 17562 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
8949 | 17563 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
8950 | 17564 | |
8951 | 17565 | =item Variable "%s" will not stay shared |
8952 | 17566 | |
8953 | 17567 | =begin original |
8954 | 17568 | |
8955 | 17569 | (W closure) An inner (nested) I<named> subroutine is referencing a |
8956 | lexical variable defined in an outer subroutine. | |
17570 | lexical variable defined in an outer named subroutine. | |
8957 | 17571 | |
8958 | 17572 | =end original |
8959 | 17573 | |
8960 | 17574 | (W closure) 内部の(ネストした) I<名前付き> サブルーチンが、 |
8961 | 外側のサブルーチンで定義したレキシカル変数を参照しています。 | |
17575 | 外側の名前付きサブルーチンで定義したレキシカル変数を参照しています。 | |
8962 | 17576 | |
8963 | 17577 | =begin original |
8964 | 17578 | |
8965 | When the inner subroutine is called, it will | |
17579 | When the inner subroutine is called, it will see the value of | |
8966 | 17580 | the outer subroutine's variable as it was before and during the *first* |
8967 | 17581 | call to the outer subroutine; in this case, after the first call to the |
8968 | 17582 | outer subroutine is complete, the inner and outer subroutines will no |
8969 | 17583 | longer share a common value for the variable. In other words, the |
8970 | 17584 | variable will no longer be shared. |
8971 | 17585 | |
8972 | 17586 | =end original |
8973 | 17587 | |
8974 | 内側のサブルーチンが呼び出され | |
17588 | 内側のサブルーチンが呼び出されるとき、 | |
8975 | ||
17589 | 外側のサブルーチンの変数の値は、 | |
8976 | ||
17590 | 「最初の」外側のサブルーチンへの呼び出し前および呼び出し中のものになります; | |
8977 | 外側のサブルーチン | |
17591 | この場合、外側のサブルーチンへの最初の呼び出しが終了した後、 | |
8978 | ||
17592 | 内側と外側のサブルーチンはこの変数に関して同じ値を共有しなくなります。 | |
17593 | 言い換えると、この変数はもはや共有されません。 | |
8979 | 17594 | |
8980 | 17595 | =begin original |
8981 | 17596 | |
8982 | Furthermore, if the outer subroutine is anonymous and references a | |
8983 | lexical variable outside itself, then the outer and inner subroutines | |
8984 | will I<never> share the given variable. | |
8985 | ||
8986 | =end original | |
8987 | ||
8988 | さらに、外側のサブルーチンが無名で、それ自身の外側のレキシカル変数を | |
8989 | 参照している場合、外側と内側のサブルーチンは与えられた変数は | |
8990 | 共有 I<しません>。 | |
8991 | ||
8992 | =begin original | |
8993 | ||
8994 | 17597 | This problem can usually be solved by making the inner subroutine |
8995 | 17598 | anonymous, using the C<sub {}> syntax. When inner anonymous subs that |
8996 | reference variables in outer subroutines are c | |
17599 | reference variables in outer subroutines are created, they | |
8997 | 17600 | are automatically rebound to the current values of such variables. |
8998 | 17601 | |
8999 | 17602 | =end original |
9000 | 17603 | |
9001 | 17604 | この問題は普通、C<sub {}> 構文を使って内側のサブルーチンを無名にすることで |
9002 | 17605 | 解決します。 |
9003 | 17606 | 外側のサブルーチンの変数を参照している内側の無名サブルーチンが |
9004 | ||
17607 | 作成されたとき、これらはそのような変数の現在の値に自動的に回復します。 | |
9005 | 自動的に回復します。 | |
9006 | 17608 | |
9007 | =item | |
17609 | =item vector argument not supported with alpha versions | |
9008 | 17610 | |
9009 | 17611 | =begin original |
9010 | 17612 | |
9011 | ( | |
17613 | (S printf) The %vd (s)printf format does not support version objects | |
9012 | ||
17614 | with alpha parts. | |
9013 | the problem was discovered. | |
9014 | 17615 | |
9015 | 17616 | =end original |
9016 | 17617 | |
9017 | ( | |
17618 | (S printf) %vd (s)printf フォーマットはアルファ部分のある | |
9018 | ||
17619 | バージョンオブジェクトに対応していません。 | |
9019 | 17620 | |
17621 | =item Verb pattern '%s' has a mandatory argument in regex; marked by | |
17622 | S<<-- HERE> in m/%s/ | |
17623 | ||
17624 | =begin original | |
17625 | ||
17626 | (F) You used a verb pattern that requires an argument. Supply an | |
17627 | argument or check that you are using the right verb. | |
17628 | ||
17629 | =end original | |
17630 | ||
17631 | (F) 引き数が必要な動詞パターンを使いました。 | |
17632 | 引き数を追加するか、正しい動詞を使ってください。 | |
17633 | ||
17634 | =item Verb pattern '%s' may not have an argument in regex; marked by | |
17635 | S<<-- HERE> in m/%s/ | |
17636 | ||
17637 | =begin original | |
17638 | ||
17639 | (F) You used a verb pattern that is not allowed an argument. Remove the | |
17640 | argument or check that you are using the right verb. | |
17641 | ||
17642 | =end original | |
17643 | ||
17644 | (F) 引き数が認められていない動詞パターンを使いました。 | |
17645 | 引き数を削除するか、正しい動詞を使ってください。 | |
17646 | ||
17647 | =item Version control conflict marker | |
17648 | ||
17649 | =begin original | |
17650 | ||
17651 | (F) The parser found a line starting with C<E<lt><<<<<<>, | |
17652 | C<E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>>, or C<=======>. These may be left by a | |
17653 | version control system to mark conflicts after a failed merge operation. | |
17654 | ||
17655 | =end original | |
17656 | ||
17657 | (F) パーサは C<E<lt><<<<<<>, | |
17658 | C<E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>>, C<=======> で始まる行を発見しました。 | |
17659 | これらはマージ操作に失敗したあと衝突を記録するために | |
17660 | バージョン制御システムによって残されたものかもしれません。 | |
17661 | ||
9020 | 17662 | =item Version number must be a constant number |
9021 | 17663 | |
9022 | 17664 | =begin original |
9023 | 17665 | |
9024 | 17666 | (P) The attempt to translate a C<use Module n.n LIST> statement into |
9025 | 17667 | its equivalent C<BEGIN> block found an internal inconsistency with |
9026 | 17668 | the version number. |
9027 | 17669 | |
9028 | 17670 | =end original |
9029 | 17671 | |
9030 | 17672 | (P) C<use Module n.n LIST> 文を等価な C<BEGIN> ブロックに変換しようと |
9031 | 17673 | したときに、バージョン番号について内部の不整合を発見しました。 |
9032 | 17674 | |
17675 | =item Version string '%s' contains invalid data; ignoring: '%s' | |
17676 | ||
17677 | =begin original | |
17678 | ||
17679 | (W misc) The version string contains invalid characters at the end, which | |
17680 | are being ignored. | |
17681 | ||
17682 | =end original | |
17683 | ||
17684 | (W misc) バージョン文字列の末尾に不正な文字が含まれていたので、その文字は | |
17685 | 無視されます。 | |
17686 | ||
9033 | 17687 | =item Warning: something's wrong |
9034 | 17688 | |
9035 | 17689 | =begin original |
9036 | 17690 | |
9037 | 17691 | (W) You passed warn() an empty string (the equivalent of C<warn "">) or |
9038 | you called it with no args and C<$ | |
17692 | you called it with no args and C<$@> was empty. | |
9039 | 17693 | |
9040 | 17694 | =end original |
9041 | 17695 | |
9042 | 17696 | (W) warn() に空文字列を渡した (C<warn ""> と透過です) か、 |
9043 | 引数なしで呼び出され、C<$ | |
17697 | 引数なしで呼び出され、C<$@> も空でした。 | |
9044 | 17698 | |
9045 | 17699 | =item Warning: unable to close filehandle %s properly |
9046 | 17700 | |
9047 | 17701 | =begin original |
9048 | 17702 | |
9049 | 17703 | (S) The implicit close() done by an open() got an error indication on |
9050 | 17704 | the close(). This usually indicates your file system ran out of disk |
9051 | 17705 | space. |
9052 | 17706 | |
9053 | 17707 | =end original |
9054 | 17708 | |
9055 | 17709 | (S) open() によって暗黙のうちに行なわれる close() が、 |
9056 | 17710 | close() のエラーとなりました。 |
9057 | 17711 | 通常、ファイルシステムがいっぱいであることを示します。 |
9058 | 17712 | |
17713 | =item Warning: unable to close filehandle properly: %s | |
17714 | ||
17715 | =item Warning: unable to close filehandle %s properly: %s | |
17716 | ||
17717 | =begin original | |
17718 | ||
17719 | (S io) There were errors during the implicit close() done on a filehandle | |
17720 | when its reference count reached zero while it was still open, e.g.: | |
17721 | ||
17722 | =end original | |
17723 | ||
17724 | (S io) まだ開いているけれども参照カウントがゼロになったときに | |
17725 | ファイルハンドルに対して行われる暗黙の close() 中にエラーが起きました; | |
17726 | 例えば: | |
17727 | ||
17728 | { | |
17729 | open my $fh, '>', $file or die "open: '$file': $!\n"; | |
17730 | print $fh $data or die "print: $!"; | |
17731 | } # implicit close here | |
17732 | ||
17733 | =begin original | |
17734 | ||
17735 | Because various errors may only be detected by close() (e.g. buffering could | |
17736 | allow the C<print> in this example to return true even when the disk is full), | |
17737 | it is dangerous to ignore its result. So when it happens implicitly, perl | |
17738 | will signal errors by warning. | |
17739 | ||
17740 | =end original | |
17741 | ||
17742 | 様々なエラーは close() によってのみ検出される | |
17743 | (バッファリングによって、この例の C<print> はディスクフルの場合でも | |
17744 | 真を返すことが可能です)ので、 | |
17745 | その結果を無視するのは危険です。 | |
17746 | 従って、それが暗黙に起きたとき、perl は警告によってエラーを知らせます。 | |
17747 | ||
17748 | =begin original | |
17749 | ||
17750 | B<Prior to version 5.22.0, perl ignored such errors>, so the common idiom shown | |
17751 | above was liable to cause B<silent data loss>. | |
17752 | ||
17753 | =end original | |
17754 | ||
17755 | B<バージョン 5.22.0 より前では、perl はこのようなエラーを無視していました>; | |
17756 | 従って、前述のような一般的な慣用句は | |
17757 | B<暗黙なデータの損失> を引き起こすことがありました。 | |
17758 | ||
9059 | 17759 | =item Warning: Use of "%s" without parentheses is ambiguous |
9060 | 17760 | |
9061 | 17761 | =begin original |
9062 | 17762 | |
9063 | 17763 | (S ambiguous) You wrote a unary operator followed by something that |
9064 | 17764 | looks like a binary operator that could also have been interpreted as a |
9065 | 17765 | term or unary operator. For instance, if you know that the rand |
9066 | 17766 | function has a default argument of 1.0, and you write |
9067 | 17767 | |
9068 | 17768 | =end original |
9069 | 17769 | |
9070 | 17770 | (S ambiguous) 単項演算子の後に、何か項にも単項演算子にも解釈できる、 |
9071 | 17771 | 二項演算子のようなものが置かれました。 |
9072 | 17772 | たとえば、rand 関数がデフォルトの引数として、1.0 をとることを知って |
9073 | 17773 | いれば、以下のように書いて: |
9074 | 17774 | |
9075 | 17775 | rand + 5; |
9076 | 17776 | |
9077 | 17777 | =begin original |
9078 | 17778 | |
9079 | 17779 | you may THINK you wrote the same thing as |
9080 | 17780 | |
9081 | 17781 | =end original |
9082 | 17782 | |
9083 | 17783 | 以下の同じことと思うかもしれませんが: |
9084 | 17784 | |
9085 | 17785 | rand() + 5; |
9086 | 17786 | |
9087 | 17787 | =begin original |
9088 | 17788 | |
9089 | 17789 | but in actual fact, you got |
9090 | 17790 | |
9091 | 17791 | =end original |
9092 | 17792 | |
9093 | 17793 | 実際には以下のようになります: |
9094 | 17794 | |
9095 | 17795 | rand(+5); |
9096 | 17796 | |
9097 | 17797 | =begin original |
9098 | 17798 | |
9099 | 17799 | So put in parentheses to say what you really mean. |
9100 | 17800 | |
9101 | 17801 | =end original |
9102 | 17802 | |
9103 | したがって、思うように解釈させるには、 | |
17803 | したがって、思うように解釈させるには、かっこが必要になります。 | |
9104 | 17804 | |
17805 | =item when is experimental | |
17806 | ||
17807 | =begin original | |
17808 | ||
17809 | (S experimental::smartmatch) C<when> depends on smartmatch, which is | |
17810 | experimental. Additionally, it has several special cases that may | |
17811 | not be immediately obvious, and their behavior may change or | |
17812 | even be removed in any future release of perl. See the explanation | |
17813 | under L<perlsyn/Experimental Details on given and when>. | |
17814 | ||
17815 | =end original | |
17816 | ||
17817 | (S experimental::smartmatch) C<when> は、実験的であるスマートマッチングに | |
17818 | 依存しています。 | |
17819 | さらに、完全に明らかとは言えないいくつかの特殊なケースがあるので、その | |
17820 | 振る舞いは将来のリリースの perl で変更されたり削除されたりするかもしれません。 | |
17821 | L<perlsyn/Experimental Details on given and when> の説明を参照してください。 | |
17822 | ||
9105 | 17823 | =item Wide character in %s |
9106 | 17824 | |
9107 | 17825 | =begin original |
9108 | 17826 | |
9109 | ( | |
17827 | (S utf8) Perl met a wide character (ordinal >255) when it wasn't | |
17828 | expecting one. This warning is by default on for I/O (like print). | |
9110 | 17829 | |
9111 | 17830 | =end original |
9112 | 17831 | |
9113 | ( | |
17832 | (S utf8) Perl が(想定していないところで)ワイド文字(値が >255)に遭遇しました。 | |
17833 | この警告は、(print のような) I/O に対してはデフォルトでオンです。 | |
9114 | 17834 | |
9115 | = | |
17835 | =begin original | |
9116 | 17836 | |
17837 | If this warning does come from I/O, the easiest | |
17838 | way to quiet it is simply to add the C<:utf8> layer, I<e.g.>, | |
17839 | S<C<binmode STDOUT, ':utf8'>>. Another way to turn off the warning is | |
17840 | to add S<C<no warnings 'utf8';>> but that is often closer to | |
17841 | cheating. In general, you are supposed to explicitly mark the | |
17842 | filehandle with an encoding, see L<open> and L<perlfunc/binmode>. | |
17843 | ||
17844 | =end original | |
17845 | ||
17846 | この警告が I/O からのものなら、これを黙らせる最も簡単な方法は、 | |
17847 | S<C<binmode STDOUT, ':utf8'>> のように | |
17848 | 出力に単に C<:utf8> 層を追加することです。 | |
17849 | もう一つの方法は S<C<no warnings 'utf8';>> を追加することですが、これは | |
17850 | しばしばいかさまに近い方法です。 | |
17851 | 一般的に、ファイルハンドルにはエンコーディングを明示的に指定することに | |
17852 | なっています; L<open> と L<perlfunc/binmode> を参照してください。 | |
17853 | ||
9117 | 17854 | =begin original |
9118 | 17855 | |
9119 | ||
17856 | If the warning comes from other than I/O, this diagnostic probably | |
9120 | ||
17857 | indicates that incorrect results are being obtained. You should examine | |
17858 | your code to determine how a wide character is getting to an operation | |
17859 | that doesn't handle them. | |
9121 | 17860 | |
9122 | 17861 | =end original |
9123 | 17862 | |
9124 | ||
17863 | この警告が I/O 以外からのものなら、この診断メッセージは | |
9125 | ||
17864 | おそらく正しくない結果が得られたことを意味しています。 | |
17865 | どのようにしてワイド文字が、それを扱えない操作に渡されたのかを | |
17866 | 決定するために、ソースコードを調べる必要があります。 | |
9126 | 17867 | |
9127 | =item | |
17868 | =item Wide character (U+%X) in %s | |
9128 | 17869 | |
9129 | 17870 | =begin original |
9130 | 17871 | |
9131 | ( | |
17872 | (W locale) While in a single-byte locale (I<i.e.>, a non-UTF-8 | |
9132 | ||
17873 | one), a multi-byte character was encountered. Perl considers this | |
17874 | character to be the specified Unicode code point. Combining non-UTF-8 | |
17875 | locales and Unicode is dangerous. Almost certainly some characters | |
17876 | will have two different representations. For example, in the ISO 8859-7 | |
17877 | (Greek) locale, the code point 0xC3 represents a Capital Gamma. But so | |
17878 | also does 0x393. This will make string comparisons unreliable. | |
9133 | 17879 | |
9134 | 17880 | =end original |
9135 | 17881 | |
9136 | ( | |
17882 | (W locale) 単一バイトロケール (つまり非 UTF-8 のもの)で、 | |
9137 | ||
17883 | 複数バイト文字に遭遇しました。 | |
9138 | ||
17884 | Perl はこの文字を指定された Unicode 符号位置として扱います。 | |
17885 | 非 UTF-8 ロケールと Unicode を結合するのは危険です。 | |
17886 | ほとんど確実に一部の文字は複数の異なる表現を持ちます。 | |
17887 | 例えば、ISO 8859-7 (ギリシャ語) ロケールでは、 | |
17888 | 符号位置 0xC3 は Capital Gamma を表現します。 | |
17889 | しかし 0x393 も同じです。 | |
17890 | これは文字列比較を信頼できないものにします。 | |
9139 | 17891 | |
9140 | = | |
17892 | =begin original | |
9141 | 17893 | |
17894 | You likely need to figure out how this multi-byte character got mixed up | |
17895 | with your single-byte locale (or perhaps you thought you had a UTF-8 | |
17896 | locale, but Perl disagrees). | |
17897 | ||
17898 | =end original | |
17899 | ||
17900 | おそらくどうしてこのマルチバイト文字が単一バイトロケールで混ざったかを | |
17901 | 見つける必要があるでしょう(あるいはおそらくあなたは UTF-8 ロケールを | |
17902 | 使っていると考えているけれども Perl は同意していないのでしょう)。 | |
17903 | ||
17904 | =item Within []-length '%c' not allowed | |
17905 | ||
9142 | 17906 | =begin original |
9143 | 17907 | |
9144 | (F) | |
17908 | (F) The count in the (un)pack template may be replaced by C<[TEMPLATE]> | |
9145 | ||
17909 | only if C<TEMPLATE> always matches the same amount of packed bytes that | |
17910 | can be determined from the template alone. This is not possible if | |
17911 | it contains any of the codes @, /, U, u, w or a *-length. Redesign | |
17912 | the template. | |
9146 | 17913 | |
9147 | 17914 | =end original |
9148 | 17915 | |
9149 | (F) unpack | |
17916 | (F) (un)pack テンプレートの繰り返し数は、C<TEMPLATE> が常に | |
9150 | ||
17917 | テンプレートだけから決定される同じサイズの pack されたバイト列と一致する | |
9151 | ||
17918 | 場合にのみ C<[TEMPLATE]> によって置き換えられます。 | |
17919 | これは、コード @, /, U, u, w や、長さ * が含まれていると不可能です。 | |
17920 | テンプレートを再設計してください。 | |
9152 | 17921 | |
9153 | =item | |
17922 | =item %s() with negative argument | |
9154 | 17923 | |
9155 | 17924 | =begin original |
9156 | 17925 | |
9157 | ( | |
17926 | (S misc) Certain operations make no sense with negative arguments. | |
9158 | s | |
17927 | Warning is given and the operation is not done. | |
9159 | 17928 | |
9160 | 17929 | =end original |
9161 | 17930 | |
9162 | ( | |
17931 | (S misc) 一部の操作は負の引数は意味がありません。 | |
9163 | ||
17932 | 警告が出力され、操作は行われません。 | |
9164 | 17933 | |
9165 | =item | |
17934 | =item write() on closed filehandle %s | |
9166 | 17935 | |
9167 | 17936 | =begin original |
9168 | 17937 | |
9169 | ( | |
17938 | (W closed) The filehandle you're writing to got itself closed sometime | |
9170 | ||
17939 | before now. Check your control flow. | |
9171 | 17940 | |
9172 | 17941 | =end original |
9173 | 17942 | |
9174 | ( | |
17943 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既に閉じられています。 | |
9175 | ||
17944 | 制御フローをチェックしてください。 | |
9176 | 17945 | |
9177 | =item | |
17946 | =item %s "\x%X" does not map to Unicode | |
9178 | 17947 | |
9179 | 17948 | =begin original |
9180 | 17949 | |
9181 | ( | |
17950 | (S utf8) When reading in different encodings, Perl tries to | |
9182 | ||
17951 | map everything into Unicode characters. The bytes you read | |
9183 | ||
17952 | in are not legal in this encoding. For example | |
9184 | 17953 | |
9185 | 17954 | =end original |
9186 | 17955 | |
9187 | ( | |
17956 | (S utf8) 異なったエンコーディングを読み込むとき、Perl は全てを Unicode 文字に | |
9188 | ||
17957 | マッピングしようとします。 | |
9189 | ||
17958 | 読み込んだバイトはこのエンコーディングでは不正でした。 | |
9190 | ||
17959 | 例えば: | |
9191 | 17960 | |
17961 | utf8 "\xE4" does not map to Unicode | |
17962 | ||
17963 | =begin original | |
17964 | ||
17965 | if you try to read in the a-diaereses Latin-1 as UTF-8. | |
17966 | ||
17967 | =end original | |
17968 | ||
17969 | というのは、Latin-1 の a 分節を UTF-8 として読み込もうとした場合です。 | |
17970 | ||
17971 | =item 'X' outside of string | |
17972 | ||
17973 | =begin original | |
17974 | ||
17975 | (F) You had a (un)pack template that specified a relative position before | |
17976 | the beginning of the string being (un)packed. See L<perlfunc/pack>. | |
17977 | ||
17978 | =end original | |
17979 | ||
17980 | (F) (un)pack している文字列の最後より後の相対位置を示している | |
17981 | (un)pack テンプレートを指定しました。 | |
17982 | L<perlfunc/pack> を参照してください。 | |
17983 | ||
17984 | =item 'x' outside of string in unpack | |
17985 | ||
17986 | =begin original | |
17987 | ||
17988 | (F) You had a pack template that specified a relative position after | |
17989 | the end of the string being unpacked. See L<perlfunc/pack>. | |
17990 | ||
17991 | =end original | |
17992 | ||
17993 | (F) unpack している文字列の最後より後の相対位置を示している | |
17994 | pack テンプレートを指定しました。 | |
17995 | L<perlfunc/pack> を参照してください。 | |
17996 | ||
9192 | 17997 | =item YOU HAVEN'T DISABLED SET-ID SCRIPTS IN THE KERNEL YET! |
9193 | 17998 | |
9194 | 17999 | =begin original |
9195 | 18000 | |
9196 | 18001 | (F) And you probably never will, because you probably don't have the |
9197 | 18002 | sources to your kernel, and your vendor probably doesn't give a rip |
9198 | about what you want. | |
18003 | about what you want. There is a vulnerability anywhere that you have a | |
9199 | e | |
18004 | set-id script, and to close it you need to remove the set-id bit from | |
18005 | the script that you're attempting to run. To actually run the script | |
18006 | set-id, your best bet is to put a set-id C wrapper around your script. | |
9200 | 18007 | |
9201 | 18008 | =end original |
9202 | 18009 | |
9203 | (F) | |
18010 | (F) そして、そうすることはできないでしょう; カーネルのソースは | |
9204 | ||
18011 | お持ちではないでしょうし、ベンダも欲しいものを提供しては | |
9205 | ||
18012 | くれないでしょうから。 | |
9206 | ||
18013 | set-id スクリプトのあちこちには脆弱性があり、 | |
9207 | ||
18014 | それを閉じるためには実行しようとしているスクリプトから | |
18015 | set-id ビットを削除する必要があります。 | |
18016 | 実際にスクリプトを set-id で実行するために | |
18017 | もっとも良いのは、スクリプトに set-id C ラッパーを被せることです。 | |
9208 | 18018 | |
9209 | 18019 | =item You need to quote "%s" |
9210 | 18020 | |
9211 | 18021 | =begin original |
9212 | 18022 | |
9213 | 18023 | (W syntax) You assigned a bareword as a signal handler name. |
9214 | 18024 | Unfortunately, you already have a subroutine of that name declared, |
9215 | 18025 | which means that Perl 5 will try to call the subroutine when the |
9216 | 18026 | assignment is executed, which is probably not what you want. (If it IS |
9217 | 18027 | what you want, put an & in front.) |
9218 | 18028 | |
9219 | 18029 | =end original |
9220 | 18030 | |
9221 | 18031 | (W syntax) シグナルハンドラ名に、裸の単語を代入しました。 |
9222 | 残念ながら、そのサブルー | |
18032 | 残念ながら、そのサブルーチンは既に宣言されていて、Perl 5 では、 | |
9223 | おそらく思惑とは違って、代入の実行時にサブルー | |
18033 | おそらく思惑とは違って、代入の実行時にサブルーチンの呼び出しが起こります。 | |
9224 | (もし、本当にそうしたいのであれば、サブルー | |
18034 | (もし、本当にそうしたいのであれば、サブルーチン名に & を付けてください。) | |
9225 | 18035 | |
18036 | =item Your random numbers are not that random | |
18037 | ||
18038 | =begin original | |
18039 | ||
18040 | (F) When trying to initialize the random seed for hashes, Perl could | |
18041 | not get any randomness out of your system. This usually indicates | |
18042 | Something Very Wrong. | |
18043 | ||
18044 | =end original | |
18045 | ||
18046 | (F) ハッシュのための乱数の種を初期化しようとしたとき、Perl はシステムから | |
18047 | 何の乱数性も得られませんでした。 | |
18048 | これは普通「何かとても具合が悪い」ことを示しています。 | |
18049 | ||
18050 | =item Zero length \N{} in regex; marked by S<<-- HERE> in m/%s/ | |
18051 | ||
18052 | =begin original | |
18053 | ||
18054 | (F) Named Unicode character escapes (C<\N{...}>) may return a zero-length | |
18055 | sequence. Such an escape was used in an extended character class, i.e. | |
18056 | C<(?[...])>, or under C<use re 'strict'>, which is not permitted. Check | |
18057 | that the correct escape has been used, and the correct charnames handler | |
18058 | is in scope. The S<<-- HERE> shows whereabouts in the regular | |
18059 | expression the problem was discovered. | |
18060 | ||
18061 | =end original | |
18062 | ||
18063 | (F) 名前付き Unicode 文字エスケープ (C<(\N{...})>) はゼロ幅並びを | |
18064 | 返すことがあります。 | |
18065 | このようなエスケープが拡張文字クラス、つまり C<(?[...])> の中、 | |
18066 | あるいは C<use re 'strict'> の基で使われました; | |
18067 | これは認められていません。 | |
18068 | 正しいエスケープを使っているか、および正しい文字名ハンドラがスコープ内に | |
18069 | あるかをチェックしてください。 | |
18070 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
18071 | ||
9226 | 18072 | =back |
9227 | 18073 | |
18074 | =head1 SEE ALSO | |
18075 | ||
18076 | L<warnings>, L<diagnostics>. | |
18077 | ||
18078 | =cut | |
18079 | ||
9228 | 18080 | =begin meta |
9229 | 18081 | |
9230 | Translate: 吉村 寿人 <JAE00534@niftyserve.or.jp> | |
18082 | Translate: 吉村 寿人 <JAE00534@niftyserve.or.jp> (5.000) | |
9231 | Update: Kentaro | |
18083 | Update: SHIRAKATA Kentaro <argrath@ub32.org> (5.6.1-) | |
9232 | ||
18084 | Status: completed | |
9233 | 18085 | |
9234 | 18086 | =end meta |
9235 | ||
9236 | =cut |