perldiag >
5.24.1
との差分
perldiag 5.24.1 と 5.6.1 の差分
1 | 1 | |
2 | 2 | =encoding euc-jp |
3 | 3 | |
4 | 4 | =head1 NAME |
5 | 5 | |
6 | 6 | =begin original |
7 | 7 | |
8 | 8 | perldiag - various Perl diagnostics |
9 | 9 | |
10 | 10 | =end original |
11 | 11 | |
12 | 12 | perldiag - さまざまな Perl 診断メッセージ |
13 | 13 | |
14 | 14 | =head1 DESCRIPTION |
15 | 15 | |
16 | 16 | =begin original |
17 | 17 | |
18 | 18 | These messages are classified as follows (listed in increasing order of |
19 | 19 | desperation): |
20 | 20 | |
21 | 21 | =end original |
22 | 22 | |
23 | 23 | これらのメッセージは以下のように分類されます (重要度が増す順に |
24 | 24 | 並べてあります): |
25 | 25 | |
26 | 26 | =begin original |
27 | 27 | |
28 | 28 | (W) A warning (optional). |
29 | (D) A deprecation ( | |
29 | (D) A deprecation (optional). | |
30 | (S) A severe warning ( | |
30 | (S) A severe warning (default). | |
31 | 31 | (F) A fatal error (trappable). |
32 | 32 | (P) An internal error you should never see (trappable). |
33 | 33 | (X) A very fatal error (nontrappable). |
34 | 34 | (A) An alien error message (not generated by Perl). |
35 | 35 | |
36 | 36 | =end original |
37 | 37 | |
38 | (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. | |
61 | 61 | |
62 | 62 | =end original |
63 | 63 | |
64 | メッセージが C<warnings> プラグマで制御できる場合、 | |
64 | メッセージが C<warnings> プラグマで制御できる場合、 | |
65 | 説明で分類文字と共に記されています。 | |
65 | 警告カテゴリは以下の説明で分類文字と共に記されています。 | |
66 | 例えば、C<(W closed)> は C<closed> カテゴリの警告を意味します。 | |
67 | 66 | |
68 | 67 | =begin original |
69 | 68 | |
70 | 69 | Optional warnings are enabled by using the C<warnings> pragma or the B<-w> |
71 | and B<-W> switches. | |
70 | and B<-W> switches. Warnings may be captured by setting C<$SIG{__WARN__}> | |
72 | 71 | to a reference to a routine that will be called on each warning instead |
73 | 72 | of printing it. See L<perlvar>. |
74 | 73 | |
75 | 74 | =end original |
76 | 75 | |
77 | 76 | C<warnings> プラグマか B<-w> と B<-W> のオプションを使うと追加の警告が |
78 | 77 | 有効になります。 |
79 | 78 | 警告は、表示する変わりに警告が出るたびに呼び出されるサブルーチンへの |
80 | 79 | リファレンスを C<$SIG{__WARN__}> にセットすることで捕捉できます。 |
81 | 80 | L<perlvar> を参照してください。 |
82 | 81 | |
83 | 82 | =begin original |
84 | 83 | |
85 | ||
84 | Default warnings are always enabled unless they are explicitly disabled | |
86 | 85 | with the C<warnings> pragma or the B<-X> switch. |
87 | 86 | |
88 | 87 | =end original |
89 | 88 | |
90 | C<warnings> プラグマか B<-X> オプションで明示的に | |
89 | デフォルトでは C<warnings> プラグマか B<-X> オプションで明示的に | |
91 | ||
90 | 無効にされない限り、警告は常に有効です。 | |
92 | 91 | |
93 | 92 | =begin original |
94 | 93 | |
95 | 94 | Trappable errors may be trapped using the eval operator. See |
96 | 95 | L<perlfunc/eval>. In almost all cases, warnings may be selectively |
97 | 96 | disabled or promoted to fatal errors using the C<warnings> pragma. |
98 | 97 | See L<warnings>. |
99 | 98 | |
100 | 99 | =end original |
101 | 100 | |
102 | 101 | トラップ可能なエラーは評価演算子を使ってトラップできます。 |
103 | 102 | L<perlfunc/eval> を参照してください。 |
104 | ほとんど全ての場合、警告は C<warnings> プラグマを使うことで | |
103 | ほとんど全ての場合、警告は C<warnings> プラグマを使うことで | |
105 | 無効にしたり致命的エラーに昇格させたりできます。 | |
104 | 選択的に無効にしたり致命的エラーに昇格させたりできます。 | |
106 | 105 | L<warnings> を参照してください。 |
107 | 106 | |
108 | 107 | =begin original |
109 | 108 | |
110 | 109 | The messages are in alphabetical order, without regard to upper or |
111 | 110 | lower-case. Some of these messages are generic. Spots that vary are |
112 | 111 | denoted with a %s or other printf-style escape. These escapes are |
113 | 112 | ignored by the alphabetical order, as are all characters other than |
114 | 113 | letters. To look up your message, just ignore anything that is not a |
115 | 114 | letter. |
116 | 115 | |
117 | 116 | =end original |
118 | 117 | |
119 | 118 | メッセージは大文字小文字を無視してアルファベット順に並んでいます。 |
120 | 119 | これらの中には一般的なものもあります。 |
121 | 120 | 変化する部分は %s またはその他の printf スタイルの表記をしています。 |
122 | 121 | これらの表記や、その他の英文字以外の文字は並び順に関しては |
123 | 122 | 無視されています。 |
124 | 123 | メッセージを探すには、英文字以外は無視してください。 |
125 | 124 | |
126 | 125 | =over 4 |
127 | 126 | |
128 | 127 | =item accept() on closed socket %s |
129 | 128 | |
130 | 129 | =begin original |
131 | 130 | |
132 | 131 | (W closed) You tried to do an accept on a closed socket. Did you forget |
133 | 132 | to check the return value of your socket() call? See |
134 | 133 | L<perlfunc/accept>. |
135 | 134 | |
136 | 135 | =end original |
137 | 136 | |
138 | 137 | (W closed) クローズされたソケットに accept を行なおうとしました。 |
139 | 138 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
140 | 139 | L<perlfunc/accept> を参照してください。 |
141 | 140 | |
142 | =item Al | |
141 | =item Allocation too large: %lx | |
143 | 142 | |
144 | 143 | =begin original |
145 | 144 | |
146 | (S experimental::refaliasing) This warning is emitted if you use | |
147 | a reference constructor on the left-hand side of an assignment to | |
148 | alias one variable to another. Simply suppress the warning if you | |
149 | want to use the feature, but know that in doing so you are taking | |
150 | the risk of using an experimental feature which may change or be | |
151 | removed in a future Perl version: | |
152 | ||
153 | =end original | |
154 | ||
155 | (S experimental::refaliasing) この警告は、ある変数を別の変数の別名とする代入の | |
156 | 左側でリファレンスコンストラクタを使うと出力されます。 | |
157 | この機能を使いたいけれども、そうすることで将来の Perl バージョンで | |
158 | 変更されるかもしれない実験的機能を使うリスクを取ることを分かっている場合は、 | |
159 | 単に警告を抑制してください: | |
160 | ||
161 | no warnings "experimental::refaliasing"; | |
162 | use feature "refaliasing"; | |
163 | \$x = \$y; | |
164 | ||
165 | =item Allocation too large: %x | |
166 | ||
167 | =begin original | |
168 | ||
169 | 145 | (X) You can't allocate more than 64K on an MS-DOS machine. |
170 | 146 | |
171 | 147 | =end original |
172 | 148 | |
173 | 149 | (X) MS-DOS マシンでは、64K を越えるメモリアロケートをおこなえません。 |
174 | 150 | |
175 | =item ' | |
151 | =item '!' allowed only after types %s | |
176 | 152 | |
177 | 153 | =begin original |
178 | 154 | |
179 | (F) The | |
155 | (F) The '!' is allowed in pack() and unpack() only after certain types. | |
180 | ||
156 | See L<perlfunc/pack>. | |
181 | 157 | |
182 | 158 | =end original |
183 | 159 | |
184 | (F) pack() や unpack() での '!' | |
160 | (F) pack() や unpack() での '!' は特定のタイプの後にのみ | |
185 | ||
161 | つけることができます。 | |
186 | 162 | L<perlfunc/pack> を参照してください。 |
187 | 163 | |
188 | =item alpha->numify() is lossy | |
189 | ||
190 | =begin original | |
191 | ||
192 | (W numeric) An alpha version can not be numified without losing | |
193 | information. | |
194 | ||
195 | =end original | |
196 | ||
197 | (W numeric) アルファバージョンは、情報を失うことなく数値化できません。 | |
198 | ||
199 | 164 | =item Ambiguous call resolved as CORE::%s(), qualify as such or use & |
200 | 165 | |
201 | 166 | =begin original |
202 | 167 | |
203 | 168 | (W ambiguous) A subroutine you have declared has the same name as a Perl |
204 | 169 | keyword, and you have used the name without qualification for calling |
205 | 170 | one or the other. Perl decided to call the builtin because the |
206 | 171 | subroutine is not imported. |
207 | 172 | |
208 | 173 | =end original |
209 | 174 | |
210 | 175 | (W ambiguous) 定義したサブルーチンの名前が Perl のキーワードと同じで、 |
211 | 176 | どちらかを呼び出すために修飾なしで名前を使っています。 |
212 | Perl は、サブルーチンがインポートされたものではないので、 | |
177 | Perl は、サブルーチンがインポートされたものではないので、 | |
213 | 呼び出すことにしました。 | |
178 | 組み込みのものを呼び出すことにしました。 | |
214 | 179 | |
215 | 180 | =begin original |
216 | 181 | |
217 | 182 | To force interpretation as a subroutine call, either put an ampersand |
218 | 183 | before the subroutine name, or qualify the name with its package. |
219 | 184 | Alternatively, you can import the subroutine (or pretend that it's |
220 | 185 | imported with the C<use subs> pragma). |
221 | 186 | |
222 | 187 | =end original |
223 | 188 | |
224 | サブルーチン呼び出しとして解釈することを強制させるためには、 | |
189 | サブルーチン呼び出しとして解釈することを強制させるためには、 | |
225 | 前にアンパサンドをつけるか、名前をパッケージ名で | |
190 | サブルーチン名の前にアンパサンドをつけるか、名前をパッケージ名で | |
191 | 修飾してください。 | |
226 | 192 | 他の方法として、サブルーチンをインポートする(あるいは C<use subs> |
227 | 193 | プラグマを使ってインポートされたふりをする)方法もあります。 |
228 | 194 | |
229 | 195 | =begin original |
230 | 196 | |
231 | 197 | To silently interpret it as the Perl operator, use the C<CORE::> prefix |
232 | on the operator (e.g. C<CORE::log($x)>) or declar | |
198 | on the operator (e.g. C<CORE::log($x)>) or by declaring the subroutine | |
233 | 199 | to be an object method (see L<perlsub/"Subroutine Attributes"> or |
234 | 200 | L<attributes>). |
235 | 201 | |
236 | 202 | =end original |
237 | 203 | |
238 | 204 | 警告なしに Perl 演算子として解釈させるためには、(C<CORE::log($x)> のように) |
239 | 205 | 演算子に C<CORE::> 接頭辞をつけるか、サブルーチンをオブジェクト |
240 | 206 | メソッド(L<perlsub/"Subroutine Attributes"> や L<attributes> を |
241 | 207 | 参照してください)として定義してください。 |
242 | 208 | |
243 | =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 | ||
259 | 209 | =item Ambiguous use of %s resolved as %s |
260 | 210 | |
261 | 211 | =begin original |
262 | 212 | |
263 | ( | |
213 | (W ambiguous)(S) You said something that may not be interpreted the way | |
264 | 214 | you thought. Normally it's pretty easy to disambiguate it by supplying |
265 | 215 | a missing quote, operator, parenthesis pair or declaration. |
266 | 216 | |
267 | 217 | =end original |
268 | 218 | |
269 | ( | |
219 | (W ambiguous)(S) 何か、あなたが考えているようには解釈できないものが | |
270 | ||
220 | ありました。 | |
271 | ||
221 | 普通は、不足しているクォート、演算子、かっこ、宣言を追加することで | |
222 | かなり簡単にあいまいさを解消できます。 | |
272 | 223 | |
273 | =item Ambiguous use of -%s resolved as -&%s() | |
274 | ||
275 | =begin original | |
276 | ||
277 | (S ambiguous) You wrote something like C<-foo>, which might be the | |
278 | string C<"-foo">, or a call to the function C<foo>, negated. If you meant | |
279 | the string, just write C<"-foo">. If you meant the function call, | |
280 | write C<-foo()>. | |
281 | ||
282 | =end original | |
283 | ||
284 | (S ambiguous) C<-foo> のようなものを書きました; これは文字列 C<"-foo"> かも | |
285 | 知れませんし、関数 C<foo> を呼び出してその否定かも知れません。 | |
286 | 文字列のつもりなら、単に C<"-foo"> と書いてください。 | |
287 | 関数呼び出しのつもりなら、C<-foo()> と書いてください。 | |
288 | ||
289 | =item Ambiguous use of %c resolved as operator %c | |
290 | ||
291 | =begin original | |
292 | ||
293 | (S ambiguous) C<%>, C<&>, and C<*> are both infix operators (modulus, | |
294 | bitwise and, and multiplication) I<and> initial special characters | |
295 | (denoting hashes, subroutines and typeglobs), and you said something | |
296 | like C<*foo * foo> that might be interpreted as either of them. We | |
297 | assumed you meant the infix operator, but please try to make it more | |
298 | clear -- in the example given, you might write C<*foo * foo()> if you | |
299 | really meant to multiply a glob by the result of calling a function. | |
300 | ||
301 | =end original | |
302 | ||
303 | (S ambiguous) C<%>, C<&>, C<*> は、中置演算子(剰余、ビット単位論理和、乗算) | |
304 | I<および> 初期特殊文字(ハッシュ、サブルーチン、型グロブを示す)の | |
305 | 両方に使われますが、どちらとも解釈できる C<*foo * foo> のようなものが | |
306 | 書かれました。 | |
307 | これは中置演算子を意味していると仮定しますが、どうかより明確にするように | |
308 | してください -- 上述の例では、もし本当にグロブと関数呼び出しの結果の | |
309 | 積を意味しているなら、C<*foo * foo()> と書けます。 | |
310 | ||
311 | =item Ambiguous use of %c{%s} resolved to %c%s | |
312 | ||
313 | =begin original | |
314 | ||
315 | (W ambiguous) You wrote something like C<@{foo}>, which might be | |
316 | asking for the variable C<@foo>, or it might be calling a function | |
317 | named foo, and dereferencing it as an array reference. If you wanted | |
318 | the variable, you can just write C<@foo>. If you wanted to call the | |
319 | function, write C<@{foo()}> ... or you could just not have a variable | |
320 | and a function with the same name, and save yourself a lot of trouble. | |
321 | ||
322 | =end original | |
323 | ||
324 | (W ambiguous) C<@{foo}> のようなものを書きました; これは変数 C<@foo> のこと | |
325 | かもしれませんし、foo という名前の関数を呼び出して、それを配列 | |
326 | リファレンスとしてデリファレンスするかもしれません。 | |
327 | もし変数がほしいなら、単に C<@foo> と書いてください。 | |
328 | 関数を呼び出したいなら、C<@{foo()}> と書いてください…あるいは単に | |
329 | 変数と関数で同じ名前を使わないでください; これにより多くの問題から身を | |
330 | 守れます。 | |
331 | ||
332 | =item Ambiguous use of %c{%s[...]} resolved to %c%s[...] | |
333 | ||
334 | =item Ambiguous use of %c{%s{...}} resolved to %c%s{...} | |
335 | ||
336 | =begin original | |
337 | ||
338 | (W ambiguous) You wrote something like C<${foo[2]}> (where foo represents | |
339 | the name of a Perl keyword), which might be looking for element number | |
340 | 2 of the array named C<@foo>, in which case please write C<$foo[2]>, or you | |
341 | might have meant to pass an anonymous arrayref to the function named | |
342 | foo, and then do a scalar deref on the value it returns. If you meant | |
343 | that, write C<${foo([2])}>. | |
344 | ||
345 | =end original | |
346 | ||
347 | (W ambiguous) C<${foo[2]}> のようなものを書きました (ここで foo は Perl の | |
348 | キーワード名を表します); これは C<@foo> という名前の配列の要素番号 2 を | |
349 | 探しているのかも知れません(その場合は C<$foo[2]> と書いてください)し、 | |
350 | foo という名前の関数に無名配列リファレンスを渡して、返り値をスカラ | |
351 | デリファレンスしているのかも知れません。 | |
352 | それを意味しているなら、C<${foo([2])}> と書いてください。 | |
353 | ||
354 | =begin original | |
355 | ||
356 | In regular expressions, the C<${foo[2]}> syntax is sometimes necessary | |
357 | to disambiguate between array subscripts and character classes. | |
358 | C</$length[2345]/>, for instance, will be interpreted as C<$length> followed | |
359 | by the character class C<[2345]>. If an array subscript is what you | |
360 | want, you can avoid the warning by changing C</${length[2345]}/> to the | |
361 | unsightly C</${\$length[2345]}/>, by renaming your array to something | |
362 | that does not coincide with a built-in keyword, or by simply turning | |
363 | off warnings with C<no warnings 'ambiguous';>. | |
364 | ||
365 | =end original | |
366 | ||
367 | 正規表現の中で、C<${foo[2]}> 文法は配列添え字と文字クラスを区別するために | |
368 | 必要になります。 | |
369 | 例えば、C</$length[2345]/> は、C<$length> に文字クラス C<[2345]> が | |
370 | 引き続くと解釈されます。 | |
371 | 配列添え字が求めているものなら、C</${length[2345]}/> を | |
372 | (見にくい) C</${\$length[2345]}/>と変更する、配列の名前を組み込みキーワードと | |
373 | 衝突しないものに変える、単に C<no warnings 'ambiguous';> として | |
374 | 警告をオフにする、のいずれかで警告を回避できます。 | |
375 | ||
376 | 224 | =item '|' and '<' may not both be specified on command line |
377 | 225 | |
378 | 226 | =begin original |
379 | 227 | |
380 | 228 | (F) An error peculiar to VMS. Perl does its own command line |
381 | 229 | redirection, and found that STDIN was a pipe, and that you also tried to |
382 | 230 | redirect STDIN using '<'. Only one STDIN stream to a customer, please. |
383 | 231 | |
384 | 232 | =end original |
385 | 233 | |
386 | (F) VMS | |
234 | (F) VMS 特有のエラーです。 | |
387 | 235 | Perl は独自にコマンドラインのリダイレクトを扱っていて、STDIN がパイプで |
388 | 236 | あることを発見しましたが、さらに '<' を使って STDIN をリダイレクトしようと |
389 | 237 | しました。 |
390 | STDIN ストリームは一つだけにしてください | |
238 | STDIN ストリームは一つだけにしてください。 | |
239 | お願いします。 | |
391 | 240 | |
392 | 241 | =item '|' and '>' may not both be specified on command line |
393 | 242 | |
394 | 243 | =begin original |
395 | 244 | |
396 | 245 | (F) An error peculiar to VMS. Perl does its own command line |
397 | 246 | redirection, and thinks you tried to redirect stdout both to a file and |
398 | 247 | into a pipe to another command. You need to choose one or the other, |
399 | 248 | though nothing's stopping you from piping into a program or Perl script |
400 | 249 | which 'splits' output into two streams, such as |
401 | 250 | |
402 | 251 | =end original |
403 | 252 | |
404 | (F) VMS | |
253 | (F) VMS 特有のエラーです。 | |
405 | 254 | Perl は独自にコマンドラインのリダイレクトを扱っていて、STDOUT を |
406 | 255 | ファイルと他のコマンドへのパイプと両方にリダイレクトしようとしていると |
407 | 256 | 判断しました。 |
408 | 257 | どちらかを選ぶ必要がありますが、以下のように出力を二つのストリームに |
409 | 258 | 「分割」するプログラムや Perl スクリプトにパイプすることを止めるものは |
410 | 259 | 何もありません。 |
411 | 260 | |
412 | 261 | open(OUT,">$ARGV[0]") or die "Can't write to $ARGV[0]: $!"; |
413 | 262 | while (<STDIN>) { |
414 | 263 | print; |
415 | 264 | print OUT; |
416 | 265 | } |
417 | 266 | close OUT; |
418 | 267 | |
419 | 268 | =item Applying %s to %s will act on scalar(%s) |
420 | 269 | |
421 | 270 | =begin original |
422 | 271 | |
423 | (W misc) The pattern match ( | |
272 | (W misc) The pattern match (//), substitution (s///), and | |
424 | transliteration ( | |
273 | transliteration (tr///) operators work on scalar values. If you apply | |
425 | 274 | one of them to an array or a hash, it will convert the array or hash to |
426 | a scalar value | |
275 | a scalar value -- the length of an array, or the population info of a | |
427 | hash | |
276 | hash -- and then work on that scalar value. This is probably not what | |
428 | 277 | you meant to do. See L<perlfunc/grep> and L<perlfunc/map> for |
429 | 278 | alternatives. |
430 | 279 | |
431 | 280 | =end original |
432 | 281 | |
433 | (W misc) パターンマッチ ( | |
282 | (W misc) パターンマッチ (//), 置換 (s///), 文字置換 | |
434 | ( | |
283 | (tr///) 演算子はスカラ値に対して動作します。 | |
435 | これらを配列やハッシュに適用すると、配列やハッシュをスカラ値 | |
284 | これらを配列やハッシュに適用すると、配列やハッシュをスカラ値 -- | |
436 | ハッシュの大きさの情報 | |
285 | 配列の長さかハッシュの大きさの情報 -- に変換し、そのスカラ値に対して | |
286 | 動作します。 | |
437 | 287 | これはおそらくしたいこととは違うでしょう。 |
438 | 288 | 代替案については L<perlfunc/grep> と L<perlfunc/map> を参照してください。 |
439 | 289 | |
440 | =item Arg t | |
290 | =item Args must match #! line | |
441 | 291 | |
442 | 292 | =begin original |
443 | 293 | |
444 | (F) | |
294 | (F) The setuid emulator requires that the arguments Perl was invoked | |
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>. | |
445 | 298 | |
446 | 299 | =end original |
447 | 300 | |
448 | (F) | |
301 | (F) setuid エミュレータでは、Perl を起動したときの引数と、 | |
302 | #! の行で指定された引数はマッチすることが要求されます。 | |
303 | #! 行の 1 引数制限があるシステムがあるので、 | |
304 | 組み合わせスイッチを試してみてください; | |
305 | 例えば、C<-w -U> を C<-wU> にしてください。 | |
449 | 306 | |
450 | =item Arg | |
307 | =item Arg too short for msgsnd | |
451 | 308 | |
452 | 309 | =begin original |
453 | 310 | |
454 | ( | |
311 | (F) msgsnd() requires a string at least as long as sizeof(long). | |
455 | that expected a numeric value instead. If you're fortunate the message | |
456 | will identify which operator was so unfortunate. | |
457 | 312 | |
458 | 313 | =end original |
459 | 314 | |
460 | ( | |
315 | (F) msgsnd() に渡す文字列は、少なくとも sizeof(long) の | |
461 | ||
316 | 長さが必要です。 | |
462 | 運がよければ、このメッセージによって、どの演算子が問題となったかが | |
463 | わかります。 | |
464 | 317 | |
465 | = | |
318 | =item %s argument is not a HASH or ARRAY element | |
466 | 319 | |
467 | Note that for the C<Inf> and C<NaN> (infinity and not-a-number) the | |
468 | definition of "numeric" is somewhat unusual: the strings themselves | |
469 | (like "Inf") are considered numeric, and anything following them is | |
470 | considered non-numeric. | |
471 | ||
472 | =end original | |
473 | ||
474 | Note that for the | |
475 | C<Inf> と C<NaN> (無限と非数) については、「数値」の定義が少し | |
476 | 変わっていることに注意してください: | |
477 | ("Inf" のような) これらの文字列自身は数値として扱われますが、それに | |
478 | 何かが引き続いている場合は非数値として扱われます。 | |
479 | ||
480 | =item Argument list not closed for PerlIO layer "%s" | |
481 | ||
482 | 320 | =begin original |
483 | 321 | |
484 | ( | |
322 | (F) The argument to exists() must be a hash or array element, such as: | |
485 | system you forgot the ) that closes the argument list. (Layers | |
486 | take care of transforming data between external and internal | |
487 | representations.) Perl stopped parsing the layer list at this | |
488 | point and did not attempt to push this layer. If your program | |
489 | didn't explicitly request the failing operation, it may be the | |
490 | result of the value of the environment variable PERLIO. | |
491 | 323 | |
492 | 324 | =end original |
493 | 325 | |
494 | ( | |
326 | (F) exists() の引数は、 | |
495 | ||
327 | 以下のようなハッシュの要素でなければなりません。 | |
496 | (層はデータの外部表現と内部表現の変換を扱います。) | |
497 | Perl はここで層のリストのパースを中止し、この層の追加は行われませんでした。 | |
498 | 明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の | |
499 | 値が原因かもしれません。 | |
500 | 328 | |
501 | ||
329 | $foo{$bar} | |
330 | $ref->{"susie"}[12] | |
502 | 331 | |
332 | =item %s argument is not a HASH or ARRAY element or slice | |
333 | ||
503 | 334 | =begin original |
504 | 335 | |
505 | ( | |
336 | (F) The argument to delete() must be either a hash or array element, | |
506 | ||
337 | such as: | |
507 | C</^[a-zA-Z]*[0-9]*\z/>. See L<perlop/Auto-increment and | |
508 | Auto-decrement> for details. | |
509 | 338 | |
510 | 339 | =end original |
511 | 340 | |
512 | ( | |
341 | (F) delete() の引数は以下のようにハッシュか配列の要素であるか: | |
513 | 想定しているC<++> 演算子に、示された文字列が指定されました。 | |
514 | 詳しくは L<perlop/Auto-increment and Auto-decrement> を参照してください。 | |
515 | 342 | |
516 | ||
343 | $foo{$bar} | |
344 | $ref->{"susie"}[12] | |
517 | 345 | |
518 | 346 | =begin original |
519 | 347 | |
520 | ||
348 | or a hash or array slice, such as: | |
521 | coerced to a scalar - the number of elements in the array. | |
522 | 349 | |
523 | 350 | =end original |
524 | 351 | |
525 | ||
352 | あるいは以下のようにハッシュか配列のスライスでなければなりません: | |
526 | スカラ - 配列の要素数 - に強制されました。 | |
527 | 353 | |
528 | ||
354 | @foo[$bar, $baz, $xyzzy] | |
355 | @{$ref->[12]}{"susie", "queue"} | |
529 | 356 | |
357 | =item %s argument is not a subroutine name | |
358 | ||
530 | 359 | =begin original |
531 | 360 | |
532 | ( | |
361 | (F) The argument to exists() for C<exists &sub> must be a subroutine | |
362 | name, and not a subroutine call. C<exists &sub()> will generate this | |
363 | error. | |
533 | 364 | |
534 | 365 | =end original |
535 | 366 | |
536 | ( | |
367 | (F) C<exists &sub> の形の exists() の引数はサブルーチン呼び出しではなく、 | |
368 | サブルーチン名でなければなりません。 | |
369 | C<exists &sub()> とするとこのエラーが生成されます。 | |
537 | 370 | |
538 | =item A | |
371 | =item Argument "%s" isn't numeric%s | |
539 | 372 | |
540 | 373 | =begin original |
541 | 374 | |
542 | ( | |
375 | (W numeric) The indicated string was fed as an argument to an operator | |
376 | that expected a numeric value instead. If you're fortunate the message | |
377 | will identify which operator was so unfortunate. | |
543 | 378 | |
544 | 379 | =end original |
545 | 380 | |
546 | ( | |
381 | (W numeric) ここに示した文字列は、数値が必要な演算子の引数として、 | |
547 | ||
382 | 与えられました。 | |
383 | 運がよければ、このメッセージによって、どの演算子が | |
384 | 問題となったかがわかります。 | |
548 | 385 | |
549 | =item Assi | |
386 | =item Array @%s missing the @ in argument %d of %s() | |
550 | 387 | |
551 | 388 | =begin original |
552 | 389 | |
553 | ( | |
390 | (D deprecated) Really old Perl let you omit the @ on array names in some | |
554 | ||
391 | spots. This is now heavily deprecated. | |
555 | C<\$x = \$y>. | |
556 | 392 | |
557 | 393 | =end original |
558 | 394 | |
559 | ( | |
395 | (D deprecated) 本当に古い Perl では、場所によっては、配列名の @ を | |
560 | ||
396 | 省略できました。 | |
561 | ||
397 | この省略は、止めてください。 | |
562 | 398 | |
563 | =item | |
399 | =item assertion botched: %s | |
564 | 400 | |
565 | 401 | =begin original |
566 | 402 | |
567 | ( | |
403 | (P) The malloc package that comes with Perl had an internal failure. | |
568 | two references were not of the same type. You cannot alias a scalar to | |
569 | an array, or an array to a hash; the two types must match. | |
570 | 404 | |
571 | 405 | =end original |
572 | 406 | |
573 | ( | |
407 | (P) Perl に付属の malloc ルーティンが内部エラーを起こしました。 | |
574 | 二つのリファレンスが同じ型ではありません。 | |
575 | スカラから配列への別名や配列からハッシュへの別名はできません; | |
576 | 二つの型は一致していなければなりません。 | |
577 | 408 | |
578 | ||
409 | =item Assertion failed: file "%s" | |
579 | \@x = \%y; # error | |
580 | $y = []; | |
581 | \$x = $y; # error; did you mean \$y? | |
582 | 410 | |
583 | =item Assigning non-zero to $[ is no longer possible | |
584 | ||
585 | 411 | =begin original |
586 | 412 | |
587 | ( | |
413 | (P) A general assertion failed. The file in question must be examined. | |
588 | the special variable C<$[>, which is deprecated, is now a fixed zero value. | |
589 | 414 | |
590 | 415 | =end original |
591 | 416 | |
592 | ( | |
417 | (P) 一般的なアサーションが失敗しました。 | |
593 | ||
418 | 問題の file を調べる必要があります。 | |
594 | 419 | |
595 | 420 | =item Assignment to both a list and a scalar |
596 | 421 | |
597 | 422 | =begin original |
598 | 423 | |
599 | 424 | (F) If you assign to a conditional operator, the 2nd and 3rd arguments |
600 | 425 | must either both be scalars or both be lists. Otherwise Perl won't |
601 | 426 | know which context to supply to the right side. |
602 | 427 | |
603 | 428 | =end original |
604 | 429 | |
605 | (F) 条件演算子へ代入を行なう場合には、 | |
430 | (F) 条件演算子へ代入を行なう場合には、2 つめの引数と、3 つめの引数は、 | |
606 | 431 | ともにスカラか、ともにリストでなければなりません。 |
607 | 432 | そうでないと、Perl は右辺のコンテキストを決めることができません。 |
608 | 433 | |
609 | =item | |
434 | =item Negative offset to vec in lvalue context | |
610 | 435 | |
611 | 436 | =begin original |
612 | 437 | |
613 | (W | |
438 | (F) When vec is called in an lvalue context, the second argument must be | |
439 | greater than or equal to zero. | |
614 | 440 | |
615 | 441 | =end original |
616 | 442 | |
617 | ( | |
443 | (F) 左辺値コンテキストで vec が呼び出されたとき、 | |
444 | 二つ目の引数は 0 以上でなければなりません。 | |
618 | 445 | |
619 | | |
446 | =item Attempt to free non-arena SV: 0x%lx | |
620 | [[:digit:xyz] | |
621 | 447 | |
622 | 448 | =begin original |
623 | 449 | |
624 | ||
450 | (P internal) All SV objects are supposed to be allocated from arenas | |
625 | C<[:alnum:]> or C<[:digit:]>. If so, they should be written: | |
626 | ||
627 | =end original | |
628 | ||
629 | これらは、POSIX クラス C<[:alnum:]> や C<[:digit:]> を意味しようと | |
630 | していたように見えます。 | |
631 | もしそうなら、次のように書くべきです: | |
632 | ||
633 | [[:alnum:]] | |
634 | [[:digit:]xyz] | |
635 | ||
636 | =begin original | |
637 | ||
638 | Since these aren't legal POSIX class specifications, but are legal | |
639 | bracketed character classes, Perl treats them as the latter. In the | |
640 | first example, it matches the characters C<":">, C<"[">, C<"a">, C<"l">, | |
641 | C<"m">, C<"n">, and C<"u">. | |
642 | ||
643 | =end original | |
644 | ||
645 | これらは有効な POSIX クラスしようではありませんが、有効な | |
646 | 大かっこ文字クラスなので、Perl これらを後者として扱います。 | |
647 | 一つ目の例では、これは C<":">, C<"[">, C<"a">, C<"l">, | |
648 | C<"m">, C<"n">, C<"u"> にマッチングします。 | |
649 | ||
650 | =begin original | |
651 | ||
652 | If these weren't meant to be POSIX classes, this warning message is | |
653 | spurious, and can be suppressed by reordering things, such as | |
654 | ||
655 | =end original | |
656 | ||
657 | これらが POSIX クラスを意味していないなら、この警告は誤りで、 | |
658 | 次のように文字を入れ替えることで抑制できます: | |
659 | ||
660 | [[al:num]] | |
661 | ||
662 | =begin original | |
663 | ||
664 | or | |
665 | ||
666 | =end original | |
667 | ||
668 | または | |
669 | ||
670 | [[:munla]] | |
671 | ||
672 | =item <> at require-statement should be quotes | |
673 | ||
674 | =begin original | |
675 | ||
676 | (F) You wrote C<< require <file> >> when you should have written | |
677 | C<require 'file'>. | |
678 | ||
679 | =end original | |
680 | ||
681 | (F) C<require 'file'> と書くべきところで C<< require <file> >> と | |
682 | 書いています。 | |
683 | ||
684 | =item Attempt to access disallowed key '%s' in a restricted hash | |
685 | ||
686 | =begin original | |
687 | ||
688 | (F) The failing code has attempted to get or set a key which is not in | |
689 | the current set of allowed keys of a restricted hash. | |
690 | ||
691 | =end original | |
692 | ||
693 | (F) 制限ハッシュで許されているキーの集合に含まれていないキーに対して | |
694 | 取得または設定しようとして失敗しました。 | |
695 | ||
696 | =item Attempt to bless into a freed package | |
697 | ||
698 | =begin original | |
699 | ||
700 | (F) You wrote C<bless $foo> with one argument after somehow causing | |
701 | the current package to be freed. Perl cannot figure out what to | |
702 | do, so it throws up in hands in despair. | |
703 | ||
704 | =end original | |
705 | ||
706 | (F) 現在のパッケージが解放されるような何かが起きた後で 1 引数の | |
707 | C<bless $foo> を書きました。 | |
708 | 何がしたいのかが分からないので Perl はお手上げになりました。 | |
709 | ||
710 | =item Attempt to bless into a reference | |
711 | ||
712 | =begin original | |
713 | ||
714 | (F) The CLASSNAME argument to the bless() operator is expected to be | |
715 | the name of the package to bless the resulting object into. You've | |
716 | supplied instead a reference to something: perhaps you wrote | |
717 | ||
718 | =end original | |
719 | ||
720 | (F) bless() 演算子の CLASSNAME 引数は結果のオブジェクトに bless する | |
721 | パッケージ名を想定しています。 | |
722 | そこに何かへのリファレンスが与えられました: | |
723 | おそらく以下のようにしたのでしょう: | |
724 | ||
725 | bless $self, $proto; | |
726 | ||
727 | =begin original | |
728 | ||
729 | when you intended | |
730 | ||
731 | =end original | |
732 | ||
733 | 以下を意図していたはずです: | |
734 | ||
735 | bless $self, ref($proto) || $proto; | |
736 | ||
737 | =begin original | |
738 | ||
739 | If you actually want to bless into the stringified version | |
740 | of the reference supplied, you need to stringify it yourself, for | |
741 | example by: | |
742 | ||
743 | =end original | |
744 | ||
745 | 実際に与えられたリファレンスを文字列化したものに bless したい場合は、 | |
746 | 以下のようにして自分で文字列化する必要があります: | |
747 | ||
748 | bless $self, "$proto"; | |
749 | ||
750 | =item Attempt to clear deleted array | |
751 | ||
752 | =begin original | |
753 | ||
754 | (S debugging) An array was assigned to when it was being freed. | |
755 | Freed values are not supposed to be visible to Perl code. This | |
756 | can also happen if XS code calls C<av_clear> from a custom magic | |
757 | callback on the array. | |
758 | ||
759 | =end original | |
760 | ||
761 | (S debugging) 配列が、解放されるときに代入されました。 | |
762 | 解放された値は Perl コードからは見えないはずです。 | |
763 | これはまた、XS コードが配列のカスタムマジックコールバックから | |
764 | C<av_clear> を呼び出したときにも起こります。 | |
765 | ||
766 | =item Attempt to delete disallowed key '%s' from a restricted hash | |
767 | ||
768 | =begin original | |
769 | ||
770 | (F) The failing code attempted to delete from a restricted hash a key | |
771 | which is not in its key set. | |
772 | ||
773 | =end original | |
774 | ||
775 | (F) 制限ハッシュで、キー集合に含まれていないキーから削除しようとしました。 | |
776 | ||
777 | =item Attempt to delete readonly key '%s' from a restricted hash | |
778 | ||
779 | =begin original | |
780 | ||
781 | (F) The failing code attempted to delete a key whose value has been | |
782 | declared readonly from a restricted hash. | |
783 | ||
784 | =end original | |
785 | ||
786 | (F) 制限ハッシュで、読み込み専用として宣言されている値のキーを | |
787 | 削除しようとしました。 | |
788 | ||
789 | =item Attempt to free non-arena SV: 0x%x | |
790 | ||
791 | =begin original | |
792 | ||
793 | (S internal) All SV objects are supposed to be allocated from arenas | |
794 | 451 | that will be garbage collected on exit. An SV was discovered to be |
795 | 452 | outside any of those arenas. |
796 | 453 | |
797 | 454 | =end original |
798 | 455 | |
799 | ( | |
456 | (P internal) すべての SV オブジェクトは、exit 時にガーベジコレクションが | |
800 | 457 | 行なわれるアリーナに割り当てるようになっています。 |
801 | 458 | ある SV が、そういったアリーナに入っていないことが、見つかりました。 |
802 | 459 | |
803 | =item Attempt to free nonexistent shared string | |
460 | =item Attempt to free nonexistent shared string | |
804 | 461 | |
805 | 462 | =begin original |
806 | 463 | |
807 | ( | |
464 | (P internal) Perl maintains a reference counted internal table of | |
808 | 465 | strings to optimize the storage and access of hash keys and other |
809 | 466 | strings. This indicates someone tried to decrement the reference count |
810 | 467 | of a string that can no longer be found in the table. |
811 | 468 | |
812 | 469 | =end original |
813 | 470 | |
814 | ( | |
471 | (P internal) Perl はストレージおよびハッシュキーとその他の | |
815 | アクセスを最適化するために、文字列の参照数テーブルを | |
472 | 文字列へのアクセスを最適化するために、文字列の参照数テーブルを | |
816 | ||
473 | 管理しています。 | |
817 | ||
474 | これは誰かがもうテーブルにない文字列の参照カウントを減らそうと | |
475 | したことを示します。 | |
818 | 476 | |
819 | =item Attempt to free temp prematurely | |
477 | =item Attempt to free temp prematurely | |
820 | 478 | |
821 | 479 | =begin original |
822 | 480 | |
823 | ( | |
481 | (W debugging) Mortalized values are supposed to be freed by the | |
824 | 482 | free_tmps() routine. This indicates that something else is freeing the |
825 | 483 | SV before the free_tmps() routine gets a chance, which means that the |
826 | 484 | free_tmps() routine will be freeing an unreferenced scalar when it does |
827 | 485 | try to free it. |
828 | 486 | |
829 | 487 | =end original |
830 | 488 | |
831 | ( | |
489 | (W debugging) 消滅する値は、free_tmps() ルーティンで解放されるように | |
832 | 490 | なっています。 |
833 | 491 | このメッセージは、free_tmps() ルーティンの前に何ものかが、SV を |
834 | 492 | 解放しようとしていることを示していて、これは、free_tmps() が |
835 | 493 | 解放しようとしたときには、どこからも参照されていないスカラを |
836 | 494 | 解放することになるということです。 |
837 | 495 | |
838 | 496 | =item Attempt to free unreferenced glob pointers |
839 | 497 | |
840 | 498 | =begin original |
841 | 499 | |
842 | ( | |
500 | (P internal) The reference counts got screwed up on symbol aliases. | |
843 | 501 | |
844 | 502 | =end original |
845 | 503 | |
846 | ( | |
504 | (P internal) シンボルのエイリアスについて、参照カウントの値がおかしな | |
847 | 505 | 状態になりました。 |
848 | 506 | |
849 | =item Attempt to free unreferenced scalar | |
507 | =item Attempt to free unreferenced scalar | |
850 | 508 | |
851 | 509 | =begin original |
852 | 510 | |
853 | ( | |
511 | (W internal) Perl went to decrement the reference count of a scalar to | |
854 | 512 | see if it would go to 0, and discovered that it had already gone to 0 |
855 | 513 | earlier, and should have been freed, and in fact, probably was freed. |
856 | 514 | This could indicate that SvREFCNT_dec() was called too many times, or |
857 | 515 | that SvREFCNT_inc() was called too few times, or that the SV was |
858 | 516 | mortalized when it shouldn't have been, or that memory has been |
859 | 517 | corrupted. |
860 | 518 | |
861 | 519 | =end original |
862 | 520 | |
863 | ( | |
521 | (W) Perl がスカラの参照カウントをデクリメントしようとして、0 に | |
864 | なるかを見たところ、既に 0 になっていることがわかりました | |
522 | なるかを見たところ、既に 0 になっていることがわかりました。 | |
865 | 523 | これは、既に解放されているべきものであり、実際は、おそらく、 |
866 | 524 | 解放されたものでしょう。 |
867 | 525 | これは、SvREFCNT_dec() が必要以上に呼ばれたか、SvREFCNT_inc() が必要な |
868 | 526 | ときに呼ばれなかったか、SV が消滅すべきで無いときに消滅してしまったか、 |
869 | 527 | メモリ異常になったことが考えられます。 |
870 | 528 | |
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 | ||
871 | 544 | =item Attempt to pack pointer to temporary value |
872 | 545 | |
873 | 546 | =begin original |
874 | 547 | |
875 | 548 | (W pack) You tried to pass a temporary value (like the result of a |
876 | 549 | function, or a computed expression) to the "p" pack() template. This |
877 | 550 | means the result contains a pointer to a location that could become |
878 | 551 | invalid anytime, even before the end of the current statement. Use |
879 | 552 | literals or global values as arguments to the "p" pack() template to |
880 | 553 | avoid this warning. |
881 | 554 | |
882 | 555 | =end original |
883 | 556 | |
884 | 557 | (W pack) (関数の結果や計算された式といった)一時的な値を pack() の |
885 | 558 | "p" テンプレートに渡そうとしました。 |
886 | 559 | これは、たとえ現在の文の終了前でも、不正な値となり得ます。 |
887 | この警告を避けるためには、pack テンプレート "p" の引数として、 | |
560 | この警告を避けるためには、pack テンプレート "p" の引数として、 | |
888 | グローバルな値を使ってください。 | |
561 | リテラルかグローバルな値を使ってください。 | |
889 | 562 | |
890 | =item Attempt to reload %s aborted. | |
891 | ||
892 | =begin original | |
893 | ||
894 | (F) You tried to load a file with C<use> or C<require> that failed to | |
895 | compile once already. Perl will not try to compile this file again | |
896 | unless you delete its entry from %INC. See L<perlfunc/require> and | |
897 | L<perlvar/%INC>. | |
898 | ||
899 | =end original | |
900 | ||
901 | (F) 既に一度コンパイルに失敗しているファイルを C<use> や C<require> で | |
902 | 読み込もうとしました。 | |
903 | Perl は %INC からこのファイルのエントリを削除するまで再びファイルを | |
904 | コンパイルしようとはしません。 | |
905 | L<perlfunc/require> と L<perlvar/%INC> を参照してください。 | |
906 | ||
907 | =item Attempt to set length of freed array | |
908 | ||
909 | =begin original | |
910 | ||
911 | (W misc) You tried to set the length of an array which has | |
912 | been freed. You can do this by storing a reference to the | |
913 | scalar representing the last index of an array and later | |
914 | assigning through that reference. For example | |
915 | ||
916 | =end original | |
917 | ||
918 | (W misc) 既に解放された配列の長さを設定しようとしました。 | |
919 | 配列の最後のインデックスを表現するスカラをリファレンスに保存して、 | |
920 | 後でこのリファレンスを通して代入することでこれを行えます。 | |
921 | 例えば: | |
922 | ||
923 | $r = do {my @a; \$#a}; | |
924 | $$r = 503 | |
925 | ||
926 | 563 | =item Attempt to use reference as lvalue in substr |
927 | 564 | |
928 | 565 | =begin original |
929 | 566 | |
930 | 567 | (W substr) You supplied a reference as the first argument to substr() |
931 | 568 | used as an lvalue, which is pretty strange. Perhaps you forgot to |
932 | 569 | dereference it first. See L<perlfunc/substr>. |
933 | 570 | |
934 | 571 | =end original |
935 | 572 | |
936 | 573 | (W substr) 左辺値として使われる substr() の 1 番目の引数としてリファレンスを |
937 | 574 | 渡しました; これはやや奇妙なことです。 |
938 | 575 | おそらくはまずデリファレンスするのを忘れたのでしょう。 |
939 | 576 | L<perlfunc/substr> を参照してください。 |
940 | 577 | |
941 | =item | |
578 | =item Bad arg length for %s, is %d, should be %d | |
942 | 579 | |
943 | 580 | =begin original |
944 | 581 | |
945 | (D deprecated) You have used the attributes pragma to modify the | |
946 | "locked" attribute on a code reference. The :locked attribute is | |
947 | obsolete, has had no effect since 5005 threads were removed, and | |
948 | will be removed in a future release of Perl 5. | |
949 | ||
950 | =end original | |
951 | ||
952 | (D deprecated) コードリファレンスの "locked" 属性を修正するために | |
953 | attributes プラグマを使いました。 | |
954 | :locked 属性は古いもので、5005 スレッドが削除されてから何の効果もなく、 | |
955 | 将来の Perl 5 のメジャーリリースで削除されます。 | |
956 | ||
957 | =item Attribute prototype(%s) discards earlier prototype attribute in same sub | |
958 | ||
959 | =begin original | |
960 | ||
961 | (W misc) A sub was declared as sub foo : prototype(A) : prototype(B) {}, for | |
962 | example. Since each sub can only have one prototype, the earlier | |
963 | declaration(s) are discarded while the last one is applied. | |
964 | ||
965 | =end original | |
966 | ||
967 | (W misc) あるサブルーチンが、例えば | |
968 | sub foo : prototype(A) : prototype(B) {} のように宣言されました。 | |
969 | それぞれのサブルーチンは一つのプロトタイプしか持てないので、先に | |
970 | 宣言されたものは破棄され、最後のものが適用されます。 | |
971 | ||
972 | =item Attribute "unique" is deprecated | |
973 | ||
974 | =begin original | |
975 | ||
976 | (D deprecated) You have used the attributes pragma to modify | |
977 | the "unique" attribute on an array, hash or scalar reference. | |
978 | The :unique attribute has had no effect since Perl 5.8.8, and | |
979 | will be removed in a future release of Perl 5. | |
980 | ||
981 | =end original | |
982 | ||
983 | (D deprecated) 配列、ハッシュ、スカラリファレンスの "unique" 属性を | |
984 | 修正するために attributes プラグマを使いました。 | |
985 | :unique 属性は Perl 5.8.8 から何の効果もなく、将来の Perl 5 のメジャー | |
986 | リリースで削除されます。 | |
987 | ||
988 | =item av_reify called on tied array | |
989 | ||
990 | =begin original | |
991 | ||
992 | (S debugging) This indicates that something went wrong and Perl got I<very> | |
993 | confused about C<@_> or C<@DB::args> being tied. | |
994 | ||
995 | =end original | |
996 | ||
997 | (S debugging) これは、C<@_> や C<@DB::args> が tie されたことに関して何かが | |
998 | うまくいかなくて Perl が I<とても> 混乱したことを示しています。 | |
999 | ||
1000 | =item Bad arg length for %s, is %u, should be %d | |
1001 | ||
1002 | =begin original | |
1003 | ||
1004 | 582 | (F) You passed a buffer of the wrong size to one of msgctl(), semctl() |
1005 | 583 | or shmctl(). In C parlance, the correct sizes are, respectively, |
1006 | 584 | S<sizeof(struct msqid_ds *)>, S<sizeof(struct semid_ds *)>, and |
1007 | 585 | S<sizeof(struct shmid_ds *)>. |
1008 | 586 | |
1009 | 587 | =end original |
1010 | 588 | |
1011 | 589 | (F) msgctl()、semctl()、shmctl() のいずれかに、間違ったサイズのバッファを |
1012 | 590 | 渡してしまいました。 |
1013 | 591 | C の言い方で書くと、正しいサイズはそれぞれ、sizeof(struct msqid_ds *)、 |
1014 | 592 | sizeof(struct semid_ds *)、sizeof(struct shmid_ds *) です。 |
1015 | 593 | |
1016 | 594 | =item Bad evalled substitution pattern |
1017 | 595 | |
1018 | 596 | =begin original |
1019 | 597 | |
1020 | (F) You've used the | |
598 | (F) You've used the /e switch to evaluate the replacement for a | |
1021 | 599 | substitution, but perl found a syntax error in the code to evaluate, |
1022 | 600 | most likely an unexpected right brace '}'. |
1023 | 601 | |
1024 | 602 | =end original |
1025 | 603 | |
1026 | 604 | (F)置換のための置き換え文字列を評価するために C</e> オプションを指定して |
1027 | 605 | いますが、評価するコードに文法エラーがありました; |
1028 | 606 | 最もありそうなことは、予期しない位置に右中かっこ '}' があったことです。 |
1029 | 607 | |
1030 | 608 | =item Bad filehandle: %s |
1031 | 609 | |
1032 | 610 | =begin original |
1033 | 611 | |
1034 | 612 | (F) A symbol was passed to something wanting a filehandle, but the |
1035 | 613 | symbol has no filehandle associated with it. Perhaps you didn't do an |
1036 | 614 | open(), or did it in another package. |
1037 | 615 | |
1038 | 616 | =end original |
1039 | 617 | |
1040 | (F) ファイルハンドルが必要なものに、シンボルを渡しましたが、 | |
618 | (F) ファイルハンドルが必要なものに、シンボルを渡しましたが、 | |
1041 | それに伴うファイルハンドルがありません。 | |
619 | そのシンボルは、それに伴うファイルハンドルがありません。 | |
1042 | 620 | おそらく、open() を忘れたか、別のパッケージで open() したかでしょう。 |
1043 | 621 | |
1044 | 622 | =item Bad free() ignored |
1045 | 623 | |
1046 | 624 | =begin original |
1047 | 625 | |
1048 | 626 | (S malloc) An internal routine called free() on something that had never |
1049 | been malloc()ed in the first place. | |
627 | been malloc()ed in the first place. Mandatory, but can be disabled by | |
1050 | 628 | setting environment variable C<PERL_BADFREE> to 0. |
1051 | 629 | |
1052 | 630 | =end original |
1053 | 631 | |
1054 | 632 | (S malloc) まず、malloc() されていないものに対して、内部ルーティンが |
1055 | 633 | free() を呼びました。 |
1056 | 634 | 強制ですが、環境変数 C<PERL_BADFREE> を 0 にすることで無効化できます。 |
1057 | 635 | |
1058 | 636 | =begin original |
1059 | 637 | |
1060 | 638 | This message can be seen quite often with DB_File on systems with "hard" |
1061 | dynamic linking, like C<AIX> and C<OS/2>. | |
639 | dynamic linking, like C<AIX> and C<OS/2>. It is a bug of C<Berkeley DB> | |
1062 | 640 | which is left unnoticed if C<DB> uses I<forgiving> system malloc(). |
1063 | 641 | |
1064 | 642 | =end original |
1065 | 643 | |
1066 | 644 | このメッセージ は、C<AIX> や C<OS/2> のような、「ハード」動的リンクを |
1067 | 645 | 行うシステムで DB_File を使うとしばしば表示されます。 |
1068 | 646 | これは C<DB> がシステムの malloc() を許していることに気が付かない |
1069 | 647 | C<Berkeley DB> のバグです。 |
1070 | 648 | |
1071 | 649 | =item Bad hash |
1072 | 650 | |
1073 | 651 | =begin original |
1074 | 652 | |
1075 | 653 | (P) One of the internal hash routines was passed a null HV pointer. |
1076 | 654 | |
1077 | 655 | =end original |
1078 | 656 | |
1079 | 657 | (P) 内部ハッシュルーティンで、ヌル HV ポインタを渡されたものがありました。 |
1080 | 658 | |
659 | =item Bad index while coercing array into hash | |
660 | ||
661 | =begin original | |
662 | ||
663 | (F) The index looked up in the hash found as the 0'th element of a | |
664 | pseudo-hash is not legal. Index values must be at 1 or greater. | |
665 | See L<perlref>. | |
666 | ||
667 | =end original | |
668 | ||
669 | (F) 擬似ハッシュの 0 番目の要素として見つかったハッシュの中の | |
670 | インデックス検索は不正です。 | |
671 | インデックスの値は 1 以上でなければなりません。 | |
672 | L<perlref> を参照してください。 | |
673 | ||
1081 | 674 | =item Badly placed ()'s |
1082 | 675 | |
1083 | 676 | =begin original |
1084 | 677 | |
1085 | 678 | (A) You've accidentally run your script through B<csh> instead |
1086 | 679 | of Perl. Check the #! line, or manually feed your script into |
1087 | 680 | Perl yourself. |
1088 | 681 | |
1089 | 682 | =end original |
1090 | 683 | |
1091 | 684 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
1092 | 685 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
1093 | 686 | |
1094 | =item Bad name after %s | |
687 | =item Bad name after %s:: | |
1095 | 688 | |
1096 | 689 | =begin original |
1097 | 690 | |
1098 | 691 | (F) You started to name a symbol by using a package prefix, and then |
1099 | 692 | didn't finish the symbol. In particular, you can't interpolate outside |
1100 | 693 | of quotes, so |
1101 | 694 | |
1102 | 695 | =end original |
1103 | 696 | |
1104 | (F) パッケージプレフィクスでシンボル名を書き始めましたが、 | |
697 | (F) パッケージプレフィクスでシンボル名を書き始めましたが、 | |
1105 | 終了しませんでした。 | |
698 | そのシンボルが終了しませんでした。 | |
1106 | 699 | 特に、クォートの外で、変数展開はできませんから、 |
1107 | 700 | |
1108 | 701 | $var = 'myvar'; |
1109 | 702 | $sym = mypack::$var; |
1110 | 703 | |
1111 | 704 | =begin original |
1112 | 705 | |
1113 | 706 | is not the same as |
1114 | 707 | |
1115 | 708 | =end original |
1116 | 709 | |
1117 | 710 | は、以下と同じではありません。 |
1118 | 711 | |
1119 | 712 | $var = 'myvar'; |
1120 | 713 | $sym = "mypack::$var"; |
1121 | 714 | |
1122 | =item Bad plugin affecting keyword '%s' | |
1123 | ||
1124 | =begin original | |
1125 | ||
1126 | (F) An extension using the keyword plugin mechanism violated the | |
1127 | plugin API. | |
1128 | ||
1129 | =end original | |
1130 | ||
1131 | (F) キーワードプラグイン機構を使っているエクステンションがプラグイン API に | |
1132 | 違反しました。 | |
1133 | ||
1134 | 715 | =item Bad realloc() ignored |
1135 | 716 | |
1136 | 717 | =begin original |
1137 | 718 | |
1138 | (S malloc) An internal routine called realloc() on something that | |
719 | (S malloc) An internal routine called realloc() on something that had | |
1139 | ||
720 | never been malloc()ed in the first place. Mandatory, but can be disabled | |
1140 | b | |
721 | by setting environment variable C<PERL_BADFREE> to 1. | |
1141 | 722 | |
1142 | 723 | =end original |
1143 | 724 | |
1144 | 725 | (S malloc) 内部ルーチンが、最初に malloc() されていない何かに対して |
1145 | 726 | realloc() を呼び出しました。 |
1146 | 727 | 必須ですが、環境変数 C<PERL_BADFREE> に 1 をセットすることで無効化できます。 |
1147 | 728 | |
1148 | 729 | =item Bad symbol for array |
1149 | 730 | |
1150 | 731 | =begin original |
1151 | 732 | |
1152 | 733 | (P) An internal request asked to add an array entry to something that |
1153 | 734 | wasn't a symbol table entry. |
1154 | 735 | |
1155 | 736 | =end original |
1156 | 737 | |
1157 | 738 | (P) シンボルテーブルエントリではないものに、配列エントリを登録するような |
1158 | 739 | 内部要求があがりました。 |
1159 | 740 | |
1160 | =item Bad symbol for dirhandle | |
1161 | ||
1162 | =begin original | |
1163 | ||
1164 | (P) An internal request asked to add a dirhandle entry to something | |
1165 | that wasn't a symbol table entry. | |
1166 | ||
1167 | =end original | |
1168 | ||
1169 | (P) シンボルテーブルエントリではないものに、ディレクトリハンドルエントリを | |
1170 | 登録するような内部要求があがりました。 | |
1171 | ||
1172 | 741 | =item Bad symbol for filehandle |
1173 | 742 | |
1174 | 743 | =begin original |
1175 | 744 | |
1176 | 745 | (P) An internal request asked to add a filehandle entry to something |
1177 | 746 | that wasn't a symbol table entry. |
1178 | 747 | |
1179 | 748 | =end original |
1180 | 749 | |
1181 | 750 | (P) シンボルテーブルエントリではないものに、ファイルハンドルエントリを |
1182 | 751 | 登録するような内部要求があがりました。 |
1183 | 752 | |
1184 | 753 | =item Bad symbol for hash |
1185 | 754 | |
1186 | 755 | =begin original |
1187 | 756 | |
1188 | 757 | (P) An internal request asked to add a hash entry to something that |
1189 | 758 | wasn't a symbol table entry. |
1190 | 759 | |
1191 | 760 | =end original |
1192 | 761 | |
1193 | 762 | (P) シンボルテーブルエントリではないものに、ハッシュエントリを |
1194 | 763 | 登録するような内部要求があがった。 |
1195 | 764 | |
1196 | =item Bad symbol for scalar | |
1197 | ||
1198 | =begin original | |
1199 | ||
1200 | (P) An internal request asked to add a scalar entry to something that | |
1201 | wasn't a symbol table entry. | |
1202 | ||
1203 | =end original | |
1204 | ||
1205 | (P) 内部で、シンボルテーブルエントリでないものに対してスカラエントリを | |
1206 | 追加するよう要求がありました。 | |
1207 | ||
1208 | 765 | =item Bareword found in conditional |
1209 | 766 | |
1210 | 767 | =begin original |
1211 | 768 | |
1212 | 769 | (W bareword) The compiler found a bareword where it expected a |
1213 | 770 | conditional, which often indicates that an || or && was parsed as part |
1214 | 771 | of the last argument of the previous construct, for example: |
1215 | 772 | |
1216 | 773 | =end original |
1217 | 774 | |
1218 | (W bareword) コンパイラが、条件が想定される位置に裸の単語を発見しました | |
775 | (W bareword) コンパイラが、条件が想定される位置に裸の単語を発見しました。 | |
1219 | 776 | これはしばしば、|| や && が直前の構造の最後の引数の一部として |
1220 | 777 | パースされたことを意味します; 例えば: |
1221 | 778 | |
1222 | 779 | open FOO || die; |
1223 | 780 | |
1224 | 781 | =begin original |
1225 | 782 | |
1226 | 783 | It may also indicate a misspelled constant that has been interpreted as |
1227 | 784 | a bareword: |
1228 | 785 | |
1229 | 786 | =end original |
1230 | 787 | |
1231 | 788 | これはまた、裸の単語として解釈されるような定数をタイプミスしたことを |
1232 | 789 | 示している場合もあります: |
1233 | 790 | |
1234 | 791 | use constant TYPO => 1; |
1235 | 792 | if (TYOP) { print "foo" } |
1236 | 793 | |
1237 | 794 | =begin original |
1238 | 795 | |
1239 | 796 | The C<strict> pragma is useful in avoiding such errors. |
1240 | 797 | |
1241 | 798 | =end original |
1242 | 799 | |
1243 | 800 | C<strict> プラグマはこのようなエラーを防ぐのに便利です。 |
1244 | 801 | |
1245 | 802 | =item Bareword "%s" not allowed while "strict subs" in use |
1246 | 803 | |
1247 | 804 | =begin original |
1248 | 805 | |
1249 | 806 | (F) With "strict subs" in use, a bareword is only allowed as a |
1250 | 807 | subroutine identifier, in curly brackets or to the left of the "=>" |
1251 | 808 | symbol. Perhaps you need to predeclare a subroutine? |
1252 | 809 | |
1253 | 810 | =end original |
1254 | 811 | |
1255 | "strict subs" が有効の場合、裸の単語はサブルーチンの識別子、 | |
812 | "strict subs" が有効の場合、裸の単語はサブルーチンの識別子、 | |
1256 | シンボル "=>" の左側でのみ許されます。 | |
813 | 中かっこの中、シンボル "=>" の左側でのみ許されます。 | |
1257 | 814 | おそらくサブルーチンを先行宣言する必要があるのでは? |
1258 | 815 | |
1259 | 816 | =item Bareword "%s" refers to nonexistent package |
1260 | 817 | |
1261 | 818 | =begin original |
1262 | 819 | |
1263 | 820 | (W bareword) You used a qualified bareword of the form C<Foo::>, but the |
1264 | 821 | compiler saw no other uses of that namespace before that point. Perhaps |
1265 | 822 | you need to predeclare a package? |
1266 | 823 | |
1267 | 824 | =end original |
1268 | 825 | |
1269 | 826 | (W bareword) C<Foo::> の形で修飾された裸の単語が使われていますが、 |
1270 | 827 | コンパイラはこの場所以外でこの名前空間が使われている場所を |
1271 | 828 | 発見できませんでした。 |
1272 | 829 | おそらくパッケージを専攻宣言する必要があるのでは? |
1273 | 830 | |
1274 | 831 | =item BEGIN failed--compilation aborted |
1275 | 832 | |
1276 | 833 | =begin original |
1277 | 834 | |
1278 | 835 | (F) An untrapped exception was raised while executing a BEGIN |
1279 | 836 | subroutine. Compilation stops immediately and the interpreter is |
1280 | 837 | exited. |
1281 | 838 | |
1282 | 839 | =end original |
1283 | 840 | |
1284 | (F) BEGIN サブルー | |
841 | (F) BEGIN サブルーティンの実行中にトラップ不可能な例外が発生しました。 | |
1285 | 842 | コンパイルは即座に停止し、インタプリタは中止します。 |
1286 | 843 | |
1287 | 844 | =item BEGIN not safe after errors--compilation aborted |
1288 | 845 | |
1289 | 846 | =begin original |
1290 | 847 | |
1291 | 848 | (F) Perl found a C<BEGIN {}> subroutine (or a C<use> directive, which |
1292 | 849 | implies a C<BEGIN {}>) after one or more compilation errors had already |
1293 | 850 | occurred. Since the intended environment for the C<BEGIN {}> could not |
1294 | 851 | be guaranteed (due to the errors), and since subsequent code likely |
1295 | 852 | depends on its correct operation, Perl just gave up. |
1296 | 853 | |
1297 | 854 | =end original |
1298 | 855 | |
1299 | 856 | (F) Perl は既にコンパイルエラーが発生した後に C<BEGIN {}> サブルーチン |
1300 | (または C<use> 指示子(これは C<BEGIN {}> を暗示します))を | |
857 | (または C<use> 指示子(これは C<BEGIN {}> を暗示します))を | |
1301 | ||
858 | 発見しました。 | |
1302 | ||
859 | C<BEGIN {}> が意図した環境は(エラーのために)保証されず、 | |
860 | 引き続くコードは正しい処理に依存していると考えられるので、 | |
861 | Perl は単に諦めました。 | |
1303 | 862 | |
1304 | =item \ | |
863 | =item \1 better written as $1 | |
1305 | 864 | |
1306 | 865 | =begin original |
1307 | 866 | |
1308 | 867 | (W syntax) Outside of patterns, backreferences live on as variables. |
1309 | 868 | The use of backslashes is grandfathered on the right-hand side of a |
1310 | 869 | substitution, but stylistically it's better to use the variable form |
1311 | 870 | because other Perl programmers will expect it, and it works better if |
1312 | 871 | there are more than 9 backreferences. |
1313 | 872 | |
1314 | 873 | =end original |
1315 | 874 | |
1316 | 875 | (W syntax) パターンの外では、後方参照は変数の形で存在します。 |
1317 | 後方参照の利用は、置換の右側の部分で扱われますが、スタイル的には、 | |
876 | 後方参照の利用は、置換の右側の部分で扱われますが、スタイル的には、 | |
1318 | Perl プログラマが期待し、9 個以上の後方参照があるときにも | |
877 | 他の Perl プログラマが期待し、9 個以上の後方参照があるときにも | |
1319 | 変数形式を使う方が良いでしょう。 | |
878 | うまく動作する、変数形式を使う方が良いでしょう。 | |
1320 | 879 | |
1321 | 880 | =item Binary number > 0b11111111111111111111111111111111 non-portable |
1322 | 881 | |
1323 | 882 | =begin original |
1324 | 883 | |
1325 | 884 | (W portable) The binary number you specified is larger than 2**32-1 |
1326 | 885 | (4294967295) and therefore non-portable between systems. See |
1327 | 886 | L<perlport> for more on portability concerns. |
1328 | 887 | |
1329 | 888 | =end original |
1330 | 889 | |
1331 | 890 | (W portable) 指定された 2 進数が 2**32-1 (4294967295) を越えるので、 |
1332 | 891 | システム間での移植性がありません。 |
1333 | 892 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
1334 | 893 | |
1335 | 894 | =item bind() on closed socket %s |
1336 | 895 | |
1337 | 896 | =begin original |
1338 | 897 | |
1339 | 898 | (W closed) You tried to do a bind on a closed socket. Did you forget to |
1340 | 899 | check the return value of your socket() call? See L<perlfunc/bind>. |
1341 | 900 | |
1342 | 901 | =end original |
1343 | 902 | |
1344 | 903 | (W closed) クローズされたソケットに bind を行なおうとしました。 |
1345 | 904 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
1346 | 905 | L<perlfunc/bind> を参照してください。 |
1347 | 906 | |
1348 | =item binmode() on closed filehandle %s | |
1349 | ||
1350 | =begin original | |
1351 | ||
1352 | (W unopened) You tried binmode() on a filehandle that was never opened. | |
1353 | Check your control flow and number of arguments. | |
1354 | ||
1355 | =end original | |
1356 | ||
1357 | (W unopened) 開いていないファイルハンドルに binmode() を使おうとしました。 | |
1358 | 制御フローと引数の数をチェックしてください。 | |
1359 | ||
1360 | 907 | =item Bit vector size > 32 non-portable |
1361 | 908 | |
1362 | 909 | =begin original |
1363 | 910 | |
1364 | 911 | (W portable) Using bit vector sizes larger than 32 is non-portable. |
1365 | 912 | |
1366 | 913 | =end original |
1367 | 914 | |
1368 | 915 | (W portable) 32 を越えるサイズのビットベクタは移植性がありません。 |
1369 | 916 | |
1370 | =item Bizarre copy of %s | |
917 | =item Bizarre copy of %s in %s | |
1371 | 918 | |
1372 | 919 | =begin original |
1373 | 920 | |
1374 | 921 | (P) Perl detected an attempt to copy an internal value that is not |
1375 | cop | |
922 | copyable. | |
1376 | 923 | |
1377 | 924 | =end original |
1378 | 925 | |
1379 | 926 | (P) コピーできない内部の値をコピーしようとしました。 |
1380 | 927 | |
1381 | =item B | |
928 | =item B<-P> not allowed for setuid/setgid script | |
1382 | 929 | |
1383 | 930 | =begin original |
1384 | 931 | |
1385 | ( | |
932 | (F) The script would have to be opened by the C preprocessor by name, | |
1386 | ||
933 | which provides a race condition that breaks security. | |
1387 | 934 | |
1388 | 935 | =end original |
1389 | 936 | |
1390 | ( | |
937 | (F) C プリプロセッサがスクリプトをオープンするときには、 | |
1391 | ||
938 | 名前でオープンしなければいけませんが、これは、安全性を損なう競合条件を | |
939 | もたらします。 | |
1392 | 940 | |
1393 | =item Both or neither range ends should be Unicode in regex; marked by | |
1394 | S<<-- HERE> in m/%s/ | |
1395 | ||
1396 | =begin original | |
1397 | ||
1398 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
1399 | ||
1400 | =end original | |
1401 | ||
1402 | (W regexp) (C<S<use re 'strict'>> の基か C<(?[...])> の内側のみ) | |
1403 | ||
1404 | =begin original | |
1405 | ||
1406 | In a bracketed character class in a regular expression pattern, you | |
1407 | had a range which has exactly one end of it specified using C<\N{}>, and | |
1408 | the other end is specified using a non-portable mechanism. Perl treats | |
1409 | the range as a Unicode range, that is, all the characters in it are | |
1410 | considered to be the Unicode characters, and which may be different code | |
1411 | points on some platforms Perl runs on. For example, C<[\N{U+06}-\x08]> | |
1412 | is treated as if you had instead said C<[\N{U+06}-\N{U+08}]>, that is it | |
1413 | matches the characters whose code points in Unicode are 6, 7, and 8. | |
1414 | But that C<\x08> might indicate that you meant something different, so | |
1415 | the warning gets raised. | |
1416 | ||
1417 | =end original | |
1418 | ||
1419 | 正規表現中の大かっこ文字クラスの中で、範囲指定の片方は C<\N{}> を使って | |
1420 | 指定し、もう片方は移植性のない方法を使って指定しました。 | |
1421 | Perl はこの範囲を Unicode の範囲として扱います; つまり、その中の全ての文字は | |
1422 | Unicode 文字として扱われ、Perl が実行される一部のプラットフォームでは | |
1423 | 異なる符号位置になるかもしれません。 | |
1424 | 例えば、C<[\N{U+06}-\x08]> は、C<[\N{U+06}-\N{U+08}]> と | |
1425 | 書いたかのように扱われ、Unicode の符号位置 6, 7, 8 の文字にマッチングします。 | |
1426 | しかし、C<\x08> はなにか違うことを意味していることを示しているので、 | |
1427 | 警告が発生します。 | |
1428 | ||
1429 | 941 | =item Buffer overflow in prime_env_iter: %s |
1430 | 942 | |
1431 | 943 | =begin original |
1432 | 944 | |
1433 | 945 | (W internal) A warning peculiar to VMS. While Perl was preparing to |
1434 | 946 | iterate over %ENV, it encountered a logical name or symbol definition |
1435 | 947 | which was too long, so it was truncated to the string shown. |
1436 | 948 | |
1437 | 949 | =end original |
1438 | 950 | |
1439 | (W | |
951 | (W) VMS 特有の警告です。 | |
1440 | Perl が %ENV を反復する準備中、長すぎる論理名かシンボル定義に | |
952 | Perl が %ENV を反復する準備中、長すぎる論理名かシンボル定義に | |
1441 | 文字列は表示したように切り詰められました。 | |
953 | 遭遇したので、文字列は表示したように切り詰められました。 | |
1442 | 954 | |
1443 | 955 | =item Callback called exit |
1444 | 956 | |
1445 | 957 | =begin original |
1446 | 958 | |
1447 | 959 | (F) A subroutine invoked from an external package via call_sv() |
1448 | 960 | exited by calling exit. |
1449 | 961 | |
1450 | 962 | =end original |
1451 | 963 | |
1452 | (F) 外部パッケージから call_sv() で起動されたサブルー | |
964 | (F) 外部パッケージから call_sv() で起動されたサブルーティンが exit を | |
1453 | 終了しました。 | |
965 | 呼んで終了しました。 | |
1454 | 966 | |
1455 | 967 | =item %s() called too early to check prototype |
1456 | 968 | |
1457 | 969 | =begin original |
1458 | 970 | |
1459 | 971 | (W prototype) You've called a function that has a prototype before the |
1460 | 972 | parser saw a definition or declaration for it, and Perl could not check |
1461 | 973 | that the call conforms to the prototype. You need to either add an |
1462 | 974 | early prototype declaration for the subroutine in question, or move the |
1463 | 975 | subroutine definition ahead of the call to get proper prototype |
1464 | 976 | checking. Alternatively, if you are certain that you're calling the |
1465 | 977 | function correctly, you may put an ampersand before the name to avoid |
1466 | 978 | the warning. See L<perlsub>. |
1467 | 979 | |
1468 | 980 | =end original |
1469 | 981 | |
1470 | 982 | (W prototype) 以前にパーサが宣言または定義されているのを見た、 |
1471 | 983 | プロトタイプ付きの関数を呼び出しましたが、Perl は呼び出しがプロトタイプに |
1472 | 984 | 従っているかどうかをチェックできませんでした。 |
1473 | 985 | 問題になっているサブルーチンのプロトタイプ宣言を最初の方に追加するか、 |
1474 | 986 | 適切なプロトタイプチェックを行うためにサブルーチン定義を呼び出しの前に |
1475 | 987 | 移動させる必要があります。 |
1476 | 988 | または、関数を正しく呼び出していることが確かな場合は、名前の前に |
1477 | 989 | アンパサンドを付けることで警告を回避できます。 |
1478 | 990 | L<perlsub> を参照してください。 |
1479 | 991 | |
1480 | =item | |
992 | =item / cannot take a count | |
1481 | 993 | |
1482 | 994 | =begin original |
1483 | 995 | |
1484 | ( | |
996 | (F) You had an unpack template indicating a counted-length string, but | |
1485 | ||
997 | you have also specified an explicit size for the string. See | |
998 | L<perlfunc/pack>. | |
1486 | 999 | |
1487 | 1000 | =end original |
1488 | 1001 | |
1489 | ( | |
1002 | (F) unpack のテンプレートとしてカウント長文字列を示していますが、 | |
1490 | ||
1003 | 文字列の長さも明示的に指定しています。 | |
1491 | ||
1492 | =item Cannot chr %f | |
1493 | ||
1494 | =begin original | |
1495 | ||
1496 | (F) You passed an invalid number (like an infinity or not-a-number) to C<chr>. | |
1497 | ||
1498 | =end original | |
1499 | ||
1500 | (F) (無限や非数のような) 不正な数値を C<chr> に渡しました。 | |
1501 | ||
1502 | =item Cannot compress %f in pack | |
1503 | ||
1504 | =begin original | |
1505 | ||
1506 | (F) You tried compressing an infinity or not-a-number as an unsigned | |
1507 | integer with BER, which makes no sense. | |
1508 | ||
1509 | =end original | |
1510 | ||
1511 | (F) 無限や非数を BER で符号なし整数に圧縮しようとしました; これは無意味です。 | |
1512 | ||
1513 | =item Cannot compress integer in pack | |
1514 | ||
1515 | =begin original | |
1516 | ||
1517 | (F) An argument to pack("w",...) was too large to compress. | |
1518 | The BER compressed integer format can only be used with positive | |
1519 | integers, and you attempted to compress a very large number (> 1e308). | |
1520 | See L<perlfunc/pack>. | |
1521 | ||
1522 | =end original | |
1523 | ||
1524 | (F) pack("w",...) の引数が、圧縮するには大きすぎます。 | |
1525 | BER 圧縮整数フォーマットは正の整数のみ扱えますが、とても大きい数 | |
1526 | (> 1e308) を圧縮しようとしました。 | |
1527 | 1004 | L<perlfunc/pack> を参照してください。 |
1528 | 1005 | |
1529 | =item Cannot compress negative numbers in pack | |
1530 | ||
1531 | =begin original | |
1532 | ||
1533 | (F) An argument to pack("w",...) was negative. The BER compressed integer | |
1534 | format can only be used with positive integers. See L<perlfunc/pack>. | |
1535 | ||
1536 | =end original | |
1537 | ||
1538 | (F) pack("w",...) の引数が負数です。 | |
1539 | BER 圧縮整数フォーマットは正の整数のみ扱えます。 | |
1540 | L<perlfunc/pack> を参照してください。 | |
1541 | ||
1542 | =item Cannot convert a reference to %s to typeglob | |
1543 | ||
1544 | =begin original | |
1545 | ||
1546 | (F) You manipulated Perl's symbol table directly, stored a reference | |
1547 | in it, then tried to access that symbol via conventional Perl syntax. | |
1548 | The access triggers Perl to autovivify that typeglob, but it there is | |
1549 | no legal conversion from that type of reference to a typeglob. | |
1550 | ||
1551 | =end original | |
1552 | ||
1553 | (F) あなたは Perl のシンボルテーブルを直接操作して、リファレンスをその中に | |
1554 | 補完し、それからそのシンボルを伝統的な Perl の文法のよって | |
1555 | アクセスしようとしました。 | |
1556 | このアクセスによって、Perl はこの型グロブを自動有効化しますが、 | |
1557 | リファレンス型から型グロブへの正当な変換方法はありません。 | |
1558 | ||
1559 | =item Cannot copy to %s | |
1560 | ||
1561 | =begin original | |
1562 | ||
1563 | (P) Perl detected an attempt to copy a value to an internal type that cannot | |
1564 | be directly assigned to. | |
1565 | ||
1566 | =end original | |
1567 | ||
1568 | (P) Perl が、直接代入できない内部型に値をコピーしようとする試みを | |
1569 | 検出しました。 | |
1570 | ||
1571 | =item Cannot find encoding "%s" | |
1572 | ||
1573 | =begin original | |
1574 | ||
1575 | (S io) You tried to apply an encoding that did not exist to a filehandle, | |
1576 | either with open() or binmode(). | |
1577 | ||
1578 | =end original | |
1579 | ||
1580 | (S io) open() または binmode() のファイルハンドルに存在しない | |
1581 | エンコーディングを適用しようとしました。 | |
1582 | ||
1583 | =item Cannot pack %f with '%c' | |
1584 | ||
1585 | =begin original | |
1586 | ||
1587 | (F) You tried converting an infinity or not-a-number to an integer, | |
1588 | which makes no sense. | |
1589 | ||
1590 | =end original | |
1591 | ||
1592 | (F) 無限や非数を整数に変換しようとしました; これは無意味です。 | |
1593 | ||
1594 | =item Cannot printf %f with '%c' | |
1595 | ||
1596 | =begin original | |
1597 | ||
1598 | (F) You tried printing an infinity or not-a-number as a character (%c), | |
1599 | which makes no sense. Maybe you meant '%s', or just stringifying it? | |
1600 | ||
1601 | =end original | |
1602 | ||
1603 | (F) 無限や非数を文字 (%c) として表示しようとしました; これは無意味です。 | |
1604 | おそらく '%s' か、単に文字列化したかったのでは? | |
1605 | ||
1606 | =item Cannot set tied @DB::args | |
1607 | ||
1608 | =begin original | |
1609 | ||
1610 | (F) C<caller> tried to set C<@DB::args>, but found it tied. Tying C<@DB::args> | |
1611 | is not supported. (Before this error was added, it used to crash.) | |
1612 | ||
1613 | =end original | |
1614 | ||
1615 | (F) C<caller> は C<@DB::args> を設定しようとしましたが、tie されていました。 | |
1616 | C<@DB::args> の tie は非対応です。 | |
1617 | (このエラーが追加する前は、クラッシュしていました。) | |
1618 | ||
1619 | =item Cannot tie unreifiable array | |
1620 | ||
1621 | =begin original | |
1622 | ||
1623 | (P) You somehow managed to call C<tie> on an array that does not | |
1624 | keep a reference count on its arguments and cannot be made to | |
1625 | do so. Such arrays are not even supposed to be accessible to | |
1626 | Perl code, but are only used internally. | |
1627 | ||
1628 | =end original | |
1629 | ||
1630 | (P) 参照カウントを保持していない配列を引数にして C<tie> を | |
1631 | 呼び出そうとしましたがそうできませんでした。 | |
1632 | このような配列は Perl コードからアクセスできると想定してはならず、 | |
1633 | 内部だけで使われます。 | |
1634 | ||
1635 | =item Cannot yet reorder sv_catpvfn() arguments from va_list | |
1636 | ||
1637 | =begin original | |
1638 | ||
1639 | (F) Some XS code tried to use C<sv_catpvfn()> or a related function with a | |
1640 | format string that specifies explicit indexes for some of the elements, and | |
1641 | using a C-style variable-argument list (a C<va_list>). This is not currently | |
1642 | supported. XS authors wanting to do this must instead construct a C array of | |
1643 | C<SV*> scalars containing the arguments. | |
1644 | ||
1645 | =end original | |
1646 | ||
1647 | (F) 一部の XS コードは、要素の一部の明示的なインデックスを指定した | |
1648 | フォーマット文字列を使って C<sv_catpvfn()> や関連する関数を使おうとして、 | |
1649 | C 形式の可変引数リスト (C<va_list>) を使っています。 | |
1650 | これは現在のところ対応していません。 | |
1651 | これをしたい XS 作者は代わりに、引数を含む | |
1652 | C<SV*> スカラの C 配列を構築しなければなりません。 | |
1653 | ||
1654 | =item Can only compress unsigned integers in pack | |
1655 | ||
1656 | =begin original | |
1657 | ||
1658 | (F) An argument to pack("w",...) was not an integer. The BER compressed | |
1659 | integer format can only be used with positive integers, and you attempted | |
1660 | to compress something else. See L<perlfunc/pack>. | |
1661 | ||
1662 | =end original | |
1663 | ||
1664 | (F) pack("w",...) の引数が整数ではありません。 | |
1665 | BER 圧縮整数フォーマットは正の整数のみ扱えますが、何か他のものを | |
1666 | 圧縮しようとしました。 | |
1667 | L<perlfunc/pack> を参照してください。 | |
1668 | ||
1669 | 1006 | =item Can't bless non-reference value |
1670 | 1007 | |
1671 | 1008 | =begin original |
1672 | 1009 | |
1673 | 1010 | (F) Only hard references may be blessed. This is how Perl "enforces" |
1674 | 1011 | encapsulation of objects. See L<perlobj>. |
1675 | 1012 | |
1676 | 1013 | =end original |
1677 | 1014 | |
1678 | 1015 | (F) ハードリファレンスのみが bless できます。 |
1679 | 1016 | これによって、Perl はオブジェクトのカプセル化を「強制」します。 |
1680 | 1017 | L<perlobj> を参照してください。 |
1681 | 1018 | |
1682 | =item Can't | |
1019 | =item Can't call method "%s" in empty package "%s" | |
1683 | 1020 | |
1684 | 1021 | =begin original |
1685 | 1022 | |
1686 | (F) You called | |
1023 | (F) You called a method correctly, and it correctly indicated a package | |
1687 | ||
1024 | functioning as a class, but that package doesn't have ANYTHING defined | |
1025 | in it, let alone methods. See L<perlobj>. | |
1688 | 1026 | |
1689 | 1027 | =end original |
1690 | 1028 | |
1691 | (F) | |
1029 | (F) 正しくメソッドを呼び出し、それは、クラスとして機能するパッケージを | |
1692 | ||
1030 | 正しく示していますが、そのパッケージには、何も定義されておらず、 | |
1693 | ||
1031 | メソッドだけになっています。 | |
1032 | L<perlobj> を参照してください。 | |
1694 | 1033 | |
1695 | =item Can't "break" outside a given block | |
1696 | ||
1697 | =begin original | |
1698 | ||
1699 | (F) You called C<break>, but you're not inside a C<given> block. | |
1700 | ||
1701 | =end original | |
1702 | ||
1703 | (F) C<break> を呼び出しましたが、C<given> ブロックの内側ではありません。 | |
1704 | ||
1705 | 1034 | =item Can't call method "%s" on an undefined value |
1706 | 1035 | |
1707 | 1036 | =begin original |
1708 | 1037 | |
1709 | 1038 | (F) You used the syntax of a method call, but the slot filled by the |
1710 | 1039 | object reference or package name contains an undefined value. Something |
1711 | 1040 | like this will reproduce the error: |
1712 | 1041 | |
1713 | 1042 | =end original |
1714 | 1043 | |
1715 | (F) メソッド呼び出しの文法が使われていますが、 | |
1044 | (F) メソッド呼び出しの文法が使われていますが、 | |
1716 | パッケージ名であるべきところが未定義値です。 | |
1045 | オブジェクトリファレンスかパッケージ名であるべきところが未定義値です。 | |
1717 | 1046 | 以下のように書くとエラーが再現します: |
1718 | 1047 | |
1719 | 1048 | $BADREF = undef; |
1720 | 1049 | process $BADREF 1,2,3; |
1721 | 1050 | $BADREF->process(1,2,3); |
1722 | 1051 | |
1723 | 1052 | =item Can't call method "%s" on unblessed reference |
1724 | 1053 | |
1725 | 1054 | =begin original |
1726 | 1055 | |
1727 | 1056 | (F) A method call must know in what package it's supposed to run. It |
1728 | 1057 | ordinarily finds this out from the object reference you supply, but you |
1729 | 1058 | didn't supply an object reference in this case. A reference isn't an |
1730 | 1059 | object reference until it has been blessed. See L<perlobj>. |
1731 | 1060 | |
1732 | 1061 | =end original |
1733 | 1062 | |
1734 | 1063 | (F) メソッド呼び出しは、自分が呼び出されたパッケージがどれであるかを |
1735 | 1064 | 知る必要があります。 普通は、渡したオブジェクトリファレンスから |
1736 | 1065 | その情報を受け取りますが、この場合にはオブジェクトリファレンスが |
1737 | 1066 | 渡されませんでした。 |
1738 | 1067 | リファレンスは、bless されて始めて、オブジェクトリファレンスとなります。 |
1739 | 1068 | L<perlobj> を参照してください。 |
1740 | 1069 | |
1741 | 1070 | =item Can't call method "%s" without a package or object reference |
1742 | 1071 | |
1743 | 1072 | =begin original |
1744 | 1073 | |
1745 | 1074 | (F) You used the syntax of a method call, but the slot filled by the |
1746 | 1075 | object reference or package name contains an expression that returns a |
1747 | 1076 | defined value which is neither an object reference nor a package name. |
1748 | 1077 | Something like this will reproduce the error: |
1749 | 1078 | |
1750 | 1079 | =end original |
1751 | 1080 | |
1752 | 1081 | (F) メソッド呼び出しの構文を用いましたが、オブジェクトリファレンス、 |
1753 | 1082 | もしくはパッケージ名が書かれるべき場所に、オブジェクトリファレンスも |
1754 | 1083 | パッケージ名も返さない定義された式が書かれています。 |
1755 | ||
1084 | (おそらく、何も書いてないかもしれません。) | |
1085 | 以下のようなものは、エラーとなります: | |
1756 | 1086 | |
1757 | 1087 | $BADREF = 42; |
1758 | 1088 | process $BADREF 1,2,3; |
1759 | 1089 | $BADREF->process(1,2,3); |
1760 | 1090 | |
1761 | =item Can't call mro_isa_changed_in() on anonymous symbol table | |
1762 | ||
1763 | =begin original | |
1764 | ||
1765 | (P) Perl got confused as to whether a hash was a plain hash or a | |
1766 | symbol table hash when trying to update @ISA caches. | |
1767 | ||
1768 | =end original | |
1769 | ||
1770 | (P) @ISA キャッシュを更新しようとしたときに、ハッシュが普通のハッシュか | |
1771 | シンボルテーブルハッシュかについて perl は混乱しました。 | |
1772 | ||
1773 | =item Can't call mro_method_changed_in() on anonymous symbol table | |
1774 | ||
1775 | =begin original | |
1776 | ||
1777 | (F) An XS module tried to call C<mro_method_changed_in> on a hash that was | |
1778 | not attached to the symbol table. | |
1779 | ||
1780 | =end original | |
1781 | ||
1782 | (F) XS モジュールが、シンボルテーブルにアタッチされていないハッシュに対して | |
1783 | C<mro_method_changed_in> を呼び出しました。 | |
1784 | ||
1785 | 1091 | =item Can't chdir to %s |
1786 | 1092 | |
1787 | 1093 | =begin original |
1788 | 1094 | |
1789 | (F) You called C<perl -x/foo/bar>, but | |
1095 | (F) You called C<perl -x/foo/bar>, but C</foo/bar> is not a directory | |
1790 | 1096 | that you can chdir to, possibly because it doesn't exist. |
1791 | 1097 | |
1792 | 1098 | =end original |
1793 | 1099 | |
1794 | (F) C<perl -x/foo/bar> のようにして起動しましたが、 | |
1100 | (F) C<perl -x/foo/bar> のようにして起動したましたが、 | |
1795 | chdir することができません | |
1101 | C</foo/bar> にchdir することができません。 | |
1102 | おそらく、存在しないのではないでしょうか。 | |
1796 | 1103 | |
1797 | 1104 | =item Can't check filesystem of script "%s" for nosuid |
1798 | 1105 | |
1799 | 1106 | =begin original |
1800 | 1107 | |
1801 | 1108 | (P) For some reason you can't check the filesystem of the script for |
1802 | 1109 | nosuid. |
1803 | 1110 | |
1804 | 1111 | =end original |
1805 | 1112 | |
1806 | 1113 | (P) なぜかスクリプトが nosuid かどうかをファイルシステムから |
1807 | 1114 | 調べることができません。 |
1808 | 1115 | |
1809 | =item Can't coerce | |
1116 | =item Can't coerce array into hash | |
1810 | 1117 | |
1811 | 1118 | =begin original |
1812 | 1119 | |
1120 | (F) You used an array where a hash was expected, but the array has no | |
1121 | information on how to map from keys to array indices. You can do that | |
1122 | only with arrays that have a hash reference at index 0. | |
1123 | ||
1124 | =end original | |
1125 | ||
1126 | (F) ハッシュが想定される場所で配列を使っていますが、 | |
1127 | この配列にはキーから添え字に変換するための情報がありません。 | |
1128 | このようなことは添え字 0 にハッシュリファレンスがある配列でのみ可能です。 | |
1129 | ||
1130 | =item Can't coerce %s to integer in %s | |
1131 | ||
1132 | =begin original | |
1133 | ||
1813 | 1134 | (F) Certain types of SVs, in particular real symbol table entries |
1814 | 1135 | (typeglobs), can't be forced to stop being what they are. So you can't |
1815 | 1136 | say things like: |
1816 | 1137 | |
1817 | 1138 | =end original |
1818 | 1139 | |
1819 | 1140 | (F) ある種の SV、特に本物のシンボルテーブルエントリ (型グロブ) は、 |
1820 | ||
1141 | 1 つの型に留めておくことができません。 | |
1821 | 1142 | したがって、以下のようにすることはできません: |
1822 | 1143 | |
1823 | 1144 | *foo += 1; |
1824 | 1145 | |
1825 | 1146 | =begin original |
1826 | 1147 | |
1827 | 1148 | You CAN say |
1828 | 1149 | |
1829 | 1150 | =end original |
1830 | 1151 | |
1831 | 1152 | 以下のようにはできますが: |
1832 | 1153 | |
1833 | 1154 | $foo = *foo; |
1834 | 1155 | $foo += 1; |
1835 | 1156 | |
1836 | 1157 | =begin original |
1837 | 1158 | |
1838 | 1159 | but then $foo no longer contains a glob. |
1839 | 1160 | |
1840 | 1161 | =end original |
1841 | 1162 | |
1842 | 1163 | $foo にはもはやグロブは残っていません。 |
1843 | 1164 | |
1844 | =item Can't | |
1165 | =item Can't coerce %s to number in %s | |
1845 | 1166 | |
1846 | 1167 | =begin original |
1847 | 1168 | |
1848 | (F) | |
1169 | (F) Certain types of SVs, in particular real symbol table entries | |
1849 | o | |
1170 | (typeglobs), can't be forced to stop being what they are. | |
1850 | 1171 | |
1851 | 1172 | =end original |
1852 | 1173 | |
1853 | (F) | |
1174 | (F) ある種の SV、特に本物のシンボルテーブルエントリ (型グロブ) は、 | |
1854 | ||
1175 | 1 つの型に留めておくことができません。 | |
1855 | 1176 | |
1177 | =item Can't coerce %s to string in %s | |
1178 | ||
1179 | =begin original | |
1180 | ||
1181 | (F) Certain types of SVs, in particular real symbol table entries | |
1182 | (typeglobs), can't be forced to stop being what they are. | |
1183 | ||
1184 | =end original | |
1185 | ||
1186 | (F) ある種の SV、特に本物のシンボルテーブルエントリ (型グロブ) は、 | |
1187 | 1 つの型に留めておくことができません。 | |
1188 | ||
1856 | 1189 | =item Can't create pipe mailbox |
1857 | 1190 | |
1858 | 1191 | =begin original |
1859 | 1192 | |
1860 | 1193 | (P) An error peculiar to VMS. The process is suffering from exhausted |
1861 | 1194 | quotas or other plumbing problems. |
1862 | 1195 | |
1863 | 1196 | =end original |
1864 | 1197 | |
1865 | ( | |
1198 | (F) VMS 特有のエラーです。 | |
1866 | 1199 | プロセスはクォータを使い切ったか、その他の設備問題の影響を受けました。 |
1867 | 1200 | |
1868 | =item Can't declare %s in "%s" | |
1201 | =item Can't declare class for non-scalar %s in "%s" | |
1869 | 1202 | |
1870 | 1203 | =begin original |
1871 | 1204 | |
1872 | ( | |
1205 | (S) Currently, only scalar variables can declared with a specific class | |
1873 | ||
1206 | qualifier in a "my" or "our" declaration. The semantics may be extended | |
1207 | for other types of variables in future. | |
1874 | 1208 | |
1875 | 1209 | =end original |
1876 | 1210 | |
1877 | ( | |
1211 | (S) 現在のところ、スカラ変数のみが "my" や "our" 定義の中で特定の | |
1878 | ||
1212 | クラス修飾子と共に定義できます。 | |
1879 | こ | |
1213 | この動作は将来には他の種類の変数に拡張されるでしょう。 | |
1880 | 1214 | |
1881 | =item Can't | |
1215 | =item Can't declare %s in "%s" | |
1882 | 1216 | |
1883 | 1217 | =begin original |
1884 | 1218 | |
1885 | (F) | |
1219 | (F) Only scalar, array, and hash variables may be declared as "my" or | |
1886 | ||
1220 | "our" variables. They must have ordinary identifiers as names. | |
1887 | issued on exit from the C<default> block, so you won't get the | |
1888 | error if you use an explicit C<continue>.) | |
1889 | 1221 | |
1890 | 1222 | =end original |
1891 | 1223 | |
1892 | (F) | |
1224 | (F) スカラ変数、配列変数、ハッシュ変数だけが、"my" や "our" 変数として | |
1893 | ||
1225 | 宣言できます。 | |
1894 | ||
1226 | これらは、名前として通常の識別子を持たなければなりません。 | |
1895 | C<continue> を使うとエラーは発生しません。) | |
1896 | 1227 | |
1897 | 1228 | =item Can't do inplace edit: %s is not a regular file |
1898 | 1229 | |
1899 | 1230 | =begin original |
1900 | 1231 | |
1901 | 1232 | (S inplace) You tried to use the B<-i> switch on a special file, such as |
1902 | a file in /dev, a FIFO | |
1233 | a file in /dev, or a FIFO. The file was ignored. | |
1903 | 1234 | |
1904 | 1235 | =end original |
1905 | 1236 | |
1906 | (S inplace) /dev | |
1237 | (S inplace) /dev や FIFO のような、特殊ファイルに対して、B<-i> スイッチを | |
1907 | ||
1238 | 使おうとしました。 | |
1908 | ||
1239 | そのファイルは、無視されました。 | |
1909 | 1240 | |
1910 | 1241 | =item Can't do inplace edit on %s: %s |
1911 | 1242 | |
1912 | 1243 | =begin original |
1913 | 1244 | |
1914 | 1245 | (S inplace) The creation of the new file failed for the indicated |
1915 | 1246 | reason. |
1916 | 1247 | |
1917 | 1248 | =end original |
1918 | 1249 | |
1919 | 1250 | (S inplace) 表示された理由により、新しいファイルの生成に失敗しました。 |
1920 | 1251 | |
1921 | 1252 | =item Can't do inplace edit without backup |
1922 | 1253 | |
1923 | 1254 | =begin original |
1924 | 1255 | |
1925 | 1256 | (F) You're on a system such as MS-DOS that gets confused if you try |
1926 | 1257 | reading from a deleted (but still opened) file. You have to say |
1927 | 1258 | C<-i.bak>, or some such. |
1928 | 1259 | |
1929 | 1260 | =end original |
1930 | 1261 | |
1931 | 1262 | (F) 削除した (が、まだオープンされている) ファイルを読もうとすると |
1932 | 1263 | おかしくなる MS-DOS のようなシステムで実行しています。 |
1933 | 1264 | C<-i.bak> のようにバックアップを指定してください。 |
1934 | 1265 | |
1935 | 1266 | =item Can't do inplace edit: %s would not be unique |
1936 | 1267 | |
1937 | 1268 | =begin original |
1938 | 1269 | |
1939 | 1270 | (S inplace) Your filesystem does not support filenames longer than 14 |
1940 | 1271 | characters and Perl was unable to create a unique filename during |
1941 | 1272 | inplace editing with the B<-i> switch. The file was ignored. |
1942 | 1273 | |
1943 | 1274 | =end original |
1944 | 1275 | |
1945 | 1276 | (S inplace) ファイルシステムが 14 文字より長いファイル名に対応しておらず、 |
1946 | 1277 | Perl は B<-i> オプションによるその場編集の間のユニークなファイル名の |
1947 | 1278 | 作成ができませんでした。 |
1948 | 1279 | このファイルは無視されます。 |
1949 | 1280 | |
1950 | =item Can't do | |
1281 | =item Can't do {n,m} with n > m before << HERE in regex m/%s/ | |
1951 | 1282 | |
1952 | 1283 | =begin original |
1953 | 1284 | |
1954 | ( | |
1285 | (F) Minima must be less than or equal to maxima. If you really want your | |
1955 | ||
1286 | regexp to match something 0 times, just put {0}. The << HERE shows in the | |
1956 | ||
1287 | regular expression about where the problem was discovered. See L<perlre>. | |
1957 | operation would mix Unicode and locale rules, which likely conflict. | |
1958 | Mixing of different rule types is forbidden, so the operation was not | |
1959 | done; instead the result is the indicated value, which is the best | |
1960 | available that uses entirely Unicode rules. That turns out to almost | |
1961 | always be the original character, unchanged. | |
1962 | 1288 | |
1963 | 1289 | =end original |
1964 | 1290 | |
1965 | ( | |
1291 | (F) 最小値は最大値以下でなければなりません。 | |
1966 | ||
1292 | もし、本当に正規表現が 0 回繰り返したものにマッチさせたいなら、単に | |
1967 | ||
1293 | {0} としてください。 | |
1968 | ||
1294 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
1969 | ||
1295 | L<perlre> を参照してください。 | |
1970 | 代わりに結果は示された値になります; これは全体的に Unicode の規則を | |
1971 | 使うという、最も利用可能なものです。 | |
1972 | これは、ほとんど常に、元の文字を変更しないままにします。 | |
1973 | 1296 | |
1297 | =item Can't do setegid! | |
1298 | ||
1974 | 1299 | =begin original |
1975 | 1300 | |
1976 | ||
1301 | (P) The setegid() call failed for some reason in the setuid emulator of | |
1977 | ||
1302 | suidperl. | |
1978 | Unicode rules would normally cause the result of this operation to | |
1979 | contain a character that is in the range specified by the locale, | |
1980 | 0..255, and hence is subject to the locale's rules, not Unicode's. | |
1981 | 1303 | |
1982 | 1304 | =end original |
1983 | 1305 | |
1984 | ||
1306 | (P) suidperl の setuid エミュレータで何らかの理由により、 | |
1985 | ||
1307 | setegid() 呼び出しが失敗しました。 | |
1986 | この警告は、Unicode の規則が、ロケールで指定された範囲 0..255 である文字を | |
1987 | 含むこの操作の結果を通常引き起こし、結果として Unicode ではなくロケールの | |
1988 | 規則を想定される場合に発生します。 | |
1989 | 1308 | |
1309 | =item Can't do seteuid! | |
1310 | ||
1990 | 1311 | =begin original |
1991 | 1312 | |
1992 | ||
1313 | (P) The setuid emulator of suidperl failed for some reason. | |
1993 | like its numeric and time formatting (and not C<LC_CTYPE>), consider | |
1994 | using a restricted form of the locale pragma (see L<perllocale/The "use | |
1995 | locale" pragma>) like "S<C<use locale ':not_characters'>>". | |
1996 | 1314 | |
1997 | 1315 | =end original |
1998 | 1316 | |
1999 | ||
1317 | (P) suidperl の setuid エミュレータが何らかの理由によって失敗しました。 | |
2000 | 使っている (そして C<LC_CTYPE> は使っていない)場合、 | |
2001 | "S<C<use locale ':not_characters'>>" のような、locale プラグマの制限された | |
2002 | 形式 (L<perllocale/The "use locale" pragma> 参照) を使うことを | |
2003 | 検討してください。 | |
2004 | 1318 | |
1319 | =item Can't do setuid | |
1320 | ||
2005 | 1321 | =begin original |
2006 | 1322 | |
2007 | ||
1323 | (F) This typically means that ordinary perl tried to exec suidperl to do | |
2008 | ||
1324 | setuid emulation, but couldn't exec it. It looks for a name of the form | |
2009 | ||
1325 | sperl5.000 in the same directory that the perl executable resides under | |
2010 | e | |
1326 | the name perl5.000, typically /usr/local/bin on Unix machines. If the | |
1327 | file is there, check the execute permissions. If it isn't, ask your | |
1328 | sysadmin why he and/or she removed it. | |
2011 | 1329 | |
2012 | 1330 | =end original |
2013 | 1331 | |
2014 | ||
1332 | (F) このエラーは、通常、普通の perl が setuid エミュレーションのために | |
2015 | ||
1333 | suidperl を実行しようとしましたが、実行できなかったことを意味します。 | |
2016 | ||
1334 | 特に UNIX マシンの /usr/local/bin などでは、perl の実行ファイルが、 | |
2017 | ||
1335 | perl5.000 という名前のときには、同じディレクトリで sperl5.000 という形式の | |
1336 | 名前を探します。 | |
1337 | もし、ファイルが存在していれば、実行パーミッションをチェックしてください。 | |
1338 | 許可されていないようであれば、システム管理者の方に、わけを | |
1339 | 尋ねてみてください。 | |
2018 | 1340 | |
2019 | 1341 | =item Can't do waitpid with flags |
2020 | 1342 | |
2021 | 1343 | =begin original |
2022 | 1344 | |
2023 | 1345 | (F) This machine doesn't have either waitpid() or wait4(), so only |
2024 | 1346 | waitpid() without flags is emulated. |
2025 | 1347 | |
2026 | 1348 | =end original |
2027 | 1349 | |
2028 | 1350 | (F) このマシンには、waitpid() も wait4() もありませんので、 |
2029 | 1351 | フラグの無い waitpid() のみがエミュレート可能です。 |
2030 | 1352 | |
2031 | 1353 | =item Can't emulate -%s on #! line |
2032 | 1354 | |
2033 | 1355 | =begin original |
2034 | 1356 | |
2035 | 1357 | (F) The #! line specifies a switch that doesn't make sense at this |
2036 | 1358 | point. For example, it'd be kind of silly to put a B<-x> on the #! |
2037 | 1359 | line. |
2038 | 1360 | |
2039 | 1361 | =end original |
2040 | 1362 | |
2041 | 1363 | (F) #! 行にその時点で意味をなさないスイッチが指定されました。 |
2042 | 1364 | たとえば、#! 行に B<-x> をおいても意味がありません。 |
2043 | 1365 | |
2044 | =item Can't %s %s-endian %ss on this platform | |
2045 | ||
2046 | =begin original | |
2047 | ||
2048 | (F) Your platform's byte-order is neither big-endian nor little-endian, | |
2049 | or it has a very strange pointer size. Packing and unpacking big- or | |
2050 | little-endian floating point values and pointers may not be possible. | |
2051 | See L<perlfunc/pack>. | |
2052 | ||
2053 | =end original | |
2054 | ||
2055 | (F) プラットフォームのバイト順序がビッグエンディアンでも | |
2056 | リトルエンディアンでもないか、ポインタサイズがとても変わっています。 | |
2057 | ビッグエンディアンやリトルエンディアンの不動小数点数やポインタの | |
2058 | pack や unpack はできません。 | |
2059 | L<perlfunc/pack> を参照してください。 | |
2060 | ||
2061 | 1366 | =item Can't exec "%s": %s |
2062 | 1367 | |
2063 | 1368 | =begin original |
2064 | 1369 | |
2065 | (W exec) A system(), exec(), or piped open call could not execute the | |
1370 | (W exec) An system(), exec(), or piped open call could not execute the | |
2066 | 1371 | named program for the indicated reason. Typical reasons include: the |
2067 | 1372 | permissions were wrong on the file, the file wasn't found in |
2068 | 1373 | C<$ENV{PATH}>, the executable in question was compiled for another |
2069 | 1374 | architecture, or the #! line in a script points to an interpreter that |
2070 | 1375 | can't be run for similar reasons. (Or maybe your system doesn't support |
2071 | 1376 | #! at all.) |
2072 | 1377 | |
2073 | 1378 | =end original |
2074 | 1379 | |
2075 | 1380 | (W exec) 提示した理由によって、system() や exec() やパイプオープン |
2076 | 1381 | 呼び出しの指定されたプログラムが実行できませんでした。 |
2077 | 1382 | 考えられる理由には: ファイルのパーミッションが間違っている、 |
2078 | 1383 | ファイルが C<$ENV{PATH}> の中にない、問題の実行ファイルが |
2079 | 1384 | このマシン用ではない、スクリプトの #! 行が同じような理由で実行できない |
2080 | 1385 | インタプリタを指している、というようなものがあります。 |
2081 | 1386 | (あるいは、このシステムで、#! がサポートされていません。) |
2082 | 1387 | |
2083 | 1388 | =item Can't exec %s |
2084 | 1389 | |
2085 | 1390 | =begin original |
2086 | 1391 | |
2087 | 1392 | (F) Perl was trying to execute the indicated program for you because |
2088 | 1393 | that's what the #! line said. If that's not what you wanted, you may |
2089 | 1394 | need to mention "perl" on the #! line somewhere. |
2090 | 1395 | |
2091 | 1396 | =end original |
2092 | 1397 | |
2093 | 1398 | (F) #! 行に書かれた内容にしたがって、Perl は示されたプログラムを |
2094 | 1399 | 実行しようとしました。 |
2095 | 1400 | そうしたくないのであれば、#! 行のどこかに、"perl" と書いておいてください。 |
2096 | 1401 | |
2097 | 1402 | =item Can't execute %s |
2098 | 1403 | |
2099 | 1404 | =begin original |
2100 | 1405 | |
2101 | 1406 | (F) You used the B<-S> switch, but the copies of the script to execute |
2102 | 1407 | found in the PATH did not have correct permissions. |
2103 | 1408 | |
2104 | 1409 | =end original |
2105 | 1410 | |
2106 | 1411 | (F) B<-S> スイッチを使いましたが、PATH に見つかった実行するスクリプトが |
2107 | 1412 | 正しいパーミッションではありませんでした。 |
2108 | 1413 | |
2109 | 1414 | =item Can't find an opnumber for "%s" |
2110 | 1415 | |
2111 | 1416 | =begin original |
2112 | 1417 | |
2113 | 1418 | (F) A string of a form C<CORE::word> was given to prototype(), but there |
2114 | 1419 | is no builtin with the name C<word>. |
2115 | 1420 | |
2116 | 1421 | =end original |
2117 | 1422 | |
2118 | 1423 | (F) C<CORE::word> の形の文字列が prototype() に与えられましたが、 |
2119 | 1424 | 名前 C<word> は組み込みではありません。 |
2120 | 1425 | |
2121 | 1426 | =item Can't find label %s |
2122 | 1427 | |
2123 | 1428 | =begin original |
2124 | 1429 | |
2125 | 1430 | (F) You said to goto a label that isn't mentioned anywhere that it's |
2126 | 1431 | possible for us to go to. See L<perlfunc/goto>. |
2127 | 1432 | |
2128 | 1433 | =end original |
2129 | 1434 | |
2130 | 1435 | (F) どこにも見つからないラベルへ goto を行なおうとしました。 |
2131 | 1436 | L<perlfunc/goto> を参照してください。 |
2132 | 1437 | |
2133 | 1438 | =item Can't find %s on PATH |
2134 | 1439 | |
2135 | 1440 | =begin original |
2136 | 1441 | |
2137 | 1442 | (F) You used the B<-S> switch, but the script to execute could not be |
2138 | 1443 | found in the PATH. |
2139 | 1444 | |
2140 | 1445 | =end original |
2141 | 1446 | |
2142 | 1447 | B<-S> オプションを使いましたが、実行するスクリプトは PATH に |
2143 | 1448 | 見つかりませんでした。 |
2144 | 1449 | |
2145 | 1450 | =item Can't find %s on PATH, '.' not in PATH |
2146 | 1451 | |
2147 | 1452 | =begin original |
2148 | 1453 | |
2149 | 1454 | (F) You used the B<-S> switch, but the script to execute could not be |
2150 | 1455 | found in the PATH, or at least not with the correct permissions. The |
2151 | 1456 | script exists in the current directory, but PATH prohibits running it. |
2152 | 1457 | |
2153 | 1458 | =end original |
2154 | 1459 | |
2155 | 1460 | (F) B<-S> オプションが使われましたが、 PATH に実行するスクリプトが |
2156 | 見つか | |
1461 | 見つかりません。あるいは少なくとも適切なパーミッションがありません。 | |
2157 | 1462 | スクリプトはカレントディレクトリにはありますが、PATH に |
2158 | 1463 | カレントディレクトリは含まれていません。 |
2159 | 1464 | |
2160 | 1465 | =item Can't find string terminator %s anywhere before EOF |
2161 | 1466 | |
2162 | 1467 | =begin original |
2163 | 1468 | |
2164 | 1469 | (F) Perl strings can stretch over multiple lines. This message means |
2165 | 1470 | that the closing delimiter was omitted. Because bracketed quotes count |
2166 | 1471 | nesting levels, the following is missing its final parenthesis: |
2167 | 1472 | |
2168 | 1473 | =end original |
2169 | 1474 | |
2170 | 1475 | (F) Perl の文字列は、複数行に渡ることができます。このメッセージは、 |
2171 | 1476 | 文字列を終わる区切り文字が見つからなかったことを意味します。 |
2172 | ||
1477 | 括弧類の区切り文字では、ネストを数えるので、以下では、最後の括弧が | |
2173 | 1478 | 無いと言われます: |
2174 | 1479 | |
2175 | 1480 | print q(The character '(' starts a side comment.); |
2176 | 1481 | |
2177 | 1482 | =begin original |
2178 | 1483 | |
2179 | If you're getting this error from a here-document, you may have | |
1484 | If you're getting this error from a here-document, you may have included | |
2180 | ||
1485 | unseen whitespace before or after your closing tag. A good programmer's | |
2181 | ||
1486 | editor will have a way to help you find these characters. | |
2182 | a way to help you find these characters (or lack of characters). See | |
2183 | L<perlop> for the full details on here-documents. | |
2184 | 1487 | |
2185 | 1488 | =end original |
2186 | 1489 | |
2187 | 1490 | このエラーがヒアドキュメントで起きた場合、閉じタグの前か後に |
2188 | 見えない空白を含んでいるか | |
1491 | 見えない空白を含んでいるかもしれません。 | |
2189 | よいプログラマ用エディタには、このような文字 | |
1492 | よいプログラマ用エディタには、このような文字を探す助けになる方法が | |
2190 | ||
1493 | あります。 | |
2191 | ヒアドキュメントに関する完全な詳細については L<perlop> を参照してください。 | |
2192 | 1494 | |
2193 | =item Can't find | |
1495 | =item Can't find %s property definition %s | |
2194 | 1496 | |
2195 | =item Can't find Unicode property definition "%s" in regex; marked by <-- HERE in m/%s/ | |
2196 | ||
2197 | 1497 | =begin original |
2198 | 1498 | |
2199 | (F) | |
1499 | (F) You may have tried to use C<\p> which means a Unicode property for | |
2200 | ||
1500 | example \p{Lu} is all uppercase letters. Escape the C<\p>, either | |
2201 | ||
1501 | C<\\p> (just the C<\p>) or by C<\Q\p> (the rest of the string, until | |
2202 | ||
1502 | possible C<\E>). | |
2203 | properties. If it is a | |
2204 | L<user-defined property|perlunicode/User-Defined Character Properties> | |
2205 | it must have been defined by the time the regular expression is | |
2206 | matched. | |
2207 | 1503 | |
2208 | 1504 | =end original |
2209 | 1505 | |
2210 | (F) | |
1506 | (F) 例えば \p{Lu} が全て大文字、のように、Unicode プロパティを意味する | |
2211 | C<\p> | |
1507 | C<\p> を使おうとしました。 | |
2212 | ||
1508 | C<\\p> (単に C<\p>) または C<\Q\p> (C<\E> までの残りの文字列) を使って | |
2213 | ||
1509 | C<\p> をエスケープしてください。 | |
2214 | L<perluniprops/Properties accessible through \p{} and \P{}> を | |
2215 | 参照してください。 | |
2216 | これが L<ユーザー定義特性|perlunicode/User-Defined Character Properties> の | |
2217 | 場合は、正規表現がマッチングした時点で定義されていなければなりません。 | |
2218 | 1510 | |
2219 | = | |
1511 | =item Can't fork | |
2220 | 1512 | |
2221 | If you didn't mean to use a Unicode property, escape the C<\p>, either | |
2222 | by C<\\p> (just the C<\p>) or by C<\Q\p> (the rest of the string, or | |
2223 | until C<\E>). | |
2224 | ||
2225 | =end original | |
2226 | ||
2227 | Unicode 特性を使うつもりでない場合は、C<\\p> (単に C<\p>) または | |
2228 | C<\Q\p> (残りの文字列 または C<\E> まで) を使って C<\p> を | |
2229 | エスケープしてください。 | |
2230 | ||
2231 | =item Can't fork: %s | |
2232 | ||
2233 | 1513 | =begin original |
2234 | 1514 | |
2235 | 1515 | (F) A fatal error occurred while trying to fork while opening a |
2236 | 1516 | pipeline. |
2237 | 1517 | |
2238 | 1518 | =end original |
2239 | 1519 | |
2240 | 1520 | (F) パイプラインをオープンしようとして、fork を行なおうとして、 |
2241 | 1521 | 致命的エラーが発生しました。 |
2242 | 1522 | |
2243 | =item Can't fork, trying again in 5 seconds | |
2244 | ||
2245 | =begin original | |
2246 | ||
2247 | (W pipe) A fork in a piped open failed with EAGAIN and will be retried | |
2248 | after five seconds. | |
2249 | ||
2250 | =end original | |
2251 | ||
2252 | (W pipe) パイプの open での fork が EAGAIN で失敗し、5 秒後に | |
2253 | 再試行されます。 | |
2254 | ||
2255 | 1523 | =item Can't get filespec - stale stat buffer? |
2256 | 1524 | |
2257 | 1525 | =begin original |
2258 | 1526 | |
2259 | 1527 | (S) A warning peculiar to VMS. This arises because of the difference |
2260 | 1528 | between access checks under VMS and under the Unix model Perl assumes. |
2261 | 1529 | Under VMS, access checks are done by filename, rather than by bits in |
2262 | 1530 | the stat buffer, so that ACLs and other protections can be taken into |
2263 | 1531 | account. Unfortunately, Perl assumes that the stat buffer contains all |
2264 | 1532 | the necessary information, and passes it, instead of the filespec, to |
2265 | the access | |
1533 | the access checking routine. It will try to retrieve the filespec using | |
2266 | 1534 | the device name and FID present in the stat buffer, but this works only |
2267 | 1535 | if you haven't made a subsequent call to the CRTL stat() routine, |
2268 | 1536 | because the device name is overwritten with each call. If this warning |
2269 | appears, the name lookup failed, and the access | |
1537 | appears, the name lookup failed, and the access checking routine gave up | |
2270 | and returned FALSE, just to be conservative. (Note: The access | |
1538 | and returned FALSE, just to be conservative. (Note: The access checking | |
2271 | 1539 | routine knows about the Perl C<stat> operator and file tests, so you |
2272 | 1540 | shouldn't ever see this warning in response to a Perl command; it arises |
2273 | 1541 | only if some internal code takes stat buffers lightly.) |
2274 | 1542 | |
2275 | 1543 | =end original |
2276 | 1544 | |
2277 | (S) VMS | |
1545 | (S) VMS 特有の警告です。 | |
2278 | 1546 | これは VMS と、Perl が仮定している Unix モデルでは、アクセスチェックに違いが |
2279 | 1547 | あることによって起こります。 |
2280 | 1548 | VMS では、アクセスチェックは stat バッファのビットではなくファイル名によって |
2281 | 1549 | 行われるので、ACL やその他の保護が考慮されます。 |
2282 | 1550 | 残念ながら、Perl は stat バッファに全ての必要な情報が含まれていると仮定して、 |
2283 | 1551 | アクセスチェックルーチンにはファイルスペックではなくこれを渡します。 |
2284 | 1552 | stat バッファにあるデバイス名と FID を使ってファイルスペックを |
2285 | 1553 | 取得しようとしますが、これは引き続いて CRTL stat() ルーチンを呼び出さない |
2286 | 1554 | 場合にのみ動作します; なぜならデバイス名は呼出し毎に上書きされるからです。 |
2287 | 1555 | この警告が出ると、名前の検索が失敗し、アクセスチェックルーチンは諦めて、 |
2288 | 1556 | 安全のためだけに FALSE を返します。 |
2289 | 1557 | (注意: アクセスチェックルーチンは Perl の C<stat> 演算子とファイル |
2290 | 1558 | テストについて知っているので、Perl コマンドの結果としてこの警告を見ることは |
2291 | 1559 | ないはずです; これは内部コートが stat バッファを軽率に扱った場合にのみ |
2292 | 1560 | 発生します。) |
2293 | 1561 | |
2294 | 1562 | =item Can't get pipe mailbox device name |
2295 | 1563 | |
2296 | 1564 | =begin original |
2297 | 1565 | |
2298 | 1566 | (P) An error peculiar to VMS. After creating a mailbox to act as a |
2299 | 1567 | pipe, Perl can't retrieve its name for later use. |
2300 | 1568 | |
2301 | 1569 | =end original |
2302 | 1570 | |
2303 | ( | |
1571 | (F) VMS 特有のエラーです。 | |
2304 | 1572 | パイプとして働くメールボックスの作成後、後で使うための名前を |
2305 | 1573 | Perl が取得できませんでした。 |
2306 | 1574 | |
2307 | 1575 | =item Can't get SYSGEN parameter value for MAXBUF |
2308 | 1576 | |
2309 | 1577 | =begin original |
2310 | 1578 | |
2311 | 1579 | (P) An error peculiar to VMS. Perl asked $GETSYI how big you want your |
2312 | 1580 | mailbox buffers to be, and didn't get an answer. |
2313 | 1581 | |
2314 | 1582 | =end original |
2315 | 1583 | |
2316 | ( | |
1584 | (F) VMS 特有のエラーです。 | |
2317 | 1585 | メールボックスバッファをどれくらいとるべきかを $GETSYI に |
2318 | 1586 | 問い合わせましたが、答えが得られませんでした。 |
2319 | 1587 | |
2320 | 1588 | =item Can't "goto" into the middle of a foreach loop |
2321 | 1589 | |
2322 | 1590 | =begin original |
2323 | 1591 | |
2324 | 1592 | (F) A "goto" statement was executed to jump into the middle of a foreach |
2325 | 1593 | loop. You can't get there from here. See L<perlfunc/goto>. |
2326 | 1594 | |
2327 | 1595 | =end original |
2328 | 1596 | |
2329 | 1597 | (F) "goto" 文で foreach ループの中に飛び込もうとしました。 |
2330 | 1598 | ここからそこへは行けません。 |
2331 | 1599 | L<perlfunc/goto> を参照してください。 |
2332 | 1600 | |
2333 | 1601 | =item Can't "goto" out of a pseudo block |
2334 | 1602 | |
2335 | 1603 | =begin original |
2336 | 1604 | |
2337 | 1605 | (F) A "goto" statement was executed to jump out of what might look like |
2338 | 1606 | a block, except that it isn't a proper block. This usually occurs if |
2339 | 1607 | you tried to jump out of a sort() block or subroutine, which is a no-no. |
2340 | 1608 | See L<perlfunc/goto>. |
2341 | 1609 | |
2342 | 1610 | =end original |
2343 | 1611 | |
2344 | 1612 | (F) "goto" 文でブロックのように見えるけれども、適切な |
2345 | 1613 | ブロックではないところから飛び出そうとしました。 |
2346 | 1614 | これは普通 sort() ブロックやサブルーチンから飛び出そうとしたときに |
2347 | 1615 | 起きますが、それはできません。 |
2348 | 1616 | L<perlfunc/goto> を参照してください。 |
2349 | 1617 | |
2350 | =item Can't goto subroutine from an eval- | |
1618 | =item Can't goto subroutine from an eval-string | |
2351 | 1619 | |
2352 | 1620 | =begin original |
2353 | 1621 | |
2354 | 1622 | (F) The "goto subroutine" call can't be used to jump out of an eval |
2355 | "string" o | |
1623 | "string". (You can use it to jump out of an eval {BLOCK}, but you | |
1624 | probably don't want to.) | |
2356 | 1625 | |
2357 | 1626 | =end original |
2358 | 1627 | |
2359 | (F) "goto subroutine" 呼び出しは eval "string" | |
1628 | (F) "goto subroutine" 呼び出しは eval "string" から飛び出すことは | |
2360 | ||
1629 | できません。 | |
1630 | (eval {BLOCK} から飛び出すことはできますが、多分そうしたくはないでしょう。) | |
2361 | 1631 | |
2362 | =item Can't goto subroutine from a sort sub (or similar callback) | |
2363 | ||
2364 | =begin original | |
2365 | ||
2366 | (F) The "goto subroutine" call can't be used to jump out of the | |
2367 | comparison sub for a sort(), or from a similar callback (such | |
2368 | as the reduce() function in List::Util). | |
2369 | ||
2370 | =end original | |
2371 | ||
2372 | (F) "goto subroutine" 呼び出しは、sort() のための比較サブルーチンや、 | |
2373 | (List::Util の reduce() 関数のような) 似たようなコールバックから | |
2374 | 飛び出すことはできません。 | |
2375 | ||
2376 | 1632 | =item Can't goto subroutine outside a subroutine |
2377 | 1633 | |
2378 | 1634 | =begin original |
2379 | 1635 | |
2380 | 1636 | (F) The deeply magical "goto subroutine" call can only replace one |
2381 | 1637 | subroutine call for another. It can't manufacture one out of whole |
2382 | 1638 | cloth. In general you should be calling it out of only an AUTOLOAD |
2383 | 1639 | routine anyway. See L<perlfunc/goto>. |
2384 | 1640 | |
2385 | 1641 | =end original |
2386 | 1642 | |
2387 | (F) 結構マジカルな "goto subroutine" の呼び出しは、あるサブルー | |
1643 | (F) 結構マジカルな "goto subroutine" の呼び出しは、あるサブルーティン | |
2388 | 1644 | 呼び出しを別のもので置き換えるだけです。 |
2389 | 1645 | 反物の状態から作り上げることはできません。 |
2390 | 1646 | 一般に、これを行なうのは、AUTOLOAD ルーティンから抜け出すときだけに |
2391 | 1647 | しておくべきです。 |
2392 | L<perlfunc/goto> を参照してください。 | |
1648 | L<perlfunc/goto> の項を参照してください。 | |
2393 | 1649 | |
2394 | 1650 | =item Can't ignore signal CHLD, forcing to default |
2395 | 1651 | |
2396 | 1652 | =begin original |
2397 | 1653 | |
2398 | 1654 | (W signal) Perl has detected that it is being run with the SIGCHLD |
2399 | 1655 | signal (sometimes known as SIGCLD) disabled. Since disabling this |
2400 | 1656 | signal will interfere with proper determination of exit status of child |
2401 | 1657 | processes, Perl has reset the signal to its default value. This |
2402 | 1658 | situation typically indicates that the parent program under which Perl |
2403 | 1659 | may be running (e.g. cron) is being very careless. |
2404 | 1660 | |
2405 | 1661 | =end original |
2406 | 1662 | |
2407 | 1663 | (W signal) Perl は、SIGCHLD (SIGCLD としても知られます) シグナルが |
2408 | 1664 | 無効化された状態で実行されていることを検出しました。 |
2409 | 1665 | このシグナルが無効化されると子プロセスの終了ステータスを適切に |
2410 | 1666 | 決定できなくなるので、Perl はシグナルをデフォルト値にリセットしました。 |
2411 | 1667 | この状況は典型的には Perl が動作している親プログラム(cron など)が |
2412 | 1668 | とても不注意であることを示しています。 |
2413 | 1669 | |
2414 | =item Can't kill a non-numeric process ID | |
2415 | ||
2416 | =begin original | |
2417 | ||
2418 | (F) Process identifiers must be (signed) integers. It is a fatal error to | |
2419 | attempt to kill() an undefined, empty-string or otherwise non-numeric | |
2420 | process identifier. | |
2421 | ||
2422 | =end original | |
2423 | ||
2424 | (F) プロセス識別子は(符号付き)整数でなければなりません。 | |
2425 | 未定義値、空文字列、その他の非数値プロセス識別子を使って | |
2426 | kill() しようとすることは致命的エラーです。 | |
2427 | ||
2428 | 1670 | =item Can't "last" outside a loop block |
2429 | 1671 | |
2430 | 1672 | =begin original |
2431 | 1673 | |
2432 | 1674 | (F) A "last" statement was executed to break out of the current block, |
2433 | 1675 | except that there's this itty bitty problem called there isn't a current |
2434 | 1676 | block. Note that an "if" or "else" block doesn't count as a "loopish" |
2435 | 1677 | block, as doesn't a block given to sort(), map() or grep(). You can |
2436 | 1678 | usually double the curlies to get the same effect though, because the |
2437 | 1679 | inner curlies will be considered a block that loops once. See |
2438 | 1680 | L<perlfunc/last>. |
2439 | 1681 | |
2440 | 1682 | =end original |
2441 | 1683 | |
2442 | 1684 | (F) 現在のブロックから脱出するために、"last" 文を実行しましたが、 |
2443 | 1685 | 残念なことにブロックの中ではありませんでした。 |
2444 | 1686 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
2445 | 1687 | 同様「ループ風」ブロックではないので、注意してください。 |
2446 | ただし、中 | |
1688 | ただし、中括弧を二重にすれば、内側の中括弧が、1 度だけループするブロックと | |
2447 | ||
1689 | みなされますから、同じ効果が得られます。 | |
2448 | 1690 | L<perlfunc/last> を参照してください。 |
2449 | 1691 | |
2450 | =item Can't l | |
1692 | =item Can't localize lexical variable %s | |
2451 | 1693 | |
2452 | 1694 | =begin original |
2453 | 1695 | |
2454 | (F) | |
1696 | (F) You used local on a variable name that was previously declared as a | |
2455 | ||
1697 | lexical variable using "my". This is not allowed. If you want to | |
1698 | localize a package variable of the same name, qualify it with the | |
1699 | package name. | |
2456 | 1700 | |
2457 | 1701 | =end original |
2458 | 1702 | |
2459 | (F) | |
1703 | (F) 以前に "my" を使ってレキシカル変数として宣言された変数名に対して | |
2460 | ||
1704 | local を使いました。 | |
1705 | これは認められていません。 | |
1706 | 同じ名前のパッケージ変数をローカル化したい場合は、 | |
1707 | パッケージ名で修飾してください。 | |
2461 | 1708 | |
2462 | =item Can't loa | |
1709 | =item Can't localize pseudo-hash element | |
2463 | 1710 | |
2464 | 1711 | =begin original |
2465 | 1712 | |
2466 | (F) | |
1713 | (F) You said something like C<< local $ar->{'key'} >>, where $ar is a | |
2467 | ||
1714 | reference to a pseudo-hash. That hasn't been implemented yet, but you | |
2468 | ||
1715 | can get a similar effect by localizing the corresponding array element | |
2469 | ||
1716 | directly -- C<< local $ar->[$ar->[0]{'key'}] >>. | |
2470 | dynamic extension was built against an older version of the library | |
2471 | that is installed on your system. You may need to rebuild your old | |
2472 | dynamic extensions. | |
2473 | 1717 | |
2474 | 1718 | =end original |
2475 | 1719 | |
2476 | (F) | |
1720 | (F) $ar が擬似ハッシュへのリファレンスのとき、C<< local $ar->{'key'} >> の | |
2477 | ||
1721 | ようなことをしました。 | |
2478 | これは | |
1722 | これはまだ実装されていませんが、対応する配列要素を直接ローカル化することで | |
2479 | ||
1723 | 似たような効果が得られます -- C<< local $ar->[$ar->[0]{'key'}] >>。 | |
2480 | (よりあり得るのは)動的拡張モジュールがシステムにインストールされている古い | |
2481 | バージョンのライブラリに対してビルドされているかです。 | |
2482 | 古い動的拡張モジュールをリビルドする必要があるでしょう。 | |
2483 | 1724 | |
2484 | =item Can't localize lexical variable %s | |
2485 | ||
2486 | =begin original | |
2487 | ||
2488 | (F) You used local on a variable name that was previously declared as a | |
2489 | lexical variable using "my" or "state". This is not allowed. If you | |
2490 | want to localize a package variable of the same name, qualify it with | |
2491 | the package name. | |
2492 | ||
2493 | =end original | |
2494 | ||
2495 | (F) 以前に "my" や "state" を使ってレキシカル変数として宣言された変数名に | |
2496 | 対して local を使いました。 | |
2497 | これは認められていません。 | |
2498 | 同じ名前のパッケージ変数をローカル化したい場合は、 | |
2499 | パッケージ名で修飾してください。 | |
2500 | ||
2501 | 1725 | =item Can't localize through a reference |
2502 | 1726 | |
2503 | 1727 | =begin original |
2504 | 1728 | |
2505 | 1729 | (F) You said something like C<local $$ref>, which Perl can't currently |
2506 | 1730 | handle, because when it goes to restore the old value of whatever $ref |
2507 | 1731 | pointed to after the scope of the local() is finished, it can't be sure |
2508 | that $ref will still be a reference. | |
1732 | that $ref will still be a reference. | |
2509 | 1733 | |
2510 | 1734 | =end original |
2511 | 1735 | |
2512 | 1736 | (F) C<local $$ref> のようなことをしましたが、Perl は現在のところこれを |
2513 | 1737 | 扱えません; なぜなら、local() のスコープが終了した後、$ref が |
2514 | 1738 | 指しているものの古い値を戻すとき、$ref がまだリファレンスかどうかが |
2515 | 1739 | わからないからです。 |
2516 | 1740 | |
2517 | 1741 | =item Can't locate %s |
2518 | 1742 | |
2519 | 1743 | =begin original |
2520 | 1744 | |
2521 | (F) You said to C<do> (or C<require>, or C<use>) a file that couldn't be | |
1745 | (F) You said to C<do> (or C<require>, or C<use>) a file that couldn't be | |
2522 | Perl looks for the file in all the locations mentioned in @INC, | |
1746 | found. Perl looks for the file in all the locations mentioned in @INC, | |
2523 | the file name included the full path to the file. Perhaps you | |
1747 | unless the file name included the full path to the file. Perhaps you | |
2524 | to set the PERL5LIB or PERL5OPT environment variable to say wher | |
1748 | need to set the PERL5LIB or PERL5OPT environment variable to say where | |
2525 | extra library is, or maybe the script needs to add the library name | |
1749 | the extra library is, or maybe the script needs to add the library name | |
2526 | 1750 | to @INC. Or maybe you just misspelled the name of the file. See |
2527 | 1751 | L<perlfunc/require> and L<lib>. |
2528 | 1752 | |
2529 | 1753 | =end original |
2530 | 1754 | |
2531 | 1755 | (F) ファイルを C<do> (または、C<require>、C<use>) するように |
2532 | 1756 | 指示されましたが、見つかりませんでした。 |
2533 | 1757 | Perl は、フルパスで指定されていない場合ファイルを @INC で示される |
2534 | 1758 | 全ての場所を検索します。 |
2535 | 1759 | おそらく、追加ライブラリの場所を示すために、 |
2536 | 1760 | PERL5LIB または PERL5OPT の環境変数を指定する必要があるか、 |
2537 | 1761 | スクリプトの中で @INC にライブラリ名を追加する必要があります。 |
2538 | 1762 | ファイル名のスペルミスの可能性もあります。 |
2539 | 1763 | L<perlfunc/require> と L<lib> を参照してください。 |
2540 | 1764 | |
2541 | 1765 | =item Can't locate auto/%s.al in @INC |
2542 | 1766 | |
2543 | 1767 | =begin original |
2544 | 1768 | |
2545 | 1769 | (F) A function (or method) was called in a package which allows |
2546 | 1770 | autoload, but there is no function to autoload. Most probable causes |
2547 | 1771 | are a misprint in a function/method name or a failure to C<AutoSplit> |
2548 | 1772 | the file, say, by doing C<make install>. |
2549 | 1773 | |
2550 | 1774 | =end original |
2551 | 1775 | |
2552 | 1776 | (F) 関数(またはメソッド)がオートロードを許可しているパッケージで |
2553 | 1777 | 呼び出されましたが、オートロードする関数がありませんでした。 |
2554 | 1778 | 最も可能性のある原因は関数/メソッド名の誤記か、C<make install> と |
2555 | 1779 | することによるファイルの C<AutoSplit> の失敗です。 |
2556 | 1780 | |
2557 | =item Can't locate loadable object for module %s in @INC | |
2558 | ||
2559 | =begin original | |
2560 | ||
2561 | (F) The module you loaded is trying to load an external library, like | |
2562 | for example, F<foo.so> or F<bar.dll>, but the L<DynaLoader> module was | |
2563 | unable to locate this library. See L<DynaLoader>. | |
2564 | ||
2565 | =end original | |
2566 | ||
2567 | (F) 読み込まれたモジュールは F<foo.so> や F<bar.dll> のような外部 | |
2568 | ライブラリを読み込もうとしましたが、L<DynaLoader> モジュールは、この | |
2569 | ライブラリの位置がわかりませんでした。 | |
2570 | L<DynaLoader> を参照してください。 | |
2571 | ||
2572 | 1781 | =item Can't locate object method "%s" via package "%s" |
2573 | 1782 | |
2574 | 1783 | =begin original |
2575 | 1784 | |
2576 | 1785 | (F) You called a method correctly, and it correctly indicated a package |
2577 | 1786 | functioning as a class, but that package doesn't define that particular |
2578 | 1787 | method, nor does any of its base classes. See L<perlobj>. |
2579 | 1788 | |
2580 | 1789 | =end original |
2581 | 1790 | |
2582 | 1791 | (F) 正しくメソッドを呼び出し、それは、クラスとして機能するパッケージを |
2583 | 1792 | 正しく示していますが、そのパッケージにも、基底クラスにも、 |
2584 | 1793 | 該当のメソッドが定義されていません。 |
2585 | 1794 | L<perlobj> を参照してください。 |
2586 | 1795 | |
2587 | =item | |
1796 | =item (perhaps you forgot to load "%s"?) | |
2588 | to load "%s"?) | |
2589 | 1797 | |
2590 | 1798 | =begin original |
2591 | 1799 | |
2592 | (F) | |
1800 | (F) This is an educated guess made in conjunction with the message | |
2593 | ||
1801 | "Can't locate object method \"%s\" via package \"%s\"". It often means | |
2594 | requires a package that has not been loaded. | |
1802 | that a method requires a package that has not been loaded. | |
2595 | 1803 | |
2596 | 1804 | =end original |
2597 | 1805 | |
2598 | (F) | |
1806 | (F) これは "Can't locate object method \"%s\" via package \"%s\"" の | |
2599 | ||
1807 | メッセージと共に出る教育的な推測です。 | |
2600 | 1808 | これはしばしばメソッドがまだロードされていないパッケージを |
2601 | 1809 | 要求していることを意味します。 |
2602 | 1810 | |
2603 | 1811 | =item Can't locate package %s for @%s::ISA |
2604 | 1812 | |
2605 | 1813 | =begin original |
2606 | 1814 | |
2607 | 1815 | (W syntax) The @ISA array contained the name of another package that |
2608 | 1816 | doesn't seem to exist. |
2609 | 1817 | |
2610 | 1818 | =end original |
2611 | 1819 | |
2612 | 1820 | (W syntax) 配列 @ISA に別のパッケージ名が記されていますが、 |
2613 | 1821 | 存在していないようです。 |
2614 | 1822 | |
2615 | =item Can't | |
1823 | =item Can't make list assignment to \%ENV on this system | |
2616 | 1824 | |
2617 | 1825 | =begin original |
2618 | 1826 | |
2619 | (F) You tried to use in open() a PerlIO layer that does not exist, | |
2620 | e.g. open(FH, ">:nosuchlayer", "somefile"). | |
2621 | ||
2622 | =end original | |
2623 | ||
2624 | (F) 例えば、open(FH, ">:nosuchlayer", "somefile") のように、 | |
2625 | open() で 存在しない PerlIO 層を使おうとしました。 | |
2626 | ||
2627 | =item Can't make list assignment to %ENV on this system | |
2628 | ||
2629 | =begin original | |
2630 | ||
2631 | 1827 | (F) List assignment to %ENV is not supported on some systems, notably |
2632 | 1828 | VMS. |
2633 | 1829 | |
2634 | 1830 | =end original |
2635 | 1831 | |
2636 | 1832 | (F) %ENV へのリスト代入はいくつかのシステム、特に VMS では |
2637 | 1833 | 対応していません。 |
2638 | 1834 | |
2639 | =item Can't make loaded symbols global on this platform while loading %s | |
2640 | ||
2641 | =begin original | |
2642 | ||
2643 | (S) A module passed the flag 0x01 to DynaLoader::dl_load_file() to request | |
2644 | that symbols from the stated file are made available globally within the | |
2645 | process, but that functionality is not available on this platform. Whilst | |
2646 | the module likely will still work, this may prevent the perl interpreter | |
2647 | from loading other XS-based extensions which need to link directly to | |
2648 | functions defined in the C or XS code in the stated file. | |
2649 | ||
2650 | =end original | |
2651 | ||
2652 | (W) モジュールが、プロセスの中でグローバルに利用可能な固定ファイルから | |
2653 | シンボルを読み込むことを要求するために、DynaLoader::dl_load_file() に | |
2654 | 0x01 フラグを渡しましたが、この機能はこのプラットフォームでは利用できません。 | |
2655 | モジュールはおそらく動作しますが、perl インタプリタによる、固定ファイルの C や | |
2656 | XS コードで定義された関数へ直接リンクする必要のあるその他の XS ベースの | |
2657 | エクステンションの読み込みが妨げられるかもしれません。 | |
2658 | ||
2659 | 1835 | =item Can't modify %s in %s |
2660 | 1836 | |
2661 | 1837 | =begin original |
2662 | 1838 | |
2663 | 1839 | (F) You aren't allowed to assign to the item indicated, or otherwise try |
2664 | 1840 | to change it, such as with an auto-increment. |
2665 | 1841 | |
2666 | 1842 | =end original |
2667 | 1843 | |
2668 | 1844 | (F) 指定されたものは、代入、インクリメントなど、変更が許されていません。 |
2669 | 1845 | |
2670 | 1846 | =item Can't modify nonexistent substring |
2671 | 1847 | |
2672 | 1848 | =begin original |
2673 | 1849 | |
2674 | 1850 | (P) The internal routine that does assignment to a substr() was handed |
2675 | 1851 | a NULL. |
2676 | 1852 | |
2677 | 1853 | =end original |
2678 | 1854 | |
2679 | 1855 | (P) substr() への代入を行なう内部ルーティンに NULL が渡されました。 |
2680 | 1856 | |
2681 | =item Can't modify non-lvalue subroutine call | |
1857 | =item Can't modify non-lvalue subroutine call | |
2682 | 1858 | |
2683 | 1859 | =begin original |
2684 | 1860 | |
2685 | 1861 | (F) Subroutines meant to be used in lvalue context should be declared as |
2686 | such | |
1862 | such, see L<perlsub/"Lvalue subroutines">. | |
2687 | 1863 | |
2688 | 1864 | =end original |
2689 | 1865 | |
2690 | 1866 | (F) 左辺値コンテキストとして使うサブルーチンは、そのように |
2691 | 宣言しなければなりません | |
1867 | 宣言しなければなりません; | |
2692 | 1868 | L<perlsub/"Lvalue subroutines"> を参照してください。 |
2693 | 1869 | |
2694 | =item Can't modify reference to %s in %s assignment | |
2695 | ||
2696 | =begin original | |
2697 | ||
2698 | (F) Only a limited number of constructs can be used as the argument to a | |
2699 | reference constructor on the left-hand side of an assignment, and what | |
2700 | you used was not one of them. See L<perlref/Assigning to References>. | |
2701 | ||
2702 | =end original | |
2703 | ||
2704 | (F) 代入の左側のリファレンスコンストラクタの引数に使える構文は | |
2705 | 一部に制限されていて、ここで使ったものはその一つではありません。 | |
2706 | L<perlref/Assigning to References> を参照してください。 | |
2707 | ||
2708 | =item Can't modify reference to localized parenthesized array in list | |
2709 | assignment | |
2710 | ||
2711 | =begin original | |
2712 | ||
2713 | (F) Assigning to C<\local(@array)> or C<\(local @array)> is not supported, as | |
2714 | it is not clear exactly what it should do. If you meant to make @array | |
2715 | refer to some other array, use C<\@array = \@other_array>. If you want to | |
2716 | make the elements of @array aliases of the scalars referenced on the | |
2717 | right-hand side, use C<\(@array) = @scalar_refs>. | |
2718 | ||
2719 | =end original | |
2720 | ||
2721 | (F) C<\local(@array)> や C<\(local @array)> への代入は対応していません; | |
2722 | 正確に何をするべきかが明確ではないからです。 | |
2723 | @array が他の配列を参照するようにすることを意味しているなら、 | |
2724 | C<\@array = \@other_array> を使ってください。 | |
2725 | @array の要素が右側でリファレンスされているスカラへの別名にしたいなら、 | |
2726 | C<\(@array) = @scalar_refs> を使ってください。 | |
2727 | ||
2728 | =item Can't modify reference to parenthesized hash in list assignment | |
2729 | ||
2730 | =begin original | |
2731 | ||
2732 | (F) Assigning to C<\(%hash)> is not supported. If you meant to make %hash | |
2733 | refer to some other hash, use C<\%hash = \%other_hash>. If you want to | |
2734 | make the elements of %hash into aliases of the scalars referenced on the | |
2735 | right-hand side, use a hash slice: C<\@hash{@keys} = @those_scalar_refs>. | |
2736 | ||
2737 | =end original | |
2738 | ||
2739 | (F) C<\(%hash)> への代入は対応していません。 | |
2740 | %hash が他のハッシュを参照するようにすることを意味しているなら、 | |
2741 | C<\%hash = \%other_hash> を使ってください。 | |
2742 | %hash の要素が右側でリファレンスされているスカラへの別名にしたいなら、 | |
2743 | ハッシュスライスを使ってください: C<\@hash{@keys} = @those_scalar_refs>。 | |
2744 | ||
2745 | 1870 | =item Can't msgrcv to read-only var |
2746 | 1871 | |
2747 | 1872 | =begin original |
2748 | 1873 | |
2749 | 1874 | (F) The target of a msgrcv must be modifiable to be used as a receive |
2750 | 1875 | buffer. |
2751 | 1876 | |
2752 | 1877 | =end original |
2753 | 1878 | |
2754 | 1879 | (F) msgrcv で使用する変数は、受信バッファとして使用しますので、 |
2755 | 1880 | 変更可能なものでなければなりません。 |
2756 | 1881 | |
2757 | 1882 | =item Can't "next" outside a loop block |
2758 | 1883 | |
2759 | 1884 | =begin original |
2760 | 1885 | |
2761 | 1886 | (F) A "next" statement was executed to reiterate the current block, but |
2762 | 1887 | there isn't a current block. Note that an "if" or "else" block doesn't |
2763 | 1888 | count as a "loopish" block, as doesn't a block given to sort(), map() or |
2764 | 1889 | grep(). You can usually double the curlies to get the same effect |
2765 | 1890 | though, because the inner curlies will be considered a block that loops |
2766 | 1891 | once. See L<perlfunc/next>. |
2767 | 1892 | |
2768 | 1893 | =end original |
2769 | 1894 | |
2770 | 1895 | (F) 現在のブロックの繰り返しを進めるために、"next" 文を実行しましたが、 |
2771 | 1896 | ブロックの中ではありませんでした。 |
2772 | 1897 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
2773 | 1898 | 同様「ループ風」ブロックではないので、注意してください。 |
2774 | ただし、中 | |
1899 | ただし、中括弧を二重にすれば、内側の中括弧が、1 度だけループするブロックと | |
2775 | ||
1900 | みなされますから、同じ効果が得られます。 | |
2776 | 1901 | L<perlfunc/next> を参照してください。 |
2777 | 1902 | |
2778 | 1903 | =item Can't open %s: %s |
2779 | 1904 | |
2780 | 1905 | =begin original |
2781 | 1906 | |
2782 | 1907 | (S inplace) The implicit opening of a file through use of the C<< <> >> |
2783 | 1908 | filehandle, either implicitly under the C<-n> or C<-p> command-line |
2784 | switches, or explicitly, failed for the indicated reason. Usually | |
1909 | switches, or explicitly, failed for the indicated reason. Usually this | |
2785 | ||
1910 | is because you don't have read permission for a file which you named on | |
2786 | ||
1911 | the command line. | |
2787 | 1912 | |
2788 | 1913 | =end original |
2789 | 1914 | |
2790 | 1915 | (S inplace) C<< <> >> ファイルハンドルによる暗黙的なファイルオープンまたは |
2791 | 1916 | C<-n> か C<-p> コマンドラインスイッチによる暗黙的な、あるいは |
2792 | 1917 | 明示的なファイルオープンが表示した理由によって失敗しました。 |
2793 | 1918 | 通常、これはコマンドラインで指定したファイルの読み込み権限が無いときに起こります。 |
2794 | 1919 | |
2795 | =begin original | |
2796 | ||
2797 | (F) You tried to call perl with the B<-e> switch, but F</dev/null> (or | |
2798 | your operating system's equivalent) could not be opened. | |
2799 | ||
2800 | =end original | |
2801 | ||
2802 | (F) B<-e> オプション付きで perl を呼び出そうとしましたが、F</dev/null> | |
2803 | (またはあなたのオペレーティングシステムでの等価物) が開けませんでした。 | |
2804 | ||
2805 | =item Can't open a reference | |
2806 | ||
2807 | =begin original | |
2808 | ||
2809 | (W io) You tried to open a scalar reference for reading or writing, | |
2810 | using the 3-arg open() syntax: | |
2811 | ||
2812 | =end original | |
2813 | ||
2814 | (W io) 3 引数の open() の構文を使ってスカラリファレンスを読み込みまたは | |
2815 | 書き込みのために開こうとしました: | |
2816 | ||
2817 | open FH, '>', $ref; | |
2818 | ||
2819 | =begin original | |
2820 | ||
2821 | but your version of perl is compiled without perlio, and this form of | |
2822 | open is not supported. | |
2823 | ||
2824 | =end original | |
2825 | ||
2826 | しかしこのバージョンの perl は perlio なしでコンパイルされていて、 | |
2827 | この形式の open は対応していません。 | |
2828 | ||
2829 | 1920 | =item Can't open bidirectional pipe |
2830 | 1921 | |
2831 | 1922 | =begin original |
2832 | 1923 | |
2833 | 1924 | (W pipe) You tried to say C<open(CMD, "|cmd|")>, which is not supported. |
2834 | 1925 | You can try any of several modules in the Perl library to do this, such |
2835 | 1926 | as IPC::Open2. Alternately, direct the pipe's output to a file using |
2836 | 1927 | ">", and then read it in under a different file handle. |
2837 | 1928 | |
2838 | 1929 | =end original |
2839 | 1930 | |
2840 | 1931 | (W pipe) サポートされていない C<open(CMD, "|cmd|")> を行なおうとしました。 |
2841 | 1932 | これを行なうためには、Perl ライブラリの IPC::Open2 のようないくつかの |
2842 | 1933 | モジュールを使うことができます。 |
2843 | 1934 | 別の方法として、パイプされたものを ">" を使っていったんファイルに出力し、 |
2844 | 1935 | あとで別のファイルハンドルで読み込みを行なうことも考えられます。 |
2845 | 1936 | |
2846 | 1937 | =item Can't open error file %s as stderr |
2847 | 1938 | |
2848 | 1939 | =begin original |
2849 | 1940 | |
2850 | 1941 | (F) An error peculiar to VMS. Perl does its own command line |
2851 | 1942 | redirection, and couldn't open the file specified after '2>' or '2>>' on |
2852 | 1943 | the command line for writing. |
2853 | 1944 | |
2854 | 1945 | =end original |
2855 | 1946 | |
2856 | (F) VMS | |
1947 | (F) VMSに固有のエラーです。 | |
2857 | 1948 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
2858 | 1949 | コマンドラインで書き込みのために '2>' や '2>>' の後に指定された |
2859 | 1950 | ファイルを開けませんでした。 |
2860 | 1951 | |
2861 | 1952 | =item Can't open input file %s as stdin |
2862 | 1953 | |
2863 | 1954 | =begin original |
2864 | 1955 | |
2865 | 1956 | (F) An error peculiar to VMS. Perl does its own command line |
2866 | 1957 | redirection, and couldn't open the file specified after '<' on the |
2867 | 1958 | command line for reading. |
2868 | 1959 | |
2869 | 1960 | =end original |
2870 | 1961 | |
2871 | (F) VMS | |
1962 | (F) VMSに固有のエラーです。 | |
2872 | 1963 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
2873 | 1964 | コマンドラインで読み込みのために '<' の後に指定された |
2874 | 1965 | ファイルを開けませんでした。 |
2875 | 1966 | |
2876 | 1967 | =item Can't open output file %s as stdout |
2877 | 1968 | |
2878 | 1969 | =begin original |
2879 | 1970 | |
2880 | 1971 | (F) An error peculiar to VMS. Perl does its own command line |
2881 | 1972 | redirection, and couldn't open the file specified after '>' or '>>' on |
2882 | 1973 | the command line for writing. |
2883 | 1974 | |
2884 | 1975 | =end original |
2885 | 1976 | |
2886 | (F) VMS | |
1977 | (F) VMSに固有のエラーです。 | |
2887 | 1978 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
2888 | 1979 | コマンドラインで書き込みのために '>' や '>>' の後に指定された |
2889 | 1980 | ファイルを開けませんでした。 |
2890 | 1981 | |
2891 | 1982 | =item Can't open output pipe (name: %s) |
2892 | 1983 | |
2893 | 1984 | =begin original |
2894 | 1985 | |
2895 | 1986 | (P) An error peculiar to VMS. Perl does its own command line |
2896 | 1987 | redirection, and couldn't open the pipe into which to send data destined |
2897 | 1988 | for stdout. |
2898 | 1989 | |
2899 | 1990 | =end original |
2900 | 1991 | |
2901 | (P) VMS | |
1992 | (P) VMSに固有のエラーです。 | |
2902 | 1993 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
2903 | 1994 | 標準出力としてデータを送るパイプを開けませんでした。 |
2904 | 1995 | |
2905 | 1996 | =item Can't open perl script "%s": %s |
2906 | 1997 | |
2907 | 1998 | =begin original |
2908 | 1999 | |
2909 | 2000 | (F) The script you specified can't be opened for the indicated reason. |
2910 | 2001 | |
2911 | 2002 | =end original |
2912 | 2003 | |
2913 | 2004 | (F) 指定したスクリプトが、表示した理由によってオープンできませんでした。 |
2914 | 2005 | |
2915 | =begin original | |
2916 | ||
2917 | If you're debugging a script that uses #!, and normally relies on the | |
2918 | shell's $PATH search, the -S option causes perl to do that search, so | |
2919 | you don't have to type the path or C<`which $scriptname`>. | |
2920 | ||
2921 | =end original | |
2922 | ||
2923 | #! を使うスクリプトをデバッグしていて、普通はシェルの $PATH 検索に | |
2924 | 頼っている場合は、-S オプションを付けることで perl が検索するようになり、 | |
2925 | パスや C<`which $scriptname`> をタイプする必要がなくなります。 | |
2926 | ||
2927 | 2006 | =item Can't read CRTL environ |
2928 | 2007 | |
2929 | 2008 | =begin original |
2930 | 2009 | |
2931 | 2010 | (S) A warning peculiar to VMS. Perl tried to read an element of %ENV |
2932 | 2011 | from the CRTL's internal environment array and discovered the array was |
2933 | 2012 | missing. You need to figure out where your CRTL misplaced its environ |
2934 | 2013 | or define F<PERL_ENV_TABLES> (see L<perlvms>) so that environ is not |
2935 | 2014 | searched. |
2936 | 2015 | |
2937 | 2016 | =end original |
2938 | 2017 | |
2939 | (S) VMS | |
2018 | (S) VMSに固有の警告です。 | |
2940 | 2019 | Perl は %ENV の要素を CRTL の内部環境配列から読み込もうとしましたが、 |
2941 | 2020 | 配列がないことを発見しました。 |
2942 | 2021 | CRTL が環境をどこに間違えて置いたかを探し出すか、F<PERL_ENV_TABLE> を |
2943 | 2022 | 定義して(L<perlvms> を参照してください)環境を検索しないようにする |
2944 | 2023 | 必要があります。 |
2945 | 2024 | |
2946 | =item Can't rede | |
2025 | =item Can't redefine active sort subroutine %s | |
2947 | 2026 | |
2948 | 2027 | =begin original |
2949 | 2028 | |
2950 | (F) | |
2029 | (F) Perl optimizes the internal handling of sort subroutines and keeps | |
2951 | s | |
2030 | pointers into them. You tried to redefine one such sort subroutine when | |
2031 | it was currently active, which is not allowed. If you really want to do | |
2032 | this, you should write C<sort { &func } @x> instead of C<sort func @x>. | |
2952 | 2033 | |
2953 | 2034 | =end original |
2954 | 2035 | |
2955 | (F) | |
2036 | (F) Perl はソートサブルーチンの内部操作を最適化して、 | |
2956 | ||
2037 | そこへのポインタを保持しています。 | |
2038 | そのようなソートサブルーチンを現在アクティブな状態の時に | |
2039 | 再定義しようとしましたが、それはできません。 | |
2040 | 本当にそのようなことがしたい場合は、 | |
2041 | C<sort func @x> ではなく C<sort { &func } @x> と書くべきです。 | |
2957 | 2042 | |
2958 | 2043 | =item Can't "redo" outside a loop block |
2959 | 2044 | |
2960 | 2045 | =begin original |
2961 | 2046 | |
2962 | 2047 | (F) A "redo" statement was executed to restart the current block, but |
2963 | 2048 | there isn't a current block. Note that an "if" or "else" block doesn't |
2964 | 2049 | count as a "loopish" block, as doesn't a block given to sort(), map() |
2965 | 2050 | or grep(). You can usually double the curlies to get the same effect |
2966 | 2051 | though, because the inner curlies will be considered a block that |
2967 | 2052 | loops once. See L<perlfunc/redo>. |
2968 | 2053 | |
2969 | 2054 | =end original |
2970 | 2055 | |
2971 | 2056 | (F) 現在のブロックの繰り返しをもう一度行なうために、 |
2972 | 2057 | "redo" 文を実行しましたが、ブロックの中ではありませんでした。 |
2973 | 2058 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
2974 | 2059 | 同様「ループ風」ブロックではないので、注意してください。 |
2975 | ただし、中 | |
2060 | ただし、中括弧を二重にすれば、内側の中括弧が、1 度だけループする | |
2976 | 2061 | ブロックとみなされますから、同じ効果が得られます。 |
2977 | 2062 | L<perlfunc/redo> を参照してください。 |
2978 | 2063 | |
2979 | =item Can't remove %s: %s, skipping file | |
2064 | =item Can't remove %s: %s, skipping file | |
2980 | 2065 | |
2981 | 2066 | =begin original |
2982 | 2067 | |
2983 | 2068 | (S inplace) You requested an inplace edit without creating a backup |
2984 | 2069 | file. Perl was unable to remove the original file to replace it with |
2985 | 2070 | the modified file. The file was left unmodified. |
2986 | 2071 | |
2987 | 2072 | =end original |
2988 | 2073 | |
2989 | 2074 | (S inplace) バックアップを作成せずにその場編集することを要求しました。 |
2990 | 2075 | Perl は変更したファイルで置き換えるために元のファイルを削除することが |
2991 | 2076 | できませんでした。 |
2992 | 2077 | ファイルは変更されずに残されます。 |
2993 | 2078 | |
2994 | 2079 | =item Can't rename %s to %s: %s, skipping file |
2995 | 2080 | |
2996 | 2081 | =begin original |
2997 | 2082 | |
2998 | 2083 | (S inplace) The rename done by the B<-i> switch failed for some reason, |
2999 | 2084 | probably because you don't have write permission to the directory. |
3000 | 2085 | |
3001 | 2086 | =end original |
3002 | 2087 | |
3003 | 2088 | (S inplace) B<-i> スイッチで行なわれた rename が何らかの理由によって、 |
3004 | うまく行きませんでした | |
2089 | うまく行きませんでした。 | |
2090 | ディレクトリに書き込み権がないことも考えられます。 | |
3005 | 2091 | |
3006 | 2092 | =item Can't reopen input pipe (name: %s) in binary mode |
3007 | 2093 | |
3008 | 2094 | =begin original |
3009 | 2095 | |
3010 | 2096 | (P) An error peculiar to VMS. Perl thought stdin was a pipe, and tried |
3011 | 2097 | to reopen it to accept binary data. Alas, it failed. |
3012 | 2098 | |
3013 | 2099 | =end original |
3014 | 2100 | |
3015 | 2101 | (P) VMS に固有のエラーです。 |
3016 | 2102 | Perl は標準入力がパイプであると考えて、バイナリデータを受け入れるために |
3017 | 2103 | 再オープンしようとしました。 |
3018 | 2104 | 悲しいかな、それは失敗しました。 |
3019 | 2105 | |
3020 | =item Can't re | |
2106 | =item Can't resolve method `%s' overloading `%s' in package `%s' | |
3021 | 2107 | |
3022 | 2108 | =begin original |
3023 | 2109 | |
3024 | (F) | |
2110 | (F|P) Error resolving overloading specified by a method name (as opposed | |
3025 | to | |
2111 | to a subroutine reference): no such method callable via the package. If | |
3026 | ||
2112 | method name is C<???>, this is an internal error. | |
3027 | to not use such a large code point. | |
3028 | 2113 | |
3029 | 2114 | =end original |
3030 | 2115 | |
3031 | (F) | |
2116 | (F|P) (サブルーチンのリファレンスではなく)メソッド名で指定された | |
3032 | ||
2117 | オーバーロードの解決でのエラー: そのようなメソッドはパッケージ経由で | |
3033 | ||
2118 | 呼び出せません。 | |
3034 | ||
2119 | もしメソッド名が C<???> なら、内部エラーです。 | |
3035 | 2120 | |
3036 | =item Can't res | |
2121 | =item Can't reswap uid and euid | |
3037 | 2122 | |
3038 | 2123 | =begin original |
3039 | 2124 | |
3040 | ( | |
2125 | (P) The setreuid() call failed for some reason in the setuid emulator of | |
3041 | ||
2126 | suidperl. | |
3042 | the main package, that includes %ENV. Resetting %ENV is not | |
3043 | supported on some systems, notably VMS. | |
3044 | 2127 | |
3045 | 2128 | =end original |
3046 | 2129 | |
3047 | ( | |
2130 | (P) suidperl の setuid エミュレータで何らかの理由により、 | |
3048 | ||
2131 | setreuid() 呼び出しが失敗しました。 | |
3049 | main パッケージでは、これには %ENV が含まれます。 | |
3050 | %ENV の reset は一部のシステム、特に VMS では対応していません。 | |
3051 | 2132 | |
3052 | =item Can't re | |
2133 | =item Can't return %s from lvalue subroutine | |
3053 | 2134 | |
3054 | 2135 | =begin original |
3055 | 2136 | |
3056 | (F) | |
2137 | (F) Perl detected an attempt to return illegal lvalues (such as | |
3057 | ||
2138 | temporary or readonly values) from a subroutine used as an lvalue. This | |
3058 | ||
2139 | is not allowed. | |
3059 | 2140 | |
3060 | 2141 | =end original |
3061 | 2142 | |
3062 | (F) | |
2143 | (F) Perl が、左辺値として使われるサブルーチンから(一時的や | |
3063 | ||
2144 | 読み込み専用のような)不正な左辺値が返されようとしているのを | |
3064 | ||
2145 | 検出しました。 | |
3065 | ||
2146 | これはできません。 | |
3066 | 2147 | |
3067 | =item Can't return %s | |
2148 | =item Can't return %s to lvalue scalar context | |
3068 | 2149 | |
3069 | 2150 | =begin original |
3070 | 2151 | |
3071 | (F) | |
2152 | (F) You tried to return a complete array or hash from an lvalue subroutine, | |
3072 | t | |
2153 | but you called the subroutine in a way that made Perl think you meant | |
3073 | ||
2154 | to return only one value. You probably meant to write parentheses around | |
2155 | the call to the subroutine, which tell Perl that the call should be in | |
2156 | list context. | |
3074 | 2157 | |
3075 | 2158 | =end original |
3076 | 2159 | |
3077 | (F) | |
2160 | (F) 左辺値サブルーチンから配列やハッシュ全体を返そうとしましたが、 | |
3078 | ||
2161 | 一つだけの値を返そうとしていると Perl が考えるような方法でサブルーチンを | |
3079 | ||
2162 | 呼び出しました。 | |
2163 | おそらく、Perl にこの呼び出しがリストコンテキストであると伝えるために、 | |
2164 | サブルーチン呼び出しの周りにかっこを書いているのでしょう。 | |
3080 | 2165 | |
3081 | 2166 | =item Can't return outside a subroutine |
3082 | 2167 | |
3083 | 2168 | =begin original |
3084 | 2169 | |
3085 | 2170 | (F) The return statement was executed in mainline code, that is, where |
3086 | 2171 | there was no subroutine call to return out of. See L<perlsub>. |
3087 | 2172 | |
3088 | 2173 | =end original |
3089 | 2174 | |
3090 | (F) return 文が、return で抜けるべきサブルー | |
2175 | (F) return 文が、return で抜けるべきサブルーティンがない、 | |
3091 | 2176 | "main" コードで実行されました。 |
3092 | 2177 | L<perlsub> を参照してください。 |
3093 | 2178 | |
3094 | =item Can't | |
2179 | =item Can't stat script "%s" | |
3095 | 2180 | |
3096 | 2181 | =begin original |
3097 | 2182 | |
3098 | ( | |
2183 | (P) For some reason you can't fstat() the script even though you have it | |
3099 | ||
2184 | open already. Bizarre. | |
3100 | think you meant to return only one value. You probably meant to | |
3101 | write parentheses around the call to the subroutine, which tell | |
3102 | Perl that the call should be in list context. | |
3103 | 2185 | |
3104 | 2186 | =end original |
3105 | 2187 | |
3106 | ( | |
2188 | (P) 何らかの理由で、例え既にオープンしていたとしても、fstat() が | |
3107 | ||
2189 | 行なえません。困ったもんだ。 | |
3108 | 呼び出しました。 | |
3109 | おそらく、Perl にこの呼び出しがリストコンテキストであると伝えるために、 | |
3110 | サブルーチン呼び出しの周りにかっこを書いているのでしょう。 | |
3111 | 2190 | |
3112 | =item Can't s | |
2191 | =item Can't swap uid and euid | |
3113 | 2192 | |
3114 | 2193 | =begin original |
3115 | 2194 | |
3116 | (P) | |
2195 | (P) The setreuid() call failed for some reason in the setuid emulator of | |
3117 | ||
2196 | suidperl. | |
3118 | 2197 | |
3119 | 2198 | =end original |
3120 | 2199 | |
3121 | (P) 何らかの理由 | |
2200 | (P) suidperl の setuid エミュレータで何らかの理由により、 | |
3122 | ||
2201 | setreuid() 呼び出しが失敗しました。 | |
3123 | 2202 | |
3124 | 2203 | =item Can't take log of %g |
3125 | 2204 | |
3126 | 2205 | =begin original |
3127 | 2206 | |
3128 | 2207 | (F) For ordinary real numbers, you can't take the logarithm of a |
3129 | negative number or zero. | |
2208 | negative number or zero. There's a Math::Complex package that comes | |
3130 | 2209 | standard with Perl, though, if you really want to do that for the |
3131 | 2210 | negative numbers. |
3132 | 2211 | |
3133 | 2212 | =end original |
3134 | 2213 | |
3135 | 2214 | (F) 実数に対しては、負数や 0 に対する対数を取ることはできません。 |
3136 | 2215 | しかし、もし本当に負数に対してそのようなことをしたいのなら、 |
3137 | 2216 | Perl 標準になっている Math::Complex パッケージがあります。 |
3138 | 2217 | |
3139 | 2218 | =item Can't take sqrt of %g |
3140 | 2219 | |
3141 | 2220 | =begin original |
3142 | 2221 | |
3143 | 2222 | (F) For ordinary real numbers, you can't take the square root of a |
3144 | 2223 | negative number. There's a Math::Complex package that comes standard |
3145 | 2224 | with Perl, though, if you really want to do that. |
3146 | 2225 | |
3147 | 2226 | =end original |
3148 | 2227 | |
3149 | 2228 | (F) 通常の実数では、負数の平方根をとることはできません。 |
3150 | 2229 | しかし、本当にその計算を行ないたいのであれば、Math::Complex パッケージが |
3151 | 2230 | Perl に標準で用意されています。 |
3152 | 2231 | |
3153 | 2232 | =item Can't undef active subroutine |
3154 | 2233 | |
3155 | 2234 | =begin original |
3156 | 2235 | |
3157 | 2236 | (F) You can't undefine a routine that's currently running. You can, |
3158 | 2237 | however, redefine it while it's running, and you can even undef the |
3159 | 2238 | redefined subroutine while the old routine is running. Go figure. |
3160 | 2239 | |
3161 | 2240 | =end original |
3162 | 2241 | |
3163 | 2242 | (F) 実行中のルーティンを未定義にすることはできません。 |
3164 | 2243 | しかし、実行中に再定義することはでき、古いルーティンを実行中に、 |
3165 | 再定義したサブルー | |
2244 | 再定義したサブルーティンを undef することさえできます。 | |
3166 | 2245 | 驚きです。 |
3167 | 2246 | |
3168 | =item Can't u | |
2247 | =item Can't unshift | |
3169 | 2248 | |
3170 | 2249 | =begin original |
3171 | 2250 | |
2251 | (F) You tried to unshift an "unreal" array that can't be unshifted, such | |
2252 | as the main Perl stack. | |
2253 | ||
2254 | =end original | |
2255 | ||
2256 | (F) Perl のメインスタックのように、unshift することのできない | |
2257 | 「実在しない」配列に対して、unshift を行なおうとしました。 | |
2258 | ||
2259 | =item Can't upgrade that kind of scalar | |
2260 | ||
2261 | =begin original | |
2262 | ||
3172 | 2263 | (P) The internal sv_upgrade routine adds "members" to an SV, making it |
3173 | 2264 | into a more specialized kind of SV. The top several SV types are so |
3174 | 2265 | specialized, however, that they cannot be interconverted. This message |
3175 | 2266 | indicates that such a conversion was attempted. |
3176 | 2267 | |
3177 | 2268 | =end original |
3178 | 2269 | |
3179 | 2270 | (P) 内部の sv_upgrade ルーティンは、SV に「メンバ」を加えて、 |
3180 | 2271 | より特別な種類の SV にします。 しかし、上位のいくつかの SV 型は、 |
3181 | 2272 | 特殊化され過ぎて、内部変換することができません。 |
3182 | 2273 | このメッセージは、そのような変更を行なおうとしたことを示しています。 |
3183 | 2274 | |
3184 | =item Can't u | |
2275 | =item Can't upgrade to undef | |
3185 | 2276 | |
3186 | 2277 | =begin original |
3187 | 2278 | |
3188 | ( | |
2279 | (P) The undefined SV is the bottom of the totem pole, in the scheme of | |
3189 | ||
2280 | upgradability. Upgrading to undef indicates an error in the code | |
2281 | calling sv_upgrade. | |
3190 | 2282 | |
3191 | 2283 | =end original |
3192 | 2284 | |
3193 | ( | |
2285 | (P) 未定義 SV は、upgrade の仕組みにおいて、階層構造の最下位に | |
3194 | ||
2286 | 位置するものです。 | |
2287 | undef への upgrade は、sv_upgrade を呼ぶコードのエラーを示します。 | |
3195 | 2288 | |
3196 | =item Can't use a hash as a reference | |
3197 | ||
3198 | =begin original | |
3199 | ||
3200 | (F) You tried to use a hash as a reference, as in | |
3201 | C<< %foo->{"bar"} >> or C<< %$ref->{"hello"} >>. Versions of perl | |
3202 | <= 5.22.0 used to allow this syntax, but shouldn't | |
3203 | have. This was deprecated in perl 5.6.1. | |
3204 | ||
3205 | =end original | |
3206 | ||
3207 | (F) C<< %foo->{"bar"} >> or C<< %$ref->{"hello"} >> のように、 | |
3208 | ハッシュをリファレンスとして使おうとしました。 | |
3209 | <= 5.22.0 のバージョンの perl ではこの文法が許されていましたが、 | |
3210 | そうするべきではありません。 | |
3211 | これは perl 5.6.1 から廃止予定です。 | |
3212 | ||
3213 | =item Can't use an array as a reference | |
3214 | ||
3215 | =begin original | |
3216 | ||
3217 | (F) You tried to use an array as a reference, as in | |
3218 | C<< @foo->[23] >> or C<< @$ref->[99] >>. Versions of perl <= 5.22.0 | |
3219 | used to allow this syntax, but shouldn't have. This | |
3220 | was deprecated in perl 5.6.1. | |
3221 | ||
3222 | =end original | |
3223 | ||
3224 | (F) C<< @foo->[23] >> or C<< @$ref->[99] >> のように、 | |
3225 | 配列をリファレンスとして使おうとしました。 | |
3226 | <= 5.22.0 のバージョンの perl ではこの文法が許されていましたが、 | |
3227 | そうするべきではありません。 | |
3228 | これは perl 5.6.1 から廃止予定です。 | |
3229 | ||
3230 | =item Can't use anonymous symbol table for method lookup | |
3231 | ||
3232 | =begin original | |
3233 | ||
3234 | (F) The internal routine that does method lookup was handed a symbol | |
3235 | table that doesn't have a name. Symbol tables can become anonymous | |
3236 | for example by undefining stashes: C<undef %Some::Package::>. | |
3237 | ||
3238 | =end original | |
3239 | ||
3240 | (F) メソッド検索を行う内部ルーチンが、名前のないシンボルテーブルを | |
3241 | 扱いました。 | |
3242 | シンボルテーブルは、例えば C<undef %Some::Package::> のように未定義の | |
3243 | stash によって無名となります。 | |
3244 | ||
3245 | 2289 | =item Can't use an undefined value as %s reference |
3246 | 2290 | |
3247 | 2291 | =begin original |
3248 | 2292 | |
3249 | 2293 | (F) A value used as either a hard reference or a symbolic reference must |
3250 | 2294 | be a defined value. This helps to delurk some insidious errors. |
3251 | 2295 | |
3252 | 2296 | =end original |
3253 | 2297 | |
3254 | 2298 | (F) ハードリファレンスやシンボリックリファレンスとして使用する値は、 |
3255 | 2299 | 定義済みの値でなければなりません。 |
3256 | 2300 | 潜伏中のエラーを引きずり出す助けとなります。 |
3257 | 2301 | |
3258 | 2302 | =item Can't use bareword ("%s") as %s ref while "strict refs" in use |
3259 | 2303 | |
3260 | 2304 | =begin original |
3261 | 2305 | |
3262 | 2306 | (F) Only hard references are allowed by "strict refs". Symbolic |
3263 | 2307 | references are disallowed. See L<perlref>. |
3264 | 2308 | |
3265 | 2309 | =end original |
3266 | 2310 | |
3267 | (F) "strict refs" | |
2311 | (F) "strict refs" では、ハードリファレンスだけが許されます。 | |
3268 | シンボリックリファレンスは許 | |
2312 | シンボリックリファレンスは、許されていません。 | |
3269 | 2313 | L<perlref> を参照してください。 |
3270 | 2314 | |
3271 | 2315 | =item Can't use %! because Errno.pm is not available |
3272 | 2316 | |
3273 | 2317 | =begin original |
3274 | 2318 | |
3275 | (F) The first time the | |
2319 | (F) The first time the %! hash is used, perl automatically loads the | |
3276 | Errno.pm module. | |
2320 | Errno.pm module. The Errno module is expected to tie the %! hash to | |
3277 | 2321 | provide symbolic names for C<$!> errno values. |
3278 | 2322 | |
3279 | 2323 | =end original |
3280 | 2324 | |
3281 | (F) 最初に | |
2325 | (F) 最初に %! ハッシュが使われるときに、 | |
3282 | 2326 | perl は自動的に Errno.pm モジュールを読み込みます。 |
3283 | 2327 | Errno モジュールは C<$!> errno 値のシンボリック名を提供するために |
3284 | 2328 | %! ハッシュと tie されることになります。 |
3285 | 2329 | |
3286 | =item Can't use both '<' and '>' after type '%c' in %s | |
3287 | ||
3288 | =begin original | |
3289 | ||
3290 | (F) A type cannot be forced to have both big-endian and little-endian | |
3291 | byte-order at the same time, so this combination of modifiers is not | |
3292 | allowed. See L<perlfunc/pack>. | |
3293 | ||
3294 | =end original | |
3295 | ||
3296 | (F) 一つの型を同時にビッグエンディアンとリトルエンディアンの両方に | |
3297 | 強制することはできないので、この修飾子の組み合わせは許可されません。 | |
3298 | L<perlfunc/pack> を参照してください。 | |
3299 | ||
3300 | =item Can't use 'defined(@array)' (Maybe you should just omit the defined()?) | |
3301 | ||
3302 | =begin original | |
3303 | ||
3304 | (F) defined() is not useful on arrays because it | |
3305 | checks for an undefined I<scalar> value. If you want to see if the | |
3306 | array is empty, just use C<if (@array) { # not empty }> for example. | |
3307 | ||
3308 | =end original | |
3309 | ||
3310 | (F) defined() は未定義の I<スカラ> 値を調べるので、配列に使っても無意味です。 | |
3311 | 配列が空かどうかを調べたい場合は、例えば単に | |
3312 | C<if (@array) { # not empty }> としてください。 | |
3313 | ||
3314 | =item Can't use 'defined(%hash)' (Maybe you should just omit the defined()?) | |
3315 | ||
3316 | =begin original | |
3317 | ||
3318 | (F) C<defined()> is not usually right on hashes. | |
3319 | ||
3320 | =end original | |
3321 | ||
3322 | (F) C<defined()> は普通はハッシュの右側ではありません。 | |
3323 | ||
3324 | =begin original | |
3325 | ||
3326 | Although C<defined %hash> is false on a plain not-yet-used hash, it | |
3327 | becomes true in several non-obvious circumstances, including iterators, | |
3328 | weak references, stash names, even remaining true after C<undef %hash>. | |
3329 | These things make C<defined %hash> fairly useless in practice, so it now | |
3330 | generates a fatal error. | |
3331 | ||
3332 | =end original | |
3333 | ||
3334 | まだ使われていない普通のハッシュに対する C<defined %hash> は偽ですが、 | |
3335 | いくつかの明白でない状況では新になります; これには反復し、弱い参照、 | |
3336 | stash 名を含み、C<undef %hash> の後でも真になります。 | |
3337 | これらにより、実践では C<defined %hash> はほとんど使えないので、 | |
3338 | 致命的エラーを生成するようになりました。 | |
3339 | ||
3340 | =begin original | |
3341 | ||
3342 | If a check for non-empty is what you wanted then just put it in boolean | |
3343 | context (see L<perldata/Scalar values>): | |
3344 | ||
3345 | =end original | |
3346 | ||
3347 | 空でないことをチェックしたいなら、単にこれを真偽値コンテキストに | |
3348 | 置いてください (L<perldata/Scalar values> を参照してください): | |
3349 | ||
3350 | if (%hash) { | |
3351 | # not empty | |
3352 | } | |
3353 | ||
3354 | =begin original | |
3355 | ||
3356 | If you had C<defined %Foo::Bar::QUUX> to check whether such a package | |
3357 | variable exists then that's never really been reliable, and isn't | |
3358 | a good way to enquire about the features of a package, or whether | |
3359 | it's loaded, etc. | |
3360 | ||
3361 | =end original | |
3362 | ||
3363 | パッケージ変数が存在するかどうかを調べるために | |
3364 | C<defined %Foo::Bar::QUUX> のようなことをしていると、これは決して信頼性が | |
3365 | なく、パッケージの機能や読み込まれているかどうかなどを問い合わせる | |
3366 | 良い方法ではありません。 | |
3367 | ||
3368 | 2330 | =item Can't use %s for loop variable |
3369 | 2331 | |
3370 | 2332 | =begin original |
3371 | 2333 | |
3372 | ( | |
2334 | (F) Only a simple scalar variable may be used as a loop variable on a | |
2335 | foreach. | |
3373 | 2336 | |
3374 | 2337 | =end original |
3375 | 2338 | |
3376 | ( | |
2339 | (F) 単純スカラ変数だけが、foreach のループ変数として | |
2340 | 使用することができます。 | |
3377 | 2341 | |
3378 | =item Can't use global %s in " | |
2342 | =item Can't use global %s in "my" | |
3379 | 2343 | |
3380 | 2344 | =begin original |
3381 | 2345 | |
3382 | 2346 | (F) You tried to declare a magical variable as a lexical variable. This |
3383 | 2347 | is not allowed, because the magic can be tied to only one location |
3384 | 2348 | (namely the global variable) and it would be incredibly confusing to |
3385 | 2349 | have variables in your program that looked like magical variables but |
3386 | 2350 | weren't. |
3387 | 2351 | |
3388 | 2352 | =end original |
3389 | 2353 | |
3390 | 2354 | (F) マジカル変数を、字句スコープ変数として宣言しようとしました。 |
3391 | これが許されていないのは、マジ | |
2355 | これが許されていないのは、マジック変数は 1 か所だけにおくことができる | |
3392 | ||
2356 | (つまりグローバル変数) からであり、マジカル変数に見えながら、 | |
3393 | そうで | |
2357 | そうでないものがプログラム中に現われると混乱の元となるためです。 | |
3394 | 2358 | |
3395 | =item Can't use '%c' in a group with different byte-order in %s | |
3396 | ||
3397 | =begin original | |
3398 | ||
3399 | (F) You attempted to force a different byte-order on a type | |
3400 | that is already inside a group with a byte-order modifier. | |
3401 | For example you cannot force little-endianness on a type that | |
3402 | is inside a big-endian group. | |
3403 | ||
3404 | =end original | |
3405 | ||
3406 | (F) 既にバイト順修飾子が付けられているグループの内側で異なったバイト順を | |
3407 | 強制しようとしました。 | |
3408 | 例えば、ビッグエンディアングループの中にある型をリトルエンディアンに | |
3409 | 強制することはできません。 | |
3410 | ||
3411 | 2359 | =item Can't use "my %s" in sort comparison |
3412 | 2360 | |
3413 | 2361 | =begin original |
3414 | 2362 | |
3415 | 2363 | (F) The global variables $a and $b are reserved for sort comparisons. |
3416 | 2364 | You mentioned $a or $b in the same line as the <=> or cmp operator, |
3417 | 2365 | and the variable had earlier been declared as a lexical variable. |
3418 | 2366 | Either qualify the sort variable with the package name, or rename the |
3419 | 2367 | lexical variable. |
3420 | 2368 | |
3421 | 2369 | =end original |
3422 | 2370 | |
3423 | 2371 | (F) グローバル変数 $a と $b はソート比較のために予約されています。 |
3424 | 2372 | $a か $b を <=> か cmp 演算子と同じ行に記述しましたが、その変数は |
3425 | 2373 | その前にレキシカル変数として宣言されています。 |
3426 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を | |
2374 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を | |
2375 | 変更してください。 | |
3427 | 2376 | |
3428 | 2377 | =item Can't use %s ref as %s ref |
3429 | 2378 | |
3430 | 2379 | =begin original |
3431 | 2380 | |
3432 | 2381 | (F) You've mixed up your reference types. You have to dereference a |
3433 | 2382 | reference of the type needed. You can use the ref() function to |
3434 | 2383 | test the type of the reference, if need be. |
3435 | 2384 | |
3436 | 2385 | =end original |
3437 | 2386 | |
3438 | 2387 | (F) リファレンス型を混同しています。 |
3439 | 2388 | 必要な型のリファレンスを被参照しなければなりません。 |
3440 | 2389 | 必要ならば、リファレンスの型を調べるのに、ref() 関数を使うことができます。 |
3441 | 2390 | |
3442 | 2391 | =item Can't use string ("%s") as %s ref while "strict refs" in use |
3443 | 2392 | |
3444 | =item Can't use string ("%s"...) as %s ref while "strict refs" in use | |
3445 | ||
3446 | 2393 | =begin original |
3447 | 2394 | |
3448 | (F) | |
2395 | (F) Only hard references are allowed by "strict refs". Symbolic | |
3449 | ||
2396 | references are disallowed. See L<perlref>. | |
3450 | L<perlref/"Symbolic references">. This can be triggered by an C<@> or C<$> | |
3451 | in a double-quoted string immediately before interpolating a variable, | |
3452 | for example in C<"user @$twitter_id">, which says to treat the contents | |
3453 | of C<$twitter_id> as an array reference; use a C<\> to have a literal C<@> | |
3454 | symbol followed by the contents of C<$twitter_id>: C<"user \@$twitter_id">. | |
3455 | 2397 | |
3456 | 2398 | =end original |
3457 | 2399 | |
3458 | (F) | |
2400 | (F) "strict refs" によって、ハードリファレンスのみが許可されます。 | |
3459 | ||
2401 | シンボリックリファレンスは許可されません。 | |
3460 | L<perlref | |
2402 | L<perlref> を参照してください。 | |
3461 | これは、ダブルクォート文字列の中の変数展開の直前の C<@> または C<$> で | |
3462 | 引き起こされます; 例えば C<"user @$twitter_id"> です; これは C<$twitter_id> の | |
3463 | 内容を配列リファレンスとして扱うように指示しています; | |
3464 | リテラルな C<@> の後に C<$twitter_id> の内容が引き続くようにするには | |
3465 | C<\> を使ってください: C<"user \@$twitter_id">。 | |
3466 | 2403 | |
3467 | 2404 | =item Can't use subscript on %s |
3468 | 2405 | |
3469 | 2406 | =begin original |
3470 | 2407 | |
3471 | 2408 | (F) The compiler tried to interpret a bracketed expression as a |
3472 | 2409 | subscript. But to the left of the brackets was an expression that |
3473 | didn't look like a | |
2410 | didn't look like an array reference, or anything else subscriptable. | |
3474 | 2411 | |
3475 | 2412 | =end original |
3476 | 2413 | |
3477 | 2414 | (F) コンパイラが大かっこで囲われた式を添字として解釈しようとしました。 |
3478 | 2415 | しかし、大かっこの左側はハッシュか配列のリファレンスやその他の |
3479 | 2416 | 添字化できるもののようには見えない式です。 |
3480 | 2417 | |
3481 | 2418 | =item Can't use \%c to mean $%c in expression |
3482 | 2419 | |
3483 | 2420 | =begin original |
3484 | 2421 | |
3485 | 2422 | (W syntax) In an ordinary expression, backslash is a unary operator that |
3486 | 2423 | creates a reference to its argument. The use of backslash to indicate a |
3487 | 2424 | backreference to a matched substring is valid only as part of a regular |
3488 | 2425 | expression pattern. Trying to do this in ordinary Perl code produces a |
3489 | 2426 | value that prints out looking like SCALAR(0xdecaf). Use the $1 form |
3490 | 2427 | instead. |
3491 | 2428 | |
3492 | 2429 | =end original |
3493 | 2430 | |
3494 | 2431 | (W syntax) 通常の式では、バックスラッシュは引数へのリファレンスを作る |
3495 | 2432 | 単項演算子です。 |
3496 | 2433 | マッチした部分文字列への後方参照を示すためのバックスラッシュの使用は |
3497 | 2434 | 正規表現パターンの一部の場合にのみ有効です。 |
3498 | 2435 | 通常の Perl コードの中でこれをしようとすると、SCALAR(0xdecaf) のように |
3499 | 2436 | 表示される値を生成します。 |
3500 | 2437 | 代わりに $1 の形を使ってください。 |
3501 | 2438 | |
3502 | 2439 | =item Can't weaken a nonreference |
3503 | 2440 | |
3504 | 2441 | =begin original |
3505 | 2442 | |
3506 | 2443 | (F) You attempted to weaken something that was not a reference. Only |
3507 | 2444 | references can be weakened. |
3508 | 2445 | |
3509 | 2446 | =end original |
3510 | 2447 | |
3511 | 2448 | (F) リファレンスではない何かを弱めようとしました。 |
3512 | 2449 | リファレンスだけが弱めることができます。 |
3513 | 2450 | |
3514 | =item Can't "when" outside a topicalizer | |
3515 | ||
3516 | =begin original | |
3517 | ||
3518 | (F) You have used a when() block that is neither inside a C<foreach> | |
3519 | loop nor a C<given> block. (Note that this error is issued on exit | |
3520 | from the C<when> block, so you won't get the error if the match fails, | |
3521 | or if you use an explicit C<continue>.) | |
3522 | ||
3523 | =end original | |
3524 | ||
3525 | (F) C<foreach> ブロックや C<given> ブロックの内側以外で when() ブロックを | |
3526 | 使いました。 | |
3527 | (このエラーは C<when> ブロックから終了したときに発生するので、マッチングに | |
3528 | 失敗したときや、明示的な C<continue> を使った場合はこのエラーは | |
3529 | 発生しません。) | |
3530 | ||
3531 | 2451 | =item Can't x= to read-only value |
3532 | 2452 | |
3533 | 2453 | =begin original |
3534 | 2454 | |
3535 | 2455 | (F) You tried to repeat a constant value (often the undefined value) |
3536 | 2456 | with an assignment operator, which implies modifying the value itself. |
3537 | 2457 | Perhaps you need to copy the value to a temporary, and repeat that. |
3538 | 2458 | |
3539 | 2459 | =end original |
3540 | 2460 | |
3541 | 2461 | (F) 定数値 (未定義値であることが多い) を、自らを書き換えることを意味する、 |
3542 | 2462 | 代入演算子で繰り返しを行なおうとしました。 |
3543 | 2463 | テンポラリ変数に値を移してから、繰り返すと良いでしょう。 |
3544 | 2464 | |
3545 | =item | |
2465 | =item chmod() mode argument is missing initial 0 | |
3546 | 2466 | |
3547 | 2467 | =begin original |
3548 | 2468 | |
3549 | ( | |
2469 | (W chmod) A novice will sometimes say | |
3550 | 2470 | |
3551 | 2471 | =end original |
3552 | 2472 | |
3553 | ( | |
2473 | (W chmod) 初心者は以下のように書くことがあります: | |
3554 | 2474 | |
3555 | ||
2475 | chmod 777, $filename | |
3556 | 2476 | |
3557 | Note that ASCII characters that don't map to control characters are | |
3558 | discouraged, and will generate the warning (when enabled) | |
3559 | L</""\c%c" is more clearly written simply as "%s"">. | |
3560 | ||
3561 | =end original | |
3562 | ||
3563 | 制御文字にマッピングされない ASCII 文字は非推奨であることに注意してください; | |
3564 | そして (有効になっていれば) | |
3565 | L</""\c%c" is more clearly written simply as "%s""> 警告が出力されます。 | |
3566 | ||
3567 | =item Character following \%c must be '{' or a single-character Unicode property name in regex; marked by <-- HERE in m/%s/ | |
3568 | ||
3569 | 2477 | =begin original |
3570 | 2478 | |
3571 | ||
2479 | not realizing that 777 will be interpreted as a decimal number, | |
3572 | ||
2480 | equivalent to 01411. Octal constants are introduced with a leading 0 in | |
3573 | ||
2481 | Perl, as in C. | |
3574 | single character one, the braces may be omitted. | |
3575 | 2482 | |
3576 | 2483 | =end original |
3577 | 2484 | |
3578 | ||
2485 | というふうに、777 が 01411 に等しい 10 進数であることに気付かないで | |
3579 | ||
2486 | 使うことがあります。 | |
3580 | ||
2487 | Perl では、8 進数の定数は、C と同じように、先頭に 0 を付けて表わします。 | |
3581 | しかし、名前が一文字の場合、中かっこは省略できます。 | |
3582 | 2488 | |
3583 | =item Character in 'C' format wrapped in pack | |
3584 | ||
3585 | =begin original | |
3586 | ||
3587 | (W pack) You said | |
3588 | ||
3589 | =end original | |
3590 | ||
3591 | (W pack) 以下のように書きましたが: | |
3592 | ||
3593 | pack("C", $x) | |
3594 | ||
3595 | =begin original | |
3596 | ||
3597 | where $x is either less than 0 or more than 255; the C<"C"> format is | |
3598 | only for encoding native operating system characters (ASCII, EBCDIC, | |
3599 | and so on) and not for Unicode characters, so Perl behaved as if you meant | |
3600 | ||
3601 | =end original | |
3602 | ||
3603 | $x は 0 より小さいか 255 より大きいです; C<"C"> フォーマットは | |
3604 | ネイティブ OS 文字 (ASCII, EBCDIC など) のエンコーディングだけに | |
3605 | 対応していて、Unicode 文字は対応していません; | |
3606 | それで、Perl は以下のように意味しているかのように振舞います: | |
3607 | ||
3608 | pack("C", $x & 255) | |
3609 | ||
3610 | =begin original | |
3611 | ||
3612 | If you actually want to pack Unicode codepoints, use the C<"U"> format | |
3613 | instead. | |
3614 | ||
3615 | =end original | |
3616 | ||
3617 | Unicode コードポイントを pack したい場合は、代わりに C<"U"> フォーマットを | |
3618 | 使ってください。 | |
3619 | ||
3620 | =item Character in 'c' format wrapped in pack | |
3621 | ||
3622 | =begin original | |
3623 | ||
3624 | (W pack) You said | |
3625 | ||
3626 | =end original | |
3627 | ||
3628 | (W pack) 以下のように書きましたが: | |
3629 | ||
3630 | pack("c", $x) | |
3631 | ||
3632 | =begin original | |
3633 | ||
3634 | where $x is either less than -128 or more than 127; the C<"c"> format | |
3635 | is only for encoding native operating system characters (ASCII, EBCDIC, | |
3636 | and so on) and not for Unicode characters, so Perl behaved as if you meant | |
3637 | ||
3638 | =end original | |
3639 | ||
3640 | $x は -128 より小さいか 127 より大きいです; C<"c"> フォーマットは | |
3641 | ネイティブ OS 文字 (ASCII, EBCDIC など) のエンコーディングだけに | |
3642 | 対応していて、Unicode 文字は対応していません; | |
3643 | それで、Perl は以下のように意味しているかのように振舞います: | |
3644 | ||
3645 | pack("c", $x & 255); | |
3646 | ||
3647 | =begin original | |
3648 | ||
3649 | If you actually want to pack Unicode codepoints, use the C<"U"> format | |
3650 | instead. | |
3651 | ||
3652 | =end original | |
3653 | ||
3654 | Unicode コードポイントを pack したい場合は、代わりに C<"U"> フォーマットを | |
3655 | 使ってください。 | |
3656 | ||
3657 | =item Character in '%c' format wrapped in unpack | |
3658 | ||
3659 | =begin original | |
3660 | ||
3661 | (W unpack) You tried something like | |
3662 | ||
3663 | =end original | |
3664 | ||
3665 | (W unpack) 以下のようなことをしましたが: | |
3666 | ||
3667 | unpack("H", "\x{2a1}") | |
3668 | ||
3669 | =begin original | |
3670 | ||
3671 | where the format expects to process a byte (a character with a value | |
3672 | below 256), but a higher value was provided instead. Perl uses the | |
3673 | value modulus 256 instead, as if you had provided: | |
3674 | ||
3675 | =end original | |
3676 | ||
3677 | ここでフォーマットはバイト(値が 256 より小さい文字)を想定していますが、 | |
3678 | 文字の中により大きな値のものがあります。 | |
3679 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の | |
3680 | 値として使います: | |
3681 | ||
3682 | unpack("H", "\x{a1}") | |
3683 | ||
3684 | =item Character in 'W' format wrapped in pack | |
3685 | ||
3686 | =begin original | |
3687 | ||
3688 | (W pack) You said | |
3689 | ||
3690 | =end original | |
3691 | ||
3692 | (W pack) 以下のように書きましたが: | |
3693 | ||
3694 | pack("U0W", $x) | |
3695 | ||
3696 | =begin original | |
3697 | ||
3698 | where $x is either less than 0 or more than 255. However, C<U0>-mode | |
3699 | expects all values to fall in the interval [0, 255], so Perl behaved | |
3700 | as if you meant: | |
3701 | ||
3702 | =end original | |
3703 | ||
3704 | $x が 0 より小さいか 255 より大きいです。 | |
3705 | しかし、C<U0>-モードは全ての値が [0, 255] の範囲にあることを想定してるので、 | |
3706 | Perl は以下のように振る舞います: | |
3707 | ||
3708 | pack("U0W", $x & 255) | |
3709 | ||
3710 | =item Character(s) in '%c' format wrapped in pack | |
3711 | ||
3712 | =begin original | |
3713 | ||
3714 | (W pack) You tried something like | |
3715 | ||
3716 | =end original | |
3717 | ||
3718 | (W pack) 以下のようなことをしましたが: | |
3719 | ||
3720 | pack("u", "\x{1f3}b") | |
3721 | ||
3722 | =begin original | |
3723 | ||
3724 | where the format expects to process a sequence of bytes (character with a | |
3725 | value below 256), but some of the characters had a higher value. Perl | |
3726 | uses the character values modulus 256 instead, as if you had provided: | |
3727 | ||
3728 | =end original | |
3729 | ||
3730 | ここでフォーマットはバイト(値が 256 より小さい文字)列を想定していますが、 | |
3731 | 文字の中により大きな値のものがあります。 | |
3732 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の | |
3733 | 値として使います: | |
3734 | ||
3735 | pack("u", "\x{f3}b") | |
3736 | ||
3737 | =item Character(s) in '%c' format wrapped in unpack | |
3738 | ||
3739 | =begin original | |
3740 | ||
3741 | (W unpack) You tried something like | |
3742 | ||
3743 | =end original | |
3744 | ||
3745 | (W unpack) 以下のようなことをしましたが: | |
3746 | ||
3747 | unpack("s", "\x{1f3}b") | |
3748 | ||
3749 | =begin original | |
3750 | ||
3751 | where the format expects to process a sequence of bytes (character with a | |
3752 | value below 256), but some of the characters had a higher value. Perl | |
3753 | uses the character values modulus 256 instead, as if you had provided: | |
3754 | ||
3755 | =end original | |
3756 | ||
3757 | ここでフォーマットはバイト(値が 256 より小さい文字)列を想定していますが、 | |
3758 | 文字の中により大きな値のものがあります。 | |
3759 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の | |
3760 | 値として使います: | |
3761 | ||
3762 | unpack("s", "\x{f3}b") | |
3763 | ||
3764 | =item charnames alias definitions may not contain a sequence of multiple spaces | |
3765 | ||
3766 | =begin original | |
3767 | ||
3768 | (F) You defined a character name which had multiple space characters | |
3769 | in a row. Change them to single spaces. Usually these names are | |
3770 | defined in the C<:alias> import argument to C<use charnames>, but they | |
3771 | could be defined by a translator installed into C<$^H{charnames}>. See | |
3772 | L<charnames/CUSTOM ALIASES>. | |
3773 | ||
3774 | =end original | |
3775 | ||
3776 | (F) 連続して複数のスペース文字を持つ文字名を定義しました。 | |
3777 | 単一のスペースに変更してください。 | |
3778 | 普通はこれらの名前は C<use charnames> の C<:alias> インポート引数で | |
3779 | 定義されますが、C<$^H{charnames}> にインストールされた変換器で | |
3780 | 定義されているかも知れません。 | |
3781 | L<charnames/CUSTOM ALIASES> を参照してください。 | |
3782 | ||
3783 | =item charnames alias definitions may not contain trailing white-space | |
3784 | ||
3785 | =begin original | |
3786 | ||
3787 | (F) You defined a character name which ended in a space | |
3788 | character. Remove the trailing space(s). Usually these names are | |
3789 | defined in the C<:alias> import argument to C<use charnames>, but they | |
3790 | could be defined by a translator installed into C<$^H{charnames}>. | |
3791 | See L<charnames/CUSTOM ALIASES>. | |
3792 | ||
3793 | =end original | |
3794 | ||
3795 | (D) スペース文字で終わる文字名を定義しました。 | |
3796 | 末尾のスペースを取り除いてください。 | |
3797 | 普通はこれらの名前は C<use charnames> の C<:alias> インポート引数で | |
3798 | 定義されますが、C<$^H{charnames}> にインストールされた変換器で | |
3799 | 定義されているかも知れません。 | |
3800 | L<charnames/CUSTOM ALIASES> を参照してください。 | |
3801 | ||
3802 | =item chdir() on unopened filehandle %s | |
3803 | ||
3804 | =begin original | |
3805 | ||
3806 | (W unopened) You tried chdir() on a filehandle that was never opened. | |
3807 | ||
3808 | =end original | |
3809 | ||
3810 | (W unopened) 開いていないファイルハンドルに対して chdir() しようとしました。 | |
3811 | ||
3812 | =item "\c%c" is more clearly written simply as "%s" | |
3813 | ||
3814 | =begin original | |
3815 | ||
3816 | (W syntax) The C<\cI<X>> construct is intended to be a way to specify | |
3817 | non-printable characters. You used it for a printable one, which | |
3818 | is better written as simply itself, perhaps preceded by a backslash | |
3819 | for non-word characters. Doing it the way you did is not portable | |
3820 | between ASCII and EBCDIC platforms. | |
3821 | ||
3822 | =end original | |
3823 | ||
3824 | (W syntax) C<\cI<X>> 構文は非表示文字を指定する方法を意図しています。 | |
3825 | これを表示文字に使いました; おそらく(おそらく非単語文字のために | |
3826 | 逆スラッシュを前に付けて)単にその文字自身を書くほうがよいです。 | |
3827 | この方法ですると ASCII と EBCDIC のプラットフォーム間で移植性がありません。 | |
3828 | ||
3829 | =item Cloning substitution context is unimplemented | |
3830 | ||
3831 | =begin original | |
3832 | ||
3833 | (F) Creating a new thread inside the C<s///> operator is not supported. | |
3834 | ||
3835 | =end original | |
3836 | ||
3837 | (F) C<s///> 演算子の中での新しいスレッドの作成は非対応です。 | |
3838 | ||
3839 | =item closedir() attempted on invalid dirhandle %s | |
3840 | ||
3841 | =begin original | |
3842 | ||
3843 | (W io) The dirhandle you tried to close is either closed or not really | |
3844 | a dirhandle. Check your control flow. | |
3845 | ||
3846 | =end original | |
3847 | ||
3848 | (W io) 閉じようとしたディレクトリハンドルは既に閉じられているか、実際には | |
3849 | ディレクトリハンドルではありません。 | |
3850 | 制御フローをチェックしてください。 | |
3851 | ||
3852 | 2489 | =item close() on unopened filehandle %s |
3853 | 2490 | |
3854 | 2491 | =begin original |
3855 | 2492 | |
3856 | 2493 | (W unopened) You tried to close a filehandle that was never opened. |
3857 | 2494 | |
3858 | 2495 | =end original |
3859 | 2496 | |
3860 | 2497 | (W unopened) オープンされていないファイルハンドルをクローズしようとしました。 |
3861 | 2498 | |
3862 | =item Closure prototype called | |
3863 | ||
3864 | =begin original | |
3865 | ||
3866 | (F) If a closure has attributes, the subroutine passed to an attribute | |
3867 | handler is the prototype that is cloned when a new closure is created. | |
3868 | This subroutine cannot be called. | |
3869 | ||
3870 | =end original | |
3871 | ||
3872 | (F) クロージャに属性があると、属性ハンドラに渡されるサブルーチンは、新しい | |
3873 | クロージャが作成されたときにクローン化されたプロトタイプです。 | |
3874 | このサブルーチンは呼び出すことができません。 | |
3875 | ||
3876 | =item \C no longer supported in regex; marked by S<<-- HERE> in m/%s/ | |
3877 | ||
3878 | =begin original | |
3879 | ||
3880 | (F) The \C character class used to allow a match of single byte | |
3881 | within a multi-byte utf-8 character, but was removed in v5.24 as | |
3882 | it broke encapsulation and its implementation was extremely buggy. | |
3883 | If you really need to process the individual bytes, you probably | |
3884 | want to convert your string to one where each underlying byte is | |
3885 | stored as a character, with utf8::encode(). | |
3886 | ||
3887 | =end original | |
3888 | ||
3889 | (F) \C 文字クラスは、複数バイトの UTF8 文字の単一のバイトに | |
3890 | マッチングできるようにしていましたが、 | |
3891 | カプセル化を壊し、その実装が極めてバグっぽいので、v5.24 で削除されました。 | |
3892 | 本当に個々のバイトを処理する必要があるなら、 | |
3893 | おそらくその文字列を、utf8::encode() を使って、 | |
3894 | 元となっているバイトそれぞれを文字として保持する文字列に変換した方が | |
3895 | 良いでしょう。 | |
3896 | ||
3897 | =item Code missing after '/' | |
3898 | ||
3899 | =begin original | |
3900 | ||
3901 | (F) You had a (sub-)template that ends with a '/'. There must be | |
3902 | another template code following the slash. See L<perlfunc/pack>. | |
3903 | ||
3904 | =end original | |
3905 | ||
3906 | (F) テンプレートが '/' で終わっています。 | |
3907 | スラッシュの後には他のテンプレートコードが必須です。 | |
3908 | L<perlfunc/pack> を参照してください。 | |
3909 | ||
3910 | =item Code point 0x%X is not Unicode, and not portable | |
3911 | ||
3912 | =begin original | |
3913 | ||
3914 | (S non_unicode) You had a code point that has never been in any | |
3915 | standard, so it is likely that languages other than Perl will NOT | |
3916 | understand it. At one time, it was legal in some standards to have code | |
3917 | points up to 0x7FFF_FFFF, but not higher, and this code point is higher. | |
3918 | ||
3919 | =end original | |
3920 | ||
3921 | (S non_unicode) どのような標準でもない符号位置を使いました; 従って | |
3922 | これはおそらく Perl 以外の言語では理解できないでしょう。 | |
3923 | 一時期、一部の標準では 0x7FFF_FFFF までの符号位置は正当でしたが、 | |
3924 | それ以上はそうではありません; そしてこの符号位置はそれ以上です。 | |
3925 | ||
3926 | =begin original | |
3927 | ||
3928 | Acceptance of these code points is a Perl extension, and you should | |
3929 | expect that nothing other than Perl can handle them; Perl itself on | |
3930 | EBCDIC platforms before v5.24 does not handle them. | |
3931 | ||
3932 | =end original | |
3933 | ||
3934 | このような符号位置を受け付けるのは Perl の拡張で、Perl 以外が | |
3935 | これらを扱えるかについて何も想定するべきではありません; | |
3936 | v5.24 以前の EBCDIC プラットフォームでは Perl 自身もこれらを扱えません。 | |
3937 | ||
3938 | =begin original | |
3939 | ||
3940 | Code points above 0xFFFF_FFFF require larger than a 32 bit word. | |
3941 | ||
3942 | =end original | |
3943 | ||
3944 | 0xFFFF_FFFF より上の符号位置は 32 ビットワードより大きいものを要求します。 | |
3945 | ||
3946 | =begin original | |
3947 | ||
3948 | Perl also makes no guarantees that the representation of these code | |
3949 | points won't change at some point in the future, say when machines | |
3950 | become available that have larger than a 64-bit word. At that time, | |
3951 | files written by an older Perl would require conversion before being | |
3952 | readable by a newer Perl. | |
3953 | ||
3954 | =end original | |
3955 | ||
3956 | Perl はまた、将来のある時点、例えばマシンが 64 ビットワード以上を | |
3957 | 利用可能になったときに、これらの符号位置の表現が変更されないことについて | |
3958 | 保証しません。 | |
3959 | この時点で、より古い Perl で書かれたファイルは、より新しい Perl で | |
3960 | 読み込めるようにする前に変換が必要です。 | |
3961 | ||
3962 | =item Code point 0x%X is not Unicode, may not be portable | |
3963 | ||
3964 | =begin original | |
3965 | ||
3966 | (S non_unicode) You had a code point above the Unicode maximum | |
3967 | of U+10FFFF. | |
3968 | ||
3969 | =end original | |
3970 | ||
3971 | (S non_unicode) Unicode の最大である U+10FFFF を超えた符号位置です。 | |
3972 | ||
3973 | =begin original | |
3974 | ||
3975 | Perl allows strings to contain a superset of Unicode code points, but | |
3976 | these may not be accepted by other languages/systems. Further, even if | |
3977 | these languages/systems accept these large code points, they may have | |
3978 | chosen a different representation for them than the UTF-8-like one that | |
3979 | Perl has, which would mean files are not exchangeable between them and | |
3980 | Perl. | |
3981 | ||
3982 | =end original | |
3983 | ||
3984 | Perl は Unicode 符号位置の上位集合を含む文字列を受け入れますが、 | |
3985 | これらは他の言語/システムは受け入れないかもしれません。 | |
3986 | さらに、たとえこれらの言語/システムがこれらの大きな符号位置を | |
3987 | 受け入れたとしても、それらは Perl の UTF-8 風のものと | |
3988 | ことなる表現を選ぶかもしれず、その場合それらと Perl の間でファイルが | |
3989 | 交換できないことを意味します。 | |
3990 | ||
3991 | =begin original | |
3992 | ||
3993 | On EBCDIC platforms, code points above 0x3FFF_FFFF have a different | |
3994 | representation in Perl v5.24 than before, so any file containing these | |
3995 | that was written before that version will require conversion before | |
3996 | being readable by a later Perl. | |
3997 | ||
3998 | =end original | |
3999 | ||
4000 | EBCDIC プラットフォームでは、Perl 5.24 では 0x3FFF_FFFF より上の符号位置は | |
4001 | 以前と異なった表現となっているので、このバージョンより前に書かれた | |
4002 | これらを含むファイルは、それ以降の Perl で読み込み可能にする前に | |
4003 | 変換が必要です。 | |
4004 | ||
4005 | 2499 | =item %s: Command not found |
4006 | 2500 | |
4007 | 2501 | =begin original |
4008 | 2502 | |
4009 | (A) You've accidentally run your script through B<csh> | |
2503 | (A) You've accidentally run your script through B<csh> instead of Perl. | |
4010 | ||
2504 | Check the #! line, or manually feed your script into Perl yourself. | |
4011 | Perl yourself. The #! line at the top of your file could look like | |
4012 | 2505 | |
4013 | 2506 | =end original |
4014 | 2507 | |
4015 | (A) スクリプトを perl ではなく B<csh> また | |
2508 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 | |
4016 | 実行しようとしました。 | |
4017 | 2509 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
4018 | ファイルの先頭の #! 行は以下のようにします | |
4019 | 2510 | |
4020 | #!/usr/bin/perl -w | |
4021 | ||
4022 | 2511 | =item Compilation failed in require |
4023 | 2512 | |
4024 | 2513 | =begin original |
4025 | 2514 | |
4026 | 2515 | (F) Perl could not compile a file specified in a C<require> statement. |
4027 | 2516 | Perl uses this generic message when none of the errors that it |
4028 | 2517 | encountered were severe enough to halt compilation immediately. |
4029 | 2518 | |
4030 | 2519 | =end original |
4031 | 2520 | |
4032 | 2521 | (F) Perl は C<require> 文で指定されたファイルをコンパイルできませんでした。 |
4033 | 2522 | Perl は、コンパイルを直ちに停止させるほど厳しいエラーに遭遇しなかった |
4034 | 2523 | ときに、この一般的なメッセージを使います。 |
4035 | 2524 | |
4036 | 2525 | =item Complex regular subexpression recursion limit (%d) exceeded |
4037 | 2526 | |
4038 | 2527 | =begin original |
4039 | 2528 | |
4040 | 2529 | (W regexp) The regular expression engine uses recursion in complex |
4041 | 2530 | situations where back-tracking is required. Recursion depth is limited |
4042 | 2531 | to 32766, or perhaps less in architectures where the stack cannot grow |
4043 | 2532 | arbitrarily. ("Simple" and "medium" situations are handled without |
4044 | 2533 | recursion and are not subject to a limit.) Try shortening the string |
4045 | 2534 | under examination; looping in Perl code (e.g. with C<while>) rather than |
4046 | 2535 | in the regular expression engine; or rewriting the regular expression so |
4047 | 2536 | that it is simpler or backtracks less. (See L<perlfaq2> for information |
4048 | 2537 | on I<Mastering Regular Expressions>.) |
4049 | 2538 | |
4050 | 2539 | =end original |
4051 | 2540 | |
4052 | 2541 | (W regexp) 正規表現エンジンはバックトラックが要求される複雑な状況では |
4053 | 2542 | 再帰を使用します。 |
4054 | 2543 | 再帰の深さは 32766、またはスタックを任意に増やせないアーキテクチャでは |
4055 | 2544 | おそらくもっと小さい値に制限されています。 |
4056 | 2545 | (「単純な」または「中くらいの」状況では再帰なしで扱われるので、制限は |
4057 | 2546 | ありません。) |
4058 | 2547 | 調べる文字列を短くしてみてください; 正規表現エンジンではなく |
4059 | 2548 | (C<while> などの) Perl コードを使ってループするか、 |
4060 | 2549 | あるいは正規表現をより単純にしたり、バックトラックが少なくなるように |
4061 | 2550 | 書き換えてください。 |
4062 | 2551 | (I<Mastering Regular Expressions> の情報については L<perlfaq2> を |
4063 | 2552 | 参照してください。) |
4064 | 2553 | |
4065 | 2554 | =item connect() on closed socket %s |
4066 | 2555 | |
4067 | 2556 | =begin original |
4068 | 2557 | |
4069 | 2558 | (W closed) You tried to do a connect on a closed socket. Did you forget |
4070 | 2559 | to check the return value of your socket() call? See |
4071 | 2560 | L<perlfunc/connect>. |
4072 | 2561 | |
4073 | 2562 | =end original |
4074 | 2563 | |
4075 | 2564 | (W closed) クローズされたソケットに connent を行なおうとしました。 |
4076 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 | |
2565 | socket() の呼び出し時に、返却値のチェックを忘れたたのではありませんか。 | |
4077 | 2566 | L<perlfunc/connect> を参照してください。 |
4078 | 2567 | |
4079 | =item Constant(%s): | |
2568 | =item Constant(%s)%s: %s | |
4080 | 2569 | |
4081 | 2570 | =begin original |
4082 | 2571 | |
4083 | (F) The s | |
2572 | (F) The parser found inconsistencies either while attempting to define | |
4084 | ||
2573 | an overloaded constant, or when trying to find the character name | |
4085 | ||
2574 | specified in the C<\N{...}> escape. Perhaps you forgot to load the | |
2575 | corresponding C<overload> or C<charnames> pragma? See L<charnames> and | |
2576 | L<overload>. | |
4086 | 2577 | |
4087 | 2578 | =end original |
4088 | 2579 | |
4089 | (F) | |
2580 | (F) パーサは、オーバーロードされた定数を定義しようとしたときか、 | |
4090 | ||
2581 | C<\N{...}> エスケープで指定された文字名を探そうとしたときに | |
4091 | ||
2582 | 非一貫性を発見しました。 | |
2583 | おそらく対応する C<overload> か C<charnames> のプラグマの読み込みを | |
2584 | 忘れたのでは? | |
2585 | L<charnames> と L<overload> を参照してください。 | |
4092 | 2586 | |
4093 | =item Constant(%s): $^H{%s} is not defined | |
4094 | ||
4095 | =begin original | |
4096 | ||
4097 | (F) The parser found inconsistencies while attempting to define an | |
4098 | overloaded constant. Perhaps you forgot to load the corresponding | |
4099 | L<overload> pragma? | |
4100 | ||
4101 | =end original | |
4102 | ||
4103 | (F) パーサは、オーバーロード定数を定義しようとしたときに矛盾を発見しました。 | |
4104 | おそらく対応する L<overload> プラグマを読み込むのを忘れたのでは? | |
4105 | ||
4106 | 2587 | =item Constant is not %s reference |
4107 | 2588 | |
4108 | 2589 | =begin original |
4109 | 2590 | |
4110 | 2591 | (F) A constant value (perhaps declared using the C<use constant> pragma) |
4111 | 2592 | is being dereferenced, but it amounts to the wrong type of reference. |
4112 | The message indicates the type of reference that was expected. | |
2593 | The message indicates the type of reference that was expected. This | |
4113 | 2594 | usually indicates a syntax error in dereferencing the constant value. |
4114 | 2595 | See L<perlsub/"Constant Functions"> and L<constant>. |
4115 | 2596 | |
4116 | 2597 | =end original |
4117 | 2598 | |
4118 | 2599 | (F) (おそらく C<use constant> プラグマを使って宣言した) 定数値が |
4119 | 2600 | デリファレンスされましたが、間違った型のリファレンスになりました。 |
4120 | 2601 | このメッセージは想定されたリファレンスの型を示しています。 |
4121 | 2602 | これは普通定数値をデリファレンスするときの文法エラーを示しています。 |
4122 | 2603 | L<perlsub/"Constant Functions"> と L<constant> を参照してください。 |
4123 | 2604 | |
4124 | =item Constants from lexical variables potentially modified elsewhere are | |
4125 | deprecated | |
4126 | ||
4127 | =begin original | |
4128 | ||
4129 | (D deprecated) You wrote something like | |
4130 | ||
4131 | =end original | |
4132 | ||
4133 | (D deprecated) 次のようなものを書きましたが | |
4134 | ||
4135 | my $var; | |
4136 | $sub = sub () { $var }; | |
4137 | ||
4138 | =begin original | |
4139 | ||
4140 | but $var is referenced elsewhere and could be modified after the C<sub> | |
4141 | expression is evaluated. Either it is explicitly modified elsewhere | |
4142 | (C<$var = 3>) or it is passed to a subroutine or to an operator like | |
4143 | C<printf> or C<map>, which may or may not modify the variable. | |
4144 | ||
4145 | =end original | |
4146 | ||
4147 | $var はどこか別の場所へのリファレンスで、 | |
4148 | C<sub> 式が評価された後に変更されるかもしれません。 | |
4149 | どこかで明示的に変更されたり、(C<$var = 3>) 、 | |
4150 | 変数を変更するかどうかわからない、 | |
4151 | C<printf> や C<map> のようなサブルーチンや演算子に渡されたりします。 | |
4152 | ||
4153 | =begin original | |
4154 | ||
4155 | Traditionally, Perl has captured the value of the variable at that | |
4156 | point and turned the subroutine into a constant eligible for inlining. | |
4157 | In those cases where the variable can be modified elsewhere, this | |
4158 | breaks the behavior of closures, in which the subroutine captures | |
4159 | the variable itself, rather than its value, so future changes to the | |
4160 | variable are reflected in the subroutine's return value. | |
4161 | ||
4162 | =end original | |
4163 | ||
4164 | 伝統的に、Perl はこの時点で変数の値を捕捉して、 | |
4165 | サブルーチンをインライン化可能な定数に変換します。 | |
4166 | 変数が別の場所で変更可能な場合、 | |
4167 | これは、サブルーチンが変数の値ではなく変数自体を捕捉しているので | |
4168 | クロージャの振る舞いを壊します。 | |
4169 | 従って、将来この変数を変更すると、サブルーチンの返り値に反映されます。 | |
4170 | ||
4171 | =begin original | |
4172 | ||
4173 | This usage is deprecated, because the behavior is likely to change | |
4174 | in a future version of Perl. | |
4175 | ||
4176 | =end original | |
4177 | ||
4178 | この使用法は廃止予定です; この振る舞いは将来のバージョンの Perl で | |
4179 | 変更予定だからです。 | |
4180 | ||
4181 | =begin original | |
4182 | ||
4183 | If you intended for the subroutine to be eligible for inlining, then | |
4184 | make sure the variable is not referenced elsewhere, possibly by | |
4185 | copying it: | |
4186 | ||
4187 | =end original | |
4188 | ||
4189 | サブルーチンをインライン化可能にするのが目的なら、この変数を、 | |
4190 | おそらくコピーすることで、他のどこからも参照されないようにしてください: | |
4191 | ||
4192 | my $var2 = $var; | |
4193 | $sub = sub () { $var2 }; | |
4194 | ||
4195 | =begin original | |
4196 | ||
4197 | If you do want this subroutine to be a closure that reflects future | |
4198 | changes to the variable that it closes over, add an explicit C<return>: | |
4199 | ||
4200 | =end original | |
4201 | ||
4202 | このサブルーチンを、これを閉じた後の将来の変数の変更を反映させる | |
4203 | クロージャにしたいなら、明示的な C<return> を追加してください: | |
4204 | ||
4205 | my $var; | |
4206 | $sub = sub () { return $var }; | |
4207 | ||
4208 | 2605 | =item Constant subroutine %s redefined |
4209 | 2606 | |
4210 | 2607 | =begin original |
4211 | 2608 | |
4212 | (W redefine) | |
2609 | (S|W redefine) You redefined a subroutine which had previously been | |
4213 | ||
2610 | eligible for inlining. See L<perlsub/"Constant Functions"> for | |
4214 | ||
2611 | commentary and workarounds. | |
4215 | 2612 | |
4216 | 2613 | =end original |
4217 | 2614 | |
4218 | (W redefine | |
2615 | (S|W redefine) 以前にインライン化できる形であったサブルーチンを | |
4219 | 2616 | 再定義しました。 |
4220 | 2617 | コメントと回避策については L<perlsub/"Constant Functions"> を |
4221 | 2618 | 参照してください。 |
4222 | 2619 | |
4223 | 2620 | =item Constant subroutine %s undefined |
4224 | 2621 | |
4225 | 2622 | =begin original |
4226 | 2623 | |
4227 | 2624 | (W misc) You undefined a subroutine which had previously been eligible |
4228 | 2625 | for inlining. See L<perlsub/"Constant Functions"> for commentary and |
4229 | 2626 | workarounds. |
4230 | 2627 | |
4231 | 2628 | =end original |
4232 | 2629 | |
4233 | 2630 | (W misc)以前にインライン化できる形であったサブルーチンを |
4234 | 2631 | 未定義化しました。 |
4235 | 2632 | コメントと回避策については L<perlsub/"Constant Functions"> を |
4236 | 2633 | 参照してください。 |
4237 | 2634 | |
4238 | =item Constant(%s) unknown | |
4239 | ||
4240 | =begin original | |
4241 | ||
4242 | (F) The parser found inconsistencies either while attempting | |
4243 | to define an overloaded constant, or when trying to find the | |
4244 | character name specified in the C<\N{...}> escape. Perhaps you | |
4245 | forgot to load the corresponding L<overload> pragma? | |
4246 | ||
4247 | =end original | |
4248 | ||
4249 | (F) パーサは、オーバーロードされた定数を定義しようとしたときか、 | |
4250 | C<\N{...}> エスケープで指定された文字名の検索中に矛盾を | |
4251 | 発見しました。 | |
4252 | おそらく対応する L<overload> プラグマを読み込むのを忘れたのでは? | |
4253 | ||
4254 | =item :const is experimental | |
4255 | ||
4256 | =begin original | |
4257 | ||
4258 | (S experimental::const_attr) The "const" attribute is experimental. | |
4259 | If you want to use the feature, disable the warning with C<no warnings | |
4260 | 'experimental::const_attr'>, but know that in doing so you are taking | |
4261 | the risk that your code may break in a future Perl version. | |
4262 | ||
4263 | =end original | |
4264 | ||
4265 | (S experimental::const_attr) "const" 属性は実験的です。 | |
4266 | この機能を使いたい場合、 | |
4267 | C<no warnings 'experimental::const_attr'> で警告を無効にしてください; | |
4268 | しかし、そうすることであなたのコードが将来の Perl のバージョンで | |
4269 | 壊れるリスクを取ることになります。 | |
4270 | ||
4271 | =item :const is not permitted on named subroutines | |
4272 | ||
4273 | =begin original | |
4274 | ||
4275 | (F) The "const" attribute causes an anonymous subroutine to be run and | |
4276 | its value captured at the time that it is cloned. Named subroutines are | |
4277 | not cloned like this, so the attribute does not make sense on them. | |
4278 | ||
4279 | =end original | |
4280 | ||
4281 | (F) The "const" 属性は、クローンされたときに値を捕捉された | |
4282 | 無名サブルーチンになります。 | |
4283 | 名前付きサブルーチンはこのようにクローンされないので、 | |
4284 | 属性はこれらに関して意味を持ちません。 | |
4285 | ||
4286 | 2635 | =item Copy method did not return a reference |
4287 | 2636 | |
4288 | 2637 | =begin original |
4289 | 2638 | |
4290 | (F) The method which overloads "=" is buggy. | |
2639 | (F) The method which overloads "=" is buggy. See | |
4291 | 2640 | L<overload/Copy Constructor>. |
4292 | 2641 | |
4293 | 2642 | =end original |
4294 | 2643 | |
4295 | 2644 | (F) "=" をオーバーロードしたメソッドはバグっています。 |
4296 | 2645 | L<overload/Copy Constructor> を参照してください。 |
4297 | 2646 | |
4298 | =item &CORE::%s cannot be called directly | |
4299 | ||
4300 | =begin original | |
4301 | ||
4302 | (F) You tried to call a subroutine in the C<CORE::> namespace | |
4303 | with C<&foo> syntax or through a reference. Some subroutines | |
4304 | in this package cannot yet be called that way, but must be | |
4305 | called as barewords. Something like this will work: | |
4306 | ||
4307 | =end original | |
4308 | ||
4309 | (F) C<CORE::> 名前空間のサブルーチンを C<&foo> 文法またはリファレンス経由で | |
4310 | 呼び出そうとしました。 | |
4311 | このパッケージの一部のサブルーチンはまだこの方法では呼び出せず、裸の単語で | |
4312 | 呼び出さなければなりません。 | |
4313 | 以下のようなものは動作します: | |
4314 | ||
4315 | BEGIN { *shove = \&CORE::push; } | |
4316 | shove @array, 1,2,3; # pushes on to @array | |
4317 | ||
4318 | 2647 | =item CORE::%s is not a keyword |
4319 | 2648 | |
4320 | 2649 | =begin original |
4321 | 2650 | |
4322 | 2651 | (F) The CORE:: namespace is reserved for Perl keywords. |
4323 | 2652 | |
4324 | 2653 | =end original |
4325 | 2654 | |
4326 | 2655 | (F) CORE:: 名前空間は Perl キーワードとして予約されています。 |
4327 | 2656 | |
4328 | =item Corrupted regexp opcode %d > %d | |
4329 | ||
4330 | =begin original | |
4331 | ||
4332 | (P) This is either an error in Perl, or, if you're using | |
4333 | one, your L<custom regular expression engine|perlreapi>. If not the | |
4334 | latter, report the problem through the L<perlbug> utility. | |
4335 | ||
4336 | =end original | |
4337 | ||
4338 | (P) これは Perl か、あるいは、使っているなら | |
4339 | L<カスタム正規表現エンジン|perlreapi> のエラーです。 | |
4340 | 後者でなければ、L<perlbug> ユーティリティを使って問題を報告してください。 | |
4341 | ||
4342 | 2657 | =item corrupted regexp pointers |
4343 | 2658 | |
4344 | 2659 | =begin original |
4345 | 2660 | |
4346 | 2661 | (P) The regular expression engine got confused by what the regular |
4347 | 2662 | expression compiler gave it. |
4348 | 2663 | |
4349 | 2664 | =end original |
4350 | 2665 | |
4351 | 2666 | (P) 正規表現コンパイラが渡したもので、正規表現エンジンが |
4352 | 2667 | 処理できなくなりました。 |
4353 | 2668 | |
4354 | 2669 | =item corrupted regexp program |
4355 | 2670 | |
4356 | 2671 | =begin original |
4357 | 2672 | |
4358 | 2673 | (P) The regular expression engine got passed a regexp program without a |
4359 | 2674 | valid magic number. |
4360 | 2675 | |
4361 | 2676 | =end original |
4362 | 2677 | |
4363 | 2678 | (P) 正規表現エンジンが、有効なマジックナンバーを持たない |
4364 | 2679 | regexp プログラムを渡しました。 |
4365 | 2680 | |
4366 | =item Corrupt malloc ptr 0x%x at 0x%x | |
2681 | =item Corrupt malloc ptr 0x%lx at 0x%lx | |
4367 | 2682 | |
4368 | 2683 | =begin original |
4369 | 2684 | |
4370 | 2685 | (P) The malloc package that comes with Perl had an internal failure. |
4371 | 2686 | |
4372 | 2687 | =end original |
4373 | 2688 | |
4374 | 2689 | (P) Perl に付属の malloc ルーティンが内部エラーを起こしました。 |
4375 | 2690 | |
4376 | =item C | |
2691 | =item C<-p> destination: %s | |
4377 | 2692 | |
4378 | 2693 | =begin original |
4379 | 2694 | |
4380 | (F) | |
2695 | (F) An error occurred during the implicit output invoked by the C<-p> | |
4381 | ||
2696 | command-line switch. (This output goes to STDOUT unless you've | |
4382 | ||
2697 | redirected it with select().) | |
4383 | 2698 | |
4384 | 2699 | =end original |
4385 | 2700 | |
4386 | (F) | |
2701 | (F) C<-p> コマンドラインオプションで起動された | |
4387 | ||
2702 | 暗黙の出力中にエラーが発生しました。 | |
4388 | ||
2703 | (この出力は select() でリダイレクトしていない限り STDOUT に出力されます。) | |
4389 | 2704 | |
4390 | = | |
2705 | =item C<-T> and C<-B> not implemented on filehandles | |
4391 | The following are used in lib/diagnostics.t for testing two =items that | |
4392 | share the same description. Changes here need to be propagated to there | |
4393 | 2706 | |
4394 | = | |
2707 | =begin original | |
4395 | 2708 | |
2709 | (F) Perl can't peek at the stdio buffer of filehandles when it doesn't | |
2710 | know about your kind of stdio. You'll have to use a filename instead. | |
2711 | ||
2712 | =end original | |
2713 | ||
2714 | (F) Perl が、お使いの stdio のことをよく知らないとき、 | |
2715 | ファイルハンドルの stdio バッファを覗くことはできません。 | |
2716 | 代わりにファイル名を使わなければなりません。 | |
2717 | ||
4396 | 2718 | =item Deep recursion on subroutine "%s" |
4397 | 2719 | |
4398 | 2720 | =begin original |
4399 | 2721 | |
4400 | 2722 | (W recursion) This subroutine has called itself (directly or indirectly) |
4401 | 2723 | 100 times more than it has returned. This probably indicates an |
4402 | 2724 | infinite recursion, unless you're writing strange benchmark programs, in |
4403 | 2725 | which case it indicates something else. |
4404 | 2726 | |
4405 | 2727 | =end original |
4406 | 2728 | |
4407 | (W recursion) このサブルー | |
2729 | (W recursion) このサブルーティンは、(直接、間接に) 自分自身の呼び出しを、 | |
4408 | 2730 | return より 100 回多く行ないました。 |
4409 | 2731 | 変わったベンチマークプログラムを書いているのでなければ、無限再帰の |
4410 | 可能性があります | |
2732 | 可能性があります。 | |
2733 | ベンチマークを書いている場合には、別のことを示しています。 | |
4411 | 2734 | |
4412 | = | |
2735 | =item defined(@array) is deprecated | |
4413 | 2736 | |
4414 | This threshold can be changed from 100, by recompiling the F<perl> binary, | |
4415 | setting the C pre-processor macro C<PERL_SUB_DEPTH_WARN> to the desired value. | |
4416 | ||
4417 | =end original | |
4418 | ||
4419 | この閾値は、C プリプロセッサマクロ C<PERL_SUB_DEPTH_WARN> を希望の値に | |
4420 | 設定して F<perl> バイナリを再コンパイルすることで、100 から変更できます。 | |
4421 | ||
4422 | =item (?(DEFINE)....) does not allow branches in regex; marked by | |
4423 | S<<-- HERE> in m/%s/ | |
4424 | ||
4425 | 2737 | =begin original |
4426 | 2738 | |
4427 | ( | |
2739 | (D deprecated) defined() is not usually useful on arrays because it | |
4428 | ||
2740 | checks for an undefined I<scalar> value. If you want to see if the | |
4429 | ||
2741 | array is empty, just use C<if (@array) { # not empty }> for example. | |
4430 | 2742 | |
4431 | 2743 | =end original |
4432 | 2744 | |
4433 | ( | |
2745 | (D deprecated) defined() は未定義の I<スカラ> 値を調べるので、配列に | |
4434 | ||
2746 | 使っても普通は無意味です。 | |
4435 | ||
2747 | 配列が空かどうかを調べたい場合は、例えば単に | |
2748 | C<if (@array) { # not empty }> としてください。 | |
4436 | 2749 | |
4437 | = | |
2750 | =item defined(%hash) is deprecated | |
4438 | 2751 | |
4439 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
4440 | discovered. | |
4441 | ||
4442 | =end original | |
4443 | ||
4444 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
4445 | ||
4446 | =item %s defines neither package nor VERSION--version check failed | |
4447 | ||
4448 | 2752 | =begin original |
4449 | 2753 | |
4450 | ( | |
2754 | (D deprecated) defined() is not usually useful on hashes because it | |
4451 | ||
2755 | checks for an undefined I<scalar> value. If you want to see if the hash | |
2756 | is empty, just use C<if (%hash) { # not empty }> for example. | |
4452 | 2757 | |
4453 | 2758 | =end original |
4454 | 2759 | |
4455 | ( | |
2760 | (D deprecated) defined() は未定義の I<スカラ> 値を調べるので、ハッシュに | |
4456 | ||
2761 | 使っても普通は無意味です。 | |
2762 | ハッシュが空かどうかを調べたい場合は、例えば単に | |
2763 | C<if (%hash) { # not empty }> としてください。 | |
4457 | 2764 | |
4458 | =item delete argument is index/value array slice, use array slice | |
4459 | ||
4460 | =begin original | |
4461 | ||
4462 | (F) You used index/value array slice syntax (C<%array[...]>) as | |
4463 | the argument to C<delete>. You probably meant C<@array[...]> with | |
4464 | an @ symbol instead. | |
4465 | ||
4466 | =end original | |
4467 | ||
4468 | (F) インデックス/値配列スライス文法 (C<%array[...]>) を、C<delete> への | |
4469 | 引数として使いました。 | |
4470 | おそらく @ シンボルを使って C<@array[...]> としたかったのでしょう。 | |
4471 | ||
4472 | =item delete argument is key/value hash slice, use hash slice | |
4473 | ||
4474 | =begin original | |
4475 | ||
4476 | (F) You used key/value hash slice syntax (C<%hash{...}>) as the argument to | |
4477 | C<delete>. You probably meant C<@hash{...}> with an @ symbol instead. | |
4478 | ||
4479 | =end original | |
4480 | ||
4481 | (F) キー/値ハッシュスライス文法 (C<%hash{...}>) を、C<delete> への | |
4482 | 引数として使いました。 | |
4483 | おそらく @ シンボルを使って C<@hash{...}> としたかったのでしょう。 | |
4484 | ||
4485 | =item delete argument is not a HASH or ARRAY element or slice | |
4486 | ||
4487 | =begin original | |
4488 | ||
4489 | (F) The argument to C<delete> must be either a hash or array element, | |
4490 | such as: | |
4491 | ||
4492 | =end original | |
4493 | ||
4494 | (F) C<delete> の引数は以下のようにハッシュか配列の要素であるか: | |
4495 | ||
4496 | $foo{$bar} | |
4497 | $ref->{"susie"}[12] | |
4498 | ||
4499 | =begin original | |
4500 | ||
4501 | or a hash or array slice, such as: | |
4502 | ||
4503 | =end original | |
4504 | ||
4505 | あるいは以下のようにハッシュか配列のスライスでなければなりません: | |
4506 | ||
4507 | @foo[$bar, $baz, $xyzzy] | |
4508 | @{$ref->[12]}{"susie", "queue"} | |
4509 | ||
4510 | 2765 | =item Delimiter for here document is too long |
4511 | 2766 | |
4512 | 2767 | =begin original |
4513 | 2768 | |
4514 | 2769 | (F) In a here document construct like C<<<FOO>, the label C<FOO> is too |
4515 | 2770 | long for Perl to handle. You have to be seriously twisted to write code |
4516 | 2771 | that triggers this error. |
4517 | 2772 | |
4518 | 2773 | =end original |
4519 | 2774 | |
4520 | 2775 | (F) C<<<FOO> のようなヒアドキュメント構造で、ラベル C<FOO> が |
4521 | 2776 | Perl が扱うには長すぎました。 |
4522 | 2777 | このエラーを起こすようなコードを書くには相当ひねくれている必要があります。 |
4523 | 2778 | |
4524 | =item Deprecated use of my() in false conditional | |
4525 | ||
4526 | =begin original | |
4527 | ||
4528 | (D deprecated) You used a declaration similar to C<my $x if 0>. There | |
4529 | has been a long-standing bug in Perl that causes a lexical variable | |
4530 | not to be cleared at scope exit when its declaration includes a false | |
4531 | conditional. Some people have exploited this bug to achieve a kind of | |
4532 | static variable. Since we intend to fix this bug, we don't want people | |
4533 | relying on this behavior. You can achieve a similar static effect by | |
4534 | declaring the variable in a separate block outside the function, eg | |
4535 | ||
4536 | =end original | |
4537 | ||
4538 | (D deprecated) C<my $x if 0> のような定義を行いました。 | |
4539 | これは、宣言に偽の条件を含んでいるとスコープから外れた際にレキシカル変数が | |
4540 | クリアされないという、Perl に長い間存在したバグです。 | |
4541 | ある種の静的変数を実現するためにこのバグを悪用する人々もいます。 | |
4542 | 私たちはこのバグを修正するつもりなので、人々がこの振る舞いに依存して | |
4543 | ほしくありません。 | |
4544 | 関数外の別のブロックで変数を宣言することで似たような静的な効果を | |
4545 | 達成できます; 例えば: | |
4546 | ||
4547 | sub f { my $x if 0; return $x++ } | |
4548 | ||
4549 | =begin original | |
4550 | ||
4551 | becomes | |
4552 | ||
4553 | =end original | |
4554 | ||
4555 | これは以下のようにします: | |
4556 | ||
4557 | { my $x; sub f { return $x++ } } | |
4558 | ||
4559 | =begin original | |
4560 | ||
4561 | Beginning with perl 5.10.0, you can also use C<state> variables to have | |
4562 | lexicals that are initialized only once (see L<feature>): | |
4563 | ||
4564 | =end original | |
4565 | ||
4566 | perl 5.10.0 から、一度だけ初期化されるレキシカルとして C<state> 変数も | |
4567 | 使えます (L<feature> を参照してください): | |
4568 | ||
4569 | sub f { state $x; return $x++ } | |
4570 | ||
4571 | =item DESTROY created new reference to dead object '%s' | |
4572 | ||
4573 | =begin original | |
4574 | ||
4575 | (F) A DESTROY() method created a new reference to the object which is | |
4576 | just being DESTROYed. Perl is confused, and prefers to abort rather | |
4577 | than to create a dangling reference. | |
4578 | ||
4579 | =end original | |
4580 | ||
4581 | (F) DESTROY() メソッドが、DESTROY したばかりのオブジェクトへの | |
4582 | 新しいリファレンスを作りました。 | |
4583 | Perl は混乱して、不明瞭なリファレンスを作るよりは中断することを選びました。 | |
4584 | ||
4585 | 2779 | =item Did not produce a valid header |
4586 | 2780 | |
4587 | 2781 | =begin original |
4588 | 2782 | |
4589 | 2783 | See Server error. |
4590 | 2784 | |
4591 | 2785 | =end original |
4592 | 2786 | |
4593 | 2787 | "Server error" を参照してください。 |
4594 | 2788 | |
4595 | 2789 | =item %s did not return a true value |
4596 | 2790 | |
4597 | 2791 | =begin original |
4598 | 2792 | |
4599 | 2793 | (F) A required (or used) file must return a true value to indicate that |
4600 | 2794 | it compiled correctly and ran its initialization code correctly. It's |
4601 | 2795 | traditional to end such a file with a "1;", though any true value would |
4602 | 2796 | do. See L<perlfunc/require>. |
4603 | 2797 | |
4604 | 2798 | =end original |
4605 | 2799 | |
4606 | 2800 | (F) require (や use) されたファイルは、正常にコンパイルされ、 |
4607 | 2801 | 初期化コードを正しく実行したことを示すために、真を返さなければなりません。 |
4608 | 2802 | こういったファイルは、"1;" で終わるようにするのが習慣ですが、 |
4609 | 2803 | 真となる値であれば、何でもかまいません。 |
4610 | 2804 | L<perlfunc/require> を参照してください。 |
4611 | 2805 | |
4612 | 2806 | =item (Did you mean &%s instead?) |
4613 | 2807 | |
4614 | 2808 | =begin original |
4615 | 2809 | |
4616 | (W | |
2810 | (W) You probably referred to an imported subroutine &FOO as $FOO or some | |
4617 | s | |
2811 | such. | |
4618 | 2812 | |
4619 | 2813 | =end original |
4620 | 2814 | |
4621 | ||
2815 | おそらく import したサブルーチン &FOO を $FOO として | |
4622 | 2816 | 参照したようなことでしょう。 |
4623 | 2817 | |
4624 | 2818 | =item (Did you mean "local" instead of "our"?) |
4625 | 2819 | |
4626 | 2820 | =begin original |
4627 | 2821 | |
4628 | 2822 | (W misc) Remember that "our" does not localize the declared global |
4629 | 2823 | variable. You have declared it again in the same lexical scope, which |
4630 | 2824 | seems superfluous. |
4631 | 2825 | |
4632 | 2826 | =end original |
4633 | 2827 | |
4634 | 2828 | (W misc) "our" 宣言されたグローバル変数を local 化しないことを |
4635 | 2829 | 忘れないで下さい。 |
4636 | 2830 | これをもう一度同じレキシカルスコープで宣言していますが、 |
4637 | 2831 | 不必要でしょう。 |
4638 | 2832 | |
4639 | 2833 | =item (Did you mean $ or @ instead of %?) |
4640 | 2834 | |
4641 | 2835 | =begin original |
4642 | 2836 | |
4643 | 2837 | (W) You probably said %hash{$key} when you meant $hash{$key} or |
4644 | 2838 | @hash{@keys}. On the other hand, maybe you just meant %hash and got |
4645 | 2839 | carried away. |
4646 | 2840 | |
4647 | 2841 | =end original |
4648 | 2842 | |
4649 | 2843 | (W) おそらく $hash{$key} か @hash{@keys} としたいときに %hash{$key} と |
4650 | 2844 | したのでしょう。 |
4651 | 2845 | あるいは、単に %hash としたくてやりすぎたのでしょう。 |
4652 | 2846 | |
4653 | 2847 | =item Died |
4654 | 2848 | |
4655 | 2849 | =begin original |
4656 | 2850 | |
4657 | 2851 | (F) You passed die() an empty string (the equivalent of C<die "">) or |
4658 | you called it with no args and C<$@> | |
2852 | you called it with no args and both C<$@> and C<$_> were empty. | |
4659 | 2853 | |
4660 | 2854 | =end original |
4661 | 2855 | |
4662 | 2856 | (F) die() に空文字列を渡した(C<die ""> と等価です)か、引数なしで |
4663 | 呼び出して、C<$@> が空でした。 | |
2857 | 呼び出して、C<$@> と C<$_> が空でした。 | |
4664 | 2858 | |
4665 | 2859 | =item Document contains no data |
4666 | 2860 | |
4667 | 2861 | =begin original |
4668 | 2862 | |
4669 | 2863 | See Server error. |
4670 | 2864 | |
4671 | 2865 | =end original |
4672 | 2866 | |
4673 | 2867 | "Server error" を参照してください。 |
4674 | 2868 | |
4675 | =item | |
2869 | =item Don't know how to handle magic of type '%s' | |
4676 | 2870 | |
4677 | 2871 | =begin original |
4678 | 2872 | |
4679 | (F) You said something like "use Module 42" but the Module did not | |
4680 | define a C<$VERSION>. | |
4681 | ||
4682 | =end original | |
4683 | ||
4684 | (F) "use Module 42" のようなことをしましたが、Module は C<$VERSION> を | |
4685 | 定義していません。 | |
4686 | ||
4687 | =item '/' does not take a repeat count | |
4688 | ||
4689 | =begin original | |
4690 | ||
4691 | (F) You cannot put a repeat count of any kind right after the '/' code. | |
4692 | See L<perlfunc/pack>. | |
4693 | ||
4694 | =end original | |
4695 | ||
4696 | (F) '/' の直後には繰り返し数を指定できません。 | |
4697 | L<perlfunc/pack> を参照してください。 | |
4698 | ||
4699 | =item Don't know how to get file name | |
4700 | ||
4701 | =begin original | |
4702 | ||
4703 | (P) C<PerlIO_getname>, a perl internal I/O function specific to VMS, was | |
4704 | somehow called on another platform. This should not happen. | |
4705 | ||
4706 | =end original | |
4707 | ||
4708 | (P) VMS 固有の perl 内部 I/O 関数である C<PerlIO_getname> がなぜか | |
4709 | 他のプラットフォームで呼び出されました。 | |
4710 | これは起きないはずです。 | |
4711 | ||
4712 | =item Don't know how to handle magic of type \%o | |
4713 | ||
4714 | =begin original | |
4715 | ||
4716 | 2873 | (P) The internal handling of magical variables has been cursed. |
4717 | 2874 | |
4718 | 2875 | =end original |
4719 | 2876 | |
4720 | (P) マジ | |
2877 | (P) マジック変数の内部処理がおかしくなっています。 | |
4721 | 2878 | |
4722 | 2879 | =item do_study: out of memory |
4723 | 2880 | |
4724 | 2881 | =begin original |
4725 | 2882 | |
4726 | 2883 | (P) This should have been caught by safemalloc() instead. |
4727 | 2884 | |
4728 | 2885 | =end original |
4729 | 2886 | |
4730 | 2887 | (P) これは、本来 safemalloc() で引っ掛かるはずのものです。 |
4731 | 2888 | |
4732 | 2889 | =item (Do you need to predeclare %s?) |
4733 | 2890 | |
4734 | 2891 | =begin original |
4735 | 2892 | |
4736 | (S | |
2893 | (S) This is an educated guess made in conjunction with the message "%s | |
4737 | ||
2894 | found where operator expected". It often means a subroutine or module | |
4738 | 2895 | name is being referenced that hasn't been declared yet. This may be |
4739 | 2896 | because of ordering problems in your file, or because of a missing |
4740 | 2897 | "sub", "package", "require", or "use" statement. If you're referencing |
4741 | 2898 | something that isn't defined yet, you don't actually have to define the |
4742 | 2899 | subroutine or package before the current location. You can use an empty |
4743 | 2900 | "sub foo;" or "package FOO;" to enter a "forward" declaration. |
4744 | 2901 | |
4745 | 2902 | =end original |
4746 | 2903 | |
4747 | (S | |
2904 | (S) これは "%s found where operator expected" メッセージと共に | |
4748 | 2905 | 表示される教育的な推測です。 |
4749 | 2906 | これはしばしばサブルーチンやモジュール名がまだ宣言される前に参照されている |
4750 | 2907 | ことを意味します。 |
4751 | 2908 | これはファイル内部での順番のためであったり、"sub", "package", "require", |
4752 | 2909 | "use" 文がないためであったりします。 |
4753 | 2910 | もしまだ定義されていないものを参照したい場合、現在位置より前に実際に |
4754 | 2911 | サブルーチンやパッケージを定義する必要はありません。 |
4755 | 2912 | 空の "sub foo;" や "package FOO;" を「前方」宣言として使えます。 |
4756 | 2913 | |
4757 | =item dump() better written as CORE::dump() | |
4758 | ||
4759 | =begin original | |
4760 | ||
4761 | (W misc) You used the obsolescent C<dump()> built-in function, without fully | |
4762 | qualifying it as C<CORE::dump()>. Maybe it's a typo. See L<perlfunc/dump>. | |
4763 | ||
4764 | =end original | |
4765 | ||
4766 | (W misc) 古いものである C<dump()> 組み込み関数を、C<CORE::dump()> と | |
4767 | いうように完全修飾せずに使いました。 | |
4768 | おそらくこれはタイプミスです。 | |
4769 | L<perlfunc/dump> を参照してください。 | |
4770 | ||
4771 | =item dump is not supported | |
4772 | ||
4773 | =begin original | |
4774 | ||
4775 | (F) Your machine doesn't support dump/undump. | |
4776 | ||
4777 | =end original | |
4778 | ||
4779 | (F) このマシンは dump/undump に対応していません。 | |
4780 | ||
4781 | 2914 | =item Duplicate free() ignored |
4782 | 2915 | |
4783 | 2916 | =begin original |
4784 | 2917 | |
4785 | 2918 | (S malloc) An internal routine called free() on something that had |
4786 | 2919 | already been freed. |
4787 | 2920 | |
4788 | 2921 | =end original |
4789 | 2922 | |
4790 | 2923 | (S malloc) 既に解放されているものに対して、内部ルーティンが free() を |
4791 | 2924 | 行なおうとしました。 |
4792 | 2925 | |
4793 | =item Duplicate modifier '%c' after '%c' in %s | |
4794 | ||
4795 | =begin original | |
4796 | ||
4797 | (W unpack) You have applied the same modifier more than once after a | |
4798 | type in a pack template. See L<perlfunc/pack>. | |
4799 | ||
4800 | =end original | |
4801 | ||
4802 | (W unpack) pack テンプレートで、一つの型の後に同じ修飾子を複数指定しました。 | |
4803 | L<perlfunc/pack> を参照してください。 | |
4804 | ||
4805 | 2926 | =item elseif should be elsif |
4806 | 2927 | |
4807 | 2928 | =begin original |
4808 | 2929 | |
4809 | (S | |
2930 | (S) There is no keyword "elseif" in Perl because Larry thinks it's ugly. | |
4810 | ||
2931 | Your code will be interpreted as an attempt to call a method named | |
4811 | ||
2932 | "elseif" for the class returned by the following block. This is | |
4812 | 2933 | unlikely to be what you want. |
4813 | 2934 | |
4814 | 2935 | =end original |
4815 | 2936 | |
4816 | 2937 | (S) Larry は "elseif" というのは醜いと考えたので、Perl にはこのキーワードは |
4817 | 2938 | ありません。 |
4818 | 2939 | このコードは引き続くブロックによって返されたクラスの "elseif" メソッドを |
4819 | 2940 | 呼び出そうとしていると解釈されます。 |
4820 | 2941 | これは望んでいることではないはずです。 |
4821 | 2942 | |
4822 | =item Empty \%c in regex; marked by S<<-- HERE> in m/%s/ | |
4823 | ||
4824 | =item Empty \%c{} in regex; marked by S<<-- HERE> in m/%s/ | |
4825 | ||
4826 | =begin original | |
4827 | ||
4828 | (F) C<\p> and C<\P> are used to introduce a named Unicode property, as | |
4829 | described in L<perlunicode> and L<perlre>. You used C<\p> or C<\P> in | |
4830 | a regular expression without specifying the property name. | |
4831 | ||
4832 | =end original | |
4833 | ||
4834 | (F) C<\p> と C<\P> は、L<perlunicode> と L<perlre> に記述されているように、 | |
4835 | 名前付き Unicode プロパティを導入するために使われます。 | |
4836 | 正規表現の中で、C<\p> や C<\P> をプロパティ名の指定なしに使いました。 | |
4837 | ||
4838 | 2943 | =item entering effective %s failed |
4839 | 2944 | |
4840 | 2945 | =begin original |
4841 | 2946 | |
4842 | 2947 | (F) While under the C<use filetest> pragma, switching the real and |
4843 | 2948 | effective uids or gids failed. |
4844 | 2949 | |
4845 | 2950 | =end original |
4846 | 2951 | |
4847 | 2952 | (F) C<use filetest> プラグマを使っている間に、 |
4848 | 2953 | 実と実効の UID や GID の切り替えに失敗しました。 |
4849 | 2954 | |
4850 | =item %ENV is aliased to %s | |
4851 | ||
4852 | =begin original | |
4853 | ||
4854 | (F) You're running under taint mode, and the C<%ENV> variable has been | |
4855 | aliased to another hash, so it doesn't reflect anymore the state of the | |
4856 | program's environment. This is potentially insecure. | |
4857 | ||
4858 | =end original | |
4859 | ||
4860 | (F) 汚染モードで動作していて、C<%ENV> 変数が他のハッシュへのエイリアスに | |
4861 | なっているので、これ以上プログラムの環境の状態を反映しません。 | |
4862 | これは潜在的にはセキュアではありません。 | |
4863 | ||
4864 | 2955 | =item Error converting file specification %s |
4865 | 2956 | |
4866 | 2957 | =begin original |
4867 | 2958 | |
4868 | 2959 | (F) An error peculiar to VMS. Because Perl may have to deal with file |
4869 | 2960 | specifications in either VMS or Unix syntax, it converts them to a |
4870 | 2961 | single form when it must operate on them directly. Either you've passed |
4871 | 2962 | an invalid file specification to Perl, or you've found a case the |
4872 | 2963 | conversion routines don't handle. Drat. |
4873 | 2964 | |
4874 | 2965 | =end original |
4875 | 2966 | |
4876 | 2967 | (F) VMS に固有のエラーです。 |
4877 | 2968 | Perl はファイル仕様を VMS 式か Unix 式かどちらかで扱わなければならないので、 |
4878 | 2969 | 直接操作しなければならない場合は変換します。 |
4879 | 2970 | 不正なファイル仕様を Perl に渡したか、変換ルーチンが扱えないパターンを |
4880 | 2971 | 発見したかです。 |
4881 | 2972 | ちぇっ。 |
4882 | 2973 | |
4883 | =item Eval-group in insecure regular expression | |
2974 | =item %s: Eval-group in insecure regular expression | |
4884 | 2975 | |
4885 | 2976 | =begin original |
4886 | 2977 | |
4887 | 2978 | (F) Perl detected tainted data when trying to compile a regular |
4888 | 2979 | expression that contains the C<(?{ ... })> zero-width assertion, which |
4889 | 2980 | is unsafe. See L<perlre/(?{ code })>, and L<perlsec>. |
4890 | 2981 | |
4891 | 2982 | =end original |
4892 | 2983 | |
4893 | 2984 | C<(?{ ... })> ゼロ幅アサーションを含む正規表現をコンパイルしようと |
4894 | 2985 | したときに、Perl は汚染されたデータを検出しました; |
4895 | 2986 | これは安全ではありません。 |
4896 | 2987 | L<perlre/(?{ code })> と L<perlsec> を参照してください。 |
4897 | 2988 | |
4898 | =item Eval-group not allowed at runtime | |
2989 | =item %s: Eval-group not allowed at run time | |
4899 | 2990 | |
4900 | 2991 | =begin original |
4901 | 2992 | |
4902 | 2993 | (F) Perl tried to compile a regular expression containing the |
4903 | 2994 | C<(?{ ... })> zero-width assertion at run time, as it would when the |
4904 | pattern contains interpolated values. Since that is a security risk, | |
2995 | pattern contains interpolated values. Since that is a security risk, it | |
4905 | i | |
2996 | is not allowed. If you insist, you may still do this by explicitly | |
4906 | ||
2997 | building the pattern from an interpolated string at run time and using | |
4907 | ||
2998 | that in an eval(). See L<perlre/(?{ code })>. | |
4908 | L<perlre/(?{ code })>. | |
4909 | 2999 | |
4910 | 3000 | =end original |
4911 | 3001 | |
4912 | 3002 | (F) Perl が実行時に、変数展開された値を含んでいて、 |
4913 | 3003 | C<(?{ ... })> ゼロ幅アサーションを含む正規表現をコンパイルしようとしました。 |
4914 | 3004 | これはセキュリティ上の危険があるので、許可されていません。 |
4915 | どうしても実行したい場合は、 | |
3005 | どうしても実行したい場合は、実行時に変数展開された文字列から | |
4916 | ||
3006 | パターンを作成して、それを eval() の中で使うことで実行できます。 | |
4917 | 実行できます。 | |
4918 | 3007 | L<perlre/(?{ code })> を参照してください。 |
4919 | 3008 | |
4920 | =item Eval-group not allowed, use re 'eval' | |
3009 | =item %s: Eval-group not allowed, use re 'eval' | |
4921 | 3010 | |
4922 | 3011 | =begin original |
4923 | 3012 | |
4924 | 3013 | (F) A regular expression contained the C<(?{ ... })> zero-width |
4925 | 3014 | assertion, but that construct is only allowed when the C<use re 'eval'> |
4926 | 3015 | pragma is in effect. See L<perlre/(?{ code })>. |
4927 | 3016 | |
4928 | 3017 | =end original |
4929 | 3018 | |
4930 | 3019 | (F) 正規表現に C<(?{ ... })> ゼロ幅アサーションを含んでいますが、 |
4931 | 3020 | この構造は C<use re 'eval'> プラグマが有効の場合にのみ許可されます。 |
4932 | 3021 | L<perlre/(?{ code })> を参照してください。 |
4933 | 3022 | |
4934 | =item EVAL without pos change exceeded limit in regex; marked by | |
4935 | S<<-- HERE> in m/%s/ | |
4936 | ||
4937 | =begin original | |
4938 | ||
4939 | (F) You used a pattern that nested too many EVAL calls without consuming | |
4940 | any text. Restructure the pattern so that text is consumed. | |
4941 | ||
4942 | =end original | |
4943 | ||
4944 | (F) テキストを一切読み込むことなく、EVAL 呼び出しのネストが多すぎる | |
4945 | パターンを使いました。 | |
4946 | テキストを読み込むようにパターンを再構築してください。 | |
4947 | ||
4948 | =begin original | |
4949 | ||
4950 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
4951 | discovered. | |
4952 | ||
4953 | =end original | |
4954 | ||
4955 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
4956 | ||
4957 | 3023 | =item Excessively long <> operator |
4958 | 3024 | |
4959 | 3025 | =begin original |
4960 | 3026 | |
4961 | 3027 | (F) The contents of a <> operator may not exceed the maximum size of a |
4962 | 3028 | Perl identifier. If you're just trying to glob a long list of |
4963 | 3029 | filenames, try using the glob() operator, or put the filenames into a |
4964 | 3030 | variable and glob that. |
4965 | 3031 | |
4966 | 3032 | =end original |
4967 | 3033 | |
4968 | 3034 | (F) <> 演算子の内容は Perl 識別子の最大サイズを越えることはできません。 |
4969 | 3035 | 単にファイル名の長いリストをグロブしようとしただけなら、glob() 演算子を |
4970 | 3036 | 使うか、ファイル名を変数に入れて、それをグロブしてください。 |
4971 | 3037 | |
4972 | =item | |
3038 | =item Execution of %s aborted due to compilation errors | |
4973 | 3039 | |
4974 | 3040 | =begin original |
4975 | 3041 | |
4976 | (F) The C<exec> function is not implemented on some systems, e.g., Symbian | |
4977 | OS. See L<perlport>. | |
4978 | ||
4979 | =end original | |
4980 | ||
4981 | (F) C<exec> 関数は Symbian OS のような一部のシステムには実装されていません。 | |
4982 | L<perlport> を参照してください。 | |
4983 | ||
4984 | =item Execution of %s aborted due to compilation errors. | |
4985 | ||
4986 | =begin original | |
4987 | ||
4988 | 3042 | (F) The final summary message when a Perl compilation fails. |
4989 | 3043 | |
4990 | 3044 | =end original |
4991 | 3045 | |
4992 | 3046 | (F) Perl のコンパイルが失敗したときの、最後のまとめメッセージです。 |
4993 | 3047 | |
4994 | =item exists argument is not a HASH or ARRAY element or a subroutine | |
4995 | ||
4996 | =begin original | |
4997 | ||
4998 | (F) The argument to C<exists> must be a hash or array element or a | |
4999 | subroutine with an ampersand, such as: | |
5000 | ||
5001 | =end original | |
5002 | ||
5003 | (F) C<exists> の引数は以下のように、ハッシュや配列の要素か、 | |
5004 | アンパサンド付きのサブルーチンでなければなりません: | |
5005 | ||
5006 | $foo{$bar} | |
5007 | $ref->{"susie"}[12] | |
5008 | &do_something | |
5009 | ||
5010 | =item exists argument is not a subroutine name | |
5011 | ||
5012 | =begin original | |
5013 | ||
5014 | (F) The argument to C<exists> for C<exists &sub> must be a subroutine name, | |
5015 | and not a subroutine call. C<exists &sub()> will generate this error. | |
5016 | ||
5017 | =end original | |
5018 | ||
5019 | (F) C<exists &sub> での C<exists> への引数はサブルーチン名でなければならず、 | |
5020 | サブルーチン呼び出しではありません。 | |
5021 | C<exists &sub()> はこのエラーを生成します。 | |
5022 | ||
5023 | 3048 | =item Exiting eval via %s |
5024 | 3049 | |
5025 | 3050 | =begin original |
5026 | 3051 | |
5027 | 3052 | (W exiting) You are exiting an eval by unconventional means, such as a |
5028 | 3053 | goto, or a loop control statement. |
5029 | 3054 | |
5030 | 3055 | =end original |
5031 | 3056 | |
5032 | 3057 | (W exiting) goto やループ制御文など、おかしな方法で eval を抜けました。 |
5033 | 3058 | |
5034 | 3059 | =item Exiting format via %s |
5035 | 3060 | |
5036 | 3061 | =begin original |
5037 | 3062 | |
5038 | (W exiting) You are exiting a | |
3063 | (W exiting) You are exiting an eval by unconventional means, such as a | |
5039 | 3064 | goto, or a loop control statement. |
5040 | 3065 | |
5041 | 3066 | =end original |
5042 | 3067 | |
5043 | (W exiting) goto やループ制御文といった、異例な形で | |
3068 | (W exiting) goto やループ制御文といった、異例な形で eval を終了しました。 | |
5044 | 終了しました。 | |
5045 | 3069 | |
5046 | 3070 | =item Exiting pseudo-block via %s |
5047 | 3071 | |
5048 | 3072 | =begin original |
5049 | 3073 | |
5050 | 3074 | (W exiting) You are exiting a rather special block construct (like a |
5051 | 3075 | sort block or subroutine) by unconventional means, such as a goto, or a |
5052 | 3076 | loop control statement. See L<perlfunc/sort>. |
5053 | 3077 | |
5054 | 3078 | =end original |
5055 | 3079 | |
5056 | 3080 | (W exiting) (ソートブロックやサブルーチンのような) 特別なブロック構造を、 |
5057 | 3081 | goto やループ制御文といった異例な方法で終了しました。 |
5058 | 3082 | L<perlfunc/sort> を参照してください。 |
5059 | 3083 | |
5060 | 3084 | =item Exiting subroutine via %s |
5061 | 3085 | |
5062 | 3086 | =begin original |
5063 | 3087 | |
5064 | 3088 | (W exiting) You are exiting a subroutine by unconventional means, such |
5065 | 3089 | as a goto, or a loop control statement. |
5066 | 3090 | |
5067 | 3091 | =end original |
5068 | 3092 | |
5069 | (W exiting) goto やループ制御文など、おかしな方法でサブルー | |
3093 | (W exiting) goto やループ制御文など、おかしな方法でサブルーティンを | |
5070 | 3094 | 抜けました。 |
5071 | 3095 | |
5072 | 3096 | =item Exiting substitution via %s |
5073 | 3097 | |
5074 | 3098 | =begin original |
5075 | 3099 | |
5076 | 3100 | (W exiting) You are exiting a substitution by unconventional means, such |
5077 | 3101 | as a return, a goto, or a loop control statement. |
5078 | 3102 | |
5079 | 3103 | =end original |
5080 | 3104 | |
5081 | 3105 | (W exit) return や goto やループ制御文など、おかしな方法で置換を |
5082 | 3106 | 抜けました。 |
5083 | 3107 | |
5084 | =item Expecting close bracket in regex; marked by S<<-- HERE> in m/%s/ | |
5085 | ||
5086 | =begin original | |
5087 | ||
5088 | (F) You wrote something like | |
5089 | ||
5090 | =end original | |
5091 | ||
5092 | (F) 以下のようなものを書きました | |
5093 | ||
5094 | (?13 | |
5095 | ||
5096 | =begin original | |
5097 | ||
5098 | to denote a capturing group of the form | |
5099 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)>, | |
5100 | but omitted the C<")">. | |
5101 | ||
5102 | =end original | |
5103 | ||
5104 | to denote a capturing group of the form | |
5105 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)> 形式の | |
5106 | 捕捉グループを示していますが C<")"> が省略されています。 | |
5107 | ||
5108 | =item Expecting '(?flags:(?[...' in regex; marked by S<<-- HERE> in m/%s/ | |
5109 | ||
5110 | =begin original | |
5111 | ||
5112 | (F) The C<(?[...])> extended character class regular expression construct | |
5113 | only allows character classes (including character class escapes like | |
5114 | C<\d>), operators, and parentheses. The one exception is C<(?flags:...)> | |
5115 | containing at least one flag and exactly one C<(?[...])> construct. | |
5116 | This allows a regular expression containing just C<(?[...])> to be | |
5117 | interpolated. If you see this error message, then you probably | |
5118 | have some other C<(?...)> construct inside your character class. See | |
5119 | L<perlrecharclass/Extended Bracketed Character Classes>. | |
5120 | ||
5121 | =end original | |
5122 | ||
5123 | (F) C<(?[...])> 拡張文字クラス正規表現構文には、(C<\d> のような | |
5124 | 文字クラスエスケープを含む) 文字クラス、演算子、かっこのみが許されます。 | |
5125 | 一つの例外は正確に一つだけのフラグと一つだけの C<(?[...])> を含む | |
5126 | C<(?flags:...)> です。 | |
5127 | これにより C<(?[...])> だけを含む正規表現を変数展開できるようになります。 | |
5128 | このエラーメッセージが表示された時は、おそらく文字クラスの中に他の | |
5129 | C<(?...)> 構文が含まれています。 | |
5130 | L<perlrecharclass/Extended Bracketed Character Classes> を参照してください。 | |
5131 | ||
5132 | =item Experimental aliasing via reference not enabled | |
5133 | ||
5134 | =begin original | |
5135 | ||
5136 | (F) To do aliasing via references, you must first enable the feature: | |
5137 | ||
5138 | =end original | |
5139 | ||
5140 | (F) リファレンスによる別名をするためには、最初にこの機能を | |
5141 | 有効にしなければなりません: | |
5142 | ||
5143 | no warnings "experimental::refaliasing"; | |
5144 | use feature "refaliasing"; | |
5145 | \$x = \$y; | |
5146 | ||
5147 | =item Experimental %s on scalar is now forbidden | |
5148 | ||
5149 | =begin original | |
5150 | ||
5151 | (F) An experimental feature added in Perl 5.14 allowed C<each>, C<keys>, | |
5152 | C<push>, C<pop>, C<shift>, C<splice>, C<unshift>, and C<values> to be called with a | |
5153 | scalar argument. This experiment is considered unsuccessful, and | |
5154 | has been removed. The C<postderef> feature may meet your needs better. | |
5155 | ||
5156 | =end original | |
5157 | ||
5158 | (F) Perl 5.14 で追加された実験的機能は、C<each>, C<keys>, | |
5159 | C<push>, C<pop>, C<shift>, C<splice>, C<unshift>, C<values> を | |
5160 | スカラ引数で呼び出すことができました。 | |
5161 | この実験は失敗と考えられ、削除されました。 | |
5162 | C<postderef> 機能はあなたの要求により良く一致します。 | |
5163 | ||
5164 | =item Experimental subroutine signatures not enabled | |
5165 | ||
5166 | =begin original | |
5167 | ||
5168 | (F) To use subroutine signatures, you must first enable them: | |
5169 | ||
5170 | =end original | |
5171 | ||
5172 | (F) サブルーチンシグネチャを使うためには、まずそれを有効にしなければなりません: | |
5173 | ||
5174 | no warnings "experimental::signatures"; | |
5175 | use feature "signatures"; | |
5176 | sub foo ($left, $right) { ... } | |
5177 | ||
5178 | =item Experimental "%s" subs not enabled | |
5179 | ||
5180 | =begin original | |
5181 | ||
5182 | (F) To use lexical subs, you must first enable them: | |
5183 | ||
5184 | =end original | |
5185 | ||
5186 | (F) レキシカルサブルーチンを使うためには、まずそれを有効にしなければなりません: | |
5187 | ||
5188 | no warnings 'experimental::lexical_subs'; | |
5189 | use feature 'lexical_subs'; | |
5190 | my sub foo { ... } | |
5191 | ||
5192 | 3108 | =item Explicit blessing to '' (assuming package main) |
5193 | 3109 | |
5194 | 3110 | =begin original |
5195 | 3111 | |
5196 | 3112 | (W misc) You are blessing a reference to a zero length string. This has |
5197 | 3113 | the effect of blessing the reference into the package main. This is |
5198 | 3114 | usually not what you want. Consider providing a default target package, |
5199 | 3115 | e.g. bless($ref, $p || 'MyPackage'); |
5200 | 3116 | |
5201 | 3117 | =end original |
5202 | 3118 | |
5203 | 3119 | (W misc) リファレンスを長さゼロの文字列に bless しました。 |
5204 | 3120 | これはリファレンスをパッケージ main に bless する効果があります。 |
5205 | 3121 | これは普通あなたが望んでいることではありません。 |
5206 | 3122 | (bless($ref, $p || 'MyPackage'); のように) デフォルトターゲット |
5207 | 3123 | パッケージを提供することを考慮してください; |
5208 | 3124 | |
5209 | 3125 | =item %s: Expression syntax |
5210 | 3126 | |
5211 | 3127 | =begin original |
5212 | 3128 | |
5213 | 3129 | (A) You've accidentally run your script through B<csh> instead of Perl. |
5214 | 3130 | Check the #! line, or manually feed your script into Perl yourself. |
5215 | 3131 | |
5216 | 3132 | =end original |
5217 | 3133 | |
5218 | 3134 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
5219 | 3135 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
5220 | 3136 | |
5221 | 3137 | =item %s failed--call queue aborted |
5222 | 3138 | |
5223 | 3139 | =begin original |
5224 | 3140 | |
5225 | (F) An untrapped exception was raised while executing a | |
3141 | (F) An untrapped exception was raised while executing a CHECK, INIT, or | |
5226 | ||
3142 | END subroutine. Processing of the remainder of the queue of such | |
5227 | ||
3143 | routines has been prematurely ended. | |
5228 | 3144 | |
5229 | 3145 | =end original |
5230 | 3146 | |
5231 | (F) | |
3147 | (F) CHECK, INIT, END サブルーチンを実行中にトラップされていない例外が | |
5232 | ||
3148 | 発生しました。 | |
5233 | 3149 | このようなルーチンのキューの残りの処理は途中で終了しました。 |
5234 | 3150 | |
5235 | =item | |
3151 | =item false [] range "%s" in regexp | |
5236 | 3152 | |
5237 | 3153 | =begin original |
5238 | 3154 | |
5239 | ( | |
3155 | (W regexp) A character class range must start and end at a literal | |
5240 | co | |
3156 | character, not another character class like C<\d> or C<[:alpha:]>. The | |
3157 | "-" in your false range is interpreted as a literal "-". Consider | |
3158 | quoting the "-", "\-". See L<perlre>. | |
5241 | 3159 | |
5242 | 3160 | =end original |
5243 | 3161 | |
5244 | ( | |
3162 | (W regexp) 文字クラス範囲の先頭とと末尾は、C<\d> や C<[:alpha:]> のような | |
5245 | 閉じるのに失敗しました。 | |
5246 | ||
5247 | =item False [] range "%s" in regex; marked by S<<-- HERE> in m/%s/ | |
5248 | ||
5249 | =begin original | |
5250 | ||
5251 | (W regexp)(F) A character class range must start and end at a literal | |
5252 | character, not another character class like C<\d> or C<[:alpha:]>. The "-" | |
5253 | in your false range is interpreted as a literal "-". In a C<(?[...])> | |
5254 | construct, this is an error, rather than a warning. Consider quoting | |
5255 | the "-", "\-". The S<<-- HERE> shows whereabouts in the regular expression | |
5256 | the problem was discovered. See L<perlre>. | |
5257 | ||
5258 | =end original | |
5259 | ||
5260 | (W regexp)(F) 文字クラス範囲の先頭とと末尾は、C<\d> や C<[:alpha:]> のような | |
5261 | 3163 | 他の文字クラスではなく、リテラル文字でなければなりません。 |
5262 | 3164 | 間違った範囲の "-" はリテラルの "-" と解釈されます。 |
5263 | C<(?[...])> 構文では、これは警告ではなくエラーです。 | |
5264 | 3165 | "-" を "\-" とクォートすることを考慮してください。 |
5265 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
5266 | 3166 | L<perlre> を参照してください。 |
5267 | 3167 | |
5268 | =item Fatal VMS error | |
3168 | =item Fatal VMS error at %s, line %d | |
5269 | 3169 | |
5270 | 3170 | =begin original |
5271 | 3171 | |
5272 | 3172 | (P) An error peculiar to VMS. Something untoward happened in a VMS |
5273 | 3173 | system service or RTL routine; Perl's exit status should provide more |
5274 | 3174 | details. The filename in "at %s" and the line number in "line %d" tell |
5275 | 3175 | you which section of the Perl source code is distressed. |
5276 | 3176 | |
5277 | 3177 | =end original |
5278 | 3178 | |
5279 | 3179 | (P) VMS に固有のエラーです。 |
5280 | 3180 | 何か都合の悪いことが VMS システムサービスか RTL ルーチンで起こりました; |
5281 | 3181 | Perl の終了コードに詳細が示されています。 |
5282 | 3182 | "at %s" のファイル名と "line %d" の行番号は、問題の起こった |
5283 | 3183 | Perl ソースコードの位置を示しています。 |
5284 | 3184 | |
5285 | 3185 | =item fcntl is not implemented |
5286 | 3186 | |
5287 | 3187 | =begin original |
5288 | 3188 | |
5289 | 3189 | (F) Your machine apparently doesn't implement fcntl(). What is this, a |
5290 | 3190 | PDP-11 or something? |
5291 | 3191 | |
5292 | 3192 | =end original |
5293 | 3193 | |
5294 | 3194 | (F) このマシンでは、fcntl() が実装されていないように見えます。 |
5295 | 3195 | PDP-11 か何かでしょうか。 |
5296 | 3196 | |
5297 | =item FETCHSIZE returned a negative value | |
5298 | ||
5299 | =begin original | |
5300 | ||
5301 | (F) A tied array claimed to have a negative number of elements, which | |
5302 | is not possible. | |
5303 | ||
5304 | =end original | |
5305 | ||
5306 | (F) tie された配列に対して負の番号の要素を要求されました; これは不可能です。 | |
5307 | ||
5308 | =item Field too wide in 'u' format in pack | |
5309 | ||
5310 | =begin original | |
5311 | ||
5312 | (W pack) Each line in an uuencoded string starts with a length indicator | |
5313 | which can't encode values above 63. So there is no point in asking for | |
5314 | a line length bigger than that. Perl will behave as if you specified | |
5315 | C<u63> as the format. | |
5316 | ||
5317 | =end original | |
5318 | ||
5319 | (W pack) uuencode された文字列の各行が、63 以上にエンコードできない | |
5320 | 長さ識別子から始まっています。 | |
5321 | それで、これより長い行の長さを問い合わせるところがありません。 | |
5322 | Perl はフォーマットとして C<u63> が指定されたかのように振る舞います。 | |
5323 | ||
5324 | 3197 | =item Filehandle %s opened only for input |
5325 | 3198 | |
5326 | 3199 | =begin original |
5327 | 3200 | |
5328 | (W io) You tried to write on a read-only filehandle. If you intended | |
3201 | (W io) You tried to write on a read-only filehandle. If you intended it | |
5329 | ||
3202 | to be a read-write filehandle, you needed to open it with "+<" or "+>" | |
5330 | ||
3203 | or "+>>" instead of with "<" or nothing. If you intended only to write | |
5331 | ||
3204 | the file, use ">" or ">>". See L<perlfunc/open>. | |
5332 | 3205 | |
5333 | 3206 | =end original |
5334 | 3207 | |
5335 | 3208 | (W io) リードオンリーのファイルハンドルに対して、書込みを行なおうとしました。 |
5336 | 3209 | 読み書き両用ファイルハンドルにしたいのであれば、"<" を付けたり、 |
5337 | 3210 | 何も付けなかったりするのではなく、"+<" や "+>" や "+>>" を付けて |
5338 | 3211 | open する必要があります。 |
5339 | 3212 | ライトオンリーであれば、">" や ">>" を使ってください。 |
5340 | L<perlfunc/open> を参照してください。 | |
3213 | L<perlfunc/open> の項を参照してください。 | |
5341 | 3214 | |
5342 | 3215 | =item Filehandle %s opened only for output |
5343 | 3216 | |
5344 | 3217 | =begin original |
5345 | 3218 | |
5346 | (W io) You tried to read from a filehandle opened only for writing | |
3219 | (W io) You tried to read from a filehandle opened only for writing. If | |
5347 | 3220 | you intended it to be a read/write filehandle, you needed to open it |
5348 | with "+<" or "+>" or "+>>" instead of with " | |
3221 | with "+<" or "+>" or "+>>" instead of with "<" or nothing. If you | |
5349 | read from the file, use "<". See L<perlfunc/open>. | |
3222 | intended only to read from the file, use "<". See L<perlfunc/open>. | |
5350 | is that you attempted to open filedescriptor 0 (also known as STDIN) for | |
5351 | output (maybe you closed STDIN earlier?). | |
5352 | 3223 | |
5353 | 3224 | =end original |
5354 | 3225 | |
5355 | (W io) 書き込み専用のファイルハンドルから読み込もうとしました | |
3226 | (W io) 書き込み専用のファイルハンドルから読み込もうとしました。 | |
5356 | 読み書きできるファイルハンドルにしたい場合は、 | |
3227 | 読み書きできるファイルハンドルにしたい場合は、 | |
5357 | " | |
3228 | ファイルのオープン時に "<" や何もなしではなく、 | |
3229 | "+<" か "+>" か "+>>" をつける必要があります。 | |
5358 | 3230 | 読み込み専用にしたい場合は、"<" を使ってください。 |
5359 | 3231 | L<perlfunc/open> を参照してください。 |
5360 | 他の可能性としては、ファイル記述子 0 (STDIN としても知られています) を | |
5361 | 出力用に開こうとした場合(おそらくその前に STDIN を閉じたのでは?)です。 | |
5362 | 3232 | |
5363 | =item Fi | |
3233 | =item Final $ should be \$ or $name | |
5364 | 3234 | |
5365 | 3235 | =begin original |
5366 | 3236 | |
5367 | ( | |
3237 | (F) You must now decide whether the final $ in a string was meant to be | |
5368 | a | |
3238 | a literal dollar sign, or was meant to introduce a variable name that | |
5369 | p | |
3239 | happens to be missing. So you have to put either the backslash or the | |
3240 | name. | |
5370 | 3241 | |
5371 | 3242 | =end original |
5372 | 3243 | |
5373 | ( | |
3244 | (F) 文字列の最後の $ が、リテラルのドル記号なのか、変数名を入れようとして | |
5374 | ||
3245 | 忘れたのかを、はっきりさせなければなりません。 | |
5375 | ||
3246 | バックスラッシュを付けるか、名前を入れてください。 | |
5376 | 3247 | |
5377 | =item Fi | |
3248 | =item Final @ should be \@ or @name | |
5378 | 3249 | |
5379 | 3250 | =begin original |
5380 | 3251 | |
5381 | ( | |
3252 | (F) You must now decide whether the final @ in a string was meant to be | |
5382 | a | |
3253 | a literal "at" sign, or was meant to introduce a variable name that | |
5383 | ||
5384 | =end original | |
5385 | ||
5386 | (W io) STDIN として使われていたのと同じファイルハンドル ID の | |
5387 | ファイルハンドルを書き込み用に開こうとしました。 | |
5388 | これは、以前 STDIN を閉じたときに起きます。 | |
5389 | ||
5390 | =item Final $ should be \$ or $name | |
5391 | ||
5392 | =begin original | |
5393 | ||
5394 | (F) You must now decide whether the final $ in a string was meant to be | |
5395 | a literal dollar sign, or was meant to introduce a variable name that | |
5396 | 3254 | happens to be missing. So you have to put either the backslash or the |
5397 | 3255 | name. |
5398 | 3256 | |
5399 | 3257 | =end original |
5400 | 3258 | |
5401 | (F) 文字列の最後の | |
3259 | (F) 文字列の最後の @ が、リテラルのアットマークなのか、変数名を | |
5402 | 忘れたのかを、はっきりさせなければなりません。 | |
3260 | 入れようとして忘れたのかを、はっきりさせなければなりません。 | |
5403 | 3261 | バックスラッシュを付けるか、名前を入れてください。 |
5404 | 3262 | |
5405 | 3263 | =item flock() on closed filehandle %s |
5406 | 3264 | |
5407 | 3265 | =begin original |
5408 | 3266 | |
5409 | 3267 | (W closed) The filehandle you're attempting to flock() got itself closed |
5410 | some time before now. Check your | |
3268 | some time before now. Check your logic flow. flock() operates on | |
5411 | 3269 | filehandles. Are you attempting to call flock() on a dirhandle by the |
5412 | 3270 | same name? |
5413 | 3271 | |
5414 | 3272 | =end original |
5415 | 3273 | |
5416 | 3274 | (W closed) flock() しようとしたファイルハンドルはその前に既に |
5417 | 3275 | 閉じられています。 |
5418 | ||
3276 | 論理フローをチェックしてください。 | |
5419 | 3277 | flock() はファイルハンドルを操作します。 |
5420 | 3278 | 同じ名前のディレクトリハンドルに flock() しようとしていませんか? |
5421 | 3279 | |
3280 | =item Quantifier follows nothing before << HERE in regex m/%s/ | |
3281 | ||
3282 | =begin original | |
3283 | ||
3284 | (F) You started a regular expression with a quantifier. Backslash it if you | |
3285 | meant it literally. The << HERE shows in the regular expression about where the | |
3286 | problem was discovered. See L<perlre>. | |
3287 | ||
3288 | =end original | |
3289 | ||
3290 | (F) 正規表現を量指定子で開始しています。 | |
3291 | もしそれをリテラルに使いたいなら、バックスラッシュでクォートしてください。 | |
3292 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
3293 | L<perlre> を参照してください。 | |
3294 | ||
5422 | 3295 | =item Format not terminated |
5423 | 3296 | |
5424 | 3297 | =begin original |
5425 | 3298 | |
5426 | 3299 | (F) A format must be terminated by a line with a solitary dot. Perl got |
5427 | 3300 | to the end of your file without finding such a line. |
5428 | 3301 | |
5429 | 3302 | =end original |
5430 | 3303 | |
5431 | 3304 | (F) フォーマットは、単独のドットだけからなる行で終わらなければなりません。 |
5432 | 3305 | そのような行が見つからないまま、スクリプトの最後に行き当たってしまいました。 |
5433 | 3306 | |
5434 | 3307 | =item Format %s redefined |
5435 | 3308 | |
5436 | 3309 | =begin original |
5437 | 3310 | |
5438 | 3311 | (W redefine) You redefined a format. To suppress this warning, say |
5439 | 3312 | |
5440 | 3313 | =end original |
5441 | 3314 | |
5442 | 3315 | (W redefine) フォーマットを再定義しました。 |
5443 | この警告を止めるには以下のようにしてください | |
3316 | この警告を止めるには以下のようにしてください。 | |
5444 | 3317 | |
5445 | 3318 | { |
5446 | no warnings | |
3319 | no warnings; | |
5447 | 3320 | eval "format NAME =..."; |
5448 | 3321 | } |
5449 | 3322 | |
5450 | 3323 | =item Found = in conditional, should be == |
5451 | 3324 | |
5452 | 3325 | =begin original |
5453 | 3326 | |
5454 | 3327 | (W syntax) You said |
5455 | 3328 | |
5456 | 3329 | =end original |
5457 | 3330 | |
5458 | 3331 | (W) 以下のようにしています: |
5459 | 3332 | |
5460 | 3333 | if ($foo = 123) |
5461 | 3334 | |
5462 | 3335 | =begin original |
5463 | 3336 | |
5464 | 3337 | when you meant |
5465 | 3338 | |
5466 | 3339 | =end original |
5467 | 3340 | |
5468 | 以下のようにすべきで | |
3341 | 以下のようにするべきところでしょう: | |
5469 | 3342 | |
5470 | 3343 | if ($foo == 123) |
5471 | 3344 | |
5472 | 3345 | =begin original |
5473 | 3346 | |
5474 | 3347 | (or something like that). |
5475 | 3348 | |
5476 | 3349 | =end original |
5477 | 3350 | |
5478 | 3351 | (あるいは似たようなこと)。 |
5479 | 3352 | |
5480 | 3353 | =item %s found where operator expected |
5481 | 3354 | |
5482 | 3355 | =begin original |
5483 | 3356 | |
5484 | (S | |
3357 | (S) The Perl lexer knows whether to expect a term or an operator. If it | |
5485 | ||
3358 | sees what it knows to be a term when it was expecting to see an | |
5486 | 3359 | operator, it gives you this warning. Usually it indicates that an |
5487 | 3360 | operator or delimiter was omitted, such as a semicolon. |
5488 | 3361 | |
5489 | 3362 | =end original |
5490 | 3363 | |
5491 | (S | |
3364 | (S) Perl の字句解析部は、次に項が来るか、演算子が来るかを知っています。 | |
5492 | 知っています。 | |
5493 | 3365 | 次に演算子が来ると思っているときに、項であるとわかるものが現れると、 |
5494 | 3366 | この警告が出ることになります。 |
5495 | 3367 | 通常、演算子かセミコロンのような区切り文字が省略されたことをしめします。 |
5496 | 3368 | |
5497 | 3369 | =item gdbm store returned %d, errno %d, key "%s" |
5498 | 3370 | |
5499 | 3371 | =begin original |
5500 | 3372 | |
5501 | 3373 | (S) A warning from the GDBM_File extension that a store failed. |
5502 | 3374 | |
5503 | 3375 | =end original |
5504 | 3376 | |
5505 | 3377 | (S) GDBM_File 拡張モジュールが、値の設定に失敗したという警告です。 |
5506 | 3378 | |
5507 | 3379 | =item gethostent not implemented |
5508 | 3380 | |
5509 | 3381 | =begin original |
5510 | 3382 | |
5511 | 3383 | (F) Your C library apparently doesn't implement gethostent(), probably |
5512 | 3384 | because if it did, it'd feel morally obligated to return every hostname |
5513 | 3385 | on the Internet. |
5514 | 3386 | |
5515 | 3387 | =end original |
5516 | 3388 | |
5517 | (F) C ライブラリに gethostent() が実装されていないようです | |
3389 | (F) C ライブラリに gethostent() が実装されていないようです。 | |
5518 | 3390 | おそらく、実装すると Internet 上のすべてのホスト名を |
5519 | 3391 | 返さなければいけないと思っているのでしょう。 |
5520 | 3392 | |
5521 | 3393 | =item get%sname() on closed socket %s |
5522 | 3394 | |
5523 | 3395 | =begin original |
5524 | 3396 | |
5525 | 3397 | (W closed) You tried to get a socket or peer socket name on a closed |
5526 | 3398 | socket. Did you forget to check the return value of your socket() call? |
5527 | 3399 | |
5528 | 3400 | =end original |
5529 | 3401 | |
5530 | 3402 | (W closed) 閉じたソケットに対してソケットやピアソケット名を取得しようと |
5531 | 3403 | しました。 |
5532 | 3404 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか? |
5533 | 3405 | |
5534 | 3406 | =item getpwnam returned invalid UIC %#o for user "%s" |
5535 | 3407 | |
5536 | 3408 | =begin original |
5537 | 3409 | |
5538 | 3410 | (S) A warning peculiar to VMS. The call to C<sys$getuai> underlying the |
5539 | 3411 | C<getpwnam> operator returned an invalid UIC. |
5540 | 3412 | |
5541 | 3413 | =end original |
5542 | 3414 | |
5543 | 3415 | (S) VMS に固有の警告です。 |
5544 | 3416 | C<getpwnam> 演算子の基礎となる C<sys$getuai> 呼び出しで |
5545 | 3417 | 不正な UIC が返されました。 |
5546 | 3418 | |
5547 | 3419 | =item getsockopt() on closed socket %s |
5548 | 3420 | |
5549 | 3421 | =begin original |
5550 | 3422 | |
5551 | 3423 | (W closed) You tried to get a socket option on a closed socket. Did you |
5552 | 3424 | forget to check the return value of your socket() call? See |
5553 | 3425 | L<perlfunc/getsockopt>. |
5554 | 3426 | |
5555 | 3427 | =end original |
5556 | 3428 | |
5557 | 3429 | (W clockd) クローズされたソケットのソケットオプションを取得しようとしました。 |
5558 | 3430 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
5559 | 3431 | L<perlfunc/getsockopt> を参照してください。 |
5560 | 3432 | |
5561 | =item | |
3433 | =item Global symbol "%s" requires explicit package name | |
5562 | 3434 | |
5563 | 3435 | =begin original |
5564 | 3436 | |
5565 | ( | |
3437 | (F) You've said "use strict vars", which indicates that all variables | |
5566 | ||
3438 | must either be lexically scoped (using "my"), declared beforehand using | |
5567 | ||
3439 | "our", or explicitly qualified to say which package the global variable | |
5568 | ||
3440 | is in (using "::"). | |
5569 | 3441 | |
5570 | 3442 | =end original |
5571 | 3443 | |
5572 | ( | |
3444 | (F) "use strict vars" が指定されていますので、すべての変数は、 | |
5573 | ||
3445 | ("my" を使った) 字句スコープの変数か、"our" を使って事前に宣言するか、 | |
5574 | ||
3446 | グローバル変数がどのパッケージのものかを ("::" を使って)、明示的に | |
5575 | ||
3447 | 修飾しなくてはなりません。 | |
5576 | 3448 | |
5577 | =item Global symbol "%s" requires explicit package name (did you forget to | |
5578 | declare "my %s"?) | |
5579 | ||
5580 | =begin original | |
5581 | ||
5582 | (F) You've said "use strict" or "use strict vars", which indicates | |
5583 | that all variables must either be lexically scoped (using "my" or "state"), | |
5584 | declared beforehand using "our", or explicitly qualified to say | |
5585 | which package the global variable is in (using "::"). | |
5586 | ||
5587 | =end original | |
5588 | ||
5589 | (F) "use strict" か "use strict vars" が指定されていますので、すべての変数は | |
5590 | ("my" か "state" を使った) レキシカルスコープの変数か、"our" を使って事前に | |
5591 | 宣言するか、グローバル変数がどのパッケージのものかを ("::" を使って)、 | |
5592 | 明示的に修飾しなくてはなりません。 | |
5593 | ||
5594 | 3449 | =item glob failed (%s) |
5595 | 3450 | |
5596 | 3451 | =begin original |
5597 | 3452 | |
5598 | ( | |
3453 | (W glob) Something went wrong with the external program(s) used for | |
5599 | ||
3454 | C<glob> and C<< <*.c> >>. Usually, this means that you supplied a | |
5600 | pattern that caused the external program to fail and exit with a | |
3455 | C<glob> pattern that caused the external program to fail and exit with a | |
5601 | 3456 | nonzero status. If the message indicates that the abnormal exit |
5602 | resulted in a coredump, this may also mean that your csh (C shell) | |
3457 | resulted in a coredump, this may also mean that your csh (C shell) is | |
5603 | ||
3458 | broken. If so, you should change all of the csh-related variables in | |
5604 | ||
3459 | config.sh: If you have tcsh, make the variables refer to it as if it | |
5605 | ||
3460 | were csh (e.g. C<full_csh='/usr/bin/tcsh'>); otherwise, make them all | |
5606 | ||
3461 | empty (except that C<d_csh> should be C<'undef'>) so that Perl will | |
5607 | 3462 | think csh is missing. In either case, after editing config.sh, run |
5608 | 3463 | C<./Configure -S> and rebuild Perl. |
5609 | 3464 | |
5610 | 3465 | =end original |
5611 | 3466 | |
5612 | ( | |
3467 | (W glob) C<glob> や C<< <*.c> >> のために使われる外部プログラムに何か問題が | |
5613 | 3468 | 発生しました。 |
5614 | 3469 | 通常、これは外部プログラムが失敗して非 0 のステータスで終了するような |
5615 | 3470 | C<glob> パターンが渡されたことを意味します。 |
5616 | 3471 | このメッセージがコアダンプを引きおこした異常終了を示している場合、 |
5617 | 3472 | csh (C シェル) が壊れていることを意味しているかもしれません。 |
5618 | 3473 | もしそうなら、config.sh の全ての csh 関連の変数を変更するべきです: |
5619 | 3474 | もし tcsh があるなら、(C<full_csh='/usr/bin/tcsh'> のように) tcsh を |
5620 | 3475 | 参照するように変数を設定します; |
5621 | 3476 | さもなければ、関連する全ての変数を空にする(例外として C<d_csh> は |
5622 | 3477 | C<'undef'> に設定するべきです)ことで、Perl は csh がないものと考えます。 |
5623 | 3478 | どちらの場合でも、config.sh を修正した後、C<./Configure -S> を実行して |
5624 | 3479 | Perl を再ビルドしてください。 |
5625 | 3480 | |
5626 | 3481 | =item Glob not terminated |
5627 | 3482 | |
5628 | 3483 | =begin original |
5629 | 3484 | |
5630 | 3485 | (F) The lexer saw a left angle bracket in a place where it was expecting |
5631 | 3486 | a term, so it's looking for the corresponding right angle bracket, and |
5632 | 3487 | not finding it. Chances are you left some needed parentheses out |
5633 | 3488 | earlier in the line, and you really meant a "less than". |
5634 | 3489 | |
5635 | 3490 | =end original |
5636 | 3491 | |
5637 | (F) 項が必要とされるところで、開き山 | |
3492 | (F) 項が必要とされるところで、開き山括弧が見つけたため、 | |
5638 | 対応する閉じ山 | |
3493 | 対応する閉じ山括弧を探しましたが、見つかりませんでした。 | |
5639 | 可能性としては、必要な | |
3494 | 可能性としては、必要な括弧を省いてしまい、本当は、「小なり記号」を | |
5640 | 3495 | 表したかった場合が考えられます。 |
5641 | 3496 | |
5642 | =item gmtime(%f) failed | |
5643 | ||
5644 | =begin original | |
5645 | ||
5646 | (W overflow) You called C<gmtime> with a number that it could not handle: | |
5647 | too large, too small, or NaN. The returned value is C<undef>. | |
5648 | ||
5649 | =end original | |
5650 | ||
5651 | (W overflow) 扱えない数値で C<gmtime> を呼び出しました: 大きすぎたり | |
5652 | 小さすぎたり NaN だったりです。 | |
5653 | 返り値は C<undef> です。 | |
5654 | ||
5655 | =item gmtime(%f) too large | |
5656 | ||
5657 | =begin original | |
5658 | ||
5659 | (W overflow) You called C<gmtime> with a number that was larger than | |
5660 | it can reliably handle and C<gmtime> probably returned the wrong | |
5661 | date. This warning is also triggered with NaN (the special | |
5662 | not-a-number value). | |
5663 | ||
5664 | =end original | |
5665 | ||
5666 | (W overflow) 確実に扱えるよりも大きい数値の引数で C<gmtime> を呼び出して、 | |
5667 | おそらく間違った日付が返されました。 | |
5668 | この警告は、NaN (特殊な非数) でも引き起こされます。 | |
5669 | ||
5670 | =item gmtime(%f) too small | |
5671 | ||
5672 | =begin original | |
5673 | ||
5674 | (W overflow) You called C<gmtime> with a number that was smaller than | |
5675 | it can reliably handle and C<gmtime> probably returned the wrong date. | |
5676 | ||
5677 | =end original | |
5678 | ||
5679 | (W overflow) 確実に扱えるよりも大きい数値の引数で C<gmtime> を呼び出して、 | |
5680 | おそらく間違った日付が返されました。 | |
5681 | ||
5682 | 3497 | =item Got an error from DosAllocMem |
5683 | 3498 | |
5684 | 3499 | =begin original |
5685 | 3500 | |
5686 | 3501 | (P) An error peculiar to OS/2. Most probably you're using an obsolete |
5687 | 3502 | version of Perl, and this should not happen anyway. |
5688 | 3503 | |
5689 | 3504 | =end original |
5690 | 3505 | |
5691 | 3506 | (P) OS/2 に固有のエラーです。 |
5692 | 3507 | もっともありそうなのは廃止されたバージョンの Perl を使っていることで、 |
5693 | 3508 | どちらにしてもこのエラーは起きないはずです。 |
5694 | 3509 | |
5695 | 3510 | =item goto must have label |
5696 | 3511 | |
5697 | 3512 | =begin original |
5698 | 3513 | |
5699 | 3514 | (F) Unlike with "next" or "last", you're not allowed to goto an |
5700 | 3515 | unspecified destination. See L<perlfunc/goto>. |
5701 | 3516 | |
5702 | 3517 | =end original |
5703 | 3518 | |
5704 | 3519 | (F) "next" や "last" とは違って、goto には必ず、飛び先を |
5705 | 3520 | 指定しなくてはなりません。 |
5706 | 3521 | L<perlfunc/goto> を参照してください。 |
5707 | 3522 | |
5708 | =item | |
3523 | =item %s had compilation errors | |
5709 | 3524 | |
5710 | 3525 | =begin original |
5711 | 3526 | |
5712 | (F) You tried to call a subroutine with C<goto &sub> syntax, but | |
5713 | the indicated subroutine hasn't been defined, or if it was, it | |
5714 | has since been undefined. | |
5715 | ||
5716 | =end original | |
5717 | ||
5718 | (F) C<goto &sub> 文法でサブルーチンを呼び出そうとしましたが、示された | |
5719 | サブルーチンは定義されていないか、定義されていましたが未定義化されました。 | |
5720 | ||
5721 | =item Group name must start with a non-digit word character in regex; marked by | |
5722 | S<<-- HERE> in m/%s/ | |
5723 | ||
5724 | =begin original | |
5725 | ||
5726 | (F) Group names must follow the rules for perl identifiers, meaning | |
5727 | they must start with a non-digit word character. A common cause of | |
5728 | this error is using (?&0) instead of (?0). See L<perlre>. | |
5729 | ||
5730 | =end original | |
5731 | ||
5732 | (F) グループ名は perl 識別子の規則に従う必要があり、非数値単語文字で | |
5733 | 始まらなければなりません。 | |
5734 | このエラーのよくある原因は (?0) ではなく (?&0) を使うことです。 | |
5735 | L<perlre> を参照してください。 | |
5736 | ||
5737 | =item ()-group starts with a count | |
5738 | ||
5739 | =begin original | |
5740 | ||
5741 | (F) A ()-group started with a count. A count is supposed to follow | |
5742 | something: a template character or a ()-group. See L<perlfunc/pack>. | |
5743 | ||
5744 | =end original | |
5745 | ||
5746 | (F) () グループが繰り返し数で始まっています。 | |
5747 | 繰り返し数は、テンプレート文字か () グループの後に続くことを想定しています。 | |
5748 | L<perlfunc/pack> を参照してください。 | |
5749 | ||
5750 | =item %s had compilation errors. | |
5751 | ||
5752 | =begin original | |
5753 | ||
5754 | 3527 | (F) The final summary message when a C<perl -c> fails. |
5755 | 3528 | |
5756 | 3529 | =end original |
5757 | 3530 | |
5758 | 3531 | (F) C<perl -c> が失敗したときの最終まとめメッセージです。 |
5759 | 3532 | |
5760 | 3533 | =item Had to create %s unexpectedly |
5761 | 3534 | |
5762 | 3535 | =begin original |
5763 | 3536 | |
5764 | 3537 | (S internal) A routine asked for a symbol from a symbol table that ought |
5765 | 3538 | to have existed already, but for some reason it didn't, and had to be |
5766 | 3539 | created on an emergency basis to prevent a core dump. |
5767 | 3540 | |
5768 | 3541 | =end original |
5769 | 3542 | |
5770 | 3543 | (S internal) あるルーティンが、既に存在しているはずのシンボルを、 |
5771 | 3544 | シンボルテーブルで探しましたが、何らかの理由で存在せず、 |
5772 | 3545 | コアダンプを避けるために、緊急に生成しました。 |
5773 | 3546 | |
5774 | =item %s | |
3547 | =item Hash %%s missing the % in argument %d of %s() | |
5775 | 3548 | |
5776 | 3549 | =begin original |
5777 | 3550 | |
5778 | ( | |
3551 | (D deprecated) Really old Perl let you omit the % on hash names in some | |
5779 | ||
3552 | spots. This is now heavily deprecated. | |
5780 | 3553 | |
5781 | 3554 | =end original |
5782 | 3555 | |
5783 | ( | |
3556 | (D deprecated) 本当に古い Perl では、ハッシュ名の % を省略できる場所が | |
5784 | ||
3557 | ありました。 | |
5785 | ||
3558 | 省略はしないようにしてください。 | |
5786 | 3559 | |
5787 | =item | |
3560 | =item %s has too many errors | |
5788 | 3561 | |
5789 | 3562 | =begin original |
5790 | 3563 | |
5791 | ( | |
3564 | (F) The parser has given up trying to parse the program after 10 errors. | |
5792 | ||
3565 | Further error messages would likely be uninformative. | |
5793 | do this with this particular modifier, to allow future extensions to the | |
5794 | Perl language. | |
5795 | 3566 | |
5796 | 3567 | =end original |
5797 | 3568 | |
5798 | ( | |
3569 | (F) 構文解析部が、プログラム中に 10 個のエラーを見つけたため、 | |
5799 | ||
3570 | それ以上の解析を諦めました。 | |
5800 | ||
3571 | それ以上のエラーメッセージは、おそらく意味がないでしょう。 | |
5801 | この特定の修飾子を使って行うことは廃止予定です。 | |
5802 | 3572 | |
5803 | =item Hexadecimal float: exponent overflow | |
5804 | ||
5805 | =begin original | |
5806 | ||
5807 | (W overflow) The hexadecimal floating point has a larger exponent | |
5808 | than the floating point supports. | |
5809 | ||
5810 | =end original | |
5811 | ||
5812 | (W overflow) 16 進浮動小数点数は、対応している浮動小数点数よりも大きな | |
5813 | 指数を持っています。 | |
5814 | ||
5815 | =item Hexadecimal float: exponent underflow | |
5816 | ||
5817 | =begin original | |
5818 | ||
5819 | (W overflow) The hexadecimal floating point has a smaller exponent | |
5820 | than the floating point supports. | |
5821 | ||
5822 | =end original | |
5823 | ||
5824 | (W overflow) 16 進浮動小数点数は、対応している浮動小数点数よりも大きな | |
5825 | 指数を持っています。 | |
5826 | ||
5827 | =item Hexadecimal float: internal error (%s) | |
5828 | ||
5829 | =begin original | |
5830 | ||
5831 | (F) Something went horribly bad in hexadecimal float handling. | |
5832 | ||
5833 | =end original | |
5834 | ||
5835 | (F) 16 進浮動小数点の扱いにおいて何かが恐ろしくおかしくなりました。 | |
5836 | ||
5837 | =item Hexadecimal float: mantissa overflow | |
5838 | ||
5839 | =begin original | |
5840 | ||
5841 | (W overflow) The hexadecimal floating point literal had more bits in | |
5842 | the mantissa (the part between the 0x and the exponent, also known as | |
5843 | the fraction or the significand) than the floating point supports. | |
5844 | ||
5845 | =end original | |
5846 | ||
5847 | (W overflow) 16 進浮動小数点数リテラルは、仮数部 (0x と指数部の間の部分) に | |
5848 | 浮動小数点数が対応しているよりも多いビット数があります。 | |
5849 | ||
5850 | =item Hexadecimal float: precision loss | |
5851 | ||
5852 | =begin original | |
5853 | ||
5854 | (W overflow) The hexadecimal floating point had internally more | |
5855 | digits than could be output. This can be caused by unsupported | |
5856 | long double formats, or by 64-bit integers not being available | |
5857 | (needed to retrieve the digits under some configurations). | |
5858 | ||
5859 | =end original | |
5860 | ||
5861 | (W overflow) 16 進浮動小数点数リテラルは内部では出力可能なものより | |
5862 | 多くの桁数を保持しています。 | |
5863 | これは未対応の long double 形式や、(設定によっては受け取る必要のある) | |
5864 | 利用できない 64 ビット整数によって引き起こされます。 | |
5865 | ||
5866 | =item Hexadecimal float: unsupported long double format | |
5867 | ||
5868 | =begin original | |
5869 | ||
5870 | (F) You have configured Perl to use long doubles but | |
5871 | the internals of the long double format are unknown; | |
5872 | therefore the hexadecimal float output is impossible. | |
5873 | ||
5874 | =end original | |
5875 | ||
5876 | (F) long double を使うように設定された Perl を使っていますが、 | |
5877 | long double の内部形式が不明です; 従って 16 進浮動小数点数出力は | |
5878 | 不可能です。 | |
5879 | ||
5880 | 3573 | =item Hexadecimal number > 0xffffffff non-portable |
5881 | 3574 | |
5882 | 3575 | =begin original |
5883 | 3576 | |
5884 | 3577 | (W portable) The hexadecimal number you specified is larger than 2**32-1 |
5885 | 3578 | (4294967295) and therefore non-portable between systems. See |
5886 | 3579 | L<perlport> for more on portability concerns. |
5887 | 3580 | |
5888 | 3581 | =end original |
5889 | 3582 | |
5890 | 3583 | (W portable) 指定した 16 進数が 2**32-1 (4294967295) より大きいので、 |
5891 | 3584 | システム間で移植性がありません。 |
5892 | 3585 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
5893 | 3586 | |
5894 | 3587 | =item Identifier too long |
5895 | 3588 | |
5896 | 3589 | =begin original |
5897 | 3590 | |
5898 | 3591 | (F) Perl limits identifiers (names for variables, functions, etc.) to |
5899 | 3592 | about 250 characters for simple names, and somewhat more for compound |
5900 | 3593 | names (like C<$A::B>). You've exceeded Perl's limits. Future versions |
5901 | 3594 | of Perl are likely to eliminate these arbitrary limitations. |
5902 | 3595 | |
5903 | 3596 | =end original |
5904 | 3597 | |
5905 | 3598 | (F) Perl は識別子(変数名や関数名など)について、単純な名前については |
5906 | 3599 | およそ 250 文字に、(C<$A::B> のような)複合名についてはもう少し長い長さに |
5907 | 3600 | 制限しています。 |
5908 | 3601 | この Perl の制限を越えました。 |
5909 | 3602 | 将来のバージョンの Perl ではこれらの恣意的な制限はなくなるでしょう。 |
5910 | 3603 | |
5911 | =item Ignoring zero length \N{} in character class in regex; marked by | |
5912 | S<<-- HERE> in m/%s/ | |
5913 | ||
5914 | =begin original | |
5915 | ||
5916 | (W regexp) Named Unicode character escapes (C<\N{...}>) may return a | |
5917 | zero-length sequence. When such an escape is used in a character | |
5918 | class its behavior is not well defined. Check that the correct | |
5919 | escape has been used, and the correct charname handler is in scope. | |
5920 | ||
5921 | =end original | |
5922 | ||
5923 | (W regexp) 名前付き Unicode 文字エスケープ (C<\N{...}>) が長さ 0 の | |
5924 | シーケンスを返しました。 | |
5925 | 文字クラスでこのようなエスケープが使われた場合、振る舞いは未定義です。 | |
5926 | 正しいエスケープを使っているか、および正しい文字名ハンドラがスコープ内に | |
5927 | あるかをチェックしてください。 | |
5928 | ||
5929 | 3604 | =item Illegal binary digit %s |
5930 | 3605 | |
5931 | 3606 | =begin original |
5932 | 3607 | |
5933 | 3608 | (F) You used a digit other than 0 or 1 in a binary number. |
5934 | 3609 | |
5935 | 3610 | =end original |
5936 | 3611 | |
5937 | 3612 | (F) 2 進数として 0 と 1 以外の数値を使っています。 |
5938 | 3613 | |
5939 | 3614 | =item Illegal binary digit %s ignored |
5940 | 3615 | |
5941 | 3616 | =begin original |
5942 | 3617 | |
5943 | 3618 | (W digit) You may have tried to use a digit other than 0 or 1 in a |
5944 | 3619 | binary number. Interpretation of the binary number stopped before the |
5945 | 3620 | offending digit. |
5946 | 3621 | |
5947 | 3622 | =end original |
5948 | 3623 | |
5949 | 3624 | (W digit) 2 進数として 0 と 1 以外の数値を使おうとしたのでしょう。 |
5950 | 3625 | 2 進数の解釈は問題のある数値の手前で停止しました。 |
5951 | 3626 | |
5952 | =item Illegal character a | |
3627 | =item Illegal character %s (carriage return) | |
5953 | 3628 | |
5954 | 3629 | =begin original |
5955 | 3630 | |
5956 | (W illegalproto) An illegal character was found in a prototype | |
5957 | declaration. The '_' in a prototype must be followed by a ';', | |
5958 | indicating the rest of the parameters are optional, or one of '@' | |
5959 | or '%', since those two will accept 0 or more final parameters. | |
5960 | ||
5961 | =end original | |
5962 | ||
5963 | (W illegalproto) プロトタイプ宣言に無効な文字が見つかりました。 | |
5964 | プロトタイプの中の '_' は、残りの引数がオプションであることを示すために | |
5965 | ';' が引き続くか、'@' か '%' の一つでなければなりません; | |
5966 | これら二つは 0 以上の末尾の引数を受け付けるからです。 | |
5967 | ||
5968 | =item Illegal character \%o (carriage return) | |
5969 | ||
5970 | =begin original | |
5971 | ||
5972 | 3631 | (F) Perl normally treats carriage returns in the program text as it |
5973 | 3632 | would any other whitespace, which means you should never see this error |
5974 | 3633 | when Perl was built using standard options. For some reason, your |
5975 | 3634 | version of Perl appears to have been built without this support. Talk |
5976 | 3635 | to your Perl administrator. |
5977 | 3636 | |
5978 | 3637 | =end original |
5979 | 3638 | |
5980 | 3639 | (F) Perl は普通プログラムテキスト中の復帰文字をその他の空白と同様に |
5981 | 3640 | 扱いますので、Perl を標準のオプションでビルドした場合はこのエラーを |
5982 | 3641 | 見ることは決してないはずです。 |
5983 | 3642 | どういうわけか、お使いの Perl はこの機能なしでビルドされているようです。 |
5984 | 3643 | Perl の管理者に問い合わせてください。 |
5985 | 3644 | |
5986 | =item Illegal character in prototype for %s : %s | |
5987 | ||
5988 | =begin original | |
5989 | ||
5990 | (W illegalproto) An illegal character was found in a prototype declaration. | |
5991 | Legal characters in prototypes are $, @, %, *, ;, [, ], &, \, and +. | |
5992 | Perhaps you were trying to write a subroutine signature but didn't enable | |
5993 | that feature first (C<use feature 'signatures'>), so your signature was | |
5994 | instead interpreted as a bad prototype. | |
5995 | ||
5996 | =end original | |
5997 | ||
5998 | (W illegalproto) プロトタイプ宣言に無効な文字が見つかりました。 | |
5999 | プロトタイプでの有効な文字は、$, @, %, *, ;, [, ], &, \, + です。 | |
6000 | おそらくサブルーチンシグネチャを書こうとしたけれども、先にこの機能を有効に | |
6001 | していなかった (C<use feature 'signatures'>) ので、シグネチャが間違った | |
6002 | プロトタイプとして解釈されたのでしょう。 | |
6003 | ||
6004 | =item Illegal declaration of anonymous subroutine | |
6005 | ||
6006 | =begin original | |
6007 | ||
6008 | (F) When using the C<sub> keyword to construct an anonymous subroutine, | |
6009 | you must always specify a block of code. See L<perlsub>. | |
6010 | ||
6011 | =end original | |
6012 | ||
6013 | (F) 無名サブルーチンを作るために C<sub> を使ったときは、 | |
6014 | 常にコードのブロックを指定しなければなりません。 | |
6015 | L<perlsub> を参照してください。 | |
6016 | ||
6017 | =item Illegal declaration of subroutine %s | |
6018 | ||
6019 | =begin original | |
6020 | ||
6021 | (F) A subroutine was not declared correctly. See L<perlsub>. | |
6022 | ||
6023 | =end original | |
6024 | ||
6025 | (F) サブルーチンが正しく宣言されていません。 | |
6026 | L<perlsub> を参照してください。 | |
6027 | ||
6028 | 3645 | =item Illegal division by zero |
6029 | 3646 | |
6030 | 3647 | =begin original |
6031 | 3648 | |
6032 | 3649 | (F) You tried to divide a number by 0. Either something was wrong in |
6033 | 3650 | your logic, or you need to put a conditional in to guard against |
6034 | 3651 | meaningless input. |
6035 | 3652 | |
6036 | 3653 | =end original |
6037 | 3654 | |
6038 | 3655 | (F) ゼロで割り算をしようとしました。 |
6039 | 3656 | ロジックの誤りか、意味の無い入力を防ぐために、条件を付けることが |
6040 | 3657 | 必要かのどちらかでしょう。 |
6041 | 3658 | |
6042 | 3659 | =item Illegal hexadecimal digit %s ignored |
6043 | 3660 | |
6044 | 3661 | =begin original |
6045 | 3662 | |
6046 | 3663 | (W digit) You may have tried to use a character other than 0 - 9 or |
6047 | 3664 | A - F, a - f in a hexadecimal number. Interpretation of the hexadecimal |
6048 | 3665 | number stopped before the illegal character. |
6049 | 3666 | |
6050 | 3667 | =end original |
6051 | 3668 | |
6052 | 3669 | (W digit) 16 進数として 0 - 9, A - F, a - f 以外の文字を使おうとしました。 |
6053 | 3670 | 16 進数の解釈は不正な文字の手前で停止しました。 |
6054 | 3671 | |
6055 | 3672 | =item Illegal modulus zero |
6056 | 3673 | |
6057 | 3674 | =begin original |
6058 | 3675 | |
6059 | 3676 | (F) You tried to divide a number by 0 to get the remainder. Most |
6060 | 3677 | numbers don't take to this kindly. |
6061 | 3678 | |
6062 | 3679 | =end original |
6063 | 3680 | |
6064 | 3681 | (F) 余りを求めるのに、ゼロで割り算をしようとしました。 |
6065 | 3682 | これは、ほとんどの数体系で受け入れられません。 |
6066 | 3683 | |
6067 | 3684 | =item Illegal number of bits in vec |
6068 | 3685 | |
6069 | 3686 | =begin original |
6070 | 3687 | |
6071 | 3688 | (F) The number of bits in vec() (the third argument) must be a power of |
6072 | 3689 | two from 1 to 32 (or 64, if your platform supports that). |
6073 | 3690 | |
6074 | 3691 | =end original |
6075 | 3692 | |
6076 | 3693 | (F) vec() のビット数 (第三引数) は 1 から 32 (プラットフォームが |
6077 | 3694 | 対応している場合は 64) までの、2 のべき乗でなければなりません。 |
6078 | 3695 | |
6079 | 3696 | =item Illegal octal digit %s |
6080 | 3697 | |
6081 | 3698 | =begin original |
6082 | 3699 | |
6083 | (F) You used an 8 or 9 in a | |
3700 | (F) You used an 8 or 9 in a octal number. | |
6084 | 3701 | |
6085 | 3702 | =end original |
6086 | 3703 | |
6087 | 3704 | (F) 8 進数で 8 か 9 を使いました。 |
6088 | 3705 | |
6089 | 3706 | =item Illegal octal digit %s ignored |
6090 | 3707 | |
6091 | 3708 | =begin original |
6092 | 3709 | |
6093 | (W digit) You may have tried to use an 8 or 9 in a | |
3710 | (W digit) You may have tried to use an 8 or 9 in a octal number. | |
6094 | 3711 | Interpretation of the octal number stopped before the 8 or 9. |
6095 | 3712 | |
6096 | 3713 | =end original |
6097 | 3714 | |
6098 | 3715 | (W digit) 8 進数で 8 か 9 を使おうとしたのでしょう。 |
6099 | 3716 | 8 進数の解釈は 8 か 9 の手前で停止しました。 |
6100 | 3717 | |
6101 | =item Illegal | |
3718 | =item Illegal switch in PERL5OPT: %s | |
6102 | 3719 | |
6103 | 3720 | =begin original |
6104 | 3721 | |
6105 | (F) You wrote something like | |
6106 | ||
6107 | =end original | |
6108 | ||
6109 | (F) 以下のようなものを書きました | |
6110 | ||
6111 | (?+foo) | |
6112 | ||
6113 | =begin original | |
6114 | ||
6115 | The C<"+"> is valid only when followed by digits, indicating a | |
6116 | capturing group. See | |
6117 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)>. | |
6118 | ||
6119 | =end original | |
6120 | ||
6121 | C<"+"> は捕捉グループを示すために数値が引き続く場合にのみ正当です。 | |
6122 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)> を | |
6123 | 参照してください。 | |
6124 | ||
6125 | =item Illegal suidscript | |
6126 | ||
6127 | =begin original | |
6128 | ||
6129 | (F) The script run under suidperl was somehow illegal. | |
6130 | ||
6131 | =end original | |
6132 | ||
6133 | (F) suidperl でのスクリプトの実行が何らかの理由で不正でした。 | |
6134 | ||
6135 | =item Illegal switch in PERL5OPT: -%c | |
6136 | ||
6137 | =begin original | |
6138 | ||
6139 | 3722 | (X) The PERL5OPT environment variable may only be used to set the |
6140 | following switches: B<-[ | |
3723 | following switches: B<-[DIMUdmw]>. | |
6141 | 3724 | |
6142 | 3725 | =end original |
6143 | 3726 | |
6144 | (X) PERL5OPT 環境変数で設定できるのは B<-[ | |
3727 | (X) PERL5OPT 環境変数で設定できるのは B<-[DIMUdmw]> の | |
3728 | オプションだけです。 | |
6145 | 3729 | |
6146 | =item Illegal user-defined property name | |
6147 | ||
6148 | =begin original | |
6149 | ||
6150 | (F) You specified a Unicode-like property name in a regular expression | |
6151 | pattern (using C<\p{}> or C<\P{}>) that Perl knows isn't an official | |
6152 | Unicode property, and was likely meant to be a user-defined property | |
6153 | name, but it can't be one of those, as they must begin with either C<In> | |
6154 | or C<Is>. Check the spelling. See also | |
6155 | L</Can't find Unicode property definition "%s">. | |
6156 | ||
6157 | =end original | |
6158 | ||
6159 | (F) (C<\p{}> や C<\P{}> を使って) 正規表現中に Perl が | |
6160 | 公式 Unicode 特性として知らない Unicode 風の特性姪を指定して、 | |
6161 | おそらくそれはユーザー定義特性を意味しているのでしょうが、 | |
6162 | しかし、それらは C<In> か C<Is> で始まっていなければならないので、 | |
6163 | そうなりません。 | |
6164 | スペルを確認してください。 | |
6165 | L</Can't find Unicode property definition "%s"> も参照してください。 | |
6166 | ||
6167 | 3730 | =item Ill-formed CRTL environ value "%s" |
6168 | 3731 | |
6169 | 3732 | =begin original |
6170 | 3733 | |
6171 | 3734 | (W internal) A warning peculiar to VMS. Perl tried to read the CRTL's |
6172 | 3735 | internal environ array, and encountered an element without the C<=> |
6173 | 3736 | delimiter used to separate keys from values. The element is ignored. |
6174 | 3737 | |
6175 | 3738 | =end original |
6176 | 3739 | |
6177 | (W internal) VMS | |
3740 | (W internal) VMS 固有の警告です。 | |
6178 | 3741 | Perl は CRTL の内部環境配列を読み込もうとしましたが、キーを値と |
6179 | 3742 | 分離するために使われている C<=> デリミタのない要素に遭遇しました。 |
6180 | 3743 | この要素は無視しました。 |
6181 | 3744 | |
6182 | 3745 | =item Ill-formed message in prime_env_iter: |%s| |
6183 | 3746 | |
6184 | 3747 | =begin original |
6185 | 3748 | |
6186 | 3749 | (W internal) A warning peculiar to VMS. Perl tried to read a logical |
6187 | 3750 | name or CLI symbol definition when preparing to iterate over %ENV, and |
6188 | 3751 | didn't see the expected delimiter between key and value, so the line was |
6189 | 3752 | ignored. |
6190 | 3753 | |
6191 | 3754 | =end original |
6192 | 3755 | |
6193 | (W internal) VMS | |
3756 | (W internal) VMS 固有の警告です。 | |
6194 | 3757 | Perl は %ENV を反復する準備したときに論理名や CLI シンボル定義を |
6195 | 3758 | 読み込もうとしましたが、キーと値の間のデリミタが見つからなかったので、 |
6196 | 3759 | その行は無視しました。 |
6197 | 3760 | |
6198 | 3761 | =item (in cleanup) %s |
6199 | 3762 | |
6200 | 3763 | =begin original |
6201 | 3764 | |
6202 | 3765 | (W misc) This prefix usually indicates that a DESTROY() method raised |
6203 | 3766 | the indicated exception. Since destructors are usually called by the |
6204 | 3767 | system at arbitrary points during execution, and often a vast number of |
6205 | 3768 | times, the warning is issued only once for any number of failures that |
6206 | 3769 | would otherwise result in the same message being repeated. |
6207 | 3770 | |
6208 | 3771 | =end original |
6209 | 3772 | |
6210 | 3773 | (W misc) この接頭辞は普通、示されている例外が DESTROY() メソッドで |
6211 | 3774 | 発生したことを示しています。 |
6212 | 3775 | デストラクタは普通実行中の任意の時点で呼び出され、しばしば大量に |
6213 | 3776 | 呼び出されるので、この警告は同じメッセージが繰り返されないように、 |
6214 | 3777 | 何回失敗しても一度だけ発生します。 |
6215 | 3778 | |
6216 | 3779 | =begin original |
6217 | 3780 | |
6218 | 3781 | Failure of user callbacks dispatched using the C<G_KEEPERR> flag could |
6219 | 3782 | also result in this warning. See L<perlcall/G_KEEPERR>. |
6220 | 3783 | |
6221 | 3784 | =end original |
6222 | 3785 | |
6223 | C<G_KEEPERR> フラグを使って | |
3786 | C<G_KEEPERR> フラグを使ってディスパッチしたユーザーコールバックに失敗した | |
6224 | 3787 | 場合にもこの警告が出ることがあります。 |
6225 | 3788 | L<perlcall/G_KEEPERR> を参照してください。 |
6226 | 3789 | |
6227 | =item Incomplete expression within '(?[ ])' in regex; marked by S<<-- HERE> | |
6228 | in m/%s/ | |
6229 | ||
6230 | =begin original | |
6231 | ||
6232 | (F) There was a syntax error within the C<(?[ ])>. This can happen if the | |
6233 | expression inside the construct was completely empty, or if there are | |
6234 | too many or few operands for the number of operators. Perl is not smart | |
6235 | enough to give you a more precise indication as to what is wrong. | |
6236 | ||
6237 | =end original | |
6238 | ||
6239 | (F) これは C<(?[ ])> の中の文法エラーです。 | |
6240 | これは、この構文の中の式が完全に空か、演算子の数に対してオペランドが多すぎたり | |
6241 | 少なすぎたりする場合に起こります。 | |
6242 | Perl は、何が悪いのかをより正確に示せるほど賢くはありませんでした。 | |
6243 | ||
6244 | =item Inconsistent hierarchy during C3 merge of class '%s': merging failed on | |
6245 | parent '%s' | |
6246 | ||
6247 | =begin original | |
6248 | ||
6249 | (F) The method resolution order (MRO) of the given class is not | |
6250 | C3-consistent, and you have enabled the C3 MRO for this class. See the C3 | |
6251 | documentation in L<mro> for more information. | |
6252 | ||
6253 | =end original | |
6254 | ||
6255 | (F) 与えられたクラスのメソッド解決順序 (MRO) が C3 に矛盾していますが、 | |
6256 | このクラスの C3 MRO を有効にしました。 | |
6257 | さらなる情報については L<mro> 内の C3 に関する文書を参照してください。 | |
6258 | ||
6259 | =item Infinite recursion in regex | |
6260 | ||
6261 | =begin original | |
6262 | ||
6263 | (F) You used a pattern that references itself without consuming any input | |
6264 | text. You should check the pattern to ensure that recursive patterns | |
6265 | either consume text or fail. | |
6266 | ||
6267 | =end original | |
6268 | ||
6269 | (F) 入力テキストを読み込むことなく自分自身を参照するパターンを使いました。 | |
6270 | 再帰的なパターンが、テキストを読み込むか失敗するかを確実に行うように、 | |
6271 | パターンをチェックするべきです。 | |
6272 | ||
6273 | =item Initialization of state variables in list context currently forbidden | |
6274 | ||
6275 | =begin original | |
6276 | ||
6277 | (F) Currently the implementation of "state" only permits the | |
6278 | initialization of scalar variables in scalar context. Re-write | |
6279 | C<state ($a) = 42> as C<state $a = 42> to change from list to scalar | |
6280 | context. Constructions such as C<state (@a) = foo()> will be | |
6281 | supported in a future perl release. | |
6282 | ||
6283 | =end original | |
6284 | ||
6285 | (F) 現在のところ、"state" の実装は、スカラコンテキストでのスカラ変数の | |
6286 | 初期化のみが許されています。 | |
6287 | C<state ($a) = 42> を C<state $a = 42> のように、リストコンテキストから | |
6288 | スカラコンテキストに書き換えてください。 | |
6289 | C<state (@a) = foo()> のような構文は perl の将来のリリースで | |
6290 | 対応されるでしょう。 | |
6291 | ||
6292 | =item %%s[%s] in scalar context better written as $%s[%s] | |
6293 | ||
6294 | =begin original | |
6295 | ||
6296 | (W syntax) In scalar context, you've used an array index/value slice | |
6297 | (indicated by %) to select a single element of an array. Generally | |
6298 | it's better to ask for a scalar value (indicated by $). The difference | |
6299 | is that C<$foo[&bar]> always behaves like a scalar, both in the value it | |
6300 | returns and when evaluating its argument, while C<%foo[&bar]> provides | |
6301 | a list context to its subscript, which can do weird things if you're | |
6302 | expecting only one subscript. When called in list context, it also | |
6303 | returns the index (what C<&bar> returns) in addition to the value. | |
6304 | ||
6305 | =end original | |
6306 | ||
6307 | (W syntax) スカラコンテキストで、配列の単一の要素を選択するために | |
6308 | (% で示される)配列インデックス/値スライスを使いました。 | |
6309 | 一般的には($ で示される)スカラ値を取得した方がよいです。 | |
6310 | 違いは、C<$foo[&bar]> は返り値と引数を評価したときの両方で常にスカラのように | |
6311 | 振る舞いますが、C<%foo[&bar]> は添え字にリストコンテキストを提供するので、 | |
6312 | 一つだけの添え字を想定していた場合、おかしなことになることがあります。 | |
6313 | リストコンテキストで呼び出された場合、値に加えてインデックス | |
6314 | (C<&bar> が返すもの) を返します。 | |
6315 | ||
6316 | =item %%s{%s} in scalar context better written as $%s{%s} | |
6317 | ||
6318 | =begin original | |
6319 | ||
6320 | (W syntax) In scalar context, you've used a hash key/value slice | |
6321 | (indicated by %) to select a single element of a hash. Generally it's | |
6322 | better to ask for a scalar value (indicated by $). The difference | |
6323 | is that C<$foo{&bar}> always behaves like a scalar, both in the value | |
6324 | it returns and when evaluating its argument, while C<@foo{&bar}> and | |
6325 | provides a list context to its subscript, which can do weird things | |
6326 | if you're expecting only one subscript. When called in list context, | |
6327 | it also returns the key in addition to the value. | |
6328 | ||
6329 | =end original | |
6330 | ||
6331 | (W syntax) スカラコンテキストで、ハッシュの単一の要素を選択するために | |
6332 | (% で示される)ハッシュキー/値スライスを使いました。 | |
6333 | 一般的には($ で示される)スカラ値を取得した方がよいです。 | |
6334 | 違いは、C<$foo[&bar]> は返り値と引数を評価したときの両方で常にスカラのように | |
6335 | 振る舞いますが、C<%foo[&bar]> は添え字にリストコンテキストを提供するので、 | |
6336 | 一つだけの添え字を想定していた場合、おかしなことになることがあります。 | |
6337 | リストコンテキストで呼び出された場合、値に加えてインデックスを返します。 | |
6338 | ||
6339 | 3790 | =item Insecure dependency in %s |
6340 | 3791 | |
6341 | 3792 | =begin original |
6342 | 3793 | |
6343 | 3794 | (F) You tried to do something that the tainting mechanism didn't like. |
6344 | 3795 | The tainting mechanism is turned on when you're running setuid or |
6345 | 3796 | setgid, or when you specify B<-T> to turn it on explicitly. The |
6346 | 3797 | tainting mechanism labels all data that's derived directly or indirectly |
6347 | 3798 | from the user, who is considered to be unworthy of your trust. If any |
6348 | 3799 | such data is used in a "dangerous" operation, you get this error. See |
6349 | 3800 | L<perlsec> for more information. |
6350 | 3801 | |
6351 | 3802 | =end original |
6352 | 3803 | |
6353 | 3804 | (F) 何か汚染チェックの機構が、望ましくないと判断することを |
6354 | 3805 | 行なおうとしました。 |
6355 | 3806 | setuid や setgid を実行したときや、明示的に B<-T> で指定したときに、 |
6356 | 3807 | 汚染チェック機構が働きます。 |
6357 | 3808 | 汚染チェック機構は、信頼がおけないと仮定されるユーザが直接、間接を問わず、 |
6358 | 3809 | 指定したデータに印を付けます。 |
6359 | 3810 | そのようなデータを「危険な」操作に用いると、このエラーが発生します。 |
6360 | 3811 | 詳しくは、L<perlsec> を参照してください。 |
6361 | 3812 | |
6362 | 3813 | =item Insecure directory in %s |
6363 | 3814 | |
6364 | 3815 | =begin original |
6365 | 3816 | |
6366 | 3817 | (F) You can't use system(), exec(), or a piped open in a setuid or |
6367 | 3818 | setgid script if C<$ENV{PATH}> contains a directory that is writable by |
6368 | the world. | |
3819 | the world. See L<perlsec>. | |
6369 | See L<perlsec>. | |
6370 | 3820 | |
6371 | 3821 | =end original |
6372 | 3822 | |
6373 | 3823 | (F) C<$ENV{PATH}> の中に、誰にでも書き込みができるディレクトリが |
6374 | 3824 | 含まれているとき、system()、exec()、パイプのオープンを |
6375 | 3825 | 行なうことはできません。 |
6376 | また、PATH には相対早退ディレクトリを含んでいてはいけません。 | |
6377 | 3826 | L<perlsec> を参照してください。 |
6378 | 3827 | |
6379 | 3828 | =item Insecure $ENV{%s} while running %s |
6380 | 3829 | |
6381 | 3830 | =begin original |
6382 | 3831 | |
6383 | 3832 | (F) You can't use system(), exec(), or a piped open in a setuid or |
6384 | 3833 | setgid script if any of C<$ENV{PATH}>, C<$ENV{IFS}>, C<$ENV{CDPATH}>, |
6385 | C<$ENV{ENV}> | |
3834 | C<$ENV{ENV}> or C<$ENV{BASH_ENV}> are derived from data supplied (or | |
6386 | ||
3835 | potentially supplied) by the user. The script must set the path to a | |
6387 | ||
3836 | known value, using trustworthy data. See L<perlsec>. | |
6388 | 3837 | |
6389 | 3838 | =end original |
6390 | 3839 | |
6391 | 3840 | (F) C<$ENV{PATH}>, C<$ENV{IFS}>, C<$ENV{CDPATH}>, C<$ENV{ENV}>, |
6392 | C<$ENV{BASH_ENV}> | |
3841 | C<$ENV{BASH_ENV}> のいずれかがユーザーによって提供された(あるいは | |
6393 | ||
3842 | 提供された可能性のある)データの場合、setuid や setgid されたスクリプトでは | |
6394 | ||
3843 | system(), exec(), パイプされる open を使うことはできません。 | |
6395 | 使うことはできません。 | |
6396 | 3844 | スクリプトはパスとして、信頼の置けるデータを使った、既知の値を |
6397 | 3845 | セットしなければなりません。 |
6398 | 3846 | L<perlsec> を参照してください。 |
6399 | 3847 | |
6400 | =item Insecure user-defined property %s | |
6401 | ||
6402 | =begin original | |
6403 | ||
6404 | (F) Perl detected tainted data when trying to compile a regular | |
6405 | expression that contains a call to a user-defined character property | |
6406 | function, i.e. C<\p{IsFoo}> or C<\p{InFoo}>. | |
6407 | See L<perlunicode/User-Defined Character Properties> and L<perlsec>. | |
6408 | ||
6409 | =end original | |
6410 | ||
6411 | (F) Perl は、ユーザー定義文字特性関数 (C<\p{IsFoo}> や C<\p{InFoo}>) の | |
6412 | 呼び出しを含む正規表現をコンパイルしようとしたときに汚染されたデータを | |
6413 | 検出しました。 | |
6414 | L<perlunicode/User-Defined Character Properties> と L<perlsec> を | |
6415 | 参照してください。 | |
6416 | ||
6417 | =item Integer overflow in format string for %s | |
6418 | ||
6419 | =begin original | |
6420 | ||
6421 | (F) The indexes and widths specified in the format string of C<printf()> | |
6422 | or C<sprintf()> are too large. The numbers must not overflow the size of | |
6423 | integers for your architecture. | |
6424 | ||
6425 | =end original | |
6426 | ||
6427 | (F) C<printf()> や C<sprintf()> のフォーマット文字列で指定されたインデックスや | |
6428 | 幅が大きすぎます。 | |
6429 | 数値はあなたのアーキテクチャの整数のサイズをオーバーフローしないように | |
6430 | しなければなりません。 | |
6431 | ||
6432 | 3848 | =item Integer overflow in %s number |
6433 | 3849 | |
6434 | 3850 | =begin original |
6435 | 3851 | |
6436 | ( | |
3852 | (W overflow) The hexadecimal, octal or binary number you have specified | |
6437 | 3853 | either as a literal or as an argument to hex() or oct() is too big for |
6438 | 3854 | your architecture, and has been converted to a floating point number. |
6439 | 3855 | On a 32-bit architecture the largest hexadecimal, octal or binary number |
6440 | 3856 | representable without overflow is 0xFFFFFFFF, 037777777777, or |
6441 | 3857 | 0b11111111111111111111111111111111 respectively. Note that Perl |
6442 | 3858 | transparently promotes all numbers to a floating point representation |
6443 | 3859 | internally--subject to loss of precision errors in subsequent |
6444 | 3860 | operations. |
6445 | 3861 | |
6446 | 3862 | =end original |
6447 | 3863 | |
6448 | ( | |
3864 | (W overflow) リテラルまたは hex() や oct() の引数として指定された 16 進、 | |
6449 | 3865 | 8 進、2 進数は実行しているアーキテクチャには大きすぎるので、浮動小数点数に |
6450 | 3866 | 変換されました。 |
6451 | 3867 | 32 ビットアーキテクチャでは、オーバーフローせずに表現できる 16 進、8 進 |
6452 | 3868 | 2 進数はそれぞれ 0xFFFFFFFF, 037777777777, |
6453 | 3869 | 0b11111111111111111111111111111111 です。 |
6454 | 3870 | Perl は全ての数値を内部では浮動小数点表現に透過的に変換することに |
6455 | 3871 | 注意してください -- 引き続く操作によって精度が失われることがあります。 |
6456 | 3872 | |
6457 | =item Inte | |
3873 | =item Internal disaster before << HERE in regex m/%s/ | |
6458 | 3874 | |
6459 | 3875 | =begin original |
6460 | 3876 | |
6461 | (S overflow) The number you have passed to srand is too big to fit | |
6462 | in your architecture's integer representation. The number has been | |
6463 | replaced with the largest integer supported (0xFFFFFFFF on 32-bit | |
6464 | architectures). This means you may be getting less randomness than | |
6465 | you expect, because different random seeds above the maximum will | |
6466 | return the same sequence of random numbers. | |
6467 | ||
6468 | =end original | |
6469 | ||
6470 | (S overflow) srand に渡した数値は、現在のアーキテクチャの整数表現に | |
6471 | 適合させるには大きすぎます。 | |
6472 | 数値は対応している最大の整数(32 ビットアーキテクチャでは 0xFFFFFFFF) に | |
6473 | 置き換えられました。 | |
6474 | これは、最大数よりも大きな異なった乱数の種が同じ乱数の並びを返すので、 | |
6475 | 想定しているよりもランダム性が低くなることを意味します。 | |
6476 | ||
6477 | =item Integer overflow in version | |
6478 | ||
6479 | =item Integer overflow in version %d | |
6480 | ||
6481 | =begin original | |
6482 | ||
6483 | (W overflow) Some portion of a version initialization is too large for | |
6484 | the size of integers for your architecture. This is not a warning | |
6485 | because there is no rational reason for a version to try and use an | |
6486 | element larger than typically 2**32. This is usually caused by trying | |
6487 | to use some odd mathematical operation as a version, like 100/9. | |
6488 | ||
6489 | =end original | |
6490 | ||
6491 | (W overflow) バージョン初期化の一部が、アーキテクチャの整数のサイズより | |
6492 | 大きすぎます。 | |
6493 | バージョンとして典型的には 2**32 を超える要素を使おうとするための合理的な | |
6494 | 理由がないので、これは警告ではありません。 | |
6495 | これは普通、100/9 のようなおかしな数値演算をバージョンとして | |
6496 | 使おうとしたことによります。 | |
6497 | ||
6498 | =item Internal disaster in regex; marked by S<<-- HERE> in m/%s/ | |
6499 | ||
6500 | =begin original | |
6501 | ||
6502 | 3877 | (P) Something went badly wrong in the regular expression parser. |
6503 | The | |
3878 | The << HERE shows in the regular expression about where the problem was | |
6504 | 3879 | discovered. |
6505 | 3880 | |
6506 | 3881 | =end original |
6507 | 3882 | |
6508 | 3883 | (P) 正規表現解析部に何か悪いことが起こりました。 |
6509 | ||
3884 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
6510 | 3885 | |
6511 | 3886 | =item Internal inconsistency in tracking vforks |
6512 | 3887 | |
6513 | 3888 | =begin original |
6514 | 3889 | |
6515 | 3890 | (S) A warning peculiar to VMS. Perl keeps track of the number of times |
6516 | 3891 | you've called C<fork> and C<exec>, to determine whether the current call |
6517 | 3892 | to C<exec> should affect the current script or a subprocess (see |
6518 | 3893 | L<perlvms/"exec LIST">). Somehow, this count has become scrambled, so |
6519 | 3894 | Perl is making a guess and treating this C<exec> as a request to |
6520 | 3895 | terminate the Perl script and execute the specified command. |
6521 | 3896 | |
6522 | 3897 | =end original |
6523 | 3898 | |
6524 | (S) VMS | |
3899 | (S) VMS 特有の警告です。 | |
6525 | 3900 | Perl は C<fork> と C<exec> を呼び出した回数を数えています; |
6526 | 3901 | これは現在の C<exec> 呼び出しが現在のスクリプトかサブプロセスかどちらに |
6527 | 3902 | 影響を与えるかを決定するためです(L<perlvms/"exec LIST"> を |
6528 | 3903 | 参照してください)。 |
6529 | 3904 | どういうわけか、このカウントがおかしくなったので、Perl はこの C<exec> が |
6530 | 3905 | Perl スクリプトを終了させて指定されたコマンドを実行する要求であると |
6531 | 3906 | 仮定して、そのように扱いました。 |
6532 | 3907 | |
6533 | =item | |
3908 | =item Internal urp before << HERE in regex m/%s/ | |
6534 | 3909 | |
6535 | 3910 | =begin original |
6536 | 3911 | |
6537 | ( | |
3912 | (P) Something went badly awry in the regular expression parser. The <<<HERE | |
6538 | ||
3913 | shows in the regular expression about where the problem was discovered. | |
6539 | C or XS code. Specifically, formats consisting of digits followed | |
6540 | by "p" (e.g., "%7p") are reserved for future use. If you see this | |
6541 | message, then an XS module tried to call that routine with one such | |
6542 | reserved format. | |
6543 | 3914 | |
6544 | 3915 | =end original |
6545 | 3916 | |
6546 | (S internal) C<printf> と C<sprintf> のフォーマットを扱う Perl の | |
6547 | 内部ルーチンは、C や XS コードから呼び出されたときは少し違う規則集合に | |
6548 | 従います。 | |
6549 | 特に、数値に引き続いて "p" のあるフォーマット (例えば "%7p") は将来の | |
6550 | 使用のために予約されています。 | |
6551 | このメッセージが表示された場合、XS モジュールはこのような予約された | |
6552 | フォーマットを使って呼び出そうとしました。 | |
6553 | ||
6554 | =item Internal urp in regex; marked by S<<-- HERE> in m/%s/ | |
6555 | ||
6556 | =begin original | |
6557 | ||
6558 | (P) Something went badly awry in the regular expression parser. The | |
6559 | S<<-- HERE> shows whereabouts in the regular expression the problem was | |
6560 | discovered. | |
6561 | ||
6562 | =end original | |
6563 | ||
6564 | 3917 | (P) 正規表現解析部に何か間違ったことが起こりました。 |
6565 | ||
3918 | <<<HERE で正規表現のどこに問題が発見されたかを示しています。 | |
6566 | 3919 | |
6567 | 3920 | =item %s (...) interpreted as function |
6568 | 3921 | |
6569 | 3922 | =begin original |
6570 | 3923 | |
6571 | 3924 | (W syntax) You've run afoul of the rule that says that any list operator |
6572 | 3925 | followed by parentheses turns into a function, with all the list |
6573 | operators arguments found inside the parentheses. See | |
3926 | operators arguments found inside the parentheses. See | |
6574 | 3927 | L<perlop/Terms and List Operators (Leftward)>. |
6575 | 3928 | |
6576 | 3929 | =end original |
6577 | 3930 | |
6578 | (W syntax) リスト演算子の直後に | |
3931 | (W syntax) リスト演算子の直後に括弧を置くと、括弧内にあるリスト演算子引数を | |
6579 | ||
3932 | 持つ関数になる、という規則が適用されました。 | |
6580 | 3933 | L<perlop/Terms and List Operators (Leftward)> を参照してください。 |
6581 | 3934 | |
6582 | =item In '(?...)', the '(' and '?' must be adjacent in regex; | |
6583 | marked by S<<-- HERE> in m/%s/ | |
6584 | ||
6585 | =begin original | |
6586 | ||
6587 | (F) The two-character sequence C<"(?"> in this context in a regular | |
6588 | expression pattern should be an indivisible token, with nothing | |
6589 | intervening between the C<"("> and the C<"?">, but you separated them | |
6590 | with whitespace. | |
6591 | ||
6592 | =end original | |
6593 | ||
6594 | (F) | |
6595 | 正規表現中のこのコンテキストでの 2 文字並び C<"(?"> は分割できないトークンで、 | |
6596 | C<"("> と C<"?"> の間には何も入らないはずですが、これを空白で分割しました。 | |
6597 | ||
6598 | 3935 | =item Invalid %s attribute: %s |
6599 | 3936 | |
6600 | 3937 | =begin original |
6601 | 3938 | |
6602 | ||
3939 | The indicated attribute for a subroutine or variable was not recognized | |
6603 | 3940 | by Perl or by a user-supplied handler. See L<attributes>. |
6604 | 3941 | |
6605 | 3942 | =end original |
6606 | 3943 | |
6607 | ||
3944 | 示されたサブルーチンや変数の属性は | |
6608 | 認識されませんでした。 | |
3945 | Perl やユーザー提供のハンドラで認識されませんでした。 | |
6609 | 3946 | L<attributes> を参照してください。 |
6610 | 3947 | |
6611 | 3948 | =item Invalid %s attributes: %s |
6612 | 3949 | |
6613 | 3950 | =begin original |
6614 | 3951 | |
6615 | ||
3952 | The indicated attributes for a subroutine or variable were not | |
6616 | 3953 | recognized by Perl or by a user-supplied handler. See L<attributes>. |
6617 | 3954 | |
6618 | 3955 | =end original |
6619 | 3956 | |
6620 | ||
3957 | 示されたサブルーチンや変数の属性は | |
6621 | 認識されませんでした。 | |
3958 | Perl やユーザー提供のハンドラで認識されませんでした。 | |
6622 | 3959 | L<attributes> を参照してください。 |
6623 | 3960 | |
6624 | =item Invalid character in charnames alias definition; marked by | |
6625 | S<<-- HERE> in '%s | |
6626 | ||
6627 | =begin original | |
6628 | ||
6629 | (F) You tried to create a custom alias for a character name, with | |
6630 | the C<:alias> option to C<use charnames> and the specified character in | |
6631 | the indicated name isn't valid. See L<charnames/CUSTOM ALIASES>. | |
6632 | ||
6633 | =end original | |
6634 | ||
6635 | (F) C<use charnames> の C<:alias> オプションで文字名へのカスタム別名を | |
6636 | 作ろうとしましたが、指定された名前のうち示された文字は正当ではありません。 | |
6637 | L<charnames/CUSTOM ALIASES> を参照してください。 | |
6638 | ||
6639 | =item Invalid \0 character in %s for %s: %s\0%s | |
6640 | ||
6641 | =begin original | |
6642 | ||
6643 | (W syscalls) Embedded \0 characters in pathnames or other system call | |
6644 | arguments produce a warning as of 5.20. The parts after the \0 were | |
6645 | formerly ignored by system calls. | |
6646 | ||
6647 | =end original | |
6648 | ||
6649 | (W syscalls) パス名やその他のシステムコール引数に埋め込まれた \0 文字は | |
6650 | 5.20 から警告を出力するようになりました。 | |
6651 | 以前は \0 の後の部分はシステムコールによって無視されていました。 | |
6652 | ||
6653 | =item Invalid character in \N{...}; marked by S<<-- HERE> in \N{%s} | |
6654 | ||
6655 | =begin original | |
6656 | ||
6657 | (F) Only certain characters are valid for character names. The | |
6658 | indicated one isn't. See L<charnames/CUSTOM ALIASES>. | |
6659 | ||
6660 | =end original | |
6661 | ||
6662 | (F) 文字名としては一部の文字のみが正当です。 | |
6663 | 示されたものは違います。 | |
6664 | L<charnames/CUSTOM ALIASES> を参照してください。 | |
6665 | ||
6666 | 3961 | =item Invalid conversion in %s: "%s" |
6667 | 3962 | |
6668 | 3963 | =begin original |
6669 | 3964 | |
6670 | 3965 | (W printf) Perl does not understand the given format conversion. See |
6671 | 3966 | L<perlfunc/sprintf>. |
6672 | 3967 | |
6673 | 3968 | =end original |
6674 | 3969 | |
6675 | 3970 | (W printf) Perl は指定されたフォーマット変換が認識できませんでした。 |
6676 | 3971 | L<perlfunc/sprintf> を参照してください。 |
6677 | 3972 | |
6678 | =item | |
3973 | =item invalid [] range "%s" in regexp | |
6679 | S<<-- HERE> in m/%s/ | |
6680 | 3974 | |
6681 | 3975 | =begin original |
6682 | 3976 | |
6683 | (W regexp)(F) The numeric escape (for example C<\xHH>) of value < 256 | |
6684 | didn't correspond to a single character through the conversion | |
6685 | from the encoding specified by the encoding pragma. | |
6686 | The escape was replaced with REPLACEMENT CHARACTER (U+FFFD) | |
6687 | instead, except within S<C<(?[ ])>>, where it is a fatal error. | |
6688 | The S<<-- HERE> shows whereabouts in the regular expression the | |
6689 | escape was discovered. | |
6690 | ||
6691 | =end original | |
6692 | ||
6693 | (W regexp)(F) (例えば C<\xHH> のような)数値エスケープの 256 より小さい値が、 | |
6694 | エンコーディングプラグマで指定した変換によって 一つの文字に対応していません。 | |
6695 | エスケープは代わりに REPLACEMENT CHARACTER (U+FFFD) に置き換えられます; | |
6696 | ただし、S<C<(?[ ])>> の内側の場合は致命的エラーになります。 | |
6697 | S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。 | |
6698 | ||
6699 | =item Invalid hexadecimal number in \N{U+...} | |
6700 | ||
6701 | =item Invalid hexadecimal number in \N{U+...} in regex; marked by | |
6702 | S<<-- HERE> in m/%s/ | |
6703 | ||
6704 | =begin original | |
6705 | ||
6706 | (F) The character constant represented by C<...> is not a valid hexadecimal | |
6707 | number. Either it is empty, or you tried to use a character other than | |
6708 | 0 - 9 or A - F, a - f in a hexadecimal number. | |
6709 | ||
6710 | =end original | |
6711 | ||
6712 | (F) C<...> で表現された文字定数は妥当な 16 進数ではありません。 | |
6713 | 空か、16 進数の中に 0 - 9, A - F, a - f 以外の文字を使おうとしました。 | |
6714 | ||
6715 | =item Invalid module name %s with -%c option: contains single ':' | |
6716 | ||
6717 | =begin original | |
6718 | ||
6719 | (F) The module argument to perl's B<-m> and B<-M> command-line options | |
6720 | cannot contain single colons in the module name, but only in the | |
6721 | arguments after "=". In other words, B<-MFoo::Bar=:baz> is ok, but | |
6722 | B<-MFoo:Bar=baz> is not. | |
6723 | ||
6724 | =end original | |
6725 | ||
6726 | (F) perl の B<-m> と B<-M> のコマンドラインオプションでのモジュール引数は、 | |
6727 | モジュール名では単一のコロンを含むことが出来ず、"=" の後でのみ含むことが | |
6728 | できます。 | |
6729 | 言い換えると、B<-MFoo::Bar=:baz> は OK ですが、B<-MFoo:Bar=baz> は | |
6730 | そうではありません。 | |
6731 | ||
6732 | =item Invalid mro name: '%s' | |
6733 | ||
6734 | =begin original | |
6735 | ||
6736 | (F) You tried to C<mro::set_mro("classname", "foo")> or C<use mro 'foo'>, | |
6737 | where C<foo> is not a valid method resolution order (MRO). Currently, | |
6738 | the only valid ones supported are C<dfs> and C<c3>, unless you have loaded | |
6739 | a module that is a MRO plugin. See L<mro> and L<perlmroapi>. | |
6740 | ||
6741 | =end original | |
6742 | ||
6743 | (F) C<mro::set_mro("classname", "foo")> または C<use mro 'foo'> を使おうと | |
6744 | しましたが、C<foo> は有効なメソッド解決順序 (MRO) ではありません。 | |
6745 | 現在のところ、MRO プラグインモジュールを読み込まない限り、対応として | |
6746 | 有効なものは C<dfs> と C<c3> だけです。 | |
6747 | L<mro> と L<perlmroapi> を参照してください。 | |
6748 | ||
6749 | =item Invalid negative number (%s) in chr | |
6750 | ||
6751 | =begin original | |
6752 | ||
6753 | (W utf8) You passed a negative number to C<chr>. Negative numbers are | |
6754 | not valid character numbers, so it returns the Unicode replacement | |
6755 | character (U+FFFD). | |
6756 | ||
6757 | =end original | |
6758 | ||
6759 | (W utf8) C<chr> に負数を渡しました。 | |
6760 | 負数は正当な文字番号ではないので、Unicode 代替文字 (U+FFFD) を返します。 | |
6761 | ||
6762 | =item Invalid number '%s' for -C option. | |
6763 | ||
6764 | =begin original | |
6765 | ||
6766 | (F) You supplied a number to the -C option that either has extra leading | |
6767 | zeroes or overflows perl's unsigned integer representation. | |
6768 | ||
6769 | =end original | |
6770 | ||
6771 | (F) -C オプションに、前に 0 がついていたり、perl の符号なし整数表現を | |
6772 | オーバーフローするといったような数値を指定しました。 | |
6773 | ||
6774 | =item invalid option -D%c, use -D'' to see choices | |
6775 | ||
6776 | =begin original | |
6777 | ||
6778 | (S debugging) Perl was called with invalid debugger flags. Call perl | |
6779 | with the B<-D> option with no flags to see the list of acceptable values. | |
6780 | See also L<perlrun/-Dletters>. | |
6781 | ||
6782 | =end original | |
6783 | ||
6784 | (F) Perl は不正なデバッガフラグで呼び出されました。 | |
6785 | 受け付けられる値の一覧を見るには、フラグなしの B<-D> オプションをつけて | |
6786 | perl を呼び出してください。 | |
6787 | L<< perlrun/B<-D>I<letters> >> も参照してください。 | |
6788 | ||
6789 | =item Invalid quantifier in {,} in regex; marked by S<<-- HERE> in m/%s/ | |
6790 | ||
6791 | =begin original | |
6792 | ||
6793 | (F) The pattern looks like a {min,max} quantifier, but the min or max | |
6794 | could not be parsed as a valid number - either it has leading zeroes, | |
6795 | or it represents too big a number to cope with. The S<<-- HERE> shows | |
6796 | where in the regular expression the problem was discovered. See L<perlre>. | |
6797 | ||
6798 | =end original | |
6799 | ||
6800 | (F) パターンは {min,max} 量指定子のように見えますが、min または max が | |
6801 | 正当な数値としてパースできませんでした - 先頭に 0 が付いているか、 | |
6802 | 数値として扱うには大きすぎます。 | |
6803 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
6804 | L<perlre> を参照してください。 | |
6805 | ||
6806 | =item Invalid [] range "%s" in regex; marked by S<<-- HERE> in m/%s/ | |
6807 | ||
6808 | =begin original | |
6809 | ||
6810 | 3977 | (F) The range specified in a character class had a minimum character |
6811 | greater than the maximum character. | |
3978 | greater than the maximum character. See L<perlre>. | |
6812 | C<{}> from your ending C<\x{}> - C<\x> without the curly braces can go only | |
6813 | up to C<ff>. The S<<-- HERE> shows whereabouts in the regular expression the | |
6814 | problem was discovered. See L<perlre>. | |
6815 | 3979 | |
6816 | 3980 | =end original |
6817 | 3981 | |
6818 | 3982 | (F) 文字クラスに指定した範囲の最小値が、最大値よりも大きくなっています。 |
6819 | ひとつの可能性としては、末尾の C<\x{}> から C<{}> を | |
6820 | 忘れているということです - 中かっこなしの C<\x> は C<ff> までにしか | |
6821 | なりません。 | |
6822 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
6823 | 3983 | L<perlre> を参照してください。 |
6824 | 3984 | |
6825 | =item Invalid range "%s" in transliteration operator | |
6826 | ||
6827 | =begin original | |
6828 | ||
6829 | (F) The range specified in the tr/// or y/// operator had a minimum | |
6830 | character greater than the maximum character. See L<perlop>. | |
6831 | ||
6832 | =end original | |
6833 | ||
6834 | (F) tr/// や y/// の演算子での範囲指定で、最大の文字より最小の文字の方が | |
6835 | 大きいです。 | |
6836 | L<perlop> を参照してください。 | |
6837 | ||
6838 | 3985 | =item Invalid separator character %s in attribute list |
6839 | 3986 | |
6840 | 3987 | =begin original |
6841 | 3988 | |
6842 | 3989 | (F) Something other than a colon or whitespace was seen between the |
6843 | 3990 | elements of an attribute list. If the previous attribute had a |
6844 | 3991 | parenthesised parameter list, perhaps that list was terminated too soon. |
6845 | 3992 | See L<attributes>. |
6846 | 3993 | |
6847 | 3994 | =end original |
6848 | 3995 | |
6849 | 3996 | (F) 属性リストの要素の間にコロンと空白以外のものがあります。 |
6850 | 3997 | 直前の属性がかっこ付きのパラメータリストの場合、おそらくリストが |
6851 | 3998 | 予定より早く終端されています。 |
6852 | 3999 | L<attributes> を参照してください。 |
6853 | 4000 | |
6854 | =item Invalid | |
4001 | =item Invalid type in pack: '%s' | |
6855 | 4002 | |
6856 | 4003 | =begin original |
6857 | 4004 | |
6858 | ( | |
4005 | (F) The given character is not a valid pack type. See L<perlfunc/pack>. | |
6859 | ||
4006 | (W pack) The given character is not a valid pack type but used to be | |
6860 | ||
4007 | silently ignored. | |
6861 | list was terminated too soon. | |
6862 | 4008 | |
6863 | 4009 | =end original |
6864 | 4010 | |
6865 | ( | |
4011 | (F) 与えられた文字は有効な pack の型ではありません。 | |
6866 | ||
4012 | L<perlfunc/pack> を参照してください。 | |
6867 | ||
4013 | (W pack) 与えられた文字は有効な pack の型ではありませんが、暗黙に | |
6868 | ||
4014 | 無視されました。 | |
6869 | 4015 | |
6870 | =item Invalid | |
4016 | =item Invalid type in unpack: '%s' | |
6871 | 4017 | |
6872 | 4018 | =begin original |
6873 | 4019 | |
6874 | (F) | |
4020 | (F) The given character is not a valid unpack type. See | |
6875 | ||
4021 | L<perlfunc/unpack>. | |
6876 | ||
4022 | (W unpack) The given character is not a valid unpack type but used to be | |
6877 | v-string with a leading 'v' character and at least three components. | |
6878 | The parenthesized text indicates which criteria were not met. | |
6879 | See the L<version> module for more details on allowed version formats. | |
6880 | ||
6881 | =end original | |
6882 | ||
6883 | (F) バージョン番号がバージョンの「厳密な」基準に一致しませんでした。 | |
6884 | 「厳密な」バージョン番号は、指数なしの正の 10 進数 (整数または 10 進小数)か、 | |
6885 | さもなければどっと付き 10 進 v-文字列で先頭に 'v' の文字があり、少なくとも | |
6886 | 三つの部分からなるものです。 | |
6887 | かっこで囲まれたテキストは問題の基準を示しています。 | |
6888 | 許されるバージョンオブジェクトに関するさらなる詳細については | |
6889 | L<version> モジュールを参照してください。 | |
6890 | ||
6891 | =item Invalid type '%s' in %s | |
6892 | ||
6893 | =begin original | |
6894 | ||
6895 | (F) The given character is not a valid pack or unpack type. | |
6896 | See L<perlfunc/pack>. | |
6897 | ||
6898 | =end original | |
6899 | ||
6900 | (F) 与えられた文字は有効な pack や unpack の型ではありません。 | |
6901 | L<perlfunc/pack> を参照してください。 | |
6902 | ||
6903 | =begin original | |
6904 | ||
6905 | (W) The given character is not a valid pack or unpack type but used to be | |
6906 | 4023 | silently ignored. |
6907 | 4024 | |
6908 | 4025 | =end original |
6909 | 4026 | |
6910 | ( | |
4027 | (F) 与えられた文字は有効な unpack の型ではありません。 | |
4028 | L<perlfunc/unpack> を参照してください。 | |
4029 | (W unpack) 与えられた文字は有効な unpack の型ではありませんが、暗黙に | |
6911 | 4030 | 無視されました。 |
6912 | 4031 | |
6913 | =item Invalid version format (%s) | |
6914 | ||
6915 | =begin original | |
6916 | ||
6917 | (F) A version number did not meet the "lax" criteria for versions. | |
6918 | A "lax" version number is a positive decimal number (integer or | |
6919 | decimal-fraction) without exponentiation or else a dotted-decimal | |
6920 | v-string. If the v-string has fewer than three components, it | |
6921 | must have a leading 'v' character. Otherwise, the leading 'v' is | |
6922 | optional. Both decimal and dotted-decimal versions may have a | |
6923 | trailing "alpha" component separated by an underscore character | |
6924 | after a fractional or dotted-decimal component. The parenthesized | |
6925 | text indicates which criteria were not met. See the L<version> module | |
6926 | for more details on allowed version formats. | |
6927 | ||
6928 | =end original | |
6929 | ||
6930 | (F) バージョン番号がバージョンの「緩い」基準に一致しませんでした。 | |
6931 | 「緩い」バージョン番号は指数なしの正の 10 進数(整数または 10 進小数)か、 | |
6932 | あるいはどっと付き 10 進 v-文字列です。 | |
6933 | v-文字列の要素が三つ未満の場合、先頭に 'v' 文字が必要です。 | |
6934 | さもなければ、先頭の 'v' はオプションです。 | |
6935 | 10 進とドット付き 10 進の両方のバージョンは、小数またはドット付き 10 進 | |
6936 | 要素の後に下線で区切られた「α」要素が引き続くこともあります。 | |
6937 | かっこで囲まれたテキストは問題の基準を示しています。 | |
6938 | 許されるバージョンオブジェクトに関するさらなる詳細については | |
6939 | L<version> モジュールを参照してください。 | |
6940 | ||
6941 | =item Invalid version object | |
6942 | ||
6943 | =begin original | |
6944 | ||
6945 | (F) The internal structure of the version object was invalid. | |
6946 | Perhaps the internals were modified directly in some way or | |
6947 | an arbitrary reference was blessed into the "version" class. | |
6948 | ||
6949 | =end original | |
6950 | ||
6951 | (F) バージョンオブジェクトの内部構造が不正です。 | |
6952 | おそらく何らかの方法で内部が直接変更されたか、任意のリファレンスが | |
6953 | "version" クラスとして bless されました。 | |
6954 | ||
6955 | =item In '(*VERB...)', the '(' and '*' must be adjacent in regex; | |
6956 | marked by S<<-- HERE> in m/%s/ | |
6957 | ||
6958 | =begin original | |
6959 | ||
6960 | (F) The two-character sequence C<"(*"> in | |
6961 | this context in a regular expression pattern should be an | |
6962 | indivisible token, with nothing intervening between the C<"("> | |
6963 | and the C<"*">, but you separated them. | |
6964 | ||
6965 | =end original | |
6966 | ||
6967 | (F) 正規表現中のこのコンテキストでの 2 文字並び C<"(*"> は分割できない | |
6968 | トークンで、C<"("> と C<"*"> の間には何も入らないはずですが、これを | |
6969 | 分割しました。 | |
6970 | ||
6971 | 4032 | =item ioctl is not implemented |
6972 | 4033 | |
6973 | 4034 | =begin original |
6974 | 4035 | |
6975 | 4036 | (F) Your machine apparently doesn't implement ioctl(), which is pretty |
6976 | 4037 | strange for a machine that supports C. |
6977 | 4038 | |
6978 | 4039 | =end original |
6979 | 4040 | |
6980 | 4041 | (F) C をサポートしているマシンではおかしなことだと思いますが、 |
6981 | 4042 | このマシンでは ioctl() が実装されていないようです。 |
6982 | 4043 | |
6983 | =item io | |
4044 | =item `%s' is not a code reference | |
6984 | 4045 | |
6985 | 4046 | =begin original |
6986 | 4047 | |
6987 | (W | |
4048 | (W) The second (fourth, sixth, ...) argument of overload::constant needs | |
6988 | ||
4049 | to be a code reference. Either an anonymous subroutine, or a reference | |
4050 | to a subroutine. | |
6989 | 4051 | |
6990 | 4052 | =end original |
6991 | 4053 | |
6992 | (W | |
4054 | (W) overload::constant の 2 番目 (4 番目、6 番目, ...) の引数はコード | |
6993 | ||
4055 | リファレンスである必要があります。 | |
6994 | ||
6995 | =item IO layers (like '%s') unavailable | |
6996 | ||
6997 | =begin original | |
6998 | ||
6999 | (F) Your Perl has not been configured to have PerlIO, and therefore | |
7000 | you cannot use IO layers. To have PerlIO, Perl must be configured | |
7001 | with 'useperlio'. | |
7002 | ||
7003 | =end original | |
7004 | ||
7005 | (F) この Perl は PerlIO を使うように設定されていないので、IO 層は使えません。 | |
7006 | PerlIO を使うには、'useperlio' 付きで設定する必要があります。 | |
7007 | ||
7008 | =item IO::Socket::atmark not implemented on this architecture | |
7009 | ||
7010 | =begin original | |
7011 | ||
7012 | (F) Your machine doesn't implement the sockatmark() functionality, | |
7013 | neither as a system call nor an ioctl call (SIOCATMARK). | |
7014 | ||
7015 | =end original | |
7016 | ||
7017 | (F) 実行されているマシンでは、システムコールでも | |
7018 | ioctl コール(SIOCATMARK) でも sockatmark() 機能が実装されていません。 | |
7019 | ||
7020 | =item '%s' is an unknown bound type in regex; marked by S<<-- HERE> in m/%s/ | |
7021 | ||
7022 | =begin original | |
7023 | ||
7024 | (F) You used C<\b{...}> or C<\B{...}> and the C<...> is not known to | |
7025 | Perl. The current valid ones are given in | |
7026 | L<perlrebackslash/\b{}, \b, \B{}, \B>. | |
7027 | ||
7028 | =end original | |
7029 | ||
7030 | (F) あなたは C<\b{...}> または C<\B{...}> を使いましたが C<...> は | |
7031 | Perl が知らないものでした。 | |
7032 | 現在有効なものは L<perlrebackslash/\b{}, \b, \B{}, \B> にあるものです。 | |
7033 | ||
7034 | =item %s() is deprecated on :utf8 handles | |
7035 | ||
7036 | =begin original | |
7037 | ||
7038 | (W deprecated) The sysread(), recv(), syswrite() and send() operators are | |
7039 | deprecated on handles that have the C<:utf8> layer, either explicitly, or | |
7040 | implicitly, eg., with the C<:encoding(UTF-16LE)> layer. | |
7041 | ||
7042 | =end original | |
7043 | ||
7044 | (W deprecated) The | |
7045 | sysread(), recv(), syswrite() and send() 演算子は、 | |
7046 | 明示的あるいは C<:encoding(UTF-16LE)> 層のような暗黙的かに関わらず、 | |
7047 | C<:utf8> 層を持つハンドルに対しては廃止予定です。 | |
7048 | ||
7049 | =begin original | |
7050 | ||
7051 | Both sysread() and recv() currently use only the C<:utf8> flag for the stream, | |
7052 | ignoring the actual layers. Since sysread() and recv() do no UTF-8 | |
7053 | validation they can end up creating invalidly encoded scalars. | |
7054 | ||
7055 | =end original | |
7056 | ||
7057 | sysread() と recv() は現在の所ストリームに対して C<:utf8> フラグのみを | |
7058 | 使い、実際の層は無視します。 | |
7059 | sysread() と recv() は UTF-8 の検証を行わないので、 | |
7060 | 不正にエンコードされたスカラを作ることになる可能性があります。 | |
7061 | ||
7062 | =begin original | |
7063 | ||
7064 | Similarly, syswrite() and send() use only the C<:utf8> flag, otherwise ignoring | |
7065 | any layers. If the flag is set, both write the value UTF-8 encoded, even if | |
7066 | the layer is some different encoding, such as the example above. | |
7067 | ||
7068 | =end original | |
7069 | ||
7070 | 同様に、syswrite() は send() C<:utf8> フラグのみを使い、 | |
7071 | それ以外は全ての層を無視します。 | |
7072 | フラグがセットされると、例え層が前述の例のように異なった | |
7073 | エンコーディングでも、UTF-8 エンコードされた値を書き込みます。 | |
7074 | ||
7075 | =begin original | |
7076 | ||
7077 | Ideally, all of these operators would completely ignore the C<:utf8> state, | |
7078 | working only with bytes, but this would result in silently breaking existing | |
7079 | code. To avoid this a future version of perl will throw an exception when | |
7080 | any of sysread(), recv(), syswrite() or send() are called on handle with the | |
7081 | C<:utf8> layer. | |
7082 | ||
7083 | =end original | |
7084 | ||
7085 | 理想的には、これらの演算子全ては完全に C<:utf8> 状態を無視して | |
7086 | バイトに対してのみ動作するべきですが、これは既存のコードを暗黙に | |
7087 | 壊すことになります。 | |
7088 | これを防ぐために、将来のバージョンの perl は | |
7089 | sysread(), recv(), syswrite(), send() がC<:utf8> 層付きのハンドルで | |
7090 | 呼び出されると例外を投げるようになります。 | |
7091 | ||
7092 | =item "%s" is more clearly written simply as "%s" in regex; marked by S<<-- HERE> in m/%s/ | |
7093 | ||
7094 | =begin original | |
7095 | ||
7096 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
7097 | ||
7098 | =end original | |
7099 | ||
7100 | (W regexp) (C<S<use re 'strict'>> の基か C<(?[...])> の内側のみ) | |
7101 | ||
7102 | =begin original | |
7103 | ||
7104 | You specified a character that has the given plainer way of writing it, | |
7105 | and which is also portable to platforms running with different character | |
7106 | sets. | |
7107 | ||
7108 | =end original | |
7109 | ||
7110 | それを書くのにより平坦な方法があり、さらに異なる文字集合で実行される | |
7111 | プラットフォーム間で移植性のある文字を指定しました。 | |
7112 | ||
7113 | =item $* is no longer supported | |
7114 | ||
7115 | =begin original | |
7116 | ||
7117 | (D deprecated, syntax) The special variable C<$*>, deprecated in older | |
7118 | perls, has been removed as of 5.10.0 and is no longer supported. In | |
7119 | previous versions of perl the use of C<$*> enabled or disabled multi-line | |
7120 | matching within a string. | |
7121 | ||
7122 | =end original | |
7123 | ||
7124 | (D deprecated, syntax) より古い perl で廃止予定とされた特殊変数 C<$*> は | |
7125 | 5.10.0 で削除され、もはや対応していません。 | |
7126 | 以前のバージョンの perl では、C<$*> は文字列中の複数行マッチングを有効または | |
7127 | 無効にするために使っていました。 | |
7128 | ||
7129 | =begin original | |
7130 | ||
7131 | Instead of using C<$*> you should use the C</m> (and maybe C</s>) regexp | |
7132 | modifiers. You can enable C</m> for a lexical scope (even a whole file) | |
7133 | with C<use re '/m'>. (In older versions: when C<$*> was set to a true value | |
7134 | then all regular expressions behaved as if they were written using C</m>.) | |
7135 | ||
7136 | =end original | |
7137 | ||
7138 | C<$*> を使う代わりに、C</m> (とおそらく C</s>) 正規表現修飾子を | |
7139 | 使うべきです。 | |
7140 | C<use re '/m'> でレキシカルスコープで (ファイル全体でも) C</m> を | |
7141 | 有効にできます。 | |
7142 | (より古いバージョンでは: C<$*> を真の値に設定すると全ての正規表現は | |
7143 | C</m> を使って書かれたかのように振る舞っていました。) | |
7144 | ||
7145 | =item $# is no longer supported | |
7146 | ||
7147 | =begin original | |
7148 | ||
7149 | (D deprecated, syntax) The special variable C<$#>, deprecated in older | |
7150 | perls, has been removed as of 5.10.0 and is no longer supported. You | |
7151 | should use the printf/sprintf functions instead. | |
7152 | ||
7153 | =end original | |
7154 | ||
7155 | (D deprecated, syntax) より古い perl で廃止予定とされた特殊変数 C<$#> は | |
7156 | 5.10.0 で削除され、もはや対応していません。 | |
7157 | 代わりに printf/sprintf 関数を使うべきです。 | |
7158 | ||
7159 | =item '%s' is not a code reference | |
7160 | ||
7161 | =begin original | |
7162 | ||
7163 | (W overload) The second (fourth, sixth, ...) argument of | |
7164 | overload::constant needs to be a code reference. Either | |
7165 | an anonymous subroutine, or a reference to a subroutine. | |
7166 | ||
7167 | =end original | |
7168 | ||
7169 | (W overload) overload::constant の 2 番目 (4 番目、6 番目, ...) の引数は | |
7170 | コードリファレンスである必要があります。 | |
7171 | 4056 | 無名サブルーチンか、サブルーチンへのリファレンスです。 |
7172 | 4057 | |
7173 | =item | |
4058 | =item `%s' is not an overloadable type | |
7174 | 4059 | |
7175 | 4060 | =begin original |
7176 | 4061 | |
7177 | (W | |
4062 | (W) You tried to overload a constant type the overload package is unaware of. | |
7178 | unaware of. | |
7179 | 4063 | |
7180 | 4064 | =end original |
7181 | 4065 | |
7182 | (W | |
4066 | (W) オーバーロードパッケージが知らない定数型をオーバーロードしようとしました。 | |
7183 | オーバーロードしようとしました。 | |
7184 | 4067 | |
7185 | =item | |
4068 | =item junk on end of regexp | |
7186 | 4069 | |
7187 | 4070 | =begin original |
7188 | 4071 | |
7189 | (S inplace) The C<-i> option was passed on the command line, indicating | |
7190 | that the script is intended to edit files in place, but no files were | |
7191 | given. This is usually a mistake, since editing STDIN in place doesn't | |
7192 | make sense, and can be confusing because it can make perl look like | |
7193 | it is hanging when it is really just trying to read from STDIN. You | |
7194 | should either pass a filename to edit, or remove C<-i> from the command | |
7195 | line. See L<perlrun> for more details. | |
7196 | ||
7197 | =end original | |
7198 | ||
7199 | (S inplace) The C<-i> オプションがコマンドラインで渡されました; これは | |
7200 | スクリプトがファイルをその場で編集することを示していますが、ファイルが | |
7201 | 指定されませんでした。 | |
7202 | これは普通はミスです; STDIN をその場で編集するというのは無意味ですし、 | |
7203 | 本当に単に STDIN から読み込もうとしているだけのときに perl が | |
7204 | ハングしているように見えることがあるので混乱を引き起こします。 | |
7205 | 編集するファイル名を指定するか、コマンドラインから C<-i> を | |
7206 | 取り除いてください。 | |
7207 | さらなる詳細については L<perlrun> を参照してください。 | |
7208 | ||
7209 | =item Junk on end of regexp in regex m/%s/ | |
7210 | ||
7211 | =begin original | |
7212 | ||
7213 | 4072 | (P) The regular expression parser is confused. |
7214 | 4073 | |
7215 | 4074 | =end original |
7216 | 4075 | |
7217 | 4076 | (P) 正規表現の構文解析ができなくなりました。 |
7218 | 4077 | |
7219 | 4078 | =item Label not found for "last %s" |
7220 | 4079 | |
7221 | 4080 | =begin original |
7222 | 4081 | |
7223 | 4082 | (F) You named a loop to break out of, but you're not currently in a loop |
7224 | 4083 | of that name, not even if you count where you were called from. See |
7225 | 4084 | L<perlfunc/last>. |
7226 | 4085 | |
7227 | 4086 | =end original |
7228 | 4087 | |
7229 | 4088 | (F) 脱出するループを指定しましたが、その名前のループの中にいません、 |
7230 | 4089 | たとえ、呼び出された場所がそうであっても、今はそうではありません。 |
7231 | 4090 | L<perlfunc/last> を参照してください。 |
7232 | 4091 | |
7233 | 4092 | =item Label not found for "next %s" |
7234 | 4093 | |
7235 | 4094 | =begin original |
7236 | 4095 | |
7237 | 4096 | (F) You named a loop to continue, but you're not currently in a loop of |
7238 | 4097 | that name, not even if you count where you were called from. See |
7239 | 4098 | L<perlfunc/last>. |
7240 | 4099 | |
7241 | 4100 | =end original |
7242 | 4101 | |
7243 | (F) 次の繰り返しを行なうループを指定しましたが、 | |
4102 | (F) 次の繰り返しを行なうループを指定しましたが、 | |
7244 | ||
4103 | その名前のループの中にいません。 | |
4104 | たとえ、呼び出された場所がそうであっても、今はそうではありません。 | |
7245 | 4105 | L<perlfunc/last> を参照してください。 |
7246 | 4106 | |
7247 | 4107 | =item Label not found for "redo %s" |
7248 | 4108 | |
7249 | 4109 | =begin original |
7250 | 4110 | |
7251 | 4111 | (F) You named a loop to restart, but you're not currently in a loop of |
7252 | 4112 | that name, not even if you count where you were called from. See |
7253 | 4113 | L<perlfunc/last>. |
7254 | 4114 | |
7255 | 4115 | =end original |
7256 | 4116 | |
7257 | (F) 繰り返しの再実行を行なうループを指定しましたが、 | |
4117 | (F) 繰り返しの再実行を行なうループを指定しましたが、 | |
7258 | ||
4118 | その名前のループの中にいません。 | |
4119 | たとえ、呼び出された場所がそうであっても、今はそうではありません。 | |
7259 | 4120 | L<perlfunc/last> を参照してください。 |
7260 | 4121 | |
7261 | 4122 | =item leaving effective %s failed |
7262 | 4123 | |
7263 | 4124 | =begin original |
7264 | 4125 | |
7265 | 4126 | (F) While under the C<use filetest> pragma, switching the real and |
7266 | 4127 | effective uids or gids failed. |
7267 | 4128 | |
7268 | 4129 | =end original |
7269 | 4130 | |
7270 | 4131 | (F) C<use filetest> プラグマを使っている間に、 |
7271 | 4132 | 実と実効の UID や GID の切り替えに失敗しました。 |
7272 | 4133 | |
7273 | =item length/code after end of string in unpack | |
7274 | ||
7275 | =begin original | |
7276 | ||
7277 | (F) While unpacking, the string buffer was already used up when an unpack | |
7278 | length/code combination tried to obtain more data. This results in | |
7279 | an undefined value for the length. See L<perlfunc/pack>. | |
7280 | ||
7281 | =end original | |
7282 | ||
7283 | (F) unpack する間、さらなるデータを取り出すために長さ/コードの組み合わせを | |
7284 | unpack するときに文字列バッファが既に使い切っていました。 | |
7285 | これにより、長さが未定義値となります。 | |
7286 | L<perlfunc/pack> を参照してください。 | |
7287 | ||
7288 | =item length() used on %s (did you mean "scalar(%s)"?) | |
7289 | ||
7290 | =begin original | |
7291 | ||
7292 | (W syntax) You used length() on either an array or a hash when you | |
7293 | probably wanted a count of the items. | |
7294 | ||
7295 | =end original | |
7296 | ||
7297 | (W syntax) おそらくアイテムの数を知りたいときに配列やハッシュに対して | |
7298 | length() を使いました。 | |
7299 | ||
7300 | =begin original | |
7301 | ||
7302 | Array size can be obtained by doing: | |
7303 | ||
7304 | =end original | |
7305 | ||
7306 | 配列の大きさは以下のようにして得られます: | |
7307 | ||
7308 | scalar(@array); | |
7309 | ||
7310 | =begin original | |
7311 | ||
7312 | The number of items in a hash can be obtained by doing: | |
7313 | ||
7314 | =end original | |
7315 | ||
7316 | ハッシュの要素数は以下のようにして得られます: | |
7317 | ||
7318 | scalar(keys %hash); | |
7319 | ||
7320 | =item Lexing code attempted to stuff non-Latin-1 character into Latin-1 input | |
7321 | ||
7322 | =begin original | |
7323 | ||
7324 | (F) An extension is attempting to insert text into the current parse | |
7325 | (using L<lex_stuff_pvn|perlapi/lex_stuff_pvn> or similar), but tried to insert a character that | |
7326 | couldn't be part of the current input. This is an inherent pitfall | |
7327 | of the stuffing mechanism, and one of the reasons to avoid it. Where | |
7328 | it is necessary to stuff, stuffing only plain ASCII is recommended. | |
7329 | ||
7330 | =end original | |
7331 | ||
7332 | (F) エクステンションが(L<lex_stuff_pvn|perlapi/lex_stuff_pvn> や | |
7333 | 同様なものを使って)現在のパースにテキストを挿入しようとしましたが、 | |
7334 | 現在の入力の一部となることができない文字を挿入しようとしました。 | |
7335 | これは詰め物機構の生来の落とし穴で、これを避けるための理由の一つです。 | |
7336 | 詰め物が必要なところでは、プレーン ASCII のみを詰めることを推奨します。 | |
7337 | ||
7338 | =item Lexing code internal error (%s) | |
7339 | ||
7340 | =begin original | |
7341 | ||
7342 | (F) Lexing code supplied by an extension violated the lexer's API in a | |
7343 | detectable way. | |
7344 | ||
7345 | =end original | |
7346 | ||
7347 | (F) エクステンションによって供給された文法解析コードが、検出できる方法で | |
7348 | 文法解析器の API に違反しています。 | |
7349 | ||
7350 | 4134 | =item listen() on closed socket %s |
7351 | 4135 | |
7352 | 4136 | =begin original |
7353 | 4137 | |
7354 | 4138 | (W closed) You tried to do a listen on a closed socket. Did you forget |
7355 | 4139 | to check the return value of your socket() call? See |
7356 | 4140 | L<perlfunc/listen>. |
7357 | 4141 | |
7358 | 4142 | =end original |
7359 | 4143 | |
7360 | 4144 | (W closed) クローズされたソケットに listen を行なおうとしました。 |
7361 | 4145 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
7362 | 4146 | L<perlfunc/listen> を参照してください。 |
7363 | 4147 | |
7364 | =item L | |
4148 | =item Lookbehind longer than %d not implemented at {#} mark in regex %s | |
7365 | 4149 | |
7366 | 4150 | =begin original |
7367 | 4151 | |
7368 | ||
4152 | There is an upper limit to the depth of lookbehind in the (?<= | |
7369 | ||
4153 | regular expression construct. | |
7370 | Use the two-argument C<open($pipe, '|prog arg1 arg2...')> form instead. | |
7371 | 4154 | |
7372 | 4155 | =end original |
7373 | 4156 | |
7374 | ( | |
4157 | (?<= 正規表現構造での前方参照の深さには上限があります。 | |
7375 | C<open($pipe, '|-', @args)> のような、3 以上の引数の形式の | |
7376 | C<open> ではパイプに対応していません。 | |
7377 | 代わりに 2 引数 C<open($pipe, '|prog arg1 arg2...')> 形式を使ってください。 | |
7378 | 4158 | |
7379 | =item | |
4159 | =item Lvalue subs returning %s not implemented yet | |
7380 | 4160 | |
7381 | 4161 | =begin original |
7382 | 4162 | |
7383 | ( | |
4163 | (F) Due to limitations in the current implementation, array and hash | |
7384 | ||
4164 | values cannot be returned in subroutines used in lvalue context. See | |
7385 | ||
4165 | L<perlsub/"Lvalue subroutines">. | |
7386 | likely fix this error. | |
7387 | 4166 | |
7388 | 4167 | =end original |
7389 | 4168 | |
7390 | ( | |
4169 | (F) 現在の実装の制限により、左辺値コンテキストで使われるサブルーチンは | |
7391 | ||
4170 | 配列とハッシュの値を返すことができません。 | |
7392 | ||
4171 | L<perlsub/"Lvalue subroutines"> を参照してください。 | |
7393 | 修正されるでしょう。 | |
7394 | 4172 | |
7395 | =item Lo | |
4173 | =item Lookbehind longer than %d not implemented before << HERE %s | |
7396 | 4174 | |
7397 | 4175 | =begin original |
7398 | 4176 | |
7399 | (W locale) You are using the named locale, which is a non-UTF-8 one, and | |
7400 | which perl has determined is not fully compatible with what it can | |
7401 | handle. The second C<%s> gives a reason. | |
7402 | ||
7403 | =end original | |
7404 | ||
7405 | (W locale) 非 UTF-8 の名前付きロケールを使っていますが、 | |
7406 | perl はこれを扱うのに完全な互換性のあるものを決定できませんでした。 | |
7407 | 2 番目の C<%s> に理由があります。 | |
7408 | ||
7409 | =begin original | |
7410 | ||
7411 | By far the most common reason is that the locale has characters in it | |
7412 | that are represented by more than one byte. The only such locales that | |
7413 | Perl can handle are the UTF-8 locales. Most likely the specified locale | |
7414 | is a non-UTF-8 one for an East Asian language such as Chinese or | |
7415 | Japanese. If the locale is a superset of ASCII, the ASCII portion of it | |
7416 | may work in Perl. | |
7417 | ||
7418 | =end original | |
7419 | ||
7420 | もっともありそうな理由は、そのロケールが複数バイトで表現される文字を | |
7421 | 持っていることです。 | |
7422 | Perl が扱えるそのようなロケールで唯一のものは UTF-8 ロケールです。 | |
7423 | もっともありそうな指定されたロケールは、中国や日本のような東アジア言語の | |
7424 | 非 UTF-8 のものです。 | |
7425 | ロケールが ASCII の上位集合の場合、ASCII の部分は Perl で動作するでしょう。 | |
7426 | ||
7427 | =begin original | |
7428 | ||
7429 | Some essentially obsolete locales that aren't supersets of ASCII, mainly | |
7430 | those in ISO 646 or other 7-bit locales, such as ASMO 449, can also have | |
7431 | problems, depending on what portions of the ASCII character set get | |
7432 | changed by the locale and are also used by the program. | |
7433 | The warning message lists the determinable conflicting characters. | |
7434 | ||
7435 | =end original | |
7436 | ||
7437 | ASCII の上位集合でない、主に ISO 646 のものや、ASMO 449 のような | |
7438 | その他の 7 ビットロケールも問題になり得ます; | |
7439 | ASCII 文字集合のどの部分がロケールによって変更されるか、およびプログラムで | |
7440 | 使われるかによります。 | |
7441 | 警告メッセージは決定できる衝突している文字を一覧表示します。 | |
7442 | ||
7443 | =begin original | |
7444 | ||
7445 | Note that not all incompatibilities are found. | |
7446 | ||
7447 | =end original | |
7448 | ||
7449 | 全ての非互換性が発見されるわけではないことに注意してください。 | |
7450 | ||
7451 | =begin original | |
7452 | ||
7453 | If this happens to you, there's not much you can do except switch to use a | |
7454 | different locale or use L<Encode> to translate from the locale into | |
7455 | UTF-8; if that's impracticable, you have been warned that some things | |
7456 | may break. | |
7457 | ||
7458 | =end original | |
7459 | ||
7460 | これが起きた場合、異なるロケールを使うように変更するか、 | |
7461 | そのロケールから UTF-8 に変換するために L<Encode> を使う以外に | |
7462 | できることはあまりありません; もしそれができないなら、 | |
7463 | あなたは何かが壊れるかもしれないことを警告されました。 | |
7464 | ||
7465 | =begin original | |
7466 | ||
7467 | This message is output once each time a bad locale is switched into | |
7468 | within the scope of C<S<use locale>>, or on the first possibly-affected | |
7469 | operation if the C<S<use locale>> inherits a bad one. It is not raised | |
7470 | for any operations from the L<POSIX> module. | |
7471 | ||
7472 | =end original | |
7473 | ||
7474 | このメッセージは、C<S<use locale>> のスコープ内で悪いロケールに切り替わった | |
7475 | 毎に、あるいは C<S<use locale>> が悪いものを継承している場合は | |
7476 | 最初の影響があるかもしれない操作の時点で出力されます。 | |
7477 | これは L<POSIX> モジュールの操作では発生しません。 | |
7478 | ||
7479 | =item localtime(%f) failed | |
7480 | ||
7481 | =begin original | |
7482 | ||
7483 | (W overflow) You called C<localtime> with a number that it could not handle: | |
7484 | too large, too small, or NaN. The returned value is C<undef>. | |
7485 | ||
7486 | =end original | |
7487 | ||
7488 | (W overflow) 扱えない数値で C<localtime> を呼び出しました: 大きすぎたり | |
7489 | 小さすぎたり NaN だったりです。 | |
7490 | 返り値は C<undef> です。 | |
7491 | ||
7492 | =item localtime(%f) too large | |
7493 | ||
7494 | =begin original | |
7495 | ||
7496 | (W overflow) You called C<localtime> with a number that was larger | |
7497 | than it can reliably handle and C<localtime> probably returned the | |
7498 | wrong date. This warning is also triggered with NaN (the special | |
7499 | not-a-number value). | |
7500 | ||
7501 | =end original | |
7502 | ||
7503 | (W overflow) 信頼して扱えるよりも大きな数値で C<localtime> を呼び出したので | |
7504 | C<localtime> はおそらく間違った日付を返します。 | |
7505 | この警告は、NaN (特殊な非数) でも引き起こされます。 | |
7506 | ||
7507 | =item localtime(%f) too small | |
7508 | ||
7509 | =begin original | |
7510 | ||
7511 | (W overflow) You called C<localtime> with a number that was smaller | |
7512 | than it can reliably handle and C<localtime> probably returned the | |
7513 | wrong date. | |
7514 | ||
7515 | =end original | |
7516 | ||
7517 | (W overflow) 信頼して扱えるよりも小さな数値で C<localtime> を呼び出したので | |
7518 | C<localtime> はおそらく間違った日付を返します。 | |
7519 | ||
7520 | =item Lookbehind longer than %d not implemented in regex m/%s/ | |
7521 | ||
7522 | =begin original | |
7523 | ||
7524 | 4177 | (F) There is currently a limit on the length of string which lookbehind can |
7525 | handle. | |
4178 | handle. This restriction may be eased in a future release. The << HERE shows in | |
4179 | the regular expression about where the problem was discovered. | |
7526 | 4180 | |
7527 | 4181 | =end original |
7528 | 4182 | |
7529 | ||
4183 | 現在のところ前方参照が扱える文字列の長さには制限があります。 | |
7530 | 4184 | この制限は将来のリリースでは緩和されるでしょう。 |
4185 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
7531 | 4186 | |
7532 | =item Lost precision when %s %f by 1 | |
7533 | ||
7534 | =begin original | |
7535 | ||
7536 | (W imprecision) The value you attempted to increment or decrement by one | |
7537 | is too large for the underlying floating point representation to store | |
7538 | accurately, hence the target of C<++> or C<--> is unchanged. Perl issues this | |
7539 | warning because it has already switched from integers to floating point | |
7540 | when values are too large for integers, and now even floating point is | |
7541 | insufficient. You may wish to switch to using L<Math::BigInt> explicitly. | |
7542 | ||
7543 | =end original | |
7544 | ||
7545 | (W imprecision) インクリメントまたはデクリメントしようとしている値は、 | |
7546 | 基礎となっている浮動小数点数表現にとって正確に保管するには大きすぎるので、 | |
7547 | C<++> や C<--> のターゲットは変更されません。 | |
7548 | Perl は既に値が整数として大きすぎる時には整数から浮動小数点数に | |
7549 | 切り替えていて、浮動小数点数でも不十分なときにこの警告を出力します。 | |
7550 | 明示的に L<Math::BigInt> を使うように切り替えたいかもしれません。 | |
7551 | ||
7552 | =item lstat() on filehandle%s | |
7553 | ||
7554 | =begin original | |
7555 | ||
7556 | (W io) You tried to do an lstat on a filehandle. What did you mean | |
7557 | by that? lstat() makes sense only on filenames. (Perl did a fstat() | |
7558 | instead on the filehandle.) | |
7559 | ||
7560 | =end original | |
7561 | ||
7562 | (W io) ファイルハンドルに lstat を実行しようとしました。 | |
7563 | これで何をしようとしたのですか? | |
7564 | lstat() はファイル名に対してのみ意味があります。 | |
7565 | (Perl はファイルハンドルには代わりに fstat() を行いました。) | |
7566 | ||
7567 | =item lvalue attribute %s already-defined subroutine | |
7568 | ||
7569 | =begin original | |
7570 | ||
7571 | (W misc) Although L<attributes.pm|attributes> allows this, turning the lvalue | |
7572 | attribute on or off on a Perl subroutine that is already defined | |
7573 | does not always work properly. It may or may not do what you | |
7574 | want, depending on what code is inside the subroutine, with exact | |
7575 | details subject to change between Perl versions. Only do this | |
7576 | if you really know what you are doing. | |
7577 | ||
7578 | =end original | |
7579 | ||
7580 | (W misc) L<attributes.pm|attributes> ではこれは許されていますが、既に | |
7581 | 定義されている Perl サブルーチンに対して左辺値属性をオンまたはオフにするのは | |
7582 | 常に適切に動作するわけではありません。 | |
7583 | あなたの望むことが行われるかもしれませんし行われないかもしれません; | |
7584 | サブルーチンの内側にどんなコードがあるかに依存し、正確な詳細は | |
7585 | Perl バージョン間で変更されることがあります。 | |
7586 | 自分が何をしているのかが本当に分かっているときにだけこれを行ってください。 | |
7587 | ||
7588 | =item lvalue attribute ignored after the subroutine has been defined | |
7589 | ||
7590 | =begin original | |
7591 | ||
7592 | (W misc) Using the C<:lvalue> declarative syntax to make a Perl | |
7593 | subroutine an lvalue subroutine after it has been defined is | |
7594 | not permitted. To make the subroutine an lvalue subroutine, | |
7595 | add the lvalue attribute to the definition, or put the C<sub | |
7596 | foo :lvalue;> declaration before the definition. | |
7597 | ||
7598 | =end original | |
7599 | ||
7600 | (W misc) サブルーチンが定義された後、Perl サブルーチンを左辺値サブルーチンに | |
7601 | するために C<:lvalue> 宣言文を使うことはできません。 | |
7602 | サブルーチンを左辺値サブルーチンにするには定義時に左辺値属性を追加するか、 | |
7603 | 定義する前に C<sub foo :lvalue;> 宣言を行います。 | |
7604 | ||
7605 | =begin original | |
7606 | ||
7607 | See also L<attributes.pm|attributes>. | |
7608 | ||
7609 | =end original | |
7610 | ||
7611 | L<attributes.pm|attributes> も参照してください。 | |
7612 | ||
7613 | =item Magical list constants are not supported | |
7614 | ||
7615 | =begin original | |
7616 | ||
7617 | (F) You assigned a magical array to a stash element, and then tried | |
7618 | to use the subroutine from the same slot. You are asking Perl to do | |
7619 | something it cannot do, details subject to change between Perl versions. | |
7620 | ||
7621 | =end original | |
7622 | ||
7623 | (F) マジカルな配列をスタッシュ要素に代入し、それから同じスロットから | |
7624 | サブルーチンを使おうとしました。 | |
7625 | Perl のバージョンによって詳細が変わるかも知れないような、してはいけないことを | |
7626 | Perl にさせようとしました。 | |
7627 | ||
7628 | =item Malformed integer in [] in pack | |
7629 | ||
7630 | =begin original | |
7631 | ||
7632 | (F) Between the brackets enclosing a numeric repeat count only digits | |
7633 | are permitted. See L<perlfunc/pack>. | |
7634 | ||
7635 | =end original | |
7636 | ||
7637 | (F) 中かっこで数値繰り返し数を囲む場合、数値のみが許されます。 | |
7638 | L<perlfunc/pack> を参照してください。 | |
7639 | ||
7640 | =item Malformed integer in [] in unpack | |
7641 | ||
7642 | =begin original | |
7643 | ||
7644 | (F) Between the brackets enclosing a numeric repeat count only digits | |
7645 | are permitted. See L<perlfunc/pack>. | |
7646 | ||
7647 | =end original | |
7648 | ||
7649 | (F) 中かっこで数値繰り返し数を囲む場合、数値のみが許されます。 | |
7650 | L<perlfunc/pack> を参照してください。 | |
7651 | ||
7652 | 4187 | =item Malformed PERLLIB_PREFIX |
7653 | 4188 | |
7654 | 4189 | =begin original |
7655 | 4190 | |
7656 | 4191 | (F) An error peculiar to OS/2. PERLLIB_PREFIX should be of the form |
7657 | 4192 | |
7658 | 4193 | =end original |
7659 | 4194 | |
7660 | 4195 | (F) OS/2 固有のエラーです。 |
7661 | 4196 | PERLLIB_PREFIX は以下のような形か: |
7662 | 4197 | |
7663 | 4198 | prefix1;prefix2 |
7664 | 4199 | |
7665 | 4200 | =begin original |
7666 | 4201 | |
7667 | 4202 | or |
7668 | prefix1 prefix2 | |
7669 | 4203 | |
7670 | 4204 | =end original |
7671 | 4205 | |
7672 | ||
4206 | あるいはこのような形で: | |
4207 | ||
7673 | 4208 | prefix1 prefix2 |
7674 | 4209 | |
7675 | 4210 | =begin original |
7676 | 4211 | |
7677 | 4212 | with nonempty prefix1 and prefix2. If C<prefix1> is indeed a prefix of |
7678 | 4213 | a builtin library search path, prefix2 is substituted. The error may |
7679 | 4214 | appear if components are not found, or are too long. See |
7680 | 4215 | "PERLLIB_PREFIX" in L<perlos2>. |
7681 | 4216 | |
7682 | 4217 | =end original |
7683 | 4218 | |
7684 | 4219 | prefix1 と prefix2 が空でない形である必要があります。 |
7685 | 4220 | C<prefix1> が組み込みライブラリ検索パスのプレフィックスなら、 |
7686 | 4221 | prefix2 は置き換えられます。 |
7687 | 4222 | このエラーは、コンポーネントが見つからないか、長すぎる時に起こります。 |
7688 | 4223 | L<perlos2> の "PERLLIB_PREFIX" を参照してください。 |
7689 | 4224 | |
7690 | =item Malformed prototype for %s: %s | |
7691 | ||
7692 | =begin original | |
7693 | ||
7694 | (F) You tried to use a function with a malformed prototype. The | |
7695 | syntax of function prototypes is given a brief compile-time check for | |
7696 | obvious errors like invalid characters. A more rigorous check is run | |
7697 | when the function is called. | |
7698 | Perhaps the function's author was trying to write a subroutine signature | |
7699 | but didn't enable that feature first (C<use feature 'signatures'>), | |
7700 | so the signature was instead interpreted as a bad prototype. | |
7701 | ||
7702 | =end original | |
7703 | ||
7704 | (F) 不正な形式のプロトタイプをもつ関数を使おうとしました。 | |
7705 | 関数プロトタイプの構文は、不正な文字のようなありふれたエラーについては | |
7706 | コンパイル時にチェックされます。 | |
7707 | より厳密なチェックは、関数が呼び出された時に実行されます。 | |
7708 | おそらく関数の作者はサブルーチンシグネチャを書こうとしたけれども、 | |
7709 | 先にこの機能を有効にしなかった (C<use feature 'signatures'>) ので、 | |
7710 | シグネチャは間違ったプロトタイプとして解釈されました。 | |
7711 | ||
7712 | 4225 | =item Malformed UTF-8 character (%s) |
7713 | 4226 | |
7714 | 4227 | =begin original |
7715 | 4228 | |
7716 | ||
4229 | Perl detected something that didn't comply with UTF-8 encoding rules. | |
7717 | encoding rules, even though it had the UTF8 flag on. | |
7718 | 4230 | |
7719 | 4231 | =end original |
7720 | 4232 | |
7721 | ||
4233 | Perl が、何か UTF-8 エンコーディングルールに従わないものを | |
7722 | ||
4234 | 検出しました。 | |
7723 | 4235 | |
7724 | =begin original | |
7725 | ||
7726 | One possible cause is that you set the UTF8 flag yourself for data that | |
7727 | you thought to be in UTF-8 but it wasn't (it was for example legacy | |
7728 | 8-bit data). To guard against this, you can use Encode::decode_utf8. | |
7729 | ||
7730 | =end original | |
7731 | ||
7732 | 原因の可能性の一つは、UTF-8 だと思っていたけれでもそうではなかったデータ | |
7733 | (例えばレガシーな 8 ビットデータ)にあなた自身で UTF8 フラグをセットした | |
7734 | ことです。 | |
7735 | これから守るためには、Encode::decode_utf8 を使えます。 | |
7736 | ||
7737 | =begin original | |
7738 | ||
7739 | If you use the C<:encoding(UTF-8)> PerlIO layer for input, invalid byte | |
7740 | sequences are handled gracefully, but if you use C<:utf8>, the flag is | |
7741 | set without validating the data, possibly resulting in this error | |
7742 | message. | |
7743 | ||
7744 | =end original | |
7745 | ||
7746 | 入力に C<:encoding(UTF-8)> PerlIO 層を使うと、不正なバイトシーケンスは | |
7747 | 寛容に扱われますが、C<:utf8> を使うと、フラグはデータを検証せずに設定され、 | |
7748 | おそらく結果としてこのエラーメッセージが出力されます。 | |
7749 | ||
7750 | =begin original | |
7751 | ||
7752 | See also L<Encode/"Handling Malformed Data">. | |
7753 | ||
7754 | =end original | |
7755 | ||
7756 | L<Encode/"Handling Malformed Data"> も参照してください。 | |
7757 | ||
7758 | =item Malformed UTF-8 character immediately after '%s' | |
7759 | ||
7760 | =begin original | |
7761 | ||
7762 | (F) You said C<use utf8>, but the program file doesn't comply with UTF-8 | |
7763 | encoding rules. The message prints out the properly encoded characters | |
7764 | just before the first bad one. If C<utf8> warnings are enabled, a | |
7765 | warning is generated that gives more details about the type of | |
7766 | malformation. | |
7767 | ||
7768 | =end original | |
7769 | ||
7770 | (F) C<use utf8> を指定しましたが、プログラムファイルは UTF-8 エンコーディング | |
7771 | 規則に従っていません。 | |
7772 | このメッセージは最初の間違った文字の直前の正しくエンコードされた文字を | |
7773 | 表示します。 | |
7774 | C<utf8> 警告が有効なら、不正の種類に関するさらなる詳細が出力されます。 | |
7775 | ||
7776 | =item Malformed UTF-8 returned by \N{%s} immediately after '%s' | |
7777 | ||
7778 | =begin original | |
7779 | ||
7780 | (F) The charnames handler returned malformed UTF-8. | |
7781 | ||
7782 | =end original | |
7783 | ||
7784 | (F) charnames ハンドラが不正な UTF-8 を返しました。 | |
7785 | ||
7786 | =item Malformed UTF-8 string in '%c' format in unpack | |
7787 | ||
7788 | =begin original | |
7789 | ||
7790 | (F) You tried to unpack something that didn't comply with UTF-8 encoding | |
7791 | rules and perl was unable to guess how to make more progress. | |
7792 | ||
7793 | =end original | |
7794 | ||
7795 | (F) UTF-8 エンコーディング規則に従わない何かを unpack しようとしたので、 | |
7796 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 | |
7797 | ||
7798 | =item Malformed UTF-8 string in pack | |
7799 | ||
7800 | =begin original | |
7801 | ||
7802 | (F) You tried to pack something that didn't comply with UTF-8 encoding | |
7803 | rules and perl was unable to guess how to make more progress. | |
7804 | ||
7805 | =end original | |
7806 | ||
7807 | (F) UTF-8 エンコーディング規則に従わない何かを pack しようとしたので、 | |
7808 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 | |
7809 | ||
7810 | =item Malformed UTF-8 string in unpack | |
7811 | ||
7812 | =begin original | |
7813 | ||
7814 | (F) You tried to unpack something that didn't comply with UTF-8 encoding | |
7815 | rules and perl was unable to guess how to make more progress. | |
7816 | ||
7817 | =end original | |
7818 | ||
7819 | (F) UTF-8 エンコーディング規則に従わない何かを unpack しようとしたので、 | |
7820 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 | |
7821 | ||
7822 | 4236 | =item Malformed UTF-16 surrogate |
7823 | 4237 | |
7824 | 4238 | =begin original |
7825 | 4239 | |
7826 | ||
4240 | Perl thought it was reading UTF-16 encoded character data but while | |
7827 | 4241 | doing it Perl met a malformed Unicode surrogate. |
7828 | 4242 | |
7829 | 4243 | =end original |
7830 | 4244 | |
7831 | ||
4245 | Perl は UTF-16 エンコード文字データを読み込んでいると考えましたが、 | |
7832 | 4246 | その間に Perl が不正な Unicode サロゲートに遭遇しました。 |
7833 | 4247 | |
7834 | =item | |
4248 | =item %s matches null string many times | |
7835 | 4249 | |
7836 | 4250 | =begin original |
7837 | 4251 | |
7838 | (F) In a subroutine signature, you wrote something like "$a = undef, | |
7839 | $b", making an earlier parameter optional and a later one mandatory. | |
7840 | Parameters are filled from left to right, so it's impossible for the | |
7841 | caller to omit an earlier one and pass a later one. If you want to act | |
7842 | as if the parameters are filled from right to left, declare the rightmost | |
7843 | optional and then shuffle the parameters around in the subroutine's body. | |
7844 | ||
7845 | =end original | |
7846 | ||
7847 | (F) サブルーチンシグネチャで、"$a = undef, $b" のような、先の引数が | |
7848 | オプションで後の引数が必須のようなものを書きました。 | |
7849 | 引数は左から右に埋められるので、呼び出し側が先のものを省略して後のものに | |
7850 | 渡すことは不可能です。 | |
7851 | 引数が右から左に埋められるかのように振る舞ってほしい場合は、一番右を | |
7852 | オプションと宣言して、引数をサブルーチン本体で入れ替えてください。 | |
7853 | ||
7854 | =item Matched non-Unicode code point 0x%X against Unicode property; may | |
7855 | not be portable | |
7856 | ||
7857 | =begin original | |
7858 | ||
7859 | (S non_unicode) Perl allows strings to contain a superset of | |
7860 | Unicode code points; each code point may be as large as what is storable | |
7861 | in an unsigned integer on your system, but these may not be accepted by | |
7862 | other languages/systems. This message occurs when you matched a string | |
7863 | containing such a code point against a regular expression pattern, and | |
7864 | the code point was matched against a Unicode property, C<\p{...}> or | |
7865 | C<\P{...}>. Unicode properties are only defined on Unicode code points, | |
7866 | so the result of this match is undefined by Unicode, but Perl (starting | |
7867 | in v5.20) treats non-Unicode code points as if they were typical | |
7868 | unassigned Unicode ones, and matched this one accordingly. Whether a | |
7869 | given property matches these code points or not is specified in | |
7870 | L<perluniprops/Properties accessible through \p{} and \P{}>. | |
7871 | ||
7872 | =end original | |
7873 | ||
7874 | (S non_unicode) Perl は文字列に Unicode 符号位置の上位集合を | |
7875 | 含むことができます; それぞれの符号位置はシステムの符号なし整数に | |
7876 | 格納できるだけの大きさを指定できますが、これらは他の言語/システムでは | |
7877 | 受け付けられないかも知れません。 | |
7878 | このメッセージは、このような符号位置を含む文字列をある正規表現パターンで | |
7879 | マッチングし、符号位置が Unicode 特性 C<\p{...}> または C<\P{...}> と | |
7880 | マッチングしたときに発生します。 | |
7881 | Unicode 特性は Unicode 符号位置に対してのみ定義されているので、 | |
7882 | Unicode によればこのマッチングの結果は未定義ですが、 | |
7883 | Perl は (v5.20 から) 非 Unicode 符号位置を、典型的な未割り当て | |
7884 | Unicode 符号位置として扱い、それぞれマッチングします。 | |
7885 | 指定された特性がこれらの符号位置にマッチングするかどうかは | |
7886 | L<perluniprops/Properties accessible through \p{} and \P{}> で | |
7887 | 指定されています。 | |
7888 | ||
7889 | =begin original | |
7890 | ||
7891 | This message is suppressed (unless it has been made fatal) if it is | |
7892 | immaterial to the results of the match if the code point is Unicode or | |
7893 | not. For example, the property C<\p{ASCII_Hex_Digit}> only can match | |
7894 | the 22 characters C<[0-9A-Fa-f]>, so obviously all other code points, | |
7895 | Unicode or not, won't match it. (And C<\P{ASCII_Hex_Digit}> will match | |
7896 | every code point except these 22.) | |
7897 | ||
7898 | =end original | |
7899 | ||
7900 | このメッセージは、符号位置が Unicode かどうかがマッチングの結果に関係ない | |
7901 | 場合は、(致命的にしていない限り)抑制されます。 | |
7902 | 例えば、特性 C<\p{ASCII_Hex_Digit}> は 22 文字 C<[0-9A-Fa-f]> だけに | |
7903 | マッチングするので、明らかに他の符号位置は、Unicode かどうかに関わらず、 | |
7904 | マッチングしません。 | |
7905 | (そして C<\P{ASCII_Hex_Digit}> はこれら 22 以外の全ての符号位置に | |
7906 | マッチングします。) | |
7907 | ||
7908 | =begin original | |
7909 | ||
7910 | Getting this message indicates that the outcome of the match arguably | |
7911 | should have been the opposite of what actually happened. If you think | |
7912 | that is the case, you may wish to make the C<non_unicode> warnings | |
7913 | category fatal; if you agree with Perl's decision, you may wish to turn | |
7914 | off this category. | |
7915 | ||
7916 | =end original | |
7917 | ||
7918 | このメッセージが出たということは、マッチングの結果はおそらく実際に起きた結果と | |
7919 | 逆になっているはずだということを示しています。 | |
7920 | これに当てはまっていると考えられる場合は、C<non_unicode> 警告カテゴリを | |
7921 | 致命的にした方がよいでしょう; Perl の結果に同意する場合は、このカテゴリを | |
7922 | オフにした方がよいでしょう。 | |
7923 | ||
7924 | =begin original | |
7925 | ||
7926 | See L<perlunicode/Beyond Unicode code points> for more information. | |
7927 | ||
7928 | =end original | |
7929 | ||
7930 | さらなる情報については L<perlunicode/Beyond Unicode code points> を | |
7931 | 参照してください。 | |
7932 | ||
7933 | =item %s matches null string many times in regex; marked by S<<-- HERE> in | |
7934 | m/%s/ | |
7935 | ||
7936 | =begin original | |
7937 | ||
7938 | 4252 | (W regexp) The pattern you've specified would be an infinite loop if the |
7939 | regular expression engine didn't specifically check for that. | |
4253 | regular expression engine didn't specifically check for that. See | |
7940 | ||
4254 | L<perlre>. | |
7941 | See L<perlre>. | |
7942 | 4255 | |
7943 | 4256 | =end original |
7944 | 4257 | |
7945 | 4258 | (W) 指定したパターンは、もし、正規表現エンジンがチェックを |
7946 | 4259 | 行なっていなければ、無限ループに陥るものです。 |
7947 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
7948 | 4260 | L<perlre> を参照してください。 |
7949 | 4261 | |
7950 | =item | |
4262 | =item % may only be used in unpack | |
7951 | 4263 | |
7952 | 4264 | =begin original |
7953 | 4265 | |
7954 | (F) Perl aborted due to too high a number of signals pending. This | |
7955 | usually indicates that your operating system tried to deliver signals | |
7956 | too fast (with a very high priority), starving the perl process from | |
7957 | resources it would need to reach a point where it can process signals | |
7958 | safely. (See L<perlipc/"Deferred Signals (Safe Signals)">.) | |
7959 | ||
7960 | =end original | |
7961 | ||
7962 | (F) あまりにも多くのシグナルが保留中になったので Perl は中断しました。 | |
7963 | これは普通 OS が速くシグナルを(とても高い優先順位で)配達しようとしすぎて、 | |
7964 | perl のプロセスが安全にシグナルを処理できるところに到達するまでに必要な | |
7965 | リソースが不足したことを示しています。 | |
7966 | (L<perlipc/"Deferred Signals (Safe Signals)"> を参照してください。) | |
7967 | ||
7968 | =item "%s" may clash with future reserved word | |
7969 | ||
7970 | =begin original | |
7971 | ||
7972 | (W) This warning may be due to running a perl5 script through a perl4 | |
7973 | interpreter, especially if the word that is being warned about is | |
7974 | "use" or "my". | |
7975 | ||
7976 | =end original | |
7977 | ||
7978 | (W) この警告は perl5 のスクリプトを perl4 インタプリタで実行しようとした | |
7979 | ときに起きることが多いです; 特に警告された文字が "use" や "my" の場合は | |
7980 | そうです。 | |
7981 | ||
7982 | =item '%' may not be used in pack | |
7983 | ||
7984 | =begin original | |
7985 | ||
7986 | 4266 | (F) You can't pack a string by supplying a checksum, because the |
7987 | 4267 | checksumming process loses information, and you can't go the other way. |
7988 | 4268 | See L<perlfunc/unpack>. |
7989 | 4269 | |
7990 | 4270 | =end original |
7991 | 4271 | |
7992 | (F) チェックサムを指定して pack を行なうことはできません | |
4272 | (F) チェックサムを指定して pack を行なうことはできません。 | |
7993 | 4273 | チェックサム処理では、情報が失われ、どうしようもなくなるからです。 |
7994 | 4274 | L<perlfunc/unpack> を参照してください。 |
7995 | 4275 | |
7996 | 4276 | =item Method for operation %s not found in package %s during blessing |
7997 | 4277 | |
7998 | 4278 | =begin original |
7999 | 4279 | |
8000 | 4280 | (F) An attempt was made to specify an entry in an overloading table that |
8001 | 4281 | doesn't resolve to a valid subroutine. See L<overload>. |
8002 | 4282 | |
8003 | 4283 | =end original |
8004 | 4284 | |
8005 | 4285 | (F) 多重定義テーブルで、有効なサブルーチンに解決できない |
8006 | 4286 | エントリを指定しようとしました。 |
8007 | 4287 | L<overload> を参照してください。 |
8008 | 4288 | |
8009 | 4289 | =item Method %s not permitted |
8010 | 4290 | |
8011 | 4291 | =begin original |
8012 | 4292 | |
8013 | 4293 | See Server error. |
8014 | 4294 | |
8015 | 4295 | =end original |
8016 | 4296 | |
8017 | 4297 | "Server error" を参照してください。 |
8018 | 4298 | |
8019 | 4299 | =item Might be a runaway multi-line %s string starting on line %d |
8020 | 4300 | |
8021 | 4301 | =begin original |
8022 | 4302 | |
8023 | 4303 | (S) An advisory indicating that the previous error may have been caused |
8024 | 4304 | by a missing delimiter on a string or pattern, because it eventually |
8025 | 4305 | ended earlier on the current line. |
8026 | 4306 | |
8027 | 4307 | =end original |
8028 | 4308 | |
8029 | 4309 | (S) ようやく現在行になって、文字列やパターンの終わりが見つかったことから、 |
8030 | 4310 | 先のエラーが、文字列やパターンのデリミタが、見つからなかったことで |
8031 | 4311 | 起ったかもしれないことを、補足的に示しています。 |
8032 | 4312 | |
8033 | 4313 | =item Misplaced _ in number |
8034 | 4314 | |
8035 | 4315 | =begin original |
8036 | 4316 | |
8037 | (W syntax) An under | |
4317 | (W syntax) An underline in a decimal constant wasn't on a 3-digit boundary. | |
8038 | separate two digits. | |
8039 | 4318 | |
8040 | 4319 | =end original |
8041 | 4320 | |
8042 | (W syntax) 数 | |
4321 | (W syntax) 十進数定数で下線が、3 桁ごとでありませんでした。 | |
8043 | 4322 | |
8044 | =item Missing | |
4323 | =item Missing %sbrace%s on \N{} | |
8045 | 4324 | |
8046 | 4325 | =begin original |
8047 | 4326 | |
8048 | (W missing) You called a function with fewer arguments than other | |
8049 | arguments you supplied indicated would be needed. | |
8050 | ||
8051 | =end original | |
8052 | ||
8053 | (W missing) 他で指定した引数によって必要であると示されているよりも | |
8054 | 少ない引数で関数を呼び出しました。 | |
8055 | ||
8056 | =begin original | |
8057 | ||
8058 | Currently only emitted when a printf-type format required more | |
8059 | arguments than were supplied, but might be used in the future for | |
8060 | other cases where we can statically determine that arguments to | |
8061 | functions are missing, e.g. for the L<perlfunc/pack> function. | |
8062 | ||
8063 | =end original | |
8064 | ||
8065 | 現在のところは printf 型式のフォーマットが提供されたよりも多くの引数を | |
8066 | 要求した場合にのみ発生しますが、 | |
8067 | 将来、L<perlfunc/pack> 関数のような、関数の引数を静的に決定できる | |
8068 | その他の場合に使われるかもしれません。 | |
8069 | ||
8070 | =item Missing argument to -%c | |
8071 | ||
8072 | =begin original | |
8073 | ||
8074 | (F) The argument to the indicated command line switch must follow | |
8075 | immediately after the switch, without intervening spaces. | |
8076 | ||
8077 | =end original | |
8078 | ||
8079 | (F) 示されたコマンドラインスイッチの引数は、 | |
8080 | スイッチの直後にスペースを空けないで書く必要があります。 | |
8081 | ||
8082 | =item Missing braces on \N{} | |
8083 | ||
8084 | =item Missing braces on \N{} in regex; marked by S<<-- HERE> in m/%s/ | |
8085 | ||
8086 | =begin original | |
8087 | ||
8088 | 4327 | (F) Wrong syntax of character name literal C<\N{charname}> within |
8089 | double-quotish context. | |
4328 | double-quotish context. | |
8090 | (or comment) between the C<\N> and the C<{> in a regex with the C</x> modifier. | |
8091 | This modifier does not change the requirement that the brace immediately | |
8092 | follow the C<\N>. | |
8093 | 4329 | |
8094 | 4330 | =end original |
8095 | 4331 | |
8096 | 4332 | (F) ダブルクォートされたコンテキストの中で、文字名リテラル C<\N{charname}> の |
8097 | 4333 | 文法が間違っています。 |
8098 | これはまた、C</x> 修飾子付きの正規表現の C<\N> と C<{> の間に空白(または | |
8099 | コメント)がある場合にも起こります。 | |
8100 | この修飾子は、C<\N> の直後に中かっこが必要であるという条件は変更しません。 | |
8101 | 4334 | |
8102 | =item Missing braces on \o{} | |
8103 | ||
8104 | =begin original | |
8105 | ||
8106 | (F) A C<\o> must be followed immediately by a C<{> in double-quotish context. | |
8107 | ||
8108 | =end original | |
8109 | ||
8110 | (F) ダブルクォート風コンテキストでは C<\o> は直後に C<{> が | |
8111 | 引き続かなければなりません。 | |
8112 | ||
8113 | 4335 | =item Missing comma after first argument to %s function |
8114 | 4336 | |
8115 | 4337 | =begin original |
8116 | 4338 | |
8117 | 4339 | (F) While certain functions allow you to specify a filehandle or an |
8118 | 4340 | "indirect object" before the argument list, this ain't one of them. |
8119 | 4341 | |
8120 | 4342 | =end original |
8121 | 4343 | |
8122 | 4344 | (F) ある種の関数では、引数リストの前に、ファイルハンドルや |
8123 | 4345 | 「間接オブジェクト」をおくことができますが、この関数は、 |
8124 | 4346 | そういったものではありません。 |
8125 | 4347 | |
8126 | 4348 | =item Missing command in piped open |
8127 | 4349 | |
8128 | 4350 | =begin original |
8129 | 4351 | |
8130 | 4352 | (W pipe) You used the C<open(FH, "| command")> or |
8131 | 4353 | C<open(FH, "command |")> construction, but the command was missing or |
8132 | 4354 | blank. |
8133 | 4355 | |
8134 | 4356 | =end original |
8135 | 4357 | |
8136 | 4358 | (W pipe) C<open(FH, "| command")> か C<open(FH, "command |")> の構文を |
8137 | 4359 | 使っていますが、コマンドが指定されていないか空白です。 |
8138 | 4360 | |
8139 | =item Missing | |
4361 | =item Missing name in "my sub" | |
8140 | 4362 | |
8141 | 4363 | =begin original |
8142 | 4364 | |
8143 | (F) | |
4365 | (F) The reserved syntax for lexically scoped subroutines requires that | |
8144 | character name. | |
8145 | ||
8146 | =end original | |
8147 | ||
8148 | (F) ダブルクォートされた文字列が "\c" で終わっています; 制御文字名が | |
8149 | 必要です。 | |
8150 | ||
8151 | =item Missing ']' in prototype for %s : %s | |
8152 | ||
8153 | =begin original | |
8154 | ||
8155 | (W illegalproto) A grouping was started with C<[> but never closed with C<]>. | |
8156 | ||
8157 | =end original | |
8158 | ||
8159 | (W illegalproto) グループ化は C<[> で始まりましたが C<]> で | |
8160 | 閉じられませんでした。 | |
8161 | ||
8162 | =item Missing name in "%s sub" | |
8163 | ||
8164 | =begin original | |
8165 | ||
8166 | (F) The syntax for lexically scoped subroutines requires that | |
8167 | 4366 | they have a name with which they can be found. |
8168 | 4367 | |
8169 | 4368 | =end original |
8170 | 4369 | |
8171 | (F) レキシカルスコープのサブルーチン | |
4370 | (F) 予約された文法である、レキシカルスコープのサブルーチンには | |
4371 | 探すことの出来る名前が必要です。 | |
8172 | 4372 | |
8173 | 4373 | =item Missing $ on loop variable |
8174 | 4374 | |
8175 | 4375 | =begin original |
8176 | 4376 | |
8177 | 4377 | (F) Apparently you've been programming in B<csh> too much. Variables |
8178 | 4378 | are always mentioned with the $ in Perl, unlike in the shells, where it |
8179 | 4379 | can vary from one line to the next. |
8180 | 4380 | |
8181 | 4381 | =end original |
8182 | 4382 | |
8183 | 4383 | (F) B<csh> を使いすぎた症状が現れているようです。 |
8184 | Perl では、変数は常に $ を付けて表わされます | |
4384 | Perl では、変数は常に $ を付けて表わされます。 | |
8185 | 違っています。 | |
4385 | その時によって違う、シェルとは違っています。 | |
8186 | 4386 | |
8187 | 4387 | =item (Missing operator before %s?) |
8188 | 4388 | |
8189 | 4389 | =begin original |
8190 | 4390 | |
8191 | (S | |
4391 | (S) This is an educated guess made in conjunction with the message "%s | |
8192 | ||
4392 | found where operator expected". Often the missing operator is a comma. | |
8193 | 4393 | |
8194 | 4394 | =end original |
8195 | 4395 | |
8196 | (S | |
4396 | (S) "%s found where operator expected" と共に表示される教育的な推測です。 | |
8197 | ||
4397 | しばしば抜けている演算子はカンマです。 | |
8198 | しばしば不足している演算子はカンマです。 | |
8199 | 4398 | |
8200 | =item Missing or undefined argument to require | |
8201 | ||
8202 | =begin original | |
8203 | ||
8204 | (F) You tried to call require with no argument or with an undefined | |
8205 | value as an argument. Require expects either a package name or a | |
8206 | file-specification as an argument. See L<perlfunc/require>. | |
8207 | ||
8208 | =end original | |
8209 | ||
8210 | (F) 引数なし、または未定義値を引数として require を呼び出そうとしました。 | |
8211 | require はパッケージ名またはファイル指定を引数として想定します。 | |
8212 | L<perlfunc/require> を参照してください。 | |
8213 | ||
8214 | =item Missing right brace on \%c{} in regex; marked by S<<-- HERE> in m/%s/ | |
8215 | ||
8216 | =begin original | |
8217 | ||
8218 | (F) Missing right brace in C<\x{...}>, C<\p{...}>, C<\P{...}>, or C<\N{...}>. | |
8219 | ||
8220 | =end original | |
8221 | ||
8222 | (F) C<\x{...}>, C<\p{...}>, C<\P{...}>, C<\N{...}> の右側のかっこが | |
8223 | 抜けています。 | |
8224 | ||
8225 | =item Missing right brace on \N{} | |
8226 | ||
8227 | =item Missing right brace on \N{} or unescaped left brace after \N | |
8228 | ||
8229 | =begin original | |
8230 | ||
8231 | (F) C<\N> has two meanings. | |
8232 | ||
8233 | =end original | |
8234 | ||
8235 | (F) C<\N> には二つの意味があります。 | |
8236 | ||
8237 | =begin original | |
8238 | ||
8239 | The traditional one has it followed by a name enclosed in braces, | |
8240 | meaning the character (or sequence of characters) given by that | |
8241 | name. Thus C<\N{ASTERISK}> is another way of writing C<*>, valid in both | |
8242 | double-quoted strings and regular expression patterns. In patterns, | |
8243 | it doesn't have the meaning an unescaped C<*> does. | |
8244 | ||
8245 | =end original | |
8246 | ||
8247 | 伝統的なものは中かっこで囲まれた名前が引き続き、その名前を持つ文字 | |
8248 | (または文字並び)を意味します。 | |
8249 | 従って C<\N{ASTERISK}> は C<*> を書くためのもう一つの方法であり、 | |
8250 | ダブルクォート文字列と正規表現パターンの両方で妥当です。 | |
8251 | パターンでは、これはエスケープされない C<*> の持つ意味はありません。 | |
8252 | ||
8253 | =begin original | |
8254 | ||
8255 | Starting in Perl 5.12.0, C<\N> also can have an additional meaning (only) | |
8256 | in patterns, namely to match a non-newline character. (This is short | |
8257 | for C<[^\n]>, and like C<.> but is not affected by the C</s> regex modifier.) | |
8258 | ||
8259 | =end original | |
8260 | ||
8261 | Perl 5.12.0 から、C<\N> はパターンでの中(のみ)では追加の意味を持ちます; | |
8262 | 非改行文字にマッチングします。 | |
8263 | (これは C<[^\n]> の短縮形で、C<.> と似ていますが C</s> 正規表現修飾子によって | |
8264 | 影響を受けません。) | |
8265 | ||
8266 | =begin original | |
8267 | ||
8268 | This can lead to some ambiguities. When C<\N> is not followed immediately | |
8269 | by a left brace, Perl assumes the C<[^\n]> meaning. Also, if the braces | |
8270 | form a valid quantifier such as C<\N{3}> or C<\N{5,}>, Perl assumes that this | |
8271 | means to match the given quantity of non-newlines (in these examples, | |
8272 | 3; and 5 or more, respectively). In all other case, where there is a | |
8273 | C<\N{> and a matching C<}>, Perl assumes that a character name is desired. | |
8274 | ||
8275 | =end original | |
8276 | ||
8277 | これによりいくつかの曖昧さを引き起こします。 | |
8278 | C<\N> の直後に開き中かっこがなければ、Perl は C<[^\n]> の意味を仮定します。 | |
8279 | また、中かっこが C<\N{3}> や C<\N{5,}> のような妥当な量指定子の形に | |
8280 | なっているなら、Perl はこれを与えられた量の非改行 (この例では、それぞれ 3 と | |
8281 | 5 以上) にマッチングするという意味を仮定します。 | |
8282 | それ以外の場合、C<\N{> と対応する C<}> があれば、Perl は文字名が | |
8283 | 求められていると仮定します。 | |
8284 | ||
8285 | =begin original | |
8286 | ||
8287 | However, if there is no matching C<}>, Perl doesn't know if it was | |
8288 | mistakenly omitted, or if C<[^\n]{> was desired, and raises this error. | |
8289 | If you meant the former, add the right brace; if you meant the latter, | |
8290 | escape the brace with a backslash, like so: C<\N\{> | |
8291 | ||
8292 | =end original | |
8293 | ||
8294 | しかし、対応する C<}> がなければ、それが間違って省略されたのか、 | |
8295 | C<[^\n]{> が求められているものなのかが分からず、エラーを起こします。 | |
8296 | 前者を意味しているなら、閉じ中かっこを追加してください; 後者を | |
8297 | 意味しているなら、C<\N\{> のように中かっこを逆スラッシュで | |
8298 | エスケープしてください。 | |
8299 | ||
8300 | 4399 | =item Missing right curly or square bracket |
8301 | 4400 | |
8302 | 4401 | =begin original |
8303 | 4402 | |
8304 | 4403 | (F) The lexer counted more opening curly or square brackets than closing |
8305 | 4404 | ones. As a general rule, you'll find it's missing near the place you |
8306 | 4405 | were last editing. |
8307 | 4406 | |
8308 | 4407 | =end original |
8309 | 4408 | |
8310 | (F) 字句解析部が、閉じ中 | |
4409 | (F) 字句解析部が、閉じ中括弧(または大括弧)よりも | |
8311 | 開き中 | |
4410 | 開き中括弧(大括弧)を多く発見しました。 | |
8312 | 4411 | 一般的な規則として、最後に修正した場所の近くに間違いがあるといえます。 |
8313 | 4412 | |
8314 | 4413 | =item (Missing semicolon on previous line?) |
8315 | 4414 | |
8316 | 4415 | =begin original |
8317 | 4416 | |
8318 | (S | |
4417 | (S) This is an educated guess made in conjunction with the message "%s | |
8319 | ||
4418 | found where operator expected". Don't automatically put a semicolon on | |
8320 | 4419 | the previous line just because you saw this message. |
8321 | 4420 | |
8322 | 4421 | =end original |
8323 | 4422 | |
8324 | (S | |
4423 | (S) このメッセージは、"%s found where operator expected" という | |
8325 | ||
4424 | メッセージに伴って出される教育的な推測によるものです。 | |
8326 | このメッセージが出たからといって、機械的に前の行に | |
4425 | このメッセージが出たからといって、機械的に前の行に | |
8327 | しないでください。 | |
4426 | セミコロンを付けることはしないでください。 | |
8328 | 4427 | |
8329 | 4428 | =item Modification of a read-only value attempted |
8330 | 4429 | |
8331 | 4430 | =begin original |
8332 | 4431 | |
8333 | 4432 | (F) You tried, directly or indirectly, to change the value of a |
8334 | 4433 | constant. You didn't, of course, try "2 = 1", because the compiler |
8335 | 4434 | catches that. But an easy way to do the same thing is: |
8336 | 4435 | |
8337 | 4436 | =end original |
8338 | 4437 | |
8339 | 4438 | (F) 直接、間接に関らず、定数値を変更しようとしました。 |
8340 | 4439 | もちろん、コンパイラが発見できる、"2 = 1" などといったことを |
8341 | 4440 | したわけではありません。 |
8342 | 4441 | しかし、同じことは以下のようにしても起こります。 |
8343 | 4442 | |
8344 | 4443 | sub mod { $_[0] = 1 } |
8345 | 4444 | mod(2); |
8346 | 4445 | |
8347 | 4446 | =begin original |
8348 | 4447 | |
8349 | 4448 | Another way is to assign to a substr() that's off the end of the string. |
8350 | 4449 | |
8351 | 4450 | =end original |
8352 | 4451 | |
8353 | 4452 | substr() で、文字列の終わりよりも後ろに代入を行なうことでも起こります。 |
8354 | 4453 | |
8355 | 4454 | =begin original |
8356 | 4455 | |
8357 | 4456 | Yet another way is to assign to a C<foreach> loop I<VAR> when I<VAR> |
8358 | 4457 | is aliased to a constant in the look I<LIST>: |
8359 | 4458 | |
8360 | 4459 | =end original |
8361 | 4460 | |
8362 | 4461 | もう一つの可能性は、C<foreach> ループにおいて、I<VAR> が I<LIST> の中の |
8363 | 4462 | 定数のエイリアスであるときに、I<VAR> に代入した時です: |
8364 | 4463 | |
8365 | $x = 1; | |
4464 | $x = 1; | |
8366 | foreach my $n ($x, 2) { | |
4465 | foreach my $n ($x, 2) { | |
8367 | $n *= 2; # modifies the $x, but fails on attempt to | |
4466 | $n *= 2; # modifies the $x, but fails on attempt to modify the 2 | |
8368 | | |
4467 | } | |
8369 | 4468 | |
8370 | 4469 | =item Modification of non-creatable array value attempted, %s |
8371 | 4470 | |
8372 | 4471 | =begin original |
8373 | 4472 | |
8374 | 4473 | (F) You tried to make an array value spring into existence, and the |
8375 | 4474 | subscript was probably negative, even counting from end of the array |
8376 | 4475 | backwards. |
8377 | 4476 | |
8378 | 4477 | =end original |
8379 | 4478 | |
8380 | (F) 配列値を存在するようにしようとしました | |
4479 | (F) 配列値を存在するようにしようとしました。 おそらく、 | |
8381 | 終わりから逆に数えたとしても、 | |
4480 | 添字が負数で、配列の終わりから逆に数えたとしても、 | |
4481 | おかしな位置を指しているようです。 | |
8382 | 4482 | |
8383 | 4483 | =item Modification of non-creatable hash value attempted, %s |
8384 | 4484 | |
8385 | 4485 | =begin original |
8386 | 4486 | |
8387 | 4487 | (P) You tried to make a hash value spring into existence, and it |
8388 | 4488 | couldn't be created for some peculiar reason. |
8389 | 4489 | |
8390 | 4490 | =end original |
8391 | 4491 | |
8392 | 4492 | (F) ハッシュ値を存在するようにしようとしましたが、何か特別な理由で、 |
8393 | 4493 | できませんでした。 |
8394 | 4494 | |
8395 | 4495 | =item Module name must be constant |
8396 | 4496 | |
8397 | 4497 | =begin original |
8398 | 4498 | |
8399 | 4499 | (F) Only a bare module name is allowed as the first argument to a "use". |
8400 | 4500 | |
8401 | 4501 | =end original |
8402 | 4502 | |
8403 | 4503 | (F) "use" の最初の引数としてモジュール名を示すのに許されているのは、 |
8404 | 4504 | 裸の単語だけです。 |
8405 | 4505 | |
8406 | 4506 | =item Module name required with -%c option |
8407 | 4507 | |
8408 | 4508 | =begin original |
8409 | 4509 | |
8410 | 4510 | (F) The C<-M> or C<-m> options say that Perl should load some module, but |
8411 | 4511 | you omitted the name of the module. Consult L<perlrun> for full details |
8412 | 4512 | about C<-M> and C<-m>. |
8413 | 4513 | |
8414 | 4514 | =end original |
8415 | 4515 | |
8416 | 4516 | C<-M> と C<-m> のオプションは Perl にモジュールを読み込ませることを |
8417 | 4517 | 指示しますが、モジュール名がありませんでした。 |
8418 | 4518 | C<-M> と C<-m> に関する完全な詳細については L<perlrun> を参照してください。 |
8419 | 4519 | |
8420 | =item More than one argument to '%s' open | |
8421 | ||
8422 | =begin original | |
8423 | ||
8424 | (F) The C<open> function has been asked to open multiple files. This | |
8425 | can happen if you are trying to open a pipe to a command that takes a | |
8426 | list of arguments, but have forgotten to specify a piped open mode. | |
8427 | See L<perlfunc/open> for details. | |
8428 | ||
8429 | =end original | |
8430 | ||
8431 | (F) C<open> 関数に、複数のファイルを開くように指定されました。 | |
8432 | これは引数のリストを取るコマンドへのパイプを開こうとしたときに、パイプ | |
8433 | オープンモードを指定するのを忘れた時に起きます。 | |
8434 | 詳細は L<perlfunc/open> を参照してください。 | |
8435 | ||
8436 | =item mprotect for COW string %p %u failed with %d | |
8437 | ||
8438 | =begin original | |
8439 | ||
8440 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_COW (see | |
8441 | L<perlguts/"Copy on Write">), but a shared string buffer | |
8442 | could not be made read-only. | |
8443 | ||
8444 | =end original | |
8445 | ||
8446 | (S) perl を B<-D>PERL_DEBUG_READONLY_COW (L<perlguts/"Copy on Write"> 参照) で | |
8447 | コンパイルしましたが、共有文字列バッファを読み込み専用にできませんでした。 | |
8448 | ||
8449 | =item mprotect for %p %u failed with %d | |
8450 | ||
8451 | =begin original | |
8452 | ||
8453 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_OPS (see L<perlhacktips>), | |
8454 | but an op tree could not be made read-only. | |
8455 | ||
8456 | =end original | |
8457 | ||
8458 | (S) perl が B<-D>PERL_DEBUG_READONLY_OPS (L<perlhacktips> 参照) で | |
8459 | コンパイルされましたが、op 木を読み込み専用にできませんでした。 | |
8460 | ||
8461 | =item mprotect RW for COW string %p %u failed with %d | |
8462 | ||
8463 | =begin original | |
8464 | ||
8465 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_COW (see | |
8466 | L<perlguts/"Copy on Write">), but a read-only shared string | |
8467 | buffer could not be made mutable. | |
8468 | ||
8469 | =end original | |
8470 | ||
8471 | (S) perl を B<-D>PERL_DEBUG_READONLY_COW (L<perlguts/"Copy on Write"> 参照) で | |
8472 | コンパイルしましたが、読み込み専用共有文字列バッファを変更可能に | |
8473 | できませんでした。 | |
8474 | ||
8475 | =item mprotect RW for %p %u failed with %d | |
8476 | ||
8477 | =begin original | |
8478 | ||
8479 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_OPS (see | |
8480 | L<perlhacktips>), but a read-only op tree could not be made | |
8481 | mutable before freeing the ops. | |
8482 | ||
8483 | =end original | |
8484 | ||
8485 | (S) perl が B<-D>PERL_DEBUG_READONLY_OPS (L<perlhacktips> 参照) で | |
8486 | コンパイルされましたが、読み込み専用の op 木を、op を解放する前に | |
8487 | ミュータブルにできませんでした。 | |
8488 | ||
8489 | 4520 | =item msg%s not implemented |
8490 | 4521 | |
8491 | 4522 | =begin original |
8492 | 4523 | |
8493 | 4524 | (F) You don't have System V message IPC on your system. |
8494 | 4525 | |
8495 | 4526 | =end original |
8496 | 4527 | |
8497 | 4528 | (F) このシステムでは、System V メッセージ IPC は使えません。 |
8498 | 4529 | |
8499 | 4530 | =item Multidimensional syntax %s not supported |
8500 | 4531 | |
8501 | 4532 | =begin original |
8502 | 4533 | |
8503 | 4534 | (W syntax) Multidimensional arrays aren't written like C<$foo[1,2,3]>. |
8504 | 4535 | They're written like C<$foo[1][2][3]>, as in C. |
8505 | 4536 | |
8506 | 4537 | =end original |
8507 | 4538 | |
8508 | 4539 | (W syntax) 多次元配列は、C<$foo[1,2,3]> のようには書けません。 |
8509 | 4540 | これは、C のように C<$foo[1][2][3]> のように書きます。 |
8510 | 4541 | |
8511 | =item | |
4542 | =item / must be followed by a*, A* or Z* | |
8512 | 4543 | |
8513 | 4544 | =begin original |
8514 | 4545 | |
8515 | (F) You had a | |
4546 | (F) You had a pack template indicating a counted-length string, | |
8516 | ||
4547 | Currently the only things that can have their length counted are a*, A* | |
8517 | See L<perlfunc/pack>. | |
4548 | or Z*. See L<perlfunc/pack>. | |
8518 | 4549 | |
8519 | 4550 | =end original |
8520 | 4551 | |
8521 | (F) | |
4552 | (F) カウント長文字列を示す pack テンプレートがあります。 | |
8522 | ||
4553 | 現在のところ長さをカウントできるのは a*, A*, Z* だけです。 | |
8523 | 4554 | L<perlfunc/pack> を参照してください。 |
8524 | 4555 | |
8525 | =item | |
4556 | =item / must be followed by a, A or Z | |
8526 | 4557 | |
8527 | 4558 | =begin original |
8528 | 4559 | |
8529 | (F) | |
4560 | (F) You had an unpack template indicating a counted-length string, which | |
8530 | ||
4561 | must be followed by one of the letters a, A or Z to indicate what sort | |
8531 | ||
4562 | of string is to be unpacked. See L<perlfunc/pack>. | |
8532 | sense. | |
8533 | 4563 | |
8534 | 4564 | =end original |
8535 | 4565 | |
8536 | (F) 文字 | |
4566 | (F) カウント長文字列を示す unpack テンプレートがあります; | |
8537 | ||
4567 | これはどの種類の文字列を unpack するかを指示する、文字 a, A, Z の | |
8538 | ||
4568 | いずれかの後に続かなければなりません。 | |
4569 | L<perlfunc/pack> を参照してください。 | |
8539 | 4570 | |
8540 | =item | |
4571 | =item / must follow a numeric type | |
8541 | 4572 | |
8542 | 4573 | =begin original |
8543 | 4574 | |
8544 | (F) | |
4575 | (F) You had an unpack template that contained a '#', but this did not | |
8545 | ||
4576 | follow some numeric unpack specification. See L<perlfunc/pack>. | |
8546 | 4577 | |
8547 | 4578 | =end original |
8548 | 4579 | |
8549 | (F) レ | |
4580 | (F) '#' を含む unpack テンプレートがありますが、これがなんらかの | |
8550 | ||
4581 | 数値 unpack 指定に引き続いていません。 | |
4582 | L<perlfunc/pack> を参照してください。 | |
8551 | 4583 | |
8552 | =item "my | |
4584 | =item "my sub" not yet implemented | |
8553 | 4585 | |
8554 | 4586 | =begin original |
8555 | 4587 | |
8556 | (F) Lexically scoped subroutines aren | |
4588 | (F) Lexically scoped subroutines are not yet implemented. Don't try | |
8557 | ||
4589 | that yet. | |
8558 | 4590 | |
8559 | 4591 | =end original |
8560 | 4592 | |
8561 | (F) レキシカルスコープサブルーチンは | |
4593 | (F) レキシカルスコープのサブルーチンはまだ実装されていません。 | |
8562 | ||
4594 | まだ試さないでください。 | |
8563 | 4595 | |
8564 | =item "my %s" used in sort comparison | |
8565 | ||
8566 | =begin original | |
8567 | ||
8568 | (W syntax) The package variables $a and $b are used for sort comparisons. | |
8569 | You used $a or $b in as an operand to the C<< <=> >> or C<cmp> operator inside a | |
8570 | sort comparison block, and the variable had earlier been declared as a | |
8571 | lexical variable. Either qualify the sort variable with the package | |
8572 | name, or rename the lexical variable. | |
8573 | ||
8574 | =end original | |
8575 | ||
8576 | (W syntax) パッケージ変数 $a と $b はソート比較のために使われます。 | |
8577 | $a または $b をソート比較ブロックの中の C<< <=> >> または C<cmp> 演算子の | |
8578 | オペランドとして使いましたが、この変数はその前にレキシカル変数として | |
8579 | 宣言されています。 | |
8580 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を変えてください。 | |
8581 | ||
8582 | 4596 | =item "my" variable %s can't be in a package |
8583 | 4597 | |
8584 | 4598 | =begin original |
8585 | 4599 | |
8586 | 4600 | (F) Lexically scoped variables aren't in a package, so it doesn't make |
8587 | 4601 | sense to try to declare one with a package qualifier on the front. Use |
8588 | 4602 | local() if you want to localize a package variable. |
8589 | 4603 | |
8590 | 4604 | =end original |
8591 | 4605 | |
8592 | (F) | |
4606 | (F) 字句スコープの変数は、パッケージ内に置かれませんので、 | |
8593 | 4607 | 頭にパッケージ名を付けて宣言することは、無意味です。 |
8594 | 4608 | パッケージ変数をローカル化したい場合には、local() を使ってください。 |
8595 | 4609 | |
8596 | 4610 | =item Name "%s::%s" used only once: possible typo |
8597 | 4611 | |
8598 | 4612 | =begin original |
8599 | 4613 | |
8600 | (W once) Typographical errors often show up as unique variable | |
4614 | (W once) Typographical errors often show up as unique variable names. | |
8601 | ||
4615 | If you had a good reason for having a unique name, then just mention it | |
8602 | ||
4616 | again somehow to suppress the message. The C<our> declaration is | |
8603 | ||
4617 | provided for this purpose. | |
8604 | 4618 | |
8605 | 4619 | =end original |
8606 | 4620 | |
8607 | 4621 | (W once) しばしばタイプミスによってユニークな変数名として表示されます。 |
8608 | 4622 | ユニークな名前をを使う理由があるのなら、もう一度どこかで参照することで |
8609 | 4623 | このメッセージを抑制できます。 |
8610 | C<our> 宣言 | |
4624 | C<our> 宣言がこの目的のために提供されています。 | |
8611 | 4625 | |
8612 | =begin original | |
8613 | ||
8614 | NOTE: This warning detects package symbols that have been used | |
8615 | only once. This means lexical variables will never trigger this | |
8616 | warning. It also means that all of the package variables $c, @c, | |
8617 | %c, as well as *c, &c, sub c{}, c(), and c (the filehandle or | |
8618 | format) are considered the same; if a program uses $c only once | |
8619 | but also uses any of the others it will not trigger this warning. | |
8620 | Symbols beginning with an underscore and symbols using special | |
8621 | identifiers (q.v. L<perldata>) are exempt from this warning. | |
8622 | ||
8623 | =end original | |
8624 | ||
8625 | 注意: この警告は一度しか使われていないパッケージシンボルを検出します。 | |
8626 | つまり、レキシカル変数はこの警告を引き起こさないと言うことです。 | |
8627 | また、パッケージ変数 $c, @c, %c および | |
8628 | *c, &c, sub c{}, c(), c (ファイルハンドルまたはフォーマット) は | |
8629 | 同じであると考えます; プログラムが $c を一度だけ使っている蹴れどっも | |
8630 | その他のものも使っている場合、この警告は引き起こされません。 | |
8631 | 下線で始まるシンボルと特殊識別子 | |
8632 | (L<perldata> 参照) を使ったシンボルはこの警告を免れます。 | |
8633 | ||
8634 | =item Need exactly 3 octal digits in regex; marked by S<<-- HERE> in m/%s/ | |
8635 | ||
8636 | =begin original | |
8637 | ||
8638 | (F) Within S<C<(?[ ])>>, all constants interpreted as octal need to be | |
8639 | exactly 3 digits long. This helps catch some ambiguities. If your | |
8640 | constant is too short, add leading zeros, like | |
8641 | ||
8642 | =end original | |
8643 | ||
8644 | (F) S<C<(?[ ])>> の中で、8 進数として解釈される全ての定数は正確に 3 桁である | |
8645 | 必要があります。 | |
8646 | これはある種の曖昧さを捕まえる助けになります。 | |
8647 | 定数が短い場合は、以下のように先頭に 0 を追加してください | |
8648 | ||
8649 | (?[ [ \078 ] ]) # Syntax error! | |
8650 | (?[ [ \0078 ] ]) # Works | |
8651 | (?[ [ \007 8 ] ]) # Clearer | |
8652 | ||
8653 | =begin original | |
8654 | ||
8655 | The maximum number this construct can express is C<\777>. If you | |
8656 | need a larger one, you need to use L<\o{}|perlrebackslash/Octal escapes> instead. If you meant | |
8657 | two separate things, you need to separate them: | |
8658 | ||
8659 | =end original | |
8660 | ||
8661 | この構文が表現できる最大数は C<\777> です。 | |
8662 | より大きな値が必要なときは、代わりに L<\o{}|perlrebackslash/Octal escapes> を | |
8663 | 使う必要があります。 | |
8664 | 二つの別々のものを意味しているなら、分ける必要があります: | |
8665 | ||
8666 | (?[ [ \7776 ] ]) # Syntax error! | |
8667 | (?[ [ \o{7776} ] ]) # One meaning | |
8668 | (?[ [ \777 6 ] ]) # Another meaning | |
8669 | (?[ [ \777 \006 ] ]) # Still another | |
8670 | ||
8671 | =item Negative '/' count in unpack | |
8672 | ||
8673 | =begin original | |
8674 | ||
8675 | (F) The length count obtained from a length/code unpack operation was | |
8676 | negative. See L<perlfunc/pack>. | |
8677 | ||
8678 | =end original | |
8679 | ||
8680 | (F) 長さ/コード unpack 操作で得られた長さカウントが負数でした。 | |
8681 | L<perlfunc/pack> を参照してください。 | |
8682 | ||
8683 | 4626 | =item Negative length |
8684 | 4627 | |
8685 | 4628 | =begin original |
8686 | 4629 | |
8687 | 4630 | (F) You tried to do a read/write/send/recv operation with a buffer |
8688 | 4631 | length that is less than 0. This is difficult to imagine. |
8689 | 4632 | |
8690 | 4633 | =end original |
8691 | 4634 | |
8692 | 4635 | (F) ゼロより短い長さのバッファで、読み込み、書き込み、送信、受信を |
8693 | 4636 | 行なおうとしました。 |
8694 | こ | |
4637 | どのようなことがしたいのか判断できません。 | |
8695 | 4638 | |
8696 | =item Ne | |
4639 | =item Nested quantifiers before << HERE in regex m/%s/ | |
8697 | 4640 | |
8698 | 4641 | =begin original |
8699 | 4642 | |
8700 | (F) | |
4643 | (F) You can't quantify a quantifier without intervening parentheses. So | |
8701 | g | |
4644 | things like ** or +* or ?* are illegal. The << HERE shows in the regular | |
4645 | expression about where the problem was discovered. | |
8702 | 4646 | |
8703 | 4647 | =end original |
8704 | 4648 | |
8705 | (F) | |
4649 | (F) 括弧を挟まないで、数量子を数量子で修飾することはできません。 | |
8706 | 二つ目の引数は 0 以上でなければなりません。 | |
8707 | ||
8708 | =item Negative repeat count does nothing | |
8709 | ||
8710 | =begin original | |
8711 | ||
8712 | (W numeric) You tried to execute the | |
8713 | L<C<x>|perlop/Multiplicative Operators> repetition operator fewer than 0 | |
8714 | times, which doesn't make sense. | |
8715 | ||
8716 | =end original | |
8717 | ||
8718 | (W numeric) L<C<x>|perlop/Multiplicative Operators> 繰り返し演算子を | |
8719 | 0 より小さい回数実行しようとしました; これは無意味です。 | |
8720 | ||
8721 | =item Nested quantifiers in regex; marked by S<<-- HERE> in m/%s/ | |
8722 | ||
8723 | =begin original | |
8724 | ||
8725 | (F) You can't quantify a quantifier without intervening parentheses. | |
8726 | So things like ** or +* or ?* are illegal. The S<<-- HERE> shows | |
8727 | whereabouts in the regular expression the problem was discovered. | |
8728 | ||
8729 | =end original | |
8730 | ||
8731 | (F) かっこを挟まないで、数量子を数量子で修飾することはできません。 | |
8732 | 4650 | つまり、** や +* や ?* といったものは、正しくありません。 |
8733 | ||
4651 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
8734 | 4652 | |
8735 | 4653 | =begin original |
8736 | 4654 | |
8737 | Note that the minimal matching quantifiers, C<*?>, C<+?>, and | |
4655 | Note, however, that the minimal matching quantifiers, C<*?>, C<+?>, and | |
8738 | 4656 | C<??> appear to be nested quantifiers, but aren't. See L<perlre>. |
8739 | 4657 | |
8740 | 4658 | =end original |
8741 | 4659 | |
8742 | 最短一致数量子の C<*?>、C<+?>、C<??> は、ネストした数量子のように | |
4660 | しかし、最短一致数量子の C<*?>、C<+?>、C<??> は、ネストした数量子のように | |
8743 | 4661 | 見えますが、そうではありません。 |
8744 | 4662 | L<perlre> を参照してください。 |
8745 | 4663 | |
8746 | 4664 | =item %s never introduced |
8747 | 4665 | |
8748 | 4666 | =begin original |
8749 | 4667 | |
8750 | 4668 | (S internal) The symbol in question was declared but somehow went out of |
8751 | 4669 | scope before it could possibly have been used. |
8752 | 4670 | |
8753 | 4671 | =end original |
8754 | 4672 | |
8755 | 4673 | (S internal) 問題のシンボルは、宣言されましたが、使われる前にスコープから |
8756 | 4674 | 外れてしまいました。 |
8757 | 4675 | |
8758 | =item next::method/next::can/maybe::next::method cannot find enclosing method | |
8759 | ||
8760 | =begin original | |
8761 | ||
8762 | (F) C<next::method> needs to be called within the context of a | |
8763 | real method in a real package, and it could not find such a context. | |
8764 | See L<mro>. | |
8765 | ||
8766 | =end original | |
8767 | ||
8768 | (F) C<next::method> は実パッケージの実メソッドのコンテキストの中で呼ばれる | |
8769 | 必要がありますが、そのようなコンテキストが見つけられませんでした。 | |
8770 | L<mro> を参照してください。 | |
8771 | ||
8772 | =item \N in a character class must be a named character: \N{...} in regex; | |
8773 | marked by S<<-- HERE> in m/%s/ | |
8774 | ||
8775 | =begin original | |
8776 | ||
8777 | (F) The new (as of Perl 5.12) meaning of C<\N> as C<[^\n]> is not valid in a | |
8778 | bracketed character class, for the same reason that C<.> in a character | |
8779 | class loses its specialness: it matches almost everything, which is | |
8780 | probably not what you want. | |
8781 | ||
8782 | =end original | |
8783 | ||
8784 | (F) C<[^\n]> という新しい (5.12 からの) C<\N> の意味は大かっこ文字クラスでは | |
8785 | 妥当ではありません; 文字クラス内の C<.> がその特殊性を失うのと同じ理由です: | |
8786 | これはほとんど何にでもマッチングし、これはおそらくあなたの求めているものでは | |
8787 | ないでしょう。 | |
8788 | ||
8789 | =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/ | |
8790 | ||
8791 | =begin original | |
8792 | ||
8793 | (F) Named Unicode character escapes (C<\N{...}>) may return a | |
8794 | multi-character sequence. Even though a character class is | |
8795 | supposed to match just one character of input, perl will match the | |
8796 | whole thing correctly, except when the class is inverted (C<[^...]>), | |
8797 | or the escape is the beginning or final end point of a range. The | |
8798 | mathematically logical behavior for what matches when inverting | |
8799 | is very different from what people expect, so we have decided to | |
8800 | forbid it. Similarly unclear is what should be generated when the | |
8801 | C<\N{...}> is used as one of the end points of the range, such as in | |
8802 | ||
8803 | =end original | |
8804 | ||
8805 | (F) 名前付き Unicode 文字エスケープ (C<(\N{...})>) は複数文字並びを | |
8806 | 返すことがあります。 | |
8807 | 文字クラスは入力のただ一つの文字にマッチングすることを想定していますが、 | |
8808 | perl は全体を正しくマッチングします; 但し例外は、 | |
8809 | クラスが反転された場合 (C<[^...]>) と、 | |
8810 | エスケープが範囲の始点か終点の場合です。 | |
8811 | 反転したときに何にマッチングするかに関する厳密に論理的な振る舞いは | |
8812 | 人々が想定するものと大きく異なっているので、これは禁止することにしました。 | |
8813 | 同様に不明確なものは、次のように、範囲の端点として C<\N{...}> が | |
8814 | 使われたときに何が生成されるべきかということです: | |
8815 | ||
8816 | [\x{41}-\N{ARABIC SEQUENCE YEH WITH HAMZA ABOVE WITH AE}] | |
8817 | ||
8818 | =begin original | |
8819 | ||
8820 | What is meant here is unclear, as the C<\N{...}> escape is a sequence | |
8821 | of code points, so this is made an error. | |
8822 | ||
8823 | =end original | |
8824 | ||
8825 | ここで意味しているものは不明確です; C<\N{...}> エスケープは | |
8826 | 符号位置の並びだからです; 従ってこれはエラーを発生させます。 | |
8827 | ||
8828 | =item \N{NAME} must be resolved by the lexer in regex; marked by | |
8829 | S<<-- HERE> in m/%s/ | |
8830 | ||
8831 | =begin original | |
8832 | ||
8833 | (F) When compiling a regex pattern, an unresolved named character or | |
8834 | sequence was encountered. This can happen in any of several ways that | |
8835 | bypass the lexer, such as using single-quotish context, or an extra | |
8836 | backslash in double-quotish: | |
8837 | ||
8838 | =end original | |
8839 | ||
8840 | (F) 正規表現パターンをコンパイルするとき、解決されない名前付き文字や並びに | |
8841 | 遭遇しました。 | |
8842 | これはシングルクォート風コンテキストを使ったり、ダブルクォート風で | |
8843 | 余分な逆スラッシュがあるような、字句解析器を回避する様々な方法のどれかで | |
8844 | 起こります: | |
8845 | ||
8846 | $re = '\N{SPACE}'; # Wrong! | |
8847 | $re = "\\N{SPACE}"; # Wrong! | |
8848 | /$re/; | |
8849 | ||
8850 | =begin original | |
8851 | ||
8852 | Instead, use double-quotes with a single backslash: | |
8853 | ||
8854 | =end original | |
8855 | ||
8856 | 代わりに、単一のバックスラッシュとダブルクォートを使ってください: | |
8857 | ||
8858 | $re = "\N{SPACE}"; # ok | |
8859 | /$re/; | |
8860 | ||
8861 | =begin original | |
8862 | ||
8863 | The lexer can be bypassed as well by creating the pattern from smaller | |
8864 | components: | |
8865 | ||
8866 | =end original | |
8867 | ||
8868 | 字句解析器はより小さい構造からパターンを作ることによっても回避できます: | |
8869 | ||
8870 | $re = '\N'; | |
8871 | /${re}{SPACE}/; # Wrong! | |
8872 | ||
8873 | =begin original | |
8874 | ||
8875 | It's not a good idea to split a construct in the middle like this, and | |
8876 | it doesn't work here. Instead use the solution above. | |
8877 | ||
8878 | =end original | |
8879 | ||
8880 | このように中間で構造を分割することはよい考えではなく、ここでは動作しません。 | |
8881 | 代わりに上述した解決法を使ってください。 | |
8882 | ||
8883 | =begin original | |
8884 | ||
8885 | Finally, the message also can happen under the C</x> regex modifier when the | |
8886 | C<\N> is separated by spaces from the C<{>, in which case, remove the spaces. | |
8887 | ||
8888 | =end original | |
8889 | ||
8890 | 最後に、このメッセージは C</x> 正規表現修飾子 が有効の時に C<\N> が C<{> と | |
8891 | 空白で区切られているときにもでます; この場合、空白を削除します。 | |
8892 | ||
8893 | /\N {SPACE}/x; # Wrong! | |
8894 | /\N{SPACE}/x; # ok | |
8895 | ||
8896 | 4676 | =item No %s allowed while running setuid |
8897 | 4677 | |
8898 | 4678 | =begin original |
8899 | 4679 | |
8900 | 4680 | (F) Certain operations are deemed to be too insecure for a setuid or |
8901 | 4681 | setgid script to even be allowed to attempt. Generally speaking there |
8902 | 4682 | will be another way to do what you want that is, if not secure, at least |
8903 | 4683 | securable. See L<perlsec>. |
8904 | 4684 | |
8905 | 4685 | =end original |
8906 | 4686 | |
8907 | 4687 | (F) ある種の操作は、setuid や setgid スクリプトにとって、 |
8908 | 4688 | やってみることはできても、とても安全なものとは考えられないものです。 |
8909 | 4689 | 一般に言って、安全ではなくても、安全にしうる、別の方法があるはずです。 |
8910 | 4690 | L<perlsec> を参照してください。 |
8911 | 4691 | |
8912 | =item N | |
4692 | =item No B<-e> allowed in setuid scripts | |
8913 | 4693 | |
8914 | 4694 | =begin original |
8915 | 4695 | |
8916 | ( | |
4696 | (F) A setuid script can't be specified by the user. | |
8917 | space character. Change it to a regular space. Usually these names are | |
8918 | defined in the C<:alias> import argument to C<use charnames>, but they | |
8919 | could be defined by a translator installed into C<$^H{charnames}>. See | |
8920 | L<charnames/CUSTOM ALIASES>. | |
8921 | 4697 | |
8922 | 4698 | =end original |
8923 | 4699 | |
8924 | ( | |
4700 | (F) setuid スクリプトは、ユーザによって指定することはできません。 | |
8925 | 通常のスペースに変更してください。 | |
8926 | 普通はこれらの名前は C<use charnames> の C<:alias> インポート引数で | |
8927 | 定義されていますが、C<$^H{charnames}> でインストールされた | |
8928 | 変換器で定義されていることもあります。 | |
8929 | L<charnames/CUSTOM ALIASES> を参照してください。 | |
8930 | 4701 | |
8931 | =item No code specified for -%c | |
8932 | ||
8933 | =begin original | |
8934 | ||
8935 | (F) Perl's B<-e> and B<-E> command-line options require an argument. If | |
8936 | you want to run an empty program, pass the empty string as a separate | |
8937 | argument or run a program consisting of a single 0 or 1: | |
8938 | ||
8939 | =end original | |
8940 | ||
8941 | (F) Perl の B<-e> と B<-E> のコマンドラインオプションは引数が必要です。 | |
8942 | 空のプログラムを実行したい場合は、空文字列を別の引数として渡すか、単一の | |
8943 | 0 または 1 からなるプログラムを実行してください: | |
8944 | ||
8945 | perl -e "" | |
8946 | perl -e0 | |
8947 | perl -e1 | |
8948 | ||
8949 | 4702 | =item No comma allowed after %s |
8950 | 4703 | |
8951 | 4704 | =begin original |
8952 | 4705 | |
8953 | (F) A list operator that has a filehandle or "indirect object" is | |
4706 | (F) A list operator that has a filehandle or "indirect object" is not | |
8954 | ||
4707 | allowed to have a comma between that and the following arguments. | |
8955 | 4708 | Otherwise it'd be just another one of the arguments. |
8956 | 4709 | |
8957 | 4710 | =end original |
8958 | 4711 | |
8959 | 4712 | (F) ファイルハンドルや「間接オブジェクト」を伴うリスト演算子では、 |
8960 | 4713 | それらとそれ以降の引数の間にコンマを入れることはできません。 |
8961 | 4714 | そのようにした場合には、引数の一つとなってしまいます。 |
8962 | 4715 | |
8963 | 4716 | =begin original |
8964 | 4717 | |
8965 | One possible cause for this is that you expected to have imported | |
4718 | One possible cause for this is that you expected to have imported a | |
8966 | ||
4719 | constant to your name space with B<use> or B<import> while no such | |
8967 | importing took place, it may for example be that your operating | |
4720 | importing took place, it may for example be that your operating system | |
8968 | ||
4721 | does not support that particular constant. Hopefully you did use an | |
8969 | ||
4722 | explicit import list for the constants you expect to see, please see | |
8970 | ||
4723 | L<perlfunc/use> and L<perlfunc/import>. While an explicit import list | |
8971 | ||
4724 | would probably have caught this error earlier it naturally does not | |
8972 | ||
4725 | remedy the fact that your operating system still does not support that | |
8973 | ||
4726 | constant. Maybe you have a typo in the constants of the symbol import | |
8974 | ||
4727 | list of B<use> or B<import> or in the constant name at the line where | |
8975 | ||
4728 | this error was triggered? | |
8976 | 4729 | |
8977 | 4730 | =end original |
8978 | 4731 | |
8979 | 4732 | これの原因としてあり得るものの一つは、B<use> や B<import> を使って |
8980 | 4733 | 名前空間にインポートしたつもりの定数が実際にはインポートされていなかった |
8981 | 4734 | 場合です; |
8982 | 4735 | 例えば OS が特定の定数に対応していない場合などです。 |
8983 | 4736 | できればインポートしたい定数のリストを明示的に使ってください; |
8984 | 4737 | L<perlfunc/use> と L<perlfunc/import> を参照して下さい。 |
8985 | 4738 | 明示的なインポートリストでおそらくこのエラーをより早く知ることができますが、 |
8986 | 4739 | そもそも OS がその定数に対応していないという問題を解決はしません。 |
8987 | 4740 | おそらく B<use> や B<import> のシンボルインポートリストの定数か、 |
8988 | 4741 | エラーを引き起こした行の定数名をタイプミスしたのでは? |
8989 | 4742 | |
8990 | 4743 | =item No command into which to pipe on command line |
8991 | 4744 | |
8992 | 4745 | =begin original |
8993 | 4746 | |
8994 | 4747 | (F) An error peculiar to VMS. Perl handles its own command line |
8995 | 4748 | redirection, and found a '|' at the end of the command line, so it |
8996 | 4749 | doesn't know where you want to pipe the output from this command. |
8997 | 4750 | |
8998 | 4751 | =end original |
8999 | 4752 | |
9000 | (F) VMS | |
4753 | (F) VMSに固有のエラーです。 | |
9001 | 4754 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
9002 | 4755 | コマンドラインの最後にに '|' を発見しましたが、 |
9003 | 4756 | このコマンドから出力をどこにパイプしたいのかがわかりませんでした。 |
9004 | 4757 | |
9005 | 4758 | =item No DB::DB routine defined |
9006 | 4759 | |
9007 | 4760 | =begin original |
9008 | 4761 | |
9009 | 4762 | (F) The currently executing code was compiled with the B<-d> switch, but |
9010 | for some reason the | |
4763 | for some reason the perl5db.pl file (or some facsimile thereof) didn't | |
9011 | ||
4764 | define a routine to be called at the beginning of each statement. Which | |
9012 | s | |
4765 | is odd, because the file should have been required automatically, and | |
4766 | should have blown up the require if it didn't parse right. | |
9013 | 4767 | |
9014 | 4768 | =end original |
9015 | 4769 | |
9016 | 4770 | (F) 現在実行中のコードは、B<-d> スイッチを付けてコンパイルされましたが、 |
9017 | 何らかの理由により、 | |
4771 | 何らかの理由により、perl5db.pl (あるいは、その複製) が各実行文の頭で | |
9018 | ||
4772 | 呼び出すルーティンを定義していません。 | |
4773 | そのファイルは自動的に require されるものであり、正しく解釈できなければ、 | |
4774 | require が失敗するはずですので、これはとても有り得ない状態です。 | |
9019 | 4775 | |
9020 | 4776 | =item No dbm on this machine |
9021 | 4777 | |
9022 | 4778 | =begin original |
9023 | 4779 | |
9024 | 4780 | (P) This is counted as an internal error, because every machine should |
9025 | 4781 | supply dbm nowadays, because Perl comes with SDBM. See L<SDBM_File>. |
9026 | 4782 | |
9027 | 4783 | =end original |
9028 | 4784 | |
9029 | (P) これは、内部エラーとして扱われます | |
4785 | (P) これは、内部エラーとして扱われます。 Perl に SDBM が付いてくるので、 | |
9030 | 4786 | どのマシンでも dbm が使えるはずだからです。 |
9031 | 4787 | L<SDBM_File> を参照してください。 |
9032 | 4788 | |
9033 | =item No DB | |
4789 | =item No DBsub routine | |
9034 | 4790 | |
9035 | 4791 | =begin original |
9036 | 4792 | |
9037 | (F) The currently executing code was compiled with the B<-d> switch, | |
4793 | (F) The currently executing code was compiled with the B<-d> switch, | |
9038 | for some reason the | |
4794 | but for some reason the perl5db.pl file (or some facsimile thereof) | |
9039 | ||
4795 | didn't define a DB::sub routine to be called at the beginning of each | |
9040 | o | |
4796 | ordinary subroutine call. | |
9041 | 4797 | |
9042 | 4798 | =end original |
9043 | 4799 | |
9044 | (F) 現在実行中のコードは、 | |
4800 | (F) 現在実行中のコードは、-d スイッチを付けてコンパイルされましたが、 | |
9045 | 何らかの理由により、 | |
4801 | 何らかの理由により、perl5db.pl (あるいは、その複製) が | |
9046 | 各サブルー | |
4802 | 各サブルーティン呼び出しの頭で呼び出す | |
9047 | 定義していませんでした。 | |
4803 | DB::sub ルーティンを定義していませんでした。 | |
9048 | 4804 | |
9049 | =item No directory specified for -I | |
9050 | ||
9051 | =begin original | |
9052 | ||
9053 | (F) The B<-I> command-line switch requires a directory name as part of the | |
9054 | I<same> argument. Use B<-Ilib>, for instance. B<-I lib> won't work. | |
9055 | ||
9056 | =end original | |
9057 | ||
9058 | (F) B<-I> コマンドラインオプションは I<同じ> 引数の一部としてディレクトリ名が | |
9059 | 必要です。 | |
9060 | 例えば、B<-Ilib> としてください。 | |
9061 | B<-I lib> は動作しません。 | |
9062 | ||
9063 | 4805 | =item No error file after 2> or 2>> on command line |
9064 | 4806 | |
9065 | 4807 | =begin original |
9066 | 4808 | |
9067 | 4809 | (F) An error peculiar to VMS. Perl handles its own command line |
9068 | 4810 | redirection, and found a '2>' or a '2>>' on the command line, but can't |
9069 | 4811 | find the name of the file to which to write data destined for stderr. |
9070 | 4812 | |
9071 | 4813 | =end original |
9072 | 4814 | |
9073 | (F) VMS | |
4815 | (F) VMSに固有のエラーです。 | |
9074 | 4816 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
9075 | 4817 | コマンドラインに '2>' や '2>>' を発見しましたが、 |
9076 | 4818 | 標準エラーとしてデータを書き込むファイル名が見つかりませんでした。 |
9077 | 4819 | |
9078 | =item No group ending character '%c' found in template | |
9079 | ||
9080 | =begin original | |
9081 | ||
9082 | (F) A pack or unpack template has an opening '(' or '[' without its | |
9083 | matching counterpart. See L<perlfunc/pack>. | |
9084 | ||
9085 | =end original | |
9086 | ||
9087 | (F) pack や unpack のテンプレートに開きかっこの '(' や '[' がありますが、 | |
9088 | 対応する閉じかっこがありません。 | |
9089 | L<perlfunc/pack> を参照してください。 | |
9090 | ||
9091 | 4820 | =item No input file after < on command line |
9092 | 4821 | |
9093 | 4822 | =begin original |
9094 | 4823 | |
9095 | 4824 | (F) An error peculiar to VMS. Perl handles its own command line |
9096 | 4825 | redirection, and found a '<' on the command line, but can't find the |
9097 | 4826 | name of the file from which to read data for stdin. |
9098 | 4827 | |
9099 | 4828 | =end original |
9100 | 4829 | |
9101 | (F) VMS | |
4830 | (F) VMS 特有のエラーです。 | |
9102 | 4831 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインに |
9103 | 4832 | '<' を発見しましたが、標準入力として読み込むためのファイル名が |
9104 | 4833 | 見つかりませんでした。 |
9105 | 4834 | |
9106 | =item No | |
4835 | =item No #! line | |
9107 | 4836 | |
9108 | 4837 | =begin original |
9109 | 4838 | |
9110 | (F) | |
4839 | (F) The setuid emulator requires that scripts have a well-formed #! line | |
9111 | ||
4840 | even on machines that don't support the #! construct. | |
9112 | it throwing an exception, use C<maybe::next::method> | |
9113 | or C<next::can>. See L<mro>. | |
9114 | 4841 | |
9115 | 4842 | =end original |
9116 | 4843 | |
9117 | (F) | |
4844 | (F) setuid エミュレータでは、たとえマシンがサポートしていなくても、 | |
9118 | ||
4845 | 完全な形の #! 行がスクリプトに書かれていなければなりません。 | |
9119 | もし例外を投げたくないなら、C<maybe::next::method> か C<next::can> を | |
9120 | 使ってください。 | |
9121 | L<mro> を参照してください。 | |
9122 | 4846 | |
9123 | =item Non-finite repeat count does nothing | |
9124 | ||
9125 | =begin original | |
9126 | ||
9127 | (W numeric) You tried to execute the | |
9128 | L<C<x>|perlop/Multiplicative Operators> repetition operator C<Inf> (or | |
9129 | C<-Inf>) or C<NaN> times, which doesn't make sense. | |
9130 | ||
9131 | =end original | |
9132 | ||
9133 | (W numeric) L<C<x>|perlop/Multiplicative Operators> 繰り返し演算子を | |
9134 | C<Inf> (または C<-Inf>) 回、または C<NaN> 回実行しようとしました; | |
9135 | これは意味がありません。 | |
9136 | ||
9137 | =item Non-hex character in regex; marked by S<<-- HERE> in m/%s/ | |
9138 | ||
9139 | =begin original | |
9140 | ||
9141 | (F) In a regular expression, there was a non-hexadecimal character where | |
9142 | a hex one was expected, like | |
9143 | ||
9144 | =end original | |
9145 | ||
9146 | (F) 正規表現で、次のように 16 進文字が想定されるところで非 16 進文字がありました | |
9147 | ||
9148 | (?[ [ \xDG ] ]) | |
9149 | (?[ [ \x{DEKA} ] ]) | |
9150 | ||
9151 | =item Non-octal character in regex; marked by S<<-- HERE> in m/%s/ | |
9152 | ||
9153 | =begin original | |
9154 | ||
9155 | (F) In a regular expression, there was a non-octal character where | |
9156 | an octal one was expected, like | |
9157 | ||
9158 | =end original | |
9159 | ||
9160 | (F) 正規表現で、次のように 8 進文字が想定されるところで非 8 進文字がありました | |
9161 | ||
9162 | (?[ [ \o{1278} ] ]) | |
9163 | ||
9164 | =item Non-octal character '%c'. Resolved as "%s" | |
9165 | ||
9166 | =begin original | |
9167 | ||
9168 | (W digit) In parsing an octal numeric constant, a character was | |
9169 | unexpectedly encountered that isn't octal. The resulting value | |
9170 | is as indicated. | |
9171 | ||
9172 | =end original | |
9173 | ||
9174 | (W digit) 8 進数定数をパースするときに、8 進数でない文字に遭遇しました。 | |
9175 | 結果の値は示された通りになります。 | |
9176 | ||
9177 | 4847 | =item "no" not allowed in expression |
9178 | 4848 | |
9179 | 4849 | =begin original |
9180 | 4850 | |
9181 | 4851 | (F) The "no" keyword is recognized and executed at compile time, and |
9182 | 4852 | returns no useful value. See L<perlmod>. |
9183 | 4853 | |
9184 | 4854 | =end original |
9185 | 4855 | |
9186 | 4856 | (F) "no" キーワードは、コンパイル時に認識され、実行されるもので、 |
9187 | 4857 | 意味のある値を返しません。 |
9188 | 4858 | L<perlmod> を参照してください。 |
9189 | 4859 | |
9190 | =item Non-string passed as bitmask | |
9191 | ||
9192 | =begin original | |
9193 | ||
9194 | (W misc) A number has been passed as a bitmask argument to select(). | |
9195 | Use the vec() function to construct the file descriptor bitmasks for | |
9196 | select. See L<perlfunc/select>. | |
9197 | ||
9198 | =end original | |
9199 | ||
9200 | (W misc) select() のビットマスク引数として数値が渡されました。 | |
9201 | select のためのファイル記述子のビットマスクを構成するには、 | |
9202 | vec() 関数を使ってください。 | |
9203 | L<perlfunc/select> を参照してください。 | |
9204 | ||
9205 | 4860 | =item No output file after > on command line |
9206 | 4861 | |
9207 | 4862 | =begin original |
9208 | 4863 | |
9209 | 4864 | (F) An error peculiar to VMS. Perl handles its own command line |
9210 | 4865 | redirection, and found a lone '>' at the end of the command line, so it |
9211 | 4866 | doesn't know where you wanted to redirect stdout. |
9212 | 4867 | |
9213 | 4868 | =end original |
9214 | 4869 | |
9215 | (F) VMS | |
4870 | (F) VMS 特有のエラーです。 | |
9216 | 4871 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインの |
9217 | 4872 | 最後に単独の '>' を発見したので、stdout をどこにリダイレクトしたいのかが |
9218 | 4873 | わかりませんでした。 |
9219 | 4874 | |
9220 | 4875 | =item No output file after > or >> on command line |
9221 | 4876 | |
9222 | 4877 | =begin original |
9223 | 4878 | |
9224 | 4879 | (F) An error peculiar to VMS. Perl handles its own command line |
9225 | 4880 | redirection, and found a '>' or a '>>' on the command line, but can't |
9226 | 4881 | find the name of the file to which to write data destined for stdout. |
9227 | 4882 | |
9228 | 4883 | =end original |
9229 | 4884 | |
9230 | (F) VMS | |
4885 | (F) VMS 特有のエラーです。 | |
9231 | 4886 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインに |
9232 | 4887 | '>' や '>>' を発見しましたが、stdout を書き込むためのファイル名が |
9233 | 4888 | 見つかりませんでした。 |
9234 | 4889 | |
9235 | 4890 | =item No package name allowed for variable %s in "our" |
9236 | 4891 | |
9237 | 4892 | =begin original |
9238 | 4893 | |
9239 | 4894 | (F) Fully qualified variable names are not allowed in "our" |
9240 | 4895 | declarations, because that doesn't make much sense under existing |
9241 | ||
4896 | semantics. Such syntax is reserved for future extensions. | |
9242 | 4897 | |
9243 | 4898 | =end original |
9244 | 4899 | |
9245 | 4900 | (F) 完全修飾変数名は "our" 宣言では使えません; |
9246 | 4901 | なぜなら現在の動作ではほとんど意味がないからです。 |
9247 | 4902 | そのような文法は将来の拡張に予約されています。 |
9248 | 4903 | |
9249 | 4904 | =item No Perl script found in input |
9250 | 4905 | |
9251 | 4906 | =begin original |
9252 | 4907 | |
9253 | 4908 | (F) You called C<perl -x>, but no line was found in the file beginning |
9254 | 4909 | with #! and containing the word "perl". |
9255 | 4910 | |
9256 | 4911 | =end original |
9257 | 4912 | |
9258 | 4913 | (F) C<perl -x> を呼び出しましたが、そのファイルに #! で始まり、 |
9259 | 4914 | "perl" という語を含む行が見つかりませんでした。 |
9260 | 4915 | |
9261 | 4916 | =item No setregid available |
9262 | 4917 | |
9263 | 4918 | =begin original |
9264 | 4919 | |
9265 | 4920 | (F) Configure didn't find anything resembling the setregid() call for |
9266 | 4921 | your system. |
9267 | 4922 | |
9268 | 4923 | =end original |
9269 | 4924 | |
9270 | 4925 | (F) Configure が、システム上に setregid() のような関数を |
9271 | 4926 | 見つけられませんでした。 |
9272 | 4927 | |
9273 | 4928 | =item No setreuid available |
9274 | 4929 | |
9275 | 4930 | =begin original |
9276 | 4931 | |
9277 | 4932 | (F) Configure didn't find anything resembling the setreuid() call for |
9278 | 4933 | your system. |
9279 | 4934 | |
9280 | 4935 | =end original |
9281 | 4936 | |
9282 | 4937 | (F) Configure が、システム上に setreuid() のような関数を |
9283 | 4938 | 見つけられませんでした。 |
9284 | 4939 | |
9285 | =item No s | |
4940 | =item No space allowed after -%c | |
9286 | 4941 | |
9287 | 4942 | =begin original |
9288 | 4943 | |
9289 | (F) | |
4944 | (F) The argument to the indicated command line switch must follow | |
9290 | de | |
4945 | immediately after the switch, without intervening spaces. | |
9291 | 4946 | |
9292 | 4947 | =end original |
9293 | 4948 | |
9294 | (F) | |
4949 | (F) 示されたコマンドラインスイッチの引数は、 | |
9295 | ||
4950 | スイッチの直後にスペースを空けないで書く必要があります。 | |
9296 | 4951 | |
9297 | =item No s | |
4952 | =item No %s specified for -%c | |
9298 | 4953 | |
9299 | 4954 | =begin original |
9300 | 4955 | |
9301 | (F) | |
4956 | (F) The indicated command line switch needs a mandatory argument, but | |
9302 | ||
4957 | you haven't specified one. | |
9303 | The indicated package has restricted the set of allowed keys using the | |
9304 | L<fields> pragma. | |
9305 | 4958 | |
9306 | 4959 | =end original |
9307 | 4960 | |
9308 | (F) 示され | |
4961 | (F) 指示されたコマンドラインオプションには引数が必須ですが、それが | |
9309 | ||
4962 | 指定されませんでした。 | |
9310 | 示されているパッケージは L<fields> プラグマによって許可されるキーの集合が | |
9311 | 制限されています。 | |
9312 | 4963 | |
9313 | =item No such hook: %s | |
9314 | ||
9315 | =begin original | |
9316 | ||
9317 | (F) You specified a signal hook that was not recognized by Perl. | |
9318 | Currently, Perl accepts C<__DIE__> and C<__WARN__> as valid signal hooks. | |
9319 | ||
9320 | =end original | |
9321 | ||
9322 | (F) Perl が認識できないシグナルフックを指定しました。 | |
9323 | 現在のところ、Perl は有効なシグナルフックとして | |
9324 | C<__DIE__> と C<__WARN__> を受け付けます。 | |
9325 | ||
9326 | 4964 | =item No such pipe open |
9327 | 4965 | |
9328 | 4966 | =begin original |
9329 | 4967 | |
9330 | 4968 | (P) An error peculiar to VMS. The internal routine my_pclose() tried to |
9331 | 4969 | close a pipe which hadn't been opened. This should have been caught |
9332 | 4970 | earlier as an attempt to close an unopened filehandle. |
9333 | 4971 | |
9334 | 4972 | =end original |
9335 | 4973 | |
9336 | (P) VMS | |
4974 | (P) VMS 特有のエラーです。 | |
9337 | 4975 | 内部ルーチンである my_pclose() が、開いていないパイプを閉じようとしました。 |
9338 | 4976 | これは開いていないファイルハンドルを閉じようとしたとしてもっと早くに |
9339 | 4977 | 捕捉されるべきものです。 |
9340 | 4978 | |
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 | ||
9341 | 5011 | =item No such signal: SIG%s |
9342 | 5012 | |
9343 | 5013 | =begin original |
9344 | 5014 | |
9345 | 5015 | (W signal) You specified a signal name as a subscript to %SIG that was |
9346 | 5016 | not recognized. Say C<kill -l> in your shell to see the valid signal |
9347 | 5017 | names on your system. |
9348 | 5018 | |
9349 | 5019 | =end original |
9350 | 5020 | |
9351 | 5021 | (W signal) %SIG の添字として認識できないシグナル名を指定しました。 |
9352 | 5022 | お使いのシステムで使用可能なシグナル名を調べるには、 |
9353 | 5023 | シェル上で C<kill -l> などとしてください。 |
9354 | 5024 | |
9355 | 5025 | =item Not a CODE reference |
9356 | 5026 | |
9357 | 5027 | =begin original |
9358 | 5028 | |
9359 | 5029 | (F) Perl was trying to evaluate a reference to a code value (that is, a |
9360 | 5030 | subroutine), but found a reference to something else instead. You can |
9361 | 5031 | use the ref() function to find out what kind of ref it really was. See |
9362 | 5032 | also L<perlref>. |
9363 | 5033 | |
9364 | 5034 | =end original |
9365 | 5035 | |
9366 | (F) Perl がコード値 (サブルー | |
5036 | (F) Perl がコード値 (サブルーティン) へのリファレンスを | |
9367 | 5037 | 評価しようとしましたが、別のものへのリファレンスでした。 |
9368 | 5038 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
9369 | 5039 | 使うことができます。 |
9370 | 5040 | L<perlref> も参照してください。 |
9371 | 5041 | |
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 | ||
9372 | 5055 | =item Not a GLOB reference |
9373 | 5056 | |
9374 | 5057 | =begin original |
9375 | 5058 | |
9376 | 5059 | (F) Perl was trying to evaluate a reference to a "typeglob" (that is, a |
9377 | 5060 | symbol table entry that looks like C<*foo>), but found a reference to |
9378 | 5061 | something else instead. You can use the ref() function to find out what |
9379 | 5062 | kind of ref it really was. See L<perlref>. |
9380 | 5063 | |
9381 | 5064 | =end original |
9382 | 5065 | |
9383 | 5066 | (F) Perl が「型グロブ」(これは、C<*foo> のような |
9384 | 5067 | シンボルテーブルエントリです) へのリファレンスを評価しようとしましたが、 |
9385 | 5068 | 別のものへのリファレンスでした。 |
9386 | 5069 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
9387 | 5070 | 使うことができます。 |
9388 | 5071 | L<perlref> を参照してください。 |
9389 | 5072 | |
9390 | 5073 | =item Not a HASH reference |
9391 | 5074 | |
9392 | 5075 | =begin original |
9393 | 5076 | |
9394 | 5077 | (F) Perl was trying to evaluate a reference to a hash value, but found a |
9395 | 5078 | reference to something else instead. You can use the ref() function to |
9396 | 5079 | find out what kind of ref it really was. See L<perlref>. |
9397 | 5080 | |
9398 | 5081 | =end original |
9399 | 5082 | |
9400 | 5083 | (F) Perl がハッシュ値へのリファレンスを評価しようとしましたが、 |
9401 | 5084 | 別のものへのリファレンスでした。 |
9402 | 5085 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
9403 | 5086 | 使うことができます。 |
9404 | 5087 | L<perlref> を参照してください。 |
9405 | 5088 | |
9406 | 5089 | =item Not an ARRAY reference |
9407 | 5090 | |
9408 | 5091 | =begin original |
9409 | 5092 | |
9410 | 5093 | (F) Perl was trying to evaluate a reference to an array value, but found |
9411 | 5094 | a reference to something else instead. You can use the ref() function |
9412 | 5095 | to find out what kind of ref it really was. See L<perlref>. |
9413 | 5096 | |
9414 | 5097 | =end original |
9415 | 5098 | |
9416 | 5099 | (F) Perl が配列値へのリファレンスを評価しようとしましたが、 |
9417 | 5100 | 別のものへのリファレンスでした。 |
9418 | 5101 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
9419 | 5102 | 使うことができます。 |
9420 | 5103 | L<perlref> を参照してください。 |
9421 | 5104 | |
9422 | =item Not a | |
5105 | =item Not a perl script | |
9423 | 5106 | |
9424 | 5107 | =begin original |
9425 | 5108 | |
9426 | (F) | |
5109 | (F) The setuid emulator requires that scripts have a well-formed #! line | |
9427 | ||
5110 | even on machines that don't support the #! construct. The line must | |
9428 | ||
5111 | mention perl. | |
9429 | 5112 | |
9430 | 5113 | =end original |
9431 | 5114 | |
9432 | (F) | |
5115 | (F) setuid エミュレータでは、たとえマシンがサポートしていなくても、 | |
9433 | ||
5116 | 完全な形の #! 行がスクリプトに書かれていなければなりません。 | |
9434 | これ | |
5117 | この行で指定されるのは、perl でなければなりません。 | |
9435 | 配列のみを受け付けます。 | |
9436 | 5118 | |
9437 | 5119 | =item Not a SCALAR reference |
9438 | 5120 | |
9439 | 5121 | =begin original |
9440 | 5122 | |
9441 | 5123 | (F) Perl was trying to evaluate a reference to a scalar value, but found |
9442 | 5124 | a reference to something else instead. You can use the ref() function |
9443 | 5125 | to find out what kind of ref it really was. See L<perlref>. |
9444 | 5126 | |
9445 | 5127 | =end original |
9446 | 5128 | |
9447 | 5129 | (F) Perl がスカラ値へのリファレンスを評価しようとしましたが、 |
9448 | 5130 | 別のものへのリファレンスでした。 |
9449 | 5131 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
9450 | 5132 | 使うことができます。 |
9451 | 5133 | L<perlref> を参照してください。 |
9452 | 5134 | |
9453 | 5135 | =item Not a subroutine reference |
9454 | 5136 | |
9455 | 5137 | =begin original |
9456 | 5138 | |
9457 | 5139 | (F) Perl was trying to evaluate a reference to a code value (that is, a |
9458 | 5140 | subroutine), but found a reference to something else instead. You can |
9459 | 5141 | use the ref() function to find out what kind of ref it really was. See |
9460 | 5142 | also L<perlref>. |
9461 | 5143 | |
9462 | 5144 | =end original |
9463 | 5145 | |
9464 | (F) Perl がコード値 (サブルー | |
5146 | (F) Perl がコード値 (サブルーティン) へのリファレンスを | |
9465 | 5147 | 評価しようとしましたが、別のものへのリファレンスでした。 |
9466 | 5148 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
9467 | 5149 | 使うことができます。 |
9468 | 5150 | L<perlref> も参照してください。 |
9469 | 5151 | |
9470 | 5152 | =item Not a subroutine reference in overload table |
9471 | 5153 | |
9472 | 5154 | =begin original |
9473 | 5155 | |
9474 | 5156 | (F) An attempt was made to specify an entry in an overloading table that |
9475 | 5157 | doesn't somehow point to a valid subroutine. See L<overload>. |
9476 | 5158 | |
9477 | 5159 | =end original |
9478 | 5160 | |
9479 | (F) 多重定義テーブルで、有効なサブルー | |
5161 | (F) 多重定義テーブルで、有効なサブルーティンを指していないエントリを | |
9480 | 5162 | 指定しようとしました。 |
9481 | 5163 | L<overload> を参照してください。 |
9482 | 5164 | |
9483 | 5165 | =item Not enough arguments for %s |
9484 | 5166 | |
9485 | 5167 | =begin original |
9486 | 5168 | |
9487 | 5169 | (F) The function requires more arguments than you specified. |
9488 | 5170 | |
9489 | 5171 | =end original |
9490 | 5172 | |
9491 | 5173 | (F) この関数は、指定したよりも多くの引数を必要とします。 |
9492 | 5174 | |
9493 | 5175 | =item Not enough format arguments |
9494 | 5176 | |
9495 | 5177 | =begin original |
9496 | 5178 | |
9497 | 5179 | (W syntax) A format specified more picture fields than the next line |
9498 | 5180 | supplied. See L<perlform>. |
9499 | 5181 | |
9500 | 5182 | =end original |
9501 | 5183 | |
9502 | 5184 | (W syntax) 指定したフォーマットに、次の行で指定したより多くの |
9503 | 5185 | ピクチャフィールドがあります。 |
9504 | 5186 | L<perlform> を参照してください。 |
9505 | 5187 | |
9506 | 5188 | =item %s: not found |
9507 | 5189 | |
9508 | 5190 | =begin original |
9509 | 5191 | |
9510 | 5192 | (A) You've accidentally run your script through the Bourne shell instead |
9511 | 5193 | of Perl. Check the #! line, or manually feed your script into Perl |
9512 | 5194 | yourself. |
9513 | 5195 | |
9514 | 5196 | =end original |
9515 | 5197 | |
9516 | (A) スクリプトを | |
5198 | (A) スクリプトを Perl ではなく Bourne shell で実行しようとしています。 | |
9517 | #! | |
5199 | #! ラインをチェックするか、手動でスクリプトを Perl に渡してください。 | |
9518 | 5200 | |
9519 | =item (?[...]) not valid in locale in regex; marked by S<<-- HERE> in m/%s/ | |
9520 | ||
9521 | =begin original | |
9522 | ||
9523 | (F) C<(?[...])> cannot be used within the scope of a C<S<use locale>> or with | |
9524 | an C</l> regular expression modifier, as that would require deferring | |
9525 | to run-time the calculation of what it should evaluate to, and it is | |
9526 | regex compile-time only. | |
9527 | ||
9528 | =end original | |
9529 | ||
9530 | (F) C<(?[...])> は C<S<use locale>> のスコープ内や C</l> 正規表現修飾子付きでは | |
9531 | 使えません; これは何を評価するべきかを実行時の計算によりますが、 | |
9532 | これは正規表現のコンパイル時のみだからです。 | |
9533 | ||
9534 | 5201 | =item no UTC offset information; assuming local time is UTC |
9535 | 5202 | |
9536 | 5203 | =begin original |
9537 | 5204 | |
9538 | 5205 | (S) A warning peculiar to VMS. Perl was unable to find the local |
9539 | 5206 | timezone offset, so it's assuming that local system time is equivalent |
9540 | 5207 | to UTC. If it's not, define the logical name |
9541 | 5208 | F<SYS$TIMEZONE_DIFFERENTIAL> to translate to the number of seconds which |
9542 | 5209 | need to be added to UTC to get local time. |
9543 | 5210 | |
9544 | 5211 | =end original |
9545 | 5212 | |
9546 | (S) VMS | |
5213 | (S) VMS 固有の警告です。 | |
9547 | 5214 | Perl はローカルタイムゾーンオフセットを見つけることができなかったので、 |
9548 | 5215 | ローカルシステムタイムは UTC と等価であると仮定します。 |
9549 | 5216 | もし違うなら、論理名 F<SYS$TIMEZONE_DIFFERENTIAL> に、UTC からローカル |
9550 | 5217 | 時刻を得るために加える必要がある秒数を定義してください。 |
9551 | 5218 | |
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 | ||
9552 | 5232 | =item NULL OP IN RUN |
9553 | 5233 | |
9554 | 5234 | =begin original |
9555 | 5235 | |
9556 | ( | |
5236 | (P debugging) Some internal routine called run() with a null opcode | |
9557 | 5237 | pointer. |
9558 | 5238 | |
9559 | 5239 | =end original |
9560 | 5240 | |
9561 | ( | |
5241 | (P debugging) 内部ルーティンで、ヌル opcode ポインタで run() を | |
9562 | 5242 | 呼んだものがあります。 |
9563 | 5243 | |
9564 | 5244 | =item Null picture in formline |
9565 | 5245 | |
9566 | 5246 | =begin original |
9567 | 5247 | |
9568 | 5248 | (F) The first argument to formline must be a valid format picture |
9569 | 5249 | specification. It was found to be empty, which probably means you |
9570 | 5250 | supplied it an uninitialized value. See L<perlform>. |
9571 | 5251 | |
9572 | 5252 | =end original |
9573 | 5253 | |
9574 | 5254 | (F) formline の第 1 引数は有効なフォーマットピクチャー指定でなければ |
9575 | 5255 | なりません。 |
9576 | 5256 | これが空でした; おそらく初期化していない値を指定したのでしょう。 |
9577 | 5257 | L<perlform> を参照してください。 |
9578 | 5258 | |
9579 | 5259 | =item Null realloc |
9580 | 5260 | |
9581 | 5261 | =begin original |
9582 | 5262 | |
9583 | 5263 | (P) An attempt was made to realloc NULL. |
9584 | 5264 | |
9585 | 5265 | =end original |
9586 | 5266 | |
9587 | 5267 | (P) realloc NULL を行なおうとしました。 |
9588 | 5268 | |
9589 | 5269 | =item NULL regexp argument |
9590 | 5270 | |
9591 | 5271 | =begin original |
9592 | 5272 | |
9593 | 5273 | (P) The internal pattern matching routines blew it big time. |
9594 | 5274 | |
9595 | 5275 | =end original |
9596 | 5276 | |
9597 | 5277 | (P) 内部パターンマッチルーティンが、大当たりです。 |
9598 | 5278 | |
9599 | 5279 | =item NULL regexp parameter |
9600 | 5280 | |
9601 | 5281 | =begin original |
9602 | 5282 | |
9603 | 5283 | (P) The internal pattern matching routines are out of their gourd. |
9604 | 5284 | |
9605 | 5285 | =end original |
9606 | 5286 | |
9607 | 5287 | (P) 内部パターンマッチルーティンが、狂っています。 |
9608 | 5288 | |
9609 | 5289 | =item Number too long |
9610 | 5290 | |
9611 | 5291 | =begin original |
9612 | 5292 | |
9613 | 5293 | (F) Perl limits the representation of decimal numbers in programs to |
9614 | about 250 characters. You've exceeded that length. Future | |
5294 | about about 250 characters. You've exceeded that length. Future | |
9615 | 5295 | versions of Perl are likely to eliminate this arbitrary limitation. In |
9616 | 5296 | the meantime, try using scientific notation (e.g. "1e6" instead of |
9617 | 5297 | "1_000_000"). |
9618 | 5298 | |
9619 | 5299 | =end original |
9620 | 5300 | |
9621 | Perl はプログラム中での十進数の表現を 250 文字に制限しています。 | |
5301 | Perl はプログラム中での十進数の表現をおよそ 250 文字に制限しています。 | |
9622 | 5302 | この制限を越えました。 |
9623 | 5303 | Perl の将来のバージョンではこの恣意的な制限は除去されるでしょう。 |
9624 | 5304 | それまでの間は、科学的な記述法("1_000_000" ではなく "1e6")を |
9625 | 5305 | 使用してください。 |
9626 | 5306 | |
9627 | =item | |
5307 | =item Octal number in vector unsupported | |
9628 | 5308 | |
9629 | 5309 | =begin original |
9630 | 5310 | |
9631 | (F) | |
5311 | (F) Numbers with a leading C<0> are not currently allowed in vectors. | |
9632 | a number | |
5312 | The octal number interpretation of such numbers may be supported in a | |
9633 | t | |
5313 | future version. | |
9634 | 5314 | |
9635 | 5315 | =end original |
9636 | 5316 | |
9637 | ||
5317 | 頭に C<0> の付いた数値は現在のところベクタとしては使えません。 | |
9638 | こ | |
5318 | このような数値を 8 進数として解釈する機能は将来のバージョンで | |
5319 | 対応されるでしょう。 | |
9639 | 5320 | |
9640 | 5321 | =item Octal number > 037777777777 non-portable |
9641 | 5322 | |
9642 | 5323 | =begin original |
9643 | 5324 | |
9644 | 5325 | (W portable) The octal number you specified is larger than 2**32-1 |
9645 | 5326 | (4294967295) and therefore non-portable between systems. See |
9646 | 5327 | L<perlport> for more on portability concerns. |
9647 | 5328 | |
9648 | 5329 | =end original |
9649 | 5330 | |
9650 | 5331 | (W portable) 指定した 8 進数が 2**32-1 (4294967295) より大きいので、 |
9651 | 5332 | システム間で移植性がありません。 |
9652 | 5333 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
9653 | 5334 | |
9654 | =item Odd name/value argument for subroutine | |
9655 | ||
9656 | 5335 | =begin original |
9657 | 5336 | |
9658 | ||
5337 | See also L<perlport> for writing portable code. | |
9659 | received an odd number of arguments to populate the hash. It requires | |
9660 | the arguments to be paired, with the same number of keys as values. | |
9661 | The caller of the subroutine is presumably at fault. Inconveniently, | |
9662 | this error will be reported at the location of the subroutine, not that | |
9663 | of the caller. | |
9664 | 5338 | |
9665 | 5339 | =end original |
9666 | 5340 | |
9667 | ||
5341 | 移植性のあるコードの書き方についても L<perlport> を参照してください。 | |
9668 | ハッシュに展開するために奇数の数の引数を受け取りました。 | |
9669 | 引数は、同じ数のキーと値のペアになっていることが必要です。 | |
9670 | サブルーチンの呼び出しものがおそらく間違えているのでしょう。 | |
9671 | 不便なことに、このエラーは呼び出し元ではなく、サブルーチンの位置で | |
9672 | 報告されます。 | |
9673 | 5342 | |
9674 | 5343 | =item Odd number of arguments for overload::constant |
9675 | 5344 | |
9676 | 5345 | =begin original |
9677 | 5346 | |
9678 | (W | |
5347 | (W) The call to overload::constant contained an odd number of arguments. | |
9679 | ||
5348 | The arguments should come in pairs. | |
9680 | 5349 | |
9681 | 5350 | =end original |
9682 | 5351 | |
9683 | (W | |
5352 | (W) 奇数の数の引数で overload::constant を呼び出しました。 | |
9684 | 5353 | 引数はペアになっている必要があります。 |
9685 | 5354 | |
9686 | =item Odd number of elements in a | |
5355 | =item Odd number of elements in hash assignment | |
9687 | 5356 | |
9688 | 5357 | =begin original |
9689 | 5358 | |
9690 | 5359 | (W misc) You specified an odd number of elements to initialize a hash, |
9691 | 5360 | which is odd, because hashes come in key/value pairs. |
9692 | 5361 | |
9693 | 5362 | =end original |
9694 | 5363 | |
9695 | (W misc) ハッシュリストへの要素の数が奇数でした | |
5364 | (W misc) ハッシュリストへの要素の数が奇数でした。 | |
9696 | key/value のペアで与えられますから、 | |
5365 | ハッシュリストは、key/value のペアで与えられますから、 | |
5366 | これは奇妙なことです。 | |
9697 | 5367 | |
9698 | =item O | |
5368 | =item Offset outside string | |
9699 | 5369 | |
9700 | 5370 | =begin original |
9701 | 5371 | |
9702 | ( | |
5372 | (F) You tried to do a read/write/send/recv operation with an offset | |
9703 | ||
5373 | pointing outside the buffer. This is difficult to imagine. The sole | |
5374 | exception to this is that C<sysread()>ing past the buffer will extend | |
5375 | the buffer and zero pad the new area. | |
9704 | 5376 | |
9705 | 5377 | =end original |
9706 | 5378 | |
9707 | ( | |
5379 | (F) バッファの外を指すオフセットで read/write/send/recv 操作を | |
9708 | ||
5380 | しようとしました。 | |
5381 | これは想像しにくいことです。 | |
5382 | 唯一の例外は、バッファを通り過ぎて C<sysread()> するとバッファが | |
5383 | 拡張され、新しいエリアには 0 でパッディングされます。 | |
9709 | 5384 | |
9710 | =item | |
5385 | =item -%s on unopened filehandle %s | |
9711 | 5386 | |
9712 | 5387 | =begin original |
9713 | 5388 | |
9714 | ( | |
5389 | (W unopened) You tried to invoke a file test operator on a filehandle | |
9715 | ||
5390 | that isn't open. Check your logic. See also L<perlfunc/-X>. | |
9716 | imagine. The sole exceptions to this are that zero padding will | |
9717 | take place when going past the end of the string when either | |
9718 | C<sysread()>ing a file, or when seeking past the end of a scalar opened | |
9719 | for I/O (in anticipation of future reads and to imitate the behavior | |
9720 | with real files). | |
9721 | 5391 | |
9722 | 5392 | =end original |
9723 | 5393 | |
9724 | ( | |
5394 | (W unopened) 開いていないファイルハンドルに対してファイルテスト演算子を | |
9725 | ||
5395 | 使おうとしました。 | |
9726 | ||
5396 | 論理をチェックしてください。 | |
9727 | ||
5397 | L<perlfunc/-X> も参照してください。 | |
9728 | (将来の読み込みと実際のファイルの振る舞いを模倣することを期待して) | |
9729 | I/O のためにオープンされているスカラの最後を越えてシークしたときに、 | |
9730 | 0 でパッディングされたときです。 | |
9731 | 5398 | |
9732 | =item %s() on unopened %s | |
5399 | =item %s() on unopened %s %s | |
9733 | 5400 | |
9734 | 5401 | =begin original |
9735 | 5402 | |
9736 | 5403 | (W unopened) An I/O operation was attempted on a filehandle that was |
9737 | 5404 | never initialized. You need to do an open(), a sysopen(), or a socket() |
9738 | 5405 | call, or call a constructor from the FileHandle package. |
9739 | 5406 | |
9740 | 5407 | =end original |
9741 | 5408 | |
9742 | 5409 | (W unopened) 初期化していないファイルハンドルに I/O 操作をしようとしました。 |
9743 | 5410 | open(), sysopen(), socket() を呼び出すか、FileHandle パッケージの |
9744 | 5411 | コンストラクタを呼び出す必要があります。 |
9745 | 5412 | |
9746 | =item -%s on unopened filehandle %s | |
9747 | ||
9748 | =begin original | |
9749 | ||
9750 | (W unopened) You tried to invoke a file test operator on a filehandle | |
9751 | that isn't open. Check your control flow. See also L<perlfunc/-X>. | |
9752 | ||
9753 | =end original | |
9754 | ||
9755 | (W unopened) 開いていないファイルハンドルに対してファイルテスト演算子を | |
9756 | 使おうとしました。 | |
9757 | 制御フローをチェックしてください。 | |
9758 | L<perlfunc/-X> も参照してください。 | |
9759 | ||
9760 | 5413 | =item oops: oopsAV |
9761 | 5414 | |
9762 | 5415 | =begin original |
9763 | 5416 | |
9764 | 5417 | (S internal) An internal warning that the grammar is screwed up. |
9765 | 5418 | |
9766 | 5419 | =end original |
9767 | 5420 | |
9768 | 5421 | (S internal) 文法がおかしくなったことを示す内部警告です。 |
9769 | 5422 | |
9770 | 5423 | =item oops: oopsHV |
9771 | 5424 | |
9772 | 5425 | =begin original |
9773 | 5426 | |
9774 | 5427 | (S internal) An internal warning that the grammar is screwed up. |
9775 | 5428 | |
9776 | 5429 | =end original |
9777 | 5430 | |
9778 | 5431 | (S internal) 文法がおかしくなったことを示す内部警告です。 |
9779 | 5432 | |
9780 | =item Ope | |
5433 | =item Operation `%s': no method found, %s | |
9781 | 5434 | |
9782 | 5435 | =begin original |
9783 | 5436 | |
9784 | (D io, deprecated) You used open() to associate a filehandle to | |
9785 | a symbol (glob or scalar) that already holds a dirhandle. | |
9786 | Although legal, this idiom might render your code confusing | |
9787 | and is deprecated. | |
9788 | ||
9789 | =end original | |
9790 | ||
9791 | (D io, deprecated) open() で、既にディレクトリハンドルを保持しているシンボル | |
9792 | (グロブまたはスカラ)にファイルハンドルを関連付けようとしました。 | |
9793 | これは不正ではありませんが、この用法はコードを間違えて解釈する可能性が | |
9794 | あるので非推奨です。 | |
9795 | ||
9796 | =item Opening filehandle %s also as a directory | |
9797 | ||
9798 | =begin original | |
9799 | ||
9800 | (D io, deprecated) You used opendir() to associate a dirhandle to | |
9801 | a symbol (glob or scalar) that already holds a filehandle. | |
9802 | Although legal, this idiom might render your code confusing | |
9803 | and is deprecated. | |
9804 | ||
9805 | =end original | |
9806 | ||
9807 | (D io, deprecated) すでにファイルハンドルを保持しているシンボル | |
9808 | (グロブまたはスカラ)にディレクトリハンドルを関連付けるために | |
9809 | opendir() を使いました。 | |
9810 | これは不正ではありませんが、この用法はコードを間違えて解釈する可能性が | |
9811 | あるので非推奨です。 | |
9812 | ||
9813 | =item Operand with no preceding operator in regex; marked by S<<-- HERE> in | |
9814 | m/%s/ | |
9815 | ||
9816 | =begin original | |
9817 | ||
9818 | (F) You wrote something like | |
9819 | ||
9820 | =end original | |
9821 | ||
9822 | (F) 以下のようなものを書きました | |
9823 | ||
9824 | (?[ \p{Digit} \p{Thai} ]) | |
9825 | ||
9826 | =begin original | |
9827 | ||
9828 | There are two operands, but no operator giving how you want to combine | |
9829 | them. | |
9830 | ||
9831 | =end original | |
9832 | ||
9833 | 二つのオペランドがありますが、それをどのように結びつけたいかを指定する | |
9834 | 演算子がありません。 | |
9835 | ||
9836 | =item Operation "%s": no method found, %s | |
9837 | ||
9838 | =begin original | |
9839 | ||
9840 | 5437 | (F) An attempt was made to perform an overloaded operation for which no |
9841 | 5438 | handler was defined. While some handlers can be autogenerated in terms |
9842 | 5439 | of other handlers, there is no default handler for any operation, unless |
9843 | ||
5440 | C<fallback> overloading key is specified to be true. See L<overload>. | |
9844 | 5441 | |
9845 | 5442 | =end original |
9846 | 5443 | |
9847 | 5444 | (F) ハンドラが定義されていないオーバーロード操作が行われました。 |
9848 | 5445 | 一部のハンドラは他のハンドラから自動生成されますが、C<fallback> |
9849 | 5446 | オーバーロードキーが真に指定されていない限り、どの動作にも |
9850 | 5447 | デフォルトのハンドラはありません。 |
9851 | 5448 | L<overload> を参照してください。 |
9852 | 5449 | |
9853 | =item Operation "%s" returns its argument for non-Unicode code point 0x%X | |
9854 | ||
9855 | =begin original | |
9856 | ||
9857 | (S non_unicode) You performed an operation requiring Unicode rules | |
9858 | on a code point that is not in Unicode, so what it should do is not | |
9859 | defined. Perl has chosen to have it do nothing, and warn you. | |
9860 | ||
9861 | =end original | |
9862 | ||
9863 | (S non_unicode) Unicode ではない符号位置に対して、Unicode の規則が | |
9864 | 必要な操作を実行しました; 何をするべきかは未定義です。 | |
9865 | Perl は何もしないことを選択し、警告を出します。 | |
9866 | ||
9867 | =begin original | |
9868 | ||
9869 | If the operation shown is "ToFold", it means that case-insensitive | |
9870 | matching in a regular expression was done on the code point. | |
9871 | ||
9872 | =end original | |
9873 | ||
9874 | 示された操作が "ToFold" なら、正規表現での大文字小文字を無視したマッチングが | |
9875 | その符号位置に対して行われたということです。 | |
9876 | ||
9877 | =begin original | |
9878 | ||
9879 | If you know what you are doing you can turn off this warning by | |
9880 | C<no warnings 'non_unicode';>. | |
9881 | ||
9882 | =end original | |
9883 | ||
9884 | 自分で何をしているのかが分かっているなら、 | |
9885 | C<no warnings 'non_unicode';> とすることでこの警告をオフにできます。 | |
9886 | ||
9887 | =item Operation "%s" returns its argument for UTF-16 surrogate U+%X | |
9888 | ||
9889 | =begin original | |
9890 | ||
9891 | (S surrogate) You performed an operation requiring Unicode | |
9892 | rules on a Unicode surrogate. Unicode frowns upon the use | |
9893 | of surrogates for anything but storing strings in UTF-16, but | |
9894 | rules are (reluctantly) defined for the surrogates, and | |
9895 | they are to do nothing for this operation. Because the use of | |
9896 | surrogates can be dangerous, Perl warns. | |
9897 | ||
9898 | =end original | |
9899 | ||
9900 | (S surrogate) Unicode サロゲートに対して Unicode の規則が必要な | |
9901 | 操作を実行しました。 | |
9902 | Unicode は文字列を UTF-16 で保管する以外のことでサロゲートを使うことに | |
9903 | 難色を示しますが、規則は(渋々)サロゲートのために定義されていて、それは | |
9904 | この操作に対して何もしないことです。 | |
9905 | サロゲートの使用は危険かも知れないので、Perl は警告します。 | |
9906 | ||
9907 | =begin original | |
9908 | ||
9909 | If the operation shown is "ToFold", it means that case-insensitive | |
9910 | matching in a regular expression was done on the code point. | |
9911 | ||
9912 | =end original | |
9913 | ||
9914 | 示された操作が "ToFold" なら、正規表現での大文字小文字を無視したマッチングが | |
9915 | その符号位置に対して行われたということです。 | |
9916 | ||
9917 | =begin original | |
9918 | ||
9919 | If you know what you are doing you can turn off this warning by | |
9920 | C<no warnings 'surrogate';>. | |
9921 | ||
9922 | =end original | |
9923 | ||
9924 | 自分で何をしているのかが分かっているなら、 | |
9925 | C<no warnings 'surrogate';> とすることでこの警告をオフにできます。 | |
9926 | ||
9927 | 5450 | =item Operator or semicolon missing before %s |
9928 | 5451 | |
9929 | 5452 | =begin original |
9930 | 5453 | |
9931 | 5454 | (S ambiguous) You used a variable or subroutine call where the parser |
9932 | 5455 | was expecting an operator. The parser has assumed you really meant to |
9933 | 5456 | use an operator, but this is highly likely to be incorrect. For |
9934 | 5457 | example, if you say "*foo *foo" it will be interpreted as if you said |
9935 | 5458 | "*foo * 'foo'". |
9936 | 5459 | |
9937 | 5460 | =end original |
9938 | 5461 | |
9939 | 5462 | (S ambiguous) パーサーが演算子を装置している場所で変数やサブルーチン |
9940 | 5463 | 呼び出しが使われました。 |
9941 | 5464 | パーサーはあなたが本当に演算子を使おうとしていると仮定しますが、 |
9942 | 5465 | これは大抵正しくありません。 |
9943 | 5466 | 例えば、"*foo *foo" とすると、"*foo * 'foo'" としたとして解釈されます。 |
9944 | 5467 | |
9945 | =item Optional parameter lacks default expression | |
9946 | ||
9947 | =begin original | |
9948 | ||
9949 | (F) In a subroutine signature, you wrote something like "$a =", making a | |
9950 | named optional parameter without a default value. A nameless optional | |
9951 | parameter is permitted to have no default value, but a named one must | |
9952 | have a specific default. You probably want "$a = undef". | |
9953 | ||
9954 | =end original | |
9955 | ||
9956 | (F) サブルーチンシグネチャで、"$a =" のような、デフォルト値のない名前付き | |
9957 | オプション引数を書きました。 | |
9958 | 無名オプション引数はデフォルト値を持たないことを許されていますが、 | |
9959 | 名前付きのものはデフォルトを指定しなければなりません。 | |
9960 | おそらく "$a = undef" としたかったのでしょう。 | |
9961 | ||
9962 | 5468 | =item "our" variable %s redeclared |
9963 | 5469 | |
9964 | 5470 | =begin original |
9965 | 5471 | |
9966 | 5472 | (W misc) You seem to have already declared the same global once before |
9967 | 5473 | in the current lexical scope. |
9968 | 5474 | |
9969 | 5475 | =end original |
9970 | 5476 | |
9971 | 5477 | (W misc) 現在のレキシカルスコープで、既に同じ名前のグローバル変数を |
9972 | 5478 | 宣言しているようです。 |
9973 | 5479 | |
9974 | 5480 | =item Out of memory! |
9975 | 5481 | |
9976 | 5482 | =begin original |
9977 | 5483 | |
9978 | 5484 | (X) The malloc() function returned 0, indicating there was insufficient |
9979 | 5485 | remaining memory (or virtual memory) to satisfy the request. Perl has |
9980 | 5486 | no option but to exit immediately. |
9981 | 5487 | |
9982 | 5488 | =end original |
9983 | 5489 | |
9984 | 5490 | (X) 要求を満たすだけの、十分な残メモリ (または、仮想メモリ) が |
9985 | 5491 | 取得できないことを示す、0 を malloc() 関数が返しました。 |
9986 | 5492 | Perl は直ちに終了するしかありませんでした。 |
9987 | 5493 | |
9988 | =begin original | |
9989 | ||
9990 | At least in Unix you may be able to get past this by increasing your | |
9991 | process datasize limits: in csh/tcsh use C<limit> and | |
9992 | C<limit datasize n> (where C<n> is the number of kilobytes) to check | |
9993 | the current limits and change them, and in ksh/bash/zsh use C<ulimit -a> | |
9994 | and C<ulimit -d n>, respectively. | |
9995 | ||
9996 | =end original | |
9997 | ||
9998 | 少なくとも Unix ではプロセスのデータサイズ制限を増やすことによって | |
9999 | これを回避することが可能です: | |
10000 | csh/tcsh では現在の制限を調べるのに C<limit> を、これを変更するには | |
10001 | C<limit datasize n> (ここで C<n> はキロバイト単位) を使ってください; | |
10002 | ksh/bash/zsh ではそれぞれ C<ulimit -a> と C<ulimit -d n> を使ってください。 | |
10003 | ||
10004 | =item Out of memory during %s extend | |
10005 | ||
10006 | =begin original | |
10007 | ||
10008 | (X) An attempt was made to extend an array, a list, or a string beyond | |
10009 | the largest possible memory allocation. | |
10010 | ||
10011 | =end original | |
10012 | ||
10013 | (X) 確保可能な最大メモリを越えて配列、リスト、文字列を拡張しようとしました。 | |
10014 | ||
10015 | 5494 | =item Out of memory during "large" request for %s |
10016 | 5495 | |
10017 | 5496 | =begin original |
10018 | 5497 | |
10019 | 5498 | (F) The malloc() function returned 0, indicating there was insufficient |
10020 | remaining memory (or virtual memory) to satisfy the request. | |
5499 | remaining memory (or virtual memory) to satisfy the request. However, | |
10021 | 5500 | the request was judged large enough (compile-time default is 64K), so a |
10022 | 5501 | possibility to shut down by trapping this error is granted. |
10023 | 5502 | |
10024 | 5503 | =end original |
10025 | 5504 | |
10026 | 5505 | (F) malloc() 関数が 0 を返しました; これは要求を満たすメモリ |
10027 | 5506 | (または仮想メモリ)が不十分であることを示しています。 |
10028 | 5507 | しかし、要求が十分大きい(コンパイル時のデフォルトは 64K)ので、 |
10029 | 5508 | このエラーをトラップすることでシャットダウンできる可能性があります。 |
10030 | 5509 | |
10031 | 5510 | =item Out of memory during request for %s |
10032 | 5511 | |
10033 | 5512 | =begin original |
10034 | 5513 | |
10035 | (X | |
5514 | (X|F) The malloc() function returned 0, indicating there was | |
10036 | 5515 | insufficient remaining memory (or virtual memory) to satisfy the |
10037 | 5516 | request. |
10038 | 5517 | |
10039 | 5518 | =end original |
10040 | 5519 | |
10041 | (X | |
5520 | (X|F) malloc() 関数が 0 を返しました; これは要求を満たすメモリ | |
10042 | 5521 | (または仮想メモリ)が不十分であることを示しています。 |
10043 | 5522 | |
10044 | 5523 | =begin original |
10045 | 5524 | |
10046 | 5525 | The request was judged to be small, so the possibility to trap it |
10047 | 5526 | depends on the way perl was compiled. By default it is not trappable. |
10048 | 5527 | However, if compiled for this, Perl may use the contents of C<$^M> as an |
10049 | 5528 | emergency pool after die()ing with this message. In this case the error |
10050 | 5529 | is trappable I<once>, and the error message will include the line and file |
10051 | 5530 | where the failed request happened. |
10052 | 5531 | |
10053 | 5532 | =end original |
10054 | 5533 | |
10055 | 5534 | 要求は小さいものと判定されたので、これをトラップできる確率は perl が |
10056 | 5535 | どのようにコンパイルされたかに依存します。 |
10057 | 5536 | デフォルトではこれはトラップできません。 |
10058 | 5537 | しかし、もしこのためにコンパイルすると、Perl はこのメッセージと共に |
10059 | 5538 | die() した後の非常用エリアとして C<$^M> の内容を使います。 |
10060 | 5539 | この場合エラーは I<一度だけ> トラップ可能で、エラーメッセージは失敗した |
10061 | 5540 | 要求が起きたファイルと行番号を含んでいます。 |
10062 | 5541 | |
10063 | 5542 | =item Out of memory during ridiculously large request |
10064 | 5543 | |
10065 | 5544 | =begin original |
10066 | 5545 | |
10067 | 5546 | (F) You can't allocate more than 2^31+"small amount" bytes. This error |
10068 | 5547 | is most likely to be caused by a typo in the Perl program. e.g., |
10069 | 5548 | C<$arr[time]> instead of C<$arr[$time]>. |
10070 | 5549 | |
10071 | 5550 | =end original |
10072 | 5551 | |
10073 | 5552 | (F) 2^31+「少量」バイト以上割り当てることはできません。 |
10074 | このエラーはほとんどの場合 | |
5553 | このエラーはほとんどの場合(C<$arr[$time]> の代わりに | |
10075 | ||
5554 | C<$arr[time]> のような) Perl プログラムのタイプミスが原因です。 | |
10076 | 5555 | |
10077 | 5556 | =item Out of memory for yacc stack |
10078 | 5557 | |
10079 | 5558 | =begin original |
10080 | 5559 | |
10081 | 5560 | (F) The yacc parser wanted to grow its stack so it could continue |
10082 | 5561 | parsing, but realloc() wouldn't give it more memory, virtual or |
10083 | 5562 | otherwise. |
10084 | 5563 | |
10085 | 5564 | =end original |
10086 | 5565 | |
10087 | 5566 | (F) yacc パーサーが解析を続けるために、スタックを広げようとしましたが、 |
10088 | 5567 | realloc() が仮想やその他のメモリを確保できませんでした。 |
10089 | 5568 | |
10090 | =item | |
5569 | =item @ outside of string | |
10091 | 5570 | |
10092 | 5571 | =begin original |
10093 | 5572 | |
10094 | (F) | |
5573 | (F) You had a pack template that specified an absolute position outside | |
10095 | position to before the start of the packed string being built. | |
10096 | ||
10097 | =end original | |
10098 | ||
10099 | (F) テンプレートでの '.' の引数として、pack された文字列が構築されたよりも | |
10100 | 前に作業位置を移動しようとしました。 | |
10101 | ||
10102 | =item '@' outside of string in unpack | |
10103 | ||
10104 | =begin original | |
10105 | ||
10106 | (F) You had a template that specified an absolute position outside | |
10107 | 5574 | the string being unpacked. See L<perlfunc/pack>. |
10108 | 5575 | |
10109 | 5576 | =end original |
10110 | 5577 | |
10111 | 5578 | (F) unpack される文字列の外に絶対位置指定している、 |
10112 | テンプレートを指定しました。 | |
5579 | pack テンプレートを指定しました。 | |
10113 | 5580 | L<perlfunc/pack> を参照してください。 |
10114 | 5581 | |
10115 | =item '@' outside of string with malformed UTF-8 in unpack | |
10116 | ||
10117 | =begin original | |
10118 | ||
10119 | (F) You had a template that specified an absolute position outside | |
10120 | the string being unpacked. The string being unpacked was also invalid | |
10121 | UTF-8. See L<perlfunc/pack>. | |
10122 | ||
10123 | =end original | |
10124 | ||
10125 | (F) unpack される文字列の外に絶対位置指定している、 | |
10126 | テンプレートを指定しました。 | |
10127 | unpack された文字列は不正な UTF-8 でもあります。 | |
10128 | L<perlfunc/pack> を参照してください。 | |
10129 | ||
10130 | =item overload arg '%s' is invalid | |
10131 | ||
10132 | =begin original | |
10133 | ||
10134 | (W overload) The L<overload> pragma was passed an argument it did not | |
10135 | recognize. Did you mistype an operator? | |
10136 | ||
10137 | =end original | |
10138 | ||
10139 | (W overload) L<overload> プラグマに、認識できない引数が渡されました。 | |
10140 | 演算子をタイプミスしましたか? | |
10141 | ||
10142 | =item Overloaded dereference did not return a reference | |
10143 | ||
10144 | =begin original | |
10145 | ||
10146 | (F) An object with an overloaded dereference operator was dereferenced, | |
10147 | but the overloaded operation did not return a reference. See | |
10148 | L<overload>. | |
10149 | ||
10150 | =end original | |
10151 | ||
10152 | (F) オーバーロードされたデリファレンス演算子のオブジェクトが | |
10153 | デリファレンスされましたが、オーバーロード演算がリファレンスを | |
10154 | 返しませんでした。 | |
10155 | L<overload> を参照してください。 | |
10156 | ||
10157 | =item Overloaded qr did not return a REGEXP | |
10158 | ||
10159 | =begin original | |
10160 | ||
10161 | (F) An object with a C<qr> overload was used as part of a match, but the | |
10162 | overloaded operation didn't return a compiled regexp. See L<overload>. | |
10163 | ||
10164 | =end original | |
10165 | ||
10166 | (F) C<qr> をオーバーロードしたオブジェクトがマッチングの一部として | |
10167 | 使われましたが、オーバーロード演算がコンパイルされた正規表現を | |
10168 | 返しませんでした。 | |
10169 | L<overload> を参照してください。 | |
10170 | ||
10171 | 5582 | =item %s package attribute may clash with future reserved word: %s |
10172 | 5583 | |
10173 | 5584 | =begin original |
10174 | 5585 | |
10175 | 5586 | (W reserved) A lowercase attribute name was used that had a |
10176 | 5587 | package-specific handler. That name might have a meaning to Perl itself |
10177 | 5588 | some day, even though it doesn't yet. Perhaps you should use a |
10178 | 5589 | mixed-case attribute name, instead. See L<attributes>. |
10179 | 5590 | |
10180 | 5591 | =end original |
10181 | 5592 | |
10182 | 5593 | (W reserved) パッケージ固有のハンドラが、小文字の属性名を使っています。 |
10183 | 5594 | この名前は、たとえ今は使っていなくても、 Perl 自身がいつか使うかもしれません。 |
10184 | 5595 | おそらく代わりに大文字小文字の混じった属性名を使うべきでしょう。 |
10185 | 5596 | L<attributes> を参照してください。 |
10186 | 5597 | |
10187 | =item pack/unpack repeat count overflow | |
10188 | ||
10189 | =begin original | |
10190 | ||
10191 | (F) You can't specify a repeat count so large that it overflows your | |
10192 | signed integers. See L<perlfunc/pack>. | |
10193 | ||
10194 | =end original | |
10195 | ||
10196 | (F) 繰り返し回数として符号付き整数をオーバーフローするような | |
10197 | 値は指定できません。 | |
10198 | L<perlfunc/pack> を参照してください。 | |
10199 | ||
10200 | 5598 | =item page overflow |
10201 | 5599 | |
10202 | 5600 | =begin original |
10203 | 5601 | |
10204 | 5602 | (W io) A single call to write() produced more lines than can fit on a |
10205 | 5603 | page. See L<perlform>. |
10206 | 5604 | |
10207 | 5605 | =end original |
10208 | 5606 | |
10209 | (W io) write() の 1 度の呼び出しで、1 ページに収まるより | |
5607 | (W io) write() の 1 度の呼び出しで、1 ページに収まるより | |
10210 | できました。 | |
5608 | 多くの行ができました。 | |
10211 | 5609 | L<perlform> を参照してください。 |
10212 | 5610 | |
10213 | 5611 | =item panic: %s |
10214 | 5612 | |
10215 | 5613 | =begin original |
10216 | 5614 | |
10217 | 5615 | (P) An internal error. |
10218 | 5616 | |
10219 | 5617 | =end original |
10220 | 5618 | |
10221 | 5619 | (P) 内部エラーです。 |
10222 | 5620 | |
10223 | =item panic: | |
5621 | =item panic: ck_grep | |
10224 | 5622 | |
10225 | 5623 | =begin original |
10226 | 5624 | |
10227 | (P) One of the file test operators entered a code branch that calls | |
10228 | an ACL related-function, but that function is not available on this | |
10229 | platform. Earlier checks mean that it should not be possible to | |
10230 | enter this branch on this platform. | |
10231 | ||
10232 | =end original | |
10233 | ||
10234 | (P) ファイルテスト演算子の一つが ACL 関連関数を呼び出すコード分岐に | |
10235 | 入りましたが、この関数はこのプラットフォームでは利用できません。 | |
10236 | より早いチェックは、このプラットフォームのこの分岐に入ることがないように | |
10237 | するべきことを意味します。 | |
10238 | ||
10239 | =item panic: child pseudo-process was never scheduled | |
10240 | ||
10241 | =begin original | |
10242 | ||
10243 | (P) A child pseudo-process in the ithreads implementation on Windows | |
10244 | was not scheduled within the time period allowed and therefore was not | |
10245 | able to initialize properly. | |
10246 | ||
10247 | =end original | |
10248 | ||
10249 | (P) Windowsでのiスレッド実装の子疑似プロセスが許された時間間隔の間に | |
10250 | スケジューリングされなかったので、適切に初期化されなかった可能性があります。 | |
10251 | ||
10252 | =item panic: ck_grep, type=%u | |
10253 | ||
10254 | =begin original | |
10255 | ||
10256 | 5625 | (P) Failed an internal consistency check trying to compile a grep. |
10257 | 5626 | |
10258 | 5627 | =end original |
10259 | 5628 | |
10260 | 5629 | (P) grep をコンパイルしようとして、内部の一貫性チェックに |
10261 | 5630 | 引っ掛かりました。 |
10262 | 5631 | |
10263 | =item panic: ck_split | |
5632 | =item panic: ck_split | |
10264 | 5633 | |
10265 | 5634 | =begin original |
10266 | 5635 | |
10267 | 5636 | (P) Failed an internal consistency check trying to compile a split. |
10268 | 5637 | |
10269 | 5638 | =end original |
10270 | 5639 | |
10271 | 5640 | (P) split をコンパイルしようとして、内部の一貫性チェックに |
10272 | 5641 | 引っ掛かりました。 |
10273 | 5642 | |
10274 | =item panic: corrupt saved stack index | |
5643 | =item panic: corrupt saved stack index | |
10275 | 5644 | |
10276 | 5645 | =begin original |
10277 | 5646 | |
10278 | 5647 | (P) The savestack was requested to restore more localized values than |
10279 | 5648 | there are in the savestack. |
10280 | 5649 | |
10281 | 5650 | =end original |
10282 | 5651 | |
10283 | 5652 | (P) セーブスタックにある以上のローカル化した値を元に戻す |
10284 | 5653 | 要求がありました。 |
10285 | 5654 | |
10286 | 5655 | =item panic: del_backref |
10287 | 5656 | |
10288 | 5657 | =begin original |
10289 | 5658 | |
10290 | 5659 | (P) Failed an internal consistency check while trying to reset a weak |
10291 | 5660 | reference. |
10292 | 5661 | |
10293 | 5662 | =end original |
10294 | 5663 | |
10295 | 5664 | (P) 弱いリファレンスをリセットしようとしたときに内部の |
10296 | 5665 | 一貫性チェックに引っ掛かりました。 |
10297 | 5666 | |
10298 | =item panic: d | |
5667 | =item panic: die %s | |
10299 | 5668 | |
10300 | 5669 | =begin original |
10301 | 5670 | |
10302 | (P) | |
5671 | (P) We popped the context stack to an eval context, and then discovered | |
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 | |
10303 | 5684 | data. |
10304 | 5685 | |
10305 | 5686 | =end original |
10306 | 5687 | |
10307 | (P) 内部の pp_ | |
5688 | (P) 内部の pp_match() ルーティンが、無効な省略可能データを | |
10308 | 5689 | 付けて呼ばれました。 |
10309 | 5690 | |
10310 | =item panic: do_ | |
5691 | =item panic: do_subst | |
10311 | 5692 | |
10312 | 5693 | =begin original |
10313 | 5694 | |
10314 | (P) The internal | |
5695 | (P) The internal pp_subst() routine was called with invalid operational | |
10315 | 5696 | data. |
10316 | 5697 | |
10317 | 5698 | =end original |
10318 | 5699 | |
10319 | (P) 内部の pp_ | |
5700 | (P) 内部の pp_subst() ルーティンが、無効な省略可能データを | |
10320 | 5701 | 付けて呼ばれました。 |
10321 | 5702 | |
10322 | =item panic: | |
5703 | =item panic: do_trans_%s | |
10323 | 5704 | |
10324 | 5705 | =begin original |
10325 | 5706 | |
10326 | (P) | |
5707 | (P) The internal do_trans routines were called with invalid operational | |
10327 | ||
5708 | data. | |
10328 | 5709 | |
10329 | 5710 | =end original |
10330 | 5711 | |
10331 | (P) | |
5712 | (P) 内部の pp_trans ルーティンが、無効な省略可能データを | |
5713 | 付けて呼ばれました。 | |
10332 | 5714 | |
10333 | =item panic: frexp | |
5715 | =item panic: frexp | |
10334 | 5716 | |
10335 | 5717 | =begin original |
10336 | 5718 | |
10337 | 5719 | (P) The library function frexp() failed, making printf("%f") impossible. |
10338 | 5720 | |
10339 | 5721 | =end original |
10340 | 5722 | |
10341 | 5723 | (P) ライブラリ関数 frexp() が失敗したので、printf("%f") ができません。 |
10342 | 5724 | |
10343 | =item panic: goto | |
5725 | =item panic: goto | |
10344 | 5726 | |
10345 | 5727 | =begin original |
10346 | 5728 | |
10347 | 5729 | (P) We popped the context stack to a context with the specified label, |
10348 | 5730 | and then discovered it wasn't a context we know how to do a goto in. |
10349 | 5731 | |
10350 | 5732 | =end original |
10351 | 5733 | |
10352 | 5734 | (P) 指定したラベルを伴うコンテキストへコンテキストスタックを |
10353 | 5735 | ポップしたあと、どのように goto するかがわかっている |
10354 | 5736 | コンテキストでないことがわかりました。 |
10355 | 5737 | |
10356 | =item panic: | |
5738 | =item panic: INTERPCASEMOD | |
10357 | 5739 | |
10358 | 5740 | =begin original |
10359 | 5741 | |
10360 | (P) The internal routine used to clear a typeglob's entries tried | |
10361 | repeatedly, but each time something re-created entries in the glob. | |
10362 | Most likely the glob contains an object with a reference back to | |
10363 | the glob and a destructor that adds a new object to the glob. | |
10364 | ||
10365 | =end original | |
10366 | ||
10367 | (P) 型グロブのエントリをクリアするために使われる内部ルーチンが複数回 | |
10368 | 試しましたが、毎回何かがグロブにエントリを再作成しました。 | |
10369 | おそらくグロブにそのグロブへのリファレンスと、グロブへの新しいオブジェクトを | |
10370 | 追加するデストラクタを持つオブジェクトが含まれています。 | |
10371 | ||
10372 | =item panic: INTERPCASEMOD, %s | |
10373 | ||
10374 | =begin original | |
10375 | ||
10376 | 5742 | (P) The lexer got into a bad state at a case modifier. |
10377 | 5743 | |
10378 | 5744 | =end original |
10379 | 5745 | |
10380 | 5746 | (P) 大文字小文字修飾子のところで、字句解析部がおかしな状態に陥りました。 |
10381 | 5747 | |
10382 | =item panic: INTERPCONCAT | |
5748 | =item panic: INTERPCONCAT | |
10383 | 5749 | |
10384 | 5750 | =begin original |
10385 | 5751 | |
10386 | 5752 | (P) The lexer got into a bad state parsing a string with brackets. |
10387 | 5753 | |
10388 | 5754 | =end original |
10389 | 5755 | |
10390 | (P) 中 | |
5756 | (P) 中括弧を伴う文字列を解析中に、字句解析部がおかしな状態に陥りました。 | |
10391 | 5757 | |
10392 | 5758 | =item panic: kid popen errno read |
10393 | 5759 | |
10394 | 5760 | =begin original |
10395 | 5761 | |
10396 | (F) | |
5762 | (F) forked child returned an incomprehensible message about its errno. | |
10397 | 5763 | |
10398 | 5764 | =end original |
10399 | 5765 | |
10400 | 5766 | (F) fork した子プロセスが errno に関して不完全なメッセージを返しました。 |
10401 | 5767 | |
10402 | =item panic: last | |
5768 | =item panic: last | |
10403 | 5769 | |
10404 | 5770 | =begin original |
10405 | 5771 | |
10406 | 5772 | (P) We popped the context stack to a block context, and then discovered |
10407 | 5773 | it wasn't a block context. |
10408 | 5774 | |
10409 | 5775 | =end original |
10410 | 5776 | |
10411 | 5777 | (P) block コンテキストへコンテキストスタックをポップしたあと、 |
10412 | 5778 | block コンテキストでないことがわかりました。 |
10413 | 5779 | |
10414 | 5780 | =item panic: leave_scope clearsv |
10415 | 5781 | |
10416 | 5782 | =begin original |
10417 | 5783 | |
10418 | 5784 | (P) A writable lexical variable became read-only somehow within the |
10419 | 5785 | scope. |
10420 | 5786 | |
10421 | 5787 | =end original |
10422 | 5788 | |
10423 | 5789 | (P) 書き込み可能な字句スコープ変数が、どういうわけか、スコープ内で |
10424 | 5790 | リードオンリーになりました。 |
10425 | 5791 | |
10426 | =item panic: leave_scope inconsistency | |
5792 | =item panic: leave_scope inconsistency | |
10427 | 5793 | |
10428 | 5794 | =begin original |
10429 | 5795 | |
10430 | 5796 | (P) The savestack probably got out of sync. At least, there was an |
10431 | 5797 | invalid enum on the top of it. |
10432 | 5798 | |
10433 | 5799 | =end original |
10434 | 5800 | |
10435 | 5801 | (P) おそらく、セーブスタックの同期がとれていません。 |
10436 | 5802 | 少なくとも、トップに不正な enum がありました。 |
10437 | 5803 | |
10438 | 5804 | =item panic: magic_killbackrefs |
10439 | 5805 | |
10440 | 5806 | =begin original |
10441 | 5807 | |
10442 | 5808 | (P) Failed an internal consistency check while trying to reset all weak |
10443 | 5809 | references to an object. |
10444 | 5810 | |
10445 | 5811 | =end original |
10446 | 5812 | |
10447 | 5813 | (P) あるオブジェクトへの全ての弱い参照をリセットしようとした時に内部の |
10448 | 5814 | 一貫性チェックに引っ掛かりました。 |
10449 | 5815 | |
10450 | =item panic: malloc | |
5816 | =item panic: malloc | |
10451 | 5817 | |
10452 | 5818 | =begin original |
10453 | 5819 | |
10454 | 5820 | (P) Something requested a negative number of bytes of malloc. |
10455 | 5821 | |
10456 | 5822 | =end original |
10457 | 5823 | |
10458 | 5824 | (P) malloc に負のバイト数で要求が行なわれました。 |
10459 | 5825 | |
10460 | =item panic: m | |
5826 | =item panic: mapstart | |
10461 | 5827 | |
10462 | 5828 | =begin original |
10463 | 5829 | |
10464 | (P) | |
5830 | (P) The compiler is screwed up with respect to the map() function. | |
10465 | negative amount. | |
10466 | 5831 | |
10467 | 5832 | =end original |
10468 | 5833 | |
10469 | (P) | |
5834 | (P) コンパイラが、map() 関数に関しておかしくなりました。 | |
10470 | 5835 | |
10471 | =item panic: | |
5836 | =item panic: null array | |
10472 | 5837 | |
10473 | 5838 | =begin original |
10474 | 5839 | |
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 | ||
10475 | 5850 | (P) The compiler got confused about which scratch pad it was allocating |
10476 | 5851 | and freeing temporaries and lexicals from. |
10477 | 5852 | |
10478 | 5853 | =end original |
10479 | 5854 | |
10480 | 5855 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
10481 | 5856 | スクラッチパッドについて混乱しました。 |
10482 | 5857 | |
10483 | =item panic: pad_free curpad | |
5858 | =item panic: pad_free curpad | |
10484 | 5859 | |
10485 | 5860 | =begin original |
10486 | 5861 | |
10487 | 5862 | (P) The compiler got confused about which scratch pad it was allocating |
10488 | 5863 | and freeing temporaries and lexicals from. |
10489 | 5864 | |
10490 | 5865 | =end original |
10491 | 5866 | |
10492 | 5867 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
10493 | 5868 | スクラッチパッドについて混乱しました。 |
10494 | 5869 | |
10495 | 5870 | =item panic: pad_free po |
10496 | 5871 | |
10497 | 5872 | =begin original |
10498 | 5873 | |
10499 | (P) A | |
5874 | (P) An invalid scratch pad offset was detected internally. | |
10500 | made to free a target that had not been allocated to begin with. | |
10501 | 5875 | |
10502 | 5876 | =end original |
10503 | 5877 | |
10504 | (P) スクラッチパッドのオフセット | |
5878 | (P) 不正なスクラッチパッドのオフセットが、内部的に検出されました。 | |
10505 | 始めるために割り当てられていないターゲットを解放しようとしました。 | |
10506 | 5879 | |
10507 | =item panic: pad_reset curpad | |
5880 | =item panic: pad_reset curpad | |
10508 | 5881 | |
10509 | 5882 | =begin original |
10510 | 5883 | |
10511 | 5884 | (P) The compiler got confused about which scratch pad it was allocating |
10512 | 5885 | and freeing temporaries and lexicals from. |
10513 | 5886 | |
10514 | 5887 | =end original |
10515 | 5888 | |
10516 | 5889 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
10517 | 5890 | スクラッチパッドについて混乱しました。 |
10518 | 5891 | |
10519 | 5892 | =item panic: pad_sv po |
10520 | 5893 | |
10521 | 5894 | =begin original |
10522 | 5895 | |
10523 | (P) A | |
5896 | (P) An invalid scratch pad offset was detected internally. | |
10524 | an operator needed a target but that target had not been allocated | |
10525 | for whatever reason. | |
10526 | 5897 | |
10527 | 5898 | =end original |
10528 | 5899 | |
10529 | (P) スクラッチパッドのオフセット | |
5900 | (P) 不正なスクラッチパッドのオフセットが、内部的に検出されました。 | |
10530 | おそらく演算子がターゲットを必要としたけれどもターゲットが何らかの理由で | |
10531 | 割り当てられていません。 | |
10532 | 5901 | |
10533 | =item panic: pad_swipe curpad | |
5902 | =item panic: pad_swipe curpad | |
10534 | 5903 | |
10535 | 5904 | =begin original |
10536 | 5905 | |
10537 | 5906 | (P) The compiler got confused about which scratch pad it was allocating |
10538 | 5907 | and freeing temporaries and lexicals from. |
10539 | 5908 | |
10540 | 5909 | =end original |
10541 | 5910 | |
10542 | 5911 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
10543 | 5912 | スクラッチパッドについて混乱しました。 |
10544 | 5913 | |
10545 | 5914 | =item panic: pad_swipe po |
10546 | 5915 | |
10547 | 5916 | =begin original |
10548 | 5917 | |
10549 | 5918 | (P) An invalid scratch pad offset was detected internally. |
10550 | 5919 | |
10551 | 5920 | =end original |
10552 | 5921 | |
10553 | 5922 | (P) 不正なスクラッチパッドのオフセットが、内部的に検出されました。 |
10554 | 5923 | |
10555 | =item panic: pp_iter | |
5924 | =item panic: pp_iter | |
10556 | 5925 | |
10557 | 5926 | =begin original |
10558 | 5927 | |
10559 | 5928 | (P) The foreach iterator got called in a non-loop context frame. |
10560 | 5929 | |
10561 | 5930 | =end original |
10562 | 5931 | |
10563 | 5932 | (P) foreach の繰返し子が、ループ文脈以外のところで呼ばれました。 |
10564 | 5933 | |
10565 | =item panic: pp_ | |
5934 | =item panic: pp_split | |
10566 | 5935 | |
10567 | 5936 | =begin original |
10568 | 5937 | |
10569 | (P) The internal pp_match() routine was called with invalid operational | |
10570 | data. | |
10571 | ||
10572 | =end original | |
10573 | ||
10574 | (P) 内部の pp_match() ルーティンが、無効な省略可能データを | |
10575 | 付けて呼ばれました。 | |
10576 | ||
10577 | =item panic: pp_split, pm=%p, s=%p | |
10578 | ||
10579 | =begin original | |
10580 | ||
10581 | 5938 | (P) Something terrible went wrong in setting up for the split. |
10582 | 5939 | |
10583 | 5940 | =end original |
10584 | 5941 | |
10585 | 5942 | (P) split の準備中に何かまずいことが起こってしまいました。 |
10586 | 5943 | |
10587 | =item panic: realloc | |
5944 | =item panic: realloc | |
10588 | 5945 | |
10589 | 5946 | =begin original |
10590 | 5947 | |
10591 | 5948 | (P) Something requested a negative number of bytes of realloc. |
10592 | 5949 | |
10593 | 5950 | =end original |
10594 | 5951 | |
10595 | 5952 | (P) 何か、realloc に負のバイト数を要求したものがあります。 |
10596 | 5953 | |
10597 | =item panic: re | |
5954 | =item panic: restartop | |
10598 | 5955 | |
10599 | 5956 | =begin original |
10600 | 5957 | |
10601 | (P) The internal sv_replace() function was handed a new SV with a | |
10602 | reference count other than 1. | |
10603 | ||
10604 | =end original | |
10605 | ||
10606 | (P) 内部の sv_replace() 関数は、参照カウントが 1 でない新しい SV を | |
10607 | 扱いました。 | |
10608 | ||
10609 | =item panic: restartop in %s | |
10610 | ||
10611 | =begin original | |
10612 | ||
10613 | 5958 | (P) Some internal routine requested a goto (or something like it), and |
10614 | 5959 | didn't supply the destination. |
10615 | 5960 | |
10616 | 5961 | =end original |
10617 | 5962 | |
10618 | 5963 | (P) 内部ルーティンから goto (または、同じようなもの) が |
10619 | 5964 | 要求されましたが、飛び先が与えれていません。 |
10620 | 5965 | |
10621 | =item panic: return | |
5966 | =item panic: return | |
10622 | 5967 | |
10623 | 5968 | =begin original |
10624 | 5969 | |
10625 | 5970 | (P) We popped the context stack to a subroutine or eval context, and |
10626 | 5971 | then discovered it wasn't a subroutine or eval context. |
10627 | 5972 | |
10628 | 5973 | =end original |
10629 | 5974 | |
10630 | (P) サブルー | |
5975 | (P) サブルーティンコンテキストや eval コンテキストへ、 | |
10631 | コンテキストスタックをポップしたあと、サブルー | |
5976 | コンテキストスタックをポップしたあと、サブルーティンコンテキストや | |
10632 | 5977 | eval コンテキストでないことがわかりました。 |
10633 | 5978 | |
10634 | =item panic: scan_num | |
5979 | =item panic: scan_num | |
10635 | 5980 | |
10636 | 5981 | =begin original |
10637 | 5982 | |
10638 | 5983 | (P) scan_num() got called on something that wasn't a number. |
10639 | 5984 | |
10640 | 5985 | =end original |
10641 | 5986 | |
10642 | 5987 | (P) scan_num() が、何か数字でないものに対して呼ばれました。 |
10643 | 5988 | |
10644 | =item panic: | |
5989 | =item panic: sv_insert | |
10645 | 5990 | |
10646 | 5991 | =begin original |
10647 | 5992 | |
10648 | (P) While compiling a pattern that has embedded (?{}) or (??{}) code | |
10649 | blocks, perl couldn't locate the code block that should have already been | |
10650 | seen and compiled by perl before control passed to the regex compiler. | |
10651 | ||
10652 | =end original | |
10653 | ||
10654 | (P) 組み込みの (?{}) や (??{}) コードブロックを持つパターンをコンパイル中に、 | |
10655 | 既に現れていて、正規表現コンパイラに制御を渡す前に perl によって | |
10656 | コンパイルされているコードブロックを発見できませんでした。 | |
10657 | ||
10658 | =item panic: strxfrm() gets absurd - a => %u, ab => %u | |
10659 | ||
10660 | =begin original | |
10661 | ||
10662 | (P) The interpreter's sanity check of the C function strxfrm() failed. | |
10663 | In your current locale the returned transformation of the string "ab" | |
10664 | is shorter than that of the string "a", which makes no sense. | |
10665 | ||
10666 | =end original | |
10667 | ||
10668 | (P) C 関数 strxfrm() のインタプリタの正気度チェックが失敗しました。 | |
10669 | 現在のロケールでは、文字列 "ab" の変換で返されたものは 文字列 "a" の | |
10670 | 変換で返されたものよりも短いので、おかしいです。 | |
10671 | ||
10672 | =item panic: sv_chop %s | |
10673 | ||
10674 | =begin original | |
10675 | ||
10676 | (P) The sv_chop() routine was passed a position that is not within the | |
10677 | scalar's string buffer. | |
10678 | ||
10679 | =end original | |
10680 | ||
10681 | (P) sv_chop() ルーチンは、スカラの文字列バッファ内でない位置を | |
10682 | 渡されました。 | |
10683 | ||
10684 | =item panic: sv_insert, midend=%p, bigend=%p | |
10685 | ||
10686 | =begin original | |
10687 | ||
10688 | 5993 | (P) The sv_insert() routine was told to remove more string than there |
10689 | 5994 | was string. |
10690 | 5995 | |
10691 | 5996 | =end original |
10692 | 5997 | |
10693 | 5998 | (P) sv_insert() ルーティンが、存在する以上の文字列を削除するように |
10694 | 5999 | 指示されました。 |
10695 | 6000 | |
10696 | 6001 | =item panic: top_env |
10697 | 6002 | |
10698 | 6003 | =begin original |
10699 | 6004 | |
10700 | 6005 | (P) The compiler attempted to do a goto, or something weird like that. |
10701 | 6006 | |
10702 | 6007 | =end original |
10703 | 6008 | |
10704 | 6009 | (P) コンパイラが、goto など妙なことを行なおうとしました。 |
10705 | 6010 | |
10706 | =item panic: | |
6011 | =item panic: yylex | |
10707 | 6012 | |
10708 | 6013 | =begin original |
10709 | 6014 | |
10710 | (P) The | |
6015 | (P) The lexer got into a bad state while processing a case modifier. | |
10711 | permitted at run time. | |
10712 | 6016 | |
10713 | 6017 | =end original |
10714 | 6018 | |
10715 | (P) | |
6019 | (P) 大文字小文字修飾子を処理中に、字句解析部がおかしな状態に陥りました。 | |
10716 | しようとしました。 | |
10717 | 6020 | |
10718 | 6021 | =item panic: utf16_to_utf8: odd bytelen |
10719 | 6022 | |
10720 | 6023 | =begin original |
10721 | 6024 | |
10722 | 6025 | (P) Something tried to call utf16_to_utf8 with an odd (as opposed |
10723 | to even) byte length. | |
6026 | to even) byte length. | |
10724 | 6027 | |
10725 | 6028 | =end original |
10726 | 6029 | |
10727 | 6030 | (P) 何かが(偶数ではなく)奇数のバイト長で utf16_to_utf8 を |
10728 | 6031 | 呼び出そうとしました。 |
10729 | 6032 | |
10730 | =item panic: utf16_to_utf8_reversed: odd bytelen | |
10731 | ||
10732 | =begin original | |
10733 | ||
10734 | (P) Something tried to call utf16_to_utf8_reversed with an odd (as opposed | |
10735 | to even) byte length. | |
10736 | ||
10737 | =end original | |
10738 | ||
10739 | (P) 何かが utf16_to_utf8_reversed を奇数バイト長で呼び出そうとしました。 | |
10740 | ||
10741 | =item panic: yylex, %s | |
10742 | ||
10743 | =begin original | |
10744 | ||
10745 | (P) The lexer got into a bad state while processing a case modifier. | |
10746 | ||
10747 | =end original | |
10748 | ||
10749 | (P) 大文字小文字修飾子を処理中に、字句解析部がおかしな状態に陥りました。 | |
10750 | ||
10751 | 6033 | =item Parentheses missing around "%s" list |
10752 | 6034 | |
10753 | 6035 | =begin original |
10754 | 6036 | |
10755 | 6037 | (W parenthesis) You said something like |
10756 | 6038 | |
10757 | 6039 | =end original |
10758 | 6040 | |
10759 | 6041 | (W parenthesis) おそらく以下のようにしたのでしょう: |
10760 | 6042 | |
10761 | 6043 | my $foo, $bar = @_; |
10762 | 6044 | |
10763 | 6045 | =begin original |
10764 | 6046 | |
10765 | 6047 | when you meant |
10766 | 6048 | |
10767 | 6049 | =end original |
10768 | 6050 | |
10769 | 6051 | 以下のようにすべきです: |
10770 | 6052 | |
10771 | 6053 | my ($foo, $bar) = @_; |
10772 | 6054 | |
10773 | 6055 | =begin original |
10774 | 6056 | |
10775 | Remember that "my", "our", | |
6057 | Remember that "my", "our", and "local" bind tighter than comma. | |
10776 | 6058 | |
10777 | 6059 | =end original |
10778 | 6060 | |
10779 | "my" | |
6061 | "my" や "local" は、コンマよりも強く結合することを忘れないでください。 | |
10780 | 忘れないでください。 | |
10781 | 6062 | |
10782 | =item P | |
6063 | =item Perl %s required--this is only version %s, stopped | |
10783 | 6064 | |
10784 | 6065 | =begin original |
10785 | 6066 | |
10786 | (F) Parsing code supplied by an extension violated the parser's API in | |
10787 | a detectable way. | |
10788 | ||
10789 | =end original | |
10790 | ||
10791 | (F) エクステンションによって供給されたパースコードが、検出できる形で | |
10792 | パーサの API に違反しています。 | |
10793 | ||
10794 | =item Passing malformed UTF-8 to "%s" is deprecated | |
10795 | ||
10796 | =begin original | |
10797 | ||
10798 | (D deprecated, utf8) This message indicates a bug either in the Perl | |
10799 | core or in XS code. Such code was trying to find out if a character, | |
10800 | allegedly stored internally encoded as UTF-8, was of a given type, such | |
10801 | as being punctuation or a digit. But the character was not encoded in | |
10802 | legal UTF-8. The C<%s> is replaced by a string that can be used by | |
10803 | knowledgeable people to determine what the type being checked against | |
10804 | was. If C<utf8> warnings are enabled, a further message is raised, | |
10805 | giving details of the malformation. | |
10806 | ||
10807 | =end original | |
10808 | ||
10809 | (D deprecated, utf8) このメッセージは、Perl コアまたは XS コードにバグが | |
10810 | あることを示しています。 | |
10811 | このコードは、内部で UTF-8 にエンコードしているとされている文字が、 | |
10812 | 句読点や数字といった特定の種類かどうかを調べようとしました。 | |
10813 | しかしその文字は正当な UTF-8 としてエンコードされていませんでした。 | |
10814 | C<%s> は、知識のある人々がチェックするべき型を決定するために使われる文字列で | |
10815 | 置き換えられます。 | |
10816 | C<utf8> 警告が有効なら、不正な形の詳細が記されたさらなるメッセージが | |
10817 | 出力されます。 | |
10818 | ||
10819 | =item Pattern subroutine nesting without pos change exceeded limit in regex | |
10820 | ||
10821 | =begin original | |
10822 | ||
10823 | (F) You used a pattern that uses too many nested subpattern calls without | |
10824 | consuming any text. Restructure the pattern so text is consumed before | |
10825 | the nesting limit is exceeded. | |
10826 | ||
10827 | =end original | |
10828 | ||
10829 | (F) テキストを全く消費することなく、あまりに多くネストした副パターンを使う | |
10830 | パターンを使いました。 | |
10831 | ネストの制限を越える前にテキストを消費するようにパターンを | |
10832 | 再構成してください。 | |
10833 | ||
10834 | =item C<-p> destination: %s | |
10835 | ||
10836 | =begin original | |
10837 | ||
10838 | (F) An error occurred during the implicit output invoked by the C<-p> | |
10839 | command-line switch. (This output goes to STDOUT unless you've | |
10840 | redirected it with select().) | |
10841 | ||
10842 | =end original | |
10843 | ||
10844 | (F) C<-p> コマンドラインオプションで起動された | |
10845 | 暗黙の出力中にエラーが発生しました。 | |
10846 | (この出力は select() でリダイレクトしていない限り STDOUT に出力されます。) | |
10847 | ||
10848 | =item Perl API version %s of %s does not match %s | |
10849 | ||
10850 | =begin original | |
10851 | ||
10852 | (F) The XS module in question was compiled against a different incompatible | |
10853 | version of Perl than the one that has loaded the XS module. | |
10854 | ||
10855 | =end original | |
10856 | ||
10857 | (F) この XS モジュールは、これを読み込んだ Perl とは互換性のないバージョンの | |
10858 | Perl 用にコンパイルされたものです。 | |
10859 | ||
10860 | =item Perl folding rules are not up-to-date for 0x%X; please use the perlbug | |
10861 | utility to report; in regex; marked by S<<-- HERE> in m/%s/ | |
10862 | ||
10863 | =begin original | |
10864 | ||
10865 | (S regexp) You used a regular expression with case-insensitive matching, | |
10866 | and there is a bug in Perl in which the built-in regular expression | |
10867 | folding rules are not accurate. This may lead to incorrect results. | |
10868 | Please report this as a bug using the L<perlbug> utility. | |
10869 | ||
10870 | =end original | |
10871 | ||
10872 | (S regexp) 大文字小文字を無視するマッチングを行う正規表現を使いました; そして | |
10873 | 組み込みの正規表現畳み込み規則が正確でないという Perl のバグがありました。 | |
10874 | これは間違った結果を引き起こします。 | |
10875 | どうか L<perlbug> ユーティリティを使ってバグとして報告してください。 | |
10876 | ||
10877 | =item PerlIO layer ':win32' is experimental | |
10878 | ||
10879 | =begin original | |
10880 | ||
10881 | (S experimental::win32_perlio) The C<:win32> PerlIO layer is | |
10882 | experimental. If you want to take the risk of using this layer, | |
10883 | simply disable this warning: | |
10884 | ||
10885 | =end original | |
10886 | ||
10887 | (S experimental::win32_perlio) C<:win32> PerlIO 層は実験的です。 | |
10888 | この層を使うリスクを取りたい場合は、単にこの警告を無効にしてください: | |
10889 | ||
10890 | no warnings "experimental::win32_perlio"; | |
10891 | ||
10892 | =item Perl_my_%s() not available | |
10893 | ||
10894 | =begin original | |
10895 | ||
10896 | (F) Your platform has very uncommon byte-order and integer size, | |
10897 | so it was not possible to set up some or all fixed-width byte-order | |
10898 | conversion functions. This is only a problem when you're using the | |
10899 | '<' or '>' modifiers in (un)pack templates. See L<perlfunc/pack>. | |
10900 | ||
10901 | =end original | |
10902 | ||
10903 | (F) あなたのプラットフォームはとても珍しいバイト順と整数サイズを | |
10904 | 使っているので、固定長バイト順変換関数の一部または全部を使うことができません。 | |
10905 | これは (un)pack テンプレートの中で | |
10906 | '<' か '>' の修飾子を使った場合にのみ問題となります。 | |
10907 | L<perlfunc/pack> を参照してください。 | |
10908 | ||
10909 | =item Perl %s required (did you mean %s?)--this is only %s, stopped | |
10910 | ||
10911 | =begin original | |
10912 | ||
10913 | (F) The code you are trying to run has asked for a newer version of | |
10914 | Perl than you are running. Perhaps C<use 5.10> was written instead | |
10915 | of C<use 5.010> or C<use v5.10>. Without the leading C<v>, the number is | |
10916 | interpreted as a decimal, with every three digits after the | |
10917 | decimal point representing a part of the version number. So 5.10 | |
10918 | is equivalent to v5.100. | |
10919 | ||
10920 | =end original | |
10921 | ||
10922 | (F) 実行しようとしたコードは、実行している Perl のバージョンよりも高いものを | |
10923 | 尋ねました。 | |
10924 | おそらく C<use 5.010> or C<use v5.10> ではなく C<use 5.10> と | |
10925 | 書かれているのでしょう。 | |
10926 | 先頭の C<v> がないと、数値は 10 進数で、小数点の後の 3 桁毎にバージョン番号の | |
10927 | 部分を表現していると解釈されます。 | |
10928 | それで、5.10 は v5.100 と等価です。 | |
10929 | ||
10930 | =item Perl %s required--this is only %s, stopped | |
10931 | ||
10932 | =begin original | |
10933 | ||
10934 | 6067 | (F) The module in question uses features of a version of Perl more |
10935 | 6068 | recent than the currently running version. How long has it been since |
10936 | 6069 | you upgraded, anyway? See L<perlfunc/require>. |
10937 | 6070 | |
10938 | 6071 | =end original |
10939 | 6072 | |
10940 | 6073 | (F) 問題のモジュールは、現在実行中の Perl よりも最近のバージョンの |
10941 | 6074 | 機能を使っています。 |
10942 | 6075 | ところで、いつからアップグレードしていないのですか? |
10943 | 6076 | L<perlfunc/require> を参照してください。 |
10944 | 6077 | |
10945 | 6078 | =item PERL_SH_DIR too long |
10946 | 6079 | |
10947 | 6080 | =begin original |
10948 | 6081 | |
10949 | (F) An error peculiar to OS/2. | |
6082 | (F) An error peculiar to OS/2. PERL_SH_DIR is the directory to find the | |
10950 | 6083 | C<sh>-shell in. See "PERL_SH_DIR" in L<perlos2>. |
10951 | 6084 | |
10952 | 6085 | =end original |
10953 | 6086 | |
10954 | 6087 | (F) OS/2 固有のエラーです。 |
10955 | 6088 | PERL_SH_DIR は C<sh>-shell を見つけるためのディレクトリです。 |
10956 | 6089 | L<perlos2> の "PERL_SH_DIR" を参照してください。 |
10957 | 6090 | |
10958 | =item PERL_SIGNALS illegal: "%s" | |
10959 | ||
10960 | =begin original | |
10961 | ||
10962 | (X) See L<perlrun/PERL_SIGNALS> for legal values. | |
10963 | ||
10964 | =end original | |
10965 | ||
10966 | (X) 有効な値については L<perlrun/PERL_SIGNALS> を参照してください。 | |
10967 | ||
10968 | =item Perls since %s too modern--this is %s, stopped | |
10969 | ||
10970 | =begin original | |
10971 | ||
10972 | (F) The code you are trying to run claims it will not run | |
10973 | on the version of Perl you are using because it is too new. | |
10974 | Maybe the code needs to be updated, or maybe it is simply | |
10975 | wrong and the version check should just be removed. | |
10976 | ||
10977 | =end original | |
10978 | ||
10979 | (F) 実行しようとしているコードは、使っている Perl のバージョンが新しすぎると | |
10980 | 主張しています。 | |
10981 | コードを更新する必要があるかもしれませんし、単に間違っていて単純に | |
10982 | バージョンチェックを削除するべきかもしれません。 | |
10983 | ||
10984 | =item perl: warning: Non hex character in '$ENV{PERL_HASH_SEED}', seed only partially set | |
10985 | ||
10986 | =begin original | |
10987 | ||
10988 | (S) PERL_HASH_SEED should match /^\s*(?:0x)?[0-9a-fA-F]+\s*\z/ but it | |
10989 | contained a non hex character. This could mean you are not using the | |
10990 | hash seed you think you are. | |
10991 | ||
10992 | =end original | |
10993 | ||
10994 | (S) PERL_HASH_SEED は /^\s*(?:0x)?[0-9a-fA-F]+\s*\z/ にマッチングするけれども | |
10995 | 非 16 進数文字を含む必要があります。 | |
10996 | これは、考えているようなハッシュの種が使われないことを | |
10997 | 意味しているかもしれません。 | |
10998 | ||
10999 | 6091 | =item perl: warning: Setting locale failed. |
11000 | 6092 | |
11001 | 6093 | =begin original |
11002 | 6094 | |
11003 | 6095 | (S) The whole warning message will look something like: |
11004 | 6096 | |
11005 | 6097 | =end original |
11006 | 6098 | |
11007 | 6099 | (S) 警告全体は以下のような形になります: |
11008 | 6100 | |
11009 | 6101 | perl: warning: Setting locale failed. |
11010 | 6102 | perl: warning: Please check that your locale settings: |
11011 | 6103 | LC_ALL = "En_US", |
11012 | 6104 | LANG = (unset) |
11013 | 6105 | are supported and installed on your system. |
11014 | 6106 | perl: warning: Falling back to the standard locale ("C"). |
11015 | 6107 | |
11016 | 6108 | =begin original |
11017 | 6109 | |
11018 | 6110 | Exactly what were the failed locale settings varies. In the above the |
11019 | 6111 | settings were that the LC_ALL was "En_US" and the LANG had no value. |
11020 | 6112 | This error means that Perl detected that you and/or your operating |
11021 | 6113 | system supplier and/or system administrator have set up the so-called |
11022 | 6114 | locale system but Perl could not use those settings. This was not |
11023 | 6115 | dead serious, fortunately: there is a "default locale" called "C" that |
11024 | Perl can and will use, | |
6116 | Perl can and will use, the script will be run. Before you really fix | |
11025 | ||
6117 | the problem, however, you will get the same error message each time | |
11026 | ||
6118 | you run Perl. How to really fix the problem can be found in | |
11027 | 6119 | L<perllocale> section B<LOCALE PROBLEMS>. |
11028 | 6120 | |
11029 | 6121 | =end original |
11030 | 6122 | |
11031 | 6123 | 正確にどのロケール設定が失敗したのかは様々です。 |
11032 | 6124 | 上記では設定は LC_ALL は "En_US" で、LANG は空でした。 |
11033 | 6125 | このエラーは、あなたや OS 供給者やシステム管理者がロケールシステムと呼ばれる |
11034 | 6126 | ものをセットアップしましたが、Perl がこれらの設定を使えないことを |
11035 | 6127 | 検出したことを意味します。 |
11036 | 6128 | これは幸いにして致命的ではありません; Perl が使用できる "C" と呼ばれる |
11037 | 6129 | 「デフォルトロケール」が存在するので、スクリプトは実行されます。 |
11038 | 6130 | しかし、本当にこの問題を解決するまでは、Perl を実行する毎に同じエラー |
11039 | 6131 | メッセージが表示されます。 |
11040 | 6132 | 本当にこの問題を修正する方法は L<perllocale> の B<LOCALE PROBLEMS> の |
11041 | 6133 | 章にあります。 |
11042 | 6134 | |
11043 | =item | |
6135 | =item Permission denied | |
11044 | 6136 | |
11045 | 6137 | =begin original |
11046 | 6138 | |
11047 | ( | |
6139 | (F) The setuid emulator in suidperl decided you were up to no good. | |
11048 | but containing an unexpected value. The legal values of this setting | |
11049 | are as follows. | |
11050 | 6140 | |
11051 | 6141 | =end original |
11052 | 6142 | |
11053 | ( | |
6143 | (F) suidperl の setuid エミュレータは、実行者が安全とは | |
11054 | ||
6144 | 言えないと判断しました。 | |
11055 | この設定の正当な値は以下のものです。 | |
11056 | 6145 | |
11057 | Numeric | String | Result | |
11058 | --------+---------------+----------------------------------------- | |
11059 | 0 | NO | Disables key traversal randomization | |
11060 | 1 | RANDOM | Enables full key traversal randomization | |
11061 | 2 | DETERMINISTIC | Enables repeatable key traversal | |
11062 | | | randomization | |
11063 | ||
11064 | =begin original | |
11065 | ||
11066 | Both numeric and string values are accepted, but note that string values are | |
11067 | case sensitive. The default for this setting is "RANDOM" or 1. | |
11068 | ||
11069 | =end original | |
11070 | ||
11071 | 数値と文字列の値の両方が受け入れられますが、文字列の値は大文字小文字を | |
11072 | 区別することに注意してください。 | |
11073 | この設定のデフォルトは "RANDOM"、つまり 1 です。 | |
11074 | ||
11075 | 6146 | =item pid %x not a child |
11076 | 6147 | |
11077 | 6148 | =begin original |
11078 | 6149 | |
11079 | 6150 | (W exec) A warning peculiar to VMS. Waitpid() was asked to wait for a |
11080 | 6151 | process which isn't a subprocess of the current process. While this is |
11081 | 6152 | fine from VMS' perspective, it's probably not what you intended. |
11082 | 6153 | |
11083 | 6154 | =end original |
11084 | 6155 | |
11085 | (W exec) VMS | |
6156 | (W exec) VMS 固有の警告です。 | |
11086 | 6157 | 現在のプロセスのサブプロセスでないプロセスに Waitpid() を使いました。 |
11087 | 6158 | これは VMS の観点からは問題ありませんが、おそらくあなたの望んでいることでは |
11088 | 6159 | ないでしょう。 |
11089 | 6160 | |
11090 | =item | |
6161 | =item POSIX syntax [%s] belongs inside character classes | |
11091 | 6162 | |
11092 | 6163 | =begin original |
11093 | 6164 | |
11094 | ( | |
6165 | (W unsafe) The character class constructs [: :], [= =], and [. .] go | |
6166 | I<inside> character classes, the [] are part of the construct, for | |
6167 | example: /[012[:alpha:]345]/. Note that [= =] and [. .] are not | |
6168 | currently implemented; they are simply placeholders for future | |
6169 | extensions and will cause fatal errors. | |
11095 | 6170 | |
11096 | 6171 | =end original |
11097 | 6172 | |
11098 | ( | |
6173 | (W regexp) 例えば /[012[:alpha:]345]/ のように、文字クラス構造 [: :], [= =], | |
11099 | ||
6174 | [. .] が文字クラスの I<内側> にあり、[] は構造の一部です。 | |
6175 | [= =] と [. .] は現在のところ実装されていないことに注意してください; | |
6176 | これらは単に将来の拡張のためのプレースホルダであり、致命的エラーを | |
6177 | 生成します。 | |
11100 | 6178 | |
11101 | =item POSIX | |
6179 | =item POSIX syntax [. .] is reserved for future extensions | |
11102 | 6180 | |
11103 | 6181 | =begin original |
11104 | 6182 | |
11105 | (F) | |
6183 | (F regexp) Within regular expression character classes ([]) the syntax | |
11106 | ||
6184 | beginning with "[." and ending with ".]" is reserved for future | |
11107 | ||
6185 | extensions. If you need to represent those character sequences inside | |
11108 | ||
6186 | a regular expression character class, just quote the square brackets | |
11109 | ||
6187 | with the backslash: "\[." and ".\]". | |
11110 | 6188 | |
11111 | 6189 | =end original |
11112 | 6190 | |
11113 | (F) 文字クラス [ | |
6191 | (F regexp) 正規表現文字クラス ([]) の中では、"[." で始まる文法と ".]" で | |
11114 | ||
6192 | 終わる文法は将来の拡張のために予約されます。 | |
11115 | ||
6193 | 正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある | |
11116 | ||
6194 | 場合には、"\[." と ".\]" のように、大かっこをバックスラッシュで | |
11117 | ||
6195 | クォートしてください。 | |
11118 | L<perlre> を参照してください。 | |
11119 | 6196 | |
11120 | =item POSIX | |
6197 | =item POSIX syntax [= =] is reserved for future extensions | |
11121 | 6198 | |
11122 | 6199 | =begin original |
11123 | 6200 | |
11124 | (F) | |
6201 | (F) Within regular expression character classes ([]) the syntax | |
11125 | th | |
6202 | beginning with "[=" and ending with "=]" is reserved for future | |
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 "=\]". | |
11126 | 6206 | |
11127 | 6207 | =end original |
11128 | 6208 | |
11129 | (F) | |
6209 | (F) 正規表現文字クラス ([]) の中では、"[=" で始まる文法と "=]" で | |
11130 | ||
6210 | 終わる文法は将来の拡張のために予約されます。 | |
6211 | 正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある | |
6212 | 場合には、"\[=" と "=\]" のように、大かっこをバックスラッシュで | |
6213 | クォートしてください。 | |
11131 | 6214 | |
11132 | =item POSIX | |
6215 | =item POSIX class [:%s:] unknown | |
11133 | S<<-- HERE> in m/%s/ | |
11134 | 6216 | |
11135 | 6217 | =begin original |
11136 | 6218 | |
11137 | ( | |
6219 | (F) The class in the character class [: :] syntax is unknown. See | |
11138 | ||
6220 | L<perlre>. | |
11139 | :], [= =], and [. .] go I<inside> character classes, the [] are part of | |
11140 | the construct, for example: C<qr/[012[:alpha:]345]/>. What the regular | |
11141 | expression pattern compiled to is probably not what you were intending. | |
11142 | For example, C<qr/[:alpha:]/> compiles to a regular bracketed character | |
11143 | class consisting of the four characters C<":">, C<"a">, C<"l">, | |
11144 | C<"h">, and C<"p">. To specify the POSIX class, it should have been | |
11145 | written C<qr/[[:alpha:]]/>. | |
11146 | 6221 | |
11147 | 6222 | =end original |
11148 | 6223 | |
11149 | ( | |
6224 | (F) 文字クラス [: :] 文法の中のクラスは不明です。 | |
11150 | 考えましたが、大かっこが足りませんでした。 | |
11151 | 例えば C<qr/[012[:alpha:]345]/> のように、POSIX クラス構造 | |
11152 | [: :], [= =], [. .] が文字クラスの I<内側> にあり、[] は構文の一部です。 | |
11153 | コンパイルされた正規表現パターンはおそらくあなたが意図したものでは | |
11154 | ないでしょう。 | |
11155 | 例えば、C<qr/[:alpha:]/> は、C<":">, C<"a">, C<"l">, C<"h">, C<"p"> の | |
11156 | 四つの文字からなる 正規表現大かっこ文字クラスにコンパイルされます。 | |
11157 | POSIX クラスを指定するには、C<qr/[[:alpha:]]/> と書く必要があります。 | |
11158 | ||
11159 | =begin original | |
11160 | ||
11161 | Note that [= =] and [. .] are not currently | |
11162 | implemented; they are simply placeholders for future extensions and | |
11163 | will cause fatal errors. The S<<-- HERE> shows whereabouts in the regular | |
11164 | expression the problem was discovered. See L<perlre>. | |
11165 | ||
11166 | =end original | |
11167 | ||
11168 | [= =] と [. .] は現在のところ実装されていないことに注意してください; | |
11169 | これらは単に将来の拡張のためのプレースホルダであり、致命的エラーを | |
11170 | 生成します。 | |
11171 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
11172 | 6225 | L<perlre> を参照してください。 |
11173 | 6226 | |
11174 | = | |
6227 | =item POSIX getpgrp can't take an argument | |
11175 | 6228 | |
11176 | If the specification of the class was not completely valid, the message | |
11177 | indicates that. | |
11178 | ||
11179 | =end original | |
11180 | ||
11181 | このクラスの仕様が完全に正当出ない場合、このメッセージはそれを示しています。 | |
11182 | ||
11183 | =item POSIX syntax [. .] is reserved for future extensions in regex; marked by | |
11184 | S<<-- HERE> in m/%s/ | |
11185 | ||
11186 | 6229 | =begin original |
11187 | 6230 | |
11188 | (F) | |
6231 | (F) Your system has POSIX getpgrp(), which takes no argument, unlike | |
11189 | ||
6232 | the BSD version, which takes a pid. | |
11190 | need to represent those character sequences inside a regular expression | |
11191 | character class, just quote the square brackets with the backslash: "\[." | |
11192 | and ".\]". The S<<-- HERE> shows whereabouts in the regular expression the | |
11193 | problem was discovered. See L<perlre>. | |
11194 | 6233 | |
11195 | 6234 | =end original |
11196 | 6235 | |
11197 | (F) | |
6236 | (F) お使いのシステムは、引数に pid をとる BSD バージョンの | |
11198 | ||
6237 | getpgrp() と違って、引数をとらない POSIX のものを使っています。 | |
11199 | 正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある | |
11200 | 場合には、"\[." と ".\]" のように、大かっこをバックスラッシュで | |
11201 | クォートしてください。 | |
11202 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
11203 | L<perlre> を参照してください。 | |
11204 | 6238 | |
11205 | =item POSIX syntax [= =] is reserved for future extensions in regex; marked by | |
11206 | S<<-- HERE> in m/%s/ | |
11207 | ||
11208 | =begin original | |
11209 | ||
11210 | (F) Within regular expression character classes ([]) the syntax beginning | |
11211 | with "[=" and ending with "=]" is reserved for future extensions. If you | |
11212 | need to represent those character sequences inside a regular expression | |
11213 | character class, just quote the square brackets with the backslash: "\[=" | |
11214 | and "=\]". The S<<-- HERE> shows whereabouts in the regular expression the | |
11215 | problem was discovered. See L<perlre>. | |
11216 | ||
11217 | =end original | |
11218 | ||
11219 | (F) 正規表現文字クラス ([]) の中では、"[=" で始まる文法と "=]" で | |
11220 | 終わる文法は将来の拡張のために予約されます。 | |
11221 | 正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある | |
11222 | 場合には、"\[=" と "=\]" のように、大かっこをバックスラッシュで | |
11223 | クォートしてください。 | |
11224 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
11225 | L<perlre> を参照してください。 | |
11226 | ||
11227 | 6239 | =item Possible attempt to put comments in qw() list |
11228 | 6240 | |
11229 | 6241 | =begin original |
11230 | 6242 | |
11231 | 6243 | (W qw) qw() lists contain items separated by whitespace; as with literal |
11232 | 6244 | strings, comment characters are not ignored, but are instead treated as |
11233 | 6245 | literal data. (You may have used different delimiters than the |
11234 | 6246 | parentheses shown here; braces are also frequently used.) |
11235 | 6247 | |
11236 | 6248 | =end original |
11237 | 6249 | |
11238 | 6250 | (W qw) qw() リストは空白で分割されたアイテムを含んでいます; |
11239 | 6251 | リテラル文字列では、コメント文字無視されず、リテラルデータとして扱われます。 |
11240 | (こ | |
6252 | (かっこ以外のデリミタを使うこともできます; 中かっこもよく使われます。) | |
11241 | 大かっこもよく使われます。) | |
11242 | 6253 | |
11243 | 6254 | =begin original |
11244 | 6255 | |
11245 | 6256 | You probably wrote something like this: |
11246 | 6257 | |
11247 | 6258 | =end original |
11248 | 6259 | |
11249 | 6260 | おそらく以下のように書いたのでしょう: |
11250 | 6261 | |
11251 | 6262 | @list = qw( |
11252 | 6263 | a # a comment |
11253 | 6264 | b # another comment |
11254 | 6265 | ); |
11255 | 6266 | |
11256 | 6267 | =begin original |
11257 | 6268 | |
11258 | 6269 | when you should have written this: |
11259 | 6270 | |
11260 | 6271 | =end original |
11261 | 6272 | |
11262 | 6273 | 以下のように書くべきです: |
11263 | 6274 | |
11264 | 6275 | @list = qw( |
11265 | 6276 | a |
11266 | 6277 | b |
11267 | 6278 | ); |
11268 | 6279 | |
11269 | 6280 | =begin original |
11270 | 6281 | |
11271 | 6282 | If you really want comments, build your list the |
11272 | 6283 | old-fashioned way, with quotes and commas: |
11273 | 6284 | |
11274 | 6285 | =end original |
11275 | 6286 | |
11276 | 6287 | 本当にコメントをつけたいのなら、 |
11277 | 6288 | リストを昔のクォートとカンマの形で書いてください。 |
11278 | 6289 | |
11279 | 6290 | @list = ( |
11280 | 6291 | 'a', # a comment |
11281 | 6292 | 'b', # another comment |
11282 | 6293 | ); |
11283 | 6294 | |
11284 | 6295 | =item Possible attempt to separate words with commas |
11285 | 6296 | |
11286 | 6297 | =begin original |
11287 | 6298 | |
11288 | 6299 | (W qw) qw() lists contain items separated by whitespace; therefore |
11289 | 6300 | commas aren't needed to separate the items. (You may have used |
11290 | 6301 | different delimiters than the parentheses shown here; braces are also |
11291 | 6302 | frequently used.) |
11292 | 6303 | |
11293 | 6304 | =end original |
11294 | 6305 | |
11295 | 6306 | (W qw) qw() リストに空白で分割された項目があります; |
11296 | 6307 | そのため、カンマは項目を分割する必要がありません。 |
11297 | 6308 | (ここで使われているのと違うデリミタを用いているかもしれません; |
11298 | 大 | |
6309 | 大括弧もよく使われます。) | |
11299 | 6310 | |
11300 | 6311 | =begin original |
11301 | 6312 | |
11302 | 6313 | You probably wrote something like this: |
11303 | 6314 | |
11304 | 6315 | =end original |
11305 | 6316 | |
11306 | 6317 | おそらく以下のように書いたのでしょう: |
11307 | 6318 | |
11308 | 6319 | qw! a, b, c !; |
11309 | 6320 | |
11310 | 6321 | =begin original |
11311 | 6322 | |
11312 | 6323 | which puts literal commas into some of the list items. Write it without |
11313 | 6324 | commas if you don't want them to appear in your data: |
11314 | 6325 | |
11315 | 6326 | =end original |
11316 | 6327 | |
11317 | 6328 | リスト要素の中にリテラルのカンマを書いています。 |
11318 | 6329 | データの中にカンマを出したくないなら、カンマなしで書きます: |
11319 | 6330 | |
11320 | 6331 | qw! a b c !; |
11321 | 6332 | |
11322 | 6333 | =item Possible memory corruption: %s overflowed 3rd argument |
11323 | 6334 | |
11324 | 6335 | =begin original |
11325 | 6336 | |
11326 | 6337 | (F) An ioctl() or fcntl() returned more than Perl was bargaining for. |
11327 | 6338 | Perl guesses a reasonable buffer size, but puts a sentinel byte at the |
11328 | 6339 | end of the buffer just in case. This sentinel byte got clobbered, and |
11329 | 6340 | Perl assumes that memory is now corrupted. See L<perlfunc/ioctl>. |
11330 | 6341 | |
11331 | 6342 | =end original |
11332 | 6343 | |
11333 | 6344 | (F) ioctl() や fcntl() が、Perl が求めていた以上のものを返してきました。 |
11334 | 6345 | Perl は、適量のバッファサイズを見積もりますが、念のためにバッファの |
11335 | 6346 | 最後に目印を付けています。 |
11336 | 6347 | この目印が壊されたため、Perl はメモリの破壊が起こったと判断しました。 |
11337 | 6348 | L<perlfunc/ioctl> を参照してください。 |
11338 | 6349 | |
11339 | =item Possible | |
6350 | =item Possible Y2K bug: %s | |
11340 | 6351 | |
11341 | 6352 | =begin original |
11342 | 6353 | |
11343 | (W | |
6354 | (W y2k) You are concatenating the number 19 with another number, which | |
11344 | ||
6355 | could be a potential Year 2000 problem. | |
11345 | C<or>. Consider: | |
11346 | 6356 | |
11347 | 6357 | =end original |
11348 | 6358 | |
11349 | (W | |
6359 | (W y2k) 数値 19 を他の数値と結合しています; これは潜在的な | |
11350 | ||
6360 | 2000 年問題かもしれません。 | |
11351 | 次を考えると: | |
11352 | 6361 | |
11353 | | |
6362 | =item pragma "attrs" is deprecated, use "sub NAME : ATTRS" instead | |
11354 | 6363 | |
11355 | 6364 | =begin original |
11356 | 6365 | |
11357 | ||
6366 | (W deprecated) You have written something like this: | |
11358 | 6367 | |
11359 | 6368 | =end original |
11360 | 6369 | |
11361 | ||
6370 | (W deprecated) おそらく以下のように書いたのでしょう: | |
11362 | 6371 | |
11363 | sub | |
6372 | sub doit | |
6373 | { | |
6374 | use attrs qw(locked); | |
6375 | } | |
11364 | 6376 | |
11365 | 6377 | =begin original |
11366 | 6378 | |
11367 | ||
6379 | You should use the new declaration syntax instead. | |
11368 | 6380 | |
11369 | 6381 | =end original |
11370 | 6382 | |
11371 | ||
6383 | 代わりに新しい定義の文法で書くべきです: | |
11372 | 6384 | |
11373 | sub | |
6385 | sub doit : locked | |
6386 | { | |
6387 | ... | |
11374 | 6388 | |
11375 | 6389 | =begin original |
11376 | 6390 | |
11377 | ||
6391 | The C<use attrs> pragma is now obsolete, and is only provided for | |
6392 | backward-compatibility. See L<perlsub/"Subroutine Attributes">. | |
11378 | 6393 | |
11379 | 6394 | =end original |
11380 | 6395 | |
11381 | ||
6396 | C<use attrs> プラグマはもう古いもので、後方互換性のためだけに | |
6397 | 提供されています。 | |
6398 | L<perlsub/"Subroutine Attributes"> を参照してください。 | |
11382 | 6399 | |
11383 | =begin original | |
11384 | ||
11385 | Note this may be also triggered for constructs like: | |
11386 | ||
11387 | =end original | |
11388 | ||
11389 | これは次のような構文でも引き起こされることに注意してください: | |
11390 | ||
11391 | sub { 1 if die; } | |
11392 | ||
11393 | =item Possible precedence problem on bitwise %s operator | |
11394 | ||
11395 | =begin original | |
11396 | ||
11397 | (W precedence) Your program uses a bitwise logical operator in conjunction | |
11398 | with a numeric comparison operator, like this : | |
11399 | ||
11400 | =end original | |
11401 | ||
11402 | (W precedence) 以下のように、ビット単位の論理演算子を数値比較演算子と | |
11403 | 結合して使用しています: | |
11404 | ||
11405 | if ($x & $y == 0) { ... } | |
11406 | ||
11407 | =begin original | |
11408 | ||
11409 | This expression is actually equivalent to C<$x & ($y == 0)>, due to the | |
11410 | higher precedence of C<==>. This is probably not what you want. (If you | |
11411 | really meant to write this, disable the warning, or, better, put the | |
11412 | parentheses explicitly and write C<$x & ($y == 0)>). | |
11413 | ||
11414 | =end original | |
11415 | ||
11416 | この式は、C<==> の優先順位の方が高いので、C<$x & ($y == 0)> と | |
11417 | 等価になります。 | |
11418 | これはおそらく望んでいるものではないでしょう。 | |
11419 | (もし本当にこのように書きたいのなら、警告を無効にするか、あるいは | |
11420 | よりよいのはかっこを明示的に使って C<$x & ($y == 0)> と書きます)。 | |
11421 | ||
11422 | =item Possible unintended interpolation of $\ in regex | |
11423 | ||
11424 | =begin original | |
11425 | ||
11426 | (W ambiguous) You said something like C<m/$\/> in a regex. | |
11427 | The regex C<m/foo$\s+bar/m> translates to: match the word 'foo', the output | |
11428 | record separator (see L<perlvar/$\>) and the letter 's' (one time or more) | |
11429 | followed by the word 'bar'. | |
11430 | ||
11431 | =end original | |
11432 | ||
11433 | (W ambiguous) 正規表現で C<m/$\/> のようなことをしました。 | |
11434 | 正規表現 C<m/foo$\s+bar/m> は以下のように翻訳されます: 単語 'foo'、出力 | |
11435 | レコードセパレータ (L<perlvar/$\> 参照)、文字 's' (1 回以上)、単語 | |
11436 | 'bar' にマッチングします。 | |
11437 | ||
11438 | =begin original | |
11439 | ||
11440 | If this is what you intended then you can silence the warning by using | |
11441 | C<m/${\}/> (for example: C<m/foo${\}s+bar/>). | |
11442 | ||
11443 | =end original | |
11444 | ||
11445 | これがあなたのしたいことなら、C<m/${\}/> を使うことで警告を抑制できます | |
11446 | (例えば: C<m/foo${\}s+bar/>)。 | |
11447 | ||
11448 | =begin original | |
11449 | ||
11450 | If instead you intended to match the word 'foo' at the end of the line | |
11451 | followed by whitespace and the word 'bar' on the next line then you can use | |
11452 | C<m/$(?)\/> (for example: C<m/foo$(?)\s+bar/>). | |
11453 | ||
11454 | =end original | |
11455 | ||
11456 | そうではなく、行末の単語 'foo' に引き続いて、次の行で空白と単語 'bar' に | |
11457 | マッチングしたいなら、C<m/$(?)\/> を使ってください (例えば: | |
11458 | C<m/foo$(?)\s+bar/>)。 | |
11459 | ||
11460 | =item Possible unintended interpolation of %s in string | |
11461 | ||
11462 | =begin original | |
11463 | ||
11464 | (W ambiguous) You said something like '@foo' in a double-quoted string | |
11465 | but there was no array C<@foo> in scope at the time. If you wanted a | |
11466 | literal @foo, then write it as \@foo; otherwise find out what happened | |
11467 | to the array you apparently lost track of. | |
11468 | ||
11469 | =end original | |
11470 | ||
11471 | (W ambiguous) 「@foo」のようなものをダブルクォート文字列の中に書きましたが、 | |
11472 | 現在のスコープ内に C<@foo> という配列はありません。 | |
11473 | リテラルな @foo を指定したい場合は、\@foo と書いてください; | |
11474 | そうでなければ、どうやら見失ってしまったらしい配列に何が起こったを | |
11475 | 調べてください。 | |
11476 | ||
11477 | 6400 | =item Precedence problem: open %s should be open(%s) |
11478 | 6401 | |
11479 | 6402 | =begin original |
11480 | 6403 | |
11481 | 6404 | (S precedence) The old irregular construct |
11482 | 6405 | |
11483 | 6406 | =end original |
11484 | 6407 | |
11485 | 6408 | (S precedence) 古い変則的な構文 |
11486 | 6409 | |
11487 | 6410 | open FOO || die; |
11488 | 6411 | |
11489 | 6412 | =begin original |
11490 | 6413 | |
11491 | 6414 | is now misinterpreted as |
11492 | 6415 | |
11493 | 6416 | =end original |
11494 | 6417 | |
11495 | 6418 | は現在は、Perl 5 の文法の厳しい正規化の結果、単項演算子か |
11496 | 6419 | リスト演算子と解釈されますので、 |
11497 | 6420 | |
11498 | 6421 | open(FOO || die); |
11499 | 6422 | |
11500 | 6423 | =begin original |
11501 | 6424 | |
11502 | 6425 | because of the strict regularization of Perl 5's grammar into unary and |
11503 | 6426 | list operators. (The old open was a little of both.) You must put |
11504 | 6427 | parentheses around the filehandle, or use the new "or" operator instead |
11505 | 6428 | of "||". |
11506 | 6429 | |
11507 | 6430 | =end original |
11508 | 6431 | |
11509 | 6432 | という風に誤った解釈がなされます。 |
11510 | 6433 | (古い open は、単項演算子とリスト演算子の中間のようなものでした。) |
11511 | ファイルハンドルの前後を | |
6434 | ファイルハンドルの前後を括弧で囲むか、"||" 演算子の代わりに | |
11512 | 6435 | "or" 演算子を使わなくてはなりません。 |
11513 | 6436 | |
11514 | 6437 | =item Premature end of script headers |
11515 | 6438 | |
11516 | 6439 | =begin original |
11517 | 6440 | |
11518 | 6441 | See Server error. |
11519 | 6442 | |
11520 | 6443 | =end original |
11521 | 6444 | |
11522 | "Server error" | |
6445 | "Server error"を参照してください。 | |
11523 | 6446 | |
11524 | 6447 | =item printf() on closed filehandle %s |
11525 | 6448 | |
11526 | 6449 | =begin original |
11527 | 6450 | |
11528 | 6451 | (W closed) The filehandle you're writing to got itself closed sometime |
11529 | before now. Check your | |
6452 | before now. Check your logic flow. | |
11530 | 6453 | |
11531 | 6454 | =end original |
11532 | 6455 | |
11533 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既に | |
6456 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既にクローズされています。 | |
11534 | ||
6457 | 論理フローをチェックしてください。 | |
11535 | 6458 | |
11536 | 6459 | =item print() on closed filehandle %s |
11537 | 6460 | |
11538 | 6461 | =begin original |
11539 | 6462 | |
11540 | 6463 | (W closed) The filehandle you're printing on got itself closed sometime |
11541 | before now. Check your | |
6464 | before now. Check your logic flow. | |
11542 | 6465 | |
11543 | 6466 | =end original |
11544 | 6467 | |
11545 | (W closed) print を行なおうとしたファイルハンドルは、既に | |
6468 | (W closed) print を行なおうとしたファイルハンドルは、既にクローズされています。 | |
11546 | ||
6469 | 論理フローをチェックしてください。 | |
11547 | 6470 | |
11548 | 6471 | =item Process terminated by SIG%s |
11549 | 6472 | |
11550 | 6473 | =begin original |
11551 | 6474 | |
11552 | 6475 | (W) This is a standard message issued by OS/2 applications, while *nix |
11553 | 6476 | applications die in silence. It is considered a feature of the OS/2 |
11554 | 6477 | port. One can easily disable this by appropriate sighandlers, see |
11555 | 6478 | L<perlipc/"Signals">. See also "Process terminated by SIGTERM/SIGINT" |
11556 | 6479 | in L<perlos2>. |
11557 | 6480 | |
11558 | 6481 | =end original |
11559 | 6482 | |
11560 | 6483 | (W) *nix アプリケーションは何も出力せずに終了しますが、 |
11561 | 6484 | OS/2 アプリケーションはこれを標準メッセージとして出力します。 |
11562 | 6485 | これは OS/2 版の仕様とみなされています。 |
11563 | 6486 | 適切なシグナルハンドラによって簡単に無効にできます; |
11564 | 6487 | L<perlipc/"Signals"> を参照してください。 |
11565 | 6488 | L<perlos2> の "Process terminated by SIGTERM/SIGINT" も参照してください。 |
11566 | 6489 | |
11567 | =item Prototype after '%c' for %s : %s | |
11568 | ||
11569 | =begin original | |
11570 | ||
11571 | (W illegalproto) A character follows % or @ in a prototype. This is | |
11572 | useless, since % and @ gobble the rest of the subroutine arguments. | |
11573 | ||
11574 | =end original | |
11575 | ||
11576 | (W illegalproto) プロトタイプで % または @ に文字が引き続いています。 | |
11577 | これは無意味です; % と @ は残りのサブルーチン引数を全て飲み込むからです。 | |
11578 | ||
11579 | 6490 | =item Prototype mismatch: %s vs %s |
11580 | 6491 | |
11581 | 6492 | =begin original |
11582 | 6493 | |
11583 | (S | |
6494 | (S unsafe) The subroutine being declared or defined had previously been | |
11584 | 6495 | declared or defined with a different function prototype. |
11585 | 6496 | |
11586 | 6497 | =end original |
11587 | 6498 | |
11588 | (S | |
6499 | (S unsafe) 以前異なる関数プロトタイプで宣言または定義されたサブルーチンが | |
11589 | ||
6500 | 宣言または定義されました。 | |
11590 | 6501 | |
11591 | =item | |
6502 | =item Quantifier in {,} bigger than %d before << HERE in regex m/%s/ | |
11592 | 6503 | |
11593 | 6504 | =begin original |
11594 | 6505 | |
11595 | (F) | |
6506 | (F) There is currently a limit to the size of the min and max values of the | |
11596 | ||
6507 | {min,max} construct. The << HERE shows in the regular expression about where | |
6508 | the problem was discovered. See L<perlre>. | |
11597 | 6509 | |
11598 | 6510 | =end original |
11599 | 6511 | |
11600 | (F) 関数プロトタイプ宣言で、閉じかっこがありませんでした。 | |
11601 | ||
11602 | =item Prototype '%s' overridden by attribute 'prototype(%s)' in %s | |
11603 | ||
11604 | =begin original | |
11605 | ||
11606 | (W prototype) A prototype was declared in both the parentheses after | |
11607 | the sub name and via the prototype attribute. The prototype in | |
11608 | parentheses is useless, since it will be replaced by the prototype | |
11609 | from the attribute before it's ever used. | |
11610 | ||
11611 | =end original | |
11612 | ||
11613 | (W prototype) サブルーチン名の後のかっことプロトタイプ属性の両方で | |
11614 | プロトタイプが宣言されました。 | |
11615 | 先に宣言されていたプロトタイプは属性で置き換えられるので、かっこ内の | |
11616 | プロトタイプは無駄です。 | |
11617 | ||
11618 | =item Quantifier follows nothing in regex; marked by S<<-- HERE> in m/%s/ | |
11619 | ||
11620 | =begin original | |
11621 | ||
11622 | (F) You started a regular expression with a quantifier. Backslash it if | |
11623 | you meant it literally. The S<<-- HERE> shows whereabouts in the regular | |
11624 | expression the problem was discovered. See L<perlre>. | |
11625 | ||
11626 | =end original | |
11627 | ||
11628 | (F) 正規表現を量指定子で開始しています。 | |
11629 | もしそれをリテラルに使いたいなら、バックスラッシュでクォートしてください。 | |
11630 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
11631 | L<perlre> を参照してください。 | |
11632 | ||
11633 | =item Quantifier in {,} bigger than %d in regex; marked by S<<-- HERE> in m/%s/ | |
11634 | ||
11635 | =begin original | |
11636 | ||
11637 | (F) There is currently a limit to the size of the min and max values of | |
11638 | the {min,max} construct. The S<<-- HERE> shows whereabouts in the regular | |
11639 | expression the problem was discovered. See L<perlre>. | |
11640 | ||
11641 | =end original | |
11642 | ||
11643 | 6512 | 現在のところ、{min,max} 構造の最大値と最小値には制限があります。 |
11644 | ||
6513 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
11645 | 6514 | L<perlre> を参照してください。 |
11646 | 6515 | |
11647 | =item Quantifier | |
6516 | =item Quantifier unexpected on zero-length expression before << HERE %s | |
11648 | 6517 | |
11649 | =item Quantifier {n,m} with n > m can't match in regex; marked by | |
11650 | S<<-- HERE> in m/%s/ | |
11651 | ||
11652 | 6518 | =begin original |
11653 | 6519 | |
11654 | (W regexp) Minima should be less than or equal to maxima. If you really | |
11655 | want your regexp to match something 0 times, just put {0}. | |
11656 | ||
11657 | =end original | |
11658 | ||
11659 | (W regexp) 最小値は最大値以下である必要があります。 | |
11660 | 本当に 0 回マッチングする正規表現がほしいなら、単に {0} を指定してください。 | |
11661 | ||
11662 | =item Quantifier unexpected on zero-length expression in regex m/%s/ | |
11663 | ||
11664 | =begin original | |
11665 | ||
11666 | 6520 | (W regexp) You applied a regular expression quantifier in a place where |
11667 | 6521 | it makes no sense, such as on a zero-width assertion. Try putting the |
11668 | 6522 | quantifier inside the assertion instead. For example, the way to match |
11669 | 6523 | "abc" provided that it is followed by three repetitions of "xyz" is |
11670 | 6524 | C</abc(?=(?:xyz){3})/>, not C</abc(?=xyz){3}/>. |
11671 | 6525 | |
11672 | 6526 | =end original |
11673 | 6527 | |
11674 | 6528 | (W regexp) 正規表現量指定子をゼロ幅アサーションのような意味のない場所に |
11675 | 6529 | 適用しました。 |
11676 | 6530 | 代わりにアサーションの中に量指定子を置いてください。 |
11677 | 6531 | 例えば、"xyz" を 3 回繰り返した後の "abc" にマッチングさせるには、 |
11678 | 6532 | C</abc(?=xyz){3}/> ではなく C</abc(?=(?:xyz){3})/> としてください。 |
11679 | 6533 | |
11680 | 6534 | =item Range iterator outside integer range |
11681 | 6535 | |
11682 | 6536 | =begin original |
11683 | 6537 | |
11684 | 6538 | (F) One (or both) of the numeric arguments to the range operator ".." |
11685 | 6539 | are outside the range which can be represented by integers internally. |
11686 | 6540 | One possible workaround is to force Perl to use magical string increment |
11687 | 6541 | by prepending "0" to your numbers. |
11688 | 6542 | |
11689 | 6543 | =end original |
11690 | 6544 | |
11691 | 6545 | (F) 範囲演算子 ".." の一つ(または両方)の数値引数が、内部で整数として |
11692 | 6546 | 表現できる範囲を越えています。 |
11693 | 6547 | 回避方法のひとつとしては、数値の頭に "0" を付けることで Perl に |
11694 | 6548 | マジカル文字列インクリメントの使用を強制させることです。 |
11695 | 6549 | |
11696 | =item Ranges of ASCII printables should be some subset of "0-9", "A-Z", or | |
11697 | "a-z" in regex; marked by S<<-- HERE> in m/%s/ | |
11698 | ||
11699 | =begin original | |
11700 | ||
11701 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
11702 | ||
11703 | =end original | |
11704 | ||
11705 | (W regexp) (C<S<use re 'strict'>> の基か C<(?[...])> の内側のみ) | |
11706 | ||
11707 | =begin original | |
11708 | ||
11709 | Stricter rules help to find typos and other errors. Perhaps you didn't | |
11710 | even intend a range here, if the C<"-"> was meant to be some other | |
11711 | character, or should have been escaped (like C<"\-">). If you did | |
11712 | intend a range, the one that was used is not portable between ASCII and | |
11713 | EBCDIC platforms, and doesn't have an obvious meaning to a casual | |
11714 | reader. | |
11715 | ||
11716 | =end original | |
11717 | ||
11718 | より厳密な規則はタイプミスやその他のエラーを見つける助けになります。 | |
11719 | おそらくそもそもここで範囲を意図していないか、C<"-"> が他の文字の | |
11720 | つもりだったか、(C<"\-"> のように)エスケープされるべきだったのでしょう。 | |
11721 | 範囲を意図していたのなら、使われているものは ASCII と EBCDIC | |
11722 | プラットフォームの間で移植性がなく、カジュアルな読者には不明確な | |
11723 | 意味になります。 | |
11724 | ||
11725 | [3-7] # OK; Obvious and portable | |
11726 | [d-g] # OK; Obvious and portable | |
11727 | [A-Y] # OK; Obvious and portable | |
11728 | [A-z] # WRONG; Not portable; not clear what is meant | |
11729 | [a-Z] # WRONG; Not portable; not clear what is meant | |
11730 | [%-.] # WRONG; Not portable; not clear what is meant | |
11731 | [\x41-Z] # WRONG; Not portable; not obvious to non-geek | |
11732 | ||
11733 | =begin original | |
11734 | ||
11735 | (You can force portability by specifying a Unicode range, which means that | |
11736 | the endpoints are specified by | |
11737 | L<C<\N{...}>|perlrecharclass/Character Ranges>, but the meaning may | |
11738 | still not be obvious.) | |
11739 | The stricter rules require that ranges that start or stop with an ASCII | |
11740 | character that is not a control have all their endpoints be the literal | |
11741 | character, and not some escape sequence (like C<"\x41">), and the ranges | |
11742 | must be all digits, or all uppercase letters, or all lowercase letters. | |
11743 | ||
11744 | =end original | |
11745 | ||
11746 | (Unicode の範囲を指定することで移植性を共生することができます; | |
11747 | これは端点を L<C<\N{...}>|perlrecharclass/Character Ranges> で | |
11748 | 指定するということですが、意味はやはり明確ではないかもしれません。) | |
11749 | より厳密な規則は、制御文字でなく、全てリテラルな文字で、 | |
11750 | (C<"\x41"> のような)一部のエスケープシーケンスでない | |
11751 | ASCII 文字で開始および終了することを要求し、 | |
11752 | 範囲は全て数字か、全て大文字か、全て小文字でなければなりません。 | |
11753 | ||
11754 | =item Ranges of digits should be from the same group in regex; marked by | |
11755 | S<<-- HERE> in m/%s/ | |
11756 | ||
11757 | =begin original | |
11758 | ||
11759 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
11760 | ||
11761 | =end original | |
11762 | ||
11763 | (W regexp) (C<S<use re 'strict'>> の基か C<(?[...])> の内側のみ) | |
11764 | ||
11765 | =begin original | |
11766 | ||
11767 | Stricter rules help to find typos and other errors. You included a | |
11768 | range, and at least one of the end points is a decimal digit. Under the | |
11769 | stricter rules, when this happens, both end points should be digits in | |
11770 | the same group of 10 consecutive digits. | |
11771 | ||
11772 | =end original | |
11773 | ||
11774 | より厳密な規則はタイプミスやその他のエラーを見つける助けになります。 | |
11775 | 範囲を含んでいて、少なくとも片方の端は数字です。 | |
11776 | より厳密な規則では、これが起きたときは、両端が 10 連続した数字の同じ | |
11777 | グループに属する符号位置である必要があります。 | |
11778 | ||
11779 | =item readdir() attempted on invalid dirhandle %s | |
11780 | ||
11781 | =begin original | |
11782 | ||
11783 | (W io) The dirhandle you're reading from is either closed or not really | |
11784 | a dirhandle. Check your control flow. | |
11785 | ||
11786 | =end original | |
11787 | ||
11788 | (W io) 読み込もうとしたディレクトリハンドルは既に閉じられているか、 | |
11789 | 実際にはディレクトリハンドルではありません。 | |
11790 | 制御フローをチェックしてください。 | |
11791 | ||
11792 | 6550 | =item readline() on closed filehandle %s |
11793 | 6551 | |
11794 | 6552 | =begin original |
11795 | 6553 | |
11796 | 6554 | (W closed) The filehandle you're reading from got itself closed sometime |
11797 | before now. Check your | |
6555 | before now. Check your logic flow. | |
11798 | 6556 | |
11799 | 6557 | =end original |
11800 | 6558 | |
11801 | (W closed) 読み込 | |
6559 | (W closed) 読み込みを行なおうとしたファイルハンドルは、既にクローズされています。 | |
11802 | ||
6560 | 論理フローをチェックしてください。 | |
11803 | 6561 | |
11804 | =item | |
6562 | =item Reallocation too large: %lx | |
11805 | 6563 | |
11806 | 6564 | =begin original |
11807 | 6565 | |
11808 | (W closed) You tried to read from a closed filehandle. | |
11809 | ||
11810 | =end original | |
11811 | ||
11812 | (W closed) 閉じたファイルハンドルから読み込もうとしました。 | |
11813 | ||
11814 | =item read() on unopened filehandle %s | |
11815 | ||
11816 | =begin original | |
11817 | ||
11818 | (W unopened) You tried to read from a filehandle that was never opened. | |
11819 | ||
11820 | =end original | |
11821 | ||
11822 | (W unopened) 開いていないファイルハンドルから読み込もうとしました。 | |
11823 | ||
11824 | =item Reallocation too large: %x | |
11825 | ||
11826 | =begin original | |
11827 | ||
11828 | 6566 | (F) You can't allocate more than 64K on an MS-DOS machine. |
11829 | 6567 | |
11830 | 6568 | =end original |
11831 | 6569 | |
11832 | 6570 | (F) MS-DOS マシンでは、64K を越えるメモリを割り当てることはできません。 |
11833 | 6571 | |
11834 | 6572 | =item realloc() of freed memory ignored |
11835 | 6573 | |
11836 | 6574 | =begin original |
11837 | 6575 | |
11838 | 6576 | (S malloc) An internal routine called realloc() on something that had |
11839 | 6577 | already been freed. |
11840 | 6578 | |
11841 | 6579 | =end original |
11842 | 6580 | |
11843 | 6581 | 内部ルーチンが、何か既に解放されているものに対して realloc() を |
11844 | 6582 | 呼び出しました。 |
11845 | 6583 | |
11846 | 6584 | =item Recompile perl with B<-D>DEBUGGING to use B<-D> switch |
11847 | 6585 | |
11848 | 6586 | =begin original |
11849 | 6587 | |
11850 | ( | |
6588 | (F debugging) You can't use the B<-D> option unless the code to produce | |
11851 | 6589 | the desired output is compiled into Perl, which entails some overhead, |
11852 | 6590 | which is why it's currently left out of your copy. |
11853 | 6591 | |
11854 | 6592 | =end original |
11855 | 6593 | |
11856 | ( | |
6594 | (F debugging) Perl のコンパイル時に、適切な出力ルーティンが | |
11857 | 組み込まれていなければ、B<-D> スイッチを使うことはできません | |
6595 | 組み込まれていなければ、B<-D> スイッチを使うことはできません。 | |
11858 | 6596 | これは、多少のオーバヘッドがかかるもので、それが現在使っている |
11859 | 6597 | Perl に組み込んでない理由でしょう。 |
11860 | 6598 | |
11861 | =item Recursive call to Perl_load_module in PerlIO_find_layer | |
11862 | ||
11863 | =begin original | |
11864 | ||
11865 | (P) It is currently not permitted to load modules when creating | |
11866 | a filehandle inside an %INC hook. This can happen with C<open my | |
11867 | $fh, '<', \$scalar>, which implicitly loads PerlIO::scalar. Try | |
11868 | loading PerlIO::scalar explicitly first. | |
11869 | ||
11870 | =end original | |
11871 | ||
11872 | (P) %INC フックの内側でファイルハンドルを作る時にモジュールを読み込むのは | |
11873 | 現在のところ許されていません。 | |
11874 | これは、C<open my $fh, '<', \$scalar> で暗黙に PerlIO::scalar を読み込むときに | |
11875 | 起こることがあります。 | |
11876 | 最初に PerlIO::scalar を明示的に読み込むことを試してください。 | |
11877 | ||
11878 | 6599 | =item Recursive inheritance detected in package '%s' |
11879 | 6600 | |
11880 | 6601 | =begin original |
11881 | 6602 | |
11882 | (F) | |
6603 | (F) More than 100 levels of inheritance were used. Probably indicates | |
11883 | ||
6604 | an unintended loop in your inheritance hierarchy. | |
11884 | crude check that bails out after 100 levels of C<@ISA> depth. | |
11885 | 6605 | |
11886 | 6606 | =end original |
11887 | 6607 | |
11888 | (F) | |
6608 | (F) 100 レベル以上の継承が行なわれました。 | |
11889 | ||
6609 | おそらく、継承階層の中で、予想外のループになっている部分があるものと | |
11890 | ||
6610 | 思われます。 | |
11891 | 6611 | |
11892 | =item Re | |
6612 | =item Recursive inheritance detected while looking for method %s | |
11893 | 6613 | |
11894 | 6614 | =begin original |
11895 | 6615 | |
11896 | ( | |
6616 | (F) More than 100 levels of inheritance were encountered while invoking | |
11897 | a | |
6617 | a method. Probably indicates an unintended loop in your inheritance | |
11898 | ||
6618 | hierarchy. | |
11899 | supplied, but might be used in the future for e.g. L<perlfunc/pack>. | |
11900 | 6619 | |
11901 | 6620 | =end original |
11902 | 6621 | |
11903 | ( | |
6622 | (F) メソッドの起動中に 100 レベル以上の継承が行なわれました。 | |
11904 | ||
6623 | おそらく、継承階層の中で、予想外のループになっている部分があるものと | |
11905 | ||
6624 | 思われます。 | |
11906 | 引数しか必要としていない場合にのみ発生しますが、将来は | |
11907 | 例えば L<perlfunc/pack> で使われるかもしれません。 | |
11908 | 6625 | |
11909 | =item refcnt_dec: fd %d%s | |
11910 | ||
11911 | =item refcnt: fd %d%s | |
11912 | ||
11913 | =item refcnt_inc: fd %d%s | |
11914 | ||
11915 | =begin original | |
11916 | ||
11917 | (P) Perl's I/O implementation failed an internal consistency check. If | |
11918 | you see this message, something is very wrong. | |
11919 | ||
11920 | =end original | |
11921 | ||
11922 | (P) Perl の I/O 実装は内部の一貫性チェックに失敗しました。 | |
11923 | このメッセージを見たなら、何かがすごく悪いです。 | |
11924 | ||
11925 | 6626 | =item Reference found where even-sized list expected |
11926 | 6627 | |
11927 | 6628 | =begin original |
11928 | 6629 | |
11929 | 6630 | (W misc) You gave a single reference where Perl was expecting a list |
11930 | with an even number of elements (for assignment to a hash). | |
6631 | with an even number of elements (for assignment to a hash). This usually | |
11931 | ||
6632 | means that you used the anon hash constructor when you meant to use | |
11932 | ||
6633 | parens. In any case, a hash requires key/value B<pairs>. | |
11933 | 6634 | |
11934 | 6635 | =end original |
11935 | 6636 | |
11936 | 6637 | (W misc) Perl が(ハッシュへの代入のために)偶数の数の要素のリストを |
11937 | 想定しているところに | |
6638 | 想定しているところに 1 つのリファレンスを渡しました。 | |
11938 | 6639 | これは普通かっこを使うべきところで無名ハッシュコンストラクタを使ったことを |
11939 | 6640 | 意味します。 |
11940 | 6641 | とにかく、ハッシュはキー/値の B<組> を要求します。 |
11941 | 6642 | |
11942 | 6643 | %hash = { one => 1, two => 2, }; # WRONG |
11943 | 6644 | %hash = [ qw/ an anon array / ]; # WRONG |
11944 | 6645 | %hash = ( one => 1, two => 2, ); # right |
11945 | 6646 | %hash = qw( one 1 two 2 ); # also fine |
11946 | 6647 | |
11947 | 6648 | =item Reference is already weak |
11948 | 6649 | |
11949 | 6650 | =begin original |
11950 | 6651 | |
11951 | 6652 | (W misc) You have attempted to weaken a reference that is already weak. |
11952 | 6653 | Doing so has no effect. |
11953 | 6654 | |
11954 | 6655 | =end original |
11955 | 6656 | |
11956 | 6657 | (W misc) 既に弱いリファレンスを弱めようとしました。 |
11957 | 6658 | そうしても何の効果もありません。 |
11958 | 6659 | |
11959 | =item Reference | |
6660 | =item Reference miscount in sv_replace() | |
11960 | 6661 | |
11961 | 6662 | =begin original |
11962 | 6663 | |
11963 | ( | |
6664 | (W internal) The internal sv_replace() function was handed a new SV with | |
11964 | ||
6665 | a reference count of other than 1. | |
11965 | (normal backreferences) or with strictly negative integers (relative | |
11966 | backreferences). Using 0 does not make sense. | |
11967 | 6666 | |
11968 | 6667 | =end original |
11969 | 6668 | |
11970 | ( | |
6669 | (W internal) 内部の sv_replace() 関数が、参照数が 1 でない、新規の | |
11971 | ||
6670 | SV を扱いました。 | |
11972 | のみです。 | |
11973 | 0 は意味を成しません。 | |
11974 | 6671 | |
11975 | =item Reference to nonexistent group | |
6672 | =item Reference to nonexistent group before << HERE in regex m/%s/ | |
11976 | m/%s/ | |
11977 | 6673 | |
11978 | 6674 | =begin original |
11979 | 6675 | |
11980 | 6676 | (F) You used something like C<\7> in your regular expression, but there are |
11981 | not at least seven sets of capturing parentheses in the expression. | |
6677 | not at least seven sets of capturing parentheses in the expression. If you | |
11982 | ||
6678 | wanted to have the character with value 7 inserted into the regular expression, | |
11983 | ||
6679 | prepend a zero to make the number at least two digits: C<\07> | |
11984 | 6680 | |
11985 | 6681 | =end original |
11986 | 6682 | |
11987 | 6683 | 正規表現の中で C<\7> のような記述がありますが、 |
11988 | 正規表現の中に値を捕らえる | |
6684 | 正規表現の中に値を捕らえる括弧が 7 つありません。 | |
11989 | 6685 | 正規表現の中に値 7 を持つ文字を挿入したい場合、 |
11990 | ゼロをつけて最低 | |
6686 | ゼロをつけて最低二桁の数値にする必要があります: C<\07> | |
11991 | 6687 | |
11992 | 6688 | =begin original |
11993 | 6689 | |
11994 | The | |
6690 | The << HERE shows in the regular expression about where the problem was | |
11995 | 6691 | discovered. |
11996 | 6692 | |
11997 | 6693 | =end original |
11998 | 6694 | |
11999 | ||
6695 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
12000 | 6696 | |
12001 | =item Reference to nonexistent named group in regex; marked by S<<-- HERE> | |
12002 | in m/%s/ | |
12003 | ||
12004 | =begin original | |
12005 | ||
12006 | (F) You used something like C<\k'NAME'> or C<< \k<NAME> >> in your regular | |
12007 | expression, but there is no corresponding named capturing parentheses | |
12008 | such as C<(?'NAME'...)> or C<< (?<NAME>...) >>. Check if the name has been | |
12009 | spelled correctly both in the backreference and the declaration. | |
12010 | ||
12011 | =end original | |
12012 | ||
12013 | (F) 正規表現中に C<\k'NAME'> や C<< \k<NAME> >> のようなものを使いましたが、 | |
12014 | C<(?'NAME'...)> や C<< (?<NAME>...) >> のような、対応する名前付き捕捉かっこが | |
12015 | ありません。 | |
12016 | 前方参照と定義の両方において、名前のスペルが正しいかどうか | |
12017 | チェックしてください。 | |
12018 | ||
12019 | =begin original | |
12020 | ||
12021 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
12022 | discovered. | |
12023 | ||
12024 | =end original | |
12025 | ||
12026 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
12027 | ||
12028 | =item Reference to nonexistent or unclosed group in regex; marked by | |
12029 | S<<-- HERE> in m/%s/ | |
12030 | ||
12031 | =begin original | |
12032 | ||
12033 | (F) You used something like C<\g{-7}> in your regular expression, but there | |
12034 | are not at least seven sets of closed capturing parentheses in the | |
12035 | expression before where the C<\g{-7}> was located. | |
12036 | ||
12037 | =end original | |
12038 | ||
12039 | (F) 正規表現で C<\g{-7}> のようなものを使いましたが、式中で C<\g{-7}> の | |
12040 | 位置より前に少なくとも 7 組の捕捉用のかっこの組がありません。 | |
12041 | ||
12042 | =begin original | |
12043 | ||
12044 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
12045 | discovered. | |
12046 | ||
12047 | =end original | |
12048 | ||
12049 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
12050 | ||
12051 | 6697 | =item regexp memory corruption |
12052 | 6698 | |
12053 | 6699 | =begin original |
12054 | 6700 | |
12055 | 6701 | (P) The regular expression engine got confused by what the regular |
12056 | 6702 | expression compiler gave it. |
12057 | 6703 | |
12058 | 6704 | =end original |
12059 | 6705 | |
12060 | 6706 | (P) 正規表現コンパイラが渡したもので、正規表現エンジンが |
12061 | 6707 | 処理できなくなりました。 |
12062 | 6708 | |
12063 | =item Regexp | |
6709 | =item Regexp out of space | |
12064 | 6710 | |
12065 | =item Regexp modifier "%c" may appear a maximum of twice in regex; marked | |
12066 | by S<<-- HERE> in m/%s/ | |
12067 | ||
12068 | 6711 | =begin original |
12069 | 6712 | |
12070 | (F) The regular expression pattern had too many occurrences | |
12071 | of the specified modifier. Remove the extraneous ones. | |
12072 | ||
12073 | =end original | |
12074 | ||
12075 | (F) 正規表現パターンに指定された修飾子が多すぎます。 | |
12076 | 余分なものを削除してください。 | |
12077 | ||
12078 | =item Regexp modifier "%c" may not appear after the "-" in regex; marked by <-- | |
12079 | HERE in m/%s/ | |
12080 | ||
12081 | =begin original | |
12082 | ||
12083 | (F) Turning off the given modifier has the side effect of turning on | |
12084 | another one. Perl currently doesn't allow this. Reword the regular | |
12085 | expression to use the modifier you want to turn on (and place it before | |
12086 | the minus), instead of the one you want to turn off. | |
12087 | ||
12088 | =end original | |
12089 | ||
12090 | (F regexp) 指定された修飾子をオフにするのは他の修飾子をオンにするという | |
12091 | 副作用があります。 | |
12092 | Perl は現在のところこれを受け入れません。 | |
12093 | オフにしたいものではなく、オンにしたい修飾子を使う(そしてマイナスの | |
12094 | 前に置く)ように正規表現を書き直してください。 | |
12095 | ||
12096 | =item Regexp modifier "/%c" may not appear twice | |
12097 | ||
12098 | =item Regexp modifier "%c" may not appear twice in regex; marked by <-- | |
12099 | HERE in m/%s/ | |
12100 | ||
12101 | =begin original | |
12102 | ||
12103 | (F) The regular expression pattern had too many occurrences | |
12104 | of the specified modifier. Remove the extraneous ones. | |
12105 | ||
12106 | =end original | |
12107 | ||
12108 | (F) 正規表現パターンに指定された修飾子が多すぎます。 | |
12109 | 余分なものを削除してください。 | |
12110 | ||
12111 | =item Regexp modifiers "/%c" and "/%c" are mutually exclusive | |
12112 | ||
12113 | =item Regexp modifiers "%c" and "%c" are mutually exclusive in regex; | |
12114 | marked by S<<-- HERE> in m/%s/ | |
12115 | ||
12116 | =begin original | |
12117 | ||
12118 | (F) The regular expression pattern had more than one of these | |
12119 | mutually exclusive modifiers. Retain only the modifier that is | |
12120 | supposed to be there. | |
12121 | ||
12122 | =end original | |
12123 | ||
12124 | (F) 正規表現パターンに相互に排他的な修飾子が複数あります。 | |
12125 | ここで使うであろう修飾子のみを保持します。 | |
12126 | ||
12127 | =item Regexp out of space in regex m/%s/ | |
12128 | ||
12129 | =begin original | |
12130 | ||
12131 | 6713 | (P) A "can't happen" error, because safemalloc() should have caught it |
12132 | 6714 | earlier. |
12133 | 6715 | |
12134 | 6716 | =end original |
12135 | 6717 | |
12136 | (P) safemalloc() が見つけるはずなので、「起こるはずのない | |
6718 | (P) safemalloc() が見つけるはずなので、「起こるはずのないエラー」です。 | |
12137 | 6719 | |
12138 | =item Repeat | |
6720 | =item Repeat count in pack overflows | |
12139 | 6721 | |
12140 | 6722 | =begin original |
12141 | 6723 | |
12142 | (F) You | |
6724 | (F) You can't specify a repeat count so large that it overflows your | |
12143 | n | |
6725 | signed integers. See L<perlfunc/pack>. | |
12144 | terminates. You might use ^# instead. See L<perlform>. | |
12145 | 6726 | |
12146 | 6727 | =end original |
12147 | 6728 | |
12148 | (F) | |
6729 | (F) 繰り返し回数として符号付き整数をオーバーフローするような | |
12149 | ||
6730 | 値は指定できません。 | |
12150 | ||
6731 | L<perlfunc/pack> を参照してください。 | |
12151 | L<perlform> を参照してください。 | |
12152 | 6732 | |
12153 | =item Rep | |
6733 | =item Repeat count in unpack overflows | |
12154 | 6734 | |
12155 | 6735 | =begin original |
12156 | 6736 | |
12157 | ( | |
6737 | (F) You can't specify a repeat count so large that it overflows your | |
12158 | se | |
6738 | signed integers. See L<perlfunc/unpack>. | |
12159 | are meaningless. | |
12160 | 6739 | |
12161 | 6740 | =end original |
12162 | 6741 | |
12163 | ( | |
6742 | (F) 繰り返し回数として符号付き整数をオーバーフローするような | |
12164 | ||
6743 | 値は指定できません。 | |
6744 | L<perlfunc/unpack> を参照してください。 | |
12165 | 6745 | |
12166 | =item '%s' resolved to '\o{%s}%d' | |
12167 | ||
12168 | =begin original | |
12169 | ||
12170 | (W misc, regexp) You wrote something like C<\08>, or C<\179> in a | |
12171 | double-quotish string. All but the last digit is treated as a single | |
12172 | character, specified in octal. The last digit is the next character in | |
12173 | the string. To tell Perl that this is indeed what you want, you can use | |
12174 | the C<\o{ }> syntax, or use exactly three digits to specify the octal | |
12175 | for the character. | |
12176 | ||
12177 | =end original | |
12178 | ||
12179 | (W misc, regexp) ダブルクォート風の文字列の中で C<\08> や C<\179> のような | |
12180 | ものを書きました。 | |
12181 | 最後以外の数字は、8 進数で指定された単一の文字として扱われます。 | |
12182 | 最後の数字は文字列中の次の文字です。 | |
12183 | これがまさしく望んでいるものであることを Perl に伝えるには、 | |
12184 | C<\o{ }> 構文を使うか、文字を 8 進数で指定するために正確に 3 桁を | |
12185 | 使ってください。 | |
12186 | ||
12187 | 6746 | =item Reversed %s= operator |
12188 | 6747 | |
12189 | 6748 | =begin original |
12190 | 6749 | |
12191 | 6750 | (W syntax) You wrote your assignment operator backwards. The = must |
12192 | always come last, to avoid ambiguity with subsequent unary operators. | |
6751 | always comes last, to avoid ambiguity with subsequent unary operators. | |
12193 | 6752 | |
12194 | 6753 | =end original |
12195 | 6754 | |
12196 | 6755 | (W syntax) 代入演算子を逆順に書いています。 |
12197 | 6756 | 等号の後に単項演算子が続くときに、曖昧になるのを避けるため、 |
12198 | 6757 | 代入演算子では、等号 = が、最後にこないといけません。 |
12199 | 6758 | |
12200 | =item | |
6759 | =item Runaway format | |
12201 | 6760 | |
12202 | 6761 | =begin original |
12203 | 6762 | |
12204 | ( | |
6763 | (F) Your format contained the ~~ repeat-until-blank sequence, but it | |
12205 | ||
6764 | produced 200 lines at once, and the 200th line looked exactly like the | |
6765 | 199th line. Apparently you didn't arrange for the arguments to exhaust | |
6766 | themselves, either by using ^ instead of @ (for scalar variables), or by | |
6767 | shifting or popping (for array variables). See L<perlform>. | |
12206 | 6768 | |
12207 | 6769 | =end original |
12208 | 6770 | |
12209 | ( | |
6771 | (F) 定義したフォーマットに、空になるまで繰り返す ~~ が | |
12210 | ||
6772 | 含まれていましたが、一度に 200 行以上となり、199 行目と 200 行目が | |
12211 | ||
6773 | 全く同じになりました。 | |
6774 | (スカラ変数には) @ の代わりに ^ を用いるか、(配列変数には) shift か pop を | |
6775 | 行なうかして、引数が自動的になくなるようになっていないといけませんが、 | |
6776 | そうなっていないようです。 | |
6777 | L<perlform> を参照してください。 | |
12212 | 6778 | |
12213 | =item Scalars leaked: %d | |
12214 | ||
12215 | =begin original | |
12216 | ||
12217 | (S internal) Something went wrong in Perl's internal bookkeeping | |
12218 | of scalars: not all scalar variables were deallocated by the time | |
12219 | Perl exited. What this usually indicates is a memory leak, which | |
12220 | is of course bad, especially if the Perl program is intended to be | |
12221 | long-running. | |
12222 | ||
12223 | =end original | |
12224 | ||
12225 | (P) Perl 内部のスカラ管理で何かがおかしくなりました: | |
12226 | Perl 終了時に全てのスカラ変数が解放されませんでした。 | |
12227 | これは普通メモリリークを示していて、これはもちろん悪いことですが、 | |
12228 | Perl プログラムが長い間動作する場合には特にそうです。 | |
12229 | ||
12230 | 6779 | =item Scalar value @%s[%s] better written as $%s[%s] |
12231 | 6780 | |
12232 | 6781 | =begin original |
12233 | 6782 | |
12234 | 6783 | (W syntax) You've used an array slice (indicated by @) to select a |
12235 | 6784 | single element of an array. Generally it's better to ask for a scalar |
12236 | 6785 | value (indicated by $). The difference is that C<$foo[&bar]> always |
12237 | 6786 | behaves like a scalar, both when assigning to it and when evaluating its |
12238 | 6787 | argument, while C<@foo[&bar]> behaves like a list when you assign to it, |
12239 | 6788 | and provides a list context to its subscript, which can do weird things |
12240 | 6789 | if you're expecting only one subscript. |
12241 | 6790 | |
12242 | 6791 | =end original |
12243 | 6792 | |
12244 | 6793 | (W syntax) 配列の一つの要素を選ぶのに、(@ で示される) 配列 |
12245 | 6794 | スライスを用いました。 |
12246 | 6795 | 一般には、($ で示される) スカラ値を使った方が良いと思われます。 |
12247 | 6796 | 違いは、C<$foo[&bar]> とした場合、代入の対象としたときにも、 |
12248 | 6797 | 添字を評価するときにも、常にスカラとして振る舞うのに対し、 |
12249 | 6798 | C<@foo[&bar]> の場合には、代入の対象としてもリストとして振る舞い、 |
12250 | 添字にもリストコンテキストを与えることになります | |
6799 | 添字にもリストコンテキストを与えることになります。 | |
12251 | これは、 | |
6800 | これは、1 つの添字だけを期待するときには、おかしなこととなるでしょう。 | |
12252 | 6801 | |
12253 | 6802 | =begin original |
12254 | 6803 | |
12255 | 6804 | On the other hand, if you were actually hoping to treat the array |
12256 | 6805 | element as a list, you need to look into how references work, because |
12257 | 6806 | Perl will not magically convert between scalars and lists for you. See |
12258 | 6807 | L<perlref>. |
12259 | 6808 | |
12260 | 6809 | =end original |
12261 | 6810 | |
12262 | 6811 | 一方、もし本当に配列要素をリストとして扱いたい場合、リファレンスが |
12263 | 6812 | どのように働くかについて詳しく知る必要があります; なぜなら |
12264 | 6813 | Perl はスカラとリストを自動的に変換したりはしないからです。 |
12265 | 6814 | L<perlref> を参照してください。 |
12266 | 6815 | |
12267 | 6816 | =item Scalar value @%s{%s} better written as $%s{%s} |
12268 | 6817 | |
12269 | 6818 | =begin original |
12270 | 6819 | |
12271 | 6820 | (W syntax) You've used a hash slice (indicated by @) to select a single |
12272 | 6821 | element of a hash. Generally it's better to ask for a scalar value |
12273 | 6822 | (indicated by $). The difference is that C<$foo{&bar}> always behaves |
12274 | 6823 | like a scalar, both when assigning to it and when evaluating its |
12275 | 6824 | argument, while C<@foo{&bar}> behaves like a list when you assign to it, |
12276 | 6825 | and provides a list context to its subscript, which can do weird things |
12277 | 6826 | if you're expecting only one subscript. |
12278 | 6827 | |
12279 | 6828 | =end original |
12280 | 6829 | |
12281 | 6830 | (W syntax) ハッシュの一つの要素を選ぶのに、(@ で示される) ハッシュ |
12282 | 6831 | スライスを用いました。 |
12283 | 6832 | 一般には、($ で示される) スカラ値を使った方が良いと思われます。 |
12284 | 6833 | 違いは、C<$foo{&bar}> とした場合、代入の対象としたときにも、 |
12285 | 6834 | 添字を評価するときにも、常にスカラとして振る舞うのに対し、 |
12286 | 6835 | C<@foo{&bar}> の場合には、代入の対象としてもリストとして振る舞い、 |
12287 | 添字にもリストコンテキストを与えることになります | |
6836 | 添字にもリストコンテキストを与えることになります。 | |
12288 | これは、 | |
6837 | これは、1 つの添字だけを期待するときには、おかしなこととなるでしょう。 | |
12289 | 6838 | |
12290 | 6839 | =begin original |
12291 | 6840 | |
12292 | 6841 | On the other hand, if you were actually hoping to treat the hash element |
12293 | 6842 | as a list, you need to look into how references work, because Perl will |
12294 | 6843 | not magically convert between scalars and lists for you. See |
12295 | 6844 | L<perlref>. |
12296 | 6845 | |
12297 | 6846 | =end original |
12298 | 6847 | |
12299 | 6848 | 一方、もし本当にハッシュ要素をリストとして扱いたい場合、リファレンスが |
12300 | 6849 | どのように働くかについて詳しく知る必要があります; なぜなら |
12301 | 6850 | Perl はスカラとリストを自動的に変換したりはしないからです。 |
12302 | 6851 | L<perlref> を参照してください。 |
12303 | 6852 | |
12304 | =item S | |
6853 | =item Scalars leaked: %d | |
12305 | 6854 | |
12306 | 6855 | =begin original |
12307 | 6856 | |
12308 | ( | |
6857 | (P) Something went wrong in Perl's internal bookkeeping of scalars: | |
12309 | ||
6858 | not all scalar variables were deallocated by the time Perl exited. | |
12310 | ||
6859 | What this usually indicates is a memory leak, which is of course bad, | |
6860 | especially if the Perl program is intended to be long-running. | |
12311 | 6861 | |
12312 | 6862 | =end original |
12313 | 6863 | |
12314 | ( | |
6864 | (P) Perl 内部のスカラ管理で何かがおかしくなりました: | |
12315 | ||
6865 | Perl 終了時に全てのスカラ変数が解放されませんでした。 | |
12316 | ||
6866 | これは普通メモリリークを示していて、これはもちろん悪いことですが、 | |
6867 | Perl プログラムが長い間動作する場合には特にそうです。 | |
12317 | 6868 | |
6869 | =item Script is not setuid/setgid in suidperl | |
6870 | ||
12318 | 6871 | =begin original |
12319 | 6872 | |
12320 | ||
6873 | (F) Oddly, the suidperl program was invoked on a script without a setuid | |
12321 | ||
6874 | or setgid bit set. This doesn't make much sense. | |
12322 | in Perl 5.10.0 or later that uses the // as the I<defined-or> can be | |
12323 | misparsed by pre-5.10.0 Perls as a non-terminated search pattern. | |
12324 | 6875 | |
12325 | 6876 | =end original |
12326 | 6877 | |
12327 | ||
6878 | (F) 妙なことに、setuid ビット、もしくは setgid ビットが立っていない | |
12328 | ||
6879 | スクリプトに対して、suidperl プログラムが起動されました。 | |
12329 | ||
6880 | これは意味がありません。 | |
12330 | コードは、5.10.0 以前の Perl では、終端していない検索パターンとして | |
12331 | 誤パースされるかもしれません。 | |
12332 | 6881 | |
12333 | =item | |
6882 | =item Search pattern not terminated | |
12334 | 6883 | |
12335 | 6884 | =begin original |
12336 | 6885 | |
12337 | ( | |
6886 | (F) The lexer couldn't find the final delimiter of a // or m{} | |
12338 | re | |
6887 | construct. Remember that bracketing delimiters count nesting level. | |
6888 | Missing the leading C<$> from a variable C<$m> may cause this error. | |
12339 | 6889 | |
12340 | 6890 | =end original |
12341 | 6891 | |
12342 | ( | |
6892 | (F) // もしくは m{} 構文の最後の区切り文字が見つかりませんでした。 | |
12343 | ||
6893 | 括弧類の区切り文字では、ネストを数えることを忘れないでください。 | |
12344 | ||
6894 | C<$m> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 | |
12345 | 6895 | |
12346 | 6896 | =item %sseek() on unopened filehandle |
12347 | 6897 | |
12348 | 6898 | =begin original |
12349 | 6899 | |
12350 | 6900 | (W unopened) You tried to use the seek() or sysseek() function on a |
12351 | 6901 | filehandle that was either never opened or has since been closed. |
12352 | 6902 | |
12353 | 6903 | =end original |
12354 | 6904 | |
12355 | 6905 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
12356 | 6906 | ファイルハンドルに対して、seek() 関数や sysseek() 関数を使おうとしました。 |
12357 | 6907 | |
12358 | 6908 | =item select not implemented |
12359 | 6909 | |
12360 | 6910 | =begin original |
12361 | 6911 | |
12362 | 6912 | (F) This machine doesn't implement the select() system call. |
12363 | 6913 | |
12364 | 6914 | =end original |
12365 | 6915 | |
12366 | 6916 | (F) このマシンでは、select() システムコールは実装されていません。 |
12367 | 6917 | |
12368 | =item Self-ties of arrays and hashes are not supported | |
12369 | ||
12370 | =begin original | |
12371 | ||
12372 | (F) Self-ties are of arrays and hashes are not supported in | |
12373 | the current implementation. | |
12374 | ||
12375 | =end original | |
12376 | ||
12377 | (F) 配列やハッシュの自己 tie は現在の実装では対応していません。 | |
12378 | ||
12379 | 6918 | =item Semicolon seems to be missing |
12380 | 6919 | |
12381 | 6920 | =begin original |
12382 | 6921 | |
12383 | 6922 | (W semicolon) A nearby syntax error was probably caused by a missing |
12384 | 6923 | semicolon, or possibly some other missing operator, such as a comma. |
12385 | 6924 | |
12386 | 6925 | =end original |
12387 | 6926 | |
12388 | 6927 | (W semicolon) この付近の構文エラーは、おそらくセミコロンか、コンマなどの |
12389 | 6928 | 演算子がなかったために起こったものと考えられます。 |
12390 | 6929 | |
12391 | 6930 | =item semi-panic: attempt to dup freed string |
12392 | 6931 | |
12393 | 6932 | =begin original |
12394 | 6933 | |
12395 | 6934 | (S internal) The internal newSVsv() routine was called to duplicate a |
12396 | 6935 | scalar that had previously been marked as free. |
12397 | 6936 | |
12398 | 6937 | =end original |
12399 | 6938 | |
12400 | 6939 | (S internal) 既に解放と印を付けたスカラを複製するために、内部の |
12401 | 6940 | newSVsv() ルーティンが呼ばれました。 |
12402 | 6941 | |
12403 | 6942 | =item sem%s not implemented |
12404 | 6943 | |
12405 | 6944 | =begin original |
12406 | 6945 | |
12407 | 6946 | (F) You don't have System V semaphore IPC on your system. |
12408 | 6947 | |
12409 | 6948 | =end original |
12410 | 6949 | |
12411 | 6950 | (F) このシステムでは、System V セマフォ IPC は使えません。 |
12412 | 6951 | |
12413 | 6952 | =item send() on closed socket %s |
12414 | 6953 | |
12415 | 6954 | =begin original |
12416 | 6955 | |
12417 | 6956 | (W closed) The socket you're sending to got itself closed sometime |
12418 | before now. Check your | |
6957 | before now. Check your logic flow. | |
12419 | 6958 | |
12420 | 6959 | =end original |
12421 | 6960 | |
12422 | (W closed) 送信を行なおうとしたソケットは、既に | |
6961 | (W closed) 送信を行なおうとしたソケットは、既にクローズされています。 | |
12423 | ||
6962 | 論理フローをチェックしてください。 | |
12424 | 6963 | |
12425 | =item Sequence | |
6964 | =item Sequence (? incomplete before << HERE mark in regex m/%s/ | |
12426 | 6965 | |
12427 | 6966 | =begin original |
12428 | 6967 | |
12429 | (F) | |
6968 | (F) A regular expression ended with an incomplete extension (?. The <<<HERE | |
12430 | ||
6969 | shows in the regular expression about where the problem was discovered. See | |
12431 | p | |
6970 | L<perlre>. | |
12432 | were intending to specify a control character with this sequence, you'll | |
12433 | have to use a different way to specify it. | |
12434 | 6971 | |
12435 | 6972 | =end original |
12436 | 6973 | |
12437 | (F) | |
6974 | (F) 正規表現が不完全な拡張 (? で終わっています。 | |
12438 | ||
6975 | <<<HERE で正規表現のどこに問題が発見されたかを示しています。 | |
12439 | ||
6976 | L<perlre> を参照してください。 | |
12440 | (ASCII では異なったえらメッセージが出力されます)。 | |
12441 | この並びの制御文字を指定することを意図している場合は、指定するために | |
12442 | 異なる方法を使う必要があります。 | |
12443 | 6977 | |
12444 | =item Sequence (? | |
6978 | =item Sequence (?{...}) not terminated or not {}-balanced in %s | |
12445 | 6979 | |
12446 | 6980 | =begin original |
12447 | 6981 | |
12448 | (F) | |
6982 | (F) If the contents of a (?{...}) clause contains braces, they must balance | |
12449 | ||
6983 | for Perl to properly detect the end of the clause. See L<perlre>. | |
12450 | discovered. See L<perlre>. | |
12451 | 6984 | |
12452 | 6985 | =end original |
12453 | 6986 | |
12454 | (F) | |
6987 | (F) (?{...}) 節の中に大括弧がある場合、対応していなければなりません。 | |
12455 | ||
6988 | Perl が正しく節の最後を検出するためです。 | |
12456 | 6989 | L<perlre> を参照してください。 |
12457 | 6990 | |
12458 | =item Sequence (?% | |
6991 | =item Sequence (?%s...) not implemented before << HERE mark in %s | |
12459 | m/%s/ | |
12460 | 6992 | |
12461 | 6993 | =begin original |
12462 | 6994 | |
12463 | (F) A proposed regular expression extension has the character reserved | |
6995 | (F) A proposed regular expression extension has the character reserved but | |
12464 | ||
6996 | has not yet been written. The << HERE shows in the regular expression about | |
12465 | ||
6997 | where the problem was discovered. See L<perlre>. | |
12466 | 6998 | |
12467 | 6999 | =end original |
12468 | 7000 | |
12469 | 7001 | (F) 使おうとした正規表現の拡張は、予約された文字ですが、 |
12470 | 7002 | まだ実装されていません。 |
12471 | ||
7003 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
12472 | 7004 | L<perlre> を参照してください。 |
12473 | 7005 | |
12474 | =item Sequence (?%s...) not recognized | |
7006 | =item Sequence (?%s...) not recognized before << HERE mark in %s | |
12475 | m/%s/ | |
12476 | 7007 | |
12477 | 7008 | =begin original |
12478 | 7009 | |
12479 | 7010 | (F) You used a regular expression extension that doesn't make sense. |
12480 | The | |
7011 | The << HERE shows in the regular expression about | |
12481 | ||
7012 | where the problem was discovered. | |
12482 | ||
7013 | See L<perlre>. | |
12483 | redundantly specify a default modifier. For other | |
12484 | causes, see L<perlre>. | |
12485 | 7014 | |
12486 | 7015 | =end original |
12487 | 7016 | |
12488 | 7017 | (F) お使いになった正規表現の拡張は、意味をなしません。 |
12489 | ||
7018 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
12490 | ||
7019 | L<perlre> を参照してください。 | |
12491 | C<(?^...)> 構文を使ったときや、デフォルトの演算子を冗長に指定しています。 | |
12492 | その他の理由については、L<perlre> を参照してください。 | |
12493 | 7020 | |
12494 | 7021 | =item Sequence (?#... not terminated in regex m/%s/ |
12495 | 7022 | |
12496 | 7023 | =begin original |
12497 | 7024 | |
12498 | 7025 | (F) A regular expression comment must be terminated by a closing |
12499 | parenthesis. Embedded parentheses aren't allowed. See | |
7026 | parenthesis. Embedded parentheses aren't allowed. See L<perlre>. | |
12500 | L<perlre>. | |
12501 | 7027 | |
12502 | 7028 | =end original |
12503 | 7029 | |
12504 | (F) 正規表現 | |
7030 | (F) 正規表現コメントは、閉じ括弧で終わらなければなりません。 | |
12505 | ||
7031 | 括弧を含めることは許されません。 | |
12506 | 7032 | L<perlre> を参照してください。 |
12507 | 7033 | |
12508 | =item Se | |
7034 | =item 500 Server error | |
12509 | m/%s/ | |
12510 | 7035 | |
12511 | 7036 | =begin original |
12512 | 7037 | |
12513 | ||
7038 | See Server error. | |
12514 | closing parenthesis after the name. The S<<-- HERE> shows whereabouts | |
12515 | in the regular expression the problem was discovered. | |
12516 | 7039 | |
12517 | 7040 | =end original |
12518 | 7041 | |
12519 | ||
7042 | "Server error" を参照してください。 | |
12520 | ありません。 | |
12521 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
12522 | 7043 | |
12523 | =item Se | |
7044 | =item Server error | |
12524 | in m/%s/ | |
12525 | 7045 | |
12526 | 7046 | =begin original |
12527 | 7047 | |
12528 | ||
7048 | This is the error message generally seen in a browser window when trying | |
12529 | cl | |
7049 | to run a CGI program (including SSI) over the web. The actual error text | |
12530 | re | |
7050 | varies widely from server to server. The most frequently-seen variants | |
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". | |
12531 | 7054 | |
12532 | 7055 | =end original |
12533 | 7056 | |
12534 | ||
7057 | これは、一般的には CGI (SSI を含みます)プログラムを WWW 越しに | |
12535 | 最後の閉じクォートまたは山かっこがありません。 | |
12536 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
12537 | ||
12538 | =item Sequence (?(%c... not terminated in regex; marked by S<<-- HERE> | |
12539 | in m/%s/ | |
12540 | ||
12541 | =begin original | |
12542 | ||
12543 | (F) A named reference of the form C<(?('...')...)> or C<< (?(<...>)...) >> was | |
12544 | missing the final closing quote or angle bracket after the name. The | |
12545 | S<<-- HERE> shows whereabouts in the regular expression the problem was | |
12546 | discovered. | |
12547 | ||
12548 | =end original | |
12549 | ||
12550 | (F) C<(?('...')...)> または C<< (?(<...>)...) >> の形式の名前付き | |
12551 | リファレンスで、名前の後の最後の閉じクォートまたは山かっこがありません。 | |
12552 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
12553 | ||
12554 | =item Sequence (?... not terminated in regex; marked by S<<-- HERE> in | |
12555 | m/%s/ | |
12556 | ||
12557 | =begin original | |
12558 | ||
12559 | (F) There was no matching closing parenthesis for the '('. The | |
12560 | S<<-- HERE> shows whereabouts in the regular expression the problem was | |
12561 | discovered. | |
12562 | ||
12563 | =end original | |
12564 | ||
12565 | (F) '(' に対応する閉じかっこがありません。 | |
12566 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
12567 | ||
12568 | =item Sequence \%s... not terminated in regex; marked by S<<-- HERE> in | |
12569 | m/%s/ | |
12570 | ||
12571 | =begin original | |
12572 | ||
12573 | (F) The regular expression expects a mandatory argument following the escape | |
12574 | sequence and this has been omitted or incorrectly written. | |
12575 | ||
12576 | =end original | |
12577 | ||
12578 | (F) 正規表現でエスケープシーケンスの後に必須の引き数を想定しましたが、 | |
12579 | それが省略されているか適切に書かれていません。 | |
12580 | ||
12581 | =item Sequence (?{...}) not terminated with ')' | |
12582 | ||
12583 | =begin original | |
12584 | ||
12585 | (F) The end of the perl code contained within the {...} must be | |
12586 | followed immediately by a ')'. | |
12587 | ||
12588 | =end original | |
12589 | ||
12590 | (F) {} の中に含まれている perl コードの末尾は直後に ')' が | |
12591 | 引き続かなければなりません。 | |
12592 | ||
12593 | =item Sequence (?PE<gt>... not terminated in regex; marked by S<<-- HERE> in m/%s/ | |
12594 | ||
12595 | =begin original | |
12596 | ||
12597 | (F) A named reference of the form C<(?PE<gt>...)> was missing the final | |
12598 | closing parenthesis after the name. The S<<-- HERE> shows whereabouts | |
12599 | in the regular expression the problem was discovered. | |
12600 | ||
12601 | =end original | |
12602 | ||
12603 | (F) C<(?PE<gt>...)> 形式の名前付き参照で、名前の後の最後の閉じかっこが | |
12604 | ありません。 | |
12605 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
12606 | ||
12607 | =item Sequence (?PE<lt>... not terminated in regex; marked by S<<-- HERE> in m/%s/ | |
12608 | ||
12609 | =begin original | |
12610 | ||
12611 | (F) A named group of the form C<(?PE<lt>...E<gt>')> was missing the final | |
12612 | closing angle bracket. The S<<-- HERE> shows whereabouts in the | |
12613 | regular expression the problem was discovered. | |
12614 | ||
12615 | =end original | |
12616 | ||
12617 | (F) C<(?PE<lt>...E<gt>')> 形式の名前付きグループで、 | |
12618 | 最後の閉じ山かっこがありません。 | |
12619 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
12620 | ||
12621 | =item Sequence ?P=... not terminated in regex; marked by S<<-- HERE> in | |
12622 | m/%s/ | |
12623 | ||
12624 | =begin original | |
12625 | ||
12626 | (F) A named reference of the form C<(?P=...)> was missing the final | |
12627 | closing parenthesis after the name. The S<<-- HERE> shows whereabouts | |
12628 | in the regular expression the problem was discovered. | |
12629 | ||
12630 | =end original | |
12631 | ||
12632 | (F) C<(?P=...)> の形式の名前付きリファレンスで、名前の後の最後の | |
12633 | 閉じかっこがありません。 | |
12634 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
12635 | ||
12636 | =item Sequence (?R) not terminated in regex m/%s/ | |
12637 | ||
12638 | =begin original | |
12639 | ||
12640 | (F) An C<(?R)> or C<(?0)> sequence in a regular expression was missing the | |
12641 | final parenthesis. | |
12642 | ||
12643 | =end original | |
12644 | ||
12645 | (F) 正規表現中の C<(?R)> または C<(?0)> で最後のかっこがありません。 | |
12646 | ||
12647 | =item Server error (a.k.a. "500 Server error") | |
12648 | ||
12649 | =begin original | |
12650 | ||
12651 | (A) This is the error message generally seen in a browser window | |
12652 | when trying to run a CGI program (including SSI) over the web. The | |
12653 | actual error text varies widely from server to server. The most | |
12654 | frequently-seen variants are "500 Server error", "Method (something) | |
12655 | not permitted", "Document contains no data", "Premature end of script | |
12656 | headers", and "Did not produce a valid header". | |
12657 | ||
12658 | =end original | |
12659 | ||
12660 | (A) これは、一般的には CGI (SSI を含みます)プログラムを WWW 越しに | |
12661 | 7058 | 実行しようとしたときにブラウザのウィンドウに表示されるメッセージです。 |
12662 | 7059 | 実際のエラーテキストはサーバーによって大きく異なります。 |
12663 | 7060 | もっともよく見られるものとしては、"500 Server error", |
12664 | 7061 | "Method (something) not permitted", "Document contains no data", |
12665 | 7062 | "Premature end of script headers", "Did not produce a valid header" が |
12666 | 7063 | あります。 |
12667 | 7064 | |
12668 | 7065 | =begin original |
12669 | 7066 | |
12670 | 7067 | B<This is a CGI error, not a Perl error>. |
12671 | 7068 | |
12672 | 7069 | =end original |
12673 | 7070 | |
12674 | 7071 | B<これは CGI のエラーであり、Perl のエラーではありません>. |
12675 | 7072 | |
12676 | 7073 | =begin original |
12677 | 7074 | |
12678 | You need to make sure your script is executable, is accessible by | |
7075 | You need to make sure your script is executable, is accessible by the | |
12679 | ||
7076 | user CGI is running the script under (which is probably not the user | |
12680 | ||
7077 | account you tested it under), does not rely on any environment variables | |
12681 | ||
7078 | (like PATH) from the user it isn't running under, and isn't in a | |
12682 | ||
7079 | location where the CGI server can't find it, basically, more or less. | |
12683 | ||
7080 | Please see the following for more information: | |
12684 | 7081 | |
12685 | 7082 | =end original |
12686 | 7083 | |
12687 | 7084 | まずはあなたのスクリプトが実行可能か、CGI を実行するユーザー(これはおそらく |
12688 | 7085 | あなたがテストしたユーザーではありません)で読み込み可能か、実行しているのとは |
12689 | 7086 | 異なるユーザーの環境変数(PATH など)に依存していないか、CGI サーバーが |
12690 | 7087 | 見つけられない場所に置いていないか、といったことを確認する必要があるでしょう。 |
12691 | 7088 | さらなる情報については以下を参照してください。 |
12692 | 7089 | |
12693 | http://www.perl.o | |
7090 | http://www.perl.com/CPAN/doc/FAQs/cgi/idiots-guide.html | |
12694 | http://www. | |
7091 | http://www.perl.com/CPAN/doc/FAQs/cgi/perl-cgi-faq.html | |
12695 | | |
7092 | ftp://rtfm.mit.edu/pub/usenet/news.answers/www/cgi-faq | |
7093 | http://hoohoo.ncsa.uiuc.edu/cgi/interface.html | |
7094 | http://www-genome.wi.mit.edu/WWW/faqs/www-security-faq.html | |
12696 | 7095 | |
12697 | 7096 | =begin original |
12698 | 7097 | |
12699 | 7098 | You should also look at L<perlfaq9>. |
12700 | 7099 | |
12701 | 7100 | =end original |
12702 | 7101 | |
12703 | 7102 | L<perlfaq9> も見るべきでしょう。 |
12704 | 7103 | |
12705 | 7104 | =item setegid() not implemented |
12706 | 7105 | |
12707 | 7106 | =begin original |
12708 | 7107 | |
12709 | 7108 | (F) You tried to assign to C<$)>, and your operating system doesn't |
12710 | 7109 | support the setegid() system call (or equivalent), or at least Configure |
12711 | 7110 | didn't think so. |
12712 | 7111 | |
12713 | 7112 | =end original |
12714 | 7113 | |
12715 | 7114 | (F) C<$)> へ代入を行なおうとしましたが、この OS では、setegid() |
12716 | システムコール (または、同等のもの) がサポートされていません | |
7115 | システムコール (または、同等のもの) がサポートされていません。 | |
12717 | 7116 | 少なくとも Configure では、そう判断されました。 |
12718 | 7117 | |
12719 | 7118 | =item seteuid() not implemented |
12720 | 7119 | |
12721 | 7120 | =begin original |
12722 | 7121 | |
12723 | 7122 | (F) You tried to assign to C<< $> >>, and your operating system doesn't |
12724 | 7123 | support the seteuid() system call (or equivalent), or at least Configure |
12725 | 7124 | didn't think so. |
12726 | 7125 | |
12727 | 7126 | =end original |
12728 | 7127 | |
12729 | 7128 | (F) C<< $> >> へ代入を行なおうとしましたが、この OS では、seteuid() |
12730 | システムコール (または、同等のもの) がサポートされていません | |
7129 | システムコール (または、同等のもの) がサポートされていません。 | |
12731 | 7130 | 少なくとも Configure では、そう判断されました。 |
12732 | 7131 | |
12733 | 7132 | =item setpgrp can't take arguments |
12734 | 7133 | |
12735 | 7134 | =begin original |
12736 | 7135 | |
12737 | 7136 | (F) Your system has the setpgrp() from BSD 4.2, which takes no |
12738 | 7137 | arguments, unlike POSIX setpgid(), which takes a process ID and process |
12739 | 7138 | group ID. |
12740 | 7139 | |
12741 | 7140 | =end original |
12742 | 7141 | |
12743 | (F) このシステムの setpgrp() は BSD 4.2 由来のもので、引数がありません | |
7142 | (F) このシステムの setpgrp() は BSD 4.2 由来のもので、引数がありません。 | |
12744 | 7143 | POSIX setpgid() はプロセス ID とプロセスグループ ID を引数にとります。 |
12745 | 7144 | |
12746 | 7145 | =item setrgid() not implemented |
12747 | 7146 | |
12748 | 7147 | =begin original |
12749 | 7148 | |
12750 | 7149 | (F) You tried to assign to C<$(>, and your operating system doesn't |
12751 | 7150 | support the setrgid() system call (or equivalent), or at least Configure |
12752 | 7151 | didn't think so. |
12753 | 7152 | |
12754 | 7153 | =end original |
12755 | 7154 | |
12756 | 7155 | (F) C<$(> へ代入を行なおうとしましたが、この OS では、setrgid() |
12757 | システムコール (または、同等のもの) がサポートされていません | |
7156 | システムコール (または、同等のもの) がサポートされていません。 | |
12758 | 7157 | 少なくとも Configure では、そう判断されました。 |
12759 | 7158 | |
12760 | 7159 | =item setruid() not implemented |
12761 | 7160 | |
12762 | 7161 | =begin original |
12763 | 7162 | |
12764 | 7163 | (F) You tried to assign to C<$<>, and your operating system doesn't |
12765 | 7164 | support the setruid() system call (or equivalent), or at least Configure |
12766 | 7165 | didn't think so. |
12767 | 7166 | |
12768 | 7167 | =end original |
12769 | 7168 | |
12770 | 7169 | (F) C<$<> へ代入を行なおうとしましたが、この OS では、setruid() |
12771 | システムコール (または、同等のもの) がサポートされていません | |
7170 | システムコール (または、同等のもの) がサポートされていません。 | |
12772 | 7171 | 少なくとも Configure では、そう判断されました。 |
12773 | 7172 | |
12774 | 7173 | =item setsockopt() on closed socket %s |
12775 | 7174 | |
12776 | 7175 | =begin original |
12777 | 7176 | |
12778 | 7177 | (W closed) You tried to set a socket option on a closed socket. Did you |
12779 | 7178 | forget to check the return value of your socket() call? See |
12780 | 7179 | L<perlfunc/setsockopt>. |
12781 | 7180 | |
12782 | 7181 | =end original |
12783 | 7182 | |
12784 | 7183 | (W closed) 閉じているソケットにソケットオプションを設定しようとしました。 |
12785 | socket() | |
7184 | socket() 呼び出しの返り値のチェックを忘れていませんか? | |
12786 | 7185 | L<perlfunc/setsockopt> を参照してください。 |
12787 | 7186 | |
12788 | =item Set | |
7187 | =item Setuid/gid script is writable by world | |
12789 | 7188 | |
12790 | 7189 | =begin original |
12791 | 7190 | |
12792 | ( | |
7191 | (F) The setuid emulator won't run a script that is writable by the | |
12793 | ||
7192 | world, because the world might have written on it already. | |
12794 | 7193 | |
12795 | 7194 | =end original |
12796 | 7195 | |
12797 | ( | |
7196 | (F) setuid エミュレータは、誰もが書き込みができるようになっている | |
12798 | ||
7197 | スクリプトは実行しません。 | |
7198 | 誰かが既に書き換えたかも知れないからです。 | |
12799 | 7199 | |
12800 | =item Setting $/ to a reference to %s as a form of slurp is deprecated, treating as undef | |
12801 | ||
12802 | =begin original | |
12803 | ||
12804 | (D deprecated) You assigned a reference to a scalar to C<$/> where the | |
12805 | referenced item is not a positive integer. In older perls this B<appeared> | |
12806 | to work the same as setting it to C<undef> but was in fact internally | |
12807 | different, less efficient and with very bad luck could have resulted in | |
12808 | your file being split by a stringified form of the reference. | |
12809 | ||
12810 | =end original | |
12811 | ||
12812 | (D deprecated) リファレンス先のアイテムが正の整数でないときに、 | |
12813 | C<$/> にスカラへの整数を代入しました。 | |
12814 | 以前の perl ではこれは C<undef> を設定するのと同じように B<見えました> が、 | |
12815 | 内部的には異なっていて、より非効率で、とても運が悪い場合はファイルが | |
12816 | このリファレンスの文字列化形式で split されることになっていました。 | |
12817 | ||
12818 | =begin original | |
12819 | ||
12820 | In Perl 5.20.0 this was changed so that it would be B<exactly> the same as | |
12821 | setting C<$/> to undef, with the exception that this warning would be | |
12822 | thrown. | |
12823 | ||
12824 | =end original | |
12825 | ||
12826 | Perl 5.20.0 でこれは変更され、これはこの警告が投げられることを除いては | |
12827 | C<$/> に undef を設定するのと B<正確に> 同じになりました。 | |
12828 | ||
12829 | =begin original | |
12830 | ||
12831 | You are recommended to change your code to set C<$/> to C<undef> explicitly | |
12832 | if you wish to slurp the file. In future versions of Perl assigning | |
12833 | a reference to will throw a fatal error. | |
12834 | ||
12835 | =end original | |
12836 | ||
12837 | ファイル全体を読み込みたい場合は、明示的に C<$/> に C<undef> を | |
12838 | 設定するようにコードを変更することを勧めます。 | |
12839 | 将来のバージョンの Perl では、リファレンスの代入は致命的エラーになります。 | |
12840 | ||
12841 | =item Setting $/ to %s reference is forbidden | |
12842 | ||
12843 | =begin original | |
12844 | ||
12845 | (F) You tried to assign a reference to a non integer to C<$/>. In older | |
12846 | Perls this would have behaved similarly to setting it to a reference to | |
12847 | a positive integer, where the integer was the address of the reference. | |
12848 | As of Perl 5.20.0 this is a fatal error, to allow future versions of Perl | |
12849 | to use non-integer refs for more interesting purposes. | |
12850 | ||
12851 | =end original | |
12852 | ||
12853 | (F) 非整数へのリファレンスを C<$/> に代入しようとしました。 | |
12854 | 以前の Perl ではこれは正の整数(リファレンスのアドレス)へのリファレンスを | |
12855 | 設定するのと似たように振る舞っていました。 | |
12856 | 将来のバージョンの Perl で非整数リファレンスをより興味深い目的に使えるように | |
12857 | Perl 5.20.0 から、これは致命的エラーになりました。 | |
12858 | ||
12859 | 7200 | =item shm%s not implemented |
12860 | 7201 | |
12861 | 7202 | =begin original |
12862 | 7203 | |
12863 | 7204 | (F) You don't have System V shared memory IPC on your system. |
12864 | 7205 | |
12865 | 7206 | =end original |
12866 | 7207 | |
12867 | 7208 | (F) このシステムでは、System V 共有メモリ IPC は使えません。 |
12868 | 7209 | |
12869 | =item | |
7210 | =item <> should be quotes | |
12870 | 7211 | |
12871 | 7212 | =begin original |
12872 | 7213 | |
12873 | ( | |
7214 | (F) You wrote C<< require <file> >> when you should have written | |
12874 | ||
7215 | C<require 'file'>. | |
12875 | operators: probably not what you intended. | |
12876 | 7216 | |
12877 | 7217 | =end original |
12878 | 7218 | |
12879 | ( | |
7219 | (F) C<require 'file'> と書くべきところで C<< require <file> >> と | |
12880 | ||
7220 | 書いています。 | |
12881 | おそらくあなたの意図していることではないでしょう。 | |
12882 | 7221 | |
12883 | 7222 | =item /%s/ should probably be written as "%s" |
12884 | 7223 | |
12885 | 7224 | =begin original |
12886 | 7225 | |
12887 | 7226 | (W syntax) You have used a pattern where Perl expected to find a string, |
12888 | 7227 | as in the first argument to C<join>. Perl will treat the true or false |
12889 | 7228 | result of matching the pattern against $_ as the string, which is |
12890 | 7229 | probably not what you had in mind. |
12891 | 7230 | |
12892 | 7231 | =end original |
12893 | 7232 | |
12894 | 7233 | (W syntax) C<join> の最初の引数として、Perl が文字列を想定しているところに |
12895 | 7234 | パターンを使いました。 |
12896 | 7235 | Perl は $_ をパターンマッチングした結果の真か偽の値を文字列として |
12897 | 7236 | 扱いますが、これはおそらく望んでいることではないでしょう。 |
12898 | 7237 | |
12899 | 7238 | =item shutdown() on closed socket %s |
12900 | 7239 | |
12901 | 7240 | =begin original |
12902 | 7241 | |
12903 | 7242 | (W closed) You tried to do a shutdown on a closed socket. Seems a bit |
12904 | 7243 | superfluous. |
12905 | 7244 | |
12906 | 7245 | =end original |
12907 | 7246 | |
12908 | 7247 | (W closed) クローズされたソケットに shutdown を行なおうとしました。 |
12909 | 7248 | 多少、無駄のように思われます。 |
12910 | 7249 | |
12911 | 7250 | =item SIG%s handler "%s" not defined |
12912 | 7251 | |
12913 | 7252 | =begin original |
12914 | 7253 | |
12915 | 7254 | (W signal) The signal handler named in %SIG doesn't, in fact, exist. |
12916 | 7255 | Perhaps you put it into the wrong package? |
12917 | 7256 | |
12918 | 7257 | =end original |
12919 | 7258 | |
12920 | 7259 | (W signal) %SIG 内で指定したシグナルハンドラが、存在しません。 |
12921 | 7260 | 間違ったパッケージで、設定を行なっているのかもしれません。 |
12922 | 7261 | |
12923 | =item Slab leaked from cv %p | |
12924 | ||
12925 | =begin original | |
12926 | ||
12927 | (S) If you see this message, then something is seriously wrong with the | |
12928 | internal bookkeeping of op trees. An op tree needed to be freed after | |
12929 | a compilation error, but could not be found, so it was leaked instead. | |
12930 | ||
12931 | =end original | |
12932 | ||
12933 | (S) このメッセージが出た場合、構文木の内部管理で何かひどく | |
12934 | 悪いことになっています。 | |
12935 | ある構文木がコンパイルエラーの後で解放される必要がありますが、 | |
12936 | 見つからないので、リークしています。 | |
12937 | ||
12938 | =item sleep(%u) too large | |
12939 | ||
12940 | =begin original | |
12941 | ||
12942 | (W overflow) You called C<sleep> with a number that was larger than | |
12943 | it can reliably handle and C<sleep> probably slept for less time than | |
12944 | requested. | |
12945 | ||
12946 | =end original | |
12947 | ||
12948 | (W overflow) 確実に扱えるよりも大きな値で C<sleep> を呼び出したので、 | |
12949 | C<sleep> はおそらく指定されたより短い時間だけスリープします。 | |
12950 | ||
12951 | =item Slurpy parameter not last | |
12952 | ||
12953 | =begin original | |
12954 | ||
12955 | (F) In a subroutine signature, you put something after a slurpy (array or | |
12956 | hash) parameter. The slurpy parameter takes all the available arguments, | |
12957 | so there can't be any left to fill later parameters. | |
12958 | ||
12959 | =end original | |
12960 | ||
12961 | (F) サブルーチンシグネチャの中で、吸い込み(配列またはハッシュ)パラメータの後に | |
12962 | 何かを起きました。 | |
12963 | 吸い込みパラメータは利用可能な全ての引数を取るので、その後のパラメータに | |
12964 | 対応するものを残しません。 | |
12965 | ||
12966 | =item Smart matching a non-overloaded object breaks encapsulation | |
12967 | ||
12968 | =begin original | |
12969 | ||
12970 | (F) You should not use the C<~~> operator on an object that does not | |
12971 | overload it: Perl refuses to use the object's underlying structure | |
12972 | for the smart match. | |
12973 | ||
12974 | =end original | |
12975 | ||
12976 | (F) オーバーロードしていないオブジェクトに対して C<~~> 演算子を | |
12977 | 使うべきではありません: Perl はスマートマッチング時にオブジェクトの | |
12978 | 基礎となる構造を使うことを拒否します。 | |
12979 | ||
12980 | =item Smartmatch is experimental | |
12981 | ||
12982 | =begin original | |
12983 | ||
12984 | (S experimental::smartmatch) This warning is emitted if you | |
12985 | use the smartmatch (C<~~>) operator. This is currently an experimental | |
12986 | feature, and its details are subject to change in future releases of | |
12987 | Perl. Particularly, its current behavior is noticed for being | |
12988 | unnecessarily complex and unintuitive, and is very likely to be | |
12989 | overhauled. | |
12990 | ||
12991 | =end original | |
12992 | ||
12993 | (S experimental::smartmatch) この警告は、スマートマッチング (C<~~>) 演算子を | |
12994 | 使ったときに出力されます。 | |
12995 | これは現在のところ実験的な機能で、Perl の将来のリリースでは変更される | |
12996 | 可能性があります。 | |
12997 | 特に、現在の実装は不必要に複雑かつ直感的でないとされており、ほぼ確実に | |
12998 | 見直されます。 | |
12999 | ||
13000 | 7262 | =item sort is now a reserved word |
13001 | 7263 | |
13002 | 7264 | =begin original |
13003 | 7265 | |
13004 | 7266 | (F) An ancient error message that almost nobody ever runs into anymore. |
13005 | 7267 | But before sort was a keyword, people sometimes used it as a filehandle. |
13006 | 7268 | |
13007 | 7269 | =end original |
13008 | 7270 | |
13009 | 7271 | (F) もはや、誰もお目にかかることのない、旧世代のエラーメッセージです。 |
13010 | 7272 | ただ、sort がキーワードとなる前には、これをファイルハンドルとして |
13011 | 7273 | 使う方がいました。 |
13012 | 7274 | |
13013 | =item Sour | |
7275 | =item Sort subroutine didn't return a numeric value | |
13014 | 7276 | |
13015 | 7277 | =begin original |
13016 | 7278 | |
13017 | (F) | |
7279 | (F) A sort comparison routine must return a number. You probably blew | |
13018 | ||
7280 | it by not using C<< <=> >> or C<cmp>, or by not using them correctly. | |
13019 | ||
7281 | See L<perlfunc/sort>. | |
13020 | C<evalbytes> instead. See L<feature>. | |
13021 | 7282 | |
13022 | 7283 | =end original |
13023 | 7284 | |
13024 | (F) | |
7285 | (F) sort の比較ルーティンは、必ず数値を返さなければなりません。 | |
13025 | ||
7286 | C<< <=> >> や C<cmp> を使わなかったか、正しく使わなかったものと思います。 | |
13026 | ||
7287 | L<perlfunc/sort> を参照してください。 | |
13027 | 代わりに C<evalbytes> を使うことを検討してください。 | |
13028 | L<feature> を参照してください。 | |
13029 | 7288 | |
13030 | =item s | |
7289 | =item Sort subroutine didn't return single value | |
13031 | 7290 | |
13032 | 7291 | =begin original |
13033 | 7292 | |
13034 | ( | |
7293 | (F) A sort comparison subroutine may not return a list value with more | |
13035 | ||
7294 | or less than one element. See L<perlfunc/sort>. | |
13036 | end of the array, rather than past it. If this isn't what you want, | |
13037 | try explicitly pre-extending the array by assigning $#array = $offset. | |
13038 | See L<perlfunc/splice>. | |
13039 | 7295 | |
13040 | 7296 | =end original |
13041 | 7297 | |
13042 | ( | |
7298 | (F) sort の比較サブルーティンは、要素が 1 個以外のリスト値を | |
13043 | ||
7299 | 返すことはできません。 | |
13044 | ||
7300 | L<perlfunc/sort>を参照してください。 | |
13045 | 明示的に事前に配列を拡張してください。 | |
13046 | L<perlfunc/splice> を参照してください。 | |
13047 | 7301 | |
13048 | 7302 | =item Split loop |
13049 | 7303 | |
13050 | 7304 | =begin original |
13051 | 7305 | |
13052 | 7306 | (P) The split was looping infinitely. (Obviously, a split shouldn't |
13053 | 7307 | iterate more times than there are characters of input, which is what |
13054 | happened.) | |
7308 | happened.) See L<perlfunc/split>. | |
13055 | 7309 | |
13056 | 7310 | =end original |
13057 | 7311 | |
13058 | 7312 | (P) split が無限ループに陥りました。 |
13059 | 7313 | (明らかに、split は、入力文字数以上にはできないはずですが、 |
13060 | 7314 | そうなってしまいました。) |
13061 | 7315 | L<perlfunc/split> を参照してください。 |
13062 | 7316 | |
13063 | 7317 | =item Statement unlikely to be reached |
13064 | 7318 | |
13065 | 7319 | =begin original |
13066 | 7320 | |
13067 | 7321 | (W exec) You did an exec() with some statement after it other than a |
13068 | 7322 | die(). This is almost always an error, because exec() never returns |
13069 | 7323 | unless there was a failure. You probably wanted to use system() |
13070 | 7324 | instead, which does return. To suppress this warning, put the exec() in |
13071 | 7325 | a block by itself. |
13072 | 7326 | |
13073 | 7327 | =end original |
13074 | 7328 | |
13075 | 7329 | (W exec) exec() の後に、die() 以外の実行文があります。 |
13076 | 7330 | 失敗したとき以外は、exec() から戻ってくることはありませんから、 |
13077 | 7331 | ほとんどの場合には誤りでしょう。 |
13078 | 7332 | 戻ってくるsystem() に置き換える必要があるかもしれません。 |
13079 | 7333 | この警告を止めるには、ブロック内に exec() だけを記述してください。 |
13080 | 7334 | |
13081 | =item "state" subroutine %s can't be in a package | |
13082 | ||
13083 | =begin original | |
13084 | ||
13085 | (F) Lexically scoped subroutines aren't in a package, so it doesn't make | |
13086 | sense to try to declare one with a package qualifier on the front. | |
13087 | ||
13088 | =end original | |
13089 | ||
13090 | (F) レキシカルスコープサブルーチンはパッケージ内にないので、 | |
13091 | 頭にパッケージ名を付けて宣言することは、無意味です。 | |
13092 | ||
13093 | =item "state %s" used in sort comparison | |
13094 | ||
13095 | =begin original | |
13096 | ||
13097 | (W syntax) The package variables $a and $b are used for sort comparisons. | |
13098 | You used $a or $b in as an operand to the C<< <=> >> or C<cmp> operator inside a | |
13099 | sort comparison block, and the variable had earlier been declared as a | |
13100 | lexical variable. Either qualify the sort variable with the package | |
13101 | name, or rename the lexical variable. | |
13102 | ||
13103 | =end original | |
13104 | ||
13105 | (W syntax) パッケージ変数 $a と $b はソート比較のために使われます。 | |
13106 | $a または $b をソート比較ブロックの中の C<< <=> >> または C<cmp> 演算子の | |
13107 | オペランドとして使いましたが、この変数はその前にレキシカル変数として | |
13108 | 宣言されています。 | |
13109 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を変えてください。 | |
13110 | ||
13111 | =item "state" variable %s can't be in a package | |
13112 | ||
13113 | =begin original | |
13114 | ||
13115 | (F) Lexically scoped variables aren't in a package, so it doesn't make | |
13116 | sense to try to declare one with a package qualifier on the front. Use | |
13117 | local() if you want to localize a package variable. | |
13118 | ||
13119 | =end original | |
13120 | ||
13121 | (F) 字句スコープの変数は、パッケージ内に置かれませんので、 | |
13122 | 頭にパッケージ名を付けて宣言することは、無意味です。 | |
13123 | パッケージ変数をローカル化したい場合には、local() を使ってください。 | |
13124 | ||
13125 | 7335 | =item stat() on unopened filehandle %s |
13126 | 7336 | |
13127 | 7337 | =begin original |
13128 | 7338 | |
13129 | 7339 | (W unopened) You tried to use the stat() function on a filehandle that |
13130 | 7340 | was either never opened or has since been closed. |
13131 | 7341 | |
13132 | 7342 | =end original |
13133 | 7343 | |
13134 | 7344 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
13135 | 7345 | ファイルハンドルに対して、stat() 関数を使おうとしました。 |
13136 | 7346 | |
13137 | =item St | |
7347 | =item Stub found while resolving method `%s' overloading %s | |
13138 | 7348 | |
13139 | 7349 | =begin original |
13140 | 7350 | |
13141 | (W utf8) You tried to open a reference to a scalar for read or append | |
13142 | where the scalar contained code points over 0xFF. In-memory files | |
13143 | model on-disk files and can only contain bytes. | |
13144 | ||
13145 | =end original | |
13146 | ||
13147 | (W utf8) 0xFF を超える符号位置を含むスカラに対して、読み込みや追加で | |
13148 | スカラへのリファレンスを開こうとしました。 | |
13149 | インメモリファイルはディスクのファイルをモデル化していて、バイトのみが | |
13150 | 使えます。 | |
13151 | ||
13152 | =item Stub found while resolving method "%s" overloading "%s" in package "%s" | |
13153 | ||
13154 | =begin original | |
13155 | ||
13156 | 7351 | (P) Overloading resolution over @ISA tree may be broken by importation |
13157 | 7352 | stubs. Stubs should never be implicitly created, but explicit calls to |
13158 | 7353 | C<can> may break this. |
13159 | 7354 | |
13160 | 7355 | =end original |
13161 | 7356 | |
13162 | 7357 | (P) @ISA ツリーでのオーバーロードの解決がインポートのスタブで壊されました。 |
13163 | 7358 | スタブは暗黙に作られることはありませんが、明示的に C<can> を呼び出すと |
13164 | 7359 | これを破壊することがあります。 |
13165 | 7360 | |
13166 | =item Subroutine "&%s" is not available | |
13167 | ||
13168 | =begin original | |
13169 | ||
13170 | (W closure) During compilation, an inner named subroutine or eval is | |
13171 | attempting to capture an outer lexical subroutine that is not currently | |
13172 | available. This can happen for one of two reasons. First, the lexical | |
13173 | subroutine may be declared in an outer anonymous subroutine that has | |
13174 | not yet been created. (Remember that named subs are created at compile | |
13175 | time, while anonymous subs are created at run-time.) For example, | |
13176 | ||
13177 | =end original | |
13178 | ||
13179 | (W closure) コンパイル時に、内部の名前付きサブルーチンや eval が、現在 | |
13180 | 利用できない外側のレキシカルサブルーチンを捕捉しようとしました。 | |
13181 | これは二つの理由で起こります。 | |
13182 | まず、レキシカルサブルーチンが、まだ作成されていない外側の無名サブルーチンで | |
13183 | 宣言されたときです。 | |
13184 | (名前付きサブルーチンはコンパイル時に作成されますが、無名サブルーチンは | |
13185 | 実行時に作成されることを思い出してください。) | |
13186 | 例えば、 | |
13187 | ||
13188 | sub { my sub a {...} sub f { \&a } } | |
13189 | ||
13190 | =begin original | |
13191 | ||
13192 | At the time that f is created, it can't capture the current "a" sub, | |
13193 | since the anonymous subroutine hasn't been created yet. Conversely, the | |
13194 | following won't give a warning since the anonymous subroutine has by now | |
13195 | been created and is live: | |
13196 | ||
13197 | =end original | |
13198 | ||
13199 | f が作成された時点で、現在の "a" サブルーチンは捕捉できません; なぜなら | |
13200 | 無名サブルーチンはまだ作成されていないからです。 | |
13201 | 逆に、以下のものは警告されません; 無名サブルーチンはこの時点で作成されていて | |
13202 | 生きているからです: | |
13203 | ||
13204 | sub { my sub a {...} eval 'sub f { \&a }' }->(); | |
13205 | ||
13206 | =begin original | |
13207 | ||
13208 | The second situation is caused by an eval accessing a lexical subroutine | |
13209 | that has gone out of scope, for example, | |
13210 | ||
13211 | =end original | |
13212 | ||
13213 | 2 番目の状況は eval がスコープ外となったレキシカルサブルーチンに | |
13214 | アクセスすることで起こります; 例えば: | |
13215 | ||
13216 | sub f { | |
13217 | my sub a {...} | |
13218 | sub { eval '\&a' } | |
13219 | } | |
13220 | f()->(); | |
13221 | ||
13222 | =begin original | |
13223 | ||
13224 | Here, when the '\&a' in the eval is being compiled, f() is not currently | |
13225 | being executed, so its &a is not available for capture. | |
13226 | ||
13227 | =end original | |
13228 | ||
13229 | ここで、eval の中の '\&a' がコンパイルされるとき、f() はこの時点では | |
13230 | 実行されていないので、&a は捕捉として利用できません。 | |
13231 | ||
13232 | =item "%s" subroutine &%s masks earlier declaration in same %s | |
13233 | ||
13234 | =begin original | |
13235 | ||
13236 | (W misc) A "my" or "state" subroutine has been redeclared in the | |
13237 | current scope or statement, effectively eliminating all access to | |
13238 | the previous instance. This is almost always a typographical error. | |
13239 | Note that the earlier subroutine will still exist until the end of | |
13240 | the scope or until all closure references to it are destroyed. | |
13241 | ||
13242 | =end original | |
13243 | ||
13244 | (W misc) "my" または "state" サブルーチンは現在のスコープまたは文で | |
13245 | 再定義されたため、事実上以前の実体への全てのアクセスが取り除かれます。 | |
13246 | これはほとんど常にタイプミスです。 | |
13247 | 最初のサブルーチンはスコープの末尾に到達するか、これを参照している | |
13248 | 全てのクロージャが破壊されるまで存在したままであることに注意してください。 | |
13249 | ||
13250 | 7361 | =item Subroutine %s redefined |
13251 | 7362 | |
13252 | 7363 | =begin original |
13253 | 7364 | |
13254 | 7365 | (W redefine) You redefined a subroutine. To suppress this warning, say |
13255 | 7366 | |
13256 | 7367 | =end original |
13257 | 7368 | |
13258 | (W redefine) サブルー | |
7369 | (W redefine) サブルーティンを再定義しました。 | |
13259 | この警告を止めるには以下のようにしてください: | |
7370 | この警告を止めるには、以下のようにしてください: | |
13260 | 7371 | |
13261 | 7372 | { |
13262 | no warnings | |
7373 | no warnings; | |
13263 | 7374 | eval "sub name { ... }"; |
13264 | 7375 | } |
13265 | 7376 | |
13266 | =item Subroutine "%s" will not stay shared | |
13267 | ||
13268 | =begin original | |
13269 | ||
13270 | (W closure) An inner (nested) I<named> subroutine is referencing a "my" | |
13271 | subroutine defined in an outer named subroutine. | |
13272 | ||
13273 | =end original | |
13274 | ||
13275 | (W closure) 内側の (ネストした) I<名前付き> サブルーチンが、 | |
13276 | 外側の名前付きサブルーチンで定義された "my" サブルーチンを参照しています。 | |
13277 | ||
13278 | =begin original | |
13279 | ||
13280 | When the inner subroutine is called, it will see the value of the outer | |
13281 | subroutine's lexical subroutine as it was before and during the *first* | |
13282 | call to the outer subroutine; in this case, after the first call to the | |
13283 | outer subroutine is complete, the inner and outer subroutines will no | |
13284 | longer share a common value for the lexical subroutine. In other words, | |
13285 | it will no longer be shared. This will especially make a difference | |
13286 | if the lexical subroutines accesses lexical variables declared in its | |
13287 | surrounding scope. | |
13288 | ||
13289 | =end original | |
13290 | ||
13291 | 内側のサブルーチンが呼び出されるとき、 | |
13292 | 外側のサブルーチンのレキシカルサブルーチンの値は、 | |
13293 | 外側のサブルーチンの「最初の」呼び出し前と呼び出し中のものになります; | |
13294 | この場合、外側のサブルーチンへの最初の呼び出しが終了した後、 | |
13295 | 内側と外側のサブルーチンはもはやレキシカルサブルーチンについて | |
13296 | 共通の値を共有しません。 | |
13297 | 言い換えると、これはもはや共有されません。 | |
13298 | これは特に、レキシカルサブルーチンがその周りのスコープで宣言された | |
13299 | レキシカル変数にアクセスしたときに違いがあります。 | |
13300 | ||
13301 | =begin original | |
13302 | ||
13303 | This problem can usually be solved by making the inner subroutine | |
13304 | anonymous, using the C<sub {}> syntax. When inner anonymous subs that | |
13305 | reference lexical subroutines in outer subroutines are created, they | |
13306 | are automatically rebound to the current values of such lexical subs. | |
13307 | ||
13308 | =end original | |
13309 | ||
13310 | この問題は普通、C<sub {}> 構文を使って内側のサブルーチンを無名にすることで | |
13311 | 解決します。 | |
13312 | 外側のサブルーチンのレキシカルサブルーチンを参照する内側の | |
13313 | 無名サブルーチンが作成されたとき、そのレキシカルサブルーチンの現在の値に | |
13314 | 自動的に回復します。 | |
13315 | ||
13316 | 7377 | =item Substitution loop |
13317 | 7378 | |
13318 | 7379 | =begin original |
13319 | 7380 | |
13320 | 7381 | (P) The substitution was looping infinitely. (Obviously, a substitution |
13321 | 7382 | shouldn't iterate more times than there are characters of input, which |
13322 | 7383 | is what happened.) See the discussion of substitution in |
13323 | L<perlop/" | |
7384 | L<perlop/"Quote and Quote-like Operators">. | |
13324 | 7385 | |
13325 | 7386 | =end original |
13326 | 7387 | |
13327 | 7388 | (P) 置換が無限ループに陥りました。 |
13328 | 7389 | (明らかに、置換は入力文字数以上には起こらないはずですが、 |
13329 | 7390 | それが起こってしまいました。) |
13330 | L<perlop/"Quote and Quote- | |
7391 | L<perlop/"Quote and Quote-like Operators"> を参照してください。 | |
13331 | 7392 | |
13332 | 7393 | =item Substitution pattern not terminated |
13333 | 7394 | |
13334 | 7395 | =begin original |
13335 | 7396 | |
13336 | (F) The lexer couldn't find the interior delimiter of a | |
7397 | (F) The lexer couldn't find the interior delimiter of a s/// or s{}{} | |
13337 | 7398 | construct. Remember that bracketing delimiters count nesting level. |
13338 | 7399 | Missing the leading C<$> from variable C<$s> may cause this error. |
13339 | 7400 | |
13340 | 7401 | =end original |
13341 | 7402 | |
13342 | 7403 | (F) s/// もしくは s{}{} 構文の真ん中の区切り文字が見つかりませんでした。 |
13343 | ||
7404 | 括弧類の区切り文字では、ネストを数えることを忘れないでください。 | |
13344 | 7405 | C<$s> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 |
13345 | 7406 | |
13346 | 7407 | =item Substitution replacement not terminated |
13347 | 7408 | |
13348 | 7409 | =begin original |
13349 | 7410 | |
13350 | (F) The lexer couldn't find the final delimiter of a | |
7411 | (F) The lexer couldn't find the final delimiter of a s/// or s{}{} | |
13351 | 7412 | construct. Remember that bracketing delimiters count nesting level. |
13352 | 7413 | Missing the leading C<$> from variable C<$s> may cause this error. |
13353 | 7414 | |
13354 | 7415 | =end original |
13355 | 7416 | |
13356 | 7417 | (F) s/// もしくは s{}{} 構文の最後の区切り文字が見つかりませんでした。 |
13357 | ||
7418 | 括弧類の区切り文字では、ネストを数えることを忘れないでください。 | |
13358 | 7419 | C<$s> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 |
13359 | 7420 | |
13360 | 7421 | =item substr outside of string |
13361 | 7422 | |
13362 | 7423 | =begin original |
13363 | 7424 | |
13364 | (W substr)(F) You tried to reference a substr() that pointed outside of | |
7425 | (W substr),(F) You tried to reference a substr() that pointed outside of | |
13365 | 7426 | a string. That is, the absolute value of the offset was larger than the |
13366 | 7427 | length of the string. See L<perlfunc/substr>. This warning is fatal if |
13367 | 7428 | substr is used in an lvalue context (as the left hand side of an |
13368 | 7429 | assignment or as a subroutine argument for example). |
13369 | 7430 | |
13370 | 7431 | =end original |
13371 | 7432 | |
13372 | (W substr)(F) 文字列の外を指す substr() を参照しようとしました。 | |
7433 | (W substr),(F) 文字列の外を指す substr() を参照しようとしました。 | |
13373 | 7434 | つまり、オフセットの絶対値が、文字列の長さより大きくなっています。 |
13374 | 7435 | L<perlfunc/substr> を参照してください。 |
13375 | 7436 | この警告は、substr が(代入の左側やサブルーチンの引数といった) |
13376 | 7437 | 左辺値として使われた場合は致命的となります。 |
13377 | 7438 | |
13378 | =item s | |
7439 | =item suidperl is no longer needed since %s | |
13379 | 7440 | |
13380 | 7441 | =begin original |
13381 | 7442 | |
13382 | ( | |
7443 | (F) Your Perl was compiled with B<-D>SETUID_SCRIPTS_ARE_SECURE_NOW, but | |
13383 | ||
7444 | a version of the setuid emulator somehow got run anyway. | |
13384 | 7445 | |
13385 | 7446 | =end original |
13386 | 7447 | |
13387 | ( | |
7448 | (F) お使いの Perl は、-DSETUID_SCRIPTS_ARE_SECURE_NOW を | |
13388 | ||
7449 | 指定してコンパイルされていますが、setuid エミュレータが、 | |
7450 | 実行されてしまいました。 | |
13389 | 7451 | |
13390 | =item S | |
7452 | =item Switch (?(condition)... contains too many branches before << HE%s | |
13391 | 7453 | |
13392 | 7454 | =begin original |
13393 | 7455 | |
13394 | ( | |
7456 | (F) A (?(condition)if-clause|else-clause) construct can have at most two | |
13395 | ||
7457 | branches (the if-clause and the else-clause). If you want one or both to | |
7458 | contain alternation, such as using C<this|that|other>, enclose it in | |
7459 | clustering parentheses: | |
13396 | 7460 | |
13397 | 7461 | =end original |
13398 | 7462 | |
13399 | ( | |
7463 | (F) (?(condition)if-clause|else-clause) 構造は最大で 2 つの分岐 | |
13400 | ||
13401 | =item Switch (?(condition)... contains too many branches in regex; marked by | |
13402 | S<<-- HERE> in m/%s/ | |
13403 | ||
13404 | =begin original | |
13405 | ||
13406 | (F) A (?(condition)if-clause|else-clause) construct can have at most | |
13407 | two branches (the if-clause and the else-clause). If you want one or | |
13408 | both to contain alternation, such as using C<this|that|other>, enclose | |
13409 | it in clustering parentheses: | |
13410 | ||
13411 | =end original | |
13412 | ||
13413 | (F) (?(condition)if-clause|else-clause) 構造は最大で二つの分岐 | |
13414 | 7464 | (if-clause と else-clause) を持つことができます。 |
13415 | 7465 | 片方、または両方に選択肢を含めたいときは、それをかっこで囲んでください: |
13416 | 7466 | |
13417 | 7467 | (?(condition)(?:this|that|other)|else-clause) |
13418 | 7468 | |
13419 | 7469 | =begin original |
13420 | 7470 | |
13421 | The | |
7471 | The << HERE shows in the regular expression about where the problem was | |
13422 | ||
7472 | discovered. See L<perlre>. | |
13423 | 7473 | |
13424 | 7474 | =end original |
13425 | 7475 | |
13426 | ||
7476 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
13427 | 7477 | L<perlre> を参照してください。 |
13428 | 7478 | |
13429 | =item Switch condition not recognized | |
7479 | =item Switch condition not recognized before << HERE in regex m/%s/ | |
13430 | m/%s/ | |
13431 | 7480 | |
13432 | 7481 | =begin original |
13433 | 7482 | |
13434 | (F) | |
7483 | (F) If the argument to the (?(...)if-clause|else-clause) construct is a | |
13435 | ||
7484 | number, it can be only a number. The << HERE shows in the regular expression | |
7485 | about where the problem was discovered. See L<perlre>. | |
13436 | 7486 | |
13437 | 7487 | =end original |
13438 | 7488 | |
13439 | (?(...)if-clause|else-clause) 構造の | |
7489 | (?(...)if-clause|else-clause) 構造の引数が数値なら、数値だけが可能です。 | |
13440 | ||
7490 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
13441 | ||
13442 | (1) (2) ... true if 1st, 2nd, etc., capture matched | |
13443 | (<NAME>) ('NAME') true if named capture matched | |
13444 | (?=...) (?<=...) true if subpattern matches | |
13445 | (?!...) (?<!...) true if subpattern fails to match | |
13446 | (?{ CODE }) true if code returns a true value | |
13447 | (R) true if evaluating inside recursion | |
13448 | (R1) (R2) ... true if directly inside capture group 1, 2, etc. | |
13449 | (R&NAME) true if directly inside named capture | |
13450 | (DEFINE) always false; for defining named subpatterns | |
13451 | ||
13452 | =begin original | |
13453 | ||
13454 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
13455 | discovered. See L<perlre>. | |
13456 | ||
13457 | =end original | |
13458 | ||
13459 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
13460 | 7491 | L<perlre> を参照してください。 |
13461 | 7492 | |
13462 | =item Switch (?(condition)... not terminated in regex; marked by | |
13463 | S<<-- HERE> in m/%s/ | |
13464 | ||
13465 | =begin original | |
13466 | ||
13467 | (F) You omitted to close a (?(condition)...) block somewhere | |
13468 | in the pattern. Add a closing parenthesis in the appropriate | |
13469 | position. See L<perlre>. | |
13470 | ||
13471 | =end original | |
13472 | ||
13473 | (F) パターン中のどこかで (?(condition)...) ブロックを閉じるのを省略しました。 | |
13474 | 適切な位置に閉じかっこを追加してください。 | |
13475 | L<perlre> を参照してください。 | |
13476 | ||
13477 | 7493 | =item switching effective %s is not implemented |
13478 | 7494 | |
13479 | 7495 | =begin original |
13480 | 7496 | |
13481 | 7497 | (F) While under the C<use filetest> pragma, we cannot switch the real |
13482 | 7498 | and effective uids or gids. |
13483 | 7499 | |
13484 | 7500 | =end original |
13485 | 7501 | |
13486 | 7502 | (F) C<use filetest> プラグマを使っている間に、 |
13487 | 7503 | 実と実効の UID や GID の切り替えに失敗しました。 |
13488 | 7504 | |
13489 | 7505 | =item syntax error |
13490 | 7506 | |
13491 | 7507 | =begin original |
13492 | 7508 | |
13493 | 7509 | (F) Probably means you had a syntax error. Common reasons include: |
13494 | 7510 | |
13495 | 7511 | =end original |
13496 | 7512 | |
13497 | 7513 | (F) おそらく、構文エラーが起こっています。 |
13498 | 7514 | よくある原因としては以下のことが考えられます: |
13499 | 7515 | |
13500 | 7516 | =begin original |
13501 | 7517 | |
13502 | 7518 | A keyword is misspelled. |
13503 | 7519 | A semicolon is missing. |
13504 | 7520 | A comma is missing. |
13505 | 7521 | An opening or closing parenthesis is missing. |
13506 | 7522 | An opening or closing brace is missing. |
13507 | 7523 | A closing quote is missing. |
13508 | 7524 | |
13509 | 7525 | =end original |
13510 | 7526 | |
13511 | 7527 | キーワードのスペルミス。 |
13512 | 7528 | セミコロンを忘れた。 |
13513 | 7529 | コンマを忘れた。 |
13514 | 開き | |
7530 | 開き括弧、閉じ括弧を忘れた。 | |
13515 | 開き中 | |
7531 | 開き中括弧、閉じ中括弧を忘れた。 | |
13516 | 7532 | クォートの閉じ忘れ。 |
13517 | 7533 | |
13518 | 7534 | =begin original |
13519 | 7535 | |
13520 | 7536 | Often there will be another error message associated with the syntax |
13521 | 7537 | error giving more information. (Sometimes it helps to turn on B<-w>.) |
13522 | 7538 | The error message itself often tells you where it was in the line when |
13523 | 7539 | it decided to give up. Sometimes the actual error is several tokens |
13524 | 7540 | before this, because Perl is good at understanding random input. |
13525 | 7541 | Occasionally the line number may be misleading, and once in a blue moon |
13526 | 7542 | the only way to figure out what's triggering the error is to call |
13527 | 7543 | C<perl -c> repeatedly, chopping away half the program each time to see |
13528 | if the error went away. Sort of the cybernetic version of S<20 | |
7544 | if the error went away. Sort of the cybernetic version of S<20 | |
7545 | questions>. | |
13529 | 7546 | |
13530 | 7547 | =end original |
13531 | 7548 | |
13532 | 7549 | 多くの場合、構文エラーと一緒に、別のエラーメッセージが出て、 |
13533 | 7550 | 情報を与えてくれます。(-w を付けることが、助けになることもあります。) |
13534 | 7551 | エラーメッセージ自身には、何行目まで行って、諦めたのかということも |
13535 | 7552 | 含まれています。 |
13536 | 7553 | Perl はでたらめな入力を理解するのが得意なので、実際のエラーはもう少し前に |
13537 | 7554 | 在ることもあります。 |
13538 | 7555 | ときには、行番号が全く役に立たないこともあり、はまってしまったなら、 |
13539 | 7556 | エラーのきっかけが何かを見つける唯一の手段は、プログラムを寸断して、 |
13540 | 7557 | エラーがなくなるまで、perl -c を繰り返すしかありません。 |
13541 | 7558 | S<頭の体操 20 問>だと思ってください。 |
13542 | 7559 | |
13543 | =item syntax error at line %d: | |
7560 | =item syntax error at line %d: `%s' unexpected | |
13544 | 7561 | |
13545 | 7562 | =begin original |
13546 | 7563 | |
13547 | 7564 | (A) You've accidentally run your script through the Bourne shell instead |
13548 | 7565 | of Perl. Check the #! line, or manually feed your script into Perl |
13549 | 7566 | yourself. |
13550 | 7567 | |
13551 | 7568 | =end original |
13552 | 7569 | |
13553 | 7570 | (A) スクリプトを perl ではなく Bourne shell で実行しようとしました。 |
13554 | 7571 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
13555 | 7572 | |
13556 | =item syntax error in file %s at line %d, next 2 tokens "%s" | |
13557 | ||
13558 | =begin original | |
13559 | ||
13560 | (F) This error is likely to occur if you run a perl5 script through | |
13561 | a perl4 interpreter, especially if the next 2 tokens are "use strict" | |
13562 | or "my $var" or "our $var". | |
13563 | ||
13564 | =end original | |
13565 | ||
13566 | (F) このエラーは、perl5 のスクリプトを perl4 インタプリタで実行したときに | |
13567 | おきそうなものです; 特に次の二つのトークンが "use strict" か | |
13568 | "my $var" か "our $var" の場合はそうです。 | |
13569 | ||
13570 | =item Syntax error in (?[...]) in regex m/%s/ | |
13571 | ||
13572 | =begin original | |
13573 | ||
13574 | (F) Perl could not figure out what you meant inside this construct; this | |
13575 | notifies you that it is giving up trying. | |
13576 | ||
13577 | =end original | |
13578 | ||
13579 | (F) Perl はこの構文の中で何を意味しようとしているのかが分かりませんでした; | |
13580 | これは試すのを諦めたことを知らせます。 | |
13581 | ||
13582 | 7573 | =item %s syntax OK |
13583 | 7574 | |
13584 | 7575 | =begin original |
13585 | 7576 | |
13586 | 7577 | (F) The final summary message when a C<perl -c> succeeds. |
13587 | 7578 | |
13588 | 7579 | =end original |
13589 | 7580 | |
13590 | 7581 | (F) C<perl -c> が成功したときの最終まとめメッセージです。 |
13591 | 7582 | |
13592 | =item sysread() on closed filehandle %s | |
13593 | ||
13594 | =begin original | |
13595 | ||
13596 | (W closed) You tried to read from a closed filehandle. | |
13597 | ||
13598 | =end original | |
13599 | ||
13600 | (W closed) 閉じたファイルハンドルから読み込もうとしました。 | |
13601 | ||
13602 | =item sysread() on unopened filehandle %s | |
13603 | ||
13604 | =begin original | |
13605 | ||
13606 | (W unopened) You tried to read from a filehandle that was never opened. | |
13607 | ||
13608 | =end original | |
13609 | ||
13610 | (W unopened) 開いていないファイルハンドルから読み込もうとしました。 | |
13611 | ||
13612 | 7583 | =item System V %s is not implemented on this machine |
13613 | 7584 | |
13614 | 7585 | =begin original |
13615 | 7586 | |
13616 | 7587 | (F) You tried to do something with a function beginning with "sem", |
13617 | 7588 | "shm", or "msg" but that System V IPC is not implemented in your |
13618 | 7589 | machine. In some machines the functionality can exist but be |
13619 | 7590 | unconfigured. Consult your system support. |
13620 | 7591 | |
13621 | 7592 | =end original |
13622 | 7593 | |
13623 | 7594 | (F) 何か、名前が "sem"、"shm"、"msg" で始まる関数を実行しようとしましたが、 |
13624 | 7595 | あなたのマシンには System V IPC が実装されていません。 |
13625 | 7596 | 機能はあっても設定されていない場合もあります。 |
13626 | 7597 | システムサポートに相談してください。 |
13627 | 7598 | |
13628 | 7599 | =item syswrite() on closed filehandle %s |
13629 | 7600 | |
13630 | 7601 | =begin original |
13631 | 7602 | |
13632 | 7603 | (W closed) The filehandle you're writing to got itself closed sometime |
13633 | before now. Check your | |
7604 | before now. Check your logic flow. | |
13634 | 7605 | |
13635 | 7606 | =end original |
13636 | 7607 | |
13637 | (W closed) 書き込みを行なおうとしたファイルハンドルは、 | |
7608 | (W closed) 書き込みを行なおうとしたファイルハンドルは、 | |
13638 | ||
7609 | 既にクローズされています。 | |
7610 | 論理フローをチェックしてください。 | |
13639 | 7611 | |
13640 | =item C<-T> and C<-B> not implemented on filehandles | |
13641 | ||
13642 | =begin original | |
13643 | ||
13644 | (F) Perl can't peek at the stdio buffer of filehandles when it doesn't | |
13645 | know about your kind of stdio. You'll have to use a filename instead. | |
13646 | ||
13647 | =end original | |
13648 | ||
13649 | (F) Perl が、お使いの stdio のことをよく知らないとき、 | |
13650 | ファイルハンドルの stdio バッファを覗くことはできません。 | |
13651 | 代わりにファイル名を使わなければなりません。 | |
13652 | ||
13653 | 7612 | =item Target of goto is too deeply nested |
13654 | 7613 | |
13655 | 7614 | =begin original |
13656 | 7615 | |
13657 | 7616 | (F) You tried to use C<goto> to reach a label that was too deeply nested |
13658 | 7617 | for Perl to reach. Perl is doing you a favor by refusing. |
13659 | 7618 | |
13660 | 7619 | =end original |
13661 | 7620 | |
13662 | 7621 | (F) C<goto> で、Perl が届かないほど深くネストしたラベルに移動しようとしました。 |
13663 | 7622 | Perl は親切にもこれを拒否します。 |
13664 | 7623 | |
13665 | =item telldir() attempted on invalid dirhandle %s | |
13666 | ||
13667 | =begin original | |
13668 | ||
13669 | (W io) The dirhandle you tried to telldir() is either closed or not really | |
13670 | a dirhandle. Check your control flow. | |
13671 | ||
13672 | =end original | |
13673 | ||
13674 | (W io) telldir() しようとしたディレクトリハンドルは既に閉じられているか、 | |
13675 | 実際にはディレクトリハンドルではありません。 | |
13676 | 制御フローをチェックしてください。 | |
13677 | ||
13678 | 7624 | =item tell() on unopened filehandle |
13679 | 7625 | |
13680 | 7626 | =begin original |
13681 | 7627 | |
13682 | 7628 | (W unopened) You tried to use the tell() function on a filehandle that |
13683 | 7629 | was either never opened or has since been closed. |
13684 | 7630 | |
13685 | 7631 | =end original |
13686 | 7632 | |
13687 | 7633 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
13688 | 7634 | ファイルハンドルに対して、tell() 関数を使おうとしました。 |
13689 | 7635 | |
13690 | 7636 | =item That use of $[ is unsupported |
13691 | 7637 | |
13692 | 7638 | =begin original |
13693 | 7639 | |
13694 | 7640 | (F) Assignment to C<$[> is now strictly circumscribed, and interpreted |
13695 | 7641 | as a compiler directive. You may say only one of |
13696 | 7642 | |
13697 | 7643 | =end original |
13698 | 7644 | |
13699 | 7645 | (F) 現在、C<$[> への代入は、厳しく制限され、コンパイラ指示子と解釈されます。 |
13700 | 7646 | 使えるのは以下の形だけです: |
13701 | 7647 | |
13702 | 7648 | $[ = 0; |
13703 | 7649 | $[ = 1; |
13704 | 7650 | ... |
13705 | 7651 | local $[ = 0; |
13706 | 7652 | local $[ = 1; |
13707 | 7653 | ... |
13708 | 7654 | |
13709 | 7655 | =begin original |
13710 | 7656 | |
13711 | 7657 | This is to prevent the problem of one module changing the array base out |
13712 | from under another module inadvertently. See L<perlvar/$[> | |
7658 | from under another module inadvertently. See L<perlvar/$[>. | |
13713 | 7659 | |
13714 | 7660 | =end original |
13715 | 7661 | |
13716 | 7662 | これは、一つのモジュールで、他のモジュールが意図しないような、 |
13717 | 7663 | 配列のベースを変更する問題を回避するためのものです。 |
13718 | L<perlvar/$[> | |
7664 | L<perlvar/$[> を参照してください。 | |
13719 | 7665 | |
13720 | =item The | |
7666 | =item The crypt() function is unimplemented due to excessive paranoia | |
13721 | 7667 | |
13722 | 7668 | =begin original |
13723 | 7669 | |
13724 | (S experimental::bitwise) This warning is emitted if you use bitwise | |
13725 | operators (C<& | ^ ~ &. |. ^. ~.>) with the "bitwise" feature enabled. | |
13726 | Simply suppress the warning if you want to use the feature, but know | |
13727 | that in doing so you are taking the risk of using an experimental | |
13728 | feature which may change or be removed in a future Perl version: | |
13729 | ||
13730 | =end original | |
13731 | ||
13732 | (S experimental::bitwise) この警告は、"bitwise" 機能が有効のときに | |
13733 | ビット単位演算子 (C<& | ^ ~ &. |. ^. ~.>) を使うときに出力されます。 | |
13734 | この機能を使いたいけれども、そうすることで将来の Perl バージョンで | |
13735 | 変更されるかもしれない実験的機能を使うリスクを取ることを分かっている場合は、 | |
13736 | 単に警告を抑制してください: | |
13737 | ||
13738 | no warnings "experimental::bitwise"; | |
13739 | use feature "bitwise"; | |
13740 | $x |.= $y; | |
13741 | ||
13742 | =item The crypt() function is unimplemented due to excessive paranoia. | |
13743 | ||
13744 | =begin original | |
13745 | ||
13746 | 7670 | (F) Configure couldn't find the crypt() function on your machine, |
13747 | 7671 | probably because your vendor didn't supply it, probably because they |
13748 | 7672 | think the U.S. Government thinks it's a secret, or at least that they |
13749 | 7673 | will continue to pretend that it is. And if you quote me on that, I |
13750 | 7674 | will deny it. |
13751 | 7675 | |
13752 | 7676 | =end original |
13753 | 7677 | |
13754 | (F) Configure は、マシン上で crypt() 関数を見つけられませんでした | |
7678 | (F) Configure は、マシン上で crypt() 関数を見つけられませんでした。 | |
13755 | 7679 | おそらく、ベンダからの供給がなかったからで、おそらく、ベンダは |
13756 | 7680 | アメリカ政府がそれを秘密だとしていると思っているか、 |
13757 | 7681 | 少なくとも思っているというふりをしているのでしょう。 |
13758 | 7682 | 私を引き合いに出したところで、それは否定されることでしょう。 |
13759 | 7683 | |
13760 | 7684 | =item The %s function is unimplemented |
13761 | 7685 | |
13762 | 7686 | =begin original |
13763 | 7687 | |
13764 | ||
7688 | The function indicated isn't implemented on this architecture, according | |
13765 | ||
7689 | to the probings of Configure. | |
13766 | 7690 | |
13767 | 7691 | =end original |
13768 | 7692 | |
13769 | 7693 | (F) この関数は、Configure の調査によると、このアーキテクチャでは、 |
13770 | 7694 | 実装されていないようです。 |
13771 | 7695 | |
13772 | =item The | |
7696 | =item The stat preceding C<-l _> wasn't an lstat | |
13773 | 7697 | |
13774 | 7698 | =begin original |
13775 | 7699 | |
13776 | (S experimental::lexical_subs) This warning is emitted if you | |
13777 | declare a sub with C<my> or C<state>. Simply suppress the warning | |
13778 | if you want to use the feature, but know that in doing so you | |
13779 | are taking the risk of using an experimental feature which may | |
13780 | change or be removed in a future Perl version: | |
13781 | ||
13782 | =end original | |
13783 | ||
13784 | (S experimental::lexical_subs) この警告は、サブルーチンを C<my> または | |
13785 | C<state> で宣言すると出力されます。 | |
13786 | この機能を使いたいけれども、そうすることで将来の Perl バージョンで | |
13787 | 変更されるかもしれない実験的機能を使うリスクを取ることを分かっている場合は、 | |
13788 | 単に警告を抑制してください: | |
13789 | ||
13790 | no warnings "experimental::lexical_subs"; | |
13791 | use feature "lexical_subs"; | |
13792 | my sub foo { ... } | |
13793 | ||
13794 | =item The regex_sets feature is experimental | |
13795 | ||
13796 | =begin original | |
13797 | ||
13798 | (S experimental::regex_sets) This warning is emitted if you | |
13799 | use the syntax S<C<(?[ ])>> in a regular expression. | |
13800 | The details of this feature are subject to change. | |
13801 | if you want to use it, but know that in doing so you | |
13802 | are taking the risk of using an experimental feature which may | |
13803 | change in a future Perl version, you can do this to silence the | |
13804 | warning: | |
13805 | ||
13806 | =end original | |
13807 | ||
13808 | (S experimental::regex_sets) この警告は、正規表現で S<C<(?[ ])>> 構文を | |
13809 | 使うと出力されます。 | |
13810 | この機能の詳細は変更されることがあります。 | |
13811 | この機能を使いたいけれども、そうすることで将来の Perl バージョンで | |
13812 | 変更されるかもしれない実験的機能を使うリスクを取ることを分かっている場合は、 | |
13813 | 以下のようにして警告を黙らせられます: | |
13814 | ||
13815 | no warnings "experimental::regex_sets"; | |
13816 | ||
13817 | =item The signatures feature is experimental | |
13818 | ||
13819 | =begin original | |
13820 | ||
13821 | (S experimental::signatures) This warning is emitted if you unwrap a | |
13822 | subroutine's arguments using a signature. Simply suppress the warning | |
13823 | if you want to use the feature, but know that in doing so you are taking | |
13824 | the risk of using an experimental feature which may change or be removed | |
13825 | in a future Perl version: | |
13826 | ||
13827 | =end original | |
13828 | ||
13829 | (S experimental::signatures) この警告は、シグネチャを使ったサブルーチンの | |
13830 | 引数を展開するときに出力されます。 | |
13831 | この機能を使いたいけれども、そうすることで将来の Perl バージョンで | |
13832 | 変更されるかもしれない実験的機能を使うリスクを取ることを分かっている場合は、 | |
13833 | 単に警告を抑制してください: | |
13834 | ||
13835 | no warnings "experimental::signatures"; | |
13836 | use feature "signatures"; | |
13837 | sub foo ($left, $right) { ... } | |
13838 | ||
13839 | =item The stat preceding %s wasn't an lstat | |
13840 | ||
13841 | =begin original | |
13842 | ||
13843 | 7700 | (F) It makes no sense to test the current stat buffer for symbolic |
13844 | 7701 | linkhood if the last stat that wrote to the stat buffer already went |
13845 | 7702 | past the symlink to get to the real file. Use an actual filename |
13846 | 7703 | instead. |
13847 | 7704 | |
13848 | 7705 | =end original |
13849 | 7706 | |
13850 | 7707 | (F) 過去の stat がシンボリックリンクを通り過ぎた、実際のファイルの |
13851 | 7708 | 情報を取って、stat バッファに入れているときに、シンボリックタイプの |
13852 | 7709 | stat をカレント stat バッファに対して行なっても意味がありません。 |
13853 | 7710 | 実際のファイル名を使ってください。 |
13854 | 7711 | |
13855 | =item The 'unique' attribute may only be applied to 'our' variables | |
13856 | ||
13857 | =begin original | |
13858 | ||
13859 | (F) This attribute was never supported on C<my> or C<sub> declarations. | |
13860 | ||
13861 | =end original | |
13862 | ||
13863 | (F) この属性は C<my> や C<sub> の宣言では対応していません。 | |
13864 | ||
13865 | 7712 | =item This Perl can't reset CRTL environ elements (%s) |
13866 | 7713 | |
13867 | 7714 | =item This Perl can't set CRTL environ elements (%s=%s) |
13868 | 7715 | |
13869 | 7716 | =begin original |
13870 | 7717 | |
13871 | 7718 | (W internal) Warnings peculiar to VMS. You tried to change or delete an |
13872 | 7719 | element of the CRTL's internal environ array, but your copy of Perl |
13873 | 7720 | wasn't built with a CRTL that contained the setenv() function. You'll |
13874 | 7721 | need to rebuild Perl with a CRTL that does, or redefine |
13875 | 7722 | F<PERL_ENV_TABLES> (see L<perlvms>) so that the environ array isn't the |
13876 | 7723 | target of the change to |
13877 | 7724 | %ENV which produced the warning. |
13878 | 7725 | |
13879 | 7726 | =end original |
13880 | 7727 | |
13881 | (W internal) VMS | |
7728 | (W internal) VMS 固有の警告です。 | |
13882 | 7729 | CRTL の内部環境配列を変更または削除しようとしましたが、この Perl は |
13883 | 7730 | setenv() 関数を含んだ CRTL でビルドされていません。 |
13884 | 7731 | これを含む CRTL を使って Perl を再ビルドするか、環境配列がこの警告を |
13885 | 7732 | 出力している %ENV を変更するターゲットとならないように |
13886 | 7733 | F<PERL_ENV_TABLES> (L<perlvms> を参照してください) を再定義してください。 |
13887 | 7734 | |
13888 | =item | |
7735 | =item times not implemented | |
13889 | 7736 | |
13890 | 7737 | =begin original |
13891 | 7738 | |
13892 | (F) | |
7739 | (F) Your version of the C library apparently doesn't do times(). I | |
13893 | ||
7740 | suspect you're not running on Unix. | |
13894 | key traversal, but this Perl has been compiled without it. You should | |
13895 | report this warning to the relevant upstream party, or recompile perl | |
13896 | with default options. | |
13897 | 7741 | |
13898 | 7742 | =end original |
13899 | 7743 | |
13900 | (F) | |
7744 | (F) お使いの C ライブラリでは、times() を行わないようです。 | |
13901 | ||
7745 | UNIX ではない環境でしょうか。 | |
13902 | コンパイルされていました。 | |
13903 | この警告を関係する上流グループに報告するか、デフォルトオプションで perl を | |
13904 | 再コンパイルしてください。 | |
13905 | 7746 | |
13906 | =item | |
7747 | =item Too few args to syscall | |
13907 | 7748 | |
13908 | 7749 | =begin original |
13909 | 7750 | |
13910 | (F) | |
7751 | (F) There has to be at least one argument to syscall() to specify the | |
13911 | s | |
7752 | system call to call, silly dilly. | |
13912 | 7753 | |
13913 | 7754 | =end original |
13914 | 7755 | |
13915 | (F) | |
7756 | (F) syscall() には、最低限でも呼び出すシステムコールを示す、 | |
13916 | ||
7757 | 引数が一つ必要です。 | |
13917 | 7758 | |
13918 | =item | |
7759 | =item Too late for "B<-T>" option | |
13919 | 7760 | |
13920 | 7761 | =begin original |
13921 | 7762 | |
13922 | (X) The #! line (or local equivalent) in a Perl script contains | |
7763 | (X) The #! line (or local equivalent) in a Perl script contains the | |
13923 | ||
7764 | B<-T> option, but Perl was not invoked with B<-T> in its command line. | |
13924 | ||
7765 | This is an error because, by the time Perl discovers a B<-T> in a | |
13925 | ||
7766 | script, it's too late to properly taint everything from the environment. | |
13926 | ||
7767 | So Perl gives up. | |
13927 | 7768 | |
13928 | 7769 | =end original |
13929 | 7770 | |
13930 | 7771 | (X) Perl スクリプトの #! 行(あるいはローカルで等価なもの)に B<-T> |
13931 | オプション | |
7772 | オプションが含まれていますが、Perl はコマンドラインで B<-T> 付きで | |
13932 | ||
7773 | 起動されていません。 | |
13933 | 7774 | Perl がスクリプトの中で B<-T> を発見した時点では、環境からの全てを |
13934 | 7775 | 汚染チェックするには遅すぎるので、これはエラーになります。 |
13935 | 7776 | それで Perl は諦めます。 |
13936 | 7777 | |
13937 | 7778 | =begin original |
13938 | 7779 | |
13939 | 7780 | If the Perl script is being executed as a command using the #! |
13940 | mechanism (or its local equivalent), this error can usually be | |
7781 | mechanism (or its local equivalent), this error can usually be fixed by | |
13941 | ||
7782 | editing the #! line so that the B<-T> option is a part of Perl's first | |
13942 | ||
7783 | argument: e.g. change C<perl -n -T> to C<perl -T -n>. | |
13943 | 7784 | |
13944 | 7785 | =end original |
13945 | 7786 | |
13946 | 7787 | perl スクリプトが #! 機構(またはローカルな等価な機構)を使ってコマンドとして |
13947 | 実行される場合、このエラーは普通 B<- | |
7788 | 実行される場合、このエラーは普通 B<-T> オプションを Perl の最初の引数に | |
13948 | 変更する(C<perl -n - | |
7789 | 変更する(C<perl -n -T> を C<perl -T -n> に変更する)ことで修正されます。 | |
13949 | 7790 | |
13950 | 7791 | =begin original |
13951 | 7792 | |
13952 | 7793 | If the Perl script is being executed as C<perl scriptname>, then the |
13953 | B<- | |
7794 | B<-T> option must appear on the command line: C<perl -T scriptname>. | |
13954 | 7795 | |
13955 | 7796 | =end original |
13956 | 7797 | |
13957 | 7798 | Perl スクリプトが C<perl scriptname> として起動される場合、B<-T> オプションは |
13958 | コマンドラインに書かなければなりません: C<perl - | |
7799 | コマンドラインに書かなければなりません: C<perl -T scriptname> | |
13959 | 7800 | |
13960 | =item To%s: illegal mapping '%s' | |
13961 | ||
13962 | =begin original | |
13963 | ||
13964 | (F) You tried to define a customized To-mapping for lc(), lcfirst, | |
13965 | uc(), or ucfirst() (or their string-inlined versions), but you | |
13966 | specified an illegal mapping. | |
13967 | See L<perlunicode/"User-Defined Character Properties">. | |
13968 | ||
13969 | =end original | |
13970 | ||
13971 | (F) lc(), lcfirst, uc(), or ucfirst() (またはこれらの文字列組み込み版)の | |
13972 | ためのカスタマイズされた変換先マッピングを定義しようとしましたが、 | |
13973 | 不正なマッピングを指定しました。 | |
13974 | L<perlunicode/"User-Defined Character Properties"> を参照してください。 | |
13975 | ||
13976 | =item Too deeply nested ()-groups | |
13977 | ||
13978 | =begin original | |
13979 | ||
13980 | (F) Your template contains ()-groups with a ridiculously deep nesting level. | |
13981 | ||
13982 | =end original | |
13983 | ||
13984 | (F) テンプレートに、おかしいぐらいネストした () グループがあります。 | |
13985 | ||
13986 | =item Too few args to syscall | |
13987 | ||
13988 | =begin original | |
13989 | ||
13990 | (F) There has to be at least one argument to syscall() to specify the | |
13991 | system call to call, silly dilly. | |
13992 | ||
13993 | =end original | |
13994 | ||
13995 | (F) syscall() には、最低限でも呼び出すシステムコールを示す、 | |
13996 | 引数が一つ必要です。 | |
13997 | ||
13998 | =item Too few arguments for subroutine | |
13999 | ||
14000 | =begin original | |
14001 | ||
14002 | (F) A subroutine using a signature received fewer arguments than required | |
14003 | by the signature. The caller of the subroutine is presumably at fault. | |
14004 | Inconveniently, this error will be reported at the location of the | |
14005 | subroutine, not that of the caller. | |
14006 | ||
14007 | =end original | |
14008 | ||
14009 | (F) シグネチャを使っているサブルーチンが、シグネチャが要求しているよりも | |
14010 | 少ない引数を受け取りました。 | |
14011 | おそらくサブルーチンの呼び出し元が間違っています。 | |
14012 | 不便なことに、このエラーは呼び出し元ではなく、サブルーチンの位置で | |
14013 | 報告されます。 | |
14014 | ||
14015 | 7801 | =item Too late for "-%s" option |
14016 | 7802 | |
14017 | 7803 | =begin original |
14018 | 7804 | |
14019 | 7805 | (X) The #! line (or local equivalent) in a Perl script contains the |
14020 | B<-M> | |
7806 | B<-M> or B<-m> option. This is an error because B<-M> and B<-m> options | |
14021 | ||
14022 | =end original | |
14023 | ||
14024 | (X) Perl スクリプトの #! 行(またはローカルな等価な機構)に B<-M>, B<-m>, | |
14025 | B<-C> オプションが含まれています。 | |
14026 | ||
14027 | =begin original | |
14028 | ||
14029 | In the case of B<-M> and B<-m>, this is an error because those options | |
14030 | 7807 | are not intended for use inside scripts. Use the C<use> pragma instead. |
14031 | 7808 | |
14032 | 7809 | =end original |
14033 | 7810 | |
14034 | ||
7811 | (X) Perl スクリプトの #! 行(またはローカルな等価な機構)に B<-M> や | |
7812 | B<-m> オプションが含まれています。 | |
7813 | B<-M> と B<-m> のオプションは、スクリプト内部で使うためのものではないので、 | |
14035 | 7814 | これはエラーになります。 |
14036 | 7815 | 代わりに C<use> プラグマを使ってください。 |
14037 | 7816 | |
14038 | =begin original | |
14039 | ||
14040 | The B<-C> option only works if it is specified on the command line as | |
14041 | well (with the same sequence of letters or numbers following). Either | |
14042 | specify this option on the command line, or, if your system supports | |
14043 | it, make your script executable and run it directly instead of passing | |
14044 | it to perl. | |
14045 | ||
14046 | =end original | |
14047 | ||
14048 | B<-C> オプションは、コマンドラインも (以下と同じ文字と数値の並びで) | |
14049 | 指定されたときにのみ動作します。 | |
14050 | このオプションをコマンドラインで指定するか、もしシステムが対応しているなら、 | |
14051 | スクリプトを perl に渡すのではなく、スクリプトを実行可能にして | |
14052 | 直接実行してください。 | |
14053 | ||
14054 | 7817 | =item Too late to run %s block |
14055 | 7818 | |
14056 | 7819 | =begin original |
14057 | 7820 | |
14058 | 7821 | (W void) A CHECK or INIT block is being defined during run time proper, |
14059 | 7822 | when the opportunity to run them has already passed. Perhaps you are |
14060 | 7823 | loading a file with C<require> or C<do> when you should be using C<use> |
14061 | 7824 | instead. Or perhaps you should put the C<require> or C<do> inside a |
14062 | 7825 | BEGIN block. |
14063 | 7826 | |
14064 | 7827 | =end original |
14065 | 7828 | |
14066 | 7829 | (W void) CHECK か INIT のブロックが、それが実行される機会が過ぎてから |
14067 | 7830 | 実行時に定義されました。 |
14068 | 7831 | おそらく C<use> を使うべきときに C<require> か C<do> を使ってファイルを |
14069 | 7832 | 読み込んでいます。 |
14070 | 7833 | あるいはおそらく BEGIN ブロックの中に C<require> か C<do> を |
14071 | 7834 | 書いたのでしょう。 |
14072 | 7835 | |
14073 | 7836 | =item Too many args to syscall |
14074 | 7837 | |
14075 | 7838 | =begin original |
14076 | 7839 | |
14077 | 7840 | (F) Perl supports a maximum of only 14 args to syscall(). |
14078 | 7841 | |
14079 | 7842 | =end original |
14080 | 7843 | |
14081 | 7844 | (F) Perl では、syscall() に最大 14 までしか、引数を渡すことができません。 |
14082 | 7845 | |
14083 | 7846 | =item Too many arguments for %s |
14084 | 7847 | |
14085 | 7848 | =begin original |
14086 | 7849 | |
14087 | 7850 | (F) The function requires fewer arguments than you specified. |
14088 | 7851 | |
14089 | 7852 | =end original |
14090 | 7853 | |
14091 | 7854 | (F) 関数が要求する以上の引数を指定しました。 |
14092 | 7855 | |
14093 | =item Too many arguments for subroutine | |
14094 | ||
14095 | =begin original | |
14096 | ||
14097 | (F) A subroutine using a signature received more arguments than required | |
14098 | by the signature. The caller of the subroutine is presumably at fault. | |
14099 | Inconveniently, this error will be reported at the location of the | |
14100 | subroutine, not that of the caller. | |
14101 | ||
14102 | =end original | |
14103 | ||
14104 | (F) シグネチャを使っているサブルーチンが、シグネチャが要求しているよりも | |
14105 | 多い引数を受け取りました。 | |
14106 | おそらくサブルーチンの呼び出し元が間違っています。 | |
14107 | 不便なことに、このエラーは呼び出し元ではなく、サブルーチンの位置で | |
14108 | 報告されます。 | |
14109 | ||
14110 | 7856 | =item Too many )'s |
14111 | 7857 | |
14112 | 7858 | =begin original |
14113 | 7859 | |
14114 | 7860 | (A) You've accidentally run your script through B<csh> instead of Perl. |
14115 | 7861 | Check the #! line, or manually feed your script into Perl yourself. |
14116 | 7862 | |
14117 | 7863 | =end original |
14118 | 7864 | |
14119 | 7865 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
14120 | 7866 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
14121 | 7867 | |
14122 | 7868 | =item Too many ('s |
14123 | 7869 | |
14124 | = | |
7870 | =item trailing \ in regexp | |
14125 | 7871 | |
14126 | (A) You've accidentally run your script through B<csh> instead of Perl. | |
14127 | Check the #! line, or manually feed your script into Perl yourself. | |
14128 | ||
14129 | =end original | |
14130 | ||
14131 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 | |
14132 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 | |
14133 | ||
14134 | =item Trailing \ in regex m/%s/ | |
14135 | ||
14136 | 7872 | =begin original |
14137 | 7873 | |
14138 | 7874 | (F) The regular expression ends with an unbackslashed backslash. |
14139 | 7875 | Backslash it. See L<perlre>. |
14140 | 7876 | |
14141 | 7877 | =end original |
14142 | 7878 | |
14143 | 7879 | (F) 正規表現が、バックスラッシュを付けていないバックスラッシュで |
14144 | 7880 | 終了しました。バックスラッシュを付けてください。 |
14145 | 7881 | L<perlre> を参照してください。 |
14146 | 7882 | |
14147 | 7883 | =item Transliteration pattern not terminated |
14148 | 7884 | |
14149 | 7885 | =begin original |
14150 | 7886 | |
14151 | 7887 | (F) The lexer couldn't find the interior delimiter of a tr/// or tr[][] |
14152 | 7888 | or y/// or y[][] construct. Missing the leading C<$> from variables |
14153 | 7889 | C<$tr> or C<$y> may cause this error. |
14154 | 7890 | |
14155 | 7891 | =end original |
14156 | 7892 | |
14157 | (F) tr///, tr[][], y///, y[][] 構文の真ん中の区切り文字が | |
7893 | (F) tr///, tr[][], y///, y[][] 構文の真ん中の区切り文字が | |
14158 | 7894 | 見つかりませんでした。 |
14159 | 7895 | C<$tr> 変数 や C<$y> 変数の前に C<$> をつけるのを忘れると |
14160 | 7896 | このエラーが出ることがあります。 |
14161 | 7897 | |
7898 | ||
14162 | 7899 | =item Transliteration replacement not terminated |
14163 | 7900 | |
14164 | 7901 | =begin original |
14165 | 7902 | |
14166 | (F) The lexer couldn't find the final delimiter of a tr/// | |
7903 | (F) The lexer couldn't find the final delimiter of a tr/// or tr[][] | |
14167 | ||
7904 | construct. | |
14168 | 7905 | |
14169 | 7906 | =end original |
14170 | 7907 | |
14171 | (F) tr/// | |
7908 | (F) tr/// もしくは tr[][] 構文の最後の区切り文字が見つかりませんでした。 | |
14172 | 見つかりませんでした。 | |
14173 | 7909 | |
14174 | =item '%s' trapped by operation mask | |
14175 | ||
14176 | =begin original | |
14177 | ||
14178 | (F) You tried to use an operator from a Safe compartment in which it's | |
14179 | disallowed. See L<Safe>. | |
14180 | ||
14181 | =end original | |
14182 | ||
14183 | (F) Safe 区画の中で、許されていない演算子を使おうとしました。 | |
14184 | L<Safe> を参照してください。 | |
14185 | ||
14186 | 7910 | =item truncate not implemented |
14187 | 7911 | |
14188 | 7912 | =begin original |
14189 | 7913 | |
14190 | 7914 | (F) Your machine doesn't implement a file truncation mechanism that |
14191 | 7915 | Configure knows about. |
14192 | 7916 | |
14193 | 7917 | =end original |
14194 | 7918 | |
14195 | 7919 | (F) このマシンでは、Configure が知りうる、ファイルの切り詰めの機能が |
14196 | 7920 | 実装されていません。 |
14197 | 7921 | |
14198 | =item Type of arg %d to &CORE::%s must be %s | |
14199 | ||
14200 | =begin original | |
14201 | ||
14202 | (F) The subroutine in question in the CORE package requires its argument | |
14203 | to be a hard reference to data of the specified type. Overloading is | |
14204 | ignored, so a reference to an object that is not the specified type, but | |
14205 | nonetheless has overloading to handle it, will still not be accepted. | |
14206 | ||
14207 | =end original | |
14208 | ||
14209 | (F) CORE パッケージにある問題のサブルーチンは、引数に特定の型のデータへの | |
14210 | ハードリファレンスを要求しています。 | |
14211 | オーバーロードは無視されるので、指定された型ではないけれども、それを | |
14212 | 扱えるようにオーバーロードされたオブジェクトへのリファレンスでも | |
14213 | 受け付けられません。 | |
14214 | ||
14215 | 7922 | =item Type of arg %d to %s must be %s (not %s) |
14216 | 7923 | |
14217 | 7924 | =begin original |
14218 | 7925 | |
14219 | 7926 | (F) This function requires the argument in that position to be of a |
14220 | 7927 | certain type. Arrays must be @NAME or C<@{EXPR}>. Hashes must be |
14221 | 7928 | %NAME or C<%{EXPR}>. No implicit dereferencing is allowed--use the |
14222 | 7929 | {EXPR} forms as an explicit dereference. See L<perlref>. |
14223 | 7930 | |
14224 | 7931 | =end original |
14225 | 7932 | |
14226 | 7933 | (F) この関数は、その位置に決まった型の引数を必要とします。 |
14227 | 配列は、@NAME もしくは C<@{EXPR}> でな | |
7934 | 配列は、@NAME もしくは C<@{EXPR}> でなくてはならず、ハッシュは、 | |
14228 | ||
7935 | %NAME もしくは C<%{EXPR}> でなければなりません。 | |
14229 | 7936 | 暗黙の被参照は許されませんので、明示的な被参照として、 |
14230 | 7937 | {EXPR} 形式を使ってください。 |
14231 | 7938 | L<perlref> を参照してください。 |
14232 | 7939 | |
7940 | =item umask: argument is missing initial 0 | |
7941 | ||
7942 | =begin original | |
7943 | ||
7944 | (W umask) A umask of 222 is incorrect. It should be 0222, because octal | |
7945 | literals always start with 0 in Perl, as in C. | |
7946 | ||
7947 | =end original | |
7948 | ||
7949 | (W umask) umask 222 は正しくありません。 | |
7950 | Perl の 8 進数リテラルは、C と同じように 0 で始まりますから、 | |
7951 | 0222 とすべきです。 | |
7952 | ||
14233 | 7953 | =item umask not implemented |
14234 | 7954 | |
14235 | 7955 | =begin original |
14236 | 7956 | |
14237 | 7957 | (F) Your machine doesn't implement the umask function and you tried to |
14238 | 7958 | use it to restrict permissions for yourself (EXPR & 0700). |
14239 | 7959 | |
14240 | 7960 | =end original |
14241 | 7961 | |
14242 | 7962 | (F) umask 関数が実装されていないマシンで、自分自身の権限を制限する |
14243 | 7963 | (EXPR & 0700) ためにこれを使おうとしました。 |
14244 | 7964 | |
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 | ||
14245 | 7975 | =item Unbalanced context: %d more PUSHes than POPs |
14246 | 7976 | |
14247 | 7977 | =begin original |
14248 | 7978 | |
14249 | ( | |
7979 | (W internal) The exit code detected an internal inconsistency in how | |
14250 | 7980 | many execution contexts were entered and left. |
14251 | 7981 | |
14252 | 7982 | =end original |
14253 | 7983 | |
14254 | ( | |
7984 | (W internal) いくつの実行コンテキストに入って、出たかということの | |
14255 | 7985 | 内部矛盾が exit コードで発見されました。 |
14256 | 7986 | |
14257 | 7987 | =item Unbalanced saves: %d more saves than restores |
14258 | 7988 | |
14259 | 7989 | =begin original |
14260 | 7990 | |
14261 | ( | |
7991 | (W internal) The exit code detected an internal inconsistency in how | |
14262 | 7992 | many values were temporarily localized. |
14263 | 7993 | |
14264 | 7994 | =end original |
14265 | 7995 | |
14266 | ( | |
7996 | (W internal) いくつの値が、一時的にローカル化されたかということの | |
14267 | 7997 | 内部矛盾が exit コードで発見されました。 |
14268 | 7998 | |
14269 | 7999 | =item Unbalanced scopes: %d more ENTERs than LEAVEs |
14270 | 8000 | |
14271 | 8001 | =begin original |
14272 | 8002 | |
14273 | ( | |
8003 | (W internal) The exit code detected an internal inconsistency in how | |
14274 | 8004 | many blocks were entered and left. |
14275 | 8005 | |
14276 | 8006 | =end original |
14277 | 8007 | |
14278 | ( | |
8008 | (W internal) いくつのブロックに入って、出たかということの | |
14279 | 8009 | 内部矛盾が exit コードで発見されました。 |
14280 | 8010 | |
14281 | =item Unbalanced string table refcount: (%d) for "%s" | |
14282 | ||
14283 | =begin original | |
14284 | ||
14285 | (S internal) On exit, Perl found some strings remaining in the shared | |
14286 | string table used for copy on write and for hash keys. The entries | |
14287 | should have been freed, so this indicates a bug somewhere. | |
14288 | ||
14289 | =end original | |
14290 | ||
14291 | (S internal) 終了時に、ハッシュキーのためのコピーオンライトのための | |
14292 | 共有文字列テーブルに文字列が残っていることを Perl が発見しました。 | |
14293 | エントリは開放されている必要があるので、これはどこかにバグがあることを | |
14294 | 示しています。 | |
14295 | ||
14296 | 8011 | =item Unbalanced tmps: %d more allocs than frees |
14297 | 8012 | |
14298 | 8013 | =begin original |
14299 | 8014 | |
14300 | ( | |
8015 | (W internal) The exit code detected an internal inconsistency in how | |
14301 | 8016 | many mortal scalars were allocated and freed. |
14302 | 8017 | |
14303 | 8018 | =end original |
14304 | 8019 | |
14305 | ( | |
8020 | (W internal) いくつの揮発性スカラの割り当てを行ない、解放したかと | |
14306 | 8021 | いうことの内部矛盾が exit コードで発見されました。 |
14307 | 8022 | |
14308 | 8023 | =item Undefined format "%s" called |
14309 | 8024 | |
14310 | 8025 | =begin original |
14311 | 8026 | |
14312 | 8027 | (F) The format indicated doesn't seem to exist. Perhaps it's really in |
14313 | 8028 | another package? See L<perlform>. |
14314 | 8029 | |
14315 | 8030 | =end original |
14316 | 8031 | |
14317 | (F) | |
8032 | (F) このフォーマットは存在しないように見えます。 | |
14318 | おそらく | |
8033 | おそらく、別のパッケージに存在するのではないでしょうか。 | |
14319 | 8034 | L<perlform> を参照してください。 |
14320 | 8035 | |
14321 | 8036 | =item Undefined sort subroutine "%s" called |
14322 | 8037 | |
14323 | 8038 | =begin original |
14324 | 8039 | |
14325 | 8040 | (F) The sort comparison routine specified doesn't seem to exist. |
14326 | 8041 | Perhaps it's in a different package? See L<perlfunc/sort>. |
14327 | 8042 | |
14328 | 8043 | =end original |
14329 | 8044 | |
14330 | 8045 | (F) 指定された sort の比較ルーティンは存在していないように思われます。 |
14331 | 8046 | おそらく、別のパッケージに存在するのではないでしょうか。 |
14332 | L<perlfunc/sort> | |
8047 | L<perlfunc/sort>を参照してください。 | |
14333 | 8048 | |
14334 | 8049 | =item Undefined subroutine &%s called |
14335 | 8050 | |
14336 | 8051 | =begin original |
14337 | 8052 | |
14338 | 8053 | (F) The subroutine indicated hasn't been defined, or if it was, it has |
14339 | 8054 | since been undefined. |
14340 | 8055 | |
14341 | 8056 | =end original |
14342 | 8057 | |
14343 | (F) 指定されたサブルー | |
8058 | (F) 指定されたサブルーティンが定義されていません。 | |
14344 | 既に未定義になっています。 | |
8059 | 定義されていたとしても、既に未定義になっています。 | |
14345 | 8060 | |
14346 | 8061 | =item Undefined subroutine called |
14347 | 8062 | |
14348 | 8063 | =begin original |
14349 | 8064 | |
14350 | 8065 | (F) The anonymous subroutine you're trying to call hasn't been defined, |
14351 | 8066 | or if it was, it has since been undefined. |
14352 | 8067 | |
14353 | 8068 | =end original |
14354 | 8069 | |
14355 | (F) 呼びだそうとしている無名のサブルー | |
8070 | (F) 呼びだそうとしている無名のサブルーティンは、定義されていません。 | |
14356 | 8071 | 定義されていたとしても、既に未定義になっています。 |
14357 | 8072 | |
14358 | 8073 | =item Undefined subroutine in sort |
14359 | 8074 | |
14360 | 8075 | =begin original |
14361 | 8076 | |
14362 | 8077 | (F) The sort comparison routine specified is declared but doesn't seem |
14363 | 8078 | to have been defined yet. See L<perlfunc/sort>. |
14364 | 8079 | |
14365 | 8080 | =end original |
14366 | 8081 | |
14367 | 8082 | (F) 指定された sort の比較ルーティンは宣言されましたが、 |
14368 | 8083 | 定義されていないようです。 |
14369 | 8084 | L<perlfunc/sort> を参照してください。 |
14370 | 8085 | |
14371 | 8086 | =item Undefined top format "%s" called |
14372 | 8087 | |
14373 | 8088 | =begin original |
14374 | 8089 | |
14375 | 8090 | (F) The format indicated doesn't seem to exist. Perhaps it's really in |
14376 | 8091 | another package? See L<perlform>. |
14377 | 8092 | |
14378 | 8093 | =end original |
14379 | 8094 | |
14380 | 8095 | (F) 示されたフォーマットが存在しないようです。 |
14381 | 8096 | おそらく本当は他のパッケージにあるのでは? |
14382 | 8097 | L<perlform> を参照してください。 |
14383 | 8098 | |
14384 | 8099 | =item Undefined value assigned to typeglob |
14385 | 8100 | |
14386 | 8101 | =begin original |
14387 | 8102 | |
14388 | 8103 | (W misc) An undefined value was assigned to a typeglob, a la |
14389 | 8104 | C<*foo = undef>. This does nothing. It's possible that you really mean |
14390 | 8105 | C<undef *foo>. |
14391 | 8106 | |
14392 | 8107 | =end original |
14393 | 8108 | |
14394 | 8109 | (W misc) C<*foo = undef> のように、未定義値を型グロブに代入しました。 |
14395 | 8110 | これは何もしません。 |
14396 | 8111 | 本当は C<undef *foo> としたかったのかもしれません。 |
14397 | 8112 | |
14398 | 8113 | =item %s: Undefined variable |
14399 | 8114 | |
14400 | 8115 | =begin original |
14401 | 8116 | |
14402 | 8117 | (A) You've accidentally run your script through B<csh> instead of Perl. |
14403 | 8118 | Check the #! line, or manually feed your script into Perl yourself. |
14404 | 8119 | |
14405 | 8120 | =end original |
14406 | 8121 | |
14407 | 8122 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
14408 | 8123 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
14409 | 8124 | |
14410 | =item Unescaped left brace in regex is deprecated, passed through in regex; | |
14411 | marked by S<<-- HERE> in m/%s/ | |
14412 | ||
14413 | =begin original | |
14414 | ||
14415 | (D deprecated, regexp) You used a literal C<"{"> character in a regular | |
14416 | expression pattern. You should change to use C<"\{"> instead, because a | |
14417 | future version of Perl (tentatively v5.26) will consider this to be a | |
14418 | syntax error. If the pattern delimiters are also braces, any matching | |
14419 | right brace (C<"}">) should also be escaped to avoid confusing the parser, | |
14420 | for example, | |
14421 | ||
14422 | =end original | |
14423 | ||
14424 | (D deprecated, regexp) 正規表現の中でリテラルな C<"{"> 文字が使われました。 | |
14425 | 代わりに C<"\{"> を使うように変更するべきです; なぜなら | |
14426 | 将来のバージョンの Perl (予定では v5.26) ではこれを文法エラーとして | |
14427 | 扱う予定だからです。 | |
14428 | パターン区切り文字も中かっこの場合、マッチングする右中かっこ | |
14429 | (C<"}">) も、パーサーの混乱を避けるためにエスケープするべきです; 例えば: | |
14430 | ||
14431 | qr{abc\{def\}ghi} | |
14432 | ||
14433 | 8125 | =item unexec of %s into %s failed! |
14434 | 8126 | |
14435 | 8127 | =begin original |
14436 | 8128 | |
14437 | 8129 | (F) The unexec() routine failed for some reason. See your local FSF |
14438 | 8130 | representative, who probably put it there in the first place. |
14439 | 8131 | |
14440 | 8132 | =end original |
14441 | 8133 | |
14442 | 8134 | (F) unexec() ルーティンが何らかの理由によって失敗しました。 |
14443 | 8135 | 最初にインストールしたであろう、サイトの FSF 代表者にたずねてみてください。 |
14444 | 8136 | |
14445 | =item Un | |
8137 | =item Unknown BYTEORDER | |
14446 | marked by S<<-- HERE> in m/%s/ | |
14447 | 8138 | |
14448 | 8139 | =begin original |
14449 | 8140 | |
14450 | (F) | |
8141 | (F) There are no byte-swapping functions for a machine with this byte | |
8142 | order. | |
14451 | 8143 | |
14452 | 8144 | =end original |
14453 | 8145 | |
14454 | (F) | |
8146 | (F) このバイト順序を入れ替える関数がありません。 | |
14455 | 8147 | |
14456 | (? | |
8148 | =item Unknown switch condition (?(%.2s before << HERE in regex m/%s/ | |
14457 | 8149 | |
14458 | 8150 | =begin original |
14459 | 8151 | |
14460 | ||
8152 | (F) The condition of a (?(condition)if-clause|else-clause) construct is not | |
14461 | no | |
8153 | known. The condition may be lookaround (the condition is true if the | |
8154 | lookaround is true), a (?{...}) construct (the condition is true if the | |
8155 | code evaluates to a true value), or a number (the condition is true if the | |
8156 | set of capturing parentheses named by the number is defined). | |
14462 | 8157 | |
14463 | 8158 | =end original |
14464 | 8159 | |
14465 | ||
8160 | (F) (?(condition)if-clause|else-clause) 構文の条件が不明です。 | |
14466 | ||
8161 | 条件は参照 (参照が真なら条件は真)、 | |
8162 | (?{...}) 構文 (コードが真の値に評価されれば真)、 | |
8163 | 数値 (番号付けされた、捕捉されたかっこの集合が定義されていれば真) の | |
8164 | いずれかです。 | |
14467 | 8165 | |
14468 | =item Unexpected character in regex; marked by S<<-- HERE> in m/%s/ | |
14469 | ||
14470 | 8166 | =begin original |
14471 | 8167 | |
14472 | ||
8168 | The << HERE shows in the regular expression about where the problem was | |
8169 | discovered. See L<perlre>. | |
14473 | 8170 | |
14474 | 8171 | =end original |
14475 | 8172 | |
14476 | ||
8173 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
8174 | L<perlre> を参照してください。 | |
14477 | 8175 | |
14478 | (?[ z ]) | |
14479 | ||
14480 | =begin original | |
14481 | ||
14482 | Within C<(?[ ])>, no literal characters are allowed unless they are | |
14483 | within an inner pair of square brackets, like | |
14484 | ||
14485 | =end original | |
14486 | ||
14487 | C<(?[ ])> の中では、次のようにさらに内側の大かっこの内側でない限り | |
14488 | リテラル文字は許されません | |
14489 | ||
14490 | (?[ [ z ] ]) | |
14491 | ||
14492 | =begin original | |
14493 | ||
14494 | Another possibility is that you forgot a backslash. Perl isn't smart | |
14495 | enough to figure out what you really meant. | |
14496 | ||
14497 | =end original | |
14498 | ||
14499 | もう一つの可能性は、逆スラッシュを忘れたことです。 | |
14500 | Perl はあなたが何を意味しているのかを見つけ出せるほど賢くはありませんでした。 | |
14501 | ||
14502 | =item Unexpected constant lvalue entersub entry via type/targ %d:%d | |
14503 | ||
14504 | =begin original | |
14505 | ||
14506 | (P) When compiling a subroutine call in lvalue context, Perl failed an | |
14507 | internal consistency check. It encountered a malformed op tree. | |
14508 | ||
14509 | =end original | |
14510 | ||
14511 | (P) 左辺値コンテキストでのサブルーチン呼び出しをコンパイルするときに、Perl は | |
14512 | 内部一貫性チェックに失敗しました。 | |
14513 | 不正な構文木に遭遇しました。 | |
14514 | ||
14515 | =item Unexpected exit %u | |
14516 | ||
14517 | =begin original | |
14518 | ||
14519 | (S) exit() was called or the script otherwise finished gracefully when | |
14520 | C<PERL_EXIT_WARN> was set in C<PL_exit_flags>. | |
14521 | ||
14522 | =end original | |
14523 | ||
14524 | (S) C<PL_exit_flags> に C<PERL_EXIT_WARN> が設定されているときに exit() が | |
14525 | 呼び出されたりその他の理由で通常終了しました。 | |
14526 | ||
14527 | =item Unexpected exit failure %d | |
14528 | ||
14529 | =begin original | |
14530 | ||
14531 | (S) An uncaught die() was called when C<PERL_EXIT_WARN> was set in | |
14532 | C<PL_exit_flags>. | |
14533 | ||
14534 | =end original | |
14535 | ||
14536 | (S) C<PL_exit_flags> に C<PERL_EXIT_WARN> が設定されているときに | |
14537 | 捕らえられていない die() が呼び出されました。 | |
14538 | ||
14539 | =item Unexpected ')' in regex; marked by S<<-- HERE> in m/%s/ | |
14540 | ||
14541 | =begin original | |
14542 | ||
14543 | (F) You had something like this: | |
14544 | ||
14545 | =end original | |
14546 | ||
14547 | (F) 以下のようなものを書きました: | |
14548 | ||
14549 | (?[ ( \p{Digit} + ) ]) | |
14550 | ||
14551 | =begin original | |
14552 | ||
14553 | The C<")"> is out-of-place. Something apparently was supposed to | |
14554 | be combined with the digits, or the C<"+"> shouldn't be there, or | |
14555 | something like that. Perl can't figure out what was intended. | |
14556 | ||
14557 | =end original | |
14558 | ||
14559 | C<")"> の場所がおかしいです。 | |
14560 | 何かを数値と結合しようとしていたのか、C<"+"> があるべきでないのか、あるいは | |
14561 | 似たような何かです。 | |
14562 | Perl は何を意図しているのかが分かりませんでした。 | |
14563 | ||
14564 | =item Unexpected '(' with no preceding operator in regex; marked by | |
14565 | S<<-- HERE> in m/%s/ | |
14566 | ||
14567 | =begin original | |
14568 | ||
14569 | (F) You had something like this: | |
14570 | ||
14571 | =end original | |
14572 | ||
14573 | (F) 以下のようなものを書きました: | |
14574 | ||
14575 | (?[ \p{Digit} ( \p{Lao} + \p{Thai} ) ]) | |
14576 | ||
14577 | =begin original | |
14578 | ||
14579 | There should be an operator before the C<"(">, as there's | |
14580 | no indication as to how the digits are to be combined | |
14581 | with the characters in the Lao and Thai scripts. | |
14582 | ||
14583 | =end original | |
14584 | ||
14585 | これらは C<"("> の前の演算子であるべきです; ラオ語やタイ語で数字とこれらの | |
14586 | 文字がどのように結びつくかの指示がないからです。 | |
14587 | ||
14588 | =item Unicode non-character U+%X is not recommended for open interchange | |
14589 | ||
14590 | =begin original | |
14591 | ||
14592 | (S nonchar) Certain codepoints, such as U+FFFE and U+FFFF, are | |
14593 | defined by the Unicode standard to be non-characters. Those | |
14594 | are legal codepoints, but are reserved for internal use; so, | |
14595 | applications shouldn't attempt to exchange them. An application | |
14596 | may not be expecting any of these characters at all, and receiving | |
14597 | them may lead to bugs. If you know what you are doing you can | |
14598 | turn off this warning by C<no warnings 'nonchar';>. | |
14599 | ||
14600 | =end original | |
14601 | ||
14602 | (S nonchar) U+FFFE や U+FFFF のようないくつかの符号位置は | |
14603 | Unicode 標準によって非文字として指定されています。 | |
14604 | これらは有効な符号位置ですが、内部使用のために予約されています; 従って、 | |
14605 | アプリケーションはこれを交換しようとするべきではありません。 | |
14606 | アプリケーションは、これらの文字を想定するべきではなく、これらを | |
14607 | 受け取るとバグを引き起こすことがあります。 | |
14608 | もし自分が何をしているかを理解しているなら、C<no warnings 'nonchar';> で | |
14609 | 警告を無効にできます。 | |
14610 | ||
14611 | =begin original | |
14612 | ||
14613 | This is not really a "severe" error, but it is supposed to be | |
14614 | raised by default even if warnings are not enabled, and currently | |
14615 | the only way to do that in Perl is to mark it as serious. | |
14616 | ||
14617 | =end original | |
14618 | ||
14619 | これは実際には「重大な」エラーではありませんが、例え警告が有効でなくても | |
14620 | デフォルトで発生させることになっていて、今のところ Perl で出来る唯一のことは | |
14621 | これを重大なものとして扱うことです。 | |
14622 | ||
14623 | =item Unicode surrogate U+%X is illegal in UTF-8 | |
14624 | ||
14625 | =begin original | |
14626 | ||
14627 | (S surrogate) You had a UTF-16 surrogate in a context where they are | |
14628 | not considered acceptable. These code points, between U+D800 and | |
14629 | U+DFFF (inclusive), are used by Unicode only for UTF-16. However, Perl | |
14630 | internally allows all unsigned integer code points (up to the size limit | |
14631 | available on your platform), including surrogates. But these can cause | |
14632 | problems when being input or output, which is likely where this message | |
14633 | came from. If you really really know what you are doing you can turn | |
14634 | off this warning by C<no warnings 'surrogate';>. | |
14635 | ||
14636 | =end original | |
14637 | ||
14638 | (S surrogate) 受け付けられないと考えられる場所に UTF-16 サロゲートを | |
14639 | 使いました。 | |
14640 | これらの符号位置、U+D800 から U+DFFF (両端含む) は UTF-16 のためだけに | |
14641 | Unicode によって使われます。 | |
14642 | しかし Perl は、サロゲートを含む、内部で全ての符号なし整数の符号位置(最大値は | |
14643 | プラットフォームで利用可能なサイズ上限)を受け付けます。 | |
14644 | しかし、これらは入力や出力になるときに問題を引き起こします; それは | |
14645 | おそらくこのメッセージが出た場所です。 | |
14646 | 自分で何をしているのかが本当に本当に分かっているなら、 | |
14647 | C<no warnings 'surrogate';> とすることでこの警告をオフにできます。 | |
14648 | ||
14649 | =item Unknown charname '' is deprecated | |
14650 | ||
14651 | =begin original | |
14652 | ||
14653 | (D deprecated) You had a C<\N{}> with nothing between the braces. This | |
14654 | usage is deprecated, and will be made a syntax error in a future Perl | |
14655 | version. | |
14656 | ||
14657 | =end original | |
14658 | ||
14659 | (D deprecated) 中かっこの間に何もない C<\N{}> を使いました。 | |
14660 | この使い方は廃止予定で、将来のバージョンの Perl では文法エラーになります。 | |
14661 | ||
14662 | =item Unknown charname '%s' | |
14663 | ||
14664 | =begin original | |
14665 | ||
14666 | (F) The name you used inside C<\N{}> is unknown to Perl. Check the | |
14667 | spelling. You can say C<use charnames ":loose"> to not have to be | |
14668 | so precise about spaces, hyphens, and capitalization on standard Unicode | |
14669 | names. (Any custom aliases that have been created must be specified | |
14670 | exactly, regardless of whether C<:loose> is used or not.) This error may | |
14671 | also happen if the C<\N{}> is not in the scope of the corresponding | |
14672 | C<S<use charnames>>. | |
14673 | ||
14674 | =end original | |
14675 | ||
14676 | (F) C<\N{}> の内側で使った名前は Perl が知らないものでした。 | |
14677 | 綴りをチェックしてください。 | |
14678 | C<use charnames ":loose"> と指定することで、標準 Unicode 名の空白、ハイフン、 | |
14679 | 大文字小文字についてはそれほど正確でなくてもいいようになります。 | |
14680 | (作成されたカスタム別名は、C<:loose> のありなしに関わらず正確に | |
14681 | 指定されなければなりません。) | |
14682 | このエラーは、C<\N{}> が、対応する C<S<use charnames>> のスコープ内に | |
14683 | ないときにも起こることがあります。 | |
14684 | ||
14685 | =item Unknown error | |
14686 | ||
14687 | =begin original | |
14688 | ||
14689 | (P) Perl was about to print an error message in C<$@>, but the C<$@> variable | |
14690 | did not exist, even after an attempt to create it. | |
14691 | ||
14692 | =end original | |
14693 | ||
14694 | (P) Perl は C<$@> のエラーメッセージを表示しようとしましたが、C<$@> 変数が | |
14695 | (たとえ作ろうとした後でも) 存在しませんでした。 | |
14696 | ||
14697 | 8176 | =item Unknown open() mode '%s' |
14698 | 8177 | |
14699 | 8178 | =begin original |
14700 | 8179 | |
14701 | 8180 | (F) The second argument of 3-argument open() is not among the list |
14702 | 8181 | of valid modes: C<< < >>, C<< > >>, C<<< >> >>>, C<< +< >>, |
14703 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|-> | |
8182 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|->. | |
14704 | 8183 | |
14705 | 8184 | =end original |
14706 | 8185 | |
14707 | 8186 | (F) 3 引数 open() の 第 2 引数が以下の有効なモードの |
14708 | 8187 | どれでもありませんでした: |
14709 | 8188 | C<< < >>, C<< > >>, C<<< >> >>>, C<< +< >>, |
14710 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|-> | |
8189 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|->. | |
14711 | 8190 | |
14712 | =item Unknown PerlIO layer "%s" | |
14713 | ||
14714 | =begin original | |
14715 | ||
14716 | (W layer) An attempt was made to push an unknown layer onto the Perl I/O | |
14717 | system. (Layers take care of transforming data between external and | |
14718 | internal representations.) Note that some layers, such as C<mmap>, | |
14719 | are not supported in all environments. If your program didn't | |
14720 | explicitly request the failing operation, it may be the result of the | |
14721 | value of the environment variable PERLIO. | |
14722 | ||
14723 | =end original | |
14724 | ||
14725 | (W layer) 不明な層をPerl I/O システムに追加しようとしました。 | |
14726 | (層はデータの外部表現と内部表現の変換を扱います。) | |
14727 | C<mmap> のような層は、全ての環境で対応しているわけではないことに | |
14728 | 注意してください。 | |
14729 | 明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の | |
14730 | 値が原因かもしれません。 | |
14731 | ||
14732 | 8191 | =item Unknown process %x sent message to prime_env_iter: %s |
14733 | 8192 | |
14734 | 8193 | =begin original |
14735 | 8194 | |
14736 | 8195 | (P) An error peculiar to VMS. Perl was reading values for %ENV before |
14737 | 8196 | iterating over it, and someone else stuck a message in the stream of |
14738 | 8197 | data Perl expected. Someone's very confused, or perhaps trying to |
14739 | 8198 | subvert Perl's population of %ENV for nefarious purposes. |
14740 | 8199 | |
14741 | 8200 | =end original |
14742 | 8201 | |
14743 | (P) VMS | |
8202 | (P) VMS 固有のエラーです。 | |
14744 | 8203 | Perl は %ENV を反復する前に %ENV から値を読み込み、Perl が想定している |
14745 | 8204 | データストリームの中に誰かがメッセージを差し込みました。 |
14746 | 8205 | 誰かはとても混乱しているか、邪悪な目的のために %ENV の Perl の集団を |
14747 | 8206 | 滅亡させようとしています。 |
14748 | 8207 | |
14749 | =item | |
8208 | =item unmatched [ before << HERE mark in regex m/%s/ | |
14750 | 8209 | |
14751 | 8210 | =begin original |
14752 | 8211 | |
14753 | (F) | |
8212 | (F) The brackets around a character class must match. If you wish to | |
14754 | of a regular expression pattern are interpreted by Perl as modifier | |
14755 | flags for the regex. One of the ones you specified is invalid. One way | |
14756 | this can happen is if you didn't put in white space between the end of | |
14757 | the regex and a following alphanumeric operator: | |
14758 | ||
14759 | =end original | |
14760 | ||
14761 | (F) 正規表現で、閉じデリミタの直後の英数字は Perl によって正規表現への | |
14762 | 修飾子フラグと解釈されます。 | |
14763 | その一つが不正でした。 | |
14764 | これが起きる一つの可能性は、正規表現の終わりと引き続く英数字演算子の間に | |
14765 | 空白を置いていない場合です: | |
14766 | ||
14767 | if ($a =~ /foo/and $bar == 3) { ... } | |
14768 | ||
14769 | =begin original | |
14770 | ||
14771 | The C<"a"> is a valid modifier flag, but the C<"n"> is not, and raises | |
14772 | this error. Likely what was meant instead was: | |
14773 | ||
14774 | =end original | |
14775 | ||
14776 | C<"a"> は正当な修飾子フラグですが、C<"n"> は違うので、このエラーが起こります。 | |
14777 | おそらくしたかったのは以下のようなことでしょう: | |
14778 | ||
14779 | if ($a =~ /foo/ and $bar == 3) { ... } | |
14780 | ||
14781 | =item Unknown "re" subpragma '%s' (known ones are: %s) | |
14782 | ||
14783 | =begin original | |
14784 | ||
14785 | (W) You tried to use an unknown subpragma of the "re" pragma. | |
14786 | ||
14787 | =end original | |
14788 | ||
14789 | (W) "re" プラグマの、不明なサブプラグマを使おうとしました。 | |
14790 | ||
14791 | =item Unknown switch condition (?(...)) in regex; marked by S<<-- HERE> in | |
14792 | m/%s/ | |
14793 | ||
14794 | =begin original | |
14795 | ||
14796 | (F) The condition part of a (?(condition)if-clause|else-clause) construct | |
14797 | is not known. The condition must be one of the following: | |
14798 | ||
14799 | =end original | |
14800 | ||
14801 | (?(...)if-clause|else-clause) 構造の条件部が不明です。 | |
14802 | 条件は以下のいずれかでなければなりません。 | |
14803 | ||
14804 | (1) (2) ... true if 1st, 2nd, etc., capture matched | |
14805 | (<NAME>) ('NAME') true if named capture matched | |
14806 | (?=...) (?<=...) true if subpattern matches | |
14807 | (?!...) (?<!...) true if subpattern fails to match | |
14808 | (?{ CODE }) true if code returns a true value | |
14809 | (R) true if evaluating inside recursion | |
14810 | (R1) (R2) ... true if directly inside capture group 1, 2, etc. | |
14811 | (R&NAME) true if directly inside named capture | |
14812 | (DEFINE) always false; for defining named subpatterns | |
14813 | ||
14814 | =begin original | |
14815 | ||
14816 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
14817 | discovered. See L<perlre>. | |
14818 | ||
14819 | =end original | |
14820 | ||
14821 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
14822 | L<perlre> を参照してください。 | |
14823 | ||
14824 | =item Unknown Unicode option letter '%c' | |
14825 | ||
14826 | =begin original | |
14827 | ||
14828 | (F) You specified an unknown Unicode option. See L<perlrun> documentation | |
14829 | of the C<-C> switch for the list of known options. | |
14830 | ||
14831 | =end original | |
14832 | ||
14833 | (F) 不明な Unicode オプションを指定しました。 | |
14834 | オプションの一覧については、L<perlrun> ドキュメントの C<-C> オプションを | |
14835 | 参照してください。 | |
14836 | ||
14837 | =item Unknown Unicode option value %d | |
14838 | ||
14839 | =begin original | |
14840 | ||
14841 | (F) You specified an unknown Unicode option. See L<perlrun> documentation | |
14842 | of the C<-C> switch for the list of known options. | |
14843 | ||
14844 | =end original | |
14845 | ||
14846 | (F) 不明な Unicode オプションを指定しました。 | |
14847 | オプションの一覧については、L<perlrun> ドキュメントの C<-C> オプションを | |
14848 | 参照してください。 | |
14849 | ||
14850 | =item Unknown verb pattern '%s' in regex; marked by S<<-- HERE> in m/%s/ | |
14851 | ||
14852 | =begin original | |
14853 | ||
14854 | (F) You either made a typo or have incorrectly put a C<*> quantifier | |
14855 | after an open brace in your pattern. Check the pattern and review | |
14856 | L<perlre> for details on legal verb patterns. | |
14857 | ||
14858 | =end original | |
14859 | ||
14860 | (F) タイプミスをしたか、間違ってパターン中の開き大かっこの後に | |
14861 | C<*> 量指定子を書いたかどちらかです。 | |
14862 | パターンをチェックして、有効な動詞パターンの詳細については | |
14863 | L<perlre> を再チェックしてください。 | |
14864 | ||
14865 | =item Unknown warnings category '%s' | |
14866 | ||
14867 | =begin original | |
14868 | ||
14869 | (F) An error issued by the C<warnings> pragma. You specified a warnings | |
14870 | category that is unknown to perl at this point. | |
14871 | ||
14872 | =end original | |
14873 | ||
14874 | (F) C<warnings> プラグマによるエラーです。 | |
14875 | 現在のところ perl が知らない警告カテゴリを指定しました。 | |
14876 | ||
14877 | =begin original | |
14878 | ||
14879 | Note that if you want to enable a warnings category registered by a | |
14880 | module (e.g. C<use warnings 'File::Find'>), you must have loaded this | |
14881 | module first. | |
14882 | ||
14883 | =end original | |
14884 | ||
14885 | (C<use warnings 'File::Find'> のように)モジュールによって登録される | |
14886 | 警告カテゴリを有効にしたい場合、このモジュールを先に読み込む必要が | |
14887 | あることに注意してください。 | |
14888 | ||
14889 | =item Unmatched [ in regex; marked by S<<-- HERE> in m/%s/ | |
14890 | ||
14891 | =begin original | |
14892 | ||
14893 | (F) The brackets around a character class must match. If you wish to | |
14894 | 8213 | include a closing bracket in a character class, backslash it or put it |
14895 | first. The | |
8214 | first. See L<perlre>. The << HERE shows in the regular expression about | |
14896 | ||
8215 | where the escape was discovered. | |
14897 | 8216 | |
14898 | 8217 | =end original |
14899 | 8218 | |
14900 | 8219 | (F) 文字クラスの周りの大かっこが一致していません。 |
14901 | 8220 | 文字クラスに閉じ大かっこを含めたい場合は、バックスラッシュをつけるか |
14902 | 8221 | 先頭に置いてください。 |
14903 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
14904 | 8222 | L<perlre> を参照してください。 |
8223 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
14905 | 8224 | |
14906 | =item | |
8225 | =item unmatched ( in regexp before << HERE mark in regex m/%s/ | |
14907 | 8226 | |
14908 | =item Unmatched ) in regex; marked by S<<-- HERE> in m/%s/ | |
14909 | ||
14910 | 8227 | =begin original |
14911 | 8228 | |
14912 | 8229 | (F) Unbackslashed parentheses must always be balanced in regular |
14913 | expressions. If you're a vi user, the % key is valuable for finding | |
8230 | expressions. If you're a vi user, the % key is valuable for finding the | |
14914 | ||
8231 | matching parenthesis. See L<perlre>. | |
14915 | regular expression the problem was discovered. See L<perlre>. | |
14916 | 8232 | |
14917 | 8233 | =end original |
14918 | 8234 | |
14919 | 8235 | (F) 正規表現の中ではバックスラッシュのついていないかっこは常に |
14920 | 8236 | 対応していなければなりません。 |
14921 | 8237 | vi ユーザーであれば、% キーが対応するかっこの発見に有用です。 |
14922 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
14923 | 8238 | L<perlre> を参照してください。 |
14924 | 8239 | |
14925 | 8240 | =item Unmatched right %s bracket |
14926 | 8241 | |
14927 | 8242 | =begin original |
14928 | 8243 | |
14929 | 8244 | (F) The lexer counted more closing curly or square brackets than opening |
14930 | 8245 | ones, so you're probably missing a matching opening bracket. As a |
14931 | 8246 | general rule, you'll find the missing one (so to speak) near the place |
14932 | 8247 | you were last editing. |
14933 | 8248 | |
14934 | 8249 | =end original |
14935 | 8250 | |
14936 | (F) | |
8251 | (F) 字句解析部が開き中括弧よりも多くの閉じ中括弧または大括弧を | |
14937 | 見つけました | |
8252 | 見つけました。 | |
14938 | ||
8253 | 開き中括弧または大括弧のもれと思われます。 | |
14939 | 場所の近 | |
8254 | 一般的な規則として、最後に修正した場所の付近に、忘れた中括弧 | |
8255 | または大括弧 (であるはずのもの) があることでしょう。 | |
14940 | 8256 | |
14941 | 8257 | =item Unquoted string "%s" may clash with future reserved word |
14942 | 8258 | |
14943 | 8259 | =begin original |
14944 | 8260 | |
14945 | 8261 | (W reserved) You used a bareword that might someday be claimed as a |
14946 | 8262 | reserved word. It's best to put such a word in quotes, or capitalize it |
14947 | 8263 | somehow, or insert an underbar into it. You might also declare it as a |
14948 | 8264 | subroutine. |
14949 | 8265 | |
14950 | 8266 | =end original |
14951 | 8267 | |
14952 | 8268 | (W) いつの日にか、予約語とかち合うかもしれない、裸の単語を使用しています。 |
14953 | 8269 | そのような単語は、クォートするか、大文字を入れるか、アンダーバー (_) を |
14954 | 8270 | いれるかしてください。 |
14955 | その裸の単語は、サブルー | |
8271 | その裸の単語は、サブルーティンとして宣言することも可能です。 | |
14956 | 8272 | |
14957 | =item Unrecognized character %s | |
8273 | =item Unrecognized character %s | |
14958 | %d | |
14959 | 8274 | |
14960 | 8275 | =begin original |
14961 | 8276 | |
14962 | 8277 | (F) The Perl parser has no idea what to do with the specified character |
14963 | in your Perl script (or eval) | |
8278 | in your Perl script (or eval). Perhaps you tried to run a compressed | |
14964 | ||
8279 | script, a binary program, or a directory as a Perl program. | |
14965 | a Perl program. | |
14966 | 8280 | |
14967 | 8281 | =end original |
14968 | 8282 | |
14969 | (F) Perl パーサーは、Perl スクリプト(または eval) で | |
8283 | (F) Perl パーサーは、Perl スクリプト(または eval) で出てきた文字に対して | |
14970 | ||
8284 | どうすればよいか分かりませんでした。 | |
14971 | 8285 | おそらく圧縮したスクリプト、バイナリプログラム、ディレクトリといったものを |
14972 | 8286 | Perl プログラムとして実行しようとしたのでしょう。 |
14973 | 8287 | |
14974 | =item Unrecognized escape \%c in character class | |
8288 | =item /%s/: Unrecognized escape \\%c in character class passed through | |
14975 | S<<-- HERE> in m/%s/ | |
14976 | 8289 | |
14977 | 8290 | =begin original |
14978 | 8291 | |
14979 | (F) You used a backslash-character combination which is not | |
14980 | recognized by Perl inside character classes. This is a fatal | |
14981 | error when the character class is used within C<(?[ ])>. | |
14982 | ||
14983 | =end original | |
14984 | ||
14985 | (F) Perl の内部文字クラスとして認識されない逆スラッシュ文字並びを使いました。 | |
14986 | これは文字クラスが C<(?[ ])> の中で使われた時は致命的エラーです。 | |
14987 | ||
14988 | =item Unrecognized escape \%c in character class passed through in regex; | |
14989 | marked by S<<-- HERE> in m/%s/ | |
14990 | ||
14991 | =begin original | |
14992 | ||
14993 | 8292 | (W regexp) You used a backslash-character combination which is not |
14994 | 8293 | recognized by Perl inside character classes. The character was |
14995 | understood literally | |
8294 | understood literally. | |
14996 | The S<<-- HERE> shows whereabouts in the regular expression the | |
14997 | escape was discovered. | |
14998 | 8295 | |
14999 | 8296 | =end original |
15000 | 8297 | |
15001 | 8298 | (W regexp) Perl 内部文字クラスで認識できない、バックスラッシュ-文字の |
15002 | 8299 | 組み合わせを使いました。 |
15003 | 文字はリテラルに | |
8300 | 文字はリテラルに理解されます。 | |
15004 | 変更されるかもしれません。 | |
15005 | S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。 | |
15006 | 8301 | |
15007 | =item Unrecognized escape \%c passed through | |
8302 | =item Unrecognized escape \\%c passed through before << HERE in m/%s/ | |
15008 | 8303 | |
15009 | 8304 | =begin original |
15010 | 8305 | |
15011 | (W | |
8306 | (W regexp) You used a backslash-character combination which is not | |
15012 | recognized by Perl. | |
8307 | recognized by Perl. This combination appears in an interpolated variable or | |
15013 | ||
8308 | a C<'>-delimited regular expression. The character was understood | |
8309 | literally. The << HERE shows in the regular expression about where the escape | |
8310 | was discovered. | |
15014 | 8311 | |
15015 | 8312 | =end original |
15016 | 8313 | |
15017 | (W | |
8314 | (W regexp) Perl が認識できない、バックスラッシュ-文字の組み合わせが | |
15018 | 8315 | 使われています。 |
15019 | ||
8316 | この組み合わせは展開された変数の中か、C<'>-デリミタの正規表現で | |
15020 | ||
8317 | 出現します。 | |
8318 | この文字はリテラルに処理されます。 | |
8319 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
15021 | 8320 | |
15022 | =item Unrecognized escape \% | |
8321 | =item Unrecognized escape \\%c passed through | |
15023 | S<<-- HERE> in m/%s/ | |
15024 | 8322 | |
15025 | 8323 | =begin original |
15026 | 8324 | |
15027 | (W | |
8325 | (W misc) You used a backslash-character combination which is not | |
15028 | recognized by Perl. | |
8326 | recognized by Perl. | |
15029 | this may change in a future version of Perl. The S<<-- HERE> shows | |
15030 | whereabouts in the regular expression the escape was discovered. | |
15031 | 8327 | |
15032 | 8328 | =end original |
15033 | 8329 | |
15034 | (W | |
8330 | (W misc) Perl が理解できないバックスラッシュ-文字の組み合わせが | |
15035 | 8331 | 使われています。 |
15036 | 文字はリテラルに処理されますが、将来のバージョンの Perl では | |
15037 | 変更されるかもしれません。 | |
15038 | S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。 | |
15039 | 8332 | |
15040 | 8333 | =item Unrecognized signal name "%s" |
15041 | 8334 | |
15042 | 8335 | =begin original |
15043 | 8336 | |
15044 | 8337 | (F) You specified a signal name to the kill() function that was not |
15045 | 8338 | recognized. Say C<kill -l> in your shell to see the valid signal names |
15046 | 8339 | on your system. |
15047 | 8340 | |
15048 | 8341 | =end original |
15049 | 8342 | |
15050 | 8343 | (F) kill() 関数に、認識できないシグナル名を指定しました。 |
15051 | 8344 | お使いのシステムで使用可能なシグナル名を調べるには、 |
15052 | 8345 | シェル上で C<kill -l> などとしてください。 |
15053 | 8346 | |
15054 | 8347 | =item Unrecognized switch: -%s (-h will show valid options) |
15055 | 8348 | |
15056 | 8349 | =begin original |
15057 | 8350 | |
15058 | 8351 | (F) You specified an illegal option to Perl. Don't do that. (If you |
15059 | 8352 | think you didn't do that, check the #! line to see if it's supplying the |
15060 | 8353 | bad switch on your behalf.) |
15061 | 8354 | |
15062 | 8355 | =end original |
15063 | 8356 | |
15064 | 8357 | (F) Perl に間違ったオプションを指定しました。 |
15065 | 8358 | これを行なってはいけません。 |
15066 | 8359 | (指定したつもりがないのであれば、#! 行に間違ったオプションが |
15067 | 8360 | スイッチが指定されていないかをチェックしてください。) |
15068 | 8361 | |
15069 | 8362 | =item Unsuccessful %s on filename containing newline |
15070 | 8363 | |
15071 | 8364 | =begin original |
15072 | 8365 | |
15073 | 8366 | (W newline) A file operation was attempted on a filename, and that |
15074 | 8367 | operation failed, PROBABLY because the filename contained a newline, |
15075 | 8368 | PROBABLY because you forgot to chomp() it off. See L<perlfunc/chomp>. |
15076 | 8369 | |
15077 | 8370 | =end original |
15078 | 8371 | |
15079 | 8372 | (W newline) あるファイル名に対して、ファイル操作を行ないましたが、 |
15080 | 失敗しました | |
8373 | 失敗しました。 | |
8374 | 「おそらく」ファイル名に改行文字がついていたからで、 | |
15081 | 8375 | 「おそらく」 chomp() するのを忘れたのでしょう。 |
15082 | 8376 | L<perlfunc/chomp> を参照してください。 |
15083 | 8377 | |
15084 | 8378 | =item Unsupported directory function "%s" called |
15085 | 8379 | |
15086 | 8380 | =begin original |
15087 | 8381 | |
15088 | 8382 | (F) Your machine doesn't support opendir() and readdir(). |
15089 | 8383 | |
15090 | 8384 | =end original |
15091 | 8385 | |
15092 | 8386 | (F) このマシンでは、opendir() や readdir() がサポートされていません。 |
15093 | 8387 | |
15094 | 8388 | =item Unsupported function %s |
15095 | 8389 | |
15096 | 8390 | =begin original |
15097 | 8391 | |
15098 | 8392 | (F) This machine doesn't implement the indicated function, apparently. |
15099 | 8393 | At least, Configure doesn't think so. |
15100 | 8394 | |
15101 | 8395 | =end original |
15102 | 8396 | |
15103 | 8397 | (F) このマシンでは、表示した関数は実装されていません。 |
15104 | 8398 | 少なくとも、Configure はそう判断しました。 |
15105 | 8399 | |
15106 | 8400 | =item Unsupported function fork |
15107 | 8401 | |
15108 | 8402 | =begin original |
15109 | 8403 | |
15110 | 8404 | (F) Your version of executable does not support forking. |
15111 | 8405 | |
15112 | 8406 | =end original |
15113 | 8407 | |
15114 | 8408 | (F) この実行ファイルは fork に対応していません。 |
15115 | 8409 | |
15116 | 8410 | =begin original |
15117 | 8411 | |
15118 | 8412 | Note that under some systems, like OS/2, there may be different flavors |
15119 | of Perl executables, some of which may support fork, some not. | |
8413 | of Perl executables, some of which may support fork, some not. Try | |
15120 | 8414 | changing the name you call Perl by to C<perl_>, C<perl__>, and so on. |
15121 | 8415 | |
15122 | 8416 | =end original |
15123 | 8417 | |
15124 | 8418 | OS/2 のようなシステムには、Perl 実行ファイルにいくつかの種類があり、 |
15125 | 8419 | fork に対応しているものとしていないものがあります。 |
15126 | 8420 | Perl を呼び出す時の名前を C<perl_>, C<perl__> のように |
15127 | 8421 | 変えてみてください。 |
15128 | 8422 | |
15129 | =item Unsupported script encoding | |
8423 | =item Unsupported script encoding | |
15130 | 8424 | |
15131 | 8425 | =begin original |
15132 | 8426 | |
15133 | 8427 | (F) Your program file begins with a Unicode Byte Order Mark (BOM) which |
15134 | declares it to be in a Unicode encoding that Perl cannot read. | |
8428 | declares it to be in a Unicode encoding that Perl cannot yet read. | |
15135 | 8429 | |
15136 | 8430 | =end original |
15137 | 8431 | |
15138 | 8432 | (F) プログラムファイルが、Perl が読み込めない Unicode エンコーディングを |
15139 | 8433 | 宣言する Unicode Byte Order Mark (BOM) で始まっています。 |
15140 | 8434 | |
15141 | 8435 | =item Unsupported socket function "%s" called |
15142 | 8436 | |
15143 | 8437 | =begin original |
15144 | 8438 | |
15145 | 8439 | (F) Your machine doesn't support the Berkeley socket mechanism, or at |
15146 | 8440 | least that's what Configure thought. |
15147 | 8441 | |
15148 | 8442 | =end original |
15149 | 8443 | |
15150 | 8444 | (F) このマシンでは、Berkeley ソケット機構がサポートされていないか、 |
15151 | 8445 | 少なくとも Configure がそう判断しました。 |
15152 | 8446 | |
15153 | 8447 | =item Unterminated attribute list |
15154 | 8448 | |
15155 | 8449 | =begin original |
15156 | 8450 | |
15157 | 8451 | (F) The lexer found something other than a simple identifier at the |
15158 | 8452 | start of an attribute, and it wasn't a semicolon or the start of a |
15159 | 8453 | block. Perhaps you terminated the parameter list of the previous |
15160 | 8454 | attribute too soon. See L<attributes>. |
15161 | 8455 | |
15162 | 8456 | =end original |
15163 | 8457 | |
15164 | 8458 | (F) 字句解析器が、属性の先頭として単純な識別子やセミコロンやブロックの |
15165 | 8459 | 開始でないものを発見しました。 |
15166 | 8460 | おそらく以前の属性のパラメータリストを早く終端しすぎたのでしょう。 |
15167 | 8461 | L<attributes> を参照してください。 |
15168 | 8462 | |
15169 | 8463 | =item Unterminated attribute parameter in attribute list |
15170 | 8464 | |
15171 | 8465 | =begin original |
15172 | 8466 | |
15173 | 8467 | (F) The lexer saw an opening (left) parenthesis character while parsing |
15174 | 8468 | an attribute list, but the matching closing (right) parenthesis |
15175 | 8469 | character was not found. You may need to add (or remove) a backslash |
15176 | 8470 | character to get your parentheses to balance. See L<attributes>. |
15177 | 8471 | |
15178 | 8472 | =end original |
15179 | 8473 | |
15180 | 8474 | (F) 字句解析器が、属性リストをパースしているときに開き(左)かっこを |
15181 | 8475 | 発見しましたが、対応する閉じ(右)かっこが見つかりませんでした。 |
15182 | 8476 | かっこのバランスを取るために、バックスラッシュを追加(または削除)する |
15183 | 8477 | 必要があるでしょう。 |
15184 | 8478 | L<attributes> を参照してください。 |
15185 | 8479 | |
15186 | 8480 | =item Unterminated compressed integer |
15187 | 8481 | |
15188 | 8482 | =begin original |
15189 | 8483 | |
15190 | 8484 | (F) An argument to unpack("w",...) was incompatible with the BER |
15191 | 8485 | compressed integer format and could not be converted to an integer. |
15192 | 8486 | See L<perlfunc/pack>. |
15193 | 8487 | |
15194 | 8488 | =end original |
15195 | 8489 | |
15196 | 8490 | (F) unpack("w",...) の引数が BER 圧縮整数フォーマットと互換性がなく、 |
15197 | 8491 | 整数に変換できませんでした。 |
15198 | 8492 | L<perlfunc/pack> を参照してください。 |
15199 | 8493 | |
15200 | =item Unterminated delimiter for here document | |
15201 | ||
15202 | =begin original | |
15203 | ||
15204 | (F) This message occurs when a here document label has an initial | |
15205 | quotation mark but the final quotation mark is missing. Perhaps | |
15206 | you wrote: | |
15207 | ||
15208 | =end original | |
15209 | ||
15210 | (F) このメッセージは、ヒヤドキュメントのラベルがクォートで始まっているけれども | |
15211 | 末尾のクォートがありません。 | |
15212 | おそらく以下のように書いたのでしょう: | |
15213 | ||
15214 | <<"foo | |
15215 | ||
15216 | =begin original | |
15217 | ||
15218 | instead of: | |
15219 | ||
15220 | =end original | |
15221 | ||
15222 | 次のように書いてください: | |
15223 | ||
15224 | <<"foo" | |
15225 | ||
15226 | =item Unterminated \g... pattern in regex; marked by S<<-- HERE> in m/%s/ | |
15227 | ||
15228 | =item Unterminated \g{...} pattern in regex; marked by S<<-- HERE> in m/%s/ | |
15229 | ||
15230 | =begin original | |
15231 | ||
15232 | (F) In a regular expression, you had a C<\g> that wasn't followed by a | |
15233 | proper group reference. In the case of C<\g{>, the closing brace is | |
15234 | missing; otherwise the C<\g> must be followed by an integer. Fix the | |
15235 | pattern and retry. | |
15236 | ||
15237 | =end original | |
15238 | ||
15239 | (F) 正規表現の中で、適切なグループ参照が引き続かない C<\g> を使いました。 | |
15240 | C<\g{> の場合、閉じ中かっこがありません; さもなければ、C<\g> には整数が | |
15241 | 引き続かなければ鳴りません。 | |
15242 | パターンを修正して再挑戦してください。 | |
15243 | ||
15244 | 8494 | =item Unterminated <> operator |
15245 | 8495 | |
15246 | 8496 | =begin original |
15247 | 8497 | |
15248 | 8498 | (F) The lexer saw a left angle bracket in a place where it was expecting |
15249 | 8499 | a term, so it's looking for the corresponding right angle bracket, and |
15250 | 8500 | not finding it. Chances are you left some needed parentheses out |
15251 | 8501 | earlier in the line, and you really meant a "less than". |
15252 | 8502 | |
15253 | 8503 | =end original |
15254 | 8504 | |
15255 | (F) 項が必要とされるところで、開き山 | |
8505 | (F) 項が必要とされるところで、開き山括弧が見つけたため、 | |
15256 | 対応する閉じ山 | |
8506 | 対応する閉じ山括弧を探しましたが、見つかりませんでした。 | |
15257 | 可能性としては、必要な | |
8507 | 可能性としては、必要な括弧を省いてしまい、本当は、「小なり記号」を | |
15258 | 8508 | 表したかった場合が考えられます。 |
15259 | 8509 | |
15260 | =item Unterminated verb pattern argument in regex; marked by S<<-- HERE> in | |
15261 | m/%s/ | |
15262 | ||
15263 | =begin original | |
15264 | ||
15265 | (F) You used a pattern of the form C<(*VERB:ARG)> but did not terminate | |
15266 | the pattern with a C<)>. Fix the pattern and retry. | |
15267 | ||
15268 | =end original | |
15269 | ||
15270 | (F) C<(*VERB:ARG)> の形のパターンを使いましたが、パターンが C<)> で | |
15271 | 終わっていません。 | |
15272 | パターンを修正して再挑戦してください。 | |
15273 | ||
15274 | =item Unterminated verb pattern in regex; marked by S<<-- HERE> in m/%s/ | |
15275 | ||
15276 | =begin original | |
15277 | ||
15278 | (F) You used a pattern of the form C<(*VERB)> but did not terminate | |
15279 | the pattern with a C<)>. Fix the pattern and retry. | |
15280 | ||
15281 | =end original | |
15282 | ||
15283 | (F) C<(*VERB)> の形のパターンを使いましたが、パターンが C<)> で | |
15284 | 終わっていません。 | |
15285 | パターンを修正して再挑戦してください。 | |
15286 | ||
15287 | 8510 | =item untie attempted while %d inner references still exist |
15288 | 8511 | |
15289 | 8512 | =begin original |
15290 | 8513 | |
15291 | 8514 | (W untie) A copy of the object returned from C<tie> (or C<tied>) was |
15292 | 8515 | still valid when C<untie> was called. |
15293 | 8516 | |
15294 | 8517 | =end original |
15295 | 8518 | |
15296 | 8519 | (W untie) C<tie> (または C<tied>) から返されたオブジェクトが、 |
15297 | 8520 | C<untie> が呼び出されたときにまだ有効でした。 |
15298 | 8521 | |
15299 | =item Usage: POSIX::%s(%s) | |
15300 | ||
15301 | =begin original | |
15302 | ||
15303 | (F) You called a POSIX function with incorrect arguments. | |
15304 | See L<POSIX/FUNCTIONS> for more information. | |
15305 | ||
15306 | =end original | |
15307 | ||
15308 | (F) POSIX 関数を間違った引数で呼び出しました。 | |
15309 | さらなる情報については L<POSIX/FUNCTIONS> を参照してください。 | |
15310 | ||
15311 | =item Usage: Win32::%s(%s) | |
15312 | ||
15313 | =begin original | |
15314 | ||
15315 | (F) You called a Win32 function with incorrect arguments. | |
15316 | See L<Win32> for more information. | |
15317 | ||
15318 | =end original | |
15319 | ||
15320 | (F) Win32 関数を間違った引数で呼び出しました。 | |
15321 | 更なる情報については L<Win32> を参照してください。 | |
15322 | ||
15323 | =item $[ used in %s (did you mean $] ?) | |
15324 | ||
15325 | =begin original | |
15326 | ||
15327 | (W syntax) You used C<$[> in a comparison, such as: | |
15328 | ||
15329 | =end original | |
15330 | ||
15331 | (W syntax) 以下のように、比較で C<$[> を使いました: | |
15332 | ||
15333 | if ($[ > 5.006) { | |
15334 | ... | |
15335 | } | |
15336 | ||
15337 | =begin original | |
15338 | ||
15339 | You probably meant to use C<$]> instead. C<$[> is the base for indexing | |
15340 | arrays. C<$]> is the Perl version number in decimal. | |
15341 | ||
15342 | =end original | |
15343 | ||
15344 | おそらく C<$]> を使いたかったのでしょう。 | |
15345 | C<$[> は配列の基数です。 | |
15346 | C<$]> は Perl のバージョン番号の 10 進数です。 | |
15347 | ||
15348 | =item Use "%s" instead of "%s" | |
15349 | ||
15350 | =begin original | |
15351 | ||
15352 | (F) The second listed construct is no longer legal. Use the first one | |
15353 | instead. | |
15354 | ||
15355 | =end original | |
15356 | ||
15357 | (F) 2 番目に挙げられた構文はもはや有効ではありません。 | |
15358 | 代わりに 1 番目のものを使ってください。 | |
15359 | ||
15360 | =item Useless assignment to a temporary | |
15361 | ||
15362 | =begin original | |
15363 | ||
15364 | (W misc) You assigned to an lvalue subroutine, but what | |
15365 | the subroutine returned was a temporary scalar about to | |
15366 | be discarded, so the assignment had no effect. | |
15367 | ||
15368 | =end original | |
15369 | ||
15370 | (W misc) 左辺値サブルーチンに代入しましたが、サブルーチンが返したものは | |
15371 | 捨てられようとする一時的なスカラなので、代入は向こうです。 | |
15372 | ||
15373 | =item Useless (?-%s) - don't use /%s modifier in regex; marked by | |
15374 | S<<-- HERE> in m/%s/ | |
15375 | ||
15376 | =begin original | |
15377 | ||
15378 | (W regexp) You have used an internal modifier such as (?-o) that has no | |
15379 | meaning unless removed from the entire regexp: | |
15380 | ||
15381 | =end original | |
15382 | ||
15383 | (W regexp) (?-o) のような内部修飾子は、正規表現全体から除去されなければ | |
15384 | 意味がありません: | |
15385 | ||
15386 | if ($string =~ /(?-o)$pattern/o) { ... } | |
15387 | ||
15388 | =begin original | |
15389 | ||
15390 | must be written as | |
15391 | ||
15392 | =end original | |
15393 | ||
15394 | これは以下のように書かなければなりません: | |
15395 | ||
15396 | if ($string =~ /$pattern/) { ... } | |
15397 | ||
15398 | =begin original | |
15399 | ||
15400 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
15401 | discovered. See L<perlre>. | |
15402 | ||
15403 | =end original | |
15404 | ||
15405 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
15406 | L<perlre> を参照してください。 | |
15407 | ||
15408 | =item Useless localization of %s | |
15409 | ||
15410 | =begin original | |
15411 | ||
15412 | (W syntax) The localization of lvalues such as C<local($x=10)> is legal, | |
15413 | but in fact the local() currently has no effect. This may change at | |
15414 | some point in the future, but in the meantime such code is discouraged. | |
15415 | ||
15416 | =end original | |
15417 | ||
15418 | (W syntax) C<local($x=10)> のような左辺値のローカル化は有効ですが、 | |
15419 | 実際のところ local() は現在のところ何の効果もありません。 | |
15420 | これは将来変更されるかもしれませんが、今のところはこのようなコードは | |
15421 | 勧められません。 | |
15422 | ||
15423 | =item Useless (?%s) - use /%s modifier in regex; marked by S<<-- HERE> in | |
15424 | m/%s/ | |
15425 | ||
15426 | =begin original | |
15427 | ||
15428 | (W regexp) You have used an internal modifier such as (?o) that has no | |
15429 | meaning unless applied to the entire regexp: | |
15430 | ||
15431 | =end original | |
15432 | ||
15433 | (W regexp) (?o) のような内部修飾子は、正規表現全体に適用されなければ | |
15434 | 意味がありません: | |
15435 | ||
15436 | if ($string =~ /(?o)$pattern/) { ... } | |
15437 | ||
15438 | =begin original | |
15439 | ||
15440 | must be written as | |
15441 | ||
15442 | =end original | |
15443 | ||
15444 | これは以下のように書かなければなりません: | |
15445 | ||
15446 | if ($string =~ /$pattern/o) { ... } | |
15447 | ||
15448 | =begin original | |
15449 | ||
15450 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
15451 | discovered. See L<perlre>. | |
15452 | ||
15453 | =end original | |
15454 | ||
15455 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
15456 | L<perlre> を参照してください。 | |
15457 | ||
15458 | =item Useless use of attribute "const" | |
15459 | ||
15460 | =begin original | |
15461 | ||
15462 | (W misc) The C<const> attribute has no effect except | |
15463 | on anonymous closure prototypes. You applied it to | |
15464 | a subroutine via L<attributes.pm|attributes>. This is only useful | |
15465 | inside an attribute handler for an anonymous subroutine. | |
15466 | ||
15467 | =end original | |
15468 | ||
15469 | (W misc) C<const> 属性は、無名クロージャプロトタイプ以外では効果がありません。 | |
15470 | あなたはこれを L<attributes.pm|attributes> 経由でサブルーチンに適用しました。 | |
15471 | これは無名サブルーチンのための属性ハンドラの中でしか有用ではありません。 | |
15472 | ||
15473 | =item Useless use of /d modifier in transliteration operator | |
15474 | ||
15475 | =begin original | |
15476 | ||
15477 | (W misc) You have used the /d modifier where the searchlist has the | |
15478 | same length as the replacelist. See L<perlop> for more information | |
15479 | about the /d modifier. | |
15480 | ||
15481 | =end original | |
15482 | ||
15483 | (W misc) 検索リストが置換リストと同じ長さの時に /d 修飾子を使いました。 | |
15484 | /d 修飾子に関するさらなる情報については L<perlop> を参照してください。 | |
15485 | ||
15486 | =item Useless use of \E | |
15487 | ||
15488 | =begin original | |
15489 | ||
15490 | (W misc) You have a \E in a double-quotish string without a C<\U>, | |
15491 | C<\L> or C<\Q> preceding it. | |
15492 | ||
15493 | =end original | |
15494 | ||
15495 | (W misc) ダブルクォート風文字列の中で C<\U>, C<\L>, C<\Q> を前置することなく | |
15496 | \E を書きました。 | |
15497 | ||
15498 | =item Useless use of greediness modifier '%c' in regex; marked by S<<-- HERE> in m/%s/ | |
15499 | ||
15500 | =begin original | |
15501 | ||
15502 | (W regexp) You specified something like these: | |
15503 | ||
15504 | =end original | |
15505 | ||
15506 | (W regexp) 次のようなものを指定しました: | |
15507 | ||
15508 | qr/a{3}?/ | |
15509 | qr/b{1,1}+/ | |
15510 | ||
15511 | =begin original | |
15512 | ||
15513 | The C<"?"> and C<"+"> don't have any effect, as they modify whether to | |
15514 | match more or fewer when there is a choice, and by specifying to match | |
15515 | exactly a given numer, there is no room left for a choice. | |
15516 | ||
15517 | =end original | |
15518 | ||
15519 | C<"?"> と C<"+"> は何の効果もありません; これはマッチングする数に幅がある時に | |
15520 | より多くまたは少なく変更します。 | |
15521 | そして指定された数に正確にマッチングすることを指定されているので、 | |
15522 | 選択の余地はありません。 | |
15523 | ||
15524 | 8522 | =item Useless use of %s in void context |
15525 | 8523 | |
15526 | 8524 | =begin original |
15527 | 8525 | |
15528 | 8526 | (W void) You did something without a side effect in a context that does |
15529 | 8527 | nothing with the return value, such as a statement that doesn't return a |
15530 | 8528 | value from a block, or the left side of a scalar comma operator. Very |
15531 | 8529 | often this points not to stupidity on your part, but a failure of Perl |
15532 | 8530 | to parse your program the way you thought it would. For example, you'd |
15533 | 8531 | get this if you mixed up your C precedence with Python precedence and |
15534 | 8532 | said |
15535 | 8533 | |
15536 | 8534 | =end original |
15537 | 8535 | |
15538 | 8536 | (W void) ブロックの値を返さない文や、スカラのコンマ演算子の左側のように |
15539 | 8537 | 返却値の無い文脈で、副作用のないことを行ないました。 |
15540 | 8538 | 多くは、みなさんの間違いを指摘するものではなく、Perl がみなさんの |
15541 | 8539 | 意向を汲み取った解釈ができないことで起こります。 |
15542 | 8540 | たとえば、みなさんが C の優先順位を Python の優先順位と混同して |
15543 | 8541 | 以下のようにした場合です: |
15544 | 8542 | |
15545 | 8543 | $one, $two = 1, 2; |
15546 | 8544 | |
15547 | 8545 | =begin original |
15548 | 8546 | |
15549 | 8547 | when you meant to say |
15550 | 8548 | |
15551 | 8549 | =end original |
15552 | 8550 | |
15553 | 8551 | 以下のようにするべきです。 |
15554 | 8552 | |
15555 | 8553 | ($one, $two) = (1, 2); |
15556 | 8554 | |
15557 | 8555 | =begin original |
15558 | 8556 | |
15559 | 8557 | Another common error is to use ordinary parentheses to construct a list |
15560 | 8558 | reference when you should be using square or curly brackets, for |
15561 | 8559 | example, if you say |
15562 | 8560 | |
15563 | 8561 | =end original |
15564 | 8562 | |
15565 | その他の良くあるエラーとしては、リストを作るのに中 | |
8563 | その他の良くあるエラーとしては、リストを作るのに中括弧や | |
15566 | 使うべきところで普通の | |
8564 | 大括弧を使うべきところで普通の括弧を使うことです。 | |
15567 | 場合です: | |
8565 | 例えば、以下のように書いた場合です: | |
15568 | 8566 | |
15569 | 8567 | $array = (1,2); |
15570 | 8568 | |
15571 | 8569 | =begin original |
15572 | 8570 | |
15573 | 8571 | when you should have said |
15574 | 8572 | |
15575 | 8573 | =end original |
15576 | 8574 | |
15577 | 8575 | 以下のように書くべきです: |
15578 | 8576 | |
15579 | 8577 | $array = [1,2]; |
15580 | 8578 | |
15581 | 8579 | =begin original |
15582 | 8580 | |
15583 | 8581 | The square brackets explicitly turn a list value into a scalar value, |
15584 | 8582 | while parentheses do not. So when a parenthesized list is evaluated in |
15585 | 8583 | a scalar context, the comma is treated like C's comma operator, which |
15586 | 8584 | throws away the left argument, which is not what you want. See |
15587 | 8585 | L<perlref> for more on this. |
15588 | 8586 | |
15589 | 8587 | =end original |
15590 | 8588 | |
15591 | 8589 | 角かっこはリスト値を明示的にスカラ値に変換しますが、かっこは変換しません。 |
15592 | 8590 | そのため、かっこで括られたリストをスカラコンテキストで評価すると、 |
15593 | 8591 | カンマは C のカンマ演算子のように扱われ、左側の引数は捨てられます; |
15594 | 8592 | これは望んでいることではないでしょう。 |
15595 | 8593 | これに関するさらなる情報については L<perlref> を参照してください。 |
15596 | 8594 | |
15597 | =begin original | |
15598 | ||
15599 | This warning will not be issued for numerical constants equal to 0 or 1 | |
15600 | since they are often used in statements like | |
15601 | ||
15602 | =end original | |
15603 | ||
15604 | この警告は、0 か 1 と等しい数値定数では起きません; なぜなら、 | |
15605 | しばしば以下のような文で使われるからです: | |
15606 | ||
15607 | 1 while sub_with_side_effects(); | |
15608 | ||
15609 | =begin original | |
15610 | ||
15611 | String constants that would normally evaluate to 0 or 1 are warned | |
15612 | about. | |
15613 | ||
15614 | =end original | |
15615 | ||
15616 | 通常 0 か 1 に評価される文字列定数は警告されます。 | |
15617 | ||
15618 | =item Useless use of (?-p) in regex; marked by S<<-- HERE> in m/%s/ | |
15619 | ||
15620 | =begin original | |
15621 | ||
15622 | (W regexp) The C<p> modifier cannot be turned off once set. Trying to do | |
15623 | so is futile. | |
15624 | ||
15625 | =end original | |
15626 | ||
15627 | (W regexp) | |
15628 | C<p> 修飾子は、一度設定したものをオフにはできません。 | |
15629 | そうしようとしても無効です。 | |
15630 | ||
15631 | 8595 | =item Useless use of "re" pragma |
15632 | 8596 | |
15633 | 8597 | =begin original |
15634 | 8598 | |
15635 | (W) You did C<use re;> without any arguments. That isn't very useful. | |
8599 | (W) You did C<use re;> without any arguments. That isn't very useful. | |
15636 | 8600 | |
15637 | 8601 | =end original |
15638 | 8602 | |
15639 | 8603 | (W) C<use re;> プラグマを引数なしで指定しました。これは無意味です。 |
15640 | 8604 | |
15641 | =item Useless use of sort in scalar context | |
15642 | ||
15643 | =begin original | |
15644 | ||
15645 | (W void) You used sort in scalar context, as in : | |
15646 | ||
15647 | =end original | |
15648 | ||
15649 | (W void) こんな風に、ソートをスカラコンテキストで使いました: | |
15650 | ||
15651 | my $x = sort @y; | |
15652 | ||
15653 | =begin original | |
15654 | ||
15655 | This is not very useful, and perl currently optimizes this away. | |
15656 | ||
15657 | =end original | |
15658 | ||
15659 | これは全く便利ではないので、perl は現在のところ最適化して取り除きます。 | |
15660 | ||
15661 | =item Useless use of %s with no values | |
15662 | ||
15663 | =begin original | |
15664 | ||
15665 | (W syntax) You used the push() or unshift() function with no arguments | |
15666 | apart from the array, like C<push(@x)> or C<unshift(@foo)>. That won't | |
15667 | usually have any effect on the array, so is completely useless. It's | |
15668 | possible in principle that push(@tied_array) could have some effect | |
15669 | if the array is tied to a class which implements a PUSH method. If so, | |
15670 | you can write it as C<push(@tied_array,())> to avoid this warning. | |
15671 | ||
15672 | =end original | |
15673 | ||
15674 | (W syntax) C<push(@x)> や C<unshift(@foo)> のようにして、push() 関数や | |
15675 | unshift() 関数を、配列以外の引数なしで使いました。 | |
15676 | これは普通は配列に何の影響も与えないので、完全に無意味です。 | |
15677 | 理論的には、配列が tie されているクラスの PUSH メソッドの実装によっては | |
15678 | push(@tied_array) が何らかの効果を持つ可能性はあります。 | |
15679 | もしそうなら、これを C<push(@tied_array,())> のように書くことで警告を | |
15680 | 回避できます。 | |
15681 | ||
15682 | 8605 | =item "use" not allowed in expression |
15683 | 8606 | |
15684 | 8607 | =begin original |
15685 | 8608 | |
15686 | 8609 | (F) The "use" keyword is recognized and executed at compile time, and |
15687 | 8610 | returns no useful value. See L<perlmod>. |
15688 | 8611 | |
15689 | 8612 | =end original |
15690 | 8613 | |
15691 | 8614 | (F) "use" キーワードは、コンパイル時に認識され、実行されるもので、 |
15692 | 8615 | 意味のある値を返しません。 |
15693 | 8616 | L<perlmod> を参照してください。 |
15694 | 8617 | |
15695 | =item Use of assignment to $[ is deprecated | |
15696 | ||
15697 | =begin original | |
15698 | ||
15699 | (D deprecated) The C<$[> variable (index of the first element in an array) | |
15700 | is deprecated. See L<perlvar/"$[">. | |
15701 | ||
15702 | =end original | |
15703 | ||
15704 | (D deprecated) C<$[> 変数 (配列の最初の要素のインデックス) は廃止予定です。 | |
15705 | L<perlvar/"$["> を参照してください。 | |
15706 | ||
15707 | 8618 | =item Use of bare << to mean <<"" is deprecated |
15708 | 8619 | |
15709 | 8620 | =begin original |
15710 | 8621 | |
15711 | (D deprecated) You are now encouraged to use the explicitly quoted | |
8622 | (D deprecated) You are now encouraged to use the explicitly quoted form | |
15712 | ||
8623 | if you wish to use an empty line as the terminator of the here-document. | |
15713 | here-document. | |
15714 | 8624 | |
15715 | 8625 | =end original |
15716 | 8626 | |
15717 | (D deprecated) ヒアドキュメントの終端子として空行を | |
8627 | (D deprecated) ヒアドキュメントの終端子として空行を使いたいときには、 | |
15718 | ||
8628 | 明示的にクォートされた形を使うことを推奨しています。 | |
15719 | 8629 | |
15720 | =item Use of | |
8630 | =item Use of implicit split to @_ is deprecated | |
15721 | 8631 | |
15722 | 8632 | =begin original |
15723 | 8633 | |
15724 | ( | |
8634 | (D deprecated) It makes a lot of work for the compiler when you clobber | |
15725 | ||
8635 | a subroutine's argument list, so it's better if you assign the results | |
8636 | of a split() explicitly to an array (or list). | |
15726 | 8637 | |
15727 | 8638 | =end original |
15728 | 8639 | |
15729 | ( | |
8640 | (D deprecated) サブルーティンの引数を壊すとコンパイラに多大な労力を | |
15730 | ||
8641 | かけることになるので、split() の結果は明示的に配列 (やリスト) に | |
8642 | 代入を行なうようにしてください。 | |
15731 | 8643 | |
15732 | =item Use of /c modifier is meaningless without /g | |
15733 | ||
15734 | =begin original | |
15735 | ||
15736 | (W regexp) You used the /c modifier with a regex operand, but didn't | |
15737 | use the /g modifier. Currently, /c is meaningful only when /g is | |
15738 | used. (This may change in the future.) | |
15739 | ||
15740 | =end original | |
15741 | ||
15742 | (W regexp) 正規表現オペランドに /c 修飾子を使いましたが、/g 修飾子は | |
15743 | 使いませんでした。 | |
15744 | 現在のところ、/c は /g が使われたときにのみ有効です。 | |
15745 | (これは将来変更されるかもしれません。) | |
15746 | ||
15747 | =item Use of code point 0x%s is deprecated; the permissible max is 0x%s | |
15748 | ||
15749 | =begin original | |
15750 | ||
15751 | (D deprecated) You used a code point that will not be allowed in a | |
15752 | future perl version, because it is too large. Unicode only allows code | |
15753 | points up to 0x10FFFF, but Perl allows much larger ones. However, the | |
15754 | largest possible ones break the perl interpreter in some constructs, | |
15755 | including causing it to hang in a few cases. The known problem areas | |
15756 | are in C<tr///>, regular expression pattern matching using quantifiers, | |
15757 | and as the upper limits in loops. | |
15758 | ||
15759 | =end original | |
15760 | ||
15761 | (D deprecated) 大きすぎるので将来の perl のバージョンで許されない | |
15762 | 符号位置を使いました。 | |
15763 | Unicode は 0x10FFFF までだけの符号位置を許していますが、 | |
15764 | Perl は遙かに大きい物の許します。 | |
15765 | しかし、可能な最大値は一部の構文で perl インタプリタを壊し、 | |
15766 | 場合によってはハングアップを引き起こします。 | |
15767 | 知られている問題のある部分は | |
15768 | C<tr///>, 量指定子を使った正規表現パターンマッチング、 | |
15769 | そしてループの上限です。 | |
15770 | ||
15771 | =begin original | |
15772 | ||
15773 | If your code is to run on various platforms, keep in mind that the upper | |
15774 | limit depends on the platform. It is much larger on 64-bit word sizes | |
15775 | than 32-bit ones. | |
15776 | ||
15777 | =end original | |
15778 | ||
15779 | コードが様々なプラットフォームで実行するためのものなら、 | |
15780 | 上限がプラットフォームに依存していることを心に留めておいてください。 | |
15781 | 64 ビットワードサイズは 32 ビットよりも遙かに大きいです。 | |
15782 | ||
15783 | =item Use of comma-less variable list is deprecated | |
15784 | ||
15785 | =begin original | |
15786 | ||
15787 | (D deprecated) The values you give to a format should be | |
15788 | separated by commas, not just aligned on a line. | |
15789 | ||
15790 | =end original | |
15791 | ||
15792 | (D deprecated) フォーマットに与えた値は単に行で | |
15793 | 並べるのではなくて、カンマで区切るべきです。 | |
15794 | ||
15795 | =item Use of each() on hash after insertion without resetting hash iterator results in undefined behavior | |
15796 | ||
15797 | =begin original | |
15798 | ||
15799 | (S internal) The behavior of C<each()> after insertion is undefined; | |
15800 | it may skip items, or visit items more than once. Consider using | |
15801 | C<keys()> instead of C<each()>. | |
15802 | ||
15803 | =end original | |
15804 | ||
15805 | (S internal) 挿入の後の C<each()> の振る舞いは未定義です; アイテムを | |
15806 | 読み飛ばしたり、複数回読んだりします。 | |
15807 | C<each()> の代わりに C<keys()> を使うことを検討してください。 | |
15808 | ||
15809 | =item Use of := for an empty attribute list is not allowed | |
15810 | ||
15811 | =begin original | |
15812 | ||
15813 | (F) The construction C<my $x := 42> used to parse as equivalent to | |
15814 | C<my $x : = 42> (applying an empty attribute list to C<$x>). | |
15815 | This construct was deprecated in 5.12.0, and has now been made a syntax | |
15816 | error, so C<:=> can be reclaimed as a new operator in the future. | |
15817 | ||
15818 | =end original | |
15819 | ||
15820 | (F) 構文 C<my $x := 42> は C<my $x : = 42> と等価にパースされていました | |
15821 | (C<$x> に空の属性リストを適用する)。 | |
15822 | この構文は 5.12.0 に廃止予定となり、今回文法エラーとなったので、 | |
15823 | C<:=> は将来新しい演算子として再利用できます。 | |
15824 | ||
15825 | =begin original | |
15826 | ||
15827 | If you need an empty attribute list, for example in a code generator, add | |
15828 | a space before the C<=>. | |
15829 | ||
15830 | =end original | |
15831 | ||
15832 | 例えばコードジェネレータのために、空属性リストが必要なら、C<=> の前に | |
15833 | スペースを加えてください。 | |
15834 | ||
15835 | =item Use of %s for non-UTF-8 locale is wrong. Assuming a UTF-8 locale | |
15836 | ||
15837 | =begin original | |
15838 | ||
15839 | (W locale) You are matching a regular expression using locale rules, | |
15840 | and the specified construct was encountered. This construct is only | |
15841 | valid for UTF-8 locales, which the current locale isn't. This doesn't | |
15842 | make sense. Perl will continue, assuming a Unicode (UTF-8) locale, but | |
15843 | the results are likely to be wrong. | |
15844 | ||
15845 | =end original | |
15846 | ||
15847 | (W locale) ロケールの規則を使って正規表現のマッチングを行い、 | |
15848 | 指定した構文が出現しました。 | |
15849 | この構文は UTF-8 ロケールでのみ有効ですが、現在のロケールは異なります。 | |
15850 | これは意味がありません。 | |
15851 | Perl は Unicode (UTF-8) ロケールを仮定して動作を続けますが、 | |
15852 | 結果はおそらく間違ったものです。 | |
15853 | ||
15854 | =item Use of freed value in iteration | |
15855 | ||
15856 | =begin original | |
15857 | ||
15858 | (F) Perhaps you modified the iterated array within the loop? | |
15859 | This error is typically caused by code like the following: | |
15860 | ||
15861 | =end original | |
15862 | ||
15863 | (F) おそらくループの中で反復される配列を変更したのでは? | |
15864 | このエラーは典型的には以下のようなコードで発生します: | |
15865 | ||
15866 | @a = (3,4); | |
15867 | @a = () for (1,2,@a); | |
15868 | ||
15869 | =begin original | |
15870 | ||
15871 | You are not supposed to modify arrays while they are being iterated over. | |
15872 | For speed and efficiency reasons, Perl internally does not do full | |
15873 | reference-counting of iterated items, hence deleting such an item in the | |
15874 | middle of an iteration causes Perl to see a freed value. | |
15875 | ||
15876 | =end original | |
15877 | ||
15878 | 反復中の配列は変更してはいけないことになっています。 | |
15879 | 速度と効率上の理由から、Perl 内部では反復されたアイテムの参照カウントを | |
15880 | 完全には数えていません; 従って反復中のアイテムのを削除すると Perl は | |
15881 | 解放された値を見ることになります。 | |
15882 | ||
15883 | =item Use of *glob{FILEHANDLE} is deprecated | |
15884 | ||
15885 | =begin original | |
15886 | ||
15887 | (D deprecated) You are now encouraged to use the shorter *glob{IO} form | |
15888 | to access the filehandle slot within a typeglob. | |
15889 | ||
15890 | =end original | |
15891 | ||
15892 | (D deprecated) 型グロブの中のファイルハンドルスロットにアクセスするには、 | |
15893 | より短い *glob{IO} の形を使うことを推奨されています。 | |
15894 | ||
15895 | =item Use of /g modifier is meaningless in split | |
15896 | ||
15897 | =begin original | |
15898 | ||
15899 | (W regexp) You used the /g modifier on the pattern for a C<split> | |
15900 | operator. Since C<split> always tries to match the pattern | |
15901 | repeatedly, the C</g> has no effect. | |
15902 | ||
15903 | =end original | |
15904 | ||
15905 | (W regexp) C<split> 演算子のパターンで /g 修飾子を使いました。 | |
15906 | C<split> は常にパターンを繰り返しマッチングしようとするので、 | |
15907 | C</g> は効果がありません。 | |
15908 | ||
15909 | =item Use of "goto" to jump into a construct is deprecated | |
15910 | ||
15911 | =begin original | |
15912 | ||
15913 | (D deprecated) Using C<goto> to jump from an outer scope into an inner | |
15914 | scope is deprecated and should be avoided. | |
15915 | ||
15916 | =end original | |
15917 | ||
15918 | (D deprecated) 外側のスコープから内側のスコープに飛び込むために C<goto> を | |
15919 | 使うことは廃止予定であり、避けるべきです。 | |
15920 | ||
15921 | 8644 | =item Use of inherited AUTOLOAD for non-method %s() is deprecated |
15922 | 8645 | |
15923 | 8646 | =begin original |
15924 | 8647 | |
15925 | (D deprecated) As an (ahem) accidental feature, C<AUTOLOAD> | |
8648 | (D deprecated) As an (ahem) accidental feature, C<AUTOLOAD> subroutines | |
15926 | ||
8649 | are looked up as methods (using the C<@ISA> hierarchy) even when the | |
15927 | ||
8650 | subroutines to be autoloaded were called as plain functions (e.g. | |
15928 | ||
8651 | C<Foo::bar()>), not as methods (e.g. C<< Foo->bar() >> or C<< | |
15929 | ||
8652 | $obj->bar() >>). | |
15930 | 8653 | |
15931 | 8654 | =end original |
15932 | 8655 | |
15933 | 8656 | (D deprecated) (エヘン)偶発的な仕様によって、C<AUTOLOAD> サブルーチンは、 |
15934 | 8657 | autoload されるサブルーチンがメソッド (C<< Foo->bar() >> や |
15935 | 8658 | C<< $obj->bar() >>) ではなく、普通の関数 (C<Foo::bar()>) として |
15936 | 8659 | 呼び出された場合にも、(C<@ISA> 階層を使って) メソッドとして検索します。 |
15937 | 8660 | |
15938 | 8661 | =begin original |
15939 | 8662 | |
15940 | 8663 | This bug will be rectified in future by using method lookup only for |
15941 | 8664 | methods' C<AUTOLOAD>s. However, there is a significant base of existing |
15942 | 8665 | code that may be using the old behavior. So, as an interim step, Perl |
15943 | 8666 | currently issues an optional warning when non-methods use inherited |
15944 | 8667 | C<AUTOLOAD>s. |
15945 | 8668 | |
15946 | 8669 | =end original |
15947 | 8670 | |
15948 | 8671 | このバグは、メソッドの検索をメソッドの C<AUTOLOAD> のみで使うことによって |
15949 | 8672 | 将来修正される予定です。 |
15950 | 8673 | しかし、現在のコードの大部分は古い振る舞いを使っています。 |
15951 | 8674 | それで、暫定的なステップとして、Perl は現在のところは、 |
15952 | 8675 | メソッド以外が継承されたC<AUTOLOAD> を使うときにオプションの警告を |
15953 | 8676 | 発生させます。 |
15954 | 8677 | |
15955 | 8678 | =begin original |
15956 | 8679 | |
15957 | 8680 | The simple rule is: Inheritance will not work when autoloading |
15958 | 8681 | non-methods. The simple fix for old code is: In any module that used |
15959 | 8682 | to depend on inheriting C<AUTOLOAD> for non-methods from a base class |
15960 | 8683 | named C<BaseClass>, execute C<*AUTOLOAD = \&BaseClass::AUTOLOAD> during |
15961 | 8684 | startup. |
15962 | 8685 | |
15963 | 8686 | =end original |
15964 | 8687 | |
15965 | 8688 | 単純な規則は: 継承は autoload された非メソッドには動作しません。 |
15966 | 古いコードを修正する簡単な方法は: C<BaseClass> という名前の | |
8689 | 古いコードを修正する簡単な方法は: C<BaseClass> という名前のベースクラスから | |
15967 | 8690 | 非メソッドのための継承した C<AUTOLOAD> に依存しているモジュールに対して、 |
15968 | 8691 | 開始時に C<*AUTOLOAD = \&BaseClass::AUTOLOAD> を実行してください。 |
15969 | 8692 | |
15970 | 8693 | =begin original |
15971 | 8694 | |
15972 | 8695 | In code that currently says C<use AutoLoader; @ISA = qw(AutoLoader);> |
15973 | 8696 | you should remove AutoLoader from @ISA and change C<use AutoLoader;> to |
15974 | 8697 | C<use AutoLoader 'AUTOLOAD';>. |
15975 | 8698 | |
15976 | 8699 | =end original |
15977 | 8700 | |
15978 | 8701 | C<use AutoLoader; @ISA = qw(AutoLoader);> としているコードでは、 |
15979 | 8702 | @ISA から AutoLoader を取り除いて、C<use AutoLoader;> を |
15980 | 8703 | C<use AutoLoader 'AUTOLOAD';> に変更するべきです。 |
15981 | 8704 | |
15982 | 8705 | =item Use of %s in printf format not supported |
15983 | 8706 | |
15984 | 8707 | =begin original |
15985 | 8708 | |
15986 | 8709 | (F) You attempted to use a feature of printf that is accessible from |
15987 | 8710 | only C. This usually means there's a better way to do it in Perl. |
15988 | 8711 | |
15989 | 8712 | =end original |
15990 | 8713 | |
15991 | 8714 | (F) C でのみアクセス可能な printf の機能を使おうとしました。 |
15992 | 8715 | これは普通 Perl で行うより良い方法があります。 |
15993 | 8716 | |
15994 | =item Use of | |
8717 | =item Use of $* is deprecated | |
15995 | 8718 | |
15996 | 8719 | =begin original |
15997 | 8720 | |
15998 | (D deprecated) Th | |
8721 | (D deprecated) This variable magically turned on multi-line pattern | |
15999 | ||
8722 | matching, both for you and for any luckless subroutine that you happen | |
16000 | o | |
8723 | to call. You should use the new C<//m> and C<//s> modifiers now to do | |
8724 | that without the dangerous action-at-a-distance effects of C<$*>. | |
16001 | 8725 | |
16002 | 8726 | =end original |
16003 | 8727 | |
16004 | (D | |
8728 | (D) この変数は、自分のスクリプトでも、たまたま呼んだ先のサブルーティンでも、 | |
16005 | ||
8729 | 複数行のパターンマッチを有効にしてしまいます。 | |
8730 | C<$*> の離れたところに与える危険な影響を避けてこれを行なうために、 | |
8731 | 新しい C<//m> 修飾子と C<//s> 修飾子を使ってください。 | |
16006 | 8732 | |
16007 | =item Use of | |
8733 | =item Use of %s is deprecated | |
16008 | 8734 | |
16009 | =item Use of literal non-graphic characters in variable names is deprecated | |
16010 | ||
16011 | 8735 | =begin original |
16012 | 8736 | |
16013 | (D deprecated) | |
8737 | (D deprecated) The construct indicated is no longer recommended for use, | |
16014 | ||
8738 | generally because there's a better way to do it, and also because the | |
16015 | ||
8739 | old way has bad side effects. | |
16016 | legibility. They actually represent the non-printable control | |
16017 | characters, code points 0x18 and 0x07, respectively; C<^A> would mean | |
16018 | the control character whose code point is 0x01.) This only affects | |
16019 | code like C<$\cT>, where C<\cT> is a control in the source code; C<${"\cT"}> and | |
16020 | C<$^T> remain valid. Things that are non-controls and also not graphic | |
16021 | are NO-BREAK SPACE and SOFT HYPHEN, which were previously only allowed | |
16022 | for historical reasons. | |
16023 | 8740 | |
16024 | 8741 | =end original |
16025 | 8742 | |
16026 | (D deprecated) | |
8743 | (D deprecated) 示した構文は、もはや使うことが推奨されません。 | |
16027 | ||
8744 | 一般にはもっと良い方法があるからであり、また古い方法は、悪い副作用が | |
16028 | ||
8745 | あるからです。 | |
16029 | (ここでは読みやすさのために C<^X> や C<^G> を使っています。 | |
16030 | これらは実際には非表示制御文字の符号位置 | |
16031 | 0x18 と 0x07 です; C<^A> は符号位置 0x01 の制御文字を意味します。) | |
16032 | これは C<$\cT> のようなコードにのみ影響します; | |
16033 | ここで C<\cT> はソースコード中の制御文字です; | |
16034 | C<${"\cT"}> や C<$^T> は正当なままです。 | |
16035 | 非制御文字かつ非表示文字は NO-BREAK SPACE と SOFT HYPHEN です; | |
16036 | これらだけは歴史的な理由で許されていました。 | |
16037 | 8746 | |
16038 | =item Use of | |
8747 | =item Use of $# is deprecated | |
16039 | 8748 | |
16040 | 8749 | =begin original |
16041 | 8750 | |
16042 | ( | |
8751 | (D deprecated) This was an ill-advised attempt to emulate a poorly | |
16043 | i | |
8752 | defined B<awk> feature. Use an explicit printf() or sprintf() instead. | |
16044 | The operation returned C<undef>. Use a filename instead. | |
16045 | 8753 | |
16046 | 8754 | =end original |
16047 | 8755 | |
16048 | ( | |
8756 | (D deprecated) これは、貧相な awk の機能をエミュレートしようとする | |
16049 | ||
8757 | ものでした。 | |
16050 | ||
8758 | 代わりに、明示的に printf() や sprintf() を使ってください。 | |
16051 | この操作は C<undef> を返します。 | |
16052 | 代わりにファイル名を使ってください。 | |
16053 | 8759 | |
16054 | =item Use of | |
8760 | =item Use of reserved word "%s" is deprecated | |
16055 | 8761 | |
16056 | 8762 | =begin original |
16057 | 8763 | |
16058 | (D deprecated) | |
8764 | (D deprecated) The indicated bareword is a reserved word. Future | |
16059 | ||
8765 | versions of perl may use it as a keyword, so you're better off either | |
16060 | y | |
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()>. | |
16061 | 8770 | |
16062 | 8771 | =end original |
16063 | 8772 | |
16064 | (D deprecated) | |
8773 | (D deprecated) 示されている裸の単語は予約語です。 | |
16065 | ||
8774 | 将来のバージョンの perl ではこれをキーワードとして使う可能性があるので、 | |
16066 | ||
8775 | 使っているコンテキストに適した形で単語をクォートするか、違う名前を | |
16067 | ||
8776 | 使ってください。 | |
16068 | ||
8777 | この警告は、サブルーチン名の前に C<&> を付ける(C<&our()>)か、 | |
8778 | パッケージ修飾子を付ける(C<Foo::our()>)ことで消すことができます。 | |
16069 | 8779 | |
16070 | =begin original | |
16071 | ||
16072 | This was a long-standing bug that was removed in Perl 5.16, as there was | |
16073 | no way to tie the scalar itself when it held a typeglob, and no way to | |
16074 | untie a scalar that had had a typeglob assigned to it. If you see this | |
16075 | message, you must be using an older version. | |
16076 | ||
16077 | =end original | |
16078 | ||
16079 | これは Perl 5.16 で取り除かれた長年残っていたバグで、 | |
16080 | 型グロブを保持しているスカラ自身を tie する方法がなく、また型グロブが | |
16081 | 代入されているスカラを untie する方法がないというものでした。 | |
16082 | このメッセージを見たなら、古いバージョンを使わなければなりません。 | |
16083 | ||
16084 | =item Use of reference "%s" as array index | |
16085 | ||
16086 | =begin original | |
16087 | ||
16088 | (W misc) You tried to use a reference as an array index; this probably | |
16089 | isn't what you mean, because references in numerical context tend | |
16090 | to be huge numbers, and so usually indicates programmer error. | |
16091 | ||
16092 | =end original | |
16093 | ||
16094 | (W misc) リファレンスを配列の添え字として使おうとしました; これはおそらく | |
16095 | 望んでいることではないでしょう; なぜなら数値コンテキストでの | |
16096 | リファレンスはとても大きな数になることが多いので、普通はプログラマの | |
16097 | ミスを意味しています。 | |
16098 | ||
16099 | =begin original | |
16100 | ||
16101 | If you really do mean it, explicitly numify your reference, like so: | |
16102 | C<$array[0+$ref]>. This warning is not given for overloaded objects, | |
16103 | however, because you can overload the numification and stringification | |
16104 | operators and then you presumably know what you are doing. | |
16105 | ||
16106 | =end original | |
16107 | ||
16108 | 本当にそうしたい場合は、C<$array[0+$ref]> のように、リファレンスを明示的に | |
16109 | 数値化してください。 | |
16110 | しかし、この警告はオーバーロードされたオブジェクトでは発生しません; | |
16111 | 数値化と文字列化の演算子をオーバーロードして、何をしているかをわかっていると | |
16112 | 仮定できるからです。 | |
16113 | ||
16114 | =item Use of state $_ is experimental | |
16115 | ||
16116 | =begin original | |
16117 | ||
16118 | (S experimental::lexical_topic) Lexical $_ is an experimental feature and | |
16119 | its behavior may change or even be removed in any future release of perl. | |
16120 | See the explanation under L<perlvar/$_>. | |
16121 | ||
16122 | =end original | |
16123 | ||
16124 | (S experimental::lexical_topic) レキシカルな $_ は実験的機能で、その振る舞いは | |
16125 | 将来のリリースの perl で変更されたり削除されたりするかもしれません。 | |
16126 | L<perlvar/$_> の説明を参照してください。 | |
16127 | ||
16128 | =item Use of strings with code points over 0xFF as arguments to %s | |
16129 | operator is deprecated | |
16130 | ||
16131 | =begin original | |
16132 | ||
16133 | (D deprecated) You tried to use one of the string bitwise operators | |
16134 | (C<&> or C<|> or C<^> or C<~>) on a string containing a code point over | |
16135 | 0xFF. The string bitwise operators treat their operands as strings of | |
16136 | bytes, and values beyond 0xFF are nonsensical in this context. | |
16137 | ||
16138 | =end original | |
16139 | ||
16140 | (D deprecated) 文字列ビット単位演算子 (C<&> や C<|> や C<^> や C<~>) の一つを | |
16141 | 0xFF を超える符号位置を含む文字列に使おうとしました。 | |
16142 | ビット単位文字列演算子はオペランドをバイト文字列として扱い、 | |
16143 | 0xFF を超える値はこの文脈では無意味です。 | |
16144 | ||
16145 | =item Use of tainted arguments in %s is deprecated | |
16146 | ||
16147 | =begin original | |
16148 | ||
16149 | (W taint, deprecated) You have supplied C<system()> or C<exec()> with multiple | |
16150 | arguments and at least one of them is tainted. This used to be allowed | |
16151 | but will become a fatal error in a future version of perl. Untaint your | |
16152 | arguments. See L<perlsec>. | |
16153 | ||
16154 | =end original | |
16155 | ||
16156 | (W taint, deprecated) C<system()> や C<exec()> に複数の引数を与えましたが、 | |
16157 | そのうち少なくとも一つが汚染されています。 | |
16158 | これは許されていましたが、将来のバージョンの perl では致命的エラーに | |
16159 | なるでしょう。 | |
16160 | 引数を浄化してください。 | |
16161 | L<perlsec> を参照してください。 | |
16162 | ||
16163 | 8780 | =item Use of uninitialized value%s |
16164 | 8781 | |
16165 | 8782 | =begin original |
16166 | 8783 | |
16167 | 8784 | (W uninitialized) An undefined value was used as if it were already |
16168 | 8785 | defined. It was interpreted as a "" or a 0, but maybe it was a mistake. |
16169 | 8786 | To suppress this warning assign a defined value to your variables. |
16170 | 8787 | |
16171 | 8788 | =end original |
16172 | 8789 | |
16173 | 8790 | (W uninitialized) 未定義値を、あたかも既に定義されているかのように |
16174 | 8791 | 使用しました。 |
16175 | 8792 | これは、"" か 0 と解釈されますが、間違いの可能性があります。 |
16176 | 8793 | この警告を止めるには、変数に定義された値を代入してください。 |
16177 | 8794 | |
16178 | 8795 | =begin original |
16179 | 8796 | |
16180 | To help you figure out what was undefined, perl | |
8797 | To help you figure out what was undefined, perl tells you what operation | |
16181 | the n | |
8798 | you used the undefined value in. Note, however, that perl optimizes your | |
16182 | ||
8799 | program and the operation displayed in the warning may not necessarily | |
16183 | ||
8800 | appear literally in your program. For example, C<"that $foo"> is | |
16184 | a | |
8801 | usually optimized into C<"that " . $foo>, and the warning will refer to | |
16185 | ||
8802 | the C<concatenation (.)> operator, even though there is no C<.> in your | |
16186 | ||
8803 | program. | |
16187 | C<concatenation (.)> operator, even though there is no C<.> in | |
16188 | your program. | |
16189 | 8804 | |
16190 | 8805 | =end original |
16191 | 8806 | |
16192 | ||
8807 | To help you figure out what was undefined, perl tells you what operation | |
16193 | ||
8808 | you used the undefined value in. Note, however, that perl optimizes your | |
16194 | ||
8809 | program and the operation displayed in the warning may not necessarily | |
16195 | ||
8810 | appear literally in your program. For example, C<"that $foo"> is | |
16196 | ||
8811 | usually optimized into C<"that " . $foo>, and the warning will refer to | |
16197 | ||
8812 | the C<concatenation (.)> operator, even though there is no C<.> in your | |
16198 | ||
8813 | program. | |
16199 | 出ます。 | |
16200 | 8814 | |
16201 | =item "use re 'strict'" is experimental | |
16202 | ||
16203 | =begin original | |
16204 | ||
16205 | (S experimental::re_strict) The things that are different when a regular | |
16206 | expression pattern is compiled under C<'strict'> are subject to change | |
16207 | in future Perl releases in incompatible ways. This means that a pattern | |
16208 | that compiles today may not in a future Perl release. This warning is | |
16209 | to alert you to that risk. | |
16210 | ||
16211 | =end original | |
16212 | ||
16213 | (S experimental::re_strict) 正規表現が C<'strict'> の基で | |
16214 | コンパイルされたときに何が異なるかは、 | |
16215 | 将来の Perl のリリースで互換性のない形で変更される予定です。 | |
16216 | つまり、今日コンパイルしたパターンは将来の Perl リリースのものとは | |
16217 | 違うかもしれません。 | |
16218 | この警告はそのリスクを知らせるためのものです。 | |
16219 | ||
16220 | =item Use \x{...} for more than two hex characters in regex; marked by | |
16221 | S<<-- HERE> in m/%s/ | |
16222 | ||
16223 | =begin original | |
16224 | ||
16225 | (F) In a regular expression, you said something like | |
16226 | ||
16227 | =end original | |
16228 | ||
16229 | (F) 正規表現で、以下のようなことをしました | |
16230 | ||
16231 | (?[ [ \xBEEF ] ]) | |
16232 | ||
16233 | =begin original | |
16234 | ||
16235 | Perl isn't sure if you meant this | |
16236 | ||
16237 | =end original | |
16238 | ||
16239 | Perl は、これが以下のものを意味しているのか | |
16240 | ||
16241 | (?[ [ \x{BEEF} ] ]) | |
16242 | ||
16243 | =begin original | |
16244 | ||
16245 | or if you meant this | |
16246 | ||
16247 | =end original | |
16248 | ||
16249 | それとも次のものかがわかりません。 | |
16250 | ||
16251 | (?[ [ \x{BE} E F ] ]) | |
16252 | ||
16253 | =begin original | |
16254 | ||
16255 | You need to add either braces or blanks to disambiguate. | |
16256 | ||
16257 | =end original | |
16258 | ||
16259 | 明確にするために大かっこか空白を追加する必要があります。 | |
16260 | ||
16261 | =item Using just the first character returned by \N{} in character class in | |
16262 | regex; marked by S<<-- HERE> in m/%s/ | |
16263 | ||
16264 | =begin original | |
16265 | ||
16266 | (W regexp) Named Unicode character escapes C<(\N{...})> may return | |
16267 | a multi-character sequence. Even though a character class is | |
16268 | supposed to match just one character of input, perl will match | |
16269 | the whole thing correctly, except when the class is inverted | |
16270 | (C<[^...]>), or the escape is the beginning or final end point of | |
16271 | a range. For these, what should happen isn't clear at all. In | |
16272 | these circumstances, Perl discards all but the first character | |
16273 | of the returned sequence, which is not likely what you want. | |
16274 | ||
16275 | =end original | |
16276 | ||
16277 | (W regexp) 名前付き Unicode 文字エスケープ C<(\N{...})> は | |
16278 | 複数文字並びを返すことがあります。 | |
16279 | 文字クラスは入力のただ一つの文字にマッチングすることを想定していますが、 | |
16280 | perl は全体を正しくマッチングします; 但し例外は、 | |
16281 | クラスが反転された場合 (C<[^...]>) と、 | |
16282 | エスケープが範囲の始点か終点の場合です。 | |
16283 | これらの場合、何をするべきかは全く明らかではありません。 | |
16284 | このため、Perl は返された並びの最初以外の文字を捨てます; | |
16285 | おそらくこれはあなたが求めているものではないでしょう。 | |
16286 | ||
16287 | =item Using /u for '%s' instead of /%s in regex; marked by S<<-- HERE> in m/%s/ | |
16288 | ||
16289 | =begin original | |
16290 | ||
16291 | (W regexp) You used a Unicode boundary (C<\b{...}> or C<\B{...}>) in a | |
16292 | portion of a regular expression where the character set modifiers C</a> | |
16293 | or C</aa> are in effect. These two modifiers indicate an ASCII | |
16294 | interpretation, and this doesn't make sense for a Unicode defintion. | |
16295 | The generated regular expression will compile so that the boundary uses | |
16296 | all of Unicode. No other portion of the regular expression is affected. | |
16297 | ||
16298 | =end original | |
16299 | ||
16300 | (W regexp) 文字集合修飾子 C</a> または C</aa> が有効の場合に正規表現の一部で | |
16301 | Unicode 境界 (C<\b{...}> または C<\B{...}>) を使いました。 | |
16302 | これら二つの修飾子は ASCII での解釈を示していて、これは | |
16303 | Unicode の定義では意味がありません。 | |
16304 | 生成された正規表現は、境界は全て Unicode としてコンパイルします。 | |
16305 | 正規表現のその他の部分は影響を受けません。 | |
16306 | ||
16307 | =item Using !~ with %s doesn't make sense | |
16308 | ||
16309 | =begin original | |
16310 | ||
16311 | (F) Using the C<!~> operator with C<s///r>, C<tr///r> or C<y///r> is | |
16312 | currently reserved for future use, as the exact behavior has not | |
16313 | been decided. (Simply returning the boolean opposite of the | |
16314 | modified string is usually not particularly useful.) | |
16315 | ||
16316 | =end original | |
16317 | ||
16318 | (F) C<s///r>, C<tr///r>, C<y///r> での C<!~> 演算子の使用は、正確な振る舞いが | |
16319 | まだ決定されていないので、将来の使用のために予約されています。 | |
16320 | (単に修正された文字列の真偽値としての逆を返すのは普通特に | |
16321 | 有用ではありません。) | |
16322 | ||
16323 | =item UTF-16 surrogate U+%X | |
16324 | ||
16325 | =begin original | |
16326 | ||
16327 | (S surrogate) You had a UTF-16 surrogate in a context where they are | |
16328 | not considered acceptable. These code points, between U+D800 and | |
16329 | U+DFFF (inclusive), are used by Unicode only for UTF-16. However, Perl | |
16330 | internally allows all unsigned integer code points (up to the size limit | |
16331 | available on your platform), including surrogates. But these can cause | |
16332 | problems when being input or output, which is likely where this message | |
16333 | came from. If you really really know what you are doing you can turn | |
16334 | off this warning by C<no warnings 'surrogate';>. | |
16335 | ||
16336 | =end original | |
16337 | ||
16338 | (S surrogate) 受け付けられないと考えられる場所に UTF-16 サロゲートを | |
16339 | 使いました。 | |
16340 | これらの符号位置、U+D800 から U+DFFF (両端含む) は UTF-16 のためだけに | |
16341 | Unicode によって使われます。 | |
16342 | しかし Perl は、サロゲートを含む、内部で全ての符号なし整数の符号位置(最大値は | |
16343 | プラットフォームで利用可能なサイズ上限)を受け付けます。 | |
16344 | しかし、これらは入力や出力になるときに問題を引き起こします; それは | |
16345 | おそらくこのメッセージが出た場所です。 | |
16346 | 自分で何をしているのかが本当に本当に分かっているなら、 | |
16347 | C<no warnings 'surrogate';> とすることでこの警告をオフにできます。 | |
16348 | ||
16349 | 8815 | =item Value of %s can be "0"; test with defined() |
16350 | 8816 | |
16351 | 8817 | =begin original |
16352 | 8818 | |
16353 | 8819 | (W misc) In a conditional expression, you used <HANDLE>, <*> (glob), |
16354 | 8820 | C<each()>, or C<readdir()> as a boolean value. Each of these constructs |
16355 | 8821 | can return a value of "0"; that would make the conditional expression |
16356 | 8822 | false, which is probably not what you intended. When using these |
16357 | 8823 | constructs in conditional expressions, test their values with the |
16358 | 8824 | C<defined> operator. |
16359 | 8825 | |
16360 | 8826 | =end original |
16361 | 8827 | |
16362 | 8828 | (W misc) 条件式の中で、<HANDLE>, <*> (グロブ), C<each()>, C<readdir()> を |
16363 | 8829 | 真偽値として使いました。 |
16364 | 8830 | これらの構文は値 "0" を返すことがあります; これは条件式では偽を示しますが、 |
16365 | 8831 | これはおそらく望んでいることではないでしょう。 |
16366 | 8832 | これらの構文を条件式の中で使うときは、その値を C<defined> 演算子で |
16367 | 8833 | テストしてください。 |
16368 | 8834 | |
16369 | 8835 | =item Value of CLI symbol "%s" too long |
16370 | 8836 | |
16371 | 8837 | =begin original |
16372 | 8838 | |
16373 | 8839 | (W misc) A warning peculiar to VMS. Perl tried to read the value of an |
16374 | 8840 | %ENV element from a CLI symbol table, and found a resultant string |
16375 | 8841 | longer than 1024 characters. The return value has been truncated to |
16376 | 8842 | 1024 characters. |
16377 | 8843 | |
16378 | 8844 | =end original |
16379 | 8845 | |
16380 | (W misc) VMS | |
8846 | (W misc) VMS 固有の警告です。 | |
16381 | 8847 | Perl は CLI シンボルテーブルから %ENV 要素の値を読み込もうとしましたが、 |
16382 | 8848 | 結果の文字列が 1024 文字を越えました。 |
16383 | 8849 | 返り値は 1024 文字に切り詰められます。 |
16384 | 8850 | |
16385 | =item Variable "%s" is not available | |
16386 | ||
16387 | =begin original | |
16388 | ||
16389 | (W closure) During compilation, an inner named subroutine or eval is | |
16390 | attempting to capture an outer lexical that is not currently available. | |
16391 | This can happen for one of two reasons. First, the outer lexical may be | |
16392 | declared in an outer anonymous subroutine that has not yet been created. | |
16393 | (Remember that named subs are created at compile time, while anonymous | |
16394 | subs are created at run-time.) For example, | |
16395 | ||
16396 | =end original | |
16397 | ||
16398 | (W closure) コンパイル中に、内側の名前付きサブルーチンや eval が | |
16399 | まだ利用可能でない外側のレキシカルを捕捉しようとしました。 | |
16400 | これは二つの理由で起こります。 | |
16401 | まず、外側のレキシカルが、まだ作成されていない外側の無名サブルーチンで | |
16402 | 定義されている場合です。 | |
16403 | (名前付きサブルーチンはコンパイル時に作成されますが、無名サブルーチンは | |
16404 | 実行時に作成されることを思い出してください。) | |
16405 | 例えば、 | |
16406 | ||
16407 | sub { my $a; sub f { $a } } | |
16408 | ||
16409 | =begin original | |
16410 | ||
16411 | At the time that f is created, it can't capture the current value of $a, | |
16412 | since the anonymous subroutine hasn't been created yet. Conversely, | |
16413 | the following won't give a warning since the anonymous subroutine has by | |
16414 | now been created and is live: | |
16415 | ||
16416 | =end original | |
16417 | ||
16418 | f が作成された時点で、$a の現在の値を捕捉できません; | |
16419 | なぜなら無名サブルーチンはまだ作成されていないからです。 | |
16420 | 逆に、以下のものは警告されません; 無名サブルーチンはこの時点で作成されていて | |
16421 | 生きているからです: | |
16422 | ||
16423 | sub { my $a; eval 'sub f { $a }' }->(); | |
16424 | ||
16425 | =begin original | |
16426 | ||
16427 | The second situation is caused by an eval accessing a variable that has | |
16428 | gone out of scope, for example, | |
16429 | ||
16430 | =end original | |
16431 | ||
16432 | 2 番目の状況は eval がスコープ外となった変数にアクセスすることで起こります; | |
16433 | 例えば: | |
16434 | ||
16435 | sub f { | |
16436 | my $a; | |
16437 | sub { eval '$a' } | |
16438 | } | |
16439 | f()->(); | |
16440 | ||
16441 | =begin original | |
16442 | ||
16443 | Here, when the '$a' in the eval is being compiled, f() is not currently | |
16444 | being executed, so its $a is not available for capture. | |
16445 | ||
16446 | =end original | |
16447 | ||
16448 | ここで、eval の中の '$a' がコンパイルされるとき、f() はまだ | |
16449 | 実行されていないので、この $a は捕捉出来ません。 | |
16450 | ||
16451 | 8851 | =item Variable "%s" is not imported%s |
16452 | 8852 | |
16453 | 8853 | =begin original |
16454 | 8854 | |
16455 | ( | |
8855 | (F) While "use strict" in effect, you referred to a global variable that | |
16456 | ||
8856 | you apparently thought was imported from another module, because | |
16457 | 8857 | something else of the same name (usually a subroutine) is exported by |
16458 | 8858 | that module. It usually means you put the wrong funny character on the |
16459 | 8859 | front of your variable. |
16460 | 8860 | |
16461 | 8861 | =end original |
16462 | 8862 | |
16463 | ( | |
8863 | (F) "use strict" が有効のときに、見たところ他のモジュールから | |
16464 | 8864 | インポートされたとあなたが考えたグローバル変数を参照しました; |
16465 | 8865 | なぜなら同じ名前の何か他のもの(通常はサブルーチン)がそのモジュールから |
16466 | 8866 | エクスポートされています。 |
16467 | 8867 | これは普通は変数の前に間違ったおかしな文字を置いたことを意味します。 |
16468 | 8868 | |
16469 | =item | |
8869 | =item "%s" variable %s masks earlier declaration in same %s | |
16470 | 8870 | |
16471 | 8871 | =begin original |
16472 | 8872 | |
16473 | ( | |
8873 | (W misc) A "my" or "our" variable has been redeclared in the current | |
16474 | ||
8874 | scope or statement, effectively eliminating all access to the previous | |
16475 | ||
8875 | instance. This is almost always a typographical error. Note that the | |
16476 | ||
8876 | earlier variable will still exist until the end of the scope or until | |
8877 | all closure referents to it are destroyed. | |
16477 | 8878 | |
16478 | 8879 | =end original |
16479 | 8880 | |
16480 | ( | |
8881 | (W misc) 現在のスコープや文で "my" 変数や "our" 変数が再宣言されたので、 | |
16481 | ||
8882 | 以前の実体への全てのアクセスができなくなりました。 | |
16482 | ||
8883 | これはほとんどの場合タイプミスです。 | |
16483 | ||
8884 | 以前の変数は、スコープが終わるか、それを参照している全てのクロージャが | |
8885 | 破壊されるまでは存在し続けることに注意してください。 | |
16484 | 8886 | |
8887 | =item Variable "%s" may be unavailable | |
8888 | ||
16485 | 8889 | =begin original |
16486 | 8890 | |
16487 | ||
8891 | (W closure) An inner (nested) I<anonymous> subroutine is inside a | |
16488 | ||
8892 | I<named> subroutine, and outside that is another subroutine; and the | |
16489 | ||
8893 | anonymous (innermost) subroutine is referencing a lexical variable | |
16490 | ||
8894 | defined in the outermost subroutine. For example: | |
16491 | characters, such as LATIN SMALL LIGATURE FFI matching C<qr/ffi/i>. | |
16492 | Starting in Perl v5.16, if you only care about ASCII matches, adding the | |
16493 | C</aa> modifier to the regex will exclude all these non-obvious matches, | |
16494 | thus getting rid of this message. You can also say C<S<use re qw(/aa)>> | |
16495 | to apply C</aa> to all regular expressions compiled within its scope. | |
16496 | See L<re>. | |
16497 | 8895 | |
16498 | 8896 | =end original |
16499 | 8897 | |
16500 | ||
8898 | (W closure) 内部の(ネストした) I<無名> サブルーチンが I<名前つき> | |
16501 | ||
8899 | サブルーチンの内側にあり、その外側は別のサブルーチンです; | |
16502 | ||
8900 | そして無名の(一番内側の)サブルーチンが一番外側のサブルーチンで | |
16503 | ||
8901 | 定義されているレキシカル変数で参照されています。 | |
16504 | ||
8902 | 例えば: | |
16505 | LATIN SMALL LIGATURE FFI が C<qr/ffi/i> にマッチングするといったものが | |
16506 | あります。 | |
16507 | Perl v5.16 から、もし ASCII のマッチングにだけ関心があるのなら、 | |
16508 | 正規表現に C</aa> を追加することでこれらの明確でないマッチングを全て | |
16509 | 除くことができるので、このメッセージを避けられます。 | |
16510 | また、C<S<use re qw(/aa)>> とすることで、スコープ内でコンパイルされた全ての | |
16511 | 正規表現に対して C</aa> を適用します。 | |
16512 | L<re> を参照してください。 | |
16513 | 8903 | |
16514 | ||
8904 | sub outermost { my $a; sub middle { sub { $a } } } | |
16515 | 8905 | |
16516 | 8906 | =begin original |
16517 | 8907 | |
16518 | ||
8908 | If the anonymous subroutine is called or referenced (directly or | |
16519 | ||
8909 | indirectly) from the outermost subroutine, it will share the variable as | |
16520 | ||
8910 | you would expect. But if the anonymous subroutine is called or | |
16521 | ||
8911 | referenced when the outermost subroutine is not active, it will see the | |
16522 | ||
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. | |
16523 | 8914 | |
16524 | 8915 | =end original |
16525 | 8916 | |
16526 | ||
8917 | 無名サブルーチンが一番外側のサブルーチンから呼び出されるか(直接または | |
16527 | ||
8918 | 間接に)リファレンスされたとき、予想通りに変数は共有されます。 | |
16528 | ||
8919 | しかし、一番外側のサブルーチンが有効でない時に無名サブルーチンが呼び出されたり | |
16529 | ||
8920 | リファレンスされたりすると、共有された変数の値は一番外側のサブルーチンへの | |
16530 | ||
8921 | 最初の呼び出し前および呼び出し中のものになります; | |
8922 | これはおそらく望んでいることではないでしょう。 | |
16531 | 8923 | |
8924 | =begin original | |
8925 | ||
8926 | In these circumstances, it is usually best to make the middle subroutine | |
8927 | anonymous, using the C<sub {}> syntax. Perl has specific support for | |
8928 | shared variables in nested anonymous subroutines; a named subroutine in | |
8929 | between interferes with this feature. | |
8930 | ||
8931 | =end original | |
8932 | ||
8933 | このような状況では、普通は C<sub {}> 構文を使って、サブルーチン middle を | |
8934 | 無名にするのが最良です。 | |
8935 | Perl はネストした無名サブルーチンで変数を共有する機能をサポートしています; | |
8936 | この機能のインターフェースの間の名前付きサブルーチンです。 | |
8937 | ||
16532 | 8938 | =item Variable syntax |
16533 | 8939 | |
16534 | 8940 | =begin original |
16535 | 8941 | |
16536 | 8942 | (A) You've accidentally run your script through B<csh> instead |
16537 | 8943 | of Perl. Check the #! line, or manually feed your script into |
16538 | 8944 | Perl yourself. |
16539 | 8945 | |
16540 | 8946 | =end original |
16541 | 8947 | |
16542 | 8948 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
16543 | 8949 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
16544 | 8950 | |
16545 | 8951 | =item Variable "%s" will not stay shared |
16546 | 8952 | |
16547 | 8953 | =begin original |
16548 | 8954 | |
16549 | 8955 | (W closure) An inner (nested) I<named> subroutine is referencing a |
16550 | lexical variable defined in an outer | |
8956 | lexical variable defined in an outer subroutine. | |
16551 | 8957 | |
16552 | 8958 | =end original |
16553 | 8959 | |
16554 | 8960 | (W closure) 内部の(ネストした) I<名前付き> サブルーチンが、 |
16555 | 外側の | |
8961 | 外側のサブルーチンで定義したレキシカル変数を参照しています。 | |
16556 | 8962 | |
16557 | 8963 | =begin original |
16558 | 8964 | |
16559 | When the inner subroutine is called, it will see the value of | |
8965 | When the inner subroutine is called, it will probably see the value of | |
16560 | 8966 | the outer subroutine's variable as it was before and during the *first* |
16561 | 8967 | call to the outer subroutine; in this case, after the first call to the |
16562 | 8968 | outer subroutine is complete, the inner and outer subroutines will no |
16563 | 8969 | longer share a common value for the variable. In other words, the |
16564 | 8970 | variable will no longer be shared. |
16565 | 8971 | |
16566 | 8972 | =end original |
16567 | 8973 | |
16568 | 内側のサブルーチンが呼び出され | |
8974 | 内側のサブルーチンが呼び出された時、おそらく外側のサブルーチンの値は、 | |
16569 | 外側のサブルーチンの | |
8975 | 最初の外側のサブルーチンへの呼び出し前および呼び出し中のものになります; | |
16570 | ||
8976 | この場合、外側のサブルーチンへの最初の呼び出しが終了した後、内側と | |
16571 | ||
8977 | 外側のサブルーチンは変数に関して同じ値を共有しなくなります。 | |
16572 | ||
8978 | 言い換えると、変数はもはや共有されません。 | |
16573 | 言い換えると、この変数はもはや共有されません。 | |
16574 | 8979 | |
16575 | 8980 | =begin original |
16576 | 8981 | |
8982 | Furthermore, if the outer subroutine is anonymous and references a | |
8983 | lexical variable outside itself, then the outer and inner subroutines | |
8984 | will I<never> share the given variable. | |
8985 | ||
8986 | =end original | |
8987 | ||
8988 | さらに、外側のサブルーチンが無名で、それ自身の外側のレキシカル変数を | |
8989 | 参照している場合、外側と内側のサブルーチンは与えられた変数は | |
8990 | 共有 I<しません>。 | |
8991 | ||
8992 | =begin original | |
8993 | ||
16577 | 8994 | This problem can usually be solved by making the inner subroutine |
16578 | 8995 | anonymous, using the C<sub {}> syntax. When inner anonymous subs that |
16579 | reference variables in outer subroutines are cre | |
8996 | reference variables in outer subroutines are called or referenced, they | |
16580 | 8997 | are automatically rebound to the current values of such variables. |
16581 | 8998 | |
16582 | 8999 | =end original |
16583 | 9000 | |
16584 | 9001 | この問題は普通、C<sub {}> 構文を使って内側のサブルーチンを無名にすることで |
16585 | 9002 | 解決します。 |
16586 | 9003 | 外側のサブルーチンの変数を参照している内側の無名サブルーチンが |
16587 | ||
9004 | 呼び出されたり参照されたとき、これらはそのような変数の現在の値に | |
9005 | 自動的に回復します。 | |
16588 | 9006 | |
16589 | =item | |
9007 | =item Variable length lookbehind not implemented before << HERE in %s | |
16590 | 9008 | |
16591 | 9009 | =begin original |
16592 | 9010 | |
16593 | ( | |
9011 | (F) Lookbehind is allowed only for subexpressions whose length is fixed and | |
16594 | with | |
9012 | known at compile time. The << HERE shows in the regular expression about where | |
9013 | the problem was discovered. | |
16595 | 9014 | |
16596 | 9015 | =end original |
16597 | 9016 | |
16598 | ( | |
9017 | (F) 後方参照は長さが固定で、コンパイル時に確定している副式に対してのみ可能です。 | |
16599 | ||
9018 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
16600 | 9019 | |
16601 | =item Verb pattern '%s' has a mandatory argument in regex; marked by | |
16602 | S<<-- HERE> in m/%s/ | |
16603 | ||
16604 | =begin original | |
16605 | ||
16606 | (F) You used a verb pattern that requires an argument. Supply an | |
16607 | argument or check that you are using the right verb. | |
16608 | ||
16609 | =end original | |
16610 | ||
16611 | (F) 引き数が必要な動詞パターンを使いました。 | |
16612 | 引き数を追加するか、正しい動詞を使ってください。 | |
16613 | ||
16614 | =item Verb pattern '%s' may not have an argument in regex; marked by | |
16615 | S<<-- HERE> in m/%s/ | |
16616 | ||
16617 | =begin original | |
16618 | ||
16619 | (F) You used a verb pattern that is not allowed an argument. Remove the | |
16620 | argument or check that you are using the right verb. | |
16621 | ||
16622 | =end original | |
16623 | ||
16624 | (F) 引き数が認められていない動詞パターンを使いました。 | |
16625 | 引き数を削除するか、正しい動詞を使ってください。 | |
16626 | ||
16627 | 9020 | =item Version number must be a constant number |
16628 | 9021 | |
16629 | 9022 | =begin original |
16630 | 9023 | |
16631 | 9024 | (P) The attempt to translate a C<use Module n.n LIST> statement into |
16632 | 9025 | its equivalent C<BEGIN> block found an internal inconsistency with |
16633 | 9026 | the version number. |
16634 | 9027 | |
16635 | 9028 | =end original |
16636 | 9029 | |
16637 | 9030 | (P) C<use Module n.n LIST> 文を等価な C<BEGIN> ブロックに変換しようと |
16638 | 9031 | したときに、バージョン番号について内部の不整合を発見しました。 |
16639 | 9032 | |
16640 | =item Version string '%s' contains invalid data; ignoring: '%s' | |
16641 | ||
16642 | =begin original | |
16643 | ||
16644 | (W misc) The version string contains invalid characters at the end, which | |
16645 | are being ignored. | |
16646 | ||
16647 | =end original | |
16648 | ||
16649 | (W misc) バージョン文字列の末尾に不正な文字が含まれていたので、その文字は | |
16650 | 無視されます。 | |
16651 | ||
16652 | 9033 | =item Warning: something's wrong |
16653 | 9034 | |
16654 | 9035 | =begin original |
16655 | 9036 | |
16656 | 9037 | (W) You passed warn() an empty string (the equivalent of C<warn "">) or |
16657 | you called it with no args and C<$ | |
9038 | you called it with no args and C<$_> was empty. | |
16658 | 9039 | |
16659 | 9040 | =end original |
16660 | 9041 | |
16661 | 9042 | (W) warn() に空文字列を渡した (C<warn ""> と透過です) か、 |
16662 | 引数なしで呼び出され、C<$ | |
9043 | 引数なしで呼び出され、C<$_> も空でした。 | |
16663 | 9044 | |
16664 | 9045 | =item Warning: unable to close filehandle %s properly |
16665 | 9046 | |
16666 | 9047 | =begin original |
16667 | 9048 | |
16668 | 9049 | (S) The implicit close() done by an open() got an error indication on |
16669 | 9050 | the close(). This usually indicates your file system ran out of disk |
16670 | 9051 | space. |
16671 | 9052 | |
16672 | 9053 | =end original |
16673 | 9054 | |
16674 | 9055 | (S) open() によって暗黙のうちに行なわれる close() が、 |
16675 | 9056 | close() のエラーとなりました。 |
16676 | 9057 | 通常、ファイルシステムがいっぱいであることを示します。 |
16677 | 9058 | |
16678 | =item Warning: unable to close filehandle properly: %s | |
16679 | ||
16680 | =item Warning: unable to close filehandle %s properly: %s | |
16681 | ||
16682 | =begin original | |
16683 | ||
16684 | (S io) There were errors during the implicit close() done on a filehandle | |
16685 | when its reference count reached zero while it was still open, e.g.: | |
16686 | ||
16687 | =end original | |
16688 | ||
16689 | (S io) まだ開いているけれども参照カウントがゼロになったときに | |
16690 | ファイルハンドルに対して行われる暗黙の close() 中にエラーが起きました; | |
16691 | 例えば: | |
16692 | ||
16693 | { | |
16694 | open my $fh, '>', $file or die "open: '$file': $!\n"; | |
16695 | print $fh $data or die "print: $!"; | |
16696 | } # implicit close here | |
16697 | ||
16698 | =begin original | |
16699 | ||
16700 | Because various errors may only be detected by close() (e.g. buffering could | |
16701 | allow the C<print> in this example to return true even when the disk is full), | |
16702 | it is dangerous to ignore its result. So when it happens implicitly, perl will | |
16703 | signal errors by warning. | |
16704 | ||
16705 | =end original | |
16706 | ||
16707 | 様々なエラーは close() によってのみ検出される | |
16708 | (バッファリングによって、この例の C<print> はディスクフルの場合でも | |
16709 | 真を返すことが可能です)ので、 | |
16710 | その結果を無視するのは棄権です。 | |
16711 | it is dangerous to ignore its result. | |
16712 | 従って、それが暗黙に起きたとき、perl は警告によってエラーを知らせます。 | |
16713 | ||
16714 | =begin original | |
16715 | ||
16716 | B<Prior to version 5.22.0, perl ignored such errors>, so the common idiom shown | |
16717 | above was liable to cause B<silent data loss>. | |
16718 | ||
16719 | =end original | |
16720 | ||
16721 | B<バージョン 5.22.0 より前では、perl はこのようなエラーを無視していました>; | |
16722 | 従って、前述のような一般的な慣用句は | |
16723 | B<暗黙なデータの損失> を引き起こすことがありました。 | |
16724 | ||
16725 | 9059 | =item Warning: Use of "%s" without parentheses is ambiguous |
16726 | 9060 | |
16727 | 9061 | =begin original |
16728 | 9062 | |
16729 | 9063 | (S ambiguous) You wrote a unary operator followed by something that |
16730 | 9064 | looks like a binary operator that could also have been interpreted as a |
16731 | 9065 | term or unary operator. For instance, if you know that the rand |
16732 | 9066 | function has a default argument of 1.0, and you write |
16733 | 9067 | |
16734 | 9068 | =end original |
16735 | 9069 | |
16736 | 9070 | (S ambiguous) 単項演算子の後に、何か項にも単項演算子にも解釈できる、 |
16737 | 9071 | 二項演算子のようなものが置かれました。 |
16738 | 9072 | たとえば、rand 関数がデフォルトの引数として、1.0 をとることを知って |
16739 | 9073 | いれば、以下のように書いて: |
16740 | 9074 | |
16741 | 9075 | rand + 5; |
16742 | 9076 | |
16743 | 9077 | =begin original |
16744 | 9078 | |
16745 | 9079 | you may THINK you wrote the same thing as |
16746 | 9080 | |
16747 | 9081 | =end original |
16748 | 9082 | |
16749 | 9083 | 以下の同じことと思うかもしれませんが: |
16750 | 9084 | |
16751 | 9085 | rand() + 5; |
16752 | 9086 | |
16753 | 9087 | =begin original |
16754 | 9088 | |
16755 | 9089 | but in actual fact, you got |
16756 | 9090 | |
16757 | 9091 | =end original |
16758 | 9092 | |
16759 | 9093 | 実際には以下のようになります: |
16760 | 9094 | |
16761 | 9095 | rand(+5); |
16762 | 9096 | |
16763 | 9097 | =begin original |
16764 | 9098 | |
16765 | 9099 | So put in parentheses to say what you really mean. |
16766 | 9100 | |
16767 | 9101 | =end original |
16768 | 9102 | |
16769 | したがって、思うように解釈させるには、 | |
9103 | したがって、思うように解釈させるには、括弧が必要になります。 | |
16770 | 9104 | |
16771 | =item when is experimental | |
16772 | ||
16773 | =begin original | |
16774 | ||
16775 | (S experimental::smartmatch) C<when> depends on smartmatch, which is | |
16776 | experimental. Additionally, it has several special cases that may | |
16777 | not be immediately obvious, and their behavior may change or | |
16778 | even be removed in any future release of perl. See the explanation | |
16779 | under L<perlsyn/Experimental Details on given and when>. | |
16780 | ||
16781 | =end original | |
16782 | ||
16783 | (S experimental::smartmatch) C<when> は、実験的であるスマートマッチングに | |
16784 | 依存しています。 | |
16785 | さらに、完全に明らかとは言えないいくつかの特殊なケースがあるので、その | |
16786 | 振る舞いは将来のリリースの perl で変更されたり削除されたりするかもしれません。 | |
16787 | L<perlsyn/Experimental Details on given and when> の説明を参照してください。 | |
16788 | ||
16789 | 9105 | =item Wide character in %s |
16790 | 9106 | |
16791 | 9107 | =begin original |
16792 | 9108 | |
16793 | ( | |
9109 | (F) Perl met a wide character (>255) when it wasn't expecting one. | |
16794 | one. This warning is by default on for I/O (like print). The easiest | |
16795 | way to quiet this warning is simply to add the C<:utf8> layer to the | |
16796 | output, e.g. C<binmode STDOUT, ':utf8'>. Another way to turn off the | |
16797 | warning is to add C<no warnings 'utf8';> but that is often closer to | |
16798 | cheating. In general, you are supposed to explicitly mark the | |
16799 | filehandle with an encoding, see L<open> and L<perlfunc/binmode>. | |
16800 | 9110 | |
16801 | 9111 | =end original |
16802 | 9112 | |
16803 | ( | |
9113 | (F) Perl が(想定していないところで)ワイド文字(>255)に遭遇しました。 | |
16804 | この警告は、(print のような) I/O に対してはデフォルトでオンです。 | |
16805 | この警告を黙らせる最も簡単な方法は、C<binmode STDOUT, ':utf8'> のように | |
16806 | 出力に単に C<:utf8> 層を追加することです。 | |
16807 | もう一つの方法は C<no warnings 'utf8';> を追加することですが、これは | |
16808 | しばしばいかさまに近い方法です。 | |
16809 | 一般的に、ファイルハンドルにはエンコーディングを明示的に指定することに | |
16810 | なっています; L<open> と L<perlfunc/binmode> を参照してください。 | |
16811 | 9114 | |
16812 | =item | |
9115 | =item write() on closed filehandle %s | |
16813 | 9116 | |
16814 | 9117 | =begin original |
16815 | 9118 | |
16816 | (W | |
9119 | (W closed) The filehandle you're writing to got itself closed sometime | |
16817 | ||
9120 | before now. Check your logic flow. | |
16818 | character to be the specified Unicode code point. Combining non-UTF-8 | |
16819 | locales and Unicode is dangerous. Almost certainly some characters | |
16820 | will have two different representations. For example, in the ISO 8859-7 | |
16821 | (Greek) locale, the code point 0xC3 represents a Capital Gamma. But so | |
16822 | also does 0x393. This will make string comparisons unreliable. | |
16823 | 9121 | |
16824 | 9122 | =end original |
16825 | 9123 | |
16826 | (W | |
9124 | (W) 書き込みを行なおうとしたファイルハンドルは、既にクローズされています。 | |
16827 | ||
9125 | 論理フローをチェックしてください。 | |
16828 | Perl はこの文字を指定された Unicode 符号位置として扱います。 | |
16829 | 非 UTF-8 ロケールと Unicode を結合するのは危険です。 | |
16830 | ほとんど確実に一部の文字は複数の異なる表現を持ちます。 | |
16831 | 例えば、ISO 8859-7 (ギリシャ語) ロケールでは、 | |
16832 | 符号位置 0xC3 は Capital Gamma を表現します。 | |
16833 | しかし 0x393 も同じです。 | |
16834 | これは文字列比較を信頼できないものにします。 | |
16835 | 9126 | |
16836 | = | |
9127 | =item X outside of string | |
16837 | 9128 | |
16838 | You likely need to figure out how this multi-byte character got mixed up | |
16839 | with your single-byte locale (or perhaps you thought you had a UTF-8 | |
16840 | locale, but Perl disagrees). | |
16841 | ||
16842 | =end original | |
16843 | ||
16844 | おそらくどうしてこのマルチバイト文字が単一バイトロケールで混ざったかを | |
16845 | 見つける必要があるでしょう(あるいはおそらくあなたは UTF-8 ロケールを | |
16846 | 使っていると考えているけれども Perl は同意していないのでしょう)。 | |
16847 | ||
16848 | =item Within []-length '%c' not allowed | |
16849 | ||
16850 | 9129 | =begin original |
16851 | 9130 | |
16852 | (F) | |
9131 | (F) You had a pack template that specified a relative position before | |
16853 | ||
9132 | the beginning of the string being unpacked. See L<perlfunc/pack>. | |
16854 | can be determined from the template alone. This is not possible if | |
16855 | it contains any of the codes @, /, U, u, w or a *-length. Redesign | |
16856 | the template. | |
16857 | 9133 | |
16858 | 9134 | =end original |
16859 | 9135 | |
16860 | (F) | |
9136 | (F) unpack している文字列の先頭より前の相対位置を示している | |
16861 | テンプレート | |
9137 | pack テンプレートを指定しました。 | |
16862 | ||
9138 | L<perlfunc/pack> を参照してください。 | |
16863 | これは、コード @, /, U, u, w や、長さ * が含まれていると不可能です。 | |
16864 | テンプレートを再設計してください。 | |
16865 | 9139 | |
16866 | =item | |
9140 | =item x outside of string | |
16867 | 9141 | |
16868 | 9142 | =begin original |
16869 | 9143 | |
16870 | ( | |
9144 | (F) You had a pack template that specified a relative position after | |
16871 | ||
9145 | the end of the string being unpacked. See L<perlfunc/pack>. | |
16872 | 9146 | |
16873 | 9147 | =end original |
16874 | 9148 | |
16875 | ( | |
9149 | (F) unpack している文字列の最後より後の相対位置を示している | |
16876 | ||
9150 | pack テンプレートを指定しました。 | |
9151 | L<perlfunc/pack> を参照してください。 | |
16877 | 9152 | |
16878 | =item | |
9153 | =item Xsub "%s" called in sort | |
16879 | 9154 | |
16880 | 9155 | =begin original |
16881 | 9156 | |
16882 | ( | |
9157 | (F) The use of an external subroutine as a sort comparison is not yet | |
16883 | ||
9158 | supported. | |
16884 | 9159 | |
16885 | 9160 | =end original |
16886 | 9161 | |
16887 | ( | |
9162 | (F) ソートの比較ルーティンとして、外部サブルーティンを使用することは、 | |
16888 | ||
9163 | まだサポートされていません。 | |
16889 | 9164 | |
16890 | =item | |
9165 | =item Xsub called in sort | |
16891 | 9166 | |
16892 | 9167 | =begin original |
16893 | 9168 | |
16894 | ( | |
9169 | (F) The use of an external subroutine as a sort comparison is not yet | |
16895 | ||
9170 | supported. | |
16896 | in are not legal in this encoding. For example | |
16897 | 9171 | |
16898 | 9172 | =end original |
16899 | 9173 | |
16900 | ( | |
9174 | (F) ソートの比較ルーティンとして、外部サブルーティンを使用することは、 | |
16901 | ||
9175 | まだサポートされていません。 | |
16902 | 読み込んだバイトはこのエンコーディングでは不正でした。 | |
16903 | 例えば: | |
16904 | 9176 | |
16905 | | |
9177 | =item You can't use C<-l> on a filehandle | |
16906 | 9178 | |
16907 | 9179 | =begin original |
16908 | 9180 | |
16909 | ||
9181 | (F) A filehandle represents an opened file, and when you opened the file | |
9182 | it already went past any symlink you are presumably trying to look for. | |
9183 | Use a filename instead. | |
16910 | 9184 | |
16911 | 9185 | =end original |
16912 | 9186 | |
16913 | ||
9187 | (F) ファイルはオープンされたファイルを表わすものであり、 | |
9188 | ファイルをオープンしたときには、探しているシンボリックリンクは、 | |
9189 | 既に通り過ぎた後です。 | |
9190 | 代わりにファイル名を使ってください。 | |
16914 | 9191 | |
16915 | =item 'X' outside of string | |
16916 | ||
16917 | =begin original | |
16918 | ||
16919 | (F) You had a (un)pack template that specified a relative position before | |
16920 | the beginning of the string being (un)packed. See L<perlfunc/pack>. | |
16921 | ||
16922 | =end original | |
16923 | ||
16924 | (F) (un)pack している文字列の最後より後の相対位置を示している | |
16925 | (un)pack テンプレートを指定しました。 | |
16926 | L<perlfunc/pack> を参照してください。 | |
16927 | ||
16928 | =item 'x' outside of string in unpack | |
16929 | ||
16930 | =begin original | |
16931 | ||
16932 | (F) You had a pack template that specified a relative position after | |
16933 | the end of the string being unpacked. See L<perlfunc/pack>. | |
16934 | ||
16935 | =end original | |
16936 | ||
16937 | (F) unpack している文字列の最後より後の相対位置を示している | |
16938 | pack テンプレートを指定しました。 | |
16939 | L<perlfunc/pack> を参照してください。 | |
16940 | ||
16941 | 9192 | =item YOU HAVEN'T DISABLED SET-ID SCRIPTS IN THE KERNEL YET! |
16942 | 9193 | |
16943 | 9194 | =begin original |
16944 | 9195 | |
16945 | 9196 | (F) And you probably never will, because you probably don't have the |
16946 | 9197 | sources to your kernel, and your vendor probably doesn't give a rip |
16947 | about what you want. Your best bet is to | |
9198 | about what you want. Your best bet is to use the wrapsuid script in the | |
16948 | your script. | |
9199 | eg directory to put a setuid C wrapper around your script. | |
16949 | 9200 | |
16950 | 9201 | =end original |
16951 | 9202 | |
16952 | (F) | |
9203 | (F) (このカーネルでは、SET-ID スクリプトが禁止されていません!) | |
16953 | ||
9204 | そして、そうすることはできないでしょう。 カーネルのソースはお持ちでは | |
16954 | くれないでしょうから。 | |
9205 | ないでしょうし、ベンダも欲しいものを提供してはくれないでしょうから。 | |
16955 | もっとも良いのは、スクリプトに setuid C ラッパーを被せる | |
9206 | もっとも良いのは、スクリプトに setuid C ラッパーを被せるために、 | |
9207 | eg ディレクトリの wrapsuid スクリプトを使ってみることです。 | |
16956 | 9208 | |
16957 | 9209 | =item You need to quote "%s" |
16958 | 9210 | |
16959 | 9211 | =begin original |
16960 | 9212 | |
16961 | 9213 | (W syntax) You assigned a bareword as a signal handler name. |
16962 | 9214 | Unfortunately, you already have a subroutine of that name declared, |
16963 | 9215 | which means that Perl 5 will try to call the subroutine when the |
16964 | 9216 | assignment is executed, which is probably not what you want. (If it IS |
16965 | 9217 | what you want, put an & in front.) |
16966 | 9218 | |
16967 | 9219 | =end original |
16968 | 9220 | |
16969 | 9221 | (W syntax) シグナルハンドラ名に、裸の単語を代入しました。 |
16970 | 残念ながら、そのサブルー | |
9222 | 残念ながら、そのサブルーティンは既に宣言されていて、Perl 5 では、 | |
16971 | おそらく思惑とは違って、代入の実行時にサブルー | |
9223 | おそらく思惑とは違って、代入の実行時にサブルーティンの呼び出しが起こります。 | |
16972 | (もし、本当にそうしたいのであれば、サブルー | |
9224 | (もし、本当にそうしたいのであれば、サブルーティン名に & を付けてください。) | |
16973 | 9225 | |
16974 | =item Your random numbers are not that random | |
16975 | ||
16976 | =begin original | |
16977 | ||
16978 | (F) When trying to initialize the random seed for hashes, Perl could | |
16979 | not get any randomness out of your system. This usually indicates | |
16980 | Something Very Wrong. | |
16981 | ||
16982 | =end original | |
16983 | ||
16984 | (F) ハッシュのための乱数の種を初期化しようとしたとき、Perl はシステムから | |
16985 | 何の乱数性も得られませんでした。 | |
16986 | これは普通「何かとても具合が悪い」ことを示しています。 | |
16987 | ||
16988 | =item Zero length \N{} in regex; marked by S<<-- HERE> in m/%s/ | |
16989 | ||
16990 | =begin original | |
16991 | ||
16992 | (F) Named Unicode character escapes (C<\N{...}>) may return a zero-length | |
16993 | sequence. Such an escape was used in an extended character class, i.e. | |
16994 | C<(?[...])>, or under C<use re 'strict'>, which is not permitted. Check | |
16995 | that the correct escape has been used, and the correct charnames handler | |
16996 | is in scope. The S<<-- HERE> shows whereabouts in the regular | |
16997 | expression the problem was discovered. | |
16998 | ||
16999 | =end original | |
17000 | ||
17001 | (F) 名前付き Unicode 文字エスケープ (C<(\N{...})>) はゼロ幅並びを | |
17002 | 返すことがあります。 | |
17003 | このようなエスケープが拡張文字クラス、つまり C<(?[...])> の中、 | |
17004 | あるいは C<use re 'strict'> の基で使われました; | |
17005 | これは認められていません。 | |
17006 | 正しいエスケープを使っているか、および正しい文字名ハンドラがスコープ内に | |
17007 | あるかをチェックしてください。 | |
17008 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
17009 | ||
17010 | 9226 | =back |
17011 | 9227 | |
17012 | =head1 SEE ALSO | |
17013 | ||
17014 | L<warnings>, L<diagnostics>. | |
17015 | ||
17016 | =cut | |
17017 | ||
17018 | 9228 | =begin meta |
17019 | 9229 | |
17020 | Translate: 吉村 寿人 <JAE00534@niftyserve.or.jp> | |
9230 | Translate: 吉村 寿人 <JAE00534@niftyserve.or.jp> | |
17021 | Update: | |
9231 | Update: Kentaro Shirakata <argrath@ub32.org> | |
17022 | ||
9232 | License: GPL or Artistic | |
17023 | 9233 | |
17024 | 9234 | =end meta |
9235 | ||
9236 | =cut |