perldiag >
5.8.8
との差分
perldiag 5.8.8 と 5.14.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 (enabled by default). | |
30 | (S) A severe warning (default). | |
30 | (S) A severe warning (enabled by default). | |
31 | 31 | (F) A fatal error (trappable). |
32 | 32 | (P) An internal error you should never see (trappable). |
33 | 33 | (X) A very fatal error (nontrappable). |
34 | 34 | (A) An alien error message (not generated by Perl). |
35 | 35 | |
36 | 36 | =end original |
37 | 37 | |
38 | (W) 警告 (オプション) | |
38 | (W) 警告 (オプション)。 | |
39 | (D) 非推奨 ( | |
39 | (D) 非推奨 (デフォルトでは有効)。 | |
40 | (S) 重大な警告 (デフォルト) | |
40 | (S) 重大な警告 (デフォルトでは有効)。 | |
41 | (F) 致命的エラー (トラップ可能) | |
41 | (F) 致命的エラー (トラップ可能)。 | |
42 | (P) 起こるはずのない内部エラー (トラップ可能) | |
42 | (P) 起こるはずのない内部エラー (トラップ可能)。 | |
43 | (X) 重大致命的エラー (トラップ不可能) | |
43 | (X) 重大致命的エラー (トラップ不可能)。 | |
44 | (A) 外部エラーメッセージ (Perl 以外で生成されたもの) | |
44 | (A) 外部エラーメッセージ (Perl 以外で生成されたもの)。 | |
45 | 45 | |
46 | 46 | =begin original |
47 | 47 | |
48 | 48 | The majority of messages from the first three classifications above |
49 | 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 | 60 | below. |
61 | 61 | |
62 | 62 | =end original |
63 | 63 | |
64 | メッセージが C<warnings> プラグマで制御できる場合、 | |
64 | メッセージが C<warnings> プラグマで制御できる場合、警告カテゴリは以下の | |
65 | ||
65 | 説明で分類文字と共に記されています。 | |
66 | 66 | |
67 | 67 | =begin original |
68 | 68 | |
69 | 69 | Optional warnings are enabled by using the C<warnings> pragma or the B<-w> |
70 | 70 | and B<-W> switches. Warnings may be captured by setting C<$SIG{__WARN__}> |
71 | 71 | to a reference to a routine that will be called on each warning instead |
72 | 72 | of printing it. See L<perlvar>. |
73 | 73 | |
74 | 74 | =end original |
75 | 75 | |
76 | 76 | C<warnings> プラグマか B<-w> と B<-W> のオプションを使うと追加の警告が |
77 | 77 | 有効になります。 |
78 | 78 | 警告は、表示する変わりに警告が出るたびに呼び出されるサブルーチンへの |
79 | 79 | リファレンスを C<$SIG{__WARN__}> にセットすることで捕捉できます。 |
80 | 80 | L<perlvar> を参照してください。 |
81 | 81 | |
82 | 82 | =begin original |
83 | 83 | |
84 | ||
84 | Severe warnings are always enabled, unless they are explicitly disabled | |
85 | 85 | with the C<warnings> pragma or the B<-X> switch. |
86 | 86 | |
87 | 87 | =end original |
88 | 88 | |
89 | ||
89 | C<warnings> プラグマか B<-X> オプションで明示的に無効にされない限り、 | |
90 | ||
90 | 厳しい警告は常に有効です。 | |
91 | 91 | |
92 | 92 | =begin original |
93 | 93 | |
94 | 94 | Trappable errors may be trapped using the eval operator. See |
95 | 95 | L<perlfunc/eval>. In almost all cases, warnings may be selectively |
96 | 96 | disabled or promoted to fatal errors using the C<warnings> pragma. |
97 | 97 | See L<warnings>. |
98 | 98 | |
99 | 99 | =end original |
100 | 100 | |
101 | 101 | トラップ可能なエラーは評価演算子を使ってトラップできます。 |
102 | 102 | L<perlfunc/eval> を参照してください。 |
103 | ほとんど全ての場合、警告は C<warnings> プラグマを使うことで | |
103 | ほとんど全ての場合、警告は C<warnings> プラグマを使うことで選択的に | |
104 | ||
104 | 無効にしたり致命的エラーに昇格させたりできます。 | |
105 | 105 | L<warnings> を参照してください。 |
106 | 106 | |
107 | 107 | =begin original |
108 | 108 | |
109 | 109 | The messages are in alphabetical order, without regard to upper or |
110 | 110 | lower-case. Some of these messages are generic. Spots that vary are |
111 | 111 | denoted with a %s or other printf-style escape. These escapes are |
112 | 112 | ignored by the alphabetical order, as are all characters other than |
113 | 113 | letters. To look up your message, just ignore anything that is not a |
114 | 114 | letter. |
115 | 115 | |
116 | 116 | =end original |
117 | 117 | |
118 | 118 | メッセージは大文字小文字を無視してアルファベット順に並んでいます。 |
119 | 119 | これらの中には一般的なものもあります。 |
120 | 120 | 変化する部分は %s またはその他の printf スタイルの表記をしています。 |
121 | 121 | これらの表記や、その他の英文字以外の文字は並び順に関しては |
122 | 122 | 無視されています。 |
123 | 123 | メッセージを探すには、英文字以外は無視してください。 |
124 | 124 | |
125 | 125 | =over 4 |
126 | 126 | |
127 | 127 | =item accept() on closed socket %s |
128 | 128 | |
129 | 129 | =begin original |
130 | 130 | |
131 | 131 | (W closed) You tried to do an accept on a closed socket. Did you forget |
132 | 132 | to check the return value of your socket() call? See |
133 | 133 | L<perlfunc/accept>. |
134 | 134 | |
135 | 135 | =end original |
136 | 136 | |
137 | 137 | (W closed) クローズされたソケットに accept を行なおうとしました。 |
138 | 138 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
139 | 139 | L<perlfunc/accept> を参照してください。 |
140 | 140 | |
141 | =item Allocation too large: % | |
141 | =item Allocation too large: %x | |
142 | 142 | |
143 | 143 | =begin original |
144 | 144 | |
145 | 145 | (X) You can't allocate more than 64K on an MS-DOS machine. |
146 | 146 | |
147 | 147 | =end original |
148 | 148 | |
149 | 149 | (X) MS-DOS マシンでは、64K を越えるメモリアロケートをおこなえません。 |
150 | 150 | |
151 | =item ' | |
151 | =item '%c' allowed only after types %s | |
152 | 152 | |
153 | 153 | =begin original |
154 | 154 | |
155 | (F) The '!' | |
155 | (F) The modifiers '!', '<' and '>' are allowed in pack() or unpack() only | |
156 | See L<perlfunc/pack>. | |
156 | after certain types. See L<perlfunc/pack>. | |
157 | 157 | |
158 | 158 | =end original |
159 | 159 | |
160 | (F) pack() や unpack() での '!' は特定のタイプの | |
160 | (F) pack() や unpack() での '!', '<', '>''!' の修飾子は特定のタイプの | |
161 | つけることができます。 | |
161 | 後にのみつけることができます。 | |
162 | 162 | L<perlfunc/pack> を参照してください。 |
163 | 163 | |
164 | 164 | =item Ambiguous call resolved as CORE::%s(), qualify as such or use & |
165 | 165 | |
166 | 166 | =begin original |
167 | 167 | |
168 | 168 | (W ambiguous) A subroutine you have declared has the same name as a Perl |
169 | 169 | keyword, and you have used the name without qualification for calling |
170 | 170 | one or the other. Perl decided to call the builtin because the |
171 | 171 | subroutine is not imported. |
172 | 172 | |
173 | 173 | =end original |
174 | 174 | |
175 | 175 | (W ambiguous) 定義したサブルーチンの名前が Perl のキーワードと同じで、 |
176 | 176 | どちらかを呼び出すために修飾なしで名前を使っています。 |
177 | Perl は、サブルーチンがインポートされたものではないので、 | |
177 | Perl は、サブルーチンがインポートされたものではないので、組み込みのものを | |
178 | ||
178 | 呼び出すことにしました。 | |
179 | 179 | |
180 | 180 | =begin original |
181 | 181 | |
182 | 182 | To force interpretation as a subroutine call, either put an ampersand |
183 | 183 | before the subroutine name, or qualify the name with its package. |
184 | 184 | Alternatively, you can import the subroutine (or pretend that it's |
185 | 185 | imported with the C<use subs> pragma). |
186 | 186 | |
187 | 187 | =end original |
188 | 188 | |
189 | サブルーチン呼び出しとして解釈することを強制させるためには、 | |
189 | サブルーチン呼び出しとして解釈することを強制させるためには、サブルーチン名の | |
190 | ||
190 | 前にアンパサンドをつけるか、名前をパッケージ名で修飾してください。 | |
191 | 修飾してください。 | |
192 | 191 | 他の方法として、サブルーチンをインポートする(あるいは C<use subs> |
193 | 192 | プラグマを使ってインポートされたふりをする)方法もあります。 |
194 | 193 | |
195 | 194 | =begin original |
196 | 195 | |
197 | 196 | To silently interpret it as the Perl operator, use the C<CORE::> prefix |
198 | 197 | on the operator (e.g. C<CORE::log($x)>) or declare the subroutine |
199 | 198 | to be an object method (see L<perlsub/"Subroutine Attributes"> or |
200 | 199 | L<attributes>). |
201 | 200 | |
202 | 201 | =end original |
203 | 202 | |
204 | 203 | 警告なしに Perl 演算子として解釈させるためには、(C<CORE::log($x)> のように) |
205 | 204 | 演算子に C<CORE::> 接頭辞をつけるか、サブルーチンをオブジェクト |
206 | 205 | メソッド(L<perlsub/"Subroutine Attributes"> や L<attributes> を |
207 | 206 | 参照してください)として定義してください。 |
208 | 207 | |
209 | 208 | =item Ambiguous range in transliteration operator |
210 | 209 | |
211 | 210 | =begin original |
212 | 211 | |
213 | 212 | (F) You wrote something like C<tr/a-z-0//> which doesn't mean anything at |
214 | 213 | all. To include a C<-> character in a transliteration, put it either |
215 | 214 | first or last. (In the past, C<tr/a-z-0//> was synonymous with |
216 | 215 | C<tr/a-y//>, which was probably not what you would have expected.) |
217 | 216 | |
218 | 217 | =end original |
219 | 218 | |
220 | 219 | (F) C<tr/a-z-0//> のような、何の意味もないことをしようとしました。 |
221 | 220 | 文字変換の文字に C<-> を加える時は、最初か最後に置いてください。 |
222 | 221 | (以前は C<tr/a-z-0//> は C<tr/a-y//> と同義でしたが、これはおそらく |
223 | 222 | 予想していたものと違うでしょう。) |
224 | 223 | |
225 | 224 | =item Ambiguous use of %s resolved as %s |
226 | 225 | |
227 | 226 | =begin original |
228 | 227 | |
229 | 228 | (W ambiguous)(S) You said something that may not be interpreted the way |
230 | 229 | you thought. Normally it's pretty easy to disambiguate it by supplying |
231 | 230 | a missing quote, operator, parenthesis pair or declaration. |
232 | 231 | |
233 | 232 | =end original |
234 | 233 | |
235 | 234 | (W ambiguous)(S) 何か、あなたが考えているようには解釈できないものが |
236 | 235 | ありました。 |
237 | 普通は、不足しているクォート、演算子、かっこ、宣言を追加することで | |
236 | 普通は、不足しているクォート、演算子、かっこ、宣言を追加することでかなり | |
238 | ||
237 | 簡単にあいまいさを解消できます。 | |
239 | 238 | |
239 | =item Ambiguous use of %c resolved as operator %c | |
240 | ||
241 | =begin original | |
242 | ||
243 | (W ambiguous) C<%>, C<&>, and C<*> are both infix operators (modulus, | |
244 | bitwise and, and multiplication) I<and> initial special characters | |
245 | (denoting hashes, subroutines and typeglobs), and you said something | |
246 | like C<*foo * foo> that might be interpreted as either of them. We | |
247 | assumed you meant the infix operator, but please try to make it more | |
248 | clear -- in the example given, you might write C<*foo * foo()> if you | |
249 | really meant to multiply a glob by the result of calling a function. | |
250 | ||
251 | =end original | |
252 | ||
253 | (W ambiguous) C<%>, C<&>, C<*> は、中置演算子(剰余、ビット単位論理和、乗算) | |
254 | I<および> 初期特殊文字(ハッシュ、サブルーチン、型グロブを示す)の | |
255 | 両方に使われます。 | |
256 | どちらとも解釈できる C<*foo * foo> のようなものが書かれました。 | |
257 | これは中置演算子を意味していると仮定しますが、どうかより明確にするように | |
258 | してください -- 上述の例では、もし本当にグロブと関数呼び出しの結果の | |
259 | 積を意味しているなら、C<*foo * foo()> と書けます。 | |
260 | ||
261 | =item Ambiguous use of %c{%s} resolved to %c%s | |
262 | ||
263 | =begin original | |
264 | ||
265 | (W ambiguous) You wrote something like C<@{foo}>, which might be | |
266 | asking for the variable C<@foo>, or it might be calling a function | |
267 | named foo, and dereferencing it as an array reference. If you wanted | |
268 | the varable, you can just write C<@foo>. If you wanted to call the | |
269 | function, write C<@{foo()}> ... or you could just not have a variable | |
270 | and a function with the same name, and save yourself a lot of trouble. | |
271 | ||
272 | =end original | |
273 | ||
274 | (W ambiguous) C<@{foo}> のようなものを書きました; これは変数 C<@foo> のこと | |
275 | かもしれませんし、foo という名前の関数を呼び出して、それを配列 | |
276 | リファレンスとしてデリファレンスするかもしれません。 | |
277 | もし変数がほしいなら、単に C<@foo> と書いてください。 | |
278 | 関数を呼び出したいなら、C<@{foo()}> と書いてください…あるいは単に | |
279 | 変数と関数で同じ名前を使わないでください; これにより多くの問題から身を | |
280 | 守れます。 | |
281 | ||
282 | =item Ambiguous use of %c{%s[...]} resolved to %c%s[...] | |
283 | ||
284 | =item Ambiguous use of %c{%s{...}} resolved to %c%s{...} | |
285 | ||
286 | =begin original | |
287 | ||
288 | (W ambiguous) You wrote something like C<${foo[2]}> (where foo | |
289 | represents the name of a Perl keyword), which might be looking for | |
290 | element number 2 of the array named C<@foo>, in which case please write | |
291 | C<$foo[2]>, or you might have meant to pass an anonymous arrayref to | |
292 | the function named foo, and then do a scalar deref on the value it | |
293 | returns. If you meant that, write C<${foo([2])}>. | |
294 | ||
295 | =end original | |
296 | ||
297 | (W ambiguous) C<${foo[2]}> のようなものを書きました (ここで foo は Perl の | |
298 | キーワード名を表します); これは C<@foo> という名前の配列の要素番号 2 を | |
299 | 探しているのかも知れません(その場合は C<$foo[2]> と書いてください)し、 | |
300 | foo という名前の関数に無名配列リファレンスを渡して、返り値をスカラ | |
301 | デリファレンスしているのかも知れません。 | |
302 | それを意味しているなら、C<${foo([2])}> と書いてください。 | |
303 | ||
304 | =begin original | |
305 | ||
306 | In regular expressions, the C<${foo[2]}> syntax is sometimes necessary | |
307 | to disambiguate between array subscripts and character classes. | |
308 | C</$length[2345]/>, for instance, will be interpreted as C<$length> | |
309 | followed by the character class C<[2345]>. If an array subscript is what | |
310 | you want, you can avoid the warning by changing C</${length[2345]}/> | |
311 | to the unsightly C</${\$length[2345]}/>, by renaming your array to | |
312 | something that does not coincide with a built-in keyword, or by | |
313 | simply turning off warnings with C<no warnings 'ambiguous';>. | |
314 | ||
315 | =end original | |
316 | ||
317 | 正規表現の中で、C<${foo[2]}> 文法は配列添え字と文字クラスを区別するために | |
318 | 必要になります。 | |
319 | 例えば、C</$length[2345]/> は、C<$length> に文字クラス C<[2345]> が | |
320 | 引き続くと解釈されます。 | |
321 | 配列添え字が求めているものなら、C</${length[2345]}/> を | |
322 | (見にくい) C</${\$length[2345]}/>と変更する、配列の名前を組み込みキーワードと | |
323 | 衝突しないものに変える、単に C<no warnings 'ambiguous';> として | |
324 | 警告をオフにする、のいずれかで警告を回避できます。 | |
325 | ||
326 | =item Ambiguous use of -%s resolved as -&%s() | |
327 | ||
328 | =begin original | |
329 | ||
330 | (W ambiguous) You wrote something like C<-foo>, which might be the | |
331 | string C<"-foo">, or a call to the function C<foo>, negated. If you meant | |
332 | the string, just write C<"-foo">. If you meant the function call, | |
333 | write C<-foo()>. | |
334 | ||
335 | =end original | |
336 | ||
337 | (W ambiguous) C<-foo> のようなものを書きました; これは文字列 C<"-foo"> かも | |
338 | 知れませんし、関数 C<foo> を呼び出してその否定かも知れません。 | |
339 | 文字列のつもりなら、単に C<"-foo"> と書いてください。 | |
340 | 関数呼び出しのつもりなら、C<-foo()> と書いてください。 | |
341 | ||
342 | =item Ambiguous use of 's//le...' resolved as 's// le...'; Rewrite as 's//el' if you meant 'use locale rules and evaluate rhs as an expression'. In Perl 5.16, it will be resolved the other way | |
343 | ||
344 | =begin original | |
345 | ||
346 | (W deprecated, ambiguous) You wrote a pattern match with substitution | |
347 | immediately followed by "le". In Perl 5.14 and earlier, this is | |
348 | resolved as meaning to take the result of the substitution, and see if | |
349 | it is stringwise less-than-or-equal-to what follows in the expression. | |
350 | Having the "le" immediately following a pattern is deprecated behavior, | |
351 | so in Perl 5.16, this expression will be resolved as meaning to do the | |
352 | pattern match using the rules of the current locale, and evaluate the | |
353 | rhs as an expression when doing the substitution. In 5.14, if you want | |
354 | the latter interpretation, you can simply write "el" instead. | |
355 | ||
356 | =end original | |
357 | ||
358 | (W deprecated, ambiguous) 置換を含むパターンの直後に "le" と書きました。 | |
359 | Perl 5.14 以前では、これは置換の結果を取り、これと式に引き続くものとの | |
360 | 間での文字列的な「以下」かどうかを調べます。 | |
361 | パターンの直後に引き続く "le" は廃止予定の振る舞いなので、Perl 5.16 では、 | |
362 | この式は現在のロケールの規則を使ってパターンマッチングを行い、置換を | |
363 | 行うときに右側を式として評価します。 | |
364 | 5.14 では、後者の解釈を望むなら、単に代わりに "el" と書いてください。 | |
365 | ||
240 | 366 | =item '|' and '<' may not both be specified on command line |
241 | 367 | |
242 | 368 | =begin original |
243 | 369 | |
244 | 370 | (F) An error peculiar to VMS. Perl does its own command line |
245 | 371 | redirection, and found that STDIN was a pipe, and that you also tried to |
246 | 372 | redirect STDIN using '<'. Only one STDIN stream to a customer, please. |
247 | 373 | |
248 | 374 | =end original |
249 | 375 | |
250 | (F) VMS | |
376 | (F) VMS に固有のエラーです。 | |
251 | 377 | Perl は独自にコマンドラインのリダイレクトを扱っていて、STDIN がパイプで |
252 | 378 | あることを発見しましたが、さらに '<' を使って STDIN をリダイレクトしようと |
253 | 379 | しました。 |
254 | STDIN ストリームは一つだけにしてください。 | |
380 | STDIN ストリームは一つだけにしてください; お願いします。 | |
255 | お願いします。 | |
256 | 381 | |
257 | 382 | =item '|' and '>' may not both be specified on command line |
258 | 383 | |
259 | 384 | =begin original |
260 | 385 | |
261 | 386 | (F) An error peculiar to VMS. Perl does its own command line |
262 | 387 | redirection, and thinks you tried to redirect stdout both to a file and |
263 | 388 | into a pipe to another command. You need to choose one or the other, |
264 | 389 | though nothing's stopping you from piping into a program or Perl script |
265 | 390 | which 'splits' output into two streams, such as |
266 | 391 | |
267 | 392 | =end original |
268 | 393 | |
269 | (F) VMS | |
394 | (F) VMS に固有のエラーです。 | |
270 | 395 | Perl は独自にコマンドラインのリダイレクトを扱っていて、STDOUT を |
271 | 396 | ファイルと他のコマンドへのパイプと両方にリダイレクトしようとしていると |
272 | 397 | 判断しました。 |
273 | 398 | どちらかを選ぶ必要がありますが、以下のように出力を二つのストリームに |
274 | 399 | 「分割」するプログラムや Perl スクリプトにパイプすることを止めるものは |
275 | 400 | 何もありません。 |
276 | 401 | |
277 | 402 | open(OUT,">$ARGV[0]") or die "Can't write to $ARGV[0]: $!"; |
278 | 403 | while (<STDIN>) { |
279 | 404 | print; |
280 | 405 | print OUT; |
281 | 406 | } |
282 | 407 | close OUT; |
283 | 408 | |
284 | 409 | =item Applying %s to %s will act on scalar(%s) |
285 | 410 | |
286 | 411 | =begin original |
287 | 412 | |
288 | 413 | (W misc) The pattern match (C<//>), substitution (C<s///>), and |
289 | 414 | transliteration (C<tr///>) operators work on scalar values. If you apply |
290 | 415 | one of them to an array or a hash, it will convert the array or hash to |
291 | a scalar value | |
416 | a scalar value (the length of an array, or the population info of a | |
292 | hash | |
417 | hash) and then work on that scalar value. This is probably not what | |
293 | 418 | you meant to do. See L<perlfunc/grep> and L<perlfunc/map> for |
294 | 419 | alternatives. |
295 | 420 | |
296 | 421 | =end original |
297 | 422 | |
298 | 423 | (W misc) パターンマッチ (C<//>), 置換 (C<s///>), 文字置換 |
299 | 424 | (C<tr///>) 演算子はスカラ値に対して動作します。 |
300 | これらを配列やハッシュに適用すると、配列やハッシュをスカラ値 | |
425 | これらを配列やハッシュに適用すると、配列やハッシュをスカラ値 (配列の長さか | |
301 | ||
426 | ハッシュの大きさの情報) に変換し、そのスカラ値に対して動作します。 | |
302 | 動作します。 | |
303 | 427 | これはおそらくしたいこととは違うでしょう。 |
304 | 428 | 代替案については L<perlfunc/grep> と L<perlfunc/map> を参照してください。 |
305 | 429 | |
306 | =item Args must match #! line | |
307 | ||
308 | =begin original | |
309 | ||
310 | (F) The setuid emulator requires that the arguments Perl was invoked | |
311 | with match the arguments specified on the #! line. Since some systems | |
312 | impose a one-argument limit on the #! line, try combining switches; | |
313 | for example, turn C<-w -U> into C<-wU>. | |
314 | ||
315 | =end original | |
316 | ||
317 | (F) setuid エミュレータでは、Perl を起動したときの引数と、 | |
318 | #! の行で指定された引数はマッチすることが要求されます。 | |
319 | #! 行の 1 引数制限があるシステムがあるので、 | |
320 | 組み合わせスイッチを試してみてください; | |
321 | 例えば、C<-w -U> を C<-wU> にしてください。 | |
322 | ||
323 | 430 | =item Arg too short for msgsnd |
324 | 431 | |
325 | 432 | =begin original |
326 | 433 | |
327 | 434 | (F) msgsnd() requires a string at least as long as sizeof(long). |
328 | 435 | |
329 | 436 | =end original |
330 | 437 | |
331 | (F) msgsnd() に渡す文字列は、少なくとも sizeof(long) の | |
438 | (F) msgsnd() に渡す文字列は、少なくとも sizeof(long) の長さが必要です。 | |
332 | 長さが必要です。 | |
333 | 439 | |
334 | =item %s argument is not a HASH or ARRAY element | |
440 | =item %s argument is not a HASH or ARRAY element or a subroutine | |
335 | 441 | |
336 | 442 | =begin original |
337 | 443 | |
338 | (F) The argument to exists() must be a hash or array element | |
444 | (F) The argument to exists() must be a hash or array element or a | |
445 | subroutine with an ampersand, such as: | |
339 | 446 | |
340 | 447 | =end original |
341 | 448 | |
342 | (F) exists() の引数は、 | |
449 | (F) exists() の引数は以下のように、ハッシュや配列の要素か、 | |
343 | ||
450 | アンパサンド付きのサブルーチンでなければなりません: | |
344 | 451 | |
345 | 452 | $foo{$bar} |
346 | 453 | $ref->{"susie"}[12] |
454 | &do_something | |
347 | 455 | |
348 | 456 | =item %s argument is not a HASH or ARRAY element or slice |
349 | 457 | |
350 | 458 | =begin original |
351 | 459 | |
352 | 460 | (F) The argument to delete() must be either a hash or array element, |
353 | 461 | such as: |
354 | 462 | |
355 | 463 | =end original |
356 | 464 | |
357 | 465 | (F) delete() の引数は以下のようにハッシュか配列の要素であるか: |
358 | 466 | |
359 | 467 | $foo{$bar} |
360 | 468 | $ref->{"susie"}[12] |
361 | 469 | |
362 | 470 | =begin original |
363 | 471 | |
364 | 472 | or a hash or array slice, such as: |
365 | 473 | |
366 | 474 | =end original |
367 | 475 | |
368 | 476 | あるいは以下のようにハッシュか配列のスライスでなければなりません: |
369 | 477 | |
370 | 478 | @foo[$bar, $baz, $xyzzy] |
371 | 479 | @{$ref->[12]}{"susie", "queue"} |
372 | 480 | |
373 | 481 | =item %s argument is not a subroutine name |
374 | 482 | |
375 | 483 | =begin original |
376 | 484 | |
377 | 485 | (F) The argument to exists() for C<exists &sub> must be a subroutine |
378 | 486 | name, and not a subroutine call. C<exists &sub()> will generate this |
379 | 487 | error. |
380 | 488 | |
381 | 489 | =end original |
382 | 490 | |
383 | 491 | (F) C<exists &sub> の形の exists() の引数はサブルーチン呼び出しではなく、 |
384 | 492 | サブルーチン名でなければなりません。 |
385 | 493 | C<exists &sub()> とするとこのエラーが生成されます。 |
386 | 494 | |
387 | 495 | =item Argument "%s" isn't numeric%s |
388 | 496 | |
389 | 497 | =begin original |
390 | 498 | |
391 | 499 | (W numeric) The indicated string was fed as an argument to an operator |
392 | 500 | that expected a numeric value instead. If you're fortunate the message |
393 | 501 | will identify which operator was so unfortunate. |
394 | 502 | |
395 | 503 | =end original |
396 | 504 | |
397 | 505 | (W numeric) ここに示した文字列は、数値が必要な演算子の引数として、 |
398 | 506 | 与えられました。 |
399 | 運がよければ、このメッセージによって、どの演算子が | |
507 | 運がよければ、このメッセージによって、どの演算子が問題となったかが | |
400 | ||
508 | わかります。 | |
401 | 509 | |
402 | 510 | =item Argument list not closed for PerlIO layer "%s" |
403 | 511 | |
404 | 512 | =begin original |
405 | 513 | |
406 | 514 | (W layer) When pushing a layer with arguments onto the Perl I/O system you |
407 | 515 | forgot the ) that closes the argument list. (Layers take care of transforming |
408 | 516 | data between external and internal representations.) Perl stopped parsing |
409 | 517 | the layer list at this point and did not attempt to push this layer. |
410 | 518 | If your program didn't explicitly request the failing operation, it may be |
411 | 519 | the result of the value of the environment variable PERLIO. |
412 | 520 | |
413 | 521 | =end original |
414 | 522 | |
415 | 523 | (W layer) Perl I/O システムに層を引数付きで追加するときに、引数リストを |
416 | 524 | 閉じる ) を忘れています。 |
417 | 525 | (層はデータの外部表現と内部表現の変換を扱います。) |
418 | 526 | Perl はここで層のリストのパースを中止し、この層の追加は行われませんでした。 |
419 | 527 | 明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の |
420 | 528 | 値が原因かもしれません。 |
421 | 529 | |
422 | 530 | =item Array @%s missing the @ in argument %d of %s() |
423 | 531 | |
424 | 532 | =begin original |
425 | 533 | |
426 | 534 | (D deprecated) Really old Perl let you omit the @ on array names in some |
427 | 535 | spots. This is now heavily deprecated. |
428 | 536 | |
429 | 537 | =end original |
430 | 538 | |
431 | 539 | (D deprecated) 本当に古い Perl では、場所によっては、配列名の @ を |
432 | 540 | 省略できました。 |
433 | こ | |
541 | これは廃止予定です。 | |
434 | 542 | |
435 | 543 | =item assertion botched: %s |
436 | 544 | |
437 | 545 | =begin original |
438 | 546 | |
439 | 547 | (P) The malloc package that comes with Perl had an internal failure. |
440 | 548 | |
441 | 549 | =end original |
442 | 550 | |
443 | 551 | (P) Perl に付属の malloc ルーティンが内部エラーを起こしました。 |
444 | 552 | |
445 | 553 | =item Assertion failed: file "%s" |
446 | 554 | |
447 | 555 | =begin original |
448 | 556 | |
449 | 557 | (P) A general assertion failed. The file in question must be examined. |
450 | 558 | |
451 | 559 | =end original |
452 | 560 | |
453 | 561 | (P) 一般的なアサーションが失敗しました。 |
454 | 562 | 問題の file を調べる必要があります。 |
455 | 563 | |
456 | 564 | =item Assignment to both a list and a scalar |
457 | 565 | |
458 | 566 | =begin original |
459 | 567 | |
460 | 568 | (F) If you assign to a conditional operator, the 2nd and 3rd arguments |
461 | 569 | must either both be scalars or both be lists. Otherwise Perl won't |
462 | 570 | know which context to supply to the right side. |
463 | 571 | |
464 | 572 | =end original |
465 | 573 | |
466 | (F) 条件演算子へ代入を行なう場合には、 | |
574 | (F) 条件演算子へ代入を行なう場合には、二つめの引数と、3 つめの引数は、 | |
467 | 575 | ともにスカラか、ともにリストでなければなりません。 |
468 | 576 | そうでないと、Perl は右辺のコンテキストを決めることができません。 |
469 | 577 | |
470 | 578 | =item A thread exited while %d threads were running |
471 | 579 | |
472 | 580 | =begin original |
473 | 581 | |
474 | 582 | (W threads)(S) When using threaded Perl, a thread (not necessarily the main |
475 | 583 | thread) exited while there were still other threads running. |
476 | Usually it's a good idea | |
584 | Usually it's a good idea first to collect the return values of the | |
477 | created threads by joining them, and only then exit from the main | |
585 | created threads by joining them, and only then to exit from the main | |
478 | 586 | thread. See L<threads>. |
479 | 587 | |
480 | 588 | =end original |
481 | 589 | |
482 | 590 | (W threads)(S) スレッドが有効な Perl を使っているときに、他のスレッドが |
483 | 591 | まだ動いている状態で、あるスレッド(メインスレッドには限りません)が |
484 | 592 | 終了しました。 |
485 | 593 | 普通は、作成したスレッドに join することで返り値を集めて、それから |
486 | 594 | メインスレッドから終了するのがよい考えです。 |
487 | 595 | L<threads> を参照してください。 |
488 | 596 | |
489 | 597 | =item Attempt to access disallowed key '%s' in a restricted hash |
490 | 598 | |
491 | 599 | =begin original |
492 | 600 | |
493 | 601 | (F) The failing code has attempted to get or set a key which is not in |
494 | 602 | the current set of allowed keys of a restricted hash. |
495 | 603 | |
496 | 604 | =end original |
497 | 605 | |
498 | 606 | (F) 制限ハッシュで許されているキーの集合に含まれていないキーに対して |
499 | 607 | 取得または設定しようとして失敗しました。 |
500 | 608 | |
501 | 609 | =item Attempt to bless into a reference |
502 | 610 | |
503 | 611 | =begin original |
504 | 612 | |
505 | 613 | (F) The CLASSNAME argument to the bless() operator is expected to be |
506 | 614 | the name of the package to bless the resulting object into. You've |
507 | 615 | supplied instead a reference to something: perhaps you wrote |
508 | 616 | |
509 | 617 | =end original |
510 | 618 | |
511 | 619 | (F) bless() 演算子の CLASSNAME 引数は結果のオブジェクトに bless する |
512 | 620 | パッケージ名を想定しています。 |
513 | そこに何かへのリファレンスが与えられました | |
621 | そこに何かへのリファレンスが与えられました: | |
514 | 622 | おそらく以下のようにしたのでしょう: |
515 | 623 | |
516 | 624 | bless $self, $proto; |
517 | 625 | |
518 | 626 | =begin original |
519 | 627 | |
520 | 628 | when you intended |
521 | 629 | |
522 | 630 | =end original |
523 | 631 | |
524 | 632 | 以下を意図していたはずです: |
525 | 633 | |
526 | 634 | bless $self, ref($proto) || $proto; |
527 | 635 | |
528 | 636 | =begin original |
529 | 637 | |
530 | 638 | If you actually want to bless into the stringified version |
531 | 639 | of the reference supplied, you need to stringify it yourself, for |
532 | 640 | example by: |
533 | 641 | |
534 | 642 | =end original |
535 | 643 | |
536 | 644 | 実際に与えられたリファレンスを文字列化したものに bless したい場合は、 |
537 | 645 | 以下のようにして自分で文字列化する必要があります: |
538 | 646 | |
539 | 647 | bless $self, "$proto"; |
540 | 648 | |
541 | 649 | =item Attempt to delete disallowed key '%s' from a restricted hash |
542 | 650 | |
543 | 651 | =begin original |
544 | 652 | |
545 | 653 | (F) The failing code attempted to delete from a restricted hash a key |
546 | 654 | which is not in its key set. |
547 | 655 | |
548 | 656 | =end original |
549 | 657 | |
550 | 658 | (F) 制限ハッシュで、キー集合に含まれていないキーから削除しようとしました。 |
551 | 659 | |
552 | 660 | =item Attempt to delete readonly key '%s' from a restricted hash |
553 | 661 | |
554 | 662 | =begin original |
555 | 663 | |
556 | 664 | (F) The failing code attempted to delete a key whose value has been |
557 | 665 | declared readonly from a restricted hash. |
558 | 666 | |
559 | 667 | =end original |
560 | 668 | |
561 | 669 | (F) 制限ハッシュで、読み込み専用として宣言されている値のキーを |
562 | 670 | 削除しようとしました。 |
563 | 671 | |
564 | =item Attempt to free non-arena SV: 0x% | |
672 | =item Attempt to free non-arena SV: 0x%x | |
565 | 673 | |
566 | 674 | =begin original |
567 | 675 | |
568 | 676 | (P internal) All SV objects are supposed to be allocated from arenas |
569 | 677 | that will be garbage collected on exit. An SV was discovered to be |
570 | 678 | outside any of those arenas. |
571 | 679 | |
572 | 680 | =end original |
573 | 681 | |
574 | 682 | (P internal) すべての SV オブジェクトは、exit 時にガーベジコレクションが |
575 | 683 | 行なわれるアリーナに割り当てるようになっています。 |
576 | 684 | ある SV が、そういったアリーナに入っていないことが、見つかりました。 |
577 | 685 | |
578 | 686 | =item Attempt to free nonexistent shared string |
579 | 687 | |
580 | 688 | =begin original |
581 | 689 | |
582 | (P internal) Perl maintains a reference | |
690 | (P internal) Perl maintains a reference-counted internal table of | |
583 | 691 | strings to optimize the storage and access of hash keys and other |
584 | 692 | strings. This indicates someone tried to decrement the reference count |
585 | 693 | of a string that can no longer be found in the table. |
586 | 694 | |
587 | 695 | =end original |
588 | 696 | |
589 | (P internal) Perl はストレージおよびハッシュキーとその他の | |
697 | (P internal) Perl はストレージおよびハッシュキーとその他の文字列への | |
590 | ||
698 | アクセスを最適化するために、文字列の参照数テーブルを管理しています。 | |
591 | ||
699 | これは誰かがもうテーブルにない文字列の参照カウントを減らそうとしたことを | |
592 | ||
700 | 示します。 | |
593 | したことを示します。 | |
594 | 701 | |
595 | 702 | =item Attempt to free temp prematurely |
596 | 703 | |
597 | 704 | =begin original |
598 | 705 | |
599 | 706 | (W debugging) Mortalized values are supposed to be freed by the |
600 | 707 | free_tmps() routine. This indicates that something else is freeing the |
601 | 708 | SV before the free_tmps() routine gets a chance, which means that the |
602 | 709 | free_tmps() routine will be freeing an unreferenced scalar when it does |
603 | 710 | try to free it. |
604 | 711 | |
605 | 712 | =end original |
606 | 713 | |
607 | 714 | (W debugging) 消滅する値は、free_tmps() ルーティンで解放されるように |
608 | 715 | なっています。 |
609 | 716 | このメッセージは、free_tmps() ルーティンの前に何ものかが、SV を |
610 | 717 | 解放しようとしていることを示していて、これは、free_tmps() が |
611 | 718 | 解放しようとしたときには、どこからも参照されていないスカラを |
612 | 719 | 解放することになるということです。 |
613 | 720 | |
614 | 721 | =item Attempt to free unreferenced glob pointers |
615 | 722 | |
616 | 723 | =begin original |
617 | 724 | |
618 | 725 | (P internal) The reference counts got screwed up on symbol aliases. |
619 | 726 | |
620 | 727 | =end original |
621 | 728 | |
622 | 729 | (P internal) シンボルのエイリアスについて、参照カウントの値がおかしな |
623 | 730 | 状態になりました。 |
624 | 731 | |
625 | 732 | =item Attempt to free unreferenced scalar |
626 | 733 | |
627 | 734 | =begin original |
628 | 735 | |
629 | 736 | (W internal) Perl went to decrement the reference count of a scalar to |
630 | 737 | see if it would go to 0, and discovered that it had already gone to 0 |
631 | 738 | earlier, and should have been freed, and in fact, probably was freed. |
632 | 739 | This could indicate that SvREFCNT_dec() was called too many times, or |
633 | 740 | that SvREFCNT_inc() was called too few times, or that the SV was |
634 | 741 | mortalized when it shouldn't have been, or that memory has been |
635 | 742 | corrupted. |
636 | 743 | |
637 | 744 | =end original |
638 | 745 | |
639 | (W) Perl がスカラの参照カウントをデクリメントしようとして、0 に | |
746 | (W) Perl がスカラの参照カウントをデクリメントしようとして、0 になるかを | |
640 | ||
747 | 見たところ、既に 0 になっていることがわかりました; | |
641 | 748 | これは、既に解放されているべきものであり、実際は、おそらく、 |
642 | 749 | 解放されたものでしょう。 |
643 | 750 | これは、SvREFCNT_dec() が必要以上に呼ばれたか、SvREFCNT_inc() が必要な |
644 | 751 | ときに呼ばれなかったか、SV が消滅すべきで無いときに消滅してしまったか、 |
645 | 752 | メモリ異常になったことが考えられます。 |
646 | 753 | |
647 | 754 | =item Attempt to join self |
648 | 755 | |
649 | 756 | =begin original |
650 | 757 | |
651 | 758 | (F) You tried to join a thread from within itself, which is an |
652 | 759 | impossible task. You may be joining the wrong thread, or you may need |
653 | 760 | to move the join() to some other thread. |
654 | 761 | |
655 | 762 | =end original |
656 | 763 | |
657 | (F) スレッドをそれ自身の中から join しようとしました | |
764 | (F) スレッドをそれ自身の中から join しようとしました; これは不可能な | |
658 | ||
765 | 動作です。 | |
659 | 間違ったスレッドに join しようとしているか、 | |
766 | 間違ったスレッドに join しようとしているか、あるいは join() を他の | |
660 | ||
767 | スレッドに移動させる必要があります。 | |
661 | 768 | |
662 | 769 | =item Attempt to pack pointer to temporary value |
663 | 770 | |
664 | 771 | =begin original |
665 | 772 | |
666 | 773 | (W pack) You tried to pass a temporary value (like the result of a |
667 | 774 | function, or a computed expression) to the "p" pack() template. This |
668 | 775 | means the result contains a pointer to a location that could become |
669 | 776 | invalid anytime, even before the end of the current statement. Use |
670 | 777 | literals or global values as arguments to the "p" pack() template to |
671 | 778 | avoid this warning. |
672 | 779 | |
673 | 780 | =end original |
674 | 781 | |
675 | 782 | (W pack) (関数の結果や計算された式といった)一時的な値を pack() の |
676 | 783 | "p" テンプレートに渡そうとしました。 |
677 | 784 | これは、たとえ現在の文の終了前でも、不正な値となり得ます。 |
678 | この警告を避けるためには、pack テンプレート "p" の引数として、 | |
785 | この警告を避けるためには、pack テンプレート "p" の引数として、リテラルか | |
679 | ||
786 | グローバルな値を使ってください。 | |
680 | 787 | |
788 | =item Attempt to reload %s aborted. | |
789 | ||
790 | =begin original | |
791 | ||
792 | (F) You tried to load a file with C<use> or C<require> that failed to | |
793 | compile once already. Perl will not try to compile this file again | |
794 | unless you delete its entry from %INC. See L<perlfunc/require> and | |
795 | L<perlvar/%INC>. | |
796 | ||
797 | =end original | |
798 | ||
799 | (F) 既に一度コンパイルに失敗しているファイルを C<use> や C<require> で | |
800 | 読み込もうとしました。 | |
801 | Perl は %INC からこのファイルのエントリを削除するまで再びファイルを | |
802 | コンパイルしようとはしません。 | |
803 | L<perlfunc/require> と L<perlvar/%INC> を参照してください。 | |
804 | ||
681 | 805 | =item Attempt to set length of freed array |
682 | 806 | |
683 | 807 | =begin original |
684 | 808 | |
685 | 809 | (W) You tried to set the length of an array which has been freed. You |
686 | 810 | can do this by storing a reference to the scalar representing the last index |
687 | 811 | of an array and later assigning through that reference. For example |
688 | 812 | |
689 | 813 | =end original |
690 | 814 | |
691 | 815 | (W) 既に解放された配列の長さを設定しようとしました。 |
692 | 816 | 配列の最後のインデックスを表現するスカラをリファレンスに保存して、 |
693 | 817 | 後でこのリファレンスを通して代入することでこれを行えます。 |
694 | 818 | 例えば: |
695 | 819 | |
696 | 820 | $r = do {my @a; \$#a}; |
697 | 821 | $$r = 503 |
698 | 822 | |
699 | 823 | =item Attempt to use reference as lvalue in substr |
700 | 824 | |
701 | 825 | =begin original |
702 | 826 | |
703 | 827 | (W substr) You supplied a reference as the first argument to substr() |
704 | 828 | used as an lvalue, which is pretty strange. Perhaps you forgot to |
705 | 829 | dereference it first. See L<perlfunc/substr>. |
706 | 830 | |
707 | 831 | =end original |
708 | 832 | |
709 | 833 | (W substr) 左辺値として使われる substr() の 1 番目の引数としてリファレンスを |
710 | 834 | 渡しました; これはやや奇妙なことです。 |
711 | 835 | おそらくはまずデリファレンスするのを忘れたのでしょう。 |
712 | 836 | L<perlfunc/substr> を参照してください。 |
713 | 837 | |
714 | =item | |
838 | =item Attribute "locked" is deprecated | |
715 | 839 | |
716 | 840 | =begin original |
717 | 841 | |
842 | (D deprecated) You have used the attributes pragma to modify the "locked" | |
843 | attribute on a code reference. The :locked attribute is obsolete, has had no | |
844 | effect since 5005 threads were removed, and will be removed in a future | |
845 | release of Perl 5. | |
846 | ||
847 | =end original | |
848 | ||
849 | (D deprecated) コードリファレンスの "locked" 属性を修正するために | |
850 | attributes プラグマを使いました。 | |
851 | :locked 属性は古いもので、5005 スレッドが削除されてから何の効果もなく、 | |
852 | 将来の Perl 5 のメジャーリリースで削除されます。 | |
853 | ||
854 | =item Attribute "unique" is deprecated | |
855 | ||
856 | =begin original | |
857 | ||
858 | (D deprecated) You have used the attributes pragma to modify the "unique" | |
859 | attribute on an array, hash or scalar reference. The :unique attribute has | |
860 | had no effect since Perl 5.8.8, and will be removed in a future release | |
861 | of Perl 5. | |
862 | ||
863 | =end original | |
864 | ||
865 | (D deprecated) 配列、ハッシュ、スカラリファレンスの "unique" 属性を | |
866 | 修正するために attributes プラグマを使いました。 | |
867 | :unique 属性は Perl 5.8.8 から何の効果もなく、将来の Perl 5 のメジャー | |
868 | リリースで削除されます。 | |
869 | ||
870 | =item Bad arg length for %s, is %u, should be %d | |
871 | ||
872 | =begin original | |
873 | ||
718 | 874 | (F) You passed a buffer of the wrong size to one of msgctl(), semctl() |
719 | 875 | or shmctl(). In C parlance, the correct sizes are, respectively, |
720 | 876 | S<sizeof(struct msqid_ds *)>, S<sizeof(struct semid_ds *)>, and |
721 | 877 | S<sizeof(struct shmid_ds *)>. |
722 | 878 | |
723 | 879 | =end original |
724 | 880 | |
725 | 881 | (F) msgctl()、semctl()、shmctl() のいずれかに、間違ったサイズのバッファを |
726 | 882 | 渡してしまいました。 |
727 | 883 | C の言い方で書くと、正しいサイズはそれぞれ、sizeof(struct msqid_ds *)、 |
728 | 884 | sizeof(struct semid_ds *)、sizeof(struct shmid_ds *) です。 |
729 | 885 | |
730 | 886 | =item Bad evalled substitution pattern |
731 | 887 | |
732 | 888 | =begin original |
733 | 889 | |
734 | 890 | (F) You've used the C</e> switch to evaluate the replacement for a |
735 | 891 | substitution, but perl found a syntax error in the code to evaluate, |
736 | 892 | most likely an unexpected right brace '}'. |
737 | 893 | |
738 | 894 | =end original |
739 | 895 | |
740 | 896 | (F)置換のための置き換え文字列を評価するために C</e> オプションを指定して |
741 | 897 | いますが、評価するコードに文法エラーがありました; |
742 | 898 | 最もありそうなことは、予期しない位置に右中かっこ '}' があったことです。 |
743 | 899 | |
744 | 900 | =item Bad filehandle: %s |
745 | 901 | |
746 | 902 | =begin original |
747 | 903 | |
748 | 904 | (F) A symbol was passed to something wanting a filehandle, but the |
749 | 905 | symbol has no filehandle associated with it. Perhaps you didn't do an |
750 | 906 | open(), or did it in another package. |
751 | 907 | |
752 | 908 | =end original |
753 | 909 | |
754 | (F) ファイルハンドルが必要なものに、シンボルを渡しましたが、 | |
910 | (F) ファイルハンドルが必要なものに、シンボルを渡しましたが、そのシンボルは、 | |
755 | そ | |
911 | それに伴うファイルハンドルがありません。 | |
756 | 912 | おそらく、open() を忘れたか、別のパッケージで open() したかでしょう。 |
757 | 913 | |
758 | 914 | =item Bad free() ignored |
759 | 915 | |
760 | 916 | =begin original |
761 | 917 | |
762 | 918 | (S malloc) An internal routine called free() on something that had never |
763 | 919 | been malloc()ed in the first place. Mandatory, but can be disabled by |
764 | 920 | setting environment variable C<PERL_BADFREE> to 0. |
765 | 921 | |
766 | 922 | =end original |
767 | 923 | |
768 | 924 | (S malloc) まず、malloc() されていないものに対して、内部ルーティンが |
769 | 925 | free() を呼びました。 |
770 | 926 | 強制ですが、環境変数 C<PERL_BADFREE> を 0 にすることで無効化できます。 |
771 | 927 | |
772 | 928 | =begin original |
773 | 929 | |
774 | 930 | This message can be seen quite often with DB_File on systems with "hard" |
775 | 931 | dynamic linking, like C<AIX> and C<OS/2>. It is a bug of C<Berkeley DB> |
776 | 932 | which is left unnoticed if C<DB> uses I<forgiving> system malloc(). |
777 | 933 | |
778 | 934 | =end original |
779 | 935 | |
780 | 936 | このメッセージ は、C<AIX> や C<OS/2> のような、「ハード」動的リンクを |
781 | 937 | 行うシステムで DB_File を使うとしばしば表示されます。 |
782 | 938 | これは C<DB> がシステムの malloc() を許していることに気が付かない |
783 | 939 | C<Berkeley DB> のバグです。 |
784 | 940 | |
785 | 941 | =item Bad hash |
786 | 942 | |
787 | 943 | =begin original |
788 | 944 | |
789 | 945 | (P) One of the internal hash routines was passed a null HV pointer. |
790 | 946 | |
791 | 947 | =end original |
792 | 948 | |
793 | 949 | (P) 内部ハッシュルーティンで、ヌル HV ポインタを渡されたものがありました。 |
794 | 950 | |
795 | =item Bad index while coercing array into hash | |
796 | ||
797 | =begin original | |
798 | ||
799 | (F) The index looked up in the hash found as the 0'th element of a | |
800 | pseudo-hash is not legal. Index values must be at 1 or greater. | |
801 | See L<perlref>. | |
802 | ||
803 | =end original | |
804 | ||
805 | (F) 擬似ハッシュの 0 番目の要素として見つかったハッシュの中の | |
806 | インデックス検索は不正です。 | |
807 | インデックスの値は 1 以上でなければなりません。 | |
808 | L<perlref> を参照してください。 | |
809 | ||
810 | 951 | =item Badly placed ()'s |
811 | 952 | |
812 | 953 | =begin original |
813 | 954 | |
814 | 955 | (A) You've accidentally run your script through B<csh> instead |
815 | 956 | of Perl. Check the #! line, or manually feed your script into |
816 | 957 | Perl yourself. |
817 | 958 | |
818 | 959 | =end original |
819 | 960 | |
820 | 961 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
821 | 962 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
822 | 963 | |
823 | 964 | =item Bad name after %s:: |
824 | 965 | |
825 | 966 | =begin original |
826 | 967 | |
827 | 968 | (F) You started to name a symbol by using a package prefix, and then |
828 | 969 | didn't finish the symbol. In particular, you can't interpolate outside |
829 | 970 | of quotes, so |
830 | 971 | |
831 | 972 | =end original |
832 | 973 | |
833 | (F) パッケージプレフィクスでシンボル名を書き始めましたが、 | |
974 | (F) パッケージプレフィクスでシンボル名を書き始めましたが、そのシンボルが | |
834 | ||
975 | 終了しませんでした。 | |
835 | 976 | 特に、クォートの外で、変数展開はできませんから、 |
836 | 977 | |
837 | 978 | $var = 'myvar'; |
838 | 979 | $sym = mypack::$var; |
839 | 980 | |
840 | 981 | =begin original |
841 | 982 | |
842 | 983 | is not the same as |
843 | 984 | |
844 | 985 | =end original |
845 | 986 | |
846 | 987 | は、以下と同じではありません。 |
847 | 988 | |
848 | 989 | $var = 'myvar'; |
849 | 990 | $sym = "mypack::$var"; |
850 | 991 | |
992 | =item Bad plugin affecting keyword '%s' | |
993 | ||
994 | =begin original | |
995 | ||
996 | (F) An extension using the keyword plugin mechanism violated the | |
997 | plugin API. | |
998 | ||
999 | =end original | |
1000 | ||
1001 | (F) キーワードプラグイン機構を使っているエクステンションがプラグイン API に | |
1002 | 違反しました。 | |
1003 | ||
851 | 1004 | =item Bad realloc() ignored |
852 | 1005 | |
853 | 1006 | =begin original |
854 | 1007 | |
855 | 1008 | (S malloc) An internal routine called realloc() on something that had |
856 | 1009 | never been malloc()ed in the first place. Mandatory, but can be disabled |
857 | by setting environment variable C<PERL_BADFREE> to 1. | |
1010 | by setting the environment variable C<PERL_BADFREE> to 1. | |
858 | 1011 | |
859 | 1012 | =end original |
860 | 1013 | |
861 | 1014 | (S malloc) 内部ルーチンが、最初に malloc() されていない何かに対して |
862 | 1015 | realloc() を呼び出しました。 |
863 | 1016 | 必須ですが、環境変数 C<PERL_BADFREE> に 1 をセットすることで無効化できます。 |
864 | 1017 | |
865 | 1018 | =item Bad symbol for array |
866 | 1019 | |
867 | 1020 | =begin original |
868 | 1021 | |
869 | 1022 | (P) An internal request asked to add an array entry to something that |
870 | 1023 | wasn't a symbol table entry. |
871 | 1024 | |
872 | 1025 | =end original |
873 | 1026 | |
874 | 1027 | (P) シンボルテーブルエントリではないものに、配列エントリを登録するような |
875 | 1028 | 内部要求があがりました。 |
876 | 1029 | |
1030 | =item Bad symbol for dirhandle | |
1031 | ||
1032 | =begin original | |
1033 | ||
1034 | (P) An internal request asked to add a dirhandle entry to something | |
1035 | that wasn't a symbol table entry. | |
1036 | ||
1037 | =end original | |
1038 | ||
1039 | (P) シンボルテーブルエントリではないものに、ディレクトリハンドルエントリを | |
1040 | 登録するような内部要求があがりました。 | |
1041 | ||
877 | 1042 | =item Bad symbol for filehandle |
878 | 1043 | |
879 | 1044 | =begin original |
880 | 1045 | |
881 | 1046 | (P) An internal request asked to add a filehandle entry to something |
882 | 1047 | that wasn't a symbol table entry. |
883 | 1048 | |
884 | 1049 | =end original |
885 | 1050 | |
886 | 1051 | (P) シンボルテーブルエントリではないものに、ファイルハンドルエントリを |
887 | 1052 | 登録するような内部要求があがりました。 |
888 | 1053 | |
889 | 1054 | =item Bad symbol for hash |
890 | 1055 | |
891 | 1056 | =begin original |
892 | 1057 | |
893 | 1058 | (P) An internal request asked to add a hash entry to something that |
894 | 1059 | wasn't a symbol table entry. |
895 | 1060 | |
896 | 1061 | =end original |
897 | 1062 | |
898 | 1063 | (P) シンボルテーブルエントリではないものに、ハッシュエントリを |
899 | 1064 | 登録するような内部要求があがった。 |
900 | 1065 | |
901 | 1066 | =item Bareword found in conditional |
902 | 1067 | |
903 | 1068 | =begin original |
904 | 1069 | |
905 | 1070 | (W bareword) The compiler found a bareword where it expected a |
906 | 1071 | conditional, which often indicates that an || or && was parsed as part |
907 | 1072 | of the last argument of the previous construct, for example: |
908 | 1073 | |
909 | 1074 | =end original |
910 | 1075 | |
911 | (W bareword) コンパイラが、条件が想定される位置に裸の単語を発見しました | |
1076 | (W bareword) コンパイラが、条件が想定される位置に裸の単語を発見しました; | |
912 | 1077 | これはしばしば、|| や && が直前の構造の最後の引数の一部として |
913 | 1078 | パースされたことを意味します; 例えば: |
914 | 1079 | |
915 | 1080 | open FOO || die; |
916 | 1081 | |
917 | 1082 | =begin original |
918 | 1083 | |
919 | 1084 | It may also indicate a misspelled constant that has been interpreted as |
920 | 1085 | a bareword: |
921 | 1086 | |
922 | 1087 | =end original |
923 | 1088 | |
924 | 1089 | これはまた、裸の単語として解釈されるような定数をタイプミスしたことを |
925 | 1090 | 示している場合もあります: |
926 | 1091 | |
927 | 1092 | use constant TYPO => 1; |
928 | 1093 | if (TYOP) { print "foo" } |
929 | 1094 | |
930 | 1095 | =begin original |
931 | 1096 | |
932 | 1097 | The C<strict> pragma is useful in avoiding such errors. |
933 | 1098 | |
934 | 1099 | =end original |
935 | 1100 | |
936 | 1101 | C<strict> プラグマはこのようなエラーを防ぐのに便利です。 |
937 | 1102 | |
938 | 1103 | =item Bareword "%s" not allowed while "strict subs" in use |
939 | 1104 | |
940 | 1105 | =begin original |
941 | 1106 | |
942 | 1107 | (F) With "strict subs" in use, a bareword is only allowed as a |
943 | 1108 | subroutine identifier, in curly brackets or to the left of the "=>" |
944 | 1109 | symbol. Perhaps you need to predeclare a subroutine? |
945 | 1110 | |
946 | 1111 | =end original |
947 | 1112 | |
948 | "strict subs" が有効の場合、裸の単語はサブルーチンの識別子、 | |
1113 | "strict subs" が有効の場合、裸の単語はサブルーチンの識別子、中かっこの中、 | |
949 | ||
1114 | シンボル "=>" の左側でのみ許されます。 | |
950 | 1115 | おそらくサブルーチンを先行宣言する必要があるのでは? |
951 | 1116 | |
952 | 1117 | =item Bareword "%s" refers to nonexistent package |
953 | 1118 | |
954 | 1119 | =begin original |
955 | 1120 | |
956 | 1121 | (W bareword) You used a qualified bareword of the form C<Foo::>, but the |
957 | 1122 | compiler saw no other uses of that namespace before that point. Perhaps |
958 | 1123 | you need to predeclare a package? |
959 | 1124 | |
960 | 1125 | =end original |
961 | 1126 | |
962 | 1127 | (W bareword) C<Foo::> の形で修飾された裸の単語が使われていますが、 |
963 | 1128 | コンパイラはこの場所以外でこの名前空間が使われている場所を |
964 | 1129 | 発見できませんでした。 |
965 | 1130 | おそらくパッケージを専攻宣言する必要があるのでは? |
966 | 1131 | |
967 | 1132 | =item BEGIN failed--compilation aborted |
968 | 1133 | |
969 | 1134 | =begin original |
970 | 1135 | |
971 | 1136 | (F) An untrapped exception was raised while executing a BEGIN |
972 | 1137 | subroutine. Compilation stops immediately and the interpreter is |
973 | 1138 | exited. |
974 | 1139 | |
975 | 1140 | =end original |
976 | 1141 | |
977 | (F) BEGIN サブルー | |
1142 | (F) BEGIN サブルーチンの実行中にトラップ不可能な例外が発生しました。 | |
978 | 1143 | コンパイルは即座に停止し、インタプリタは中止します。 |
979 | 1144 | |
980 | 1145 | =item BEGIN not safe after errors--compilation aborted |
981 | 1146 | |
982 | 1147 | =begin original |
983 | 1148 | |
984 | 1149 | (F) Perl found a C<BEGIN {}> subroutine (or a C<use> directive, which |
985 | 1150 | implies a C<BEGIN {}>) after one or more compilation errors had already |
986 | 1151 | occurred. Since the intended environment for the C<BEGIN {}> could not |
987 | 1152 | be guaranteed (due to the errors), and since subsequent code likely |
988 | 1153 | depends on its correct operation, Perl just gave up. |
989 | 1154 | |
990 | 1155 | =end original |
991 | 1156 | |
992 | 1157 | (F) Perl は既にコンパイルエラーが発生した後に C<BEGIN {}> サブルーチン |
993 | (または C<use> 指示子(これは C<BEGIN {}> を暗示します))を | |
1158 | (または C<use> 指示子(これは C<BEGIN {}> を暗示します))を発見しました。 | |
994 | ||
1159 | C<BEGIN {}> が意図した環境は(エラーのために)保証されず、引き続くコードは | |
995 | ||
1160 | 正しい処理に依存していると考えられるので、Perl は単に諦めました。 | |
996 | 引き続くコードは正しい処理に依存していると考えられるので、 | |
997 | Perl は単に諦めました。 | |
998 | 1161 | |
999 | 1162 | =item \1 better written as $1 |
1000 | 1163 | |
1001 | 1164 | =begin original |
1002 | 1165 | |
1003 | 1166 | (W syntax) Outside of patterns, backreferences live on as variables. |
1004 | 1167 | The use of backslashes is grandfathered on the right-hand side of a |
1005 | 1168 | substitution, but stylistically it's better to use the variable form |
1006 | 1169 | because other Perl programmers will expect it, and it works better if |
1007 | 1170 | there are more than 9 backreferences. |
1008 | 1171 | |
1009 | 1172 | =end original |
1010 | 1173 | |
1011 | 1174 | (W syntax) パターンの外では、後方参照は変数の形で存在します。 |
1012 | 後方参照の利用は、置換の右側の部分で扱われますが、スタイル的には、 | |
1175 | 後方参照の利用は、置換の右側の部分で扱われますが、スタイル的には、他の | |
1013 | ||
1176 | Perl プログラマが期待し、9 個以上の後方参照があるときにもうまく動作する、 | |
1014 | ||
1177 | 変数形式を使う方が良いでしょう。 | |
1015 | 1178 | |
1016 | 1179 | =item Binary number > 0b11111111111111111111111111111111 non-portable |
1017 | 1180 | |
1018 | 1181 | =begin original |
1019 | 1182 | |
1020 | 1183 | (W portable) The binary number you specified is larger than 2**32-1 |
1021 | 1184 | (4294967295) and therefore non-portable between systems. See |
1022 | 1185 | L<perlport> for more on portability concerns. |
1023 | 1186 | |
1024 | 1187 | =end original |
1025 | 1188 | |
1026 | 1189 | (W portable) 指定された 2 進数が 2**32-1 (4294967295) を越えるので、 |
1027 | 1190 | システム間での移植性がありません。 |
1028 | 1191 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
1029 | 1192 | |
1030 | 1193 | =item bind() on closed socket %s |
1031 | 1194 | |
1032 | 1195 | =begin original |
1033 | 1196 | |
1034 | 1197 | (W closed) You tried to do a bind on a closed socket. Did you forget to |
1035 | 1198 | check the return value of your socket() call? See L<perlfunc/bind>. |
1036 | 1199 | |
1037 | 1200 | =end original |
1038 | 1201 | |
1039 | 1202 | (W closed) クローズされたソケットに bind を行なおうとしました。 |
1040 | 1203 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
1041 | 1204 | L<perlfunc/bind> を参照してください。 |
1042 | 1205 | |
1043 | 1206 | =item binmode() on closed filehandle %s |
1044 | 1207 | |
1045 | 1208 | =begin original |
1046 | 1209 | |
1047 | 1210 | (W unopened) You tried binmode() on a filehandle that was never opened. |
1048 | Check you control flow and number of arguments. | |
1211 | Check your control flow and number of arguments. | |
1049 | 1212 | |
1050 | 1213 | =end original |
1051 | 1214 | |
1052 | 1215 | (W unopened) 開いていないファイルハンドルに binmode() を使おうとしました。 |
1053 | 1216 | 制御フローと引数の数をチェックしてください。 |
1054 | 1217 | |
1218 | =item "\b{" is deprecated; use "\b\{" instead | |
1219 | ||
1220 | =item "\B{" is deprecated; use "\B\{" instead | |
1221 | ||
1222 | =begin original | |
1223 | ||
1224 | (W deprecated, regexp) Use of an unescaped "{" immediately following a | |
1225 | C<\b> or C<\B> is now deprecated so as to reserve its use for Perl | |
1226 | itself in a future release. | |
1227 | ||
1228 | =end original | |
1229 | ||
1230 | (W deprecated, regexp) C<\b> または C<\B> の直後にエスケープしない | |
1231 | "{" を書くのは、将来のバージョンの perl での使用のために予約するために | |
1232 | 廃止予定となりました。 | |
1233 | ||
1055 | 1234 | =item Bit vector size > 32 non-portable |
1056 | 1235 | |
1057 | 1236 | =begin original |
1058 | 1237 | |
1059 | 1238 | (W portable) Using bit vector sizes larger than 32 is non-portable. |
1060 | 1239 | |
1061 | 1240 | =end original |
1062 | 1241 | |
1063 | 1242 | (W portable) 32 を越えるサイズのビットベクタは移植性がありません。 |
1064 | 1243 | |
1065 | 1244 | =item Bizarre copy of %s in %s |
1066 | 1245 | |
1067 | 1246 | =begin original |
1068 | 1247 | |
1069 | 1248 | (P) Perl detected an attempt to copy an internal value that is not |
1070 | cop | |
1249 | copiable. | |
1071 | 1250 | |
1072 | 1251 | =end original |
1073 | 1252 | |
1074 | 1253 | (P) コピーできない内部の値をコピーしようとしました。 |
1075 | 1254 | |
1076 | 1255 | =item Buffer overflow in prime_env_iter: %s |
1077 | 1256 | |
1078 | 1257 | =begin original |
1079 | 1258 | |
1080 | 1259 | (W internal) A warning peculiar to VMS. While Perl was preparing to |
1081 | 1260 | iterate over %ENV, it encountered a logical name or symbol definition |
1082 | 1261 | which was too long, so it was truncated to the string shown. |
1083 | 1262 | |
1084 | 1263 | =end original |
1085 | 1264 | |
1086 | (W) VMS | |
1265 | (W internal) VMS に固有の警告です。 | |
1087 | Perl が %ENV を反復する準備中、長すぎる論理名かシンボル定義に | |
1266 | Perl が %ENV を反復する準備中、長すぎる論理名かシンボル定義に遭遇したので、 | |
1088 | ||
1267 | 文字列は表示したように切り詰められました。 | |
1089 | 1268 | |
1090 | 1269 | =item Callback called exit |
1091 | 1270 | |
1092 | 1271 | =begin original |
1093 | 1272 | |
1094 | 1273 | (F) A subroutine invoked from an external package via call_sv() |
1095 | 1274 | exited by calling exit. |
1096 | 1275 | |
1097 | 1276 | =end original |
1098 | 1277 | |
1099 | (F) 外部パッケージから call_sv() で起動されたサブルー | |
1278 | (F) 外部パッケージから call_sv() で起動されたサブルーチンが exit を呼んで | |
1100 | ||
1279 | 終了しました。 | |
1101 | 1280 | |
1102 | 1281 | =item %s() called too early to check prototype |
1103 | 1282 | |
1104 | 1283 | =begin original |
1105 | 1284 | |
1106 | 1285 | (W prototype) You've called a function that has a prototype before the |
1107 | 1286 | parser saw a definition or declaration for it, and Perl could not check |
1108 | 1287 | that the call conforms to the prototype. You need to either add an |
1109 | 1288 | early prototype declaration for the subroutine in question, or move the |
1110 | 1289 | subroutine definition ahead of the call to get proper prototype |
1111 | 1290 | checking. Alternatively, if you are certain that you're calling the |
1112 | 1291 | function correctly, you may put an ampersand before the name to avoid |
1113 | 1292 | the warning. See L<perlsub>. |
1114 | 1293 | |
1115 | 1294 | =end original |
1116 | 1295 | |
1117 | 1296 | (W prototype) 以前にパーサが宣言または定義されているのを見た、 |
1118 | 1297 | プロトタイプ付きの関数を呼び出しましたが、Perl は呼び出しがプロトタイプに |
1119 | 1298 | 従っているかどうかをチェックできませんでした。 |
1120 | 1299 | 問題になっているサブルーチンのプロトタイプ宣言を最初の方に追加するか、 |
1121 | 1300 | 適切なプロトタイプチェックを行うためにサブルーチン定義を呼び出しの前に |
1122 | 1301 | 移動させる必要があります。 |
1123 | 1302 | または、関数を正しく呼び出していることが確かな場合は、名前の前に |
1124 | 1303 | アンパサンドを付けることで警告を回避できます。 |
1125 | 1304 | L<perlsub> を参照してください。 |
1126 | 1305 | |
1127 | 1306 | =item Cannot compress integer in pack |
1128 | 1307 | |
1129 | 1308 | =begin original |
1130 | 1309 | |
1131 | 1310 | (F) An argument to pack("w",...) was too large to compress. The BER |
1132 | 1311 | compressed integer format can only be used with positive integers, and you |
1133 | 1312 | attempted to compress Infinity or a very large number (> 1e308). |
1134 | 1313 | See L<perlfunc/pack>. |
1135 | 1314 | |
1136 | 1315 | =end original |
1137 | 1316 | |
1138 | 1317 | (F) pack("w",...) の引数が、圧縮するには大きすぎます。 |
1139 | 1318 | BER 圧縮整数フォーマットは正の整数のみ扱えますが、無限やとても大きい数 |
1140 | 1319 | (> 1e308) を圧縮しようとしました。 |
1141 | 1320 | L<perlfunc/pack> を参照してください。 |
1142 | 1321 | |
1143 | 1322 | =item Cannot compress negative numbers in pack |
1144 | 1323 | |
1145 | 1324 | =begin original |
1146 | 1325 | |
1147 | 1326 | (F) An argument to pack("w",...) was negative. The BER compressed integer |
1148 | 1327 | format can only be used with positive integers. See L<perlfunc/pack>. |
1149 | 1328 | |
1150 | 1329 | =end original |
1151 | 1330 | |
1152 | 1331 | (F) pack("w",...) の引数が負数です。 |
1153 | 1332 | BER 圧縮整数フォーマットは正の整数のみ扱えます。 |
1154 | 1333 | L<perlfunc/pack> を参照してください。 |
1155 | 1334 | |
1335 | =item Cannot convert a reference to %s to typeglob | |
1336 | ||
1337 | =begin original | |
1338 | ||
1339 | (F) You manipulated Perl's symbol table directly, stored a reference in it, | |
1340 | then tried to access that symbol via conventional Perl syntax. The access | |
1341 | triggers Perl to autovivify that typeglob, but it there is no legal conversion | |
1342 | from that type of reference to a typeglob. | |
1343 | ||
1344 | =end original | |
1345 | ||
1346 | (F) あなたは Perl のシンボルテーブルを直接操作して、リファレンスをその中に | |
1347 | 補完し、それからそのシンボルを伝統的な Perl の文法のよって | |
1348 | アクセスしようとしました。 | |
1349 | このアクセスによって、Perl はこの型グロブを自動有効化しますが、 | |
1350 | リファレンス型から型グロブへの正当な変換方法はありません。 | |
1351 | ||
1352 | =item Cannot copy to %s in %s | |
1353 | ||
1354 | =begin original | |
1355 | ||
1356 | (P) Perl detected an attempt to copy a value to an internal type that cannot | |
1357 | be directly assigned to. | |
1358 | ||
1359 | =end original | |
1360 | ||
1361 | (P) Perl が、直接代入できない内部型に値をコピーしようとする試みを | |
1362 | 検出しました。 | |
1363 | ||
1364 | =item Cannot find encoding "%s" | |
1365 | ||
1366 | =begin original | |
1367 | ||
1368 | (S io) You tried to apply an encoding that did not exist to a filehandle, | |
1369 | either with open() or binmode(). | |
1370 | ||
1371 | =end original | |
1372 | ||
1373 | (S io) open() または binmode() のファイルハンドルに存在しない | |
1374 | エンコーディングを適用しようとしました。 | |
1375 | ||
1156 | 1376 | =item Can only compress unsigned integers in pack |
1157 | 1377 | |
1158 | 1378 | =begin original |
1159 | 1379 | |
1160 | 1380 | (F) An argument to pack("w",...) was not an integer. The BER compressed |
1161 | 1381 | integer format can only be used with positive integers, and you attempted |
1162 | 1382 | to compress something else. See L<perlfunc/pack>. |
1163 | 1383 | |
1164 | 1384 | =end original |
1165 | 1385 | |
1166 | 1386 | (F) pack("w",...) の引数が整数ではありません。 |
1167 | 1387 | BER 圧縮整数フォーマットは正の整数のみ扱えますが、何か他のものを |
1168 | 1388 | 圧縮しようとしました。 |
1169 | 1389 | L<perlfunc/pack> を参照してください。 |
1170 | 1390 | |
1171 | 1391 | =item Can't bless non-reference value |
1172 | 1392 | |
1173 | 1393 | =begin original |
1174 | 1394 | |
1175 | 1395 | (F) Only hard references may be blessed. This is how Perl "enforces" |
1176 | 1396 | encapsulation of objects. See L<perlobj>. |
1177 | 1397 | |
1178 | 1398 | =end original |
1179 | 1399 | |
1180 | 1400 | (F) ハードリファレンスのみが bless できます。 |
1181 | 1401 | これによって、Perl はオブジェクトのカプセル化を「強制」します。 |
1182 | 1402 | L<perlobj> を参照してください。 |
1183 | 1403 | |
1184 | =item Can't | |
1404 | =item Can't "break" in a loop topicalizer | |
1185 | 1405 | |
1186 | 1406 | =begin original |
1187 | 1407 | |
1188 | (F) You called a | |
1408 | (F) You called C<break>, but you're in a C<foreach> block rather than | |
1189 | ||
1409 | a C<given> block. You probably meant to use C<next> or C<last>. | |
1190 | in it, let alone methods. See L<perlobj>. | |
1191 | 1410 | |
1192 | 1411 | =end original |
1193 | 1412 | |
1194 | (F) | |
1413 | (F) C<break> を呼び出しましたが、C<given> ブロックではなく C<foreach> | |
1195 | ||
1414 | ブロック内でした。 | |
1196 | ||
1415 | おそらく C<next> や C<last> を使いたかったのでしょう。 | |
1197 | L<perlobj> を参照してください。 | |
1198 | 1416 | |
1417 | =item Can't "break" outside a given block | |
1418 | ||
1419 | =begin original | |
1420 | ||
1421 | (F) You called C<break>, but you're not inside a C<given> block. | |
1422 | ||
1423 | =end original | |
1424 | ||
1425 | (F) C<break> を呼び出しましたが、C<given> ブロックの内側ではありません。 | |
1426 | ||
1199 | 1427 | =item Can't call method "%s" on an undefined value |
1200 | 1428 | |
1201 | 1429 | =begin original |
1202 | 1430 | |
1203 | 1431 | (F) You used the syntax of a method call, but the slot filled by the |
1204 | 1432 | object reference or package name contains an undefined value. Something |
1205 | 1433 | like this will reproduce the error: |
1206 | 1434 | |
1207 | 1435 | =end original |
1208 | 1436 | |
1209 | (F) メソッド呼び出しの文法が使われていますが、 | |
1437 | (F) メソッド呼び出しの文法が使われていますが、オブジェクトリファレンスか | |
1210 | ||
1438 | パッケージ名であるべきところが未定義値です。 | |
1211 | 1439 | 以下のように書くとエラーが再現します: |
1212 | 1440 | |
1213 | 1441 | $BADREF = undef; |
1214 | 1442 | process $BADREF 1,2,3; |
1215 | 1443 | $BADREF->process(1,2,3); |
1216 | 1444 | |
1217 | 1445 | =item Can't call method "%s" on unblessed reference |
1218 | 1446 | |
1219 | 1447 | =begin original |
1220 | 1448 | |
1221 | 1449 | (F) A method call must know in what package it's supposed to run. It |
1222 | 1450 | ordinarily finds this out from the object reference you supply, but you |
1223 | 1451 | didn't supply an object reference in this case. A reference isn't an |
1224 | 1452 | object reference until it has been blessed. See L<perlobj>. |
1225 | 1453 | |
1226 | 1454 | =end original |
1227 | 1455 | |
1228 | 1456 | (F) メソッド呼び出しは、自分が呼び出されたパッケージがどれであるかを |
1229 | 1457 | 知る必要があります。 普通は、渡したオブジェクトリファレンスから |
1230 | 1458 | その情報を受け取りますが、この場合にはオブジェクトリファレンスが |
1231 | 1459 | 渡されませんでした。 |
1232 | 1460 | リファレンスは、bless されて始めて、オブジェクトリファレンスとなります。 |
1233 | 1461 | L<perlobj> を参照してください。 |
1234 | 1462 | |
1235 | 1463 | =item Can't call method "%s" without a package or object reference |
1236 | 1464 | |
1237 | 1465 | =begin original |
1238 | 1466 | |
1239 | 1467 | (F) You used the syntax of a method call, but the slot filled by the |
1240 | 1468 | object reference or package name contains an expression that returns a |
1241 | 1469 | defined value which is neither an object reference nor a package name. |
1242 | 1470 | Something like this will reproduce the error: |
1243 | 1471 | |
1244 | 1472 | =end original |
1245 | 1473 | |
1246 | 1474 | (F) メソッド呼び出しの構文を用いましたが、オブジェクトリファレンス、 |
1247 | 1475 | もしくはパッケージ名が書かれるべき場所に、オブジェクトリファレンスも |
1248 | 1476 | パッケージ名も返さない定義された式が書かれています。 |
1249 | ||
1477 | 以下のように書くとエラーが再現します: | |
1250 | 以下のようなものは、エラーとなります: | |
1251 | 1478 | |
1252 | 1479 | $BADREF = 42; |
1253 | 1480 | process $BADREF 1,2,3; |
1254 | 1481 | $BADREF->process(1,2,3); |
1255 | 1482 | |
1256 | 1483 | =item Can't chdir to %s |
1257 | 1484 | |
1258 | 1485 | =begin original |
1259 | 1486 | |
1260 | 1487 | (F) You called C<perl -x/foo/bar>, but C</foo/bar> is not a directory |
1261 | 1488 | that you can chdir to, possibly because it doesn't exist. |
1262 | 1489 | |
1263 | 1490 | =end original |
1264 | 1491 | |
1265 | (F) C<perl -x/foo/bar> のようにして起動し | |
1492 | (F) C<perl -x/foo/bar> のようにして起動しましたが、C</foo/bar> に | |
1266 | ||
1493 | chdir することができません; おそらく、存在しないのではないでしょうか。 | |
1267 | おそらく、存在しないのではないでしょうか。 | |
1268 | 1494 | |
1269 | 1495 | =item Can't check filesystem of script "%s" for nosuid |
1270 | 1496 | |
1271 | 1497 | =begin original |
1272 | 1498 | |
1273 | 1499 | (P) For some reason you can't check the filesystem of the script for |
1274 | 1500 | nosuid. |
1275 | 1501 | |
1276 | 1502 | =end original |
1277 | 1503 | |
1278 | 1504 | (P) なぜかスクリプトが nosuid かどうかをファイルシステムから |
1279 | 1505 | 調べることができません。 |
1280 | 1506 | |
1281 | =item Can't coerce | |
1507 | =item Can't coerce %s to %s in %s | |
1282 | 1508 | |
1283 | 1509 | =begin original |
1284 | 1510 | |
1285 | (F) You used an array where a hash was expected, but the array has no | |
1286 | information on how to map from keys to array indices. You can do that | |
1287 | only with arrays that have a hash reference at index 0. | |
1288 | ||
1289 | =end original | |
1290 | ||
1291 | (F) ハッシュが想定される場所で配列を使っていますが、 | |
1292 | この配列にはキーから添え字に変換するための情報がありません。 | |
1293 | このようなことは添え字 0 にハッシュリファレンスがある配列でのみ可能です。 | |
1294 | ||
1295 | =item Can't coerce %s to integer in %s | |
1296 | ||
1297 | =begin original | |
1298 | ||
1299 | 1511 | (F) Certain types of SVs, in particular real symbol table entries |
1300 | 1512 | (typeglobs), can't be forced to stop being what they are. So you can't |
1301 | 1513 | say things like: |
1302 | 1514 | |
1303 | 1515 | =end original |
1304 | 1516 | |
1305 | 1517 | (F) ある種の SV、特に本物のシンボルテーブルエントリ (型グロブ) は、 |
1306 | ||
1518 | 一つの型に留めておくことができません。 | |
1307 | 1519 | したがって、以下のようにすることはできません: |
1308 | 1520 | |
1309 | 1521 | *foo += 1; |
1310 | 1522 | |
1311 | 1523 | =begin original |
1312 | 1524 | |
1313 | 1525 | You CAN say |
1314 | 1526 | |
1315 | 1527 | =end original |
1316 | 1528 | |
1317 | 1529 | 以下のようにはできますが: |
1318 | 1530 | |
1319 | 1531 | $foo = *foo; |
1320 | 1532 | $foo += 1; |
1321 | 1533 | |
1322 | 1534 | =begin original |
1323 | 1535 | |
1324 | 1536 | but then $foo no longer contains a glob. |
1325 | 1537 | |
1326 | 1538 | =end original |
1327 | 1539 | |
1328 | 1540 | $foo にはもはやグロブは残っていません。 |
1329 | 1541 | |
1330 | =item Can't co | |
1542 | =item Can't "continue" outside a when block | |
1331 | 1543 | |
1332 | 1544 | =begin original |
1333 | 1545 | |
1334 | (F) | |
1546 | (F) You called C<continue>, but you're not inside a C<when> | |
1335 | ||
1547 | or C<default> block. | |
1336 | 1548 | |
1337 | 1549 | =end original |
1338 | 1550 | |
1339 | (F) | |
1551 | (F) C<continue> を呼び出しましたが、C<when> か C<default> のブロックの | |
1340 | ||
1552 | 内側ではありません。 | |
1341 | 1553 | |
1342 | =item Can't coerce %s to string in %s | |
1343 | ||
1344 | =begin original | |
1345 | ||
1346 | (F) Certain types of SVs, in particular real symbol table entries | |
1347 | (typeglobs), can't be forced to stop being what they are. | |
1348 | ||
1349 | =end original | |
1350 | ||
1351 | (F) ある種の SV、特に本物のシンボルテーブルエントリ (型グロブ) は、 | |
1352 | 1 つの型に留めておくことができません。 | |
1353 | ||
1354 | 1554 | =item Can't create pipe mailbox |
1355 | 1555 | |
1356 | 1556 | =begin original |
1357 | 1557 | |
1358 | 1558 | (P) An error peculiar to VMS. The process is suffering from exhausted |
1359 | 1559 | quotas or other plumbing problems. |
1360 | 1560 | |
1361 | 1561 | =end original |
1362 | 1562 | |
1363 | ( | |
1563 | (P) VMS に固有のエラーです。 | |
1364 | 1564 | プロセスはクォータを使い切ったか、その他の設備問題の影響を受けました。 |
1365 | 1565 | |
1366 | =item Can't declare class for non-scalar %s in "%s" | |
1367 | ||
1368 | =begin original | |
1369 | ||
1370 | (F) Currently, only scalar variables can be declared with a specific | |
1371 | class qualifier in a "my" or "our" declaration. The semantics may be | |
1372 | extended for other types of variables in future. | |
1373 | ||
1374 | =end original | |
1375 | ||
1376 | (F) 現在のところ、スカラ変数のみが "my" や "our" 定義の中で特定の | |
1377 | クラス修飾子と共に定義できます。 | |
1378 | この動作は将来には他の種類の変数に拡張されるでしょう。 | |
1379 | ||
1380 | 1566 | =item Can't declare %s in "%s" |
1381 | 1567 | |
1382 | 1568 | =begin original |
1383 | 1569 | |
1384 | (F) Only scalar, array, and hash variables may be declared as "my" or | |
1570 | (F) Only scalar, array, and hash variables may be declared as "my", "our" or | |
1385 | " | |
1571 | "state" variables. They must have ordinary identifiers as names. | |
1386 | 1572 | |
1387 | 1573 | =end original |
1388 | 1574 | |
1389 | (F) スカラ変数、配列変数、ハッシュ変数だけが、"my" | |
1575 | (F) スカラ変数、配列変数、ハッシュ変数だけが、"my", "our", "state" 変数として | |
1390 | 1576 | 宣言できます。 |
1391 | 1577 | これらは、名前として通常の識別子を持たなければなりません。 |
1392 | 1578 | |
1393 | 1579 | =item Can't do inplace edit: %s is not a regular file |
1394 | 1580 | |
1395 | 1581 | =begin original |
1396 | 1582 | |
1397 | 1583 | (S inplace) You tried to use the B<-i> switch on a special file, such as |
1398 | 1584 | a file in /dev, or a FIFO. The file was ignored. |
1399 | 1585 | |
1400 | 1586 | =end original |
1401 | 1587 | |
1402 | 1588 | (S inplace) /dev や FIFO のような、特殊ファイルに対して、B<-i> スイッチを |
1403 | 1589 | 使おうとしました。 |
1404 | ||
1590 | このファイルは無視されます。 | |
1405 | 1591 | |
1406 | 1592 | =item Can't do inplace edit on %s: %s |
1407 | 1593 | |
1408 | 1594 | =begin original |
1409 | 1595 | |
1410 | 1596 | (S inplace) The creation of the new file failed for the indicated |
1411 | 1597 | reason. |
1412 | 1598 | |
1413 | 1599 | =end original |
1414 | 1600 | |
1415 | 1601 | (S inplace) 表示された理由により、新しいファイルの生成に失敗しました。 |
1416 | 1602 | |
1417 | 1603 | =item Can't do inplace edit without backup |
1418 | 1604 | |
1419 | 1605 | =begin original |
1420 | 1606 | |
1421 | 1607 | (F) You're on a system such as MS-DOS that gets confused if you try |
1422 | 1608 | reading from a deleted (but still opened) file. You have to say |
1423 | 1609 | C<-i.bak>, or some such. |
1424 | 1610 | |
1425 | 1611 | =end original |
1426 | 1612 | |
1427 | 1613 | (F) 削除した (が、まだオープンされている) ファイルを読もうとすると |
1428 | 1614 | おかしくなる MS-DOS のようなシステムで実行しています。 |
1429 | 1615 | C<-i.bak> のようにバックアップを指定してください。 |
1430 | 1616 | |
1431 | 1617 | =item Can't do inplace edit: %s would not be unique |
1432 | 1618 | |
1433 | 1619 | =begin original |
1434 | 1620 | |
1435 | 1621 | (S inplace) Your filesystem does not support filenames longer than 14 |
1436 | 1622 | characters and Perl was unable to create a unique filename during |
1437 | 1623 | inplace editing with the B<-i> switch. The file was ignored. |
1438 | 1624 | |
1439 | 1625 | =end original |
1440 | 1626 | |
1441 | 1627 | (S inplace) ファイルシステムが 14 文字より長いファイル名に対応しておらず、 |
1442 | 1628 | Perl は B<-i> オプションによるその場編集の間のユニークなファイル名の |
1443 | 1629 | 作成ができませんでした。 |
1444 | 1630 | このファイルは無視されます。 |
1445 | 1631 | |
1446 | 1632 | =item Can't do {n,m} with n > m in regex; marked by <-- HERE in m/%s/ |
1447 | 1633 | |
1448 | 1634 | =begin original |
1449 | 1635 | |
1450 | 1636 | (F) Minima must be less than or equal to maxima. If you really want your |
1451 | 1637 | regexp to match something 0 times, just put {0}. The <-- HERE shows in the |
1452 | 1638 | regular expression about where the problem was discovered. See L<perlre>. |
1453 | 1639 | |
1454 | 1640 | =end original |
1455 | 1641 | |
1456 | 1642 | (F) 最小値は最大値以下でなければなりません。 |
1457 | 1643 | もし、本当に正規表現が 0 回繰り返したものにマッチさせたいなら、単に |
1458 | 1644 | {0} としてください。 |
1459 | 1645 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
1460 | 1646 | L<perlre> を参照してください。 |
1461 | 1647 | |
1462 | =item Can't do setegid! | |
1463 | ||
1464 | =begin original | |
1465 | ||
1466 | (P) The setegid() call failed for some reason in the setuid emulator of | |
1467 | suidperl. | |
1468 | ||
1469 | =end original | |
1470 | ||
1471 | (P) suidperl の setuid エミュレータで何らかの理由により、 | |
1472 | setegid() 呼び出しが失敗しました。 | |
1473 | ||
1474 | =item Can't do seteuid! | |
1475 | ||
1476 | =begin original | |
1477 | ||
1478 | (P) The setuid emulator of suidperl failed for some reason. | |
1479 | ||
1480 | =end original | |
1481 | ||
1482 | (P) suidperl の setuid エミュレータが何らかの理由によって失敗しました。 | |
1483 | ||
1484 | =item Can't do setuid | |
1485 | ||
1486 | =begin original | |
1487 | ||
1488 | (F) This typically means that ordinary perl tried to exec suidperl to do | |
1489 | setuid emulation, but couldn't exec it. It looks for a name of the form | |
1490 | sperl5.000 in the same directory that the perl executable resides under | |
1491 | the name perl5.000, typically /usr/local/bin on Unix machines. If the | |
1492 | file is there, check the execute permissions. If it isn't, ask your | |
1493 | sysadmin why he and/or she removed it. | |
1494 | ||
1495 | =end original | |
1496 | ||
1497 | (F) このエラーは、通常、普通の perl が setuid エミュレーションのために | |
1498 | suidperl を実行しようとしましたが、実行できなかったことを意味します。 | |
1499 | 特に UNIX マシンの /usr/local/bin などでは、perl の実行ファイルが、 | |
1500 | perl5.000 という名前のときには、同じディレクトリで sperl5.000 という形式の | |
1501 | 名前を探します。 | |
1502 | もし、ファイルが存在していれば、実行パーミッションをチェックしてください。 | |
1503 | 許可されていないようであれば、システム管理者の方に、わけを | |
1504 | 尋ねてみてください。 | |
1505 | ||
1506 | 1648 | =item Can't do waitpid with flags |
1507 | 1649 | |
1508 | 1650 | =begin original |
1509 | 1651 | |
1510 | 1652 | (F) This machine doesn't have either waitpid() or wait4(), so only |
1511 | 1653 | waitpid() without flags is emulated. |
1512 | 1654 | |
1513 | 1655 | =end original |
1514 | 1656 | |
1515 | 1657 | (F) このマシンには、waitpid() も wait4() もありませんので、 |
1516 | 1658 | フラグの無い waitpid() のみがエミュレート可能です。 |
1517 | 1659 | |
1518 | 1660 | =item Can't emulate -%s on #! line |
1519 | 1661 | |
1520 | 1662 | =begin original |
1521 | 1663 | |
1522 | 1664 | (F) The #! line specifies a switch that doesn't make sense at this |
1523 | 1665 | point. For example, it'd be kind of silly to put a B<-x> on the #! |
1524 | 1666 | line. |
1525 | 1667 | |
1526 | 1668 | =end original |
1527 | 1669 | |
1528 | 1670 | (F) #! 行にその時点で意味をなさないスイッチが指定されました。 |
1529 | 1671 | たとえば、#! 行に B<-x> をおいても意味がありません。 |
1530 | 1672 | |
1673 | =item Can't %s %s-endian %ss on this platform | |
1674 | ||
1675 | =begin original | |
1676 | ||
1677 | (F) Your platform's byte-order is neither big-endian nor little-endian, | |
1678 | or it has a very strange pointer size. Packing and unpacking big- or | |
1679 | little-endian floating point values and pointers may not be possible. | |
1680 | See L<perlfunc/pack>. | |
1681 | ||
1682 | =end original | |
1683 | ||
1684 | (F) プラットフォームのバイト順序がビッグエンディアンでも | |
1685 | リトルエンディアンでもないか、ポインタサイズがとても変わっています。 | |
1686 | ビッグエンディアンやリトルエンディアンの不動小数点数やポインタの | |
1687 | pack や unpack はできません。 | |
1688 | L<perlfunc/pack> を参照してください。 | |
1689 | ||
1531 | 1690 | =item Can't exec "%s": %s |
1532 | 1691 | |
1533 | 1692 | =begin original |
1534 | 1693 | |
1535 | 1694 | (W exec) A system(), exec(), or piped open call could not execute the |
1536 | 1695 | named program for the indicated reason. Typical reasons include: the |
1537 | 1696 | permissions were wrong on the file, the file wasn't found in |
1538 | 1697 | C<$ENV{PATH}>, the executable in question was compiled for another |
1539 | 1698 | architecture, or the #! line in a script points to an interpreter that |
1540 | 1699 | can't be run for similar reasons. (Or maybe your system doesn't support |
1541 | 1700 | #! at all.) |
1542 | 1701 | |
1543 | 1702 | =end original |
1544 | 1703 | |
1545 | 1704 | (W exec) 提示した理由によって、system() や exec() やパイプオープン |
1546 | 1705 | 呼び出しの指定されたプログラムが実行できませんでした。 |
1547 | 1706 | 考えられる理由には: ファイルのパーミッションが間違っている、 |
1548 | 1707 | ファイルが C<$ENV{PATH}> の中にない、問題の実行ファイルが |
1549 | 1708 | このマシン用ではない、スクリプトの #! 行が同じような理由で実行できない |
1550 | 1709 | インタプリタを指している、というようなものがあります。 |
1551 | 1710 | (あるいは、このシステムで、#! がサポートされていません。) |
1552 | 1711 | |
1553 | 1712 | =item Can't exec %s |
1554 | 1713 | |
1555 | 1714 | =begin original |
1556 | 1715 | |
1557 | 1716 | (F) Perl was trying to execute the indicated program for you because |
1558 | 1717 | that's what the #! line said. If that's not what you wanted, you may |
1559 | 1718 | need to mention "perl" on the #! line somewhere. |
1560 | 1719 | |
1561 | 1720 | =end original |
1562 | 1721 | |
1563 | 1722 | (F) #! 行に書かれた内容にしたがって、Perl は示されたプログラムを |
1564 | 1723 | 実行しようとしました。 |
1565 | 1724 | そうしたくないのであれば、#! 行のどこかに、"perl" と書いておいてください。 |
1566 | 1725 | |
1567 | 1726 | =item Can't execute %s |
1568 | 1727 | |
1569 | 1728 | =begin original |
1570 | 1729 | |
1571 | 1730 | (F) You used the B<-S> switch, but the copies of the script to execute |
1572 | 1731 | found in the PATH did not have correct permissions. |
1573 | 1732 | |
1574 | 1733 | =end original |
1575 | 1734 | |
1576 | 1735 | (F) B<-S> スイッチを使いましたが、PATH に見つかった実行するスクリプトが |
1577 | 1736 | 正しいパーミッションではありませんでした。 |
1578 | 1737 | |
1579 | 1738 | =item Can't find an opnumber for "%s" |
1580 | 1739 | |
1581 | 1740 | =begin original |
1582 | 1741 | |
1583 | 1742 | (F) A string of a form C<CORE::word> was given to prototype(), but there |
1584 | 1743 | is no builtin with the name C<word>. |
1585 | 1744 | |
1586 | 1745 | =end original |
1587 | 1746 | |
1588 | 1747 | (F) C<CORE::word> の形の文字列が prototype() に与えられましたが、 |
1589 | 1748 | 名前 C<word> は組み込みではありません。 |
1590 | 1749 | |
1591 | 1750 | =item Can't find %s character property "%s" |
1592 | 1751 | |
1593 | 1752 | =begin original |
1594 | 1753 | |
1595 | 1754 | (F) You used C<\p{}> or C<\P{}> but the character property by that name |
1596 | could not be found. Maybe you misspelled the name of the property | |
1755 | could not be found. Maybe you misspelled the name of the property? | |
1597 | ||
1756 | See L<perluniprops/Properties accessible through \p{} and \P{}> | |
1598 | ||
1757 | for a complete list of available properties. | |
1599 | 1758 | |
1600 | 1759 | =end original |
1601 | 1760 | |
1602 | 1761 | (F) C<\p{}> か C<\P{}> を使っていますが、そのような名前の文字プロパティは |
1603 | 1762 | 見つかりませんでした。 |
1604 | おそらくプロパティ名をタイプミスした | |
1763 | おそらくプロパティ名をタイプミスしたのでは? | |
1605 | ||
1764 | 利用可能なプロパティの完全なリストは | |
1606 | ||
1765 | L<perluniprops/Properties accessible through \p{} and \P{}> を | |
1766 | 参照してください。 | |
1607 | 1767 | |
1608 | 1768 | =item Can't find label %s |
1609 | 1769 | |
1610 | 1770 | =begin original |
1611 | 1771 | |
1612 | 1772 | (F) You said to goto a label that isn't mentioned anywhere that it's |
1613 | 1773 | possible for us to go to. See L<perlfunc/goto>. |
1614 | 1774 | |
1615 | 1775 | =end original |
1616 | 1776 | |
1617 | 1777 | (F) どこにも見つからないラベルへ goto を行なおうとしました。 |
1618 | 1778 | L<perlfunc/goto> を参照してください。 |
1619 | 1779 | |
1620 | 1780 | =item Can't find %s on PATH |
1621 | 1781 | |
1622 | 1782 | =begin original |
1623 | 1783 | |
1624 | 1784 | (F) You used the B<-S> switch, but the script to execute could not be |
1625 | 1785 | found in the PATH. |
1626 | 1786 | |
1627 | 1787 | =end original |
1628 | 1788 | |
1629 | 1789 | B<-S> オプションを使いましたが、実行するスクリプトは PATH に |
1630 | 1790 | 見つかりませんでした。 |
1631 | 1791 | |
1632 | 1792 | =item Can't find %s on PATH, '.' not in PATH |
1633 | 1793 | |
1634 | 1794 | =begin original |
1635 | 1795 | |
1636 | 1796 | (F) You used the B<-S> switch, but the script to execute could not be |
1637 | 1797 | found in the PATH, or at least not with the correct permissions. The |
1638 | 1798 | script exists in the current directory, but PATH prohibits running it. |
1639 | 1799 | |
1640 | 1800 | =end original |
1641 | 1801 | |
1642 | 1802 | (F) B<-S> オプションが使われましたが、 PATH に実行するスクリプトが |
1643 | 見つか | |
1803 | 見つからないか、少なくとも適切なパーミッションがありません。 | |
1644 | 1804 | スクリプトはカレントディレクトリにはありますが、PATH に |
1645 | 1805 | カレントディレクトリは含まれていません。 |
1646 | 1806 | |
1647 | =item Can't find %s property definition %s | |
1648 | ||
1649 | =begin original | |
1650 | ||
1651 | (F) You may have tried to use C<\p> which means a Unicode property (for | |
1652 | example C<\p{Lu}> is all uppercase letters). If you did mean to use a | |
1653 | Unicode property, see L<perlunicode> for the list of known properties. | |
1654 | If you didn't mean to use a Unicode property, escape the C<\p>, either | |
1655 | by C<\\p> (just the C<\p>) or by C<\Q\p> (the rest of the string, until | |
1656 | possible C<\E>). | |
1657 | ||
1658 | =end original | |
1659 | ||
1660 | (F) (例えば \p{Lu} が全て大文字、のように) Unicode プロパティを意味する | |
1661 | C<\p> を使おうとしました。 | |
1662 | Unicode プロパティを使いたい場合は、既知のプロパティの一覧について | |
1663 | L<perlunicode> を参照してください。 | |
1664 | Unicode プロパティを使うつもりでない場合は、C<\\p> (単に C<\p>) または | |
1665 | C<\Q\p> (C<\E> までの残りの文字列) を使って C<\p> を | |
1666 | エスケープしてください。 | |
1667 | ||
1668 | 1807 | =item Can't find string terminator %s anywhere before EOF |
1669 | 1808 | |
1670 | 1809 | =begin original |
1671 | 1810 | |
1672 | 1811 | (F) Perl strings can stretch over multiple lines. This message means |
1673 | 1812 | that the closing delimiter was omitted. Because bracketed quotes count |
1674 | 1813 | nesting levels, the following is missing its final parenthesis: |
1675 | 1814 | |
1676 | 1815 | =end original |
1677 | 1816 | |
1678 | 1817 | (F) Perl の文字列は、複数行に渡ることができます。このメッセージは、 |
1679 | 1818 | 文字列を終わる区切り文字が見つからなかったことを意味します。 |
1680 | ||
1819 | かっこ類の区切り文字では、ネストを数えるので、以下では、最後のかっこが | |
1681 | 1820 | 無いと言われます: |
1682 | 1821 | |
1683 | 1822 | print q(The character '(' starts a side comment.); |
1684 | 1823 | |
1685 | 1824 | =begin original |
1686 | 1825 | |
1687 | If you're getting this error from a here-document, you may have | |
1826 | If you're getting this error from a here-document, you may have | |
1688 | unseen whitespace before or after your closing tag | |
1827 | included unseen whitespace before or after your closing tag or there | |
1689 | ||
1828 | may not be a linebreak after it. A good programmer's editor will have | |
1829 | a way to help you find these characters (or lack of characters). See | |
1830 | L<perlop> for the full details on here-documents. | |
1690 | 1831 | |
1691 | 1832 | =end original |
1692 | 1833 | |
1693 | 1834 | このエラーがヒアドキュメントで起きた場合、閉じタグの前か後に |
1694 | 見えない空白を含んでいるかもしれません。 | |
1835 | 見えない空白を含んでいるか、その後に改行がないのかもしれません。 | |
1695 | よいプログラマ用エディタには、このような文字を探す | |
1836 | よいプログラマ用エディタには、このような文字(または文字がないこと)を探す | |
1696 | あります。 | |
1837 | 助けになる方法があります。 | |
1838 | ヒアドキュメントに関する完全な詳細については L<perlop> を参照してください。 | |
1697 | 1839 | |
1698 | =item Can't for | |
1840 | =item Can't find Unicode property definition "%s" | |
1699 | 1841 | |
1700 | 1842 | =begin original |
1701 | 1843 | |
1844 | (F) You may have tried to use C<\p> which means a Unicode | |
1845 | property (for example C<\p{Lu}> matches all uppercase | |
1846 | letters). If you did mean to use a Unicode property, see | |
1847 | L<perluniprops/Properties accessible through \p{} and \P{}> | |
1848 | for a complete list of available properties. If you didn't | |
1849 | mean to use a Unicode property, escape the C<\p>, either by C<\\p> | |
1850 | (just the C<\p>) or by C<\Q\p> (the rest of the string, or | |
1851 | until C<\E>). | |
1852 | ||
1853 | =end original | |
1854 | ||
1855 | (F) (例えば \p{Lu} が全て大文字にマッチング、のように) Unicode 特性を | |
1856 | 意味するC<\p> を使おうとしました。 | |
1857 | Unicode 特性を使いたい場合は、利用可能な特性の完全なリストを | |
1858 | L<perluniprops/Properties accessible through \p{} and \P{}> で | |
1859 | 参照してください。 | |
1860 | Unicode 特性を使うつもりでない場合は、C<\\p> (単に C<\p>) または | |
1861 | C<\Q\p> (残りの文字列 または C<\E> まで) を使って C<\p> を | |
1862 | エスケープしてください。 | |
1863 | ||
1864 | =item Can't fork: %s | |
1865 | ||
1866 | =begin original | |
1867 | ||
1702 | 1868 | (F) A fatal error occurred while trying to fork while opening a |
1703 | 1869 | pipeline. |
1704 | 1870 | |
1705 | 1871 | =end original |
1706 | 1872 | |
1707 | 1873 | (F) パイプラインをオープンしようとして、fork を行なおうとして、 |
1708 | 1874 | 致命的エラーが発生しました。 |
1709 | 1875 | |
1876 | =item Can't fork, trying again in 5 seconds | |
1877 | ||
1878 | =begin original | |
1879 | ||
1880 | (W pipe) A fork in a piped open failed with EAGAIN and will be retried | |
1881 | after five seconds. | |
1882 | ||
1883 | =end original | |
1884 | ||
1885 | (W pipe) パイプの open での fork が EAGAIN で失敗し、5 秒後に | |
1886 | 再試行されます。 | |
1887 | ||
1710 | 1888 | =item Can't get filespec - stale stat buffer? |
1711 | 1889 | |
1712 | 1890 | =begin original |
1713 | 1891 | |
1714 | 1892 | (S) A warning peculiar to VMS. This arises because of the difference |
1715 | 1893 | between access checks under VMS and under the Unix model Perl assumes. |
1716 | 1894 | Under VMS, access checks are done by filename, rather than by bits in |
1717 | 1895 | the stat buffer, so that ACLs and other protections can be taken into |
1718 | 1896 | account. Unfortunately, Perl assumes that the stat buffer contains all |
1719 | 1897 | the necessary information, and passes it, instead of the filespec, to |
1720 | the access | |
1898 | the access-checking routine. It will try to retrieve the filespec using | |
1721 | 1899 | the device name and FID present in the stat buffer, but this works only |
1722 | 1900 | if you haven't made a subsequent call to the CRTL stat() routine, |
1723 | 1901 | because the device name is overwritten with each call. If this warning |
1724 | appears, the name lookup failed, and the access | |
1902 | appears, the name lookup failed, and the access-checking routine gave up | |
1725 | and returned FALSE, just to be conservative. (Note: The access | |
1903 | and returned FALSE, just to be conservative. (Note: The access-checking | |
1726 | 1904 | routine knows about the Perl C<stat> operator and file tests, so you |
1727 | 1905 | shouldn't ever see this warning in response to a Perl command; it arises |
1728 | 1906 | only if some internal code takes stat buffers lightly.) |
1729 | 1907 | |
1730 | 1908 | =end original |
1731 | 1909 | |
1732 | (S) VMS | |
1910 | (S) VMS に固有の警告です。 | |
1733 | 1911 | これは VMS と、Perl が仮定している Unix モデルでは、アクセスチェックに違いが |
1734 | 1912 | あることによって起こります。 |
1735 | 1913 | VMS では、アクセスチェックは stat バッファのビットではなくファイル名によって |
1736 | 1914 | 行われるので、ACL やその他の保護が考慮されます。 |
1737 | 1915 | 残念ながら、Perl は stat バッファに全ての必要な情報が含まれていると仮定して、 |
1738 | 1916 | アクセスチェックルーチンにはファイルスペックではなくこれを渡します。 |
1739 | 1917 | stat バッファにあるデバイス名と FID を使ってファイルスペックを |
1740 | 1918 | 取得しようとしますが、これは引き続いて CRTL stat() ルーチンを呼び出さない |
1741 | 1919 | 場合にのみ動作します; なぜならデバイス名は呼出し毎に上書きされるからです。 |
1742 | 1920 | この警告が出ると、名前の検索が失敗し、アクセスチェックルーチンは諦めて、 |
1743 | 1921 | 安全のためだけに FALSE を返します。 |
1744 | 1922 | (注意: アクセスチェックルーチンは Perl の C<stat> 演算子とファイル |
1745 | 1923 | テストについて知っているので、Perl コマンドの結果としてこの警告を見ることは |
1746 | 1924 | ないはずです; これは内部コートが stat バッファを軽率に扱った場合にのみ |
1747 | 1925 | 発生します。) |
1748 | 1926 | |
1749 | 1927 | =item Can't get pipe mailbox device name |
1750 | 1928 | |
1751 | 1929 | =begin original |
1752 | 1930 | |
1753 | 1931 | (P) An error peculiar to VMS. After creating a mailbox to act as a |
1754 | 1932 | pipe, Perl can't retrieve its name for later use. |
1755 | 1933 | |
1756 | 1934 | =end original |
1757 | 1935 | |
1758 | ( | |
1936 | (P) VMS に固有のエラーです。 | |
1759 | 1937 | パイプとして働くメールボックスの作成後、後で使うための名前を |
1760 | 1938 | Perl が取得できませんでした。 |
1761 | 1939 | |
1762 | 1940 | =item Can't get SYSGEN parameter value for MAXBUF |
1763 | 1941 | |
1764 | 1942 | =begin original |
1765 | 1943 | |
1766 | 1944 | (P) An error peculiar to VMS. Perl asked $GETSYI how big you want your |
1767 | 1945 | mailbox buffers to be, and didn't get an answer. |
1768 | 1946 | |
1769 | 1947 | =end original |
1770 | 1948 | |
1771 | ( | |
1949 | (P) VMS に固有のエラーです。 | |
1772 | 1950 | メールボックスバッファをどれくらいとるべきかを $GETSYI に |
1773 | 1951 | 問い合わせましたが、答えが得られませんでした。 |
1774 | 1952 | |
1775 | 1953 | =item Can't "goto" into the middle of a foreach loop |
1776 | 1954 | |
1777 | 1955 | =begin original |
1778 | 1956 | |
1779 | 1957 | (F) A "goto" statement was executed to jump into the middle of a foreach |
1780 | 1958 | loop. You can't get there from here. See L<perlfunc/goto>. |
1781 | 1959 | |
1782 | 1960 | =end original |
1783 | 1961 | |
1784 | 1962 | (F) "goto" 文で foreach ループの中に飛び込もうとしました。 |
1785 | 1963 | ここからそこへは行けません。 |
1786 | 1964 | L<perlfunc/goto> を参照してください。 |
1787 | 1965 | |
1788 | 1966 | =item Can't "goto" out of a pseudo block |
1789 | 1967 | |
1790 | 1968 | =begin original |
1791 | 1969 | |
1792 | 1970 | (F) A "goto" statement was executed to jump out of what might look like |
1793 | 1971 | a block, except that it isn't a proper block. This usually occurs if |
1794 | 1972 | you tried to jump out of a sort() block or subroutine, which is a no-no. |
1795 | 1973 | See L<perlfunc/goto>. |
1796 | 1974 | |
1797 | 1975 | =end original |
1798 | 1976 | |
1799 | 1977 | (F) "goto" 文でブロックのように見えるけれども、適切な |
1800 | 1978 | ブロックではないところから飛び出そうとしました。 |
1801 | 1979 | これは普通 sort() ブロックやサブルーチンから飛び出そうとしたときに |
1802 | 1980 | 起きますが、それはできません。 |
1803 | 1981 | L<perlfunc/goto> を参照してください。 |
1804 | 1982 | |
1983 | =item Can't goto subroutine from a sort sub (or similar callback) | |
1984 | ||
1985 | =begin original | |
1986 | ||
1987 | (F) The "goto subroutine" call can't be used to jump out of the | |
1988 | comparison sub for a sort(), or from a similar callback (such | |
1989 | as the reduce() function in List::Util). | |
1990 | ||
1991 | =end original | |
1992 | ||
1993 | (F) "goto subroutine" 呼び出しは、sort() のための比較サブルーチンや、 | |
1994 | (List::Util の reduce() 関数のような) 似たようなコールバックから | |
1995 | 飛び出すことはできません。 | |
1996 | ||
1805 | 1997 | =item Can't goto subroutine from an eval-%s |
1806 | 1998 | |
1807 | 1999 | =begin original |
1808 | 2000 | |
1809 | 2001 | (F) The "goto subroutine" call can't be used to jump out of an eval |
1810 | 2002 | "string" or block. |
1811 | 2003 | |
1812 | 2004 | =end original |
1813 | 2005 | |
1814 | 2006 | (F) "goto subroutine" 呼び出しは eval "string" やブロックから |
1815 | 2007 | 飛び出すことはできません。 |
1816 | 2008 | |
1817 | 2009 | =item Can't goto subroutine outside a subroutine |
1818 | 2010 | |
1819 | 2011 | =begin original |
1820 | 2012 | |
1821 | 2013 | (F) The deeply magical "goto subroutine" call can only replace one |
1822 | 2014 | subroutine call for another. It can't manufacture one out of whole |
1823 | 2015 | cloth. In general you should be calling it out of only an AUTOLOAD |
1824 | 2016 | routine anyway. See L<perlfunc/goto>. |
1825 | 2017 | |
1826 | 2018 | =end original |
1827 | 2019 | |
1828 | (F) 結構マジカルな "goto subroutine" の呼び出しは、あるサブルー | |
2020 | (F) 結構マジカルな "goto subroutine" の呼び出しは、あるサブルーチン | |
1829 | 2021 | 呼び出しを別のもので置き換えるだけです。 |
1830 | 2022 | 反物の状態から作り上げることはできません。 |
1831 | 2023 | 一般に、これを行なうのは、AUTOLOAD ルーティンから抜け出すときだけに |
1832 | 2024 | しておくべきです。 |
1833 | L<perlfunc/goto> | |
2025 | L<perlfunc/goto> を参照してください。 | |
1834 | 2026 | |
1835 | 2027 | =item Can't ignore signal CHLD, forcing to default |
1836 | 2028 | |
1837 | 2029 | =begin original |
1838 | 2030 | |
1839 | 2031 | (W signal) Perl has detected that it is being run with the SIGCHLD |
1840 | 2032 | signal (sometimes known as SIGCLD) disabled. Since disabling this |
1841 | 2033 | signal will interfere with proper determination of exit status of child |
1842 | 2034 | processes, Perl has reset the signal to its default value. This |
1843 | 2035 | situation typically indicates that the parent program under which Perl |
1844 | 2036 | may be running (e.g. cron) is being very careless. |
1845 | 2037 | |
1846 | 2038 | =end original |
1847 | 2039 | |
1848 | 2040 | (W signal) Perl は、SIGCHLD (SIGCLD としても知られます) シグナルが |
1849 | 2041 | 無効化された状態で実行されていることを検出しました。 |
1850 | 2042 | このシグナルが無効化されると子プロセスの終了ステータスを適切に |
1851 | 2043 | 決定できなくなるので、Perl はシグナルをデフォルト値にリセットしました。 |
1852 | 2044 | この状況は典型的には Perl が動作している親プログラム(cron など)が |
1853 | 2045 | とても不注意であることを示しています。 |
1854 | 2046 | |
2047 | =item Can't kill a non-numeric process ID | |
2048 | ||
2049 | =begin original | |
2050 | ||
2051 | (F) Process identifiers must be (signed) integers. It is a fatal error to | |
2052 | attempt to kill() an undefined, empty-string or otherwise non-numeric | |
2053 | process identifier. | |
2054 | ||
2055 | =end original | |
2056 | ||
2057 | (F) プロセス識別子は(符号付き)整数でなければなりません。 | |
2058 | 未定義値、空文字列、その他の非数値プロセス識別子を使って | |
2059 | kill() しようとすることは致命的エラーです。 | |
2060 | ||
1855 | 2061 | =item Can't "last" outside a loop block |
1856 | 2062 | |
1857 | 2063 | =begin original |
1858 | 2064 | |
1859 | 2065 | (F) A "last" statement was executed to break out of the current block, |
1860 | 2066 | except that there's this itty bitty problem called there isn't a current |
1861 | 2067 | block. Note that an "if" or "else" block doesn't count as a "loopish" |
1862 | 2068 | block, as doesn't a block given to sort(), map() or grep(). You can |
1863 | 2069 | usually double the curlies to get the same effect though, because the |
1864 | 2070 | inner curlies will be considered a block that loops once. See |
1865 | 2071 | L<perlfunc/last>. |
1866 | 2072 | |
1867 | 2073 | =end original |
1868 | 2074 | |
1869 | 2075 | (F) 現在のブロックから脱出するために、"last" 文を実行しましたが、 |
1870 | 2076 | 残念なことにブロックの中ではありませんでした。 |
1871 | 2077 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
1872 | 2078 | 同様「ループ風」ブロックではないので、注意してください。 |
1873 | ただし、中 | |
2079 | ただし、中かっこを二重にすれば、内側の中かっこが、1 度だけループする | |
1874 | みなされますから、同じ効果が得られます。 | |
2080 | ブロックとみなされますから、同じ効果が得られます。 | |
1875 | 2081 | L<perlfunc/last> を参照してください。 |
1876 | 2082 | |
2083 | =item Can't linearize anonymous symbol table | |
2084 | ||
2085 | =begin original | |
2086 | ||
2087 | (F) Perl tried to calculate the method resolution order (MRO) of a | |
2088 | package, but failed because the package stash has no name. | |
2089 | ||
2090 | =end original | |
2091 | ||
2092 | (F) Perl はパッケージのメソッド解決順序 (MRO) を計算しようとしましたが、 | |
2093 | パッケージ stash に名前がないので失敗しました。 | |
2094 | ||
1877 | 2095 | =item Can't load '%s' for module %s |
1878 | 2096 | |
1879 | 2097 | =begin original |
1880 | 2098 | |
1881 | 2099 | (F) The module you tried to load failed to load a dynamic extension. This |
1882 | 2100 | may either mean that you upgraded your version of perl to one that is |
1883 | 2101 | incompatible with your old dynamic extensions (which is known to happen |
1884 | 2102 | between major versions of perl), or (more likely) that your dynamic |
1885 | 2103 | extension was built against an older version of the library that is |
1886 | 2104 | installed on your system. You may need to rebuild your old dynamic |
1887 | 2105 | extensions. |
1888 | 2106 | |
1889 | 2107 | =end original |
1890 | 2108 | |
1891 | 2109 | (F) 読み込もうとしたモジュールは、動的拡張モジュールの読み込みに |
1892 | 2110 | 失敗しました。 |
1893 | 2111 | これは古い動的拡張モジュールと互換性のない perl にアップグレードしたか |
1894 | 2112 | (これは perl のメジャーバージョン間で起きることが知られています)、 |
1895 | 2113 | (よりあり得るのは)動的拡張モジュールがシステムにインストールされている古い |
1896 | 2114 | バージョンのライブラリに対してビルドされているかです。 |
1897 | 2115 | 古い動的拡張モジュールをリビルドする必要があるでしょう。 |
1898 | 2116 | |
1899 | 2117 | =item Can't localize lexical variable %s |
1900 | 2118 | |
1901 | 2119 | =begin original |
1902 | 2120 | |
1903 | 2121 | (F) You used local on a variable name that was previously declared as a |
1904 | lexical variable using "my". This is not allowed. If you want to | |
2122 | lexical variable using "my" or "state". This is not allowed. If you want to | |
1905 | 2123 | localize a package variable of the same name, qualify it with the |
1906 | 2124 | package name. |
1907 | 2125 | |
1908 | 2126 | =end original |
1909 | 2127 | |
1910 | (F) 以前に "my" を使ってレキシカル変数として宣言された変数名に | |
2128 | (F) 以前に "my" や "state" を使ってレキシカル変数として宣言された変数名に | |
1911 | local を使いました。 | |
2129 | 対して local を使いました。 | |
1912 | 2130 | これは認められていません。 |
1913 | 2131 | 同じ名前のパッケージ変数をローカル化したい場合は、 |
1914 | 2132 | パッケージ名で修飾してください。 |
1915 | 2133 | |
1916 | =item Can't localize pseudo-hash element | |
1917 | ||
1918 | =begin original | |
1919 | ||
1920 | (F) You said something like C<< local $ar->{'key'} >>, where $ar is a | |
1921 | reference to a pseudo-hash. That hasn't been implemented yet, but you | |
1922 | can get a similar effect by localizing the corresponding array element | |
1923 | directly -- C<< local $ar->[$ar->[0]{'key'}] >>. | |
1924 | ||
1925 | =end original | |
1926 | ||
1927 | (F) $ar が擬似ハッシュへのリファレンスのとき、C<< local $ar->{'key'} >> の | |
1928 | ようなことをしました。 | |
1929 | これはまだ実装されていませんが、対応する配列要素を直接ローカル化することで | |
1930 | 似たような効果が得られます -- C<< local $ar->[$ar->[0]{'key'}] >>。 | |
1931 | ||
1932 | 2134 | =item Can't localize through a reference |
1933 | 2135 | |
1934 | 2136 | =begin original |
1935 | 2137 | |
1936 | 2138 | (F) You said something like C<local $$ref>, which Perl can't currently |
1937 | 2139 | handle, because when it goes to restore the old value of whatever $ref |
1938 | 2140 | pointed to after the scope of the local() is finished, it can't be sure |
1939 | 2141 | that $ref will still be a reference. |
1940 | 2142 | |
1941 | 2143 | =end original |
1942 | 2144 | |
1943 | 2145 | (F) C<local $$ref> のようなことをしましたが、Perl は現在のところこれを |
1944 | 2146 | 扱えません; なぜなら、local() のスコープが終了した後、$ref が |
1945 | 2147 | 指しているものの古い値を戻すとき、$ref がまだリファレンスかどうかが |
1946 | 2148 | わからないからです。 |
1947 | 2149 | |
1948 | 2150 | =item Can't locate %s |
1949 | 2151 | |
1950 | 2152 | =begin original |
1951 | 2153 | |
1952 | 2154 | (F) You said to C<do> (or C<require>, or C<use>) a file that couldn't be |
1953 | 2155 | found. Perl looks for the file in all the locations mentioned in @INC, |
1954 | 2156 | unless the file name included the full path to the file. Perhaps you |
1955 | 2157 | need to set the PERL5LIB or PERL5OPT environment variable to say where |
1956 | 2158 | the extra library is, or maybe the script needs to add the library name |
1957 | 2159 | to @INC. Or maybe you just misspelled the name of the file. See |
1958 | 2160 | L<perlfunc/require> and L<lib>. |
1959 | 2161 | |
1960 | 2162 | =end original |
1961 | 2163 | |
1962 | 2164 | (F) ファイルを C<do> (または、C<require>、C<use>) するように |
1963 | 2165 | 指示されましたが、見つかりませんでした。 |
1964 | 2166 | Perl は、フルパスで指定されていない場合ファイルを @INC で示される |
1965 | 2167 | 全ての場所を検索します。 |
1966 | 2168 | おそらく、追加ライブラリの場所を示すために、 |
1967 | 2169 | PERL5LIB または PERL5OPT の環境変数を指定する必要があるか、 |
1968 | 2170 | スクリプトの中で @INC にライブラリ名を追加する必要があります。 |
1969 | 2171 | ファイル名のスペルミスの可能性もあります。 |
1970 | 2172 | L<perlfunc/require> と L<lib> を参照してください。 |
1971 | 2173 | |
1972 | 2174 | =item Can't locate auto/%s.al in @INC |
1973 | 2175 | |
1974 | 2176 | =begin original |
1975 | 2177 | |
1976 | 2178 | (F) A function (or method) was called in a package which allows |
1977 | 2179 | autoload, but there is no function to autoload. Most probable causes |
1978 | 2180 | are a misprint in a function/method name or a failure to C<AutoSplit> |
1979 | 2181 | the file, say, by doing C<make install>. |
1980 | 2182 | |
1981 | 2183 | =end original |
1982 | 2184 | |
1983 | 2185 | (F) 関数(またはメソッド)がオートロードを許可しているパッケージで |
1984 | 2186 | 呼び出されましたが、オートロードする関数がありませんでした。 |
1985 | 2187 | 最も可能性のある原因は関数/メソッド名の誤記か、C<make install> と |
1986 | 2188 | することによるファイルの C<AutoSplit> の失敗です。 |
1987 | 2189 | |
1988 | 2190 | =item Can't locate loadable object for module %s in @INC |
1989 | 2191 | |
1990 | 2192 | =begin original |
1991 | 2193 | |
1992 | 2194 | (F) The module you loaded is trying to load an external library, like |
1993 | 2195 | for example, C<foo.so> or C<bar.dll>, but the L<DynaLoader> module was |
1994 | 2196 | unable to locate this library. See L<DynaLoader>. |
1995 | 2197 | |
1996 | 2198 | =end original |
1997 | 2199 | |
1998 | 2200 | (F) 読み込まれたモジュールは C<foo.so> や C<bar.dll> のような外部 |
1999 | 2201 | ライブラリを読み込もうとしましたが、L<DynaLoader> モジュールは、この |
2000 | 2202 | ライブラリの位置がわかりませんでした。 |
2001 | 2203 | L<DynaLoader> を参照してください。 |
2002 | 2204 | |
2003 | 2205 | =item Can't locate object method "%s" via package "%s" |
2004 | 2206 | |
2005 | 2207 | =begin original |
2006 | 2208 | |
2007 | 2209 | (F) You called a method correctly, and it correctly indicated a package |
2008 | 2210 | functioning as a class, but that package doesn't define that particular |
2009 | 2211 | method, nor does any of its base classes. See L<perlobj>. |
2010 | 2212 | |
2011 | 2213 | =end original |
2012 | 2214 | |
2013 | 2215 | (F) 正しくメソッドを呼び出し、それは、クラスとして機能するパッケージを |
2014 | 2216 | 正しく示していますが、そのパッケージにも、基底クラスにも、 |
2015 | 2217 | 該当のメソッドが定義されていません。 |
2016 | 2218 | L<perlobj> を参照してください。 |
2017 | 2219 | |
2018 | 2220 | =item Can't locate package %s for @%s::ISA |
2019 | 2221 | |
2020 | 2222 | =begin original |
2021 | 2223 | |
2022 | 2224 | (W syntax) The @ISA array contained the name of another package that |
2023 | 2225 | doesn't seem to exist. |
2024 | 2226 | |
2025 | 2227 | =end original |
2026 | 2228 | |
2027 | 2229 | (W syntax) 配列 @ISA に別のパッケージ名が記されていますが、 |
2028 | 2230 | 存在していないようです。 |
2029 | 2231 | |
2030 | 2232 | =item Can't locate PerlIO%s |
2031 | 2233 | |
2032 | 2234 | =begin original |
2033 | 2235 | |
2034 | 2236 | (F) You tried to use in open() a PerlIO layer that does not exist, |
2035 | 2237 | e.g. open(FH, ">:nosuchlayer", "somefile"). |
2036 | 2238 | |
2037 | 2239 | =end original |
2038 | 2240 | |
2039 | 2241 | (F) 例えば、open(FH, ">:nosuchlayer", "somefile") のように、 |
2040 | 2242 | open() で 存在しない PerlIO 層を使おうとしました。 |
2041 | 2243 | |
2042 | 2244 | =item Can't make list assignment to \%ENV on this system |
2043 | 2245 | |
2044 | 2246 | =begin original |
2045 | 2247 | |
2046 | 2248 | (F) List assignment to %ENV is not supported on some systems, notably |
2047 | 2249 | VMS. |
2048 | 2250 | |
2049 | 2251 | =end original |
2050 | 2252 | |
2051 | 2253 | (F) %ENV へのリスト代入はいくつかのシステム、特に VMS では |
2052 | 2254 | 対応していません。 |
2053 | 2255 | |
2054 | 2256 | =item Can't modify %s in %s |
2055 | 2257 | |
2056 | 2258 | =begin original |
2057 | 2259 | |
2058 | 2260 | (F) You aren't allowed to assign to the item indicated, or otherwise try |
2059 | 2261 | to change it, such as with an auto-increment. |
2060 | 2262 | |
2061 | 2263 | =end original |
2062 | 2264 | |
2063 | 2265 | (F) 指定されたものは、代入、インクリメントなど、変更が許されていません。 |
2064 | 2266 | |
2065 | 2267 | =item Can't modify nonexistent substring |
2066 | 2268 | |
2067 | 2269 | =begin original |
2068 | 2270 | |
2069 | 2271 | (P) The internal routine that does assignment to a substr() was handed |
2070 | 2272 | a NULL. |
2071 | 2273 | |
2072 | 2274 | =end original |
2073 | 2275 | |
2074 | 2276 | (P) substr() への代入を行なう内部ルーティンに NULL が渡されました。 |
2075 | 2277 | |
2076 | 2278 | =item Can't modify non-lvalue subroutine call |
2077 | 2279 | |
2078 | 2280 | =begin original |
2079 | 2281 | |
2080 | 2282 | (F) Subroutines meant to be used in lvalue context should be declared as |
2081 | such | |
2283 | such. See L<perlsub/"Lvalue subroutines">. | |
2082 | 2284 | |
2083 | 2285 | =end original |
2084 | 2286 | |
2085 | 2287 | (F) 左辺値コンテキストとして使うサブルーチンは、そのように |
2086 | 宣言しなければなりません | |
2288 | 宣言しなければなりません。 | |
2087 | 2289 | L<perlsub/"Lvalue subroutines"> を参照してください。 |
2088 | 2290 | |
2089 | 2291 | =item Can't msgrcv to read-only var |
2090 | 2292 | |
2091 | 2293 | =begin original |
2092 | 2294 | |
2093 | 2295 | (F) The target of a msgrcv must be modifiable to be used as a receive |
2094 | 2296 | buffer. |
2095 | 2297 | |
2096 | 2298 | =end original |
2097 | 2299 | |
2098 | 2300 | (F) msgrcv で使用する変数は、受信バッファとして使用しますので、 |
2099 | 2301 | 変更可能なものでなければなりません。 |
2100 | 2302 | |
2101 | 2303 | =item Can't "next" outside a loop block |
2102 | 2304 | |
2103 | 2305 | =begin original |
2104 | 2306 | |
2105 | 2307 | (F) A "next" statement was executed to reiterate the current block, but |
2106 | 2308 | there isn't a current block. Note that an "if" or "else" block doesn't |
2107 | 2309 | count as a "loopish" block, as doesn't a block given to sort(), map() or |
2108 | 2310 | grep(). You can usually double the curlies to get the same effect |
2109 | 2311 | though, because the inner curlies will be considered a block that loops |
2110 | 2312 | once. See L<perlfunc/next>. |
2111 | 2313 | |
2112 | 2314 | =end original |
2113 | 2315 | |
2114 | 2316 | (F) 現在のブロックの繰り返しを進めるために、"next" 文を実行しましたが、 |
2115 | 2317 | ブロックの中ではありませんでした。 |
2116 | 2318 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
2117 | 2319 | 同様「ループ風」ブロックではないので、注意してください。 |
2118 | ただし、中 | |
2320 | ただし、中かっこを二重にすれば、内側の中かっこが、1 度だけループする | |
2119 | みなされますから、同じ効果が得られます。 | |
2321 | ブロックとみなされますから、同じ効果が得られます。 | |
2120 | 2322 | L<perlfunc/next> を参照してください。 |
2121 | 2323 | |
2122 | 2324 | =item Can't open %s: %s |
2123 | 2325 | |
2124 | 2326 | =begin original |
2125 | 2327 | |
2126 | 2328 | (S inplace) The implicit opening of a file through use of the C<< <> >> |
2127 | 2329 | filehandle, either implicitly under the C<-n> or C<-p> command-line |
2128 | 2330 | switches, or explicitly, failed for the indicated reason. Usually this |
2129 | 2331 | is because you don't have read permission for a file which you named on |
2130 | 2332 | the command line. |
2131 | 2333 | |
2132 | 2334 | =end original |
2133 | 2335 | |
2134 | 2336 | (S inplace) C<< <> >> ファイルハンドルによる暗黙的なファイルオープンまたは |
2135 | 2337 | C<-n> か C<-p> コマンドラインスイッチによる暗黙的な、あるいは |
2136 | 2338 | 明示的なファイルオープンが表示した理由によって失敗しました。 |
2137 | 2339 | 通常、これはコマンドラインで指定したファイルの読み込み権限が無いときに起こります。 |
2138 | 2340 | |
2139 | 2341 | =item Can't open a reference |
2140 | 2342 | |
2141 | 2343 | =begin original |
2142 | 2344 | |
2143 | 2345 | (W io) You tried to open a scalar reference for reading or writing, |
2144 | using the 3-arg open() syntax | |
2346 | using the 3-arg open() syntax: | |
2145 | 2347 | |
2146 | 2348 | =end original |
2147 | 2349 | |
2148 | 2350 | (W io) 3 引数の open() の構文を使ってスカラリファレンスを読み込みまたは |
2149 | 2351 | 書き込みのために開こうとしました: |
2150 | 2352 | |
2151 | 2353 | open FH, '>', $ref; |
2152 | 2354 | |
2153 | 2355 | =begin original |
2154 | 2356 | |
2155 | 2357 | but your version of perl is compiled without perlio, and this form of |
2156 | 2358 | open is not supported. |
2157 | 2359 | |
2158 | 2360 | =end original |
2159 | 2361 | |
2160 | 2362 | しかしこのバージョンの perl は perlio なしでコンパイルされていて、 |
2161 | 2363 | この形式の open は対応していません。 |
2162 | 2364 | |
2163 | 2365 | =item Can't open bidirectional pipe |
2164 | 2366 | |
2165 | 2367 | =begin original |
2166 | 2368 | |
2167 | 2369 | (W pipe) You tried to say C<open(CMD, "|cmd|")>, which is not supported. |
2168 | 2370 | You can try any of several modules in the Perl library to do this, such |
2169 | 2371 | as IPC::Open2. Alternately, direct the pipe's output to a file using |
2170 | 2372 | ">", and then read it in under a different file handle. |
2171 | 2373 | |
2172 | 2374 | =end original |
2173 | 2375 | |
2174 | 2376 | (W pipe) サポートされていない C<open(CMD, "|cmd|")> を行なおうとしました。 |
2175 | 2377 | これを行なうためには、Perl ライブラリの IPC::Open2 のようないくつかの |
2176 | 2378 | モジュールを使うことができます。 |
2177 | 2379 | 別の方法として、パイプされたものを ">" を使っていったんファイルに出力し、 |
2178 | 2380 | あとで別のファイルハンドルで読み込みを行なうことも考えられます。 |
2179 | 2381 | |
2180 | 2382 | =item Can't open error file %s as stderr |
2181 | 2383 | |
2182 | 2384 | =begin original |
2183 | 2385 | |
2184 | 2386 | (F) An error peculiar to VMS. Perl does its own command line |
2185 | 2387 | redirection, and couldn't open the file specified after '2>' or '2>>' on |
2186 | 2388 | the command line for writing. |
2187 | 2389 | |
2188 | 2390 | =end original |
2189 | 2391 | |
2190 | (F) VMSに固有のエラーです。 | |
2392 | (F) VMS に固有のエラーです。 | |
2191 | 2393 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
2192 | 2394 | コマンドラインで書き込みのために '2>' や '2>>' の後に指定された |
2193 | 2395 | ファイルを開けませんでした。 |
2194 | 2396 | |
2195 | 2397 | =item Can't open input file %s as stdin |
2196 | 2398 | |
2197 | 2399 | =begin original |
2198 | 2400 | |
2199 | 2401 | (F) An error peculiar to VMS. Perl does its own command line |
2200 | 2402 | redirection, and couldn't open the file specified after '<' on the |
2201 | 2403 | command line for reading. |
2202 | 2404 | |
2203 | 2405 | =end original |
2204 | 2406 | |
2205 | (F) VMSに固有のエラーです。 | |
2407 | (F) VMS に固有のエラーです。 | |
2206 | 2408 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
2207 | 2409 | コマンドラインで読み込みのために '<' の後に指定された |
2208 | 2410 | ファイルを開けませんでした。 |
2209 | 2411 | |
2210 | 2412 | =item Can't open output file %s as stdout |
2211 | 2413 | |
2212 | 2414 | =begin original |
2213 | 2415 | |
2214 | 2416 | (F) An error peculiar to VMS. Perl does its own command line |
2215 | 2417 | redirection, and couldn't open the file specified after '>' or '>>' on |
2216 | 2418 | the command line for writing. |
2217 | 2419 | |
2218 | 2420 | =end original |
2219 | 2421 | |
2220 | (F) VMSに固有のエラーです。 | |
2422 | (F) VMS に固有のエラーです。 | |
2221 | 2423 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
2222 | 2424 | コマンドラインで書き込みのために '>' や '>>' の後に指定された |
2223 | 2425 | ファイルを開けませんでした。 |
2224 | 2426 | |
2225 | 2427 | =item Can't open output pipe (name: %s) |
2226 | 2428 | |
2227 | 2429 | =begin original |
2228 | 2430 | |
2229 | 2431 | (P) An error peculiar to VMS. Perl does its own command line |
2230 | 2432 | redirection, and couldn't open the pipe into which to send data destined |
2231 | 2433 | for stdout. |
2232 | 2434 | |
2233 | 2435 | =end original |
2234 | 2436 | |
2235 | (P) VMSに固有のエラーです。 | |
2437 | (P) VMS に固有のエラーです。 | |
2236 | 2438 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
2237 | 2439 | 標準出力としてデータを送るパイプを開けませんでした。 |
2238 | 2440 | |
2239 | 2441 | =item Can't open perl script%s |
2240 | 2442 | |
2241 | 2443 | =begin original |
2242 | 2444 | |
2243 | 2445 | (F) The script you specified can't be opened for the indicated reason. |
2244 | 2446 | |
2245 | 2447 | =end original |
2246 | 2448 | |
2247 | 2449 | (F) 指定したスクリプトが、表示した理由によってオープンできませんでした。 |
2248 | 2450 | |
2249 | 2451 | =begin original |
2250 | 2452 | |
2251 | 2453 | If you're debugging a script that uses #!, and normally relies on the |
2252 | 2454 | shell's $PATH search, the -S option causes perl to do that search, so |
2253 | 2455 | you don't have to type the path or C<`which $scriptname`>. |
2254 | 2456 | |
2255 | 2457 | =end original |
2256 | 2458 | |
2257 | 2459 | #! を使うスクリプトをデバッグしていて、普通はシェルの $PATH 検索に |
2258 | 2460 | 頼っている場合は、-S オプションを付けることで perl が検索するようになり、 |
2259 | 2461 | パスや C<`which $scriptname`> をタイプする必要がなくなります。 |
2260 | 2462 | |
2261 | 2463 | =item Can't read CRTL environ |
2262 | 2464 | |
2263 | 2465 | =begin original |
2264 | 2466 | |
2265 | 2467 | (S) A warning peculiar to VMS. Perl tried to read an element of %ENV |
2266 | 2468 | from the CRTL's internal environment array and discovered the array was |
2267 | 2469 | missing. You need to figure out where your CRTL misplaced its environ |
2268 | 2470 | or define F<PERL_ENV_TABLES> (see L<perlvms>) so that environ is not |
2269 | 2471 | searched. |
2270 | 2472 | |
2271 | 2473 | =end original |
2272 | 2474 | |
2273 | (S) VMSに固有の警告です。 | |
2475 | (S) VMS に固有の警告です。 | |
2274 | 2476 | Perl は %ENV の要素を CRTL の内部環境配列から読み込もうとしましたが、 |
2275 | 2477 | 配列がないことを発見しました。 |
2276 | 2478 | CRTL が環境をどこに間違えて置いたかを探し出すか、F<PERL_ENV_TABLE> を |
2277 | 2479 | 定義して(L<perlvms> を参照してください)環境を検索しないようにする |
2278 | 2480 | 必要があります。 |
2279 | 2481 | |
2280 | =item Can't redefine active sort subroutine %s | |
2281 | ||
2282 | =begin original | |
2283 | ||
2284 | (F) Perl optimizes the internal handling of sort subroutines and keeps | |
2285 | pointers into them. You tried to redefine one such sort subroutine when | |
2286 | it was currently active, which is not allowed. If you really want to do | |
2287 | this, you should write C<sort { &func } @x> instead of C<sort func @x>. | |
2288 | ||
2289 | =end original | |
2290 | ||
2291 | (F) Perl はソートサブルーチンの内部操作を最適化して、 | |
2292 | そこへのポインタを保持しています。 | |
2293 | そのようなソートサブルーチンを現在アクティブな状態の時に | |
2294 | 再定義しようとしましたが、それはできません。 | |
2295 | 本当にそのようなことがしたい場合は、 | |
2296 | C<sort func @x> ではなく C<sort { &func } @x> と書くべきです。 | |
2297 | ||
2298 | 2482 | =item Can't "redo" outside a loop block |
2299 | 2483 | |
2300 | 2484 | =begin original |
2301 | 2485 | |
2302 | 2486 | (F) A "redo" statement was executed to restart the current block, but |
2303 | 2487 | there isn't a current block. Note that an "if" or "else" block doesn't |
2304 | 2488 | count as a "loopish" block, as doesn't a block given to sort(), map() |
2305 | 2489 | or grep(). You can usually double the curlies to get the same effect |
2306 | 2490 | though, because the inner curlies will be considered a block that |
2307 | 2491 | loops once. See L<perlfunc/redo>. |
2308 | 2492 | |
2309 | 2493 | =end original |
2310 | 2494 | |
2311 | 2495 | (F) 現在のブロックの繰り返しをもう一度行なうために、 |
2312 | 2496 | "redo" 文を実行しましたが、ブロックの中ではありませんでした。 |
2313 | 2497 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
2314 | 2498 | 同様「ループ風」ブロックではないので、注意してください。 |
2315 | ただし、中 | |
2499 | ただし、中かっこを二重にすれば、内側の中かっこが、1 度だけループする | |
2316 | 2500 | ブロックとみなされますから、同じ効果が得られます。 |
2317 | 2501 | L<perlfunc/redo> を参照してください。 |
2318 | 2502 | |
2319 | 2503 | =item Can't remove %s: %s, skipping file |
2320 | 2504 | |
2321 | 2505 | =begin original |
2322 | 2506 | |
2323 | 2507 | (S inplace) You requested an inplace edit without creating a backup |
2324 | 2508 | file. Perl was unable to remove the original file to replace it with |
2325 | 2509 | the modified file. The file was left unmodified. |
2326 | 2510 | |
2327 | 2511 | =end original |
2328 | 2512 | |
2329 | 2513 | (S inplace) バックアップを作成せずにその場編集することを要求しました。 |
2330 | 2514 | Perl は変更したファイルで置き換えるために元のファイルを削除することが |
2331 | 2515 | できませんでした。 |
2332 | 2516 | ファイルは変更されずに残されます。 |
2333 | 2517 | |
2334 | 2518 | =item Can't rename %s to %s: %s, skipping file |
2335 | 2519 | |
2336 | 2520 | =begin original |
2337 | 2521 | |
2338 | 2522 | (S inplace) The rename done by the B<-i> switch failed for some reason, |
2339 | 2523 | probably because you don't have write permission to the directory. |
2340 | 2524 | |
2341 | 2525 | =end original |
2342 | 2526 | |
2343 | 2527 | (S inplace) B<-i> スイッチで行なわれた rename が何らかの理由によって、 |
2344 | うまく行きませんでした。 | |
2528 | うまく行きませんでした; ディレクトリに書き込み権がないことも考えられます。 | |
2345 | ディレクトリに書き込み権がないことも考えられます。 | |
2346 | 2529 | |
2347 | 2530 | =item Can't reopen input pipe (name: %s) in binary mode |
2348 | 2531 | |
2349 | 2532 | =begin original |
2350 | 2533 | |
2351 | 2534 | (P) An error peculiar to VMS. Perl thought stdin was a pipe, and tried |
2352 | 2535 | to reopen it to accept binary data. Alas, it failed. |
2353 | 2536 | |
2354 | 2537 | =end original |
2355 | 2538 | |
2356 | 2539 | (P) VMS に固有のエラーです。 |
2357 | 2540 | Perl は標準入力がパイプであると考えて、バイナリデータを受け入れるために |
2358 | 2541 | 再オープンしようとしました。 |
2359 | 2542 | 悲しいかな、それは失敗しました。 |
2360 | 2543 | |
2361 | =item Can't resolve method | |
2544 | =item Can't resolve method "%s" overloading "%s" in package "%s" | |
2362 | 2545 | |
2363 | 2546 | =begin original |
2364 | 2547 | |
2365 | 2548 | (F|P) Error resolving overloading specified by a method name (as opposed |
2366 | 2549 | to a subroutine reference): no such method callable via the package. If |
2367 | method name is C<???>, this is an internal error. | |
2550 | the method name is C<???>, this is an internal error. | |
2368 | 2551 | |
2369 | 2552 | =end original |
2370 | 2553 | |
2371 | 2554 | (F|P) (サブルーチンのリファレンスではなく)メソッド名で指定された |
2372 | 2555 | オーバーロードの解決でのエラー: そのようなメソッドはパッケージ経由で |
2373 | 2556 | 呼び出せません。 |
2374 | 2557 | もしメソッド名が C<???> なら、内部エラーです。 |
2375 | 2558 | |
2376 | =item Can't reswap uid and euid | |
2377 | ||
2378 | =begin original | |
2379 | ||
2380 | (P) The setreuid() call failed for some reason in the setuid emulator of | |
2381 | suidperl. | |
2382 | ||
2383 | =end original | |
2384 | ||
2385 | (P) suidperl の setuid エミュレータで何らかの理由により、 | |
2386 | setreuid() 呼び出しが失敗しました。 | |
2387 | ||
2388 | 2559 | =item Can't return %s from lvalue subroutine |
2389 | 2560 | |
2390 | 2561 | =begin original |
2391 | 2562 | |
2392 | 2563 | (F) Perl detected an attempt to return illegal lvalues (such as |
2393 | 2564 | temporary or readonly values) from a subroutine used as an lvalue. This |
2394 | 2565 | is not allowed. |
2395 | 2566 | |
2396 | 2567 | =end original |
2397 | 2568 | |
2398 | 2569 | (F) Perl が、左辺値として使われるサブルーチンから(一時的や |
2399 | 読み込み専用のような)不正な左辺値が返されようとしているのを | |
2570 | 読み込み専用のような)不正な左辺値が返されようとしているのを検出しました。 | |
2400 | ||
2571 | これは認められていません。 | |
2401 | これはできません。 | |
2402 | 2572 | |
2403 | 2573 | =item Can't return outside a subroutine |
2404 | 2574 | |
2405 | 2575 | =begin original |
2406 | 2576 | |
2407 | 2577 | (F) The return statement was executed in mainline code, that is, where |
2408 | 2578 | there was no subroutine call to return out of. See L<perlsub>. |
2409 | 2579 | |
2410 | 2580 | =end original |
2411 | 2581 | |
2412 | (F) return 文が、return で抜けるべきサブルー | |
2582 | (F) return 文が、return で抜けるべきサブルーチンがない、 | |
2413 | 2583 | "main" コードで実行されました。 |
2414 | 2584 | L<perlsub> を参照してください。 |
2415 | 2585 | |
2416 | 2586 | =item Can't return %s to lvalue scalar context |
2417 | 2587 | |
2418 | 2588 | =begin original |
2419 | 2589 | |
2420 | 2590 | (F) You tried to return a complete array or hash from an lvalue subroutine, |
2421 | 2591 | but you called the subroutine in a way that made Perl think you meant |
2422 | 2592 | to return only one value. You probably meant to write parentheses around |
2423 | 2593 | the call to the subroutine, which tell Perl that the call should be in |
2424 | 2594 | list context. |
2425 | 2595 | |
2426 | 2596 | =end original |
2427 | 2597 | |
2428 | 2598 | (F) 左辺値サブルーチンから配列やハッシュ全体を返そうとしましたが、 |
2429 | 2599 | 一つだけの値を返そうとしていると Perl が考えるような方法でサブルーチンを |
2430 | 2600 | 呼び出しました。 |
2431 | 2601 | おそらく、Perl にこの呼び出しがリストコンテキストであると伝えるために、 |
2432 | 2602 | サブルーチン呼び出しの周りにかっこを書いているのでしょう。 |
2433 | 2603 | |
2434 | 2604 | =item Can't stat script "%s" |
2435 | 2605 | |
2436 | 2606 | =begin original |
2437 | 2607 | |
2438 | 2608 | (P) For some reason you can't fstat() the script even though you have it |
2439 | 2609 | open already. Bizarre. |
2440 | 2610 | |
2441 | 2611 | =end original |
2442 | 2612 | |
2443 | 2613 | (P) 何らかの理由で、例え既にオープンしていたとしても、fstat() が |
2444 | 2614 | 行なえません。困ったもんだ。 |
2445 | 2615 | |
2446 | =item Can't swap uid and euid | |
2447 | ||
2448 | =begin original | |
2449 | ||
2450 | (P) The setreuid() call failed for some reason in the setuid emulator of | |
2451 | suidperl. | |
2452 | ||
2453 | =end original | |
2454 | ||
2455 | (P) suidperl の setuid エミュレータで何らかの理由により、 | |
2456 | setreuid() 呼び出しが失敗しました。 | |
2457 | ||
2458 | 2616 | =item Can't take log of %g |
2459 | 2617 | |
2460 | 2618 | =begin original |
2461 | 2619 | |
2462 | 2620 | (F) For ordinary real numbers, you can't take the logarithm of a |
2463 | 2621 | negative number or zero. There's a Math::Complex package that comes |
2464 | 2622 | standard with Perl, though, if you really want to do that for the |
2465 | 2623 | negative numbers. |
2466 | 2624 | |
2467 | 2625 | =end original |
2468 | 2626 | |
2469 | 2627 | (F) 実数に対しては、負数や 0 に対する対数を取ることはできません。 |
2470 | 2628 | しかし、もし本当に負数に対してそのようなことをしたいのなら、 |
2471 | 2629 | Perl 標準になっている Math::Complex パッケージがあります。 |
2472 | 2630 | |
2473 | 2631 | =item Can't take sqrt of %g |
2474 | 2632 | |
2475 | 2633 | =begin original |
2476 | 2634 | |
2477 | 2635 | (F) For ordinary real numbers, you can't take the square root of a |
2478 | 2636 | negative number. There's a Math::Complex package that comes standard |
2479 | 2637 | with Perl, though, if you really want to do that. |
2480 | 2638 | |
2481 | 2639 | =end original |
2482 | 2640 | |
2483 | 2641 | (F) 通常の実数では、負数の平方根をとることはできません。 |
2484 | 2642 | しかし、本当にその計算を行ないたいのであれば、Math::Complex パッケージが |
2485 | 2643 | Perl に標準で用意されています。 |
2486 | 2644 | |
2487 | 2645 | =item Can't undef active subroutine |
2488 | 2646 | |
2489 | 2647 | =begin original |
2490 | 2648 | |
2491 | 2649 | (F) You can't undefine a routine that's currently running. You can, |
2492 | 2650 | however, redefine it while it's running, and you can even undef the |
2493 | 2651 | redefined subroutine while the old routine is running. Go figure. |
2494 | 2652 | |
2495 | 2653 | =end original |
2496 | 2654 | |
2497 | 2655 | (F) 実行中のルーティンを未定義にすることはできません。 |
2498 | 2656 | しかし、実行中に再定義することはでき、古いルーティンを実行中に、 |
2499 | 再定義したサブルー | |
2657 | 再定義したサブルーチンを undef することさえできます。 | |
2500 | 2658 | 驚きです。 |
2501 | 2659 | |
2502 | =item Can't u | |
2660 | =item Can't upgrade %s (%d) to %d | |
2503 | 2661 | |
2504 | 2662 | =begin original |
2505 | 2663 | |
2506 | (F) You tried to unshift an "unreal" array that can't be unshifted, such | |
2507 | as the main Perl stack. | |
2508 | ||
2509 | =end original | |
2510 | ||
2511 | (F) Perl のメインスタックのように、unshift することのできない | |
2512 | 「実在しない」配列に対して、unshift を行なおうとしました。 | |
2513 | ||
2514 | =item Can't upgrade that kind of scalar | |
2515 | ||
2516 | =begin original | |
2517 | ||
2518 | 2664 | (P) The internal sv_upgrade routine adds "members" to an SV, making it |
2519 | 2665 | into a more specialized kind of SV. The top several SV types are so |
2520 | 2666 | specialized, however, that they cannot be interconverted. This message |
2521 | 2667 | indicates that such a conversion was attempted. |
2522 | 2668 | |
2523 | 2669 | =end original |
2524 | 2670 | |
2525 | 2671 | (P) 内部の sv_upgrade ルーティンは、SV に「メンバ」を加えて、 |
2526 | 2672 | より特別な種類の SV にします。 しかし、上位のいくつかの SV 型は、 |
2527 | 2673 | 特殊化され過ぎて、内部変換することができません。 |
2528 | 2674 | このメッセージは、そのような変更を行なおうとしたことを示しています。 |
2529 | 2675 | |
2530 | =item Can't upgrade to undef | |
2531 | ||
2532 | =begin original | |
2533 | ||
2534 | (P) The undefined SV is the bottom of the totem pole, in the scheme of | |
2535 | upgradability. Upgrading to undef indicates an error in the code | |
2536 | calling sv_upgrade. | |
2537 | ||
2538 | =end original | |
2539 | ||
2540 | (P) 未定義 SV は、upgrade の仕組みにおいて、階層構造の最下位に | |
2541 | 位置するものです。 | |
2542 | undef への upgrade は、sv_upgrade を呼ぶコードのエラーを示します。 | |
2543 | ||
2544 | 2676 | =item Can't use anonymous symbol table for method lookup |
2545 | 2677 | |
2546 | 2678 | =begin original |
2547 | 2679 | |
2548 | 2680 | (F) The internal routine that does method lookup was handed a symbol |
2549 | 2681 | table that doesn't have a name. Symbol tables can become anonymous |
2550 | 2682 | for example by undefining stashes: C<undef %Some::Package::>. |
2551 | 2683 | |
2552 | 2684 | =end original |
2553 | 2685 | |
2554 | 2686 | (F) メソッド検索を行う内部ルーチンが、名前のないシンボルテーブルを |
2555 | 2687 | 扱いました。 |
2556 | 2688 | シンボルテーブルは、例えば C<undef %Some::Package::> のように未定義の |
2557 | 2689 | stash によって無名となります。 |
2558 | 2690 | |
2559 | 2691 | =item Can't use an undefined value as %s reference |
2560 | 2692 | |
2561 | 2693 | =begin original |
2562 | 2694 | |
2563 | 2695 | (F) A value used as either a hard reference or a symbolic reference must |
2564 | 2696 | be a defined value. This helps to delurk some insidious errors. |
2565 | 2697 | |
2566 | 2698 | =end original |
2567 | 2699 | |
2568 | 2700 | (F) ハードリファレンスやシンボリックリファレンスとして使用する値は、 |
2569 | 2701 | 定義済みの値でなければなりません。 |
2570 | 2702 | 潜伏中のエラーを引きずり出す助けとなります。 |
2571 | 2703 | |
2572 | 2704 | =item Can't use bareword ("%s") as %s ref while "strict refs" in use |
2573 | 2705 | |
2574 | 2706 | =begin original |
2575 | 2707 | |
2576 | 2708 | (F) Only hard references are allowed by "strict refs". Symbolic |
2577 | 2709 | references are disallowed. See L<perlref>. |
2578 | 2710 | |
2579 | 2711 | =end original |
2580 | 2712 | |
2581 | (F) "strict refs" | |
2713 | (F) "strict refs" によって、ハードリファレンスのみが許可されます。 | |
2582 | シンボリックリファレンスは | |
2714 | シンボリックリファレンスは許可されません。 | |
2583 | 2715 | L<perlref> を参照してください。 |
2584 | 2716 | |
2585 | 2717 | =item Can't use %! because Errno.pm is not available |
2586 | 2718 | |
2587 | 2719 | =begin original |
2588 | 2720 | |
2589 | 2721 | (F) The first time the %! hash is used, perl automatically loads the |
2590 | 2722 | Errno.pm module. The Errno module is expected to tie the %! hash to |
2591 | 2723 | provide symbolic names for C<$!> errno values. |
2592 | 2724 | |
2593 | 2725 | =end original |
2594 | 2726 | |
2595 | 2727 | (F) 最初に %! ハッシュが使われるときに、 |
2596 | 2728 | perl は自動的に Errno.pm モジュールを読み込みます。 |
2597 | 2729 | Errno モジュールは C<$!> errno 値のシンボリック名を提供するために |
2598 | 2730 | %! ハッシュと tie されることになります。 |
2599 | 2731 | |
2732 | =item Can't use both '<' and '>' after type '%c' in %s | |
2733 | ||
2734 | =begin original | |
2735 | ||
2736 | (F) A type cannot be forced to have both big-endian and little-endian | |
2737 | byte-order at the same time, so this combination of modifiers is not | |
2738 | allowed. See L<perlfunc/pack>. | |
2739 | ||
2740 | =end original | |
2741 | ||
2742 | (F) 一つの型を同時にビッグエンディアンとリトルエンディアンの両方に | |
2743 | 強制することはできないので、この修飾子の組み合わせは許可されません。 | |
2744 | L<perlfunc/pack> を参照してください。 | |
2745 | ||
2600 | 2746 | =item Can't use %s for loop variable |
2601 | 2747 | |
2602 | 2748 | =begin original |
2603 | 2749 | |
2604 | 2750 | (F) Only a simple scalar variable may be used as a loop variable on a |
2605 | 2751 | foreach. |
2606 | 2752 | |
2607 | 2753 | =end original |
2608 | 2754 | |
2609 | 2755 | (F) 単純スカラ変数だけが、foreach のループ変数として |
2610 | 2756 | 使用することができます。 |
2611 | 2757 | |
2612 | =item Can't use global %s in " | |
2758 | =item Can't use global %s in "%s" | |
2613 | 2759 | |
2614 | 2760 | =begin original |
2615 | 2761 | |
2616 | 2762 | (F) You tried to declare a magical variable as a lexical variable. This |
2617 | 2763 | is not allowed, because the magic can be tied to only one location |
2618 | 2764 | (namely the global variable) and it would be incredibly confusing to |
2619 | 2765 | have variables in your program that looked like magical variables but |
2620 | 2766 | weren't. |
2621 | 2767 | |
2622 | 2768 | =end original |
2623 | 2769 | |
2624 | 2770 | (F) マジカル変数を、字句スコープ変数として宣言しようとしました。 |
2625 | 2771 | これが許されていないのは、マジカル変数は(グローバル変数という名前の) |
2626 | 2772 | 1 か所だけに結び付けられているので、マジカル変数のように見えるけれども |
2627 | 2773 | そうではない変数がプログラム中にあると、著しく混乱させるからです。 |
2628 | 2774 | |
2775 | =item Can't use '%c' in a group with different byte-order in %s | |
2776 | ||
2777 | =begin original | |
2778 | ||
2779 | (F) You attempted to force a different byte-order on a type | |
2780 | that is already inside a group with a byte-order modifier. | |
2781 | For example you cannot force little-endianness on a type that | |
2782 | is inside a big-endian group. | |
2783 | ||
2784 | =end original | |
2785 | ||
2786 | (F) 既にバイト順修飾子が付けられているグループの内側で異なったバイト順を | |
2787 | 強制しようとしました。 | |
2788 | 例えば、ビッグエンディアングループの中にある型をリトルエンディアンに | |
2789 | 強制することはできません。 | |
2790 | ||
2629 | 2791 | =item Can't use "my %s" in sort comparison |
2630 | 2792 | |
2631 | 2793 | =begin original |
2632 | 2794 | |
2633 | 2795 | (F) The global variables $a and $b are reserved for sort comparisons. |
2634 | 2796 | You mentioned $a or $b in the same line as the <=> or cmp operator, |
2635 | 2797 | and the variable had earlier been declared as a lexical variable. |
2636 | 2798 | Either qualify the sort variable with the package name, or rename the |
2637 | 2799 | lexical variable. |
2638 | 2800 | |
2639 | 2801 | =end original |
2640 | 2802 | |
2641 | 2803 | (F) グローバル変数 $a と $b はソート比較のために予約されています。 |
2642 | 2804 | $a か $b を <=> か cmp 演算子と同じ行に記述しましたが、その変数は |
2643 | 2805 | その前にレキシカル変数として宣言されています。 |
2644 | 2806 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を |
2645 | 2807 | 変更してください。 |
2646 | 2808 | |
2647 | 2809 | =item Can't use %s ref as %s ref |
2648 | 2810 | |
2649 | 2811 | =begin original |
2650 | 2812 | |
2651 | 2813 | (F) You've mixed up your reference types. You have to dereference a |
2652 | 2814 | reference of the type needed. You can use the ref() function to |
2653 | 2815 | test the type of the reference, if need be. |
2654 | 2816 | |
2655 | 2817 | =end original |
2656 | 2818 | |
2657 | 2819 | (F) リファレンス型を混同しています。 |
2658 | 2820 | 必要な型のリファレンスを被参照しなければなりません。 |
2659 | 2821 | 必要ならば、リファレンスの型を調べるのに、ref() 関数を使うことができます。 |
2660 | 2822 | |
2661 | 2823 | =item Can't use string ("%s") as %s ref while "strict refs" in use |
2662 | 2824 | |
2663 | 2825 | =begin original |
2664 | 2826 | |
2665 | 2827 | (F) Only hard references are allowed by "strict refs". Symbolic |
2666 | 2828 | references are disallowed. See L<perlref>. |
2667 | 2829 | |
2668 | 2830 | =end original |
2669 | 2831 | |
2670 | 2832 | (F) "strict refs" によって、ハードリファレンスのみが許可されます。 |
2671 | 2833 | シンボリックリファレンスは許可されません。 |
2672 | 2834 | L<perlref> を参照してください。 |
2673 | 2835 | |
2674 | 2836 | =item Can't use subscript on %s |
2675 | 2837 | |
2676 | 2838 | =begin original |
2677 | 2839 | |
2678 | 2840 | (F) The compiler tried to interpret a bracketed expression as a |
2679 | 2841 | subscript. But to the left of the brackets was an expression that |
2680 | 2842 | didn't look like a hash or array reference, or anything else subscriptable. |
2681 | 2843 | |
2682 | 2844 | =end original |
2683 | 2845 | |
2684 | 2846 | (F) コンパイラが大かっこで囲われた式を添字として解釈しようとしました。 |
2685 | 2847 | しかし、大かっこの左側はハッシュか配列のリファレンスやその他の |
2686 | 2848 | 添字化できるもののようには見えない式です。 |
2687 | 2849 | |
2688 | 2850 | =item Can't use \%c to mean $%c in expression |
2689 | 2851 | |
2690 | 2852 | =begin original |
2691 | 2853 | |
2692 | 2854 | (W syntax) In an ordinary expression, backslash is a unary operator that |
2693 | 2855 | creates a reference to its argument. The use of backslash to indicate a |
2694 | 2856 | backreference to a matched substring is valid only as part of a regular |
2695 | 2857 | expression pattern. Trying to do this in ordinary Perl code produces a |
2696 | 2858 | value that prints out looking like SCALAR(0xdecaf). Use the $1 form |
2697 | 2859 | instead. |
2698 | 2860 | |
2699 | 2861 | =end original |
2700 | 2862 | |
2701 | 2863 | (W syntax) 通常の式では、バックスラッシュは引数へのリファレンスを作る |
2702 | 2864 | 単項演算子です。 |
2703 | 2865 | マッチした部分文字列への後方参照を示すためのバックスラッシュの使用は |
2704 | 2866 | 正規表現パターンの一部の場合にのみ有効です。 |
2705 | 2867 | 通常の Perl コードの中でこれをしようとすると、SCALAR(0xdecaf) のように |
2706 | 2868 | 表示される値を生成します。 |
2707 | 2869 | 代わりに $1 の形を使ってください。 |
2708 | 2870 | |
2871 | =item Can't use "when" outside a topicalizer | |
2872 | ||
2873 | =begin original | |
2874 | ||
2875 | (F) You have used a when() block that is neither inside a C<foreach> | |
2876 | loop nor a C<given> block. (Note that this error is issued on exit | |
2877 | from the C<when> block, so you won't get the error if the match fails, | |
2878 | or if you use an explicit C<continue>.) | |
2879 | ||
2880 | =end original | |
2881 | ||
2882 | (F) C<foreach> ブロックや C<given> ブロックの内側以外で when() ブロックを | |
2883 | 使いました。 | |
2884 | (このエラーは C<when> ブロックから終了したときに発生するので、マッチングに | |
2885 | 失敗したときや、明示的な C<continue> を使った場合はこのエラーは | |
2886 | 発生しません。) | |
2887 | ||
2709 | 2888 | =item Can't weaken a nonreference |
2710 | 2889 | |
2711 | 2890 | =begin original |
2712 | 2891 | |
2713 | 2892 | (F) You attempted to weaken something that was not a reference. Only |
2714 | 2893 | references can be weakened. |
2715 | 2894 | |
2716 | 2895 | =end original |
2717 | 2896 | |
2718 | 2897 | (F) リファレンスではない何かを弱めようとしました。 |
2719 | 2898 | リファレンスだけが弱めることができます。 |
2720 | 2899 | |
2721 | 2900 | =item Can't x= to read-only value |
2722 | 2901 | |
2723 | 2902 | =begin original |
2724 | 2903 | |
2725 | 2904 | (F) You tried to repeat a constant value (often the undefined value) |
2726 | 2905 | with an assignment operator, which implies modifying the value itself. |
2727 | 2906 | Perhaps you need to copy the value to a temporary, and repeat that. |
2728 | 2907 | |
2729 | 2908 | =end original |
2730 | 2909 | |
2731 | 2910 | (F) 定数値 (未定義値であることが多い) を、自らを書き換えることを意味する、 |
2732 | 2911 | 代入演算子で繰り返しを行なおうとしました。 |
2733 | 2912 | テンポラリ変数に値を移してから、繰り返すと良いでしょう。 |
2734 | 2913 | |
2735 | =item Character in " | |
2914 | =item Character following "\c" must be ASCII | |
2736 | 2915 | |
2737 | 2916 | =begin original |
2738 | 2917 | |
2918 | (F|W deprecated, syntax) In C<\cI<X>>, I<X> must be an ASCII character. | |
2919 | It is planned to make this fatal in all instances in Perl 5.16. In the | |
2920 | cases where it isn't fatal, the character this evaluates to is | |
2921 | derived by exclusive or'ing the code point of this character with 0x40. | |
2922 | ||
2923 | =end original | |
2924 | ||
2925 | (F|W deprecated, syntax) C<\cI<X>> において、I<X> は | |
2926 | ASCII 文字でなければなりません。 | |
2927 | これは Perl 5.16 で全て致命的エラーにすることが計画されています。 | |
2928 | 致命的エラーではない場合、これが評価される文字は、この文字の符号位置と | |
2929 | 0x40 の排他的論理和をとったものです。 | |
2930 | ||
2931 | =begin original | |
2932 | ||
2933 | Note that non-alphabetic ASCII characters are discouraged here as well. | |
2934 | ||
2935 | =end original | |
2936 | ||
2937 | 非英字 ASCII 文字も非推奨であることに注意してください。 | |
2938 | ||
2939 | =item Character in 'C' format wrapped in pack | |
2940 | ||
2941 | =begin original | |
2942 | ||
2739 | 2943 | (W pack) You said |
2740 | 2944 | |
2741 | 2945 | =end original |
2742 | 2946 | |
2743 | 2947 | (W pack) 以下のように書きましたが: |
2744 | 2948 | |
2745 | 2949 | pack("C", $x) |
2746 | 2950 | |
2747 | 2951 | =begin original |
2748 | 2952 | |
2749 | 2953 | where $x is either less than 0 or more than 255; the C<"C"> format is |
2750 | 2954 | only for encoding native operating system characters (ASCII, EBCDIC, |
2751 | 2955 | and so on) and not for Unicode characters, so Perl behaved as if you meant |
2752 | 2956 | |
2753 | 2957 | =end original |
2754 | 2958 | |
2755 | 2959 | $x は 0 より小さいか 255 より大きいです; C<"C"> フォーマットは |
2756 | 2960 | ネイティブ OS 文字 (ASCII, EBCDIC など) のエンコーディングだけに |
2757 | 2961 | 対応していて、Unicode 文字は対応していません; |
2758 | 2962 | それで、Perl は以下のように意味しているかのように振舞います: |
2759 | 2963 | |
2760 | 2964 | pack("C", $x & 255) |
2761 | 2965 | |
2762 | 2966 | =begin original |
2763 | 2967 | |
2764 | 2968 | If you actually want to pack Unicode codepoints, use the C<"U"> format |
2765 | 2969 | instead. |
2766 | 2970 | |
2767 | 2971 | =end original |
2768 | 2972 | |
2769 | 2973 | Unicode コードポイントを pack したい場合は、代わりに C<"U"> フォーマットを |
2770 | 2974 | 使ってください。 |
2771 | 2975 | |
2772 | =item Character in | |
2976 | =item Character in 'W' format wrapped in pack | |
2773 | 2977 | |
2774 | 2978 | =begin original |
2775 | 2979 | |
2776 | 2980 | (W pack) You said |
2777 | 2981 | |
2778 | 2982 | =end original |
2779 | 2983 | |
2780 | 2984 | (W pack) 以下のように書きましたが: |
2781 | 2985 | |
2986 | pack("U0W", $x) | |
2987 | ||
2988 | =begin original | |
2989 | ||
2990 | where $x is either less than 0 or more than 255. However, C<U0>-mode expects | |
2991 | all values to fall in the interval [0, 255], so Perl behaved as if you | |
2992 | meant: | |
2993 | ||
2994 | =end original | |
2995 | ||
2996 | $x が 0 より小さいか 255 より大きいです。 | |
2997 | しかし、C<U0>-モードは全ての値が [0, 255] の範囲にあることを想定してるので、 | |
2998 | Perl は以下のように振る舞います: | |
2999 | ||
3000 | pack("U0W", $x & 255) | |
3001 | ||
3002 | =item Character in 'c' format wrapped in pack | |
3003 | ||
3004 | =begin original | |
3005 | ||
3006 | (W pack) You said | |
3007 | ||
3008 | =end original | |
3009 | ||
3010 | (W pack) 以下のように書きましたが: | |
3011 | ||
2782 | 3012 | pack("c", $x) |
2783 | 3013 | |
2784 | 3014 | =begin original |
2785 | 3015 | |
2786 | 3016 | where $x is either less than -128 or more than 127; the C<"c"> format |
2787 | 3017 | is only for encoding native operating system characters (ASCII, EBCDIC, |
2788 | 3018 | and so on) and not for Unicode characters, so Perl behaved as if you meant |
2789 | 3019 | |
2790 | 3020 | =end original |
2791 | 3021 | |
2792 | 3022 | $x は -128 より小さいか 127 より大きいです; C<"c"> フォーマットは |
2793 | 3023 | ネイティブ OS 文字 (ASCII, EBCDIC など) のエンコーディングだけに |
2794 | 3024 | 対応していて、Unicode 文字は対応していません; |
2795 | 3025 | それで、Perl は以下のように意味しているかのように振舞います: |
2796 | 3026 | |
2797 | 3027 | pack("c", $x & 255); |
2798 | 3028 | |
2799 | 3029 | =begin original |
2800 | 3030 | |
2801 | 3031 | If you actually want to pack Unicode codepoints, use the C<"U"> format |
2802 | 3032 | instead. |
2803 | 3033 | |
2804 | 3034 | =end original |
2805 | 3035 | |
2806 | 3036 | Unicode コードポイントを pack したい場合は、代わりに C<"U"> フォーマットを |
2807 | 3037 | 使ってください。 |
2808 | 3038 | |
3039 | =item Character in '%c' format wrapped in unpack | |
3040 | ||
3041 | =begin original | |
3042 | ||
3043 | (W unpack) You tried something like | |
3044 | ||
3045 | =end original | |
3046 | ||
3047 | (W unpack) 以下のようなことをしましたが: | |
3048 | ||
3049 | unpack("H", "\x{2a1}") | |
3050 | ||
3051 | =begin original | |
3052 | ||
3053 | where the format expects to process a byte (a character with a value | |
3054 | below 256), but a higher value was provided instead. Perl uses the value | |
3055 | modulus 256 instead, as if you had provided: | |
3056 | ||
3057 | =end original | |
3058 | ||
3059 | ここでフォーマットはバイト(値が 256 より小さい文字)を想定していますが、 | |
3060 | 文字の中により大きな値のものがあります。 | |
3061 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の | |
3062 | 値として使います: | |
3063 | ||
3064 | unpack("H", "\x{a1}") | |
3065 | ||
3066 | =item Character(s) in '%c' format wrapped in pack | |
3067 | ||
3068 | =begin original | |
3069 | ||
3070 | (W pack) You tried something like | |
3071 | ||
3072 | =end original | |
3073 | ||
3074 | (W pack) 以下のようなことをしましたが: | |
3075 | ||
3076 | pack("u", "\x{1f3}b") | |
3077 | ||
3078 | =begin original | |
3079 | ||
3080 | where the format expects to process a sequence of bytes (character with a | |
3081 | value below 256), but some of the characters had a higher value. Perl | |
3082 | uses the character values modulus 256 instead, as if you had provided: | |
3083 | ||
3084 | =end original | |
3085 | ||
3086 | ここでフォーマットはバイト(値が 256 より小さい文字)列を想定していますが、 | |
3087 | 文字の中により大きな値のものがあります。 | |
3088 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の | |
3089 | 値として使います: | |
3090 | ||
3091 | pack("u", "\x{f3}b") | |
3092 | ||
3093 | =item Character(s) in '%c' format wrapped in unpack | |
3094 | ||
3095 | =begin original | |
3096 | ||
3097 | (W unpack) You tried something like | |
3098 | ||
3099 | =end original | |
3100 | ||
3101 | (W unpack) 以下のようなことをしましたが: | |
3102 | ||
3103 | unpack("s", "\x{1f3}b") | |
3104 | ||
3105 | =begin original | |
3106 | ||
3107 | where the format expects to process a sequence of bytes (character with a | |
3108 | value below 256), but some of the characters had a higher value. Perl | |
3109 | uses the character values modulus 256 instead, as if you had provided: | |
3110 | ||
3111 | =end original | |
3112 | ||
3113 | ここでフォーマットはバイト(値が 256 より小さい文字)列を想定していますが、 | |
3114 | 文字の中により大きな値のものがあります。 | |
3115 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の | |
3116 | 値として使います: | |
3117 | ||
3118 | unpack("s", "\x{f3}b") | |
3119 | ||
3120 | =item "\c{" is deprecated and is more clearly written as ";" | |
3121 | ||
3122 | =begin original | |
3123 | ||
3124 | (D deprecated, syntax) The C<\cI<X>> construct is intended to be a way | |
3125 | to specify non-printable characters. You used it with a "{" which | |
3126 | evaluates to ";", which is printable. It is planned to remove the | |
3127 | ability to specify a semi-colon this way in Perl 5.16. Just use a | |
3128 | semi-colon or a backslash-semi-colon without the "\c". | |
3129 | ||
3130 | =end original | |
3131 | ||
3132 | (D deprecated, syntax) C<\cI<X>> 構文は非表示文字を指定する方法を | |
3133 | 意図しています。 | |
3134 | これを、表示文字である ";" を評価するために "{" 付きで使いました。 | |
3135 | evaluates to ";", which is printable. | |
3136 | このようにしてセミコロンを指定する方法は Perl 5.16 で取り除かれる予定です。 | |
3137 | "\c" なしで単にセミコロンまたは逆スラッシュ-セミコロンを使ってください。 | |
3138 | ||
3139 | =item "\c%c" is more clearly written simply as "%s" | |
3140 | ||
3141 | =begin original | |
3142 | ||
3143 | (W syntax) The C<\cI<X>> construct is intended to be a way to specify | |
3144 | non-printable characters. You used it for a printable one, which is better | |
3145 | written as simply itself, perhaps preceded by a backslash for non-word | |
3146 | characters. | |
3147 | ||
3148 | =end original | |
3149 | ||
3150 | (W syntax) C<\cI<X>> 構文は非表示文字を指定する方法を意図しています。 | |
3151 | これを表示文字に使いました; おそらく(おそらく非単語文字のために | |
3152 | 逆スラッシュを前に付けて)単にその文字自身を書くほうがよいです。 | |
3153 | ||
2809 | 3154 | =item close() on unopened filehandle %s |
2810 | 3155 | |
2811 | 3156 | =begin original |
2812 | 3157 | |
2813 | 3158 | (W unopened) You tried to close a filehandle that was never opened. |
2814 | 3159 | |
2815 | 3160 | =end original |
2816 | 3161 | |
2817 | 3162 | (W unopened) オープンされていないファイルハンドルをクローズしようとしました。 |
2818 | 3163 | |
3164 | =item closedir() attempted on invalid dirhandle %s | |
3165 | ||
3166 | =begin original | |
3167 | ||
3168 | (W io) The dirhandle you tried to close is either closed or not really | |
3169 | a dirhandle. Check your control flow. | |
3170 | ||
3171 | =end original | |
3172 | ||
3173 | (W io) 閉じようとしたディレクトリハンドルは既に閉じられているか、実際には | |
3174 | ディレクトリハンドルではありません。 | |
3175 | 制御フローをチェックしてください。 | |
3176 | ||
3177 | =item Closure prototype called | |
3178 | ||
3179 | =begin original | |
3180 | ||
3181 | (F) If a closure has attributes, the subroutine passed to an attribute | |
3182 | handler is the prototype that is cloned when a new closure is created. | |
3183 | This subroutine cannot be called. | |
3184 | ||
3185 | =end original | |
3186 | ||
3187 | (F) クロージャに属性があると、属性ハンドラに渡されるサブルーチンは、新しい | |
3188 | クロージャが作成されたときにクローン化されたプロトタイプです。 | |
3189 | このサブルーチンは呼び出すことができません。 | |
3190 | ||
2819 | 3191 | =item Code missing after '/' |
2820 | 3192 | |
2821 | 3193 | =begin original |
2822 | 3194 | |
2823 | 3195 | (F) You had a (sub-)template that ends with a '/'. There must be another |
2824 | 3196 | template code following the slash. See L<perlfunc/pack>. |
2825 | 3197 | |
2826 | 3198 | =end original |
2827 | 3199 | |
2828 | ( | |
3200 | (F) テンプレートが '/' で終わっています。 | |
2829 | 3201 | スラッシュの後には他のテンプレートコードが必須です。 |
2830 | 3202 | L<perlfunc/pack> を参照してください。 |
2831 | 3203 | |
3204 | =item Code point 0x%X is not Unicode, may not be portable | |
3205 | ||
3206 | =item Code point 0x%X is not Unicode, no properties match it; all inverse properties do | |
3207 | ||
3208 | =begin original | |
3209 | ||
3210 | (W utf8, non_unicode) You had a code point above the Unicode maximum of U+10FFFF. | |
3211 | ||
3212 | =end original | |
3213 | ||
3214 | (W utf8, non_unicode) Unicode の最大である U+10FFFF を超えた符号位置です。 | |
3215 | ||
3216 | =begin original | |
3217 | ||
3218 | Perl allows strings to contain a superset of Unicode code | |
3219 | points, up to the limit of what is storable in an unsigned integer on | |
3220 | your system, but these may not be accepted by other languages/systems. | |
3221 | At one time, it was legal in some standards to have code points up to | |
3222 | 0x7FFF_FFFF, but not higher. Code points above 0xFFFF_FFFF require | |
3223 | larger than a 32 bit word. | |
3224 | ||
3225 | =end original | |
3226 | ||
3227 | Perl は Unicode 符号位置のスーパーセットを含む文字列を受け入れます(最大値は | |
3228 | システムで符号なし整数として保管可能な最大値です); しかし、これらは | |
3229 | 他の言語やシステムでは受け入れないかも知れません。 | |
3230 | 同時に、一部の標準では 0x7FFF_FFFF までの符号位置は正当ですが、それ以上は | |
3231 | そうではありません。 | |
3232 | 0xFFFF_FFFF より上の符号位置は 32 ビットワードより大きいものを要求します。 | |
3233 | ||
3234 | =begin original | |
3235 | ||
3236 | None of the Unicode or Perl-defined properties will match a non-Unicode | |
3237 | code point. For example, | |
3238 | ||
3239 | =end original | |
3240 | ||
3241 | Unicode や Perl が定義した特性が非 Unicode 符号位置に | |
3242 | マッチングすることはありません。 | |
3243 | 例えば、 | |
3244 | ||
3245 | chr(0x7FF_FFFF) =~ /\p{Any}/ | |
3246 | ||
3247 | =begin original | |
3248 | ||
3249 | will not match, because the code point is not in Unicode. But | |
3250 | ||
3251 | =end original | |
3252 | ||
3253 | これはマッチングしません; 符号位置は Unicode ではないからです。 | |
3254 | しかし | |
3255 | ||
3256 | chr(0x7FF_FFFF) =~ /\P{Any}/ | |
3257 | ||
3258 | =begin original | |
3259 | ||
3260 | will match. | |
3261 | ||
3262 | =end original | |
3263 | ||
3264 | これはマッチングします。 | |
3265 | ||
2832 | 3266 | =item %s: Command not found |
2833 | 3267 | |
2834 | 3268 | =begin original |
2835 | 3269 | |
2836 | 3270 | (A) You've accidentally run your script through B<csh> instead of Perl. |
2837 | 3271 | Check the #! line, or manually feed your script into Perl yourself. |
2838 | 3272 | |
2839 | 3273 | =end original |
2840 | 3274 | |
2841 | 3275 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
2842 | 3276 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
2843 | 3277 | |
2844 | 3278 | =item Compilation failed in require |
2845 | 3279 | |
2846 | 3280 | =begin original |
2847 | 3281 | |
2848 | 3282 | (F) Perl could not compile a file specified in a C<require> statement. |
2849 | 3283 | Perl uses this generic message when none of the errors that it |
2850 | 3284 | encountered were severe enough to halt compilation immediately. |
2851 | 3285 | |
2852 | 3286 | =end original |
2853 | 3287 | |
2854 | 3288 | (F) Perl は C<require> 文で指定されたファイルをコンパイルできませんでした。 |
2855 | 3289 | Perl は、コンパイルを直ちに停止させるほど厳しいエラーに遭遇しなかった |
2856 | 3290 | ときに、この一般的なメッセージを使います。 |
2857 | 3291 | |
2858 | 3292 | =item Complex regular subexpression recursion limit (%d) exceeded |
2859 | 3293 | |
2860 | 3294 | =begin original |
2861 | 3295 | |
2862 | 3296 | (W regexp) The regular expression engine uses recursion in complex |
2863 | 3297 | situations where back-tracking is required. Recursion depth is limited |
2864 | 3298 | to 32766, or perhaps less in architectures where the stack cannot grow |
2865 | 3299 | arbitrarily. ("Simple" and "medium" situations are handled without |
2866 | 3300 | recursion and are not subject to a limit.) Try shortening the string |
2867 | 3301 | under examination; looping in Perl code (e.g. with C<while>) rather than |
2868 | 3302 | in the regular expression engine; or rewriting the regular expression so |
2869 | 3303 | that it is simpler or backtracks less. (See L<perlfaq2> for information |
2870 | 3304 | on I<Mastering Regular Expressions>.) |
2871 | 3305 | |
2872 | 3306 | =end original |
2873 | 3307 | |
2874 | 3308 | (W regexp) 正規表現エンジンはバックトラックが要求される複雑な状況では |
2875 | 3309 | 再帰を使用します。 |
2876 | 3310 | 再帰の深さは 32766、またはスタックを任意に増やせないアーキテクチャでは |
2877 | 3311 | おそらくもっと小さい値に制限されています。 |
2878 | 3312 | (「単純な」または「中くらいの」状況では再帰なしで扱われるので、制限は |
2879 | 3313 | ありません。) |
2880 | 3314 | 調べる文字列を短くしてみてください; 正規表現エンジンではなく |
2881 | 3315 | (C<while> などの) Perl コードを使ってループするか、 |
2882 | 3316 | あるいは正規表現をより単純にしたり、バックトラックが少なくなるように |
2883 | 3317 | 書き換えてください。 |
2884 | 3318 | (I<Mastering Regular Expressions> の情報については L<perlfaq2> を |
2885 | 3319 | 参照してください。) |
2886 | 3320 | |
2887 | 3321 | =item cond_broadcast() called on unlocked variable |
2888 | 3322 | |
2889 | 3323 | =begin original |
2890 | 3324 | |
2891 | 3325 | (W threads) Within a thread-enabled program, you tried to call |
2892 | 3326 | cond_broadcast() on a variable which wasn't locked. The cond_broadcast() |
2893 | function | |
3327 | function is used to wake up another thread that is waiting in a | |
2894 | 3328 | cond_wait(). To ensure that the signal isn't sent before the other thread |
2895 | has a chance to enter the wait, it is usual for the signaling thread | |
3329 | has a chance to enter the wait, it is usual for the signaling thread | |
2896 | first wait for a lock on variable. This lock attempt will only succeed | |
3330 | first to wait for a lock on variable. This lock attempt will only succeed | |
2897 | 3331 | after the other thread has entered cond_wait() and thus relinquished the |
2898 | 3332 | lock. |
2899 | 3333 | |
2900 | 3334 | =end original |
2901 | 3335 | |
2902 | 3336 | (W threads) スレッドが有効になっているプログラムで、ロックされていない |
2903 | 3337 | 変数に対して cond_broadcast() を呼び出そうとしました。 |
2904 | 3338 | cond_broadcast() 関数は cond_wait() で待ち状態になっている他のスレッドを |
2905 | 3339 | 起こすために使います。 |
2906 | 3340 | 他のスレッドが待ち状態になる前にこのシグナルが送られないことを確実に |
2907 | 3341 | するために、シグナルを送るスレッドはまず変数をロックするために待ち状態に |
2908 | 3342 | 入るのが普通です。 |
2909 | 3343 | このロックの試みは他のスレッドが cond_wait() に入ることで、ロックを |
2910 | 3344 | 手放した場合にのみ成功します。 |
2911 | 3345 | |
2912 | 3346 | =item cond_signal() called on unlocked variable |
2913 | 3347 | |
2914 | 3348 | =begin original |
2915 | 3349 | |
2916 | 3350 | (W threads) Within a thread-enabled program, you tried to call |
2917 | 3351 | cond_signal() on a variable which wasn't locked. The cond_signal() |
2918 | function | |
3352 | function is used to wake up another thread that is waiting in a | |
2919 | 3353 | cond_wait(). To ensure that the signal isn't sent before the other thread |
2920 | has a chance to enter the wait, it is usual for the signaling thread | |
3354 | has a chance to enter the wait, it is usual for the signaling thread | |
2921 | first wait for a lock on variable. This lock attempt will only succeed | |
3355 | first to wait for a lock on variable. This lock attempt will only succeed | |
2922 | 3356 | after the other thread has entered cond_wait() and thus relinquished the |
2923 | 3357 | lock. |
2924 | 3358 | |
2925 | 3359 | =end original |
2926 | 3360 | |
2927 | 3361 | (W threads) スレッドが有効になっているプログラムで、ロックされていない |
2928 | 3362 | 変数に対して cond_signal() を呼び出そうとしました。 |
2929 | 3363 | cond_signal() 関数は cond_wait() で待ち状態になっている他のスレッドを |
2930 | 3364 | 起こすために使います。 |
2931 | 3365 | 他のスレッドが待ち状態になる前にこのシグナルが送られないことを確実に |
2932 | 3366 | するために、シグナルを送るスレッドはまず変数をロックするために待ち状態に |
2933 | 3367 | 入るのが普通です。 |
2934 | 3368 | このロックの試みは他のスレッドが cond_wait() に入ることで、ロックを |
2935 | 3369 | 手放した場合にのみ成功します。 |
2936 | 3370 | |
2937 | 3371 | =item connect() on closed socket %s |
2938 | 3372 | |
2939 | 3373 | =begin original |
2940 | 3374 | |
2941 | 3375 | (W closed) You tried to do a connect on a closed socket. Did you forget |
2942 | 3376 | to check the return value of your socket() call? See |
2943 | 3377 | L<perlfunc/connect>. |
2944 | 3378 | |
2945 | 3379 | =end original |
2946 | 3380 | |
2947 | 3381 | (W closed) クローズされたソケットに connent を行なおうとしました。 |
2948 | socket() の呼び出し時に、返却値のチェックを忘れた | |
3382 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 | |
2949 | 3383 | L<perlfunc/connect> を参照してください。 |
2950 | 3384 | |
2951 | 3385 | =item Constant(%s)%s: %s |
2952 | 3386 | |
2953 | 3387 | =begin original |
2954 | 3388 | |
2955 | 3389 | (F) The parser found inconsistencies either while attempting to define |
2956 | 3390 | an overloaded constant, or when trying to find the character name |
2957 | 3391 | specified in the C<\N{...}> escape. Perhaps you forgot to load the |
2958 | 3392 | corresponding C<overload> or C<charnames> pragma? See L<charnames> and |
2959 | 3393 | L<overload>. |
2960 | 3394 | |
2961 | 3395 | =end original |
2962 | 3396 | |
2963 | 3397 | (F) パーサは、オーバーロードされた定数を定義しようとしたときか、 |
2964 | C<\N{...}> エスケープで指定された文字名 | |
3398 | C<\N{...}> エスケープで指定された文字名の検索中に矛盾を | |
2965 | ||
3399 | 発見しました。 | |
2966 | 3400 | おそらく対応する C<overload> か C<charnames> のプラグマの読み込みを |
2967 | 3401 | 忘れたのでは? |
2968 | 3402 | L<charnames> と L<overload> を参照してください。 |
2969 | 3403 | |
3404 | =item Constant(%s)%s: %s in regex; marked by <-- HERE in m/%s/ | |
3405 | ||
3406 | =begin original | |
3407 | ||
3408 | (F) The parser found inconsistencies while attempting to find | |
3409 | the character name specified in the C<\N{...}> escape. Perhaps you | |
3410 | forgot to load the corresponding C<charnames> pragma? | |
3411 | See L<charnames>. | |
3412 | ||
3413 | =end original | |
3414 | ||
3415 | (F) パーサが、C<\N{...}> エスケープで指定された文字名の検索中に矛盾を | |
3416 | 発見しました。 | |
3417 | おそらく対応する C<charnames> プラグマの読み込みを忘れたのでは? | |
3418 | L<charnames> を参照してください。 | |
3419 | ||
2970 | 3420 | =item Constant is not %s reference |
2971 | 3421 | |
2972 | 3422 | =begin original |
2973 | 3423 | |
2974 | 3424 | (F) A constant value (perhaps declared using the C<use constant> pragma) |
2975 | 3425 | is being dereferenced, but it amounts to the wrong type of reference. |
2976 | 3426 | The message indicates the type of reference that was expected. This |
2977 | 3427 | usually indicates a syntax error in dereferencing the constant value. |
2978 | 3428 | See L<perlsub/"Constant Functions"> and L<constant>. |
2979 | 3429 | |
2980 | 3430 | =end original |
2981 | 3431 | |
2982 | 3432 | (F) (おそらく C<use constant> プラグマを使って宣言した) 定数値が |
2983 | 3433 | デリファレンスされましたが、間違った型のリファレンスになりました。 |
2984 | 3434 | このメッセージは想定されたリファレンスの型を示しています。 |
2985 | 3435 | これは普通定数値をデリファレンスするときの文法エラーを示しています。 |
2986 | 3436 | L<perlsub/"Constant Functions"> と L<constant> を参照してください。 |
2987 | 3437 | |
2988 | 3438 | =item Constant subroutine %s redefined |
2989 | 3439 | |
2990 | 3440 | =begin original |
2991 | 3441 | |
2992 | 3442 | (S) You redefined a subroutine which had previously been |
2993 | 3443 | eligible for inlining. See L<perlsub/"Constant Functions"> for |
2994 | 3444 | commentary and workarounds. |
2995 | 3445 | |
2996 | 3446 | =end original |
2997 | 3447 | |
2998 | 3448 | (S) 以前にインライン化できる形であったサブルーチンを |
2999 | 3449 | 再定義しました。 |
3000 | 3450 | コメントと回避策については L<perlsub/"Constant Functions"> を |
3001 | 3451 | 参照してください。 |
3002 | 3452 | |
3003 | 3453 | =item Constant subroutine %s undefined |
3004 | 3454 | |
3005 | 3455 | =begin original |
3006 | 3456 | |
3007 | 3457 | (W misc) You undefined a subroutine which had previously been eligible |
3008 | 3458 | for inlining. See L<perlsub/"Constant Functions"> for commentary and |
3009 | 3459 | workarounds. |
3010 | 3460 | |
3011 | 3461 | =end original |
3012 | 3462 | |
3013 | 3463 | (W misc)以前にインライン化できる形であったサブルーチンを |
3014 | 3464 | 未定義化しました。 |
3015 | 3465 | コメントと回避策については L<perlsub/"Constant Functions"> を |
3016 | 3466 | 参照してください。 |
3017 | 3467 | |
3018 | 3468 | =item Copy method did not return a reference |
3019 | 3469 | |
3020 | 3470 | =begin original |
3021 | 3471 | |
3022 | 3472 | (F) The method which overloads "=" is buggy. See |
3023 | 3473 | L<overload/Copy Constructor>. |
3024 | 3474 | |
3025 | 3475 | =end original |
3026 | 3476 | |
3027 | 3477 | (F) "=" をオーバーロードしたメソッドはバグっています。 |
3028 | 3478 | L<overload/Copy Constructor> を参照してください。 |
3029 | 3479 | |
3030 | 3480 | =item CORE::%s is not a keyword |
3031 | 3481 | |
3032 | 3482 | =begin original |
3033 | 3483 | |
3034 | 3484 | (F) The CORE:: namespace is reserved for Perl keywords. |
3035 | 3485 | |
3036 | 3486 | =end original |
3037 | 3487 | |
3038 | 3488 | (F) CORE:: 名前空間は Perl キーワードとして予約されています。 |
3039 | 3489 | |
3040 | 3490 | =item corrupted regexp pointers |
3041 | 3491 | |
3042 | 3492 | =begin original |
3043 | 3493 | |
3044 | 3494 | (P) The regular expression engine got confused by what the regular |
3045 | 3495 | expression compiler gave it. |
3046 | 3496 | |
3047 | 3497 | =end original |
3048 | 3498 | |
3049 | 3499 | (P) 正規表現コンパイラが渡したもので、正規表現エンジンが |
3050 | 3500 | 処理できなくなりました。 |
3051 | 3501 | |
3052 | 3502 | =item corrupted regexp program |
3053 | 3503 | |
3054 | 3504 | =begin original |
3055 | 3505 | |
3056 | 3506 | (P) The regular expression engine got passed a regexp program without a |
3057 | 3507 | valid magic number. |
3058 | 3508 | |
3059 | 3509 | =end original |
3060 | 3510 | |
3061 | 3511 | (P) 正規表現エンジンが、有効なマジックナンバーを持たない |
3062 | 3512 | regexp プログラムを渡しました。 |
3063 | 3513 | |
3064 | =item Corrupt malloc ptr 0x% | |
3514 | =item Corrupt malloc ptr 0x%x at 0x%x | |
3065 | 3515 | |
3066 | 3516 | =begin original |
3067 | 3517 | |
3068 | 3518 | (P) The malloc package that comes with Perl had an internal failure. |
3069 | 3519 | |
3070 | 3520 | =end original |
3071 | 3521 | |
3072 | 3522 | (P) Perl に付属の malloc ルーティンが内部エラーを起こしました。 |
3073 | 3523 | |
3074 | 3524 | =item Count after length/code in unpack |
3075 | 3525 | |
3076 | 3526 | =begin original |
3077 | 3527 | |
3078 | 3528 | (F) You had an unpack template indicating a counted-length string, but |
3079 | 3529 | you have also specified an explicit size for the string. See |
3080 | 3530 | L<perlfunc/pack>. |
3081 | 3531 | |
3082 | 3532 | =end original |
3083 | 3533 | |
3084 | 3534 | (F) unpack のテンプレートとしてカウント長文字列を示していますが、 |
3085 | 3535 | 文字列の長さも明示的に指定しています。 |
3086 | 3536 | L<perlfunc/pack> を参照してください。 |
3087 | 3537 | |
3088 | 3538 | =item Deep recursion on subroutine "%s" |
3089 | 3539 | |
3090 | 3540 | =begin original |
3091 | 3541 | |
3092 | 3542 | (W recursion) This subroutine has called itself (directly or indirectly) |
3093 | 3543 | 100 times more than it has returned. This probably indicates an |
3094 | 3544 | infinite recursion, unless you're writing strange benchmark programs, in |
3095 | 3545 | which case it indicates something else. |
3096 | 3546 | |
3097 | 3547 | =end original |
3098 | 3548 | |
3099 | (W recursion) このサブルー | |
3549 | (W recursion) このサブルーチンは、(直接、間接に) 自分自身の呼び出しを、 | |
3100 | 3550 | return より 100 回多く行ないました。 |
3101 | 3551 | 変わったベンチマークプログラムを書いているのでなければ、無限再帰の |
3102 | 可能性があります。 | |
3552 | 可能性があります; ベンチマークを書いている場合には、別のことを示しています。 | |
3103 | ベンチマークを書いている場合には、別のことを示しています。 | |
3104 | 3553 | |
3554 | =begin original | |
3555 | ||
3556 | This threshold can be changed from 100, by recompiling the F<perl> binary, | |
3557 | setting the C pre-processor macro C<PERL_SUB_DEPTH_WARN> to the desired value. | |
3558 | ||
3559 | =end original | |
3560 | ||
3561 | この閾値は、C プリプロセッサマクロ C<PERL_SUB_DEPTH_WARN> を希望の値に | |
3562 | 設定して F<perl> バイナリを再コンパイルすることで、100 から変更できます。 | |
3563 | ||
3105 | 3564 | =item defined(@array) is deprecated |
3106 | 3565 | |
3107 | 3566 | =begin original |
3108 | 3567 | |
3109 | 3568 | (D deprecated) defined() is not usually useful on arrays because it |
3110 | 3569 | checks for an undefined I<scalar> value. If you want to see if the |
3111 | 3570 | array is empty, just use C<if (@array) { # not empty }> for example. |
3112 | 3571 | |
3113 | 3572 | =end original |
3114 | 3573 | |
3115 | 3574 | (D deprecated) defined() は未定義の I<スカラ> 値を調べるので、配列に |
3116 | 3575 | 使っても普通は無意味です。 |
3117 | 3576 | 配列が空かどうかを調べたい場合は、例えば単に |
3118 | 3577 | C<if (@array) { # not empty }> としてください。 |
3119 | 3578 | |
3120 | 3579 | =item defined(%hash) is deprecated |
3121 | 3580 | |
3122 | 3581 | =begin original |
3123 | 3582 | |
3124 | 3583 | (D deprecated) defined() is not usually useful on hashes because it |
3125 | 3584 | checks for an undefined I<scalar> value. If you want to see if the hash |
3126 | 3585 | is empty, just use C<if (%hash) { # not empty }> for example. |
3127 | 3586 | |
3128 | 3587 | =end original |
3129 | 3588 | |
3130 | 3589 | (D deprecated) defined() は未定義の I<スカラ> 値を調べるので、ハッシュに |
3131 | 3590 | 使っても普通は無意味です。 |
3132 | 3591 | ハッシュが空かどうかを調べたい場合は、例えば単に |
3133 | 3592 | C<if (%hash) { # not empty }> としてください。 |
3134 | 3593 | |
3594 | =item (?(DEFINE)....) does not allow branches in regex; marked by <-- HERE in m/%s/ | |
3595 | ||
3596 | =begin original | |
3597 | ||
3598 | (F) You used something like C<(?(DEFINE)...|..)> which is illegal. The | |
3599 | most likely cause of this error is that you left out a parenthesis inside | |
3600 | of the C<....> part. | |
3601 | ||
3602 | =end original | |
3603 | ||
3604 | (F) 不正な形の C<(?(DEFINE)...|..)> のようなものを使いました。 | |
3605 | このエラーの、もっともありそうな理由は、C<....> パートの中のかっこを | |
3606 | そのままにしたことです。 | |
3607 | ||
3608 | =begin original | |
3609 | ||
3610 | The <-- HERE shows in the regular expression about where the problem was | |
3611 | discovered. | |
3612 | ||
3613 | =end original | |
3614 | ||
3615 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
3616 | ||
3135 | 3617 | =item %s defines neither package nor VERSION--version check failed |
3136 | 3618 | |
3137 | 3619 | =begin original |
3138 | 3620 | |
3139 | 3621 | (F) You said something like "use Module 42" but in the Module file |
3140 | 3622 | there are neither package declarations nor a C<$VERSION>. |
3141 | 3623 | |
3142 | 3624 | =end original |
3143 | 3625 | |
3144 | 3626 | (F) "use Module 42" のようなことをしましたが、Module ファイルに |
3145 | 3627 | パッケージ定義がないか、C<$VERSION> がありませんでした。 |
3146 | 3628 | |
3147 | 3629 | =item Delimiter for here document is too long |
3148 | 3630 | |
3149 | 3631 | =begin original |
3150 | 3632 | |
3151 | 3633 | (F) In a here document construct like C<<<FOO>, the label C<FOO> is too |
3152 | 3634 | long for Perl to handle. You have to be seriously twisted to write code |
3153 | 3635 | that triggers this error. |
3154 | 3636 | |
3155 | 3637 | =end original |
3156 | 3638 | |
3157 | 3639 | (F) C<<<FOO> のようなヒアドキュメント構造で、ラベル C<FOO> が |
3158 | 3640 | Perl が扱うには長すぎました。 |
3159 | 3641 | このエラーを起こすようなコードを書くには相当ひねくれている必要があります。 |
3160 | 3642 | |
3643 | =item Deprecated character in \N{...}; marked by <-- HERE in \N{%s<-- HERE %s | |
3644 | ||
3645 | =begin original | |
3646 | ||
3647 | (D deprecated) Just about anything is legal for the C<...> in C<\N{...}>. | |
3648 | But starting in 5.12, non-reasonable ones that don't look like names | |
3649 | are deprecated. A reasonable name begins with an alphabetic character | |
3650 | and continues with any combination of alphanumerics, dashes, spaces, | |
3651 | parentheses or colons. | |
3652 | ||
3653 | =end original | |
3654 | ||
3655 | (D deprecated) C<\N{...}> の C<...> は何でも正当です。 | |
3656 | しかし 5.12 から、名前のように見えない正当でないものは廃止予定です。 | |
3657 | 正当な名前は英字で始まって英数字、ダッシュ、空白、かっこ、コロンが | |
3658 | 引き続くものです。 | |
3659 | ||
3660 | =item Deprecated use of my() in false conditional | |
3661 | ||
3662 | =begin original | |
3663 | ||
3664 | (D deprecated) You used a declaration similar to C<my $x if 0>. | |
3665 | There has been a long-standing bug in Perl that causes a lexical variable | |
3666 | not to be cleared at scope exit when its declaration includes a false | |
3667 | conditional. Some people have exploited this bug to achieve a kind of | |
3668 | static variable. Since we intend to fix this bug, we don't want people | |
3669 | relying on this behavior. You can achieve a similar static effect by | |
3670 | declaring the variable in a separate block outside the function, eg | |
3671 | ||
3672 | =end original | |
3673 | ||
3674 | (D deprecated) C<my $x if 0> のような定義を行いました。 | |
3675 | これは、宣言に偽の条件を含んでいるとスコープから外れた際にレキシカル変数が | |
3676 | クリアされないという、Perl に長い間存在したバグです。 | |
3677 | ある種の静的変数を実現するためにこのバグを悪用する人々もいます。 | |
3678 | 私たちはこのバグを修正するつもりなので、人々がこの振る舞いに依存して | |
3679 | ほしくありません。 | |
3680 | 関数外の別のブロックで変数を宣言することで似たような静的な効果を | |
3681 | 達成できます; 例えば: | |
3682 | ||
3683 | sub f { my $x if 0; return $x++ } | |
3684 | ||
3685 | =begin original | |
3686 | ||
3687 | becomes | |
3688 | ||
3689 | =end original | |
3690 | ||
3691 | これは以下のようにします: | |
3692 | ||
3693 | { my $x; sub f { return $x++ } } | |
3694 | ||
3695 | =begin original | |
3696 | ||
3697 | Beginning with perl 5.9.4, you can also use C<state> variables to | |
3698 | have lexicals that are initialized only once (see L<feature>): | |
3699 | ||
3700 | =end original | |
3701 | ||
3702 | perl 5.9.4 から、一度だけ初期化されるレキシカルとして C<state> 変数も | |
3703 | 使えます (L<feature> を参照してください): | |
3704 | ||
3705 | sub f { state $x; return $x++ } | |
3706 | ||
3161 | 3707 | =item DESTROY created new reference to dead object '%s' |
3162 | 3708 | |
3163 | 3709 | =begin original |
3164 | 3710 | |
3165 | 3711 | (F) A DESTROY() method created a new reference to the object which is |
3166 | 3712 | just being DESTROYed. Perl is confused, and prefers to abort rather than |
3167 | 3713 | to create a dangling reference. |
3168 | 3714 | |
3169 | 3715 | =end original |
3170 | 3716 | |
3171 | 3717 | (F) DESTROY() メソッドが、DESTROY したばかりのオブジェクトへの |
3172 | 3718 | 新しいリファレンスを作りました。 |
3173 | 3719 | Perl は混乱して、不明瞭なリファレンスを作るよりは中断することを選びました。 |
3174 | 3720 | |
3175 | 3721 | =item Did not produce a valid header |
3176 | 3722 | |
3177 | 3723 | =begin original |
3178 | 3724 | |
3179 | 3725 | See Server error. |
3180 | 3726 | |
3181 | 3727 | =end original |
3182 | 3728 | |
3183 | 3729 | "Server error" を参照してください。 |
3184 | 3730 | |
3185 | 3731 | =item %s did not return a true value |
3186 | 3732 | |
3187 | 3733 | =begin original |
3188 | 3734 | |
3189 | 3735 | (F) A required (or used) file must return a true value to indicate that |
3190 | 3736 | it compiled correctly and ran its initialization code correctly. It's |
3191 | 3737 | traditional to end such a file with a "1;", though any true value would |
3192 | 3738 | do. See L<perlfunc/require>. |
3193 | 3739 | |
3194 | 3740 | =end original |
3195 | 3741 | |
3196 | 3742 | (F) require (や use) されたファイルは、正常にコンパイルされ、 |
3197 | 3743 | 初期化コードを正しく実行したことを示すために、真を返さなければなりません。 |
3198 | 3744 | こういったファイルは、"1;" で終わるようにするのが習慣ですが、 |
3199 | 3745 | 真となる値であれば、何でもかまいません。 |
3200 | 3746 | L<perlfunc/require> を参照してください。 |
3201 | 3747 | |
3202 | 3748 | =item (Did you mean &%s instead?) |
3203 | 3749 | |
3204 | 3750 | =begin original |
3205 | 3751 | |
3206 | (W) You probably referred to an imported subroutine &FOO as $FOO or | |
3752 | (W misc) You probably referred to an imported subroutine &FOO as $FOO or | |
3207 | such. | |
3753 | some such. | |
3208 | 3754 | |
3209 | 3755 | =end original |
3210 | 3756 | |
3211 | おそらく import したサブルーチン &FOO を $FOO として | |
3757 | (W misc) おそらく import したサブルーチン &FOO を $FOO として | |
3212 | 3758 | 参照したようなことでしょう。 |
3213 | 3759 | |
3214 | 3760 | =item (Did you mean "local" instead of "our"?) |
3215 | 3761 | |
3216 | 3762 | =begin original |
3217 | 3763 | |
3218 | 3764 | (W misc) Remember that "our" does not localize the declared global |
3219 | 3765 | variable. You have declared it again in the same lexical scope, which |
3220 | 3766 | seems superfluous. |
3221 | 3767 | |
3222 | 3768 | =end original |
3223 | 3769 | |
3224 | 3770 | (W misc) "our" 宣言されたグローバル変数を local 化しないことを |
3225 | 3771 | 忘れないで下さい。 |
3226 | 3772 | これをもう一度同じレキシカルスコープで宣言していますが、 |
3227 | 3773 | 不必要でしょう。 |
3228 | 3774 | |
3229 | 3775 | =item (Did you mean $ or @ instead of %?) |
3230 | 3776 | |
3231 | 3777 | =begin original |
3232 | 3778 | |
3233 | 3779 | (W) You probably said %hash{$key} when you meant $hash{$key} or |
3234 | 3780 | @hash{@keys}. On the other hand, maybe you just meant %hash and got |
3235 | 3781 | carried away. |
3236 | 3782 | |
3237 | 3783 | =end original |
3238 | 3784 | |
3239 | 3785 | (W) おそらく $hash{$key} か @hash{@keys} としたいときに %hash{$key} と |
3240 | 3786 | したのでしょう。 |
3241 | 3787 | あるいは、単に %hash としたくてやりすぎたのでしょう。 |
3242 | 3788 | |
3243 | 3789 | =item Died |
3244 | 3790 | |
3245 | 3791 | =begin original |
3246 | 3792 | |
3247 | 3793 | (F) You passed die() an empty string (the equivalent of C<die "">) or |
3248 | you called it with no args and | |
3794 | you called it with no args and C<$@> was empty. | |
3249 | 3795 | |
3250 | 3796 | =end original |
3251 | 3797 | |
3252 | 3798 | (F) die() に空文字列を渡した(C<die ""> と等価です)か、引数なしで |
3253 | 呼び出して、C<$@> | |
3799 | 呼び出して、C<$@> が空でした。 | |
3254 | 3800 | |
3255 | 3801 | =item Document contains no data |
3256 | 3802 | |
3257 | 3803 | =begin original |
3258 | 3804 | |
3259 | 3805 | See Server error. |
3260 | 3806 | |
3261 | 3807 | =end original |
3262 | 3808 | |
3263 | 3809 | "Server error" を参照してください。 |
3264 | 3810 | |
3265 | 3811 | =item %s does not define %s::VERSION--version check failed |
3266 | 3812 | |
3267 | 3813 | =begin original |
3268 | 3814 | |
3269 | 3815 | (F) You said something like "use Module 42" but the Module did not |
3270 | 3816 | define a C<$VERSION.> |
3271 | 3817 | |
3272 | 3818 | =end original |
3273 | 3819 | |
3274 | 3820 | (F) "use Module 42" のようなことをしましたが、Module は C<$VERSION> を |
3275 | 3821 | 定義していません。 |
3276 | 3822 | |
3277 | 3823 | =item '/' does not take a repeat count |
3278 | 3824 | |
3279 | 3825 | =begin original |
3280 | 3826 | |
3281 | 3827 | (F) You cannot put a repeat count of any kind right after the '/' code. |
3282 | 3828 | See L<perlfunc/pack>. |
3283 | 3829 | |
3284 | 3830 | =end original |
3285 | 3831 | |
3286 | 3832 | (F) '/' の直後には繰り返し数を指定できません。 |
3287 | 3833 | L<perlfunc/pack> を参照してください。 |
3288 | 3834 | |
3289 | 3835 | =item Don't know how to handle magic of type '%s' |
3290 | 3836 | |
3291 | 3837 | =begin original |
3292 | 3838 | |
3293 | 3839 | (P) The internal handling of magical variables has been cursed. |
3294 | 3840 | |
3295 | 3841 | =end original |
3296 | 3842 | |
3297 | (P) マジ | |
3843 | (P) マジカル変数の内部処理がおかしくなっています。 | |
3298 | 3844 | |
3299 | 3845 | =item do_study: out of memory |
3300 | 3846 | |
3301 | 3847 | =begin original |
3302 | 3848 | |
3303 | 3849 | (P) This should have been caught by safemalloc() instead. |
3304 | 3850 | |
3305 | 3851 | =end original |
3306 | 3852 | |
3307 | 3853 | (P) これは、本来 safemalloc() で引っ掛かるはずのものです。 |
3308 | 3854 | |
3309 | 3855 | =item (Do you need to predeclare %s?) |
3310 | 3856 | |
3311 | 3857 | =begin original |
3312 | 3858 | |
3313 | 3859 | (S syntax) This is an educated guess made in conjunction with the message |
3314 | 3860 | "%s found where operator expected". It often means a subroutine or module |
3315 | 3861 | name is being referenced that hasn't been declared yet. This may be |
3316 | 3862 | because of ordering problems in your file, or because of a missing |
3317 | 3863 | "sub", "package", "require", or "use" statement. If you're referencing |
3318 | 3864 | something that isn't defined yet, you don't actually have to define the |
3319 | 3865 | subroutine or package before the current location. You can use an empty |
3320 | 3866 | "sub foo;" or "package FOO;" to enter a "forward" declaration. |
3321 | 3867 | |
3322 | 3868 | =end original |
3323 | 3869 | |
3324 | 3870 | (S syntax) これは "%s found where operator expected" メッセージと共に |
3325 | 3871 | 表示される教育的な推測です。 |
3326 | 3872 | これはしばしばサブルーチンやモジュール名がまだ宣言される前に参照されている |
3327 | 3873 | ことを意味します。 |
3328 | 3874 | これはファイル内部での順番のためであったり、"sub", "package", "require", |
3329 | 3875 | "use" 文がないためであったりします。 |
3330 | 3876 | もしまだ定義されていないものを参照したい場合、現在位置より前に実際に |
3331 | 3877 | サブルーチンやパッケージを定義する必要はありません。 |
3332 | 3878 | 空の "sub foo;" や "package FOO;" を「前方」宣言として使えます。 |
3333 | 3879 | |
3334 | 3880 | =item dump() better written as CORE::dump() |
3335 | 3881 | |
3336 | 3882 | =begin original |
3337 | 3883 | |
3338 | 3884 | (W misc) You used the obsolescent C<dump()> built-in function, without fully |
3339 | 3885 | qualifying it as C<CORE::dump()>. Maybe it's a typo. See L<perlfunc/dump>. |
3340 | 3886 | |
3341 | 3887 | =end original |
3342 | 3888 | |
3343 | 3889 | (W misc) 古いものである C<dump()> 組み込み関数を、C<CORE::dump()> と |
3344 | 3890 | いうように完全修飾せずに使いました。 |
3345 | 3891 | おそらくこれはタイプミスです。 |
3346 | 3892 | L<perlfunc/dump> を参照してください。 |
3347 | 3893 | |
3894 | =item dump is not supported | |
3895 | ||
3896 | =begin original | |
3897 | ||
3898 | (F) Your machine doesn't support dump/undump. | |
3899 | ||
3900 | =end original | |
3901 | ||
3902 | (F) このマシンは dump/undump に対応していません。 | |
3903 | ||
3348 | 3904 | =item Duplicate free() ignored |
3349 | 3905 | |
3350 | 3906 | =begin original |
3351 | 3907 | |
3352 | 3908 | (S malloc) An internal routine called free() on something that had |
3353 | 3909 | already been freed. |
3354 | 3910 | |
3355 | 3911 | =end original |
3356 | 3912 | |
3357 | 3913 | (S malloc) 既に解放されているものに対して、内部ルーティンが free() を |
3358 | 3914 | 行なおうとしました。 |
3359 | 3915 | |
3360 | 3916 | =item Duplicate modifier '%c' after '%c' in %s |
3361 | 3917 | |
3362 | 3918 | =begin original |
3363 | 3919 | |
3364 | 3920 | (W) You have applied the same modifier more than once after a type |
3365 | 3921 | in a pack template. See L<perlfunc/pack>. |
3366 | 3922 | |
3367 | 3923 | =end original |
3368 | 3924 | |
3369 | 3925 | (W) pack テンプレートで、一つの型の後に同じ修飾子を複数指定しました。 |
3370 | 3926 | L<perlfunc/pack> を参照してください。 |
3371 | 3927 | |
3372 | 3928 | =item elseif should be elsif |
3373 | 3929 | |
3374 | 3930 | =begin original |
3375 | 3931 | |
3376 | 3932 | (S syntax) There is no keyword "elseif" in Perl because Larry thinks it's |
3377 | 3933 | ugly. Your code will be interpreted as an attempt to call a method named |
3378 | 3934 | "elseif" for the class returned by the following block. This is |
3379 | 3935 | unlikely to be what you want. |
3380 | 3936 | |
3381 | 3937 | =end original |
3382 | 3938 | |
3383 | 3939 | (S) Larry は "elseif" というのは醜いと考えたので、Perl にはこのキーワードは |
3384 | 3940 | ありません。 |
3385 | 3941 | このコードは引き続くブロックによって返されたクラスの "elseif" メソッドを |
3386 | 3942 | 呼び出そうとしていると解釈されます。 |
3387 | 3943 | これは望んでいることではないはずです。 |
3388 | 3944 | |
3389 | 3945 | =item Empty %s |
3390 | 3946 | |
3391 | 3947 | =begin original |
3392 | 3948 | |
3393 | 3949 | (F) C<\p> and C<\P> are used to introduce a named Unicode property, as |
3394 | 3950 | described in L<perlunicode> and L<perlre>. You used C<\p> or C<\P> in |
3395 | 3951 | a regular expression without specifying the property name. |
3396 | 3952 | |
3397 | 3953 | =end original |
3398 | 3954 | |
3399 | 3955 | (F) C<\p> と C<\P> は、L<perlunicode> と L<perlre> に記述されているように、 |
3400 | 3956 | 名前付き Unicode プロパティを導入するために使われます。 |
3401 | 3957 | 正規表現の中で、C<\p> や C<\P> をプロパティ名の指定なしに使いました。 |
3402 | 3958 | |
3403 | 3959 | =item entering effective %s failed |
3404 | 3960 | |
3405 | 3961 | =begin original |
3406 | 3962 | |
3407 | 3963 | (F) While under the C<use filetest> pragma, switching the real and |
3408 | 3964 | effective uids or gids failed. |
3409 | 3965 | |
3410 | 3966 | =end original |
3411 | 3967 | |
3412 | 3968 | (F) C<use filetest> プラグマを使っている間に、 |
3413 | 3969 | 実と実効の UID や GID の切り替えに失敗しました。 |
3414 | 3970 | |
3415 | 3971 | =item %ENV is aliased to %s |
3416 | 3972 | |
3417 | 3973 | =begin original |
3418 | 3974 | |
3419 | 3975 | (F) You're running under taint mode, and the C<%ENV> variable has been |
3420 | 3976 | aliased to another hash, so it doesn't reflect anymore the state of the |
3421 | 3977 | program's environment. This is potentially insecure. |
3422 | 3978 | |
3423 | 3979 | =end original |
3424 | 3980 | |
3425 | 3981 | (F) 汚染モードで動作していて、C<%ENV> 変数が他のハッシュへのエイリアスに |
3426 | 3982 | なっているので、これ以上プログラムの環境の状態を反映しません。 |
3427 | 3983 | これは潜在的にはセキュアではありません。 |
3428 | 3984 | |
3429 | 3985 | =item Error converting file specification %s |
3430 | 3986 | |
3431 | 3987 | =begin original |
3432 | 3988 | |
3433 | 3989 | (F) An error peculiar to VMS. Because Perl may have to deal with file |
3434 | 3990 | specifications in either VMS or Unix syntax, it converts them to a |
3435 | 3991 | single form when it must operate on them directly. Either you've passed |
3436 | 3992 | an invalid file specification to Perl, or you've found a case the |
3437 | 3993 | conversion routines don't handle. Drat. |
3438 | 3994 | |
3439 | 3995 | =end original |
3440 | 3996 | |
3441 | 3997 | (F) VMS に固有のエラーです。 |
3442 | 3998 | Perl はファイル仕様を VMS 式か Unix 式かどちらかで扱わなければならないので、 |
3443 | 3999 | 直接操作しなければならない場合は変換します。 |
3444 | 4000 | 不正なファイル仕様を Perl に渡したか、変換ルーチンが扱えないパターンを |
3445 | 4001 | 発見したかです。 |
3446 | 4002 | ちぇっ。 |
3447 | 4003 | |
3448 | 4004 | =item %s: Eval-group in insecure regular expression |
3449 | 4005 | |
3450 | 4006 | =begin original |
3451 | 4007 | |
3452 | 4008 | (F) Perl detected tainted data when trying to compile a regular |
3453 | 4009 | expression that contains the C<(?{ ... })> zero-width assertion, which |
3454 | 4010 | is unsafe. See L<perlre/(?{ code })>, and L<perlsec>. |
3455 | 4011 | |
3456 | 4012 | =end original |
3457 | 4013 | |
3458 | 4014 | C<(?{ ... })> ゼロ幅アサーションを含む正規表現をコンパイルしようと |
3459 | 4015 | したときに、Perl は汚染されたデータを検出しました; |
3460 | 4016 | これは安全ではありません。 |
3461 | 4017 | L<perlre/(?{ code })> と L<perlsec> を参照してください。 |
3462 | 4018 | |
3463 | =item %s: Eval-group not allowed at run | |
4019 | =item %s: Eval-group not allowed at runtime, use re 'eval' | |
3464 | 4020 | |
3465 | 4021 | =begin original |
3466 | 4022 | |
3467 | 4023 | (F) Perl tried to compile a regular expression containing the |
3468 | 4024 | C<(?{ ... })> zero-width assertion at run time, as it would when the |
3469 | pattern contains interpolated values. Since that is a security risk, | |
4025 | pattern contains interpolated values. Since that is a security risk, | |
3470 | is not allowed. If you insist, you may still do this by | |
4026 | it is not allowed. If you insist, you may still do this by using the | |
3471 | building the pattern from an | |
4027 | C<re 'eval'> pragma or by explicitly building the pattern from an | |
3472 | that in an eval(). See | |
4028 | interpolated string at run time and using that in an eval(). See | |
4029 | L<perlre/(?{ code })>. | |
3473 | 4030 | |
3474 | 4031 | =end original |
3475 | 4032 | |
3476 | 4033 | (F) Perl が実行時に、変数展開された値を含んでいて、 |
3477 | 4034 | C<(?{ ... })> ゼロ幅アサーションを含む正規表現をコンパイルしようとしました。 |
3478 | 4035 | これはセキュリティ上の危険があるので、許可されていません。 |
3479 | どうしても実行したい場合は、実行時に | |
4036 | どうしても実行したい場合は、C<re 'eval'> プラグマを使うか実行時に | |
3480 | パターンを作成して、それを eval() の中で使うことで | |
4037 | 変数展開された文字列からパターンを作成して、それを eval() の中で使うことで | |
4038 | 実行できます。 | |
3481 | 4039 | L<perlre/(?{ code })> を参照してください。 |
3482 | 4040 | |
3483 | 4041 | =item %s: Eval-group not allowed, use re 'eval' |
3484 | 4042 | |
3485 | 4043 | =begin original |
3486 | 4044 | |
3487 | 4045 | (F) A regular expression contained the C<(?{ ... })> zero-width |
3488 | 4046 | assertion, but that construct is only allowed when the C<use re 'eval'> |
3489 | 4047 | pragma is in effect. See L<perlre/(?{ code })>. |
3490 | 4048 | |
3491 | 4049 | =end original |
3492 | 4050 | |
3493 | 4051 | (F) 正規表現に C<(?{ ... })> ゼロ幅アサーションを含んでいますが、 |
3494 | 4052 | この構造は C<use re 'eval'> プラグマが有効の場合にのみ許可されます。 |
3495 | 4053 | L<perlre/(?{ code })> を参照してください。 |
3496 | 4054 | |
4055 | =item EVAL without pos change exceeded limit in regex; marked by <-- HERE in m/%s/ | |
4056 | ||
4057 | =begin original | |
4058 | ||
4059 | (F) You used a pattern that nested too many EVAL calls without consuming | |
4060 | any text. Restructure the pattern so that text is consumed. | |
4061 | ||
4062 | =end original | |
4063 | ||
4064 | (F) テキストを一切読み込むことなく、EVAL 呼び出しのネストが多すぎる | |
4065 | パターンを使いました。 | |
4066 | テキストを読み込むようにパターンを再構築してください。 | |
4067 | ||
4068 | =begin original | |
4069 | ||
4070 | The <-- HERE shows in the regular expression about where the problem was | |
4071 | discovered. | |
4072 | ||
4073 | =end original | |
4074 | ||
4075 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
4076 | ||
3497 | 4077 | =item Excessively long <> operator |
3498 | 4078 | |
3499 | 4079 | =begin original |
3500 | 4080 | |
3501 | 4081 | (F) The contents of a <> operator may not exceed the maximum size of a |
3502 | 4082 | Perl identifier. If you're just trying to glob a long list of |
3503 | 4083 | filenames, try using the glob() operator, or put the filenames into a |
3504 | 4084 | variable and glob that. |
3505 | 4085 | |
3506 | 4086 | =end original |
3507 | 4087 | |
3508 | 4088 | (F) <> 演算子の内容は Perl 識別子の最大サイズを越えることはできません。 |
3509 | 4089 | 単にファイル名の長いリストをグロブしようとしただけなら、glob() 演算子を |
3510 | 4090 | 使うか、ファイル名を変数に入れて、それをグロブしてください。 |
3511 | 4091 | |
3512 | 4092 | =item exec? I'm not *that* kind of operating system |
3513 | 4093 | |
3514 | 4094 | =begin original |
3515 | 4095 | |
3516 | (F) The C<exec> function is not implemented | |
4096 | (F) The C<exec> function is not implemented on some systems, e.g., Symbian | |
4097 | OS. See L<perlport>. | |
3517 | 4098 | |
3518 | 4099 | =end original |
3519 | 4100 | |
3520 | (F) C<exec> 関数は | |
4101 | (F) C<exec> 関数は Symbian OS のような一部のシステムには実装されていません。 | |
3521 | 4102 | L<perlport> を参照してください。 |
3522 | 4103 | |
3523 | =item Execution of %s aborted due to compilation errors | |
4104 | =item Execution of %s aborted due to compilation errors. | |
3524 | 4105 | |
3525 | 4106 | =begin original |
3526 | 4107 | |
3527 | 4108 | (F) The final summary message when a Perl compilation fails. |
3528 | 4109 | |
3529 | 4110 | =end original |
3530 | 4111 | |
3531 | 4112 | (F) Perl のコンパイルが失敗したときの、最後のまとめメッセージです。 |
3532 | 4113 | |
3533 | 4114 | =item Exiting eval via %s |
3534 | 4115 | |
3535 | 4116 | =begin original |
3536 | 4117 | |
3537 | 4118 | (W exiting) You are exiting an eval by unconventional means, such as a |
3538 | 4119 | goto, or a loop control statement. |
3539 | 4120 | |
3540 | 4121 | =end original |
3541 | 4122 | |
3542 | 4123 | (W exiting) goto やループ制御文など、おかしな方法で eval を抜けました。 |
3543 | 4124 | |
3544 | 4125 | =item Exiting format via %s |
3545 | 4126 | |
3546 | 4127 | =begin original |
3547 | 4128 | |
3548 | 4129 | (W exiting) You are exiting a format by unconventional means, such as a |
3549 | 4130 | goto, or a loop control statement. |
3550 | 4131 | |
3551 | 4132 | =end original |
3552 | 4133 | |
3553 | 4134 | (W exiting) goto やループ制御文といった、異例な形でフォーマットを |
3554 | 4135 | 終了しました。 |
3555 | 4136 | |
3556 | 4137 | =item Exiting pseudo-block via %s |
3557 | 4138 | |
3558 | 4139 | =begin original |
3559 | 4140 | |
3560 | 4141 | (W exiting) You are exiting a rather special block construct (like a |
3561 | 4142 | sort block or subroutine) by unconventional means, such as a goto, or a |
3562 | 4143 | loop control statement. See L<perlfunc/sort>. |
3563 | 4144 | |
3564 | 4145 | =end original |
3565 | 4146 | |
3566 | 4147 | (W exiting) (ソートブロックやサブルーチンのような) 特別なブロック構造を、 |
3567 | 4148 | goto やループ制御文といった異例な方法で終了しました。 |
3568 | 4149 | L<perlfunc/sort> を参照してください。 |
3569 | 4150 | |
3570 | 4151 | =item Exiting subroutine via %s |
3571 | 4152 | |
3572 | 4153 | =begin original |
3573 | 4154 | |
3574 | 4155 | (W exiting) You are exiting a subroutine by unconventional means, such |
3575 | 4156 | as a goto, or a loop control statement. |
3576 | 4157 | |
3577 | 4158 | =end original |
3578 | 4159 | |
3579 | (W exiting) goto やループ制御文など、おかしな方法でサブルー | |
4160 | (W exiting) goto やループ制御文など、おかしな方法でサブルーチンを | |
3580 | 4161 | 抜けました。 |
3581 | 4162 | |
3582 | 4163 | =item Exiting substitution via %s |
3583 | 4164 | |
3584 | 4165 | =begin original |
3585 | 4166 | |
3586 | 4167 | (W exiting) You are exiting a substitution by unconventional means, such |
3587 | 4168 | as a return, a goto, or a loop control statement. |
3588 | 4169 | |
3589 | 4170 | =end original |
3590 | 4171 | |
3591 | 4172 | (W exit) return や goto やループ制御文など、おかしな方法で置換を |
3592 | 4173 | 抜けました。 |
3593 | 4174 | |
3594 | 4175 | =item Explicit blessing to '' (assuming package main) |
3595 | 4176 | |
3596 | 4177 | =begin original |
3597 | 4178 | |
3598 | 4179 | (W misc) You are blessing a reference to a zero length string. This has |
3599 | 4180 | the effect of blessing the reference into the package main. This is |
3600 | 4181 | usually not what you want. Consider providing a default target package, |
3601 | 4182 | e.g. bless($ref, $p || 'MyPackage'); |
3602 | 4183 | |
3603 | 4184 | =end original |
3604 | 4185 | |
3605 | 4186 | (W misc) リファレンスを長さゼロの文字列に bless しました。 |
3606 | 4187 | これはリファレンスをパッケージ main に bless する効果があります。 |
3607 | 4188 | これは普通あなたが望んでいることではありません。 |
3608 | 4189 | (bless($ref, $p || 'MyPackage'); のように) デフォルトターゲット |
3609 | 4190 | パッケージを提供することを考慮してください; |
3610 | 4191 | |
3611 | 4192 | =item %s: Expression syntax |
3612 | 4193 | |
3613 | 4194 | =begin original |
3614 | 4195 | |
3615 | 4196 | (A) You've accidentally run your script through B<csh> instead of Perl. |
3616 | 4197 | Check the #! line, or manually feed your script into Perl yourself. |
3617 | 4198 | |
3618 | 4199 | =end original |
3619 | 4200 | |
3620 | 4201 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
3621 | 4202 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
3622 | 4203 | |
3623 | 4204 | =item %s failed--call queue aborted |
3624 | 4205 | |
3625 | 4206 | =begin original |
3626 | 4207 | |
3627 | (F) An untrapped exception was raised while executing a CHECK, | |
4208 | (F) An untrapped exception was raised while executing a UNITCHECK, | |
3628 | END subroutine. Processing of the remainder of the | |
4209 | CHECK, INIT, or END subroutine. Processing of the remainder of the | |
3629 | routines has been prematurely ended. | |
4210 | queue of such routines has been prematurely ended. | |
3630 | 4211 | |
3631 | 4212 | =end original |
3632 | 4213 | |
3633 | (F) CHECK, INIT, END サブルーチンを実行中にトラップされていない | |
4214 | (F) UNITCHECK, CHECK, INIT, END サブルーチンを実行中にトラップされていない | |
3634 | 発生しました。 | |
4215 | 例外が発生しました。 | |
3635 | 4216 | このようなルーチンのキューの残りの処理は途中で終了しました。 |
3636 | 4217 | |
3637 | 4218 | =item False [] range "%s" in regex; marked by <-- HERE in m/%s/ |
3638 | 4219 | |
3639 | 4220 | =begin original |
3640 | 4221 | |
3641 | 4222 | (W regexp) A character class range must start and end at a literal |
3642 | 4223 | character, not another character class like C<\d> or C<[:alpha:]>. The "-" |
3643 | 4224 | in your false range is interpreted as a literal "-". Consider quoting the |
3644 | 4225 | "-", "\-". The <-- HERE shows in the regular expression about where the |
3645 | 4226 | problem was discovered. See L<perlre>. |
3646 | 4227 | |
3647 | 4228 | =end original |
3648 | 4229 | |
3649 | 4230 | (W regexp) 文字クラス範囲の先頭とと末尾は、C<\d> や C<[:alpha:]> のような |
3650 | 4231 | 他の文字クラスではなく、リテラル文字でなければなりません。 |
3651 | 4232 | 間違った範囲の "-" はリテラルの "-" と解釈されます。 |
3652 | 4233 | "-" を "\-" とクォートすることを考慮してください。 |
3653 | <-- HERE | |
4234 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
3654 | 4235 | L<perlre> を参照してください。 |
3655 | 4236 | |
3656 | =item Fatal VMS error at %s, line %d | |
4237 | =item Fatal VMS error (status=%d) at %s, line %d | |
3657 | 4238 | |
3658 | 4239 | =begin original |
3659 | 4240 | |
3660 | 4241 | (P) An error peculiar to VMS. Something untoward happened in a VMS |
3661 | 4242 | system service or RTL routine; Perl's exit status should provide more |
3662 | 4243 | details. The filename in "at %s" and the line number in "line %d" tell |
3663 | 4244 | you which section of the Perl source code is distressed. |
3664 | 4245 | |
3665 | 4246 | =end original |
3666 | 4247 | |
3667 | 4248 | (P) VMS に固有のエラーです。 |
3668 | 4249 | 何か都合の悪いことが VMS システムサービスか RTL ルーチンで起こりました; |
3669 | 4250 | Perl の終了コードに詳細が示されています。 |
3670 | 4251 | "at %s" のファイル名と "line %d" の行番号は、問題の起こった |
3671 | 4252 | Perl ソースコードの位置を示しています。 |
3672 | 4253 | |
3673 | 4254 | =item fcntl is not implemented |
3674 | 4255 | |
3675 | 4256 | =begin original |
3676 | 4257 | |
3677 | 4258 | (F) Your machine apparently doesn't implement fcntl(). What is this, a |
3678 | 4259 | PDP-11 or something? |
3679 | 4260 | |
3680 | 4261 | =end original |
3681 | 4262 | |
3682 | 4263 | (F) このマシンでは、fcntl() が実装されていないように見えます。 |
3683 | 4264 | PDP-11 か何かでしょうか。 |
3684 | 4265 | |
4266 | =item FETCHSIZE returned a negative value | |
4267 | ||
4268 | =begin original | |
4269 | ||
4270 | (F) A tied array claimed to have a negative number of elements, which | |
4271 | is not possible. | |
4272 | ||
4273 | =end original | |
4274 | ||
4275 | (F) tie された配列に対して負の番号の要素を要求されました; これは不可能です。 | |
4276 | ||
4277 | =item Field too wide in 'u' format in pack | |
4278 | ||
4279 | =begin original | |
4280 | ||
4281 | (W pack) Each line in an uuencoded string start with a length indicator | |
4282 | which can't encode values above 63. So there is no point in asking for | |
4283 | a line length bigger than that. Perl will behave as if you specified | |
4284 | C<u63> as the format. | |
4285 | ||
4286 | =end original | |
4287 | ||
4288 | (W pack) uuencode された文字列の各行が、63 以上にエンコードできない | |
4289 | 長さ識別子から始まっています。 | |
4290 | それで、これより長い行の長さを問い合わせるところがありません。 | |
4291 | Perl はフォーマットとして C<u63> が指定されたかのように振る舞います。 | |
4292 | ||
3685 | 4293 | =item Filehandle %s opened only for input |
3686 | 4294 | |
3687 | 4295 | =begin original |
3688 | 4296 | |
3689 | 4297 | (W io) You tried to write on a read-only filehandle. If you intended |
3690 | 4298 | it to be a read-write filehandle, you needed to open it with "+<" or |
3691 | 4299 | "+>" or "+>>" instead of with "<" or nothing. If you intended only to |
3692 | 4300 | write the file, use ">" or ">>". See L<perlfunc/open>. |
3693 | 4301 | |
3694 | 4302 | =end original |
3695 | 4303 | |
3696 | 4304 | (W io) リードオンリーのファイルハンドルに対して、書込みを行なおうとしました。 |
3697 | 4305 | 読み書き両用ファイルハンドルにしたいのであれば、"<" を付けたり、 |
3698 | 4306 | 何も付けなかったりするのではなく、"+<" や "+>" や "+>>" を付けて |
3699 | 4307 | open する必要があります。 |
3700 | 4308 | ライトオンリーであれば、">" や ">>" を使ってください。 |
3701 | L<perlfunc/open> | |
4309 | L<perlfunc/open> を参照してください。 | |
3702 | 4310 | |
3703 | 4311 | =item Filehandle %s opened only for output |
3704 | 4312 | |
3705 | 4313 | =begin original |
3706 | 4314 | |
3707 | 4315 | (W io) You tried to read from a filehandle opened only for writing, If |
3708 | 4316 | you intended it to be a read/write filehandle, you needed to open it |
3709 | with "+<" or "+>" or "+>>" instead of with " | |
4317 | with "+<" or "+>" or "+>>" instead of with ">". If you intended only to | |
3710 | ||
4318 | read from the file, use "<". See L<perlfunc/open>. Another possibility | |
3711 | ||
4319 | is that you attempted to open filedescriptor 0 (also known as STDIN) for | |
3712 | ||
4320 | output (maybe you closed STDIN earlier?). | |
3713 | 4321 | |
3714 | 4322 | =end original |
3715 | 4323 | |
3716 | (W io) 書き込み専用のファイルハンドルから読み込もうとしました | |
4324 | (W io) 書き込み専用のファイルハンドルから読み込もうとしました; | |
3717 | 読み書きできるファイルハンドルにしたい場合は、 | |
4325 | 読み書きできるファイルハンドルにしたい場合は、ファイルのオープン時に | |
3718 | ||
4326 | ">" ではなく、"+<" か "+>" か "+>>" をつける必要があります。 | |
3719 | "+<" か "+>" か "+>>" をつける必要があります。 | |
3720 | 4327 | 読み込み専用にしたい場合は、"<" を使ってください。 |
3721 | 4328 | L<perlfunc/open> を参照してください。 |
3722 | 4329 | 他の可能性としては、ファイル記述子 0 (STDIN としても知られています) を |
3723 | 4330 | 出力用に開こうとした場合(おそらくその前に STDIN を閉じたのでは?)です。 |
3724 | 4331 | |
3725 | 4332 | =item Filehandle %s reopened as %s only for input |
3726 | 4333 | |
3727 | 4334 | =begin original |
3728 | 4335 | |
3729 | 4336 | (W io) You opened for reading a filehandle that got the same filehandle id |
3730 | 4337 | as STDOUT or STDERR. This occurred because you closed STDOUT or STDERR |
3731 | 4338 | previously. |
3732 | 4339 | |
3733 | 4340 | =end original |
3734 | 4341 | |
3735 | 4342 | (W io) STDOUT または STDERR として使われていたのと同じファイルハンドル ID の |
3736 | 4343 | ファイルハンドルを読み込み用に開こうとしました。 |
3737 | 4344 | これは、以前 STDOUT または STDERR を閉じたときに起きます。 |
3738 | 4345 | |
3739 | 4346 | =item Filehandle STDIN reopened as %s only for output |
3740 | 4347 | |
3741 | 4348 | =begin original |
3742 | 4349 | |
3743 | 4350 | (W io) You opened for writing a filehandle that got the same filehandle id |
3744 | 4351 | as STDIN. This occurred because you closed STDIN previously. |
3745 | 4352 | |
3746 | 4353 | =end original |
3747 | 4354 | |
3748 | 4355 | (W io) STDIN として使われていたのと同じファイルハンドル ID の |
3749 | 4356 | ファイルハンドルを書き込み用に開こうとしました。 |
3750 | 4357 | これは、以前 STDIN を閉じたときに起きます。 |
3751 | 4358 | |
3752 | 4359 | =item Final $ should be \$ or $name |
3753 | 4360 | |
3754 | 4361 | =begin original |
3755 | 4362 | |
3756 | 4363 | (F) You must now decide whether the final $ in a string was meant to be |
3757 | 4364 | a literal dollar sign, or was meant to introduce a variable name that |
3758 | 4365 | happens to be missing. So you have to put either the backslash or the |
3759 | 4366 | name. |
3760 | 4367 | |
3761 | 4368 | =end original |
3762 | 4369 | |
3763 | 4370 | (F) 文字列の最後の $ が、リテラルのドル記号なのか、変数名を入れようとして |
3764 | 4371 | 忘れたのかを、はっきりさせなければなりません。 |
3765 | 4372 | バックスラッシュを付けるか、名前を入れてください。 |
3766 | 4373 | |
3767 | 4374 | =item flock() on closed filehandle %s |
3768 | 4375 | |
3769 | 4376 | =begin original |
3770 | 4377 | |
3771 | 4378 | (W closed) The filehandle you're attempting to flock() got itself closed |
3772 | 4379 | some time before now. Check your control flow. flock() operates on |
3773 | 4380 | filehandles. Are you attempting to call flock() on a dirhandle by the |
3774 | 4381 | same name? |
3775 | 4382 | |
3776 | 4383 | =end original |
3777 | 4384 | |
3778 | 4385 | (W closed) flock() しようとしたファイルハンドルはその前に既に |
3779 | 4386 | 閉じられています。 |
3780 | 4387 | 制御フローをチェックしてください。 |
3781 | 4388 | flock() はファイルハンドルを操作します。 |
3782 | 4389 | 同じ名前のディレクトリハンドルに flock() しようとしていませんか? |
3783 | 4390 | |
3784 | 4391 | =item Format not terminated |
3785 | 4392 | |
3786 | 4393 | =begin original |
3787 | 4394 | |
3788 | 4395 | (F) A format must be terminated by a line with a solitary dot. Perl got |
3789 | 4396 | to the end of your file without finding such a line. |
3790 | 4397 | |
3791 | 4398 | =end original |
3792 | 4399 | |
3793 | 4400 | (F) フォーマットは、単独のドットだけからなる行で終わらなければなりません。 |
3794 | 4401 | そのような行が見つからないまま、スクリプトの最後に行き当たってしまいました。 |
3795 | 4402 | |
3796 | 4403 | =item Format %s redefined |
3797 | 4404 | |
3798 | 4405 | =begin original |
3799 | 4406 | |
3800 | 4407 | (W redefine) You redefined a format. To suppress this warning, say |
3801 | 4408 | |
3802 | 4409 | =end original |
3803 | 4410 | |
3804 | 4411 | (W redefine) フォーマットを再定義しました。 |
3805 | この警告を止めるには以下のようにしてください | |
4412 | この警告を止めるには以下のようにしてください: | |
3806 | 4413 | |
3807 | 4414 | { |
3808 | 4415 | no warnings 'redefine'; |
3809 | 4416 | eval "format NAME =..."; |
3810 | 4417 | } |
3811 | 4418 | |
3812 | 4419 | =item Found = in conditional, should be == |
3813 | 4420 | |
3814 | 4421 | =begin original |
3815 | 4422 | |
3816 | 4423 | (W syntax) You said |
3817 | 4424 | |
3818 | 4425 | =end original |
3819 | 4426 | |
3820 | 4427 | (W) 以下のようにしています: |
3821 | 4428 | |
3822 | 4429 | if ($foo = 123) |
3823 | 4430 | |
3824 | 4431 | =begin original |
3825 | 4432 | |
3826 | 4433 | when you meant |
3827 | 4434 | |
3828 | 4435 | =end original |
3829 | 4436 | |
3830 | 以下のようにす | |
4437 | 以下のようにすべきです: | |
3831 | 4438 | |
3832 | 4439 | if ($foo == 123) |
3833 | 4440 | |
3834 | 4441 | =begin original |
3835 | 4442 | |
3836 | 4443 | (or something like that). |
3837 | 4444 | |
3838 | 4445 | =end original |
3839 | 4446 | |
3840 | 4447 | (あるいは似たようなこと)。 |
3841 | 4448 | |
3842 | 4449 | =item %s found where operator expected |
3843 | 4450 | |
3844 | 4451 | =begin original |
3845 | 4452 | |
3846 | 4453 | (S syntax) The Perl lexer knows whether to expect a term or an operator. |
3847 | 4454 | If it sees what it knows to be a term when it was expecting to see an |
3848 | 4455 | operator, it gives you this warning. Usually it indicates that an |
3849 | 4456 | operator or delimiter was omitted, such as a semicolon. |
3850 | 4457 | |
3851 | 4458 | =end original |
3852 | 4459 | |
3853 | 4460 | (S syntax) Perl の字句解析部は、次に項が来るか、演算子が来るかを |
3854 | 4461 | 知っています。 |
3855 | 4462 | 次に演算子が来ると思っているときに、項であるとわかるものが現れると、 |
3856 | 4463 | この警告が出ることになります。 |
3857 | 4464 | 通常、演算子かセミコロンのような区切り文字が省略されたことをしめします。 |
3858 | 4465 | |
3859 | 4466 | =item gdbm store returned %d, errno %d, key "%s" |
3860 | 4467 | |
3861 | 4468 | =begin original |
3862 | 4469 | |
3863 | 4470 | (S) A warning from the GDBM_File extension that a store failed. |
3864 | 4471 | |
3865 | 4472 | =end original |
3866 | 4473 | |
3867 | 4474 | (S) GDBM_File 拡張モジュールが、値の設定に失敗したという警告です。 |
3868 | 4475 | |
3869 | 4476 | =item gethostent not implemented |
3870 | 4477 | |
3871 | 4478 | =begin original |
3872 | 4479 | |
3873 | 4480 | (F) Your C library apparently doesn't implement gethostent(), probably |
3874 | 4481 | because if it did, it'd feel morally obligated to return every hostname |
3875 | 4482 | on the Internet. |
3876 | 4483 | |
3877 | 4484 | =end original |
3878 | 4485 | |
3879 | (F) C ライブラリに gethostent() が実装されていないようです | |
4486 | (F) C ライブラリに gethostent() が実装されていないようです; | |
3880 | 4487 | おそらく、実装すると Internet 上のすべてのホスト名を |
3881 | 4488 | 返さなければいけないと思っているのでしょう。 |
3882 | 4489 | |
3883 | 4490 | =item get%sname() on closed socket %s |
3884 | 4491 | |
3885 | 4492 | =begin original |
3886 | 4493 | |
3887 | 4494 | (W closed) You tried to get a socket or peer socket name on a closed |
3888 | 4495 | socket. Did you forget to check the return value of your socket() call? |
3889 | 4496 | |
3890 | 4497 | =end original |
3891 | 4498 | |
3892 | 4499 | (W closed) 閉じたソケットに対してソケットやピアソケット名を取得しようと |
3893 | 4500 | しました。 |
3894 | 4501 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか? |
3895 | 4502 | |
3896 | 4503 | =item getpwnam returned invalid UIC %#o for user "%s" |
3897 | 4504 | |
3898 | 4505 | =begin original |
3899 | 4506 | |
3900 | 4507 | (S) A warning peculiar to VMS. The call to C<sys$getuai> underlying the |
3901 | 4508 | C<getpwnam> operator returned an invalid UIC. |
3902 | 4509 | |
3903 | 4510 | =end original |
3904 | 4511 | |
3905 | 4512 | (S) VMS に固有の警告です。 |
3906 | 4513 | C<getpwnam> 演算子の基礎となる C<sys$getuai> 呼び出しで |
3907 | 4514 | 不正な UIC が返されました。 |
3908 | 4515 | |
3909 | 4516 | =item getsockopt() on closed socket %s |
3910 | 4517 | |
3911 | 4518 | =begin original |
3912 | 4519 | |
3913 | 4520 | (W closed) You tried to get a socket option on a closed socket. Did you |
3914 | 4521 | forget to check the return value of your socket() call? See |
3915 | 4522 | L<perlfunc/getsockopt>. |
3916 | 4523 | |
3917 | 4524 | =end original |
3918 | 4525 | |
3919 | 4526 | (W clockd) クローズされたソケットのソケットオプションを取得しようとしました。 |
3920 | 4527 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
3921 | 4528 | L<perlfunc/getsockopt> を参照してください。 |
3922 | 4529 | |
3923 | 4530 | =item Global symbol "%s" requires explicit package name |
3924 | 4531 | |
3925 | 4532 | =begin original |
3926 | 4533 | |
3927 | (F) You've said "use strict vars", which indicates | |
4534 | (F) You've said "use strict" or "use strict vars", which indicates | |
3928 | must either be lexically scoped (using "my" | |
4535 | that all variables must either be lexically scoped (using "my" or "state"), | |
3929 | "our", or explicitly qualified to say | |
4536 | declared beforehand using "our", or explicitly qualified to say | |
3930 | is in (using "::"). | |
4537 | which package the global variable is in (using "::"). | |
3931 | 4538 | |
3932 | 4539 | =end original |
3933 | 4540 | |
3934 | (F) "use strict vars" が指定されていますので、すべての変数は | |
4541 | (F) "use strict" か "use strict vars" が指定されていますので、すべての変数は | |
3935 | ("my" を使った) | |
4542 | ("my" か "state" を使った) レキシカルスコープの変数か、"our" を使って事前に | |
3936 | グローバル変数がどのパッケージのものかを ("::" を使って)、 | |
4543 | 宣言するか、グローバル変数がどのパッケージのものかを ("::" を使って)、 | |
3937 | 修飾しなくてはなりません。 | |
4544 | 明示的に修飾しなくてはなりません。 | |
3938 | 4545 | |
3939 | 4546 | =item glob failed (%s) |
3940 | 4547 | |
3941 | 4548 | =begin original |
3942 | 4549 | |
3943 | 4550 | (W glob) Something went wrong with the external program(s) used for |
3944 | 4551 | C<glob> and C<< <*.c> >>. Usually, this means that you supplied a |
3945 | 4552 | C<glob> pattern that caused the external program to fail and exit with a |
3946 | 4553 | nonzero status. If the message indicates that the abnormal exit |
3947 | 4554 | resulted in a coredump, this may also mean that your csh (C shell) is |
3948 | 4555 | broken. If so, you should change all of the csh-related variables in |
3949 | 4556 | config.sh: If you have tcsh, make the variables refer to it as if it |
3950 | 4557 | were csh (e.g. C<full_csh='/usr/bin/tcsh'>); otherwise, make them all |
3951 | 4558 | empty (except that C<d_csh> should be C<'undef'>) so that Perl will |
3952 | 4559 | think csh is missing. In either case, after editing config.sh, run |
3953 | 4560 | C<./Configure -S> and rebuild Perl. |
3954 | 4561 | |
3955 | 4562 | =end original |
3956 | 4563 | |
3957 | 4564 | (W glob) C<glob> や C<< <*.c> >> のために使われる外部プログラムに何か問題が |
3958 | 4565 | 発生しました。 |
3959 | 4566 | 通常、これは外部プログラムが失敗して非 0 のステータスで終了するような |
3960 | 4567 | C<glob> パターンが渡されたことを意味します。 |
3961 | 4568 | このメッセージがコアダンプを引きおこした異常終了を示している場合、 |
3962 | 4569 | csh (C シェル) が壊れていることを意味しているかもしれません。 |
3963 | 4570 | もしそうなら、config.sh の全ての csh 関連の変数を変更するべきです: |
3964 | 4571 | もし tcsh があるなら、(C<full_csh='/usr/bin/tcsh'> のように) tcsh を |
3965 | 4572 | 参照するように変数を設定します; |
3966 | 4573 | さもなければ、関連する全ての変数を空にする(例外として C<d_csh> は |
3967 | 4574 | C<'undef'> に設定するべきです)ことで、Perl は csh がないものと考えます。 |
3968 | 4575 | どちらの場合でも、config.sh を修正した後、C<./Configure -S> を実行して |
3969 | 4576 | Perl を再ビルドしてください。 |
3970 | 4577 | |
3971 | 4578 | =item Glob not terminated |
3972 | 4579 | |
3973 | 4580 | =begin original |
3974 | 4581 | |
3975 | 4582 | (F) The lexer saw a left angle bracket in a place where it was expecting |
3976 | 4583 | a term, so it's looking for the corresponding right angle bracket, and |
3977 | 4584 | not finding it. Chances are you left some needed parentheses out |
3978 | 4585 | earlier in the line, and you really meant a "less than". |
3979 | 4586 | |
3980 | 4587 | =end original |
3981 | 4588 | |
3982 | (F) 項が必要とされるところで、開き山 | |
4589 | (F) 項が必要とされるところで、開き山かっこが見つけたため、 | |
3983 | 対応する閉じ山 | |
4590 | 対応する閉じ山かっこを探しましたが、見つかりませんでした。 | |
3984 | 可能性としては、必要な | |
4591 | 可能性としては、必要なかっこを省いてしまい、本当は、「小なり記号」を | |
3985 | 4592 | 表したかった場合が考えられます。 |
3986 | 4593 | |
4594 | =item gmtime(%f) too large | |
4595 | ||
4596 | =begin original | |
4597 | ||
4598 | (W overflow) You called C<gmtime> with a number that was larger than | |
4599 | it can reliably handle and C<gmtime> probably returned the wrong | |
4600 | date. This warning is also triggered with nan (the special | |
4601 | not-a-number value). | |
4602 | ||
4603 | =end original | |
4604 | ||
4605 | (W overflow) 確実に扱えるよりも大きい数値の引数で C<gmtime> を呼び出して、 | |
4606 | おそらく間違った日付が返されました。 | |
4607 | この警告は、nan (特殊な非数) でも引き起こされます。 | |
4608 | ||
4609 | =item gmtime(%f) too small | |
4610 | ||
4611 | =begin original | |
4612 | ||
4613 | (W overflow) You called C<gmtime> with a number that was smaller than | |
4614 | it can reliably handle and C<gmtime> probably returned the wrong | |
4615 | date. This warning is also triggered with nan (the special | |
4616 | not-a-number value). | |
4617 | ||
4618 | =end original | |
4619 | ||
4620 | (W overflow) 確実に扱えるよりも大きい数値の引数で C<gmtime> を呼び出して、 | |
4621 | おそらく間違った日付が返されました。 | |
4622 | この警告は、nan (特殊な非数) でも引き起こされます。 | |
4623 | ||
3987 | 4624 | =item Got an error from DosAllocMem |
3988 | 4625 | |
3989 | 4626 | =begin original |
3990 | 4627 | |
3991 | 4628 | (P) An error peculiar to OS/2. Most probably you're using an obsolete |
3992 | 4629 | version of Perl, and this should not happen anyway. |
3993 | 4630 | |
3994 | 4631 | =end original |
3995 | 4632 | |
3996 | 4633 | (P) OS/2 に固有のエラーです。 |
3997 | 4634 | もっともありそうなのは廃止されたバージョンの Perl を使っていることで、 |
3998 | 4635 | どちらにしてもこのエラーは起きないはずです。 |
3999 | 4636 | |
4000 | 4637 | =item goto must have label |
4001 | 4638 | |
4002 | 4639 | =begin original |
4003 | 4640 | |
4004 | 4641 | (F) Unlike with "next" or "last", you're not allowed to goto an |
4005 | 4642 | unspecified destination. See L<perlfunc/goto>. |
4006 | 4643 | |
4007 | 4644 | =end original |
4008 | 4645 | |
4009 | 4646 | (F) "next" や "last" とは違って、goto には必ず、飛び先を |
4010 | 4647 | 指定しなくてはなりません。 |
4011 | 4648 | L<perlfunc/goto> を参照してください。 |
4012 | 4649 | |
4013 | 4650 | =item ()-group starts with a count |
4014 | 4651 | |
4015 | 4652 | =begin original |
4016 | 4653 | |
4017 | (F) A ()-group started with a count. A count is | |
4654 | (F) A ()-group started with a count. A count is supposed to follow | |
4018 | s | |
4655 | something: a template character or a ()-group. See L<perlfunc/pack>. | |
4019 | See L<perlfunc/pack>. | |
4020 | 4656 | |
4021 | 4657 | =end original |
4022 | 4658 | |
4023 | 4659 | (F) () グループが繰り返し数で始まっています。 |
4024 | 4660 | 繰り返し数は、テンプレート文字か () グループの後に続くことを |
4025 | 4661 | 想定しています。 |
4662 | L<perlfunc/pack> を参照してください。 | |
4026 | 4663 | |
4027 | =item %s had compilation errors | |
4664 | =item %s had compilation errors. | |
4028 | 4665 | |
4029 | 4666 | =begin original |
4030 | 4667 | |
4031 | 4668 | (F) The final summary message when a C<perl -c> fails. |
4032 | 4669 | |
4033 | 4670 | =end original |
4034 | 4671 | |
4035 | 4672 | (F) C<perl -c> が失敗したときの最終まとめメッセージです。 |
4036 | 4673 | |
4037 | 4674 | =item Had to create %s unexpectedly |
4038 | 4675 | |
4039 | 4676 | =begin original |
4040 | 4677 | |
4041 | 4678 | (S internal) A routine asked for a symbol from a symbol table that ought |
4042 | 4679 | to have existed already, but for some reason it didn't, and had to be |
4043 | 4680 | created on an emergency basis to prevent a core dump. |
4044 | 4681 | |
4045 | 4682 | =end original |
4046 | 4683 | |
4047 | 4684 | (S internal) あるルーティンが、既に存在しているはずのシンボルを、 |
4048 | 4685 | シンボルテーブルで探しましたが、何らかの理由で存在せず、 |
4049 | 4686 | コアダンプを避けるために、緊急に生成しました。 |
4050 | 4687 | |
4051 | 4688 | =item Hash %%s missing the % in argument %d of %s() |
4052 | 4689 | |
4053 | 4690 | =begin original |
4054 | 4691 | |
4055 | 4692 | (D deprecated) Really old Perl let you omit the % on hash names in some |
4056 | 4693 | spots. This is now heavily deprecated. |
4057 | 4694 | |
4058 | 4695 | =end original |
4059 | 4696 | |
4060 | 4697 | (D deprecated) 本当に古い Perl では、ハッシュ名の % を省略できる場所が |
4061 | 4698 | ありました。 |
4062 | ||
4699 | これは廃止予定です。 | |
4063 | 4700 | |
4064 | 4701 | =item %s has too many errors |
4065 | 4702 | |
4066 | 4703 | =begin original |
4067 | 4704 | |
4068 | 4705 | (F) The parser has given up trying to parse the program after 10 errors. |
4069 | 4706 | Further error messages would likely be uninformative. |
4070 | 4707 | |
4071 | 4708 | =end original |
4072 | 4709 | |
4073 | 4710 | (F) 構文解析部が、プログラム中に 10 個のエラーを見つけたため、 |
4074 | 4711 | それ以上の解析を諦めました。 |
4075 | 4712 | それ以上のエラーメッセージは、おそらく意味がないでしょう。 |
4076 | 4713 | |
4714 | =item Having no space between pattern and following word is deprecated | |
4715 | ||
4716 | (D syntax) | |
4717 | ||
4718 | =begin original | |
4719 | ||
4720 | You had a word that isn't a regex modifier immediately following a | |
4721 | pattern without an intervening space. If you are trying to use the C</le> | |
4722 | flags on a substitution, use C</el> instead. Otherwise, add white space | |
4723 | between the pattern and following word to eliminate the warning. As an | |
4724 | example of the latter, the two constructs: | |
4725 | ||
4726 | =end original | |
4727 | ||
4728 | パターンに引き続いて正規表現修飾子ではない単語を、間に空白なしに書きました。 | |
4729 | 置換に C</le> フラグを使いたい場合は、代わりに C</el> を使ってください。 | |
4730 | さもなければ、警告を消すためにパターンと引き続く単語の間に空白を | |
4731 | 追加してください。 | |
4732 | 後者の例として、二つの構文は: | |
4733 | ||
4734 | $a =~ m/$foo/sand $bar | |
4735 | $a =~ m/$foo/s and $bar | |
4736 | ||
4737 | =begin original | |
4738 | ||
4739 | both currently mean the same thing, but it is planned to disallow the first | |
4740 | form in Perl 5.16. And, | |
4741 | ||
4742 | =end original | |
4743 | ||
4744 | どちらも現在の所同じことを意味しますが、Perl 5.16 から前者の形式を | |
4745 | 認めないようにすることが計画されています。 | |
4746 | また、 | |
4747 | ||
4748 | $a =~ m/$foo/and $bar | |
4749 | ||
4750 | =begin original | |
4751 | ||
4752 | will be disallowed too. | |
4753 | ||
4754 | =end original | |
4755 | ||
4756 | も認められなくなります。 | |
4757 | ||
4077 | 4758 | =item Hexadecimal number > 0xffffffff non-portable |
4078 | 4759 | |
4079 | 4760 | =begin original |
4080 | 4761 | |
4081 | 4762 | (W portable) The hexadecimal number you specified is larger than 2**32-1 |
4082 | 4763 | (4294967295) and therefore non-portable between systems. See |
4083 | 4764 | L<perlport> for more on portability concerns. |
4084 | 4765 | |
4085 | 4766 | =end original |
4086 | 4767 | |
4087 | 4768 | (W portable) 指定した 16 進数が 2**32-1 (4294967295) より大きいので、 |
4088 | 4769 | システム間で移植性がありません。 |
4089 | 4770 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
4090 | 4771 | |
4091 | 4772 | =item Identifier too long |
4092 | 4773 | |
4093 | 4774 | =begin original |
4094 | 4775 | |
4095 | 4776 | (F) Perl limits identifiers (names for variables, functions, etc.) to |
4096 | 4777 | about 250 characters for simple names, and somewhat more for compound |
4097 | 4778 | names (like C<$A::B>). You've exceeded Perl's limits. Future versions |
4098 | 4779 | of Perl are likely to eliminate these arbitrary limitations. |
4099 | 4780 | |
4100 | 4781 | =end original |
4101 | 4782 | |
4102 | 4783 | (F) Perl は識別子(変数名や関数名など)について、単純な名前については |
4103 | 4784 | およそ 250 文字に、(C<$A::B> のような)複合名についてはもう少し長い長さに |
4104 | 4785 | 制限しています。 |
4105 | 4786 | この Perl の制限を越えました。 |
4106 | 4787 | 将来のバージョンの Perl ではこれらの恣意的な制限はなくなるでしょう。 |
4107 | 4788 | |
4789 | =item Ignoring zero length \N{} in character class | |
4790 | ||
4791 | =begin original | |
4792 | ||
4793 | (W) Named Unicode character escapes (\N{...}) may return a | |
4794 | zero length sequence. When such an escape is used in a character class | |
4795 | its behaviour is not well defined. Check that the correct escape has | |
4796 | been used, and the correct charname handler is in scope. | |
4797 | ||
4798 | =end original | |
4799 | ||
4800 | (W) 名前付き Unicode 文字エスケープ (\N{...}) が長さ 0 の | |
4801 | シーケンスを返しました。 | |
4802 | 文字クラスでこのようなエスケープが使われた場合、振る舞いは未定義です。 | |
4803 | 正しいエスケープを使っているか、および正しい文字名ハンドラがスコープ内に | |
4804 | あるかをチェックしてください。 | |
4805 | ||
4108 | 4806 | =item Illegal binary digit %s |
4109 | 4807 | |
4110 | 4808 | =begin original |
4111 | 4809 | |
4112 | 4810 | (F) You used a digit other than 0 or 1 in a binary number. |
4113 | 4811 | |
4114 | 4812 | =end original |
4115 | 4813 | |
4116 | 4814 | (F) 2 進数として 0 と 1 以外の数値を使っています。 |
4117 | 4815 | |
4118 | 4816 | =item Illegal binary digit %s ignored |
4119 | 4817 | |
4120 | 4818 | =begin original |
4121 | 4819 | |
4122 | 4820 | (W digit) You may have tried to use a digit other than 0 or 1 in a |
4123 | 4821 | binary number. Interpretation of the binary number stopped before the |
4124 | 4822 | offending digit. |
4125 | 4823 | |
4126 | 4824 | =end original |
4127 | 4825 | |
4128 | 4826 | (W digit) 2 進数として 0 と 1 以外の数値を使おうとしたのでしょう。 |
4129 | 4827 | 2 進数の解釈は問題のある数値の手前で停止しました。 |
4130 | 4828 | |
4131 | =item Illegal character % | |
4829 | =item Illegal character \%o (carriage return) | |
4132 | 4830 | |
4133 | 4831 | =begin original |
4134 | 4832 | |
4135 | 4833 | (F) Perl normally treats carriage returns in the program text as it |
4136 | 4834 | would any other whitespace, which means you should never see this error |
4137 | 4835 | when Perl was built using standard options. For some reason, your |
4138 | 4836 | version of Perl appears to have been built without this support. Talk |
4139 | 4837 | to your Perl administrator. |
4140 | 4838 | |
4141 | 4839 | =end original |
4142 | 4840 | |
4143 | 4841 | (F) Perl は普通プログラムテキスト中の復帰文字をその他の空白と同様に |
4144 | 4842 | 扱いますので、Perl を標準のオプションでビルドした場合はこのエラーを |
4145 | 4843 | 見ることは決してないはずです。 |
4146 | 4844 | どういうわけか、お使いの Perl はこの機能なしでビルドされているようです。 |
4147 | 4845 | Perl の管理者に問い合わせてください。 |
4148 | 4846 | |
4149 | 4847 | =item Illegal character in prototype for %s : %s |
4150 | 4848 | |
4151 | 4849 | =begin original |
4152 | 4850 | |
4153 | (W | |
4851 | (W illegalproto) An illegal character was found in a prototype declaration. | |
4154 | characters in prototypes are $, @, %, *, ;, [, ], &, and | |
4852 | Legal characters in prototypes are $, @, %, *, ;, [, ], &, \, and +. | |
4155 | 4853 | |
4156 | 4854 | =end original |
4157 | 4855 | |
4158 | (W | |
4856 | (W illegalproto) プロトタイプ宣言に無効な文字が見つかりました。 | |
4159 | プロトタイプでの有効な文字は、$, @, %, *, ;, [, ], &, \ です。 | |
4857 | プロトタイプでの有効な文字は、$, @, %, *, ;, [, ], &, \, + です。 | |
4160 | 4858 | |
4161 | 4859 | =item Illegal declaration of anonymous subroutine |
4162 | 4860 | |
4163 | 4861 | =begin original |
4164 | 4862 | |
4165 | 4863 | (F) When using the C<sub> keyword to construct an anonymous subroutine, |
4166 | 4864 | you must always specify a block of code. See L<perlsub>. |
4167 | 4865 | |
4168 | 4866 | =end original |
4169 | 4867 | |
4170 | 4868 | (F) 無名サブルーチンを作るために C<sub> を使ったときは、 |
4171 | 4869 | 常にコードのブロックを指定しなければなりません。 |
4172 | 4870 | L<perlsub> を参照してください。 |
4173 | 4871 | |
4174 | 4872 | =item Illegal declaration of subroutine %s |
4175 | 4873 | |
4176 | 4874 | =begin original |
4177 | 4875 | |
4178 | 4876 | (F) A subroutine was not declared correctly. See L<perlsub>. |
4179 | 4877 | |
4180 | 4878 | =end original |
4181 | 4879 | |
4182 | 4880 | (F) サブルーチンが正しく宣言されていません。 |
4183 | 4881 | L<perlsub> を参照してください。 |
4184 | 4882 | |
4185 | 4883 | =item Illegal division by zero |
4186 | 4884 | |
4187 | 4885 | =begin original |
4188 | 4886 | |
4189 | 4887 | (F) You tried to divide a number by 0. Either something was wrong in |
4190 | 4888 | your logic, or you need to put a conditional in to guard against |
4191 | 4889 | meaningless input. |
4192 | 4890 | |
4193 | 4891 | =end original |
4194 | 4892 | |
4195 | 4893 | (F) ゼロで割り算をしようとしました。 |
4196 | 4894 | ロジックの誤りか、意味の無い入力を防ぐために、条件を付けることが |
4197 | 4895 | 必要かのどちらかでしょう。 |
4198 | 4896 | |
4199 | 4897 | =item Illegal hexadecimal digit %s ignored |
4200 | 4898 | |
4201 | 4899 | =begin original |
4202 | 4900 | |
4203 | 4901 | (W digit) You may have tried to use a character other than 0 - 9 or |
4204 | 4902 | A - F, a - f in a hexadecimal number. Interpretation of the hexadecimal |
4205 | 4903 | number stopped before the illegal character. |
4206 | 4904 | |
4207 | 4905 | =end original |
4208 | 4906 | |
4209 | 4907 | (W digit) 16 進数として 0 - 9, A - F, a - f 以外の文字を使おうとしました。 |
4210 | 4908 | 16 進数の解釈は不正な文字の手前で停止しました。 |
4211 | 4909 | |
4212 | 4910 | =item Illegal modulus zero |
4213 | 4911 | |
4214 | 4912 | =begin original |
4215 | 4913 | |
4216 | 4914 | (F) You tried to divide a number by 0 to get the remainder. Most |
4217 | 4915 | numbers don't take to this kindly. |
4218 | 4916 | |
4219 | 4917 | =end original |
4220 | 4918 | |
4221 | 4919 | (F) 余りを求めるのに、ゼロで割り算をしようとしました。 |
4222 | 4920 | これは、ほとんどの数体系で受け入れられません。 |
4223 | 4921 | |
4224 | 4922 | =item Illegal number of bits in vec |
4225 | 4923 | |
4226 | 4924 | =begin original |
4227 | 4925 | |
4228 | 4926 | (F) The number of bits in vec() (the third argument) must be a power of |
4229 | 4927 | two from 1 to 32 (or 64, if your platform supports that). |
4230 | 4928 | |
4231 | 4929 | =end original |
4232 | 4930 | |
4233 | 4931 | (F) vec() のビット数 (第三引数) は 1 から 32 (プラットフォームが |
4234 | 4932 | 対応している場合は 64) までの、2 のべき乗でなければなりません。 |
4235 | 4933 | |
4236 | 4934 | =item Illegal octal digit %s |
4237 | 4935 | |
4238 | 4936 | =begin original |
4239 | 4937 | |
4240 | 4938 | (F) You used an 8 or 9 in an octal number. |
4241 | 4939 | |
4242 | 4940 | =end original |
4243 | 4941 | |
4244 | 4942 | (F) 8 進数で 8 か 9 を使いました。 |
4245 | 4943 | |
4246 | 4944 | =item Illegal octal digit %s ignored |
4247 | 4945 | |
4248 | 4946 | =begin original |
4249 | 4947 | |
4250 | 4948 | (W digit) You may have tried to use an 8 or 9 in an octal number. |
4251 | 4949 | Interpretation of the octal number stopped before the 8 or 9. |
4252 | 4950 | |
4253 | 4951 | =end original |
4254 | 4952 | |
4255 | 4953 | (W digit) 8 進数で 8 か 9 を使おうとしたのでしょう。 |
4256 | 4954 | 8 進数の解釈は 8 か 9 の手前で停止しました。 |
4257 | 4955 | |
4258 | =item Illegal switch in PERL5OPT: % | |
4956 | =item Illegal switch in PERL5OPT: -%c | |
4259 | 4957 | |
4260 | 4958 | =begin original |
4261 | 4959 | |
4262 | 4960 | (X) The PERL5OPT environment variable may only be used to set the |
4263 | following switches: B<-[DIMUdmtw]>. | |
4961 | following switches: B<-[CDIMUdmtw]>. | |
4264 | 4962 | |
4265 | 4963 | =end original |
4266 | 4964 | |
4267 | (X) PERL5OPT 環境変数で設定できるのは B<-[DIMUdmtw]> の | |
4965 | (X) PERL5OPT 環境変数で設定できるのは B<-[CDIMUdmtw]> の | |
4268 | 4966 | オプションだけです。 |
4269 | 4967 | |
4270 | 4968 | =item Ill-formed CRTL environ value "%s" |
4271 | 4969 | |
4272 | 4970 | =begin original |
4273 | 4971 | |
4274 | 4972 | (W internal) A warning peculiar to VMS. Perl tried to read the CRTL's |
4275 | 4973 | internal environ array, and encountered an element without the C<=> |
4276 | 4974 | delimiter used to separate keys from values. The element is ignored. |
4277 | 4975 | |
4278 | 4976 | =end original |
4279 | 4977 | |
4280 | (W internal) VMS 固有の警告です。 | |
4978 | (W internal) VMS に固有の警告です。 | |
4281 | 4979 | Perl は CRTL の内部環境配列を読み込もうとしましたが、キーを値と |
4282 | 4980 | 分離するために使われている C<=> デリミタのない要素に遭遇しました。 |
4283 | 4981 | この要素は無視しました。 |
4284 | 4982 | |
4285 | 4983 | =item Ill-formed message in prime_env_iter: |%s| |
4286 | 4984 | |
4287 | 4985 | =begin original |
4288 | 4986 | |
4289 | 4987 | (W internal) A warning peculiar to VMS. Perl tried to read a logical |
4290 | 4988 | name or CLI symbol definition when preparing to iterate over %ENV, and |
4291 | 4989 | didn't see the expected delimiter between key and value, so the line was |
4292 | 4990 | ignored. |
4293 | 4991 | |
4294 | 4992 | =end original |
4295 | 4993 | |
4296 | (W internal) VMS 固有の警告です。 | |
4994 | (W internal) VMS に固有の警告です。 | |
4297 | 4995 | Perl は %ENV を反復する準備したときに論理名や CLI シンボル定義を |
4298 | 4996 | 読み込もうとしましたが、キーと値の間のデリミタが見つからなかったので、 |
4299 | 4997 | その行は無視しました。 |
4300 | 4998 | |
4301 | 4999 | =item (in cleanup) %s |
4302 | 5000 | |
4303 | 5001 | =begin original |
4304 | 5002 | |
4305 | 5003 | (W misc) This prefix usually indicates that a DESTROY() method raised |
4306 | 5004 | the indicated exception. Since destructors are usually called by the |
4307 | 5005 | system at arbitrary points during execution, and often a vast number of |
4308 | 5006 | times, the warning is issued only once for any number of failures that |
4309 | 5007 | would otherwise result in the same message being repeated. |
4310 | 5008 | |
4311 | 5009 | =end original |
4312 | 5010 | |
4313 | 5011 | (W misc) この接頭辞は普通、示されている例外が DESTROY() メソッドで |
4314 | 5012 | 発生したことを示しています。 |
4315 | 5013 | デストラクタは普通実行中の任意の時点で呼び出され、しばしば大量に |
4316 | 5014 | 呼び出されるので、この警告は同じメッセージが繰り返されないように、 |
4317 | 5015 | 何回失敗しても一度だけ発生します。 |
4318 | 5016 | |
4319 | 5017 | =begin original |
4320 | 5018 | |
4321 | 5019 | Failure of user callbacks dispatched using the C<G_KEEPERR> flag could |
4322 | 5020 | also result in this warning. See L<perlcall/G_KEEPERR>. |
4323 | 5021 | |
4324 | 5022 | =end original |
4325 | 5023 | |
4326 | C<G_KEEPERR> フラグを使って | |
5024 | C<G_KEEPERR> フラグを使って発行(dispatch)したユーザーコールバックに失敗した | |
4327 | 5025 | 場合にもこの警告が出ることがあります。 |
4328 | 5026 | L<perlcall/G_KEEPERR> を参照してください。 |
4329 | 5027 | |
5028 | =item Inconsistent hierarchy during C3 merge of class '%s': merging failed on parent '%s' | |
5029 | ||
5030 | =begin original | |
5031 | ||
5032 | (F) The method resolution order (MRO) of the given class is not | |
5033 | C3-consistent, and you have enabled the C3 MRO for this class. See the C3 | |
5034 | documentation in L<mro> for more information. | |
5035 | ||
5036 | =end original | |
5037 | ||
5038 | (F) 与えられたクラスのメソッド解決順序 (MRO) が C3 に矛盾していますが、 | |
5039 | このクラスの C3 MRO を有効にしました。 | |
5040 | さらなる情報については L<mro> 内の C3 に関する文書を参照してください。 | |
5041 | ||
4330 | 5042 | =item In EBCDIC the v-string components cannot exceed 2147483647 |
4331 | 5043 | |
4332 | 5044 | =begin original |
4333 | 5045 | |
4334 | 5046 | (F) An error peculiar to EBCDIC. Internally, v-strings are stored as |
4335 | 5047 | Unicode code points, and encoded in EBCDIC as UTF-EBCDIC. The UTF-EBCDIC |
4336 | 5048 | encoding is limited to code points no larger than 2147483647 (0x7FFFFFFF). |
4337 | 5049 | |
4338 | 5050 | =end original |
4339 | 5051 | |
4340 | 5052 | (F) EBCDIC 特有のエラーです。 |
4341 | 5053 | 内部的に、v 文字列は Unicode 文字ポイントとして保管されていて、 |
4342 | 5054 | EBCDIC では UTF-EBCDIC でとしてエンコードされています。 |
4343 | 5055 | UTF-EBCDIC エンコーディングでは、コードポイントは |
4344 | 5056 | 2147483647 (0x7FFFFFFF) 以下に制限されます。 |
4345 | 5057 | |
5058 | =item Infinite recursion in regex; marked by <-- HERE in m/%s/ | |
5059 | ||
5060 | =begin original | |
5061 | ||
5062 | (F) You used a pattern that references itself without consuming any input | |
5063 | text. You should check the pattern to ensure that recursive patterns | |
5064 | either consume text or fail. | |
5065 | ||
5066 | =end original | |
5067 | ||
5068 | (F) 入力テキストを読み込むことなく自分自身を参照するパターンを使いました。 | |
5069 | 再帰的なパターンが、テキストを読み込むか失敗するかを確実に行うように、 | |
5070 | パターンをチェックするべきです。 | |
5071 | ||
5072 | =begin original | |
5073 | ||
5074 | The <-- HERE shows in the regular expression about where the problem was | |
5075 | discovered. | |
5076 | ||
5077 | =end original | |
5078 | ||
5079 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
5080 | ||
5081 | =item Initialization of state variables in list context currently forbidden | |
5082 | ||
5083 | =begin original | |
5084 | ||
5085 | (F) Currently the implementation of "state" only permits the initialization | |
5086 | of scalar variables in scalar context. Re-write C<state ($a) = 42> as | |
5087 | C<state $a = 42> to change from list to scalar context. Constructions such | |
5088 | as C<state (@a) = foo()> will be supported in a future perl release. | |
5089 | ||
5090 | =end original | |
5091 | ||
5092 | (F) 現在のところ、"state" の実装は、スカラコンテキストでのスカラ変数の | |
5093 | 初期化のみが許されています。 | |
5094 | C<state ($a) = 42> を C<state $a = 42> のように、リストコンテキストから | |
5095 | スカラコンテキストに書き換えてください。 | |
5096 | C<state (@a) = foo()> のような構文は perl の将来のリリースで | |
5097 | 対応されるでしょう。 | |
5098 | ||
4346 | 5099 | =item Insecure dependency in %s |
4347 | 5100 | |
4348 | 5101 | =begin original |
4349 | 5102 | |
4350 | 5103 | (F) You tried to do something that the tainting mechanism didn't like. |
4351 | 5104 | The tainting mechanism is turned on when you're running setuid or |
4352 | 5105 | setgid, or when you specify B<-T> to turn it on explicitly. The |
4353 | 5106 | tainting mechanism labels all data that's derived directly or indirectly |
4354 | 5107 | from the user, who is considered to be unworthy of your trust. If any |
4355 | 5108 | such data is used in a "dangerous" operation, you get this error. See |
4356 | 5109 | L<perlsec> for more information. |
4357 | 5110 | |
4358 | 5111 | =end original |
4359 | 5112 | |
4360 | 5113 | (F) 何か汚染チェックの機構が、望ましくないと判断することを |
4361 | 5114 | 行なおうとしました。 |
4362 | 5115 | setuid や setgid を実行したときや、明示的に B<-T> で指定したときに、 |
4363 | 5116 | 汚染チェック機構が働きます。 |
4364 | 5117 | 汚染チェック機構は、信頼がおけないと仮定されるユーザが直接、間接を問わず、 |
4365 | 5118 | 指定したデータに印を付けます。 |
4366 | 5119 | そのようなデータを「危険な」操作に用いると、このエラーが発生します。 |
4367 | 5120 | 詳しくは、L<perlsec> を参照してください。 |
4368 | 5121 | |
4369 | 5122 | =item Insecure directory in %s |
4370 | 5123 | |
4371 | 5124 | =begin original |
4372 | 5125 | |
4373 | 5126 | (F) You can't use system(), exec(), or a piped open in a setuid or |
4374 | 5127 | setgid script if C<$ENV{PATH}> contains a directory that is writable by |
4375 | 5128 | the world. Also, the PATH must not contain any relative directory. |
4376 | 5129 | See L<perlsec>. |
4377 | 5130 | |
4378 | 5131 | =end original |
4379 | 5132 | |
4380 | 5133 | (F) C<$ENV{PATH}> の中に、誰にでも書き込みができるディレクトリが |
4381 | 5134 | 含まれているとき、system()、exec()、パイプのオープンを |
4382 | 5135 | 行なうことはできません。 |
4383 | 5136 | また、PATH には相対早退ディレクトリを含んでいてはいけません。 |
4384 | 5137 | L<perlsec> を参照してください。 |
4385 | 5138 | |
4386 | 5139 | =item Insecure $ENV{%s} while running %s |
4387 | 5140 | |
4388 | 5141 | =begin original |
4389 | 5142 | |
4390 | 5143 | (F) You can't use system(), exec(), or a piped open in a setuid or |
4391 | 5144 | setgid script if any of C<$ENV{PATH}>, C<$ENV{IFS}>, C<$ENV{CDPATH}>, |
4392 | 5145 | C<$ENV{ENV}>, C<$ENV{BASH_ENV}> or C<$ENV{TERM}> are derived from data |
4393 | 5146 | supplied (or potentially supplied) by the user. The script must set |
4394 | 5147 | the path to a known value, using trustworthy data. See L<perlsec>. |
4395 | 5148 | |
4396 | 5149 | =end original |
4397 | 5150 | |
4398 | 5151 | (F) C<$ENV{PATH}>, C<$ENV{IFS}>, C<$ENV{CDPATH}>, C<$ENV{ENV}>, |
4399 | 5152 | C<$ENV{BASH_ENV}>, C<$ENV{TERM}> のいずれかがユーザーによって提供された |
4400 | 5153 | (あるいは提供された可能性のある)データの場合、setuid や setgid された |
4401 | 5154 | スクリプトでは system(), exec(), パイプされる open を |
4402 | 5155 | 使うことはできません。 |
4403 | 5156 | スクリプトはパスとして、信頼の置けるデータを使った、既知の値を |
4404 | 5157 | セットしなければなりません。 |
4405 | 5158 | L<perlsec> を参照してください。 |
4406 | 5159 | |
5160 | =item Insecure user-defined property %s | |
5161 | ||
5162 | =begin original | |
5163 | ||
5164 | (F) Perl detected tainted data when trying to compile a regular | |
5165 | expression that contains a call to a user-defined character property | |
5166 | function, i.e. C<\p{IsFoo}> or C<\p{InFoo}>. | |
5167 | See L<perlunicode/User-Defined Character Properties> and L<perlsec>. | |
5168 | ||
5169 | =end original | |
5170 | ||
5171 | (F) Perl は、ユーザー定義文字特性関数 (C<\p{IsFoo}> や C<\p{InFoo}>) の | |
5172 | 呼び出しを含む正規表現をコンパイルしようとしたときに汚染されたデータを | |
5173 | 検出しました。 | |
5174 | L<perlunicode/User-Defined Character Properties> と L<perlsec> を | |
5175 | 参照してください。 | |
5176 | ||
5177 | =item Integer overflow in format string for %s | |
5178 | ||
5179 | =begin original | |
5180 | ||
5181 | (F) The indexes and widths specified in the format string of C<printf()> | |
5182 | or C<sprintf()> are too large. The numbers must not overflow the size of | |
5183 | integers for your architecture. | |
5184 | ||
5185 | =end original | |
5186 | ||
5187 | (F) C<printf()> や C<sprintf()> のフォーマット文字列で指定されたインデックスや | |
5188 | 幅が大きすぎます。 | |
5189 | 数値はあなたのアーキテクチャの整数のサイズをオーバーフローしないように | |
5190 | しなければなりません。 | |
5191 | ||
4407 | 5192 | =item Integer overflow in %s number |
4408 | 5193 | |
4409 | 5194 | =begin original |
4410 | 5195 | |
4411 | 5196 | (W overflow) The hexadecimal, octal or binary number you have specified |
4412 | 5197 | either as a literal or as an argument to hex() or oct() is too big for |
4413 | 5198 | your architecture, and has been converted to a floating point number. |
4414 | 5199 | On a 32-bit architecture the largest hexadecimal, octal or binary number |
4415 | 5200 | representable without overflow is 0xFFFFFFFF, 037777777777, or |
4416 | 5201 | 0b11111111111111111111111111111111 respectively. Note that Perl |
4417 | 5202 | transparently promotes all numbers to a floating point representation |
4418 | 5203 | internally--subject to loss of precision errors in subsequent |
4419 | 5204 | operations. |
4420 | 5205 | |
4421 | 5206 | =end original |
4422 | 5207 | |
4423 | 5208 | (W overflow) リテラルまたは hex() や oct() の引数として指定された 16 進、 |
4424 | 5209 | 8 進、2 進数は実行しているアーキテクチャには大きすぎるので、浮動小数点数に |
4425 | 5210 | 変換されました。 |
4426 | 5211 | 32 ビットアーキテクチャでは、オーバーフローせずに表現できる 16 進、8 進 |
4427 | 5212 | 2 進数はそれぞれ 0xFFFFFFFF, 037777777777, |
4428 | 5213 | 0b11111111111111111111111111111111 です。 |
4429 | 5214 | Perl は全ての数値を内部では浮動小数点表現に透過的に変換することに |
4430 | 5215 | 注意してください -- 引き続く操作によって精度が失われることがあります。 |
4431 | 5216 | |
5217 | =item Integer overflow in version | |
5218 | ||
5219 | =begin original | |
5220 | ||
5221 | (F) Some portion of a version initialization is too large for the | |
5222 | size of integers for your architecture. This is not a warning | |
5223 | because there is no rational reason for a version to try and use a | |
5224 | element larger than typically 2**32. This is usually caused by | |
5225 | trying to use some odd mathematical operation as a version, like | |
5226 | 100/9. | |
5227 | ||
5228 | =end original | |
5229 | ||
5230 | (F) バージョン初期化の一部が、アーキテクチャの整数のサイズより | |
5231 | 大きすぎます。 | |
5232 | バージョンとして典型的には 2**32 を超える要素を使おうとするための合理的な | |
5233 | 理由がないので、これは警告ではありません。 | |
5234 | これは普通、100/9 のようなおかしな数値演算をバージョンとして | |
5235 | 使おうとしたことによります。 | |
5236 | ||
4432 | 5237 | =item Internal disaster in regex; marked by <-- HERE in m/%s/ |
4433 | 5238 | |
4434 | 5239 | =begin original |
4435 | 5240 | |
4436 | 5241 | (P) Something went badly wrong in the regular expression parser. |
4437 | 5242 | The <-- HERE shows in the regular expression about where the problem was |
4438 | 5243 | discovered. |
4439 | 5244 | |
4440 | 5245 | =end original |
4441 | 5246 | |
4442 | 5247 | (P) 正規表現解析部に何か悪いことが起こりました。 |
4443 | 5248 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
4444 | 5249 | |
4445 | 5250 | =item Internal inconsistency in tracking vforks |
4446 | 5251 | |
4447 | 5252 | =begin original |
4448 | 5253 | |
4449 | 5254 | (S) A warning peculiar to VMS. Perl keeps track of the number of times |
4450 | 5255 | you've called C<fork> and C<exec>, to determine whether the current call |
4451 | 5256 | to C<exec> should affect the current script or a subprocess (see |
4452 | 5257 | L<perlvms/"exec LIST">). Somehow, this count has become scrambled, so |
4453 | 5258 | Perl is making a guess and treating this C<exec> as a request to |
4454 | 5259 | terminate the Perl script and execute the specified command. |
4455 | 5260 | |
4456 | 5261 | =end original |
4457 | 5262 | |
4458 | (S) VMS | |
5263 | (S) VMS に固有の警告です。 | |
4459 | 5264 | Perl は C<fork> と C<exec> を呼び出した回数を数えています; |
4460 | 5265 | これは現在の C<exec> 呼び出しが現在のスクリプトかサブプロセスかどちらに |
4461 | 5266 | 影響を与えるかを決定するためです(L<perlvms/"exec LIST"> を |
4462 | 5267 | 参照してください)。 |
4463 | 5268 | どういうわけか、このカウントがおかしくなったので、Perl はこの C<exec> が |
4464 | 5269 | Perl スクリプトを終了させて指定されたコマンドを実行する要求であると |
4465 | 5270 | 仮定して、そのように扱いました。 |
4466 | 5271 | |
4467 | 5272 | =item Internal urp in regex; marked by <-- HERE in m/%s/ |
4468 | 5273 | |
4469 | 5274 | =begin original |
4470 | 5275 | |
4471 | 5276 | (P) Something went badly awry in the regular expression parser. The |
4472 | 5277 | <-- HERE shows in the regular expression about where the problem was |
4473 | 5278 | discovered. |
4474 | 5279 | |
4475 | 5280 | =end original |
4476 | 5281 | |
4477 | 5282 | (P) 正規表現解析部に何か間違ったことが起こりました。 |
4478 | 5283 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
4479 | 5284 | |
4480 | 5285 | =item %s (...) interpreted as function |
4481 | 5286 | |
4482 | 5287 | =begin original |
4483 | 5288 | |
4484 | 5289 | (W syntax) You've run afoul of the rule that says that any list operator |
4485 | 5290 | followed by parentheses turns into a function, with all the list |
4486 | 5291 | operators arguments found inside the parentheses. See |
4487 | 5292 | L<perlop/Terms and List Operators (Leftward)>. |
4488 | 5293 | |
4489 | 5294 | =end original |
4490 | 5295 | |
4491 | (W syntax) リスト演算子の直後に | |
5296 | (W syntax) リスト演算子の直後にかっこを置くと、かっこ内にあるリスト演算子引数を | |
4492 | 5297 | 持つ関数になる、という規則が適用されました。 |
4493 | 5298 | L<perlop/Terms and List Operators (Leftward)> を参照してください。 |
4494 | 5299 | |
4495 | 5300 | =item Invalid %s attribute: %s |
4496 | 5301 | |
4497 | 5302 | =begin original |
4498 | 5303 | |
4499 | The indicated attribute for a subroutine or variable was not recognized | |
5304 | (F) The indicated attribute for a subroutine or variable was not recognized | |
4500 | 5305 | by Perl or by a user-supplied handler. See L<attributes>. |
4501 | 5306 | |
4502 | 5307 | =end original |
4503 | 5308 | |
4504 | 示されたサブルーチンや変数の属性は | |
5309 | (F) 示されたサブルーチンや変数の属性は Perl やユーザー提供のハンドラで | |
4505 | ||
5310 | 認識されませんでした。 | |
4506 | 5311 | L<attributes> を参照してください。 |
4507 | 5312 | |
4508 | 5313 | =item Invalid %s attributes: %s |
4509 | 5314 | |
4510 | 5315 | =begin original |
4511 | 5316 | |
4512 | The indicated attributes for a subroutine or variable were not | |
5317 | (F) The indicated attributes for a subroutine or variable were not | |
4513 | 5318 | recognized by Perl or by a user-supplied handler. See L<attributes>. |
4514 | 5319 | |
4515 | 5320 | =end original |
4516 | 5321 | |
4517 | 示されたサブルーチンや変数の属性は | |
5322 | (F) 示されたサブルーチンや変数の属性は Perl やユーザー提供のハンドラで | |
4518 | ||
5323 | 認識されませんでした。 | |
4519 | 5324 | L<attributes> を参照してください。 |
4520 | 5325 | |
4521 | 5326 | =item Invalid conversion in %s: "%s" |
4522 | 5327 | |
4523 | 5328 | =begin original |
4524 | 5329 | |
4525 | 5330 | (W printf) Perl does not understand the given format conversion. See |
4526 | 5331 | L<perlfunc/sprintf>. |
4527 | 5332 | |
4528 | 5333 | =end original |
4529 | 5334 | |
4530 | 5335 | (W printf) Perl は指定されたフォーマット変換が認識できませんでした。 |
4531 | 5336 | L<perlfunc/sprintf> を参照してください。 |
4532 | 5337 | |
5338 | =item Invalid escape in the specified encoding in regex; marked by <-- HERE in m/%s/ | |
5339 | ||
5340 | =begin original | |
5341 | ||
5342 | (W regexp) The numeric escape (for example C<\xHH>) of value < 256 | |
5343 | didn't correspond to a single character through the conversion | |
5344 | from the encoding specified by the encoding pragma. | |
5345 | The escape was replaced with REPLACEMENT CHARACTER (U+FFFD) instead. | |
5346 | The <-- HERE shows in the regular expression about where the | |
5347 | escape was discovered. | |
5348 | ||
5349 | =end original | |
5350 | ||
5351 | (W regexp) (例えば C<\xHH> のような)数値エスケープの 256 より小さい値が、 | |
5352 | エンコーディングプラグマで指定した変換によって 一つの文字に対応していません。 | |
5353 | エスケープは代わりに REPLACEMENT CHARACTER (U+FFFD) に置き換えられます。 | |
5354 | <-- HERE で正規表現のどこにエスケープが発見されたかを示しています。 | |
5355 | ||
5356 | =item Invalid hexadecimal number in \N{U+...} | |
5357 | ||
5358 | =begin original | |
5359 | ||
5360 | (F) The character constant represented by C<...> is not a valid hexadecimal | |
5361 | number. Either it is empty, or you tried to use a character other than | |
5362 | 0 - 9 or A - F, a - f in a hexadecimal number. | |
5363 | ||
5364 | =end original | |
5365 | ||
5366 | (F) C<...> で表現された文字定数は妥当な 16 進数ではありません。 | |
5367 | 空か、16 進数の中に 0 - 9, A - F, a - f 以外の文字を使おうとしました。 | |
5368 | ||
5369 | =item Invalid mro name: '%s' | |
5370 | ||
5371 | =begin original | |
5372 | ||
5373 | (F) You tried to C<mro::set_mro("classname", "foo")> or C<use mro 'foo'>, | |
5374 | where C<foo> is not a valid method resolution order (MRO). Currently, | |
5375 | the only valid ones supported are C<dfs> and C<c3>, unless you have loaded | |
5376 | a module that is a MRO plugin. See L<mro> and L<perlmroapi>. | |
5377 | ||
5378 | =end original | |
5379 | ||
5380 | (F) C<mro::set_mro("classname", "foo")> または C<use mro 'foo'> を使おうと | |
5381 | しましたが、C<foo> は有効なメソッド解決順序 (MRO) ではありません。 | |
5382 | 現在のところ、MRO プラグインモジュールを読み込まない限り、対応として | |
5383 | 有効なものは C<dfs> と C<c3> だけです。 | |
5384 | L<mro> と L<perlmroapi> を参照してください。 | |
5385 | ||
4533 | 5386 | =item Invalid [] range "%s" in regex; marked by <-- HERE in m/%s/ |
4534 | 5387 | |
4535 | 5388 | =begin original |
4536 | 5389 | |
4537 | 5390 | (F) The range specified in a character class had a minimum character |
4538 | 5391 | greater than the maximum character. One possibility is that you forgot the |
4539 | 5392 | C<{}> from your ending C<\x{}> - C<\x> without the curly braces can go only |
4540 | 5393 | up to C<ff>. The <-- HERE shows in the regular expression about where the |
4541 | 5394 | problem was discovered. See L<perlre>. |
4542 | 5395 | |
4543 | 5396 | =end original |
4544 | 5397 | |
4545 | 5398 | (F) 文字クラスに指定した範囲の最小値が、最大値よりも大きくなっています。 |
4546 | 5399 | ひとつの可能性としては、末尾の C<\x{}> から C<{}> を |
4547 | 5400 | 忘れているということです - 中かっこなしの C<\x> は C<ff> までにしか |
4548 | 5401 | なりません。 |
4549 | 5402 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
4550 | 5403 | L<perlre> を参照してください。 |
4551 | 5404 | |
4552 | 5405 | =item Invalid range "%s" in transliteration operator |
4553 | 5406 | |
4554 | 5407 | =begin original |
4555 | 5408 | |
4556 | 5409 | (F) The range specified in the tr/// or y/// operator had a minimum |
4557 | 5410 | character greater than the maximum character. See L<perlop>. |
4558 | 5411 | |
4559 | 5412 | =end original |
4560 | 5413 | |
4561 | 5414 | (F) tr/// や y/// の演算子での範囲指定で、最大の文字より最小の文字の方が |
4562 | 5415 | 大きいです。 |
4563 | 5416 | L<perlop> を参照してください。 |
4564 | 5417 | |
4565 | 5418 | =item Invalid separator character %s in attribute list |
4566 | 5419 | |
4567 | 5420 | =begin original |
4568 | 5421 | |
4569 | 5422 | (F) Something other than a colon or whitespace was seen between the |
4570 | 5423 | elements of an attribute list. If the previous attribute had a |
4571 | 5424 | parenthesised parameter list, perhaps that list was terminated too soon. |
4572 | 5425 | See L<attributes>. |
4573 | 5426 | |
4574 | 5427 | =end original |
4575 | 5428 | |
4576 | 5429 | (F) 属性リストの要素の間にコロンと空白以外のものがあります。 |
4577 | 5430 | 直前の属性がかっこ付きのパラメータリストの場合、おそらくリストが |
4578 | 5431 | 予定より早く終端されています。 |
4579 | 5432 | L<attributes> を参照してください。 |
4580 | 5433 | |
4581 | 5434 | =item Invalid separator character %s in PerlIO layer specification %s |
4582 | 5435 | |
4583 | 5436 | =begin original |
4584 | 5437 | |
4585 | (W layer) When pushing layers onto the Perl I/O system, something other | |
5438 | (W layer) When pushing layers onto the Perl I/O system, something other | |
4586 | colon or whitespace was seen between the elements of a layer list. | |
5439 | than a colon or whitespace was seen between the elements of a layer list. | |
4587 | 5440 | If the previous attribute had a parenthesised parameter list, perhaps that |
4588 | 5441 | list was terminated too soon. |
4589 | 5442 | |
4590 | 5443 | =end original |
4591 | 5444 | |
4592 | 5445 | (W layer) 層を Perl I/O システムに押し込むときに、層リストの要素の間に |
4593 | 5446 | コロンと空白以外のものがありました。 |
4594 | 直前の属性がかっこ付きパラメータリスト | |
5447 | 直前の属性がかっこ付きのパラメータリストの場合、おそらくリストが | |
4595 | 終端 | |
5448 | 予定より早く終端されています。 | |
4596 | 5449 | |
5450 | =item Invalid strict version format (%s) | |
5451 | ||
5452 | =begin original | |
5453 | ||
5454 | (F) A version number did not meet the "strict" criteria for versions. | |
5455 | A "strict" version number is a positive decimal number (integer or | |
5456 | decimal-fraction) without exponentiation or else a dotted-decimal | |
5457 | v-string with a leading 'v' character and at least three components. | |
5458 | The parenthesized text indicates which criteria were not met. | |
5459 | See the L<version> module for more details on allowed version formats. | |
5460 | ||
5461 | =end original | |
5462 | ||
5463 | (F) バージョン番号がバージョンの「厳密な」基準に一致しませんでした。 | |
5464 | 「厳密な」バージョン番号は、指数なしの正の 10 進数 (整数または 10 進小数)か、 | |
5465 | さもなければどっと付き 10 進 v-文字列で先頭に 'v' の文字があり、少なくとも | |
5466 | 三つの部分からなるものです。 | |
5467 | かっこで囲まれたテキストは問題の基準を示しています。 | |
5468 | 許されるバージョンオブジェクトに関するさらなる詳細については | |
5469 | L<version> モジュールを参照してください。 | |
5470 | ||
4597 | 5471 | =item Invalid type '%s' in %s |
4598 | 5472 | |
4599 | 5473 | =begin original |
4600 | 5474 | |
4601 | 5475 | (F) The given character is not a valid pack or unpack type. |
4602 | 5476 | See L<perlfunc/pack>. |
4603 | 5477 | (W) The given character is not a valid pack or unpack type but used to be |
4604 | 5478 | silently ignored. |
4605 | 5479 | |
4606 | 5480 | =end original |
4607 | 5481 | |
4608 | 5482 | (F) 与えられた文字は有効な pack や unpack の型ではありません。 |
4609 | 5483 | L<perlfunc/pack> を参照してください。 |
4610 | 5484 | (W) 与えられた文字は有効な pack や unpack の型ではありませんが、暗黙に |
4611 | 5485 | 無視されました。 |
4612 | 5486 | |
5487 | =item Invalid version format (%s) | |
5488 | ||
5489 | =begin original | |
5490 | ||
5491 | (F) A version number did not meet the "lax" criteria for versions. | |
5492 | A "lax" version number is a positive decimal number (integer or | |
5493 | decimal-fraction) without exponentiation or else a dotted-decimal | |
5494 | v-string. If the v-string has fewer than three components, it must | |
5495 | have a leading 'v' character. Otherwise, the leading 'v' is optional. | |
5496 | Both decimal and dotted-decimal versions may have a trailing "alpha" | |
5497 | component separated by an underscore character after a fractional or | |
5498 | dotted-decimal component. The parenthesized text indicates which | |
5499 | criteria were not met. See the L<version> module for more details on | |
5500 | allowed version formats. | |
5501 | ||
5502 | =end original | |
5503 | ||
5504 | (F) バージョン番号がバージョンの「緩い」基準に一致しませんでした。 | |
5505 | 「緩い」バージョン番号は指数なしの正の 10 進数(整数または 10 進小数)か、 | |
5506 | あるいはどっと付き 10 進 v-文字列です。 | |
5507 | v-文字列の要素が三つ未満の場合、先頭に 'v' 文字が必要です。 | |
5508 | さもなければ、先頭の 'v' はオプションです。 | |
5509 | 10 進とドット付き 10 進の両方のバージョンは、小数またはドット付き 10 進 | |
5510 | 要素の後に下線で区切られた「α」要素が引き続くこともあります。 | |
5511 | かっこで囲まれたテキストは問題の基準を示しています。 | |
5512 | 許されるバージョンオブジェクトに関するさらなる詳細については | |
5513 | L<version> モジュールを参照してください。 | |
5514 | ||
5515 | =item Invalid version object | |
5516 | ||
5517 | =begin original | |
5518 | ||
5519 | (F) The internal structure of the version object was invalid. Perhaps | |
5520 | the internals were modified directly in some way or an arbitrary reference | |
5521 | was blessed into the "version" class. | |
5522 | ||
5523 | =end original | |
5524 | ||
5525 | (F) バージョンオブジェクトの内部構造が不正です。 | |
5526 | おそらく何らかの方法で内部が直接変更されたか、任意のリファレンスが | |
5527 | "version" クラスとして bless されました。 | |
5528 | ||
4613 | 5529 | =item ioctl is not implemented |
4614 | 5530 | |
4615 | 5531 | =begin original |
4616 | 5532 | |
4617 | 5533 | (F) Your machine apparently doesn't implement ioctl(), which is pretty |
4618 | 5534 | strange for a machine that supports C. |
4619 | 5535 | |
4620 | 5536 | =end original |
4621 | 5537 | |
4622 | 5538 | (F) C をサポートしているマシンではおかしなことだと思いますが、 |
4623 | 5539 | このマシンでは ioctl() が実装されていないようです。 |
4624 | 5540 | |
4625 | 5541 | =item ioctl() on unopened %s |
4626 | 5542 | |
4627 | 5543 | =begin original |
4628 | 5544 | |
4629 | 5545 | (W unopened) You tried ioctl() on a filehandle that was never opened. |
4630 | Check you control flow and number of arguments. | |
5546 | Check your control flow and number of arguments. | |
4631 | 5547 | |
4632 | 5548 | =end original |
4633 | 5549 | |
4634 | 5550 | (W unopened) 開いていないファイルハンドルに ioctl() を使おうとしました。 |
4635 | 5551 | 制御フローと引数の数をチェックしてください。 |
4636 | 5552 | |
4637 | =item IO layers (like | |
5553 | =item IO layers (like '%s') unavailable | |
4638 | 5554 | |
4639 | 5555 | =begin original |
4640 | 5556 | |
4641 | 5557 | (F) Your Perl has not been configured to have PerlIO, and therefore |
4642 | you cannot use IO layers. To have PerlIO Perl must be configured | |
5558 | you cannot use IO layers. To have PerlIO, Perl must be configured | |
4643 | 5559 | with 'useperlio'. |
4644 | 5560 | |
4645 | 5561 | =end original |
4646 | 5562 | |
4647 | 5563 | (F) この Perl は PerlIO を使うように設定されていないので、IO 層は使えません。 |
4648 | 5564 | PerlIO を使うには、'useperlio' 付きで設定する必要があります。 |
4649 | 5565 | |
4650 | 5566 | =item IO::Socket::atmark not implemented on this architecture |
4651 | 5567 | |
4652 | 5568 | =begin original |
4653 | 5569 | |
4654 | 5570 | (F) Your machine doesn't implement the sockatmark() functionality, |
4655 | neither as a system call or an ioctl call (SIOCATMARK). | |
5571 | neither as a system call nor an ioctl call (SIOCATMARK). | |
4656 | 5572 | |
4657 | 5573 | =end original |
4658 | 5574 | |
4659 | 5575 | (F) 実行されているマシンでは、システムコールでも |
4660 | 5576 | ioctl コール(SIOCATMARK) でも sockatmark() 機能が実装されていません。 |
4661 | 5577 | |
5578 | =item $* is no longer supported | |
5579 | ||
5580 | =begin original | |
5581 | ||
5582 | (D deprecated, syntax) The special variable C<$*>, deprecated in older | |
5583 | perls, has been removed as of 5.9.0 and is no longer supported. In | |
5584 | previous versions of perl the use of C<$*> enabled or disabled multi-line | |
5585 | matching within a string. | |
5586 | ||
5587 | =end original | |
5588 | ||
5589 | (D deprecated, syntax) より古い perl で廃止予定とされた特殊変数 C<$*> は | |
5590 | 5.9.0 で削除され、もはや対応していません。 | |
5591 | 以前のバージョンの perl では、C<$*> は文字列中の複数行マッチングを有効または | |
5592 | 無効にするために使っていました。 | |
5593 | ||
5594 | =begin original | |
5595 | ||
5596 | Instead of using C<$*> you should use the C</m> (and maybe C</s>) regexp | |
5597 | modifiers. You can enable C</m> for a lexical scope (even a whole file) | |
5598 | with C<use re '/m'>. (In older versions: when C<$*> was set to a true value | |
5599 | then all regular expressions behaved as if they were written using C</m>.) | |
5600 | ||
5601 | =end original | |
5602 | ||
5603 | C<$*> を使う代わりに、C</m> (とおそらく C</s>) 正規表現修飾子を | |
5604 | 使うべきです。 | |
5605 | C<use re '/m'> でレキシカルスコープで (ファイル全体でも) C</m> を | |
5606 | 有効にできます。 | |
5607 | (より古いバージョンでは: C<$*> を真の値に設定すると全ての正規表現は | |
5608 | C</m> を使って書かれたかのように振る舞っていました。) | |
5609 | ||
5610 | =item $# is no longer supported | |
5611 | ||
5612 | =begin original | |
5613 | ||
5614 | (D deprecated, syntax) The special variable C<$#>, deprecated in older | |
5615 | perls, has been removed as of 5.9.3 and is no longer supported. You | |
5616 | should use the printf/sprintf functions instead. | |
5617 | ||
5618 | =end original | |
5619 | ||
5620 | (D deprecated, syntax) より古い perl で廃止予定とされた特殊変数 C<$#> は | |
5621 | 5.9.3 で削除され、もはや対応していません。 | |
5622 | 代わりに printf/sprintf 関数を使うべきです。 | |
5623 | ||
4662 | 5624 | =item `%s' is not a code reference |
4663 | 5625 | |
4664 | 5626 | =begin original |
4665 | 5627 | |
4666 | 5628 | (W overload) The second (fourth, sixth, ...) argument of overload::constant |
4667 | 5629 | needs to be a code reference. Either an anonymous subroutine, or a reference |
4668 | 5630 | to a subroutine. |
4669 | 5631 | |
4670 | 5632 | =end original |
4671 | 5633 | |
4672 | 5634 | (W overload) overload::constant の 2 番目 (4 番目、6 番目, ...) の引数は |
4673 | 5635 | コードリファレンスである必要があります。 |
4674 | 5636 | 無名サブルーチンか、サブルーチンへのリファレンスです。 |
4675 | 5637 | |
4676 | 5638 | =item `%s' is not an overloadable type |
4677 | 5639 | |
4678 | 5640 | =begin original |
4679 | 5641 | |
4680 | 5642 | (W overload) You tried to overload a constant type the overload package is |
4681 | 5643 | unaware of. |
4682 | 5644 | |
4683 | 5645 | =end original |
4684 | 5646 | |
4685 | 5647 | (W overload) オーバーロードパッケージが知らない定数型を |
4686 | 5648 | オーバーロードしようとしました。 |
4687 | 5649 | |
4688 | 5650 | =item junk on end of regexp |
4689 | 5651 | |
4690 | 5652 | =begin original |
4691 | 5653 | |
4692 | 5654 | (P) The regular expression parser is confused. |
4693 | 5655 | |
4694 | 5656 | =end original |
4695 | 5657 | |
4696 | 5658 | (P) 正規表現の構文解析ができなくなりました。 |
4697 | 5659 | |
4698 | 5660 | =item Label not found for "last %s" |
4699 | 5661 | |
4700 | 5662 | =begin original |
4701 | 5663 | |
4702 | 5664 | (F) You named a loop to break out of, but you're not currently in a loop |
4703 | 5665 | of that name, not even if you count where you were called from. See |
4704 | 5666 | L<perlfunc/last>. |
4705 | 5667 | |
4706 | 5668 | =end original |
4707 | 5669 | |
4708 | 5670 | (F) 脱出するループを指定しましたが、その名前のループの中にいません、 |
4709 | 5671 | たとえ、呼び出された場所がそうであっても、今はそうではありません。 |
4710 | 5672 | L<perlfunc/last> を参照してください。 |
4711 | 5673 | |
4712 | 5674 | =item Label not found for "next %s" |
4713 | 5675 | |
4714 | 5676 | =begin original |
4715 | 5677 | |
4716 | 5678 | (F) You named a loop to continue, but you're not currently in a loop of |
4717 | 5679 | that name, not even if you count where you were called from. See |
4718 | 5680 | L<perlfunc/last>. |
4719 | 5681 | |
4720 | 5682 | =end original |
4721 | 5683 | |
4722 | (F) 次の繰り返しを行なうループを指定しましたが、 | |
5684 | (F) 次の繰り返しを行なうループを指定しましたが、その名前のループの中に | |
4723 | ||
5685 | いません; たとえ、呼び出された場所がそうであっても、今はそうではありません。 | |
4724 | たとえ、呼び出された場所がそうであっても、今はそうではありません。 | |
4725 | 5686 | L<perlfunc/last> を参照してください。 |
4726 | 5687 | |
4727 | 5688 | =item Label not found for "redo %s" |
4728 | 5689 | |
4729 | 5690 | =begin original |
4730 | 5691 | |
4731 | 5692 | (F) You named a loop to restart, but you're not currently in a loop of |
4732 | 5693 | that name, not even if you count where you were called from. See |
4733 | 5694 | L<perlfunc/last>. |
4734 | 5695 | |
4735 | 5696 | =end original |
4736 | 5697 | |
4737 | (F) 繰り返しの再実行を行なうループを指定しましたが、 | |
5698 | (F) 繰り返しの再実行を行なうループを指定しましたが、その名前のループの中に | |
4738 | ||
5699 | いません; たとえ、呼び出された場所がそうであっても、今はそうではありません。 | |
4739 | たとえ、呼び出された場所がそうであっても、今はそうではありません。 | |
4740 | 5700 | L<perlfunc/last> を参照してください。 |
4741 | 5701 | |
4742 | 5702 | =item leaving effective %s failed |
4743 | 5703 | |
4744 | 5704 | =begin original |
4745 | 5705 | |
4746 | 5706 | (F) While under the C<use filetest> pragma, switching the real and |
4747 | 5707 | effective uids or gids failed. |
4748 | 5708 | |
4749 | 5709 | =end original |
4750 | 5710 | |
4751 | 5711 | (F) C<use filetest> プラグマを使っている間に、 |
4752 | 5712 | 実と実効の UID や GID の切り替えに失敗しました。 |
4753 | 5713 | |
4754 | 5714 | =item length/code after end of string in unpack |
4755 | 5715 | |
4756 | 5716 | =begin original |
4757 | 5717 | |
4758 | 5718 | (F) While unpacking, the string buffer was already used up when an unpack |
4759 | 5719 | length/code combination tried to obtain more data. This results in |
4760 | 5720 | an undefined value for the length. See L<perlfunc/pack>. |
4761 | 5721 | |
4762 | 5722 | =end original |
4763 | 5723 | |
4764 | 5724 | (F) unpack する間、さらなるデータを取り出すために長さ/コードの組み合わせを |
4765 | 5725 | unpack するときに文字列バッファが既に使い切っていました。 |
4766 | 5726 | これにより、長さが未定義値となります。 |
4767 | 5727 | L<perlfunc/pack> を参照してください。 |
4768 | 5728 | |
5729 | =item Lexing code attempted to stuff non-Latin-1 character into Latin-1 input | |
5730 | ||
5731 | =begin original | |
5732 | ||
5733 | (F) An extension is attempting to insert text into the current parse | |
5734 | (using L<lex_stuff_pvn|perlapi/lex_stuff_pvn> or similar), but tried to insert a character | |
5735 | that couldn't be part of the current input. This is an inherent pitfall | |
5736 | of the stuffing mechanism, and one of the reasons to avoid it. Where it | |
5737 | is necessary to stuff, stuffing only plain ASCII is recommended. | |
5738 | ||
5739 | =end original | |
5740 | ||
5741 | (F) エクステンションが(L<lex_stuff_pvn|perlapi/lex_stuff_pvn> や | |
5742 | 同様なものを使って)現在のパースにテキストを挿入しようとしましたが、 | |
5743 | 現在の入力の一部となることができない文字を挿入しようとしました。 | |
5744 | これは詰め物機構の生来の落とし穴で、これを避けるための理由の一つです。 | |
5745 | 詰め物が必要なところでは、プレーン ASCII のみを詰めることを推奨します。 | |
5746 | ||
5747 | =item Lexing code internal error (%s) | |
5748 | ||
5749 | =begin original | |
5750 | ||
5751 | (F) Lexing code supplied by an extension violated the lexer's API in a | |
5752 | detectable way. | |
5753 | ||
5754 | =end original | |
5755 | ||
5756 | (F) エクステンションによって供給された文法解析コードが、検出できる方法で | |
5757 | 文法解析器の API に違反しています。 | |
5758 | ||
4769 | 5759 | =item listen() on closed socket %s |
4770 | 5760 | |
4771 | 5761 | =begin original |
4772 | 5762 | |
4773 | 5763 | (W closed) You tried to do a listen on a closed socket. Did you forget |
4774 | 5764 | to check the return value of your socket() call? See |
4775 | 5765 | L<perlfunc/listen>. |
4776 | 5766 | |
4777 | 5767 | =end original |
4778 | 5768 | |
4779 | 5769 | (W closed) クローズされたソケットに listen を行なおうとしました。 |
4780 | 5770 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
4781 | 5771 | L<perlfunc/listen> を参照してください。 |
4782 | 5772 | |
4783 | =item | |
5773 | =item localtime(%f) too large | |
4784 | 5774 | |
4785 | 5775 | =begin original |
4786 | 5776 | |
5777 | (W overflow) You called C<localtime> with a number that was larger | |
5778 | than it can reliably handle and C<localtime> probably returned the | |
5779 | wrong date. This warning is also triggered with nan (the special | |
5780 | not-a-number value). | |
5781 | ||
5782 | =end original | |
5783 | ||
5784 | (W overflow) 信頼して扱えるよりも大きな数値で C<localtime> を呼び出したので | |
5785 | C<localtime> はおそらく間違った日付を返します。 | |
5786 | この警告は、nan (特殊な非数) でも引き起こされます。 | |
5787 | ||
5788 | =item localtime(%f) too small | |
5789 | ||
5790 | =begin original | |
5791 | ||
5792 | (W overflow) You called C<localtime> with a number that was smaller | |
5793 | than it can reliably handle and C<localtime> probably returned the | |
5794 | wrong date. This warning is also triggered with nan (the special | |
5795 | not-a-number value). | |
5796 | ||
5797 | =end original | |
5798 | ||
5799 | (W overflow) 信頼して扱えるよりも小さな数値で C<localtime> を呼び出したので | |
5800 | C<localtime> はおそらく間違った日付を返します。 | |
5801 | この警告は、nan (特殊な非数) でも引き起こされます。 | |
5802 | ||
5803 | =item Lookbehind longer than %d not implemented in regex m/%s/ | |
5804 | ||
5805 | =begin original | |
5806 | ||
4787 | 5807 | (F) There is currently a limit on the length of string which lookbehind can |
4788 | handle. This restriction may be eased in a future release. | |
5808 | handle. This restriction may be eased in a future release. | |
4789 | shows in the regular expression about where the problem was discovered. | |
4790 | 5809 | |
4791 | 5810 | =end original |
4792 | 5811 | |
4793 | 現在のところ前方参照が扱える文字列の長さには制限があります。 | |
5812 | (F) 現在のところ前方参照が扱える文字列の長さには制限があります。 | |
4794 | 5813 | この制限は将来のリリースでは緩和されるでしょう。 |
4795 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
4796 | 5814 | |
5815 | =item Lost precision when %s %f by 1 | |
5816 | ||
5817 | =begin original | |
5818 | ||
5819 | (W) The value you attempted to increment or decrement by one is too large | |
5820 | for the underlying floating point representation to store accurately, | |
5821 | hence the target of C<++> or C<--> is unchanged. Perl issues this warning | |
5822 | because it has already switched from integers to floating point when values | |
5823 | are too large for integers, and now even floating point is insufficient. | |
5824 | You may wish to switch to using L<Math::BigInt> explicitly. | |
5825 | ||
5826 | =end original | |
5827 | ||
5828 | (W) インクリメントまたはデクリメントしようとしている値は、基礎となっている | |
5829 | 浮動小数点数表現にとって正確に保管するには大きすぎるので、 | |
5830 | C<++> や C<--> のターゲットは変更されません。 | |
5831 | Perl は既に値が整数として大きすぎる時には整数から浮動小数点数に | |
5832 | 切り替えていて、浮動小数点数でも不十分なときにこの警告を出力します。 | |
5833 | 明示的に L<Math::BigInt> を使うように切り替えたいかもしれません。 | |
5834 | ||
4797 | 5835 | =item lstat() on filehandle %s |
4798 | 5836 | |
4799 | 5837 | =begin original |
4800 | 5838 | |
4801 | 5839 | (W io) You tried to do an lstat on a filehandle. What did you mean |
4802 | 5840 | by that? lstat() makes sense only on filenames. (Perl did a fstat() |
4803 | 5841 | instead on the filehandle.) |
4804 | 5842 | |
4805 | 5843 | =end original |
4806 | 5844 | |
4807 | 5845 | (W io) ファイルハンドルに lstat を実行しようとしました。 |
4808 | 5846 | これで何をしようとしたのですか? |
4809 | 5847 | lstat() はファイル名に対してのみ意味があります。 |
4810 | 5848 | (Perl はファイルハンドルには代わりに fstat() を行いました。) |
4811 | 5849 | |
5850 | =item lvalue attribute ignored after the subroutine has been defined | |
5851 | ||
5852 | =begin original | |
5853 | ||
5854 | (W misc) Making a subroutine an lvalue subroutine after it has been defined | |
5855 | by declaring the subroutine with an lvalue attribute is not | |
5856 | possible. To make the subroutine an lvalue subroutine add the | |
5857 | lvalue attribute to the definition, or put the declaration before | |
5858 | the definition. | |
5859 | ||
5860 | =end original | |
5861 | ||
5862 | (W misc) サブルーチンを宣言した後、左辺値属性付きでサブルーチンを | |
5863 | 宣言することでサブルーチンを左辺値サブルーチンにすることは出来ません。 | |
5864 | サブルーチンを左辺値サブルーチンにするには定義時に左辺値属性を追加するか、 | |
5865 | 定義する前に宣言します。 | |
5866 | ||
4812 | 5867 | =item Lvalue subs returning %s not implemented yet |
4813 | 5868 | |
4814 | 5869 | =begin original |
4815 | 5870 | |
4816 | 5871 | (F) Due to limitations in the current implementation, array and hash |
4817 | 5872 | values cannot be returned in subroutines used in lvalue context. See |
4818 | 5873 | L<perlsub/"Lvalue subroutines">. |
4819 | 5874 | |
4820 | 5875 | =end original |
4821 | 5876 | |
4822 | 5877 | (F) 現在の実装の制限により、左辺値コンテキストで使われるサブルーチンは |
4823 | 5878 | 配列とハッシュの値を返すことができません。 |
4824 | 5879 | L<perlsub/"Lvalue subroutines"> を参照してください。 |
4825 | 5880 | |
4826 | =item Malformed integer in [] in | |
5881 | =item Malformed integer in [] in pack | |
4827 | 5882 | |
4828 | 5883 | =begin original |
4829 | 5884 | |
4830 | (F) Between the | |
5885 | (F) Between the brackets enclosing a numeric repeat count only digits | |
4831 | 5886 | are permitted. See L<perlfunc/pack>. |
4832 | 5887 | |
4833 | 5888 | =end original |
4834 | 5889 | |
4835 | 5890 | (F) 中かっこで数値繰り返し数を囲む場合、数値のみが許されます。 |
4836 | 5891 | L<perlfunc/pack> を参照してください。 |
4837 | 5892 | |
4838 | 5893 | =item Malformed integer in [] in unpack |
4839 | 5894 | |
4840 | 5895 | =begin original |
4841 | 5896 | |
4842 | (F) Between the | |
5897 | (F) Between the brackets enclosing a numeric repeat count only digits | |
4843 | 5898 | are permitted. See L<perlfunc/pack>. |
4844 | 5899 | |
4845 | 5900 | =end original |
4846 | 5901 | |
4847 | 5902 | (F) 中かっこで数値繰り返し数を囲む場合、数値のみが許されます。 |
4848 | 5903 | L<perlfunc/pack> を参照してください。 |
4849 | 5904 | |
4850 | 5905 | =item Malformed PERLLIB_PREFIX |
4851 | 5906 | |
4852 | 5907 | =begin original |
4853 | 5908 | |
4854 | 5909 | (F) An error peculiar to OS/2. PERLLIB_PREFIX should be of the form |
4855 | 5910 | |
4856 | 5911 | =end original |
4857 | 5912 | |
4858 | 5913 | (F) OS/2 固有のエラーです。 |
4859 | 5914 | PERLLIB_PREFIX は以下のような形か: |
4860 | 5915 | |
4861 | 5916 | prefix1;prefix2 |
4862 | 5917 | |
4863 | 5918 | =begin original |
4864 | 5919 | |
4865 | 5920 | or |
5921 | prefix1 prefix2 | |
4866 | 5922 | |
4867 | 5923 | =end original |
4868 | 5924 | |
4869 | ||
5925 | または | |
4870 | ||
4871 | 5926 | prefix1 prefix2 |
4872 | 5927 | |
4873 | 5928 | =begin original |
4874 | 5929 | |
4875 | 5930 | with nonempty prefix1 and prefix2. If C<prefix1> is indeed a prefix of |
4876 | 5931 | a builtin library search path, prefix2 is substituted. The error may |
4877 | 5932 | appear if components are not found, or are too long. See |
4878 | 5933 | "PERLLIB_PREFIX" in L<perlos2>. |
4879 | 5934 | |
4880 | 5935 | =end original |
4881 | 5936 | |
4882 | 5937 | prefix1 と prefix2 が空でない形である必要があります。 |
4883 | 5938 | C<prefix1> が組み込みライブラリ検索パスのプレフィックスなら、 |
4884 | 5939 | prefix2 は置き換えられます。 |
4885 | 5940 | このエラーは、コンポーネントが見つからないか、長すぎる時に起こります。 |
4886 | 5941 | L<perlos2> の "PERLLIB_PREFIX" を参照してください。 |
4887 | 5942 | |
4888 | 5943 | =item Malformed prototype for %s: %s |
4889 | 5944 | |
4890 | 5945 | =begin original |
4891 | 5946 | |
4892 | 5947 | (F) You tried to use a function with a malformed prototype. The |
4893 | 5948 | syntax of function prototypes is given a brief compile-time check for |
4894 | 5949 | obvious errors like invalid characters. A more rigorous check is run |
4895 | 5950 | when the function is called. |
4896 | 5951 | |
4897 | 5952 | =end original |
4898 | 5953 | |
4899 | 5954 | (F) 不正な形式のプロトタイプをもつ関数を使おうとしました。 |
4900 | 5955 | 関数プロトタイプの構文は、不正な文字のようなありふれたエラーについては |
4901 | 5956 | コンパイル時にチェックされます。 |
4902 | 5957 | より厳密なチェックは、関数が呼び出された時に実行されます。 |
4903 | 5958 | |
4904 | 5959 | =item Malformed UTF-8 character (%s) |
4905 | 5960 | |
4906 | 5961 | =begin original |
4907 | 5962 | |
4908 | (S utf8) (F) Perl detected s | |
5963 | (S utf8) (F) Perl detected a string that didn't comply with UTF-8 | |
4909 | encoding rules. | |
5964 | encoding rules, even though it had the UTF8 flag on. | |
4910 | 5965 | |
4911 | 5966 | =end original |
4912 | 5967 | |
4913 | (S utf8) (F) Perl が、 | |
5968 | (S utf8) (F) Perl が、UTF8 フラグがオンにも関わらず UTF-8 エンコーディング | |
4914 | 検出しました。 | |
5969 | ルールに従わない文字列を検出しました。 | |
4915 | 5970 | |
4916 | 5971 | =begin original |
4917 | 5972 | |
4918 | One possible cause is that you | |
5973 | One possible cause is that you set the UTF8 flag yourself for data that | |
4919 | UTF-8 but it wasn't (it was for example legacy | |
5974 | you thought to be in UTF-8 but it wasn't (it was for example legacy | |
4920 | ||
5975 | 8-bit data). To guard against this, you can use Encode::decode_utf8. | |
4921 | 5976 | |
4922 | 5977 | =end original |
4923 | 5978 | |
4924 | 5979 | 原因の可能性の一つは、UTF-8 だと思っていたけれでもそうではなかったデータ |
4925 | (例えばレガシーな 8 ビットデータ) | |
5980 | (例えばレガシーな 8 ビットデータ)にあなた自身で UTF8 フラグをセットした | |
4926 | ||
5981 | ことです。 | |
5982 | これから守るためには、Encode::decode_utf8 を使えます。 | |
4927 | 5983 | |
5984 | =begin original | |
5985 | ||
5986 | If you use the C<:encoding(UTF-8)> PerlIO layer for input, invalid byte | |
5987 | sequences are handled gracefully, but if you use C<:utf8>, the flag is | |
5988 | set without validating the data, possibly resulting in this error | |
5989 | message. | |
5990 | ||
5991 | =end original | |
5992 | ||
5993 | 入力に C<:encoding(UTF-8)> PerlIO 層を使うと、不正なバイトシーケンスは | |
5994 | 寛容に扱われますが、C<:utf8> を使うと、フラグはデータを検証せずに設定され、 | |
5995 | おそらく結果としてこのエラーメッセージが出力されます。 | |
5996 | ||
5997 | =begin original | |
5998 | ||
5999 | See also L<Encode/"Handling Malformed Data">. | |
6000 | ||
6001 | =end original | |
6002 | ||
6003 | L<Encode/"Handling Malformed Data"> も参照してください。 | |
6004 | ||
6005 | =item Malformed UTF-8 returned by \N | |
6006 | ||
6007 | =begin original | |
6008 | ||
6009 | (F) The charnames handler returned malformed UTF-8. | |
6010 | ||
6011 | =end original | |
6012 | ||
6013 | (F) charnames ハンドラが不正な UTF-8 を返しました。 | |
6014 | ||
6015 | =item Malformed UTF-8 string in '%c' format in unpack | |
6016 | ||
6017 | =begin original | |
6018 | ||
6019 | (F) You tried to unpack something that didn't comply with UTF-8 encoding | |
6020 | rules and perl was unable to guess how to make more progress. | |
6021 | ||
6022 | =end original | |
6023 | ||
6024 | (F) UTF-8 エンコーディング規則に従わない何かを unpack しようとしたので、 | |
6025 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 | |
6026 | ||
6027 | =item Malformed UTF-8 string in pack | |
6028 | ||
6029 | =begin original | |
6030 | ||
6031 | (F) You tried to pack something that didn't comply with UTF-8 encoding | |
6032 | rules and perl was unable to guess how to make more progress. | |
6033 | ||
6034 | =end original | |
6035 | ||
6036 | (F) UTF-8 エンコーディング規則に従わない何かを pack しようとしたので、 | |
6037 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 | |
6038 | ||
6039 | =item Malformed UTF-8 string in unpack | |
6040 | ||
6041 | =begin original | |
6042 | ||
6043 | (F) You tried to unpack something that didn't comply with UTF-8 encoding | |
6044 | rules and perl was unable to guess how to make more progress. | |
6045 | ||
6046 | =end original | |
6047 | ||
6048 | (F) UTF-8 エンコーディング規則に従わない何かを unpack しようとしたので、 | |
6049 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 | |
6050 | ||
4928 | 6051 | =item Malformed UTF-16 surrogate |
4929 | 6052 | |
4930 | 6053 | =begin original |
4931 | 6054 | |
4932 | Perl thought it was reading UTF-16 encoded character data but while | |
6055 | (F) Perl thought it was reading UTF-16 encoded character data but while | |
4933 | 6056 | doing it Perl met a malformed Unicode surrogate. |
4934 | 6057 | |
4935 | 6058 | =end original |
4936 | 6059 | |
4937 | Perl は UTF-16 エンコード文字データを読み込んでいると考えましたが、 | |
6060 | (F) Perl は UTF-16 エンコード文字データを読み込んでいると考えましたが、 | |
4938 | 6061 | その間に Perl が不正な Unicode サロゲートに遭遇しました。 |
4939 | 6062 | |
4940 | 6063 | =item %s matches null string many times in regex; marked by <-- HERE in m/%s/ |
4941 | 6064 | |
4942 | 6065 | =begin original |
4943 | 6066 | |
4944 | 6067 | (W regexp) The pattern you've specified would be an infinite loop if the |
4945 | 6068 | regular expression engine didn't specifically check for that. The <-- HERE |
4946 | 6069 | shows in the regular expression about where the problem was discovered. |
4947 | 6070 | See L<perlre>. |
4948 | 6071 | |
4949 | 6072 | =end original |
4950 | 6073 | |
4951 | 6074 | (W) 指定したパターンは、もし、正規表現エンジンがチェックを |
4952 | 6075 | 行なっていなければ、無限ループに陥るものです。 |
4953 | 6076 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
4954 | 6077 | L<perlre> を参照してください。 |
4955 | 6078 | |
6079 | =item Maximal count of pending signals (%u) exceeded | |
6080 | ||
6081 | =begin original | |
6082 | ||
6083 | (F) Perl aborted due to too high a number of signals pending. This | |
6084 | usually indicates that your operating system tried to deliver signals | |
6085 | too fast (with a very high priority), starving the perl process from | |
6086 | resources it would need to reach a point where it can process signals | |
6087 | safely. (See L<perlipc/"Deferred Signals (Safe Signals)">.) | |
6088 | ||
6089 | =end original | |
6090 | ||
6091 | (F) あまりにも多くのシグナルが保留中になったので Perl は中断しました。 | |
6092 | これは普通 OS が速くシグナルを(とても高い優先順位で)配達しようとしすぎて、 | |
6093 | perl のプロセスが安全にシグナルを処理できるところに到達するまでに必要な | |
6094 | リソースが不足したことを示しています。 | |
6095 | (L<perlipc/"Deferred Signals (Safe Signals)"> を参照してください。) | |
6096 | ||
4956 | 6097 | =item "%s" may clash with future reserved word |
4957 | 6098 | |
4958 | 6099 | =begin original |
4959 | 6100 | |
4960 | 6101 | (W) This warning may be due to running a perl5 script through a perl4 |
4961 | 6102 | interpreter, especially if the word that is being warned about is |
4962 | 6103 | "use" or "my". |
4963 | 6104 | |
4964 | 6105 | =end original |
4965 | 6106 | |
4966 | 6107 | (W) この警告は perl5 のスクリプトを perl4 インタプリタで実行しようとした |
4967 | 6108 | ときに起きることが多いです; 特に警告された文字が "use" や "my" の場合は |
4968 | 6109 | そうです。 |
4969 | 6110 | |
4970 | 6111 | =item % may not be used in pack |
4971 | 6112 | |
4972 | 6113 | =begin original |
4973 | 6114 | |
4974 | 6115 | (F) You can't pack a string by supplying a checksum, because the |
4975 | 6116 | checksumming process loses information, and you can't go the other way. |
4976 | 6117 | See L<perlfunc/unpack>. |
4977 | 6118 | |
4978 | 6119 | =end original |
4979 | 6120 | |
4980 | (F) チェックサムを指定して pack を行なうことはできません | |
6121 | (F) チェックサムを指定して pack を行なうことはできません; | |
4981 | 6122 | チェックサム処理では、情報が失われ、どうしようもなくなるからです。 |
4982 | 6123 | L<perlfunc/unpack> を参照してください。 |
4983 | 6124 | |
4984 | 6125 | =item Method for operation %s not found in package %s during blessing |
4985 | 6126 | |
4986 | 6127 | =begin original |
4987 | 6128 | |
4988 | 6129 | (F) An attempt was made to specify an entry in an overloading table that |
4989 | 6130 | doesn't resolve to a valid subroutine. See L<overload>. |
4990 | 6131 | |
4991 | 6132 | =end original |
4992 | 6133 | |
4993 | 6134 | (F) 多重定義テーブルで、有効なサブルーチンに解決できない |
4994 | 6135 | エントリを指定しようとしました。 |
4995 | 6136 | L<overload> を参照してください。 |
4996 | 6137 | |
4997 | 6138 | =item Method %s not permitted |
4998 | 6139 | |
4999 | 6140 | =begin original |
5000 | 6141 | |
5001 | 6142 | See Server error. |
5002 | 6143 | |
5003 | 6144 | =end original |
5004 | 6145 | |
5005 | 6146 | "Server error" を参照してください。 |
5006 | 6147 | |
5007 | 6148 | =item Might be a runaway multi-line %s string starting on line %d |
5008 | 6149 | |
5009 | 6150 | =begin original |
5010 | 6151 | |
5011 | 6152 | (S) An advisory indicating that the previous error may have been caused |
5012 | 6153 | by a missing delimiter on a string or pattern, because it eventually |
5013 | 6154 | ended earlier on the current line. |
5014 | 6155 | |
5015 | 6156 | =end original |
5016 | 6157 | |
5017 | 6158 | (S) ようやく現在行になって、文字列やパターンの終わりが見つかったことから、 |
5018 | 6159 | 先のエラーが、文字列やパターンのデリミタが、見つからなかったことで |
5019 | 6160 | 起ったかもしれないことを、補足的に示しています。 |
5020 | 6161 | |
5021 | 6162 | =item Misplaced _ in number |
5022 | 6163 | |
5023 | 6164 | =begin original |
5024 | 6165 | |
5025 | 6166 | (W syntax) An underscore (underbar) in a numeric constant did not |
5026 | 6167 | separate two digits. |
5027 | 6168 | |
5028 | 6169 | =end original |
5029 | 6170 | |
5030 | (W syntax) 数値定数の下線が、 | |
6171 | (W syntax) 数値定数の下線が、二つの値を分離していません。 | |
5031 | 6172 | |
6173 | =item Missing argument in %s | |
6174 | ||
6175 | =begin original | |
6176 | ||
6177 | (W uninitialized) A printf-type format required more arguments than were | |
6178 | supplied. | |
6179 | ||
6180 | =end original | |
6181 | ||
6182 | (W uninitialized) printf 形式ののフォーマットが供給されたのよりも多くの引数を | |
6183 | 要求しました。 | |
6184 | ||
5032 | 6185 | =item Missing argument to -%c |
5033 | 6186 | |
5034 | 6187 | =begin original |
5035 | 6188 | |
5036 | 6189 | (F) The argument to the indicated command line switch must follow |
5037 | 6190 | immediately after the switch, without intervening spaces. |
5038 | 6191 | |
5039 | 6192 | =end original |
5040 | 6193 | |
5041 | 6194 | (F) 示されたコマンドラインスイッチの引数は、 |
5042 | 6195 | スイッチの直後にスペースを空けないで書く必要があります。 |
5043 | 6196 | |
5044 | =item Missing | |
6197 | =item Missing braces on \N{} | |
5045 | 6198 | |
5046 | 6199 | =begin original |
5047 | 6200 | |
5048 | 6201 | (F) Wrong syntax of character name literal C<\N{charname}> within |
5049 | double-quotish context. | |
6202 | double-quotish context. This can also happen when there is a space | |
6203 | (or comment) between the C<\N> and the C<{> in a regex with the C</x> modifier. | |
6204 | This modifier does not change the requirement that the brace immediately | |
6205 | follow the C<\N>. | |
5050 | 6206 | |
5051 | 6207 | =end original |
5052 | 6208 | |
5053 | 6209 | (F) ダブルクォートされたコンテキストの中で、文字名リテラル C<\N{charname}> の |
5054 | 6210 | 文法が間違っています。 |
6211 | これはまた、C</x> 修飾子付きの正規表現の C<\N> と C<{> の間に空白(または | |
6212 | コメント)がある場合にも起こります。 | |
6213 | この修飾子は、C<\N> の直後に中かっこが必要であるという条件は変更しません。 | |
5055 | 6214 | |
6215 | =item Missing braces on \o{} | |
6216 | ||
6217 | =begin original | |
6218 | ||
6219 | (F) A C<\o> must be followed immediately by a C<{> in double-quotish context. | |
6220 | ||
6221 | =end original | |
6222 | ||
6223 | (F) ダブルクォート風コンテキストでは C<\o> は直後に C<{> が | |
6224 | 引き続かなければなりません。 | |
6225 | ||
5056 | 6226 | =item Missing comma after first argument to %s function |
5057 | 6227 | |
5058 | 6228 | =begin original |
5059 | 6229 | |
5060 | 6230 | (F) While certain functions allow you to specify a filehandle or an |
5061 | 6231 | "indirect object" before the argument list, this ain't one of them. |
5062 | 6232 | |
5063 | 6233 | =end original |
5064 | 6234 | |
5065 | 6235 | (F) ある種の関数では、引数リストの前に、ファイルハンドルや |
5066 | 6236 | 「間接オブジェクト」をおくことができますが、この関数は、 |
5067 | 6237 | そういったものではありません。 |
5068 | 6238 | |
5069 | 6239 | =item Missing command in piped open |
5070 | 6240 | |
5071 | 6241 | =begin original |
5072 | 6242 | |
5073 | 6243 | (W pipe) You used the C<open(FH, "| command")> or |
5074 | 6244 | C<open(FH, "command |")> construction, but the command was missing or |
5075 | 6245 | blank. |
5076 | 6246 | |
5077 | 6247 | =end original |
5078 | 6248 | |
5079 | 6249 | (W pipe) C<open(FH, "| command")> か C<open(FH, "command |")> の構文を |
5080 | 6250 | 使っていますが、コマンドが指定されていないか空白です。 |
5081 | 6251 | |
5082 | 6252 | =item Missing control char name in \c |
5083 | 6253 | |
5084 | 6254 | =begin original |
5085 | 6255 | |
5086 | 6256 | (F) A double-quoted string ended with "\c", without the required control |
5087 | 6257 | character name. |
5088 | 6258 | |
5089 | 6259 | =end original |
5090 | 6260 | |
5091 | 6261 | (F) ダブルクォートされた文字列が "\c" で終わっています; 制御文字名が |
5092 | 6262 | 必要です。 |
5093 | 6263 | |
5094 | 6264 | =item Missing name in "my sub" |
5095 | 6265 | |
5096 | 6266 | =begin original |
5097 | 6267 | |
5098 | 6268 | (F) The reserved syntax for lexically scoped subroutines requires that |
5099 | 6269 | they have a name with which they can be found. |
5100 | 6270 | |
5101 | 6271 | =end original |
5102 | 6272 | |
5103 | 6273 | (F) 予約された文法である、レキシカルスコープのサブルーチンには |
5104 | 6274 | 探すことの出来る名前が必要です。 |
5105 | 6275 | |
5106 | 6276 | =item Missing $ on loop variable |
5107 | 6277 | |
5108 | 6278 | =begin original |
5109 | 6279 | |
5110 | 6280 | (F) Apparently you've been programming in B<csh> too much. Variables |
5111 | 6281 | are always mentioned with the $ in Perl, unlike in the shells, where it |
5112 | 6282 | can vary from one line to the next. |
5113 | 6283 | |
5114 | 6284 | =end original |
5115 | 6285 | |
5116 | 6286 | (F) B<csh> を使いすぎた症状が現れているようです。 |
5117 | Perl では、変数は常に $ を付けて表わされます | |
6287 | Perl では、変数は常に $ を付けて表わされます; その時によって違う、シェルとは | |
5118 | ||
6288 | 違っています。 | |
5119 | 6289 | |
5120 | 6290 | =item (Missing operator before %s?) |
5121 | 6291 | |
5122 | 6292 | =begin original |
5123 | 6293 | |
5124 | 6294 | (S syntax) This is an educated guess made in conjunction with the message |
5125 | 6295 | "%s found where operator expected". Often the missing operator is a comma. |
5126 | 6296 | |
5127 | 6297 | =end original |
5128 | 6298 | |
5129 | (S syntax)"%s found where operator expected" と共に | |
6299 | (S syntax) これは "%s found where operator expected" メッセージと共に | |
5130 | 教育的な推測です。 | |
6300 | 表示される教育的な推測です。 | |
5131 | しばしば | |
6301 | しばしば不足している演算子はカンマです。 | |
5132 | 6302 | |
5133 | 6303 | =item Missing right brace on %s |
5134 | 6304 | |
5135 | 6305 | =begin original |
5136 | 6306 | |
5137 | (F) Missing right brace in C<\p{...}> or C<\ | |
6307 | (F) Missing right brace in C<\x{...}>, C<\p{...}>, C<\P{...}>, or C<\N{...}>. | |
5138 | 6308 | |
5139 | 6309 | =end original |
5140 | 6310 | |
5141 | (F) C<\p{...}> | |
6311 | (F) C<\x{...}>, C<\p{...}>, C<\P{...}>, C<\N{...}> の右側のかっこが | |
6312 | 抜けています。 | |
5142 | 6313 | |
6314 | =item Missing right brace on \N{} or unescaped left brace after \N | |
6315 | ||
6316 | =begin original | |
6317 | ||
6318 | (F) C<\N> has two meanings. | |
6319 | ||
6320 | =end original | |
6321 | ||
6322 | (F) C<\N> には二つの意味があります。 | |
6323 | ||
6324 | =begin original | |
6325 | ||
6326 | The traditional one has it followed by a name enclosed in braces, | |
6327 | meaning the character (or sequence of characters) given by that | |
6328 | name. Thus C<\N{ASTERISK}> is another way of writing C<*>, valid in both | |
6329 | double-quoted strings and regular expression patterns. In patterns, | |
6330 | it doesn't have the meaning an unescaped C<*> does. | |
6331 | ||
6332 | =end original | |
6333 | ||
6334 | 伝統的なものは中かっこで囲まれた名前が引き続き、その名前を持つ文字 | |
6335 | (または文字並び)を意味します。 | |
6336 | 従って C<\N{ASTERISK}> は C<*> を書くためのもう一つの方法であり、 | |
6337 | ダブルクォート文字列と正規表現パターンの両方で妥当です。 | |
6338 | パターンでは、これはエスケープされない C<*> の持つ意味はありません。 | |
6339 | ||
6340 | =begin original | |
6341 | ||
6342 | Starting in Perl 5.12.0, C<\N> also can have an additional meaning (only) | |
6343 | in patterns, namely to match a non-newline character. (This is short | |
6344 | for C<[^\n]>, and like C<.> but is not affected by the C</s> regex modifier.) | |
6345 | ||
6346 | =end original | |
6347 | ||
6348 | Perl 5.12.0 から、C<\N> はパターンでの中(のみ)では追加の意味を持ちます; | |
6349 | 非改行文字にマッチングします。 | |
6350 | (これは C<[^\n]> の短縮形で、C<.> と似ていますが C</s> 正規表現修飾子によって | |
6351 | 影響を受けません。) | |
6352 | ||
6353 | =begin original | |
6354 | ||
6355 | This can lead to some ambiguities. When C<\N> is not followed immediately | |
6356 | by a left brace, Perl assumes the C<[^\n]> meaning. Also, if the braces | |
6357 | form a valid quantifier such as C<\N{3}> or C<\N{5,}>, Perl assumes that this | |
6358 | means to match the given quantity of non-newlines (in these examples, | |
6359 | 3; and 5 or more, respectively). In all other case, where there is a | |
6360 | C<\N{> and a matching C<}>, Perl assumes that a character name is desired. | |
6361 | ||
6362 | =end original | |
6363 | ||
6364 | これによりいくつかの曖昧さを引き起こします。 | |
6365 | C<\N> の直後に開き中かっこがなければ、Perl は C<[^\n]> の意味を仮定します。 | |
6366 | また、中かっこが C<\N{3}> や C<\N{5,}> のような妥当な量指定子の形に | |
6367 | なっているなら、Perl はこれを与えられた量の非改行 (この例では、それぞれ 3 と | |
6368 | 5 以上) にマッチングするという意味を仮定します。 | |
6369 | それ以外の場合、C<\N{> と対応する C<}> があれば、Perl は文字名が | |
6370 | 求められていると仮定します。 | |
6371 | ||
6372 | =begin original | |
6373 | ||
6374 | However, if there is no matching C<}>, Perl doesn't know if it was | |
6375 | mistakenly omitted, or if C<[^\n]{> was desired, and raises this error. | |
6376 | If you meant the former, add the right brace; if you meant the latter, | |
6377 | escape the brace with a backslash, like so: C<\N\{> | |
6378 | ||
6379 | =end original | |
6380 | ||
6381 | しかし、対応する C<}> がなければ、それが間違って省略されたのか、 | |
6382 | C<[^\n]{> が求められているものなのかが分からず、エラーを起こします。 | |
6383 | 前者を意味しているなら、閉じ中かっこを追加してください; 後者を | |
6384 | 意味しているなら、C<\N\{> のように中かっこを逆スラッシュで | |
6385 | エスケープしてください。 | |
6386 | ||
5143 | 6387 | =item Missing right curly or square bracket |
5144 | 6388 | |
5145 | 6389 | =begin original |
5146 | 6390 | |
5147 | 6391 | (F) The lexer counted more opening curly or square brackets than closing |
5148 | 6392 | ones. As a general rule, you'll find it's missing near the place you |
5149 | 6393 | were last editing. |
5150 | 6394 | |
5151 | 6395 | =end original |
5152 | 6396 | |
5153 | (F) 字句解析部が、閉じ中 | |
6397 | (F) 字句解析部が、閉じ中かっこ(または大かっこ)よりも | |
5154 | 開き中 | |
6398 | 開き中かっこ(大かっこ)を多く発見しました。 | |
5155 | 6399 | 一般的な規則として、最後に修正した場所の近くに間違いがあるといえます。 |
5156 | 6400 | |
5157 | 6401 | =item (Missing semicolon on previous line?) |
5158 | 6402 | |
5159 | 6403 | =begin original |
5160 | 6404 | |
5161 | 6405 | (S syntax) This is an educated guess made in conjunction with the message |
5162 | 6406 | "%s found where operator expected". Don't automatically put a semicolon on |
5163 | 6407 | the previous line just because you saw this message. |
5164 | 6408 | |
5165 | 6409 | =end original |
5166 | 6410 | |
5167 | (S syntax) こ | |
6411 | (S syntax) これは "%s found where operator expected" メッセージと共に | |
5168 | ||
6412 | 表示される教育的な推測です。 | |
5169 | このメッセージが出たからといって、機械的に前の行に | |
6413 | このメッセージが出たからといって、機械的に前の行にセミコロンを付けることは | |
5170 | ||
6414 | しないでください。 | |
5171 | 6415 | |
5172 | 6416 | =item Modification of a read-only value attempted |
5173 | 6417 | |
5174 | 6418 | =begin original |
5175 | 6419 | |
5176 | 6420 | (F) You tried, directly or indirectly, to change the value of a |
5177 | 6421 | constant. You didn't, of course, try "2 = 1", because the compiler |
5178 | 6422 | catches that. But an easy way to do the same thing is: |
5179 | 6423 | |
5180 | 6424 | =end original |
5181 | 6425 | |
5182 | 6426 | (F) 直接、間接に関らず、定数値を変更しようとしました。 |
5183 | 6427 | もちろん、コンパイラが発見できる、"2 = 1" などといったことを |
5184 | 6428 | したわけではありません。 |
5185 | 6429 | しかし、同じことは以下のようにしても起こります。 |
5186 | 6430 | |
5187 | 6431 | sub mod { $_[0] = 1 } |
5188 | 6432 | mod(2); |
5189 | 6433 | |
5190 | 6434 | =begin original |
5191 | 6435 | |
5192 | 6436 | Another way is to assign to a substr() that's off the end of the string. |
5193 | 6437 | |
5194 | 6438 | =end original |
5195 | 6439 | |
5196 | 6440 | substr() で、文字列の終わりよりも後ろに代入を行なうことでも起こります。 |
5197 | 6441 | |
5198 | 6442 | =begin original |
5199 | 6443 | |
5200 | 6444 | Yet another way is to assign to a C<foreach> loop I<VAR> when I<VAR> |
5201 | 6445 | is aliased to a constant in the look I<LIST>: |
5202 | 6446 | |
5203 | 6447 | =end original |
5204 | 6448 | |
5205 | 6449 | もう一つの可能性は、C<foreach> ループにおいて、I<VAR> が I<LIST> の中の |
5206 | 6450 | 定数のエイリアスであるときに、I<VAR> に代入した時です: |
5207 | 6451 | |
5208 | 6452 | $x = 1; |
5209 | 6453 | foreach my $n ($x, 2) { |
5210 | 6454 | $n *= 2; # modifies the $x, but fails on attempt to modify the 2 |
5211 | 6455 | } |
5212 | 6456 | |
5213 | 6457 | =item Modification of non-creatable array value attempted, %s |
5214 | 6458 | |
5215 | 6459 | =begin original |
5216 | 6460 | |
5217 | 6461 | (F) You tried to make an array value spring into existence, and the |
5218 | 6462 | subscript was probably negative, even counting from end of the array |
5219 | 6463 | backwards. |
5220 | 6464 | |
5221 | 6465 | =end original |
5222 | 6466 | |
5223 | (F) 配列値を存在するようにしようとしました | |
6467 | (F) 配列値を存在するようにしようとしました; おそらく、添字が負数で、配列の | |
5224 | ||
6468 | 終わりから逆に数えたとしても、おかしな位置を指しているようです。 | |
5225 | おかしな位置を指しているようです。 | |
5226 | 6469 | |
5227 | 6470 | =item Modification of non-creatable hash value attempted, %s |
5228 | 6471 | |
5229 | 6472 | =begin original |
5230 | 6473 | |
5231 | 6474 | (P) You tried to make a hash value spring into existence, and it |
5232 | 6475 | couldn't be created for some peculiar reason. |
5233 | 6476 | |
5234 | 6477 | =end original |
5235 | 6478 | |
5236 | 6479 | (F) ハッシュ値を存在するようにしようとしましたが、何か特別な理由で、 |
5237 | 6480 | できませんでした。 |
5238 | 6481 | |
5239 | 6482 | =item Module name must be constant |
5240 | 6483 | |
5241 | 6484 | =begin original |
5242 | 6485 | |
5243 | 6486 | (F) Only a bare module name is allowed as the first argument to a "use". |
5244 | 6487 | |
5245 | 6488 | =end original |
5246 | 6489 | |
5247 | 6490 | (F) "use" の最初の引数としてモジュール名を示すのに許されているのは、 |
5248 | 6491 | 裸の単語だけです。 |
5249 | 6492 | |
5250 | 6493 | =item Module name required with -%c option |
5251 | 6494 | |
5252 | 6495 | =begin original |
5253 | 6496 | |
5254 | 6497 | (F) The C<-M> or C<-m> options say that Perl should load some module, but |
5255 | 6498 | you omitted the name of the module. Consult L<perlrun> for full details |
5256 | 6499 | about C<-M> and C<-m>. |
5257 | 6500 | |
5258 | 6501 | =end original |
5259 | 6502 | |
5260 | 6503 | C<-M> と C<-m> のオプションは Perl にモジュールを読み込ませることを |
5261 | 6504 | 指示しますが、モジュール名がありませんでした。 |
5262 | 6505 | C<-M> と C<-m> に関する完全な詳細については L<perlrun> を参照してください。 |
5263 | 6506 | |
5264 | =item More than one argument to open | |
6507 | =item More than one argument to '%s' open | |
5265 | 6508 | |
5266 | 6509 | =begin original |
5267 | 6510 | |
5268 | 6511 | (F) The C<open> function has been asked to open multiple files. This |
5269 | 6512 | can happen if you are trying to open a pipe to a command that takes a |
5270 | 6513 | list of arguments, but have forgotten to specify a piped open mode. |
5271 | 6514 | See L<perlfunc/open> for details. |
5272 | 6515 | |
5273 | 6516 | =end original |
5274 | 6517 | |
5275 | 6518 | (F) C<open> 関数に、複数のファイルを開くように指定されました。 |
5276 | 6519 | これは引数のリストを取るコマンドへのパイプを開こうとしたときに、パイプ |
5277 | 6520 | オープンモードを指定するのを忘れた時に起きます。 |
5278 | 6521 | 詳細は L<perlfunc/open> を参照してください。 |
5279 | 6522 | |
5280 | 6523 | =item msg%s not implemented |
5281 | 6524 | |
5282 | 6525 | =begin original |
5283 | 6526 | |
5284 | 6527 | (F) You don't have System V message IPC on your system. |
5285 | 6528 | |
5286 | 6529 | =end original |
5287 | 6530 | |
5288 | 6531 | (F) このシステムでは、System V メッセージ IPC は使えません。 |
5289 | 6532 | |
5290 | 6533 | =item Multidimensional syntax %s not supported |
5291 | 6534 | |
5292 | 6535 | =begin original |
5293 | 6536 | |
5294 | 6537 | (W syntax) Multidimensional arrays aren't written like C<$foo[1,2,3]>. |
5295 | 6538 | They're written like C<$foo[1][2][3]>, as in C. |
5296 | 6539 | |
5297 | 6540 | =end original |
5298 | 6541 | |
5299 | 6542 | (W syntax) 多次元配列は、C<$foo[1,2,3]> のようには書けません。 |
5300 | 6543 | これは、C のように C<$foo[1][2][3]> のように書きます。 |
5301 | 6544 | |
5302 | =item '/' must be followed by 'a*', 'A*' or 'Z*' | |
5303 | ||
5304 | =begin original | |
5305 | ||
5306 | (F) You had a pack template indicating a counted-length string, | |
5307 | Currently the only things that can have their length counted are a*, A* | |
5308 | or Z*. See L<perlfunc/pack>. | |
5309 | ||
5310 | =end original | |
5311 | ||
5312 | (F) カウント長文字列を示す pack テンプレートがあります。 | |
5313 | 現在のところ長さをカウントできるのは a*, A*, Z* だけです。 | |
5314 | L<perlfunc/pack> を参照してください。 | |
5315 | ||
5316 | 6545 | =item '/' must follow a numeric type in unpack |
5317 | 6546 | |
5318 | 6547 | =begin original |
5319 | 6548 | |
5320 | 6549 | (F) You had an unpack template that contained a '/', but this did not |
5321 | 6550 | follow some unpack specification producing a numeric value. |
5322 | 6551 | See L<perlfunc/pack>. |
5323 | 6552 | |
5324 | 6553 | =end original |
5325 | 6554 | |
5326 | 6555 | (F) '/' を含む unpack テンプレートがありますが、これがなんらかの |
5327 | 6556 | 数値を生成する unpack 指定に引き続いていません。 |
5328 | 6557 | L<perlfunc/pack> を参照してください。 |
5329 | 6558 | |
5330 | 6559 | =item "my sub" not yet implemented |
5331 | 6560 | |
5332 | 6561 | =begin original |
5333 | 6562 | |
5334 | 6563 | (F) Lexically scoped subroutines are not yet implemented. Don't try |
5335 | 6564 | that yet. |
5336 | 6565 | |
5337 | 6566 | =end original |
5338 | 6567 | |
5339 | 6568 | (F) レキシカルスコープのサブルーチンはまだ実装されていません。 |
5340 | 6569 | まだ試さないでください。 |
5341 | 6570 | |
5342 | 6571 | =item "my" variable %s can't be in a package |
5343 | 6572 | |
5344 | 6573 | =begin original |
5345 | 6574 | |
5346 | 6575 | (F) Lexically scoped variables aren't in a package, so it doesn't make |
5347 | 6576 | sense to try to declare one with a package qualifier on the front. Use |
5348 | 6577 | local() if you want to localize a package variable. |
5349 | 6578 | |
5350 | 6579 | =end original |
5351 | 6580 | |
5352 | 6581 | (F) 字句スコープの変数は、パッケージ内に置かれませんので、 |
5353 | 6582 | 頭にパッケージ名を付けて宣言することは、無意味です。 |
5354 | 6583 | パッケージ変数をローカル化したい場合には、local() を使ってください。 |
5355 | 6584 | |
5356 | 6585 | =item Name "%s::%s" used only once: possible typo |
5357 | 6586 | |
5358 | 6587 | =begin original |
5359 | 6588 | |
5360 | 6589 | (W once) Typographical errors often show up as unique variable names. |
5361 | 6590 | If you had a good reason for having a unique name, then just mention it |
5362 | 6591 | again somehow to suppress the message. The C<our> declaration is |
5363 | 6592 | provided for this purpose. |
5364 | 6593 | |
5365 | 6594 | =end original |
5366 | 6595 | |
5367 | 6596 | (W once) しばしばタイプミスによってユニークな変数名として表示されます。 |
5368 | 6597 | ユニークな名前をを使う理由があるのなら、もう一度どこかで参照することで |
5369 | 6598 | このメッセージを抑制できます。 |
5370 | 6599 | C<our> 宣言がこの目的のために提供されています。 |
5371 | 6600 | |
5372 | 6601 | =begin original |
5373 | 6602 | |
5374 | 6603 | NOTE: This warning detects symbols that have been used only once so $c, @c, |
5375 | 6604 | %c, *c, &c, sub c{}, c(), and c (the filehandle or format) are considered |
5376 | 6605 | the same; if a program uses $c only once but also uses any of the others it |
5377 | 6606 | will not trigger this warning. |
5378 | 6607 | |
5379 | 6608 | =end original |
5380 | 6609 | |
5381 | 6610 | 注意: この警告はシンボルが一度だけしか使われていないことを検出するので、 |
5382 | 6611 | $c, @c, %c, *c, &c, sub c{}, c(), c(ファイルハンドルかフォーマット)は |
5383 | 6612 | 全て同じ物として扱われます; もしプログラムで $c を一度しか使っていなくても |
5384 | 6613 | その他のものが使われている場合、警告は発生しません。 |
5385 | 6614 | |
6615 | =item \N in a character class must be a named character: \N{...} | |
6616 | ||
6617 | =begin original | |
6618 | ||
6619 | (F) The new (5.12) meaning of C<\N> as C<[^\n]> is not valid in a bracketed | |
6620 | character class, for the same reason that C<.> in a character class loses | |
6621 | its specialness: it matches almost everything, which is probably not | |
6622 | what you want. | |
6623 | ||
6624 | =end original | |
6625 | ||
6626 | (F) C<[^\n]> という新しい (5.12) C<\N> の意味は大かっこ文字クラスでは | |
6627 | 妥当ではありません; 文字クラス内の C<.> がその特殊性を失うのと同じ理由です: | |
6628 | これはほとんど何にでもマッチングし、これはおそらくあなたの求めているものでは | |
6629 | ないでしょう。 | |
6630 | ||
6631 | =item \N{NAME} must be resolved by the lexer | |
6632 | ||
6633 | =begin original | |
6634 | ||
6635 | (F) When compiling a regex pattern, an unresolved named character or | |
6636 | sequence was encountered. This can happen in any of several ways that | |
6637 | bypass the lexer, such as using single-quotish context, or an extra | |
6638 | backslash in double-quotish: | |
6639 | ||
6640 | =end original | |
6641 | ||
6642 | (F) 正規表現パターンをコンパイルするとき、解決されない名前付き文字や並びに | |
6643 | 遭遇しました。 | |
6644 | これはシングルクォート風コンテキストを使ったり、ダブルクォート風で | |
6645 | 余分な逆スラッシュがあるような、字句解析器を回避する様々な方法のどれかで | |
6646 | 起こります: | |
6647 | ||
6648 | $re = '\N{SPACE}'; # Wrong! | |
6649 | $re = "\\N{SPACE}"; # Wrong! | |
6650 | /$re/; | |
6651 | ||
6652 | =begin original | |
6653 | ||
6654 | Instead, use double-quotes with a single backslash: | |
6655 | ||
6656 | =end original | |
6657 | ||
6658 | 代わりに、単一のバックスラッシュとダブルクォートを使ってください: | |
6659 | ||
6660 | $re = "\N{SPACE}"; # ok | |
6661 | /$re/; | |
6662 | ||
6663 | =begin original | |
6664 | ||
6665 | The lexer can be bypassed as well by creating the pattern from smaller | |
6666 | components: | |
6667 | ||
6668 | =end original | |
6669 | ||
6670 | 字句解析器はより小さい構造からパターンを作ることによっても回避できます: | |
6671 | ||
6672 | $re = '\N'; | |
6673 | /${re}{SPACE}/; # Wrong! | |
6674 | ||
6675 | =begin original | |
6676 | ||
6677 | It's not a good idea to split a construct in the middle like this, and it | |
6678 | doesn't work here. Instead use the solution above. | |
6679 | ||
6680 | =end original | |
6681 | ||
6682 | このように中間で構造を分割することはよい考えではなく、ここでは動作しません。 | |
6683 | 代わりに上述した解決法を使ってください。 | |
6684 | ||
6685 | =begin original | |
6686 | ||
6687 | Finally, the message also can happen under the C</x> regex modifier when the | |
6688 | C<\N> is separated by spaces from the C<{>, in which case, remove the spaces. | |
6689 | ||
6690 | =end original | |
6691 | ||
6692 | 最後に、このメッセージは C</x> 正規表現修飾子 が有効の時に C<\N> が C<{> と | |
6693 | 空白で区切られているときにもでます; この場合、空白を削除します。 | |
6694 | ||
6695 | /\N {SPACE}/x; # Wrong! | |
6696 | /\N{SPACE}/x; # ok | |
6697 | ||
5386 | 6698 | =item Negative '/' count in unpack |
5387 | 6699 | |
5388 | 6700 | =begin original |
5389 | 6701 | |
5390 | 6702 | (F) The length count obtained from a length/code unpack operation was |
5391 | 6703 | negative. See L<perlfunc/pack>. |
5392 | 6704 | |
5393 | 6705 | =end original |
5394 | 6706 | |
5395 | 6707 | (F) 長さ/コード unpack 操作で得られた長さカウントが負数でした。 |
5396 | 6708 | L<perlfunc/pack> を参照してください。 |
5397 | 6709 | |
5398 | 6710 | =item Negative length |
5399 | 6711 | |
5400 | 6712 | =begin original |
5401 | 6713 | |
5402 | 6714 | (F) You tried to do a read/write/send/recv operation with a buffer |
5403 | 6715 | length that is less than 0. This is difficult to imagine. |
5404 | 6716 | |
5405 | 6717 | =end original |
5406 | 6718 | |
5407 | 6719 | (F) ゼロより短い長さのバッファで、読み込み、書き込み、送信、受信を |
5408 | 6720 | 行なおうとしました。 |
5409 | ||
6721 | これは想像しにくいことです。 | |
5410 | 6722 | |
5411 | 6723 | =item Negative offset to vec in lvalue context |
5412 | 6724 | |
5413 | 6725 | =begin original |
5414 | 6726 | |
5415 | 6727 | (F) When C<vec> is called in an lvalue context, the second argument must be |
5416 | 6728 | greater than or equal to zero. |
5417 | 6729 | |
5418 | 6730 | =end original |
5419 | 6731 | |
5420 | 6732 | (F) 左辺値コンテキストで C<vec> が呼び出されたとき、 |
5421 | 6733 | 二つ目の引数は 0 以上でなければなりません。 |
5422 | 6734 | |
5423 | 6735 | =item Nested quantifiers in regex; marked by <-- HERE in m/%s/ |
5424 | 6736 | |
5425 | 6737 | =begin original |
5426 | 6738 | |
5427 | 6739 | (F) You can't quantify a quantifier without intervening parentheses. So |
5428 | 6740 | things like ** or +* or ?* are illegal. The <-- HERE shows in the regular |
5429 | 6741 | expression about where the problem was discovered. |
5430 | 6742 | |
5431 | 6743 | =end original |
5432 | 6744 | |
5433 | (F) | |
6745 | (F) かっこを挟まないで、数量子を数量子で修飾することはできません。 | |
5434 | 6746 | つまり、** や +* や ?* といったものは、正しくありません。 |
5435 | 6747 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
5436 | 6748 | |
5437 | 6749 | =begin original |
5438 | 6750 | |
5439 | 6751 | Note that the minimal matching quantifiers, C<*?>, C<+?>, and |
5440 | 6752 | C<??> appear to be nested quantifiers, but aren't. See L<perlre>. |
5441 | 6753 | |
5442 | 6754 | =end original |
5443 | 6755 | |
5444 | 6756 | 最短一致数量子の C<*?>、C<+?>、C<??> は、ネストした数量子のように |
5445 | 6757 | 見えますが、そうではありません。 |
5446 | 6758 | L<perlre> を参照してください。 |
5447 | 6759 | |
5448 | 6760 | =item %s never introduced |
5449 | 6761 | |
5450 | 6762 | =begin original |
5451 | 6763 | |
5452 | 6764 | (S internal) The symbol in question was declared but somehow went out of |
5453 | 6765 | scope before it could possibly have been used. |
5454 | 6766 | |
5455 | 6767 | =end original |
5456 | 6768 | |
5457 | 6769 | (S internal) 問題のシンボルは、宣言されましたが、使われる前にスコープから |
5458 | 6770 | 外れてしまいました。 |
5459 | 6771 | |
5460 | =item | |
6772 | =item next::method/next::can/maybe::next::method cannot find enclosing method | |
5461 | 6773 | |
5462 | 6774 | =begin original |
5463 | 6775 | |
5464 | ( | |
6776 | (F) C<next::method> needs to be called within the context of a | |
5465 | ||
6777 | real method in a real package, and it could not find such a context. | |
6778 | See L<mro>. | |
5466 | 6779 | |
5467 | 6780 | =end original |
5468 | 6781 | |
5469 | ( | |
6782 | (F) C<next::method> は実パッケージの実メソッドのコンテキストの中で呼ばれる | |
5470 | ||
6783 | 必要がありますが、そのようなコンテキストが見つけられませんでした。 | |
6784 | L<mro> を参照してください。 | |
5471 | 6785 | |
5472 | =begin original | |
5473 | ||
5474 | The padding spaces will appear after the newline, which is probably not | |
5475 | what you wanted. Usually you should remove the newline from the string | |
5476 | and put formatting characters in the C<sprintf> format. | |
5477 | ||
5478 | =end original | |
5479 | ||
5480 | パッディングされる空白は改行の後につくので、おそらく望んでいることでは | |
5481 | ないでしょう。 | |
5482 | 普通は、文字列から改行を取り除き、C<sprintf> フォーマットの中に | |
5483 | フォーマット文字を置くべきです。 | |
5484 | ||
5485 | 6786 | =item No %s allowed while running setuid |
5486 | 6787 | |
5487 | 6788 | =begin original |
5488 | 6789 | |
5489 | 6790 | (F) Certain operations are deemed to be too insecure for a setuid or |
5490 | 6791 | setgid script to even be allowed to attempt. Generally speaking there |
5491 | 6792 | will be another way to do what you want that is, if not secure, at least |
5492 | 6793 | securable. See L<perlsec>. |
5493 | 6794 | |
5494 | 6795 | =end original |
5495 | 6796 | |
5496 | 6797 | (F) ある種の操作は、setuid や setgid スクリプトにとって、 |
5497 | 6798 | やってみることはできても、とても安全なものとは考えられないものです。 |
5498 | 6799 | 一般に言って、安全ではなくても、安全にしうる、別の方法があるはずです。 |
5499 | 6800 | L<perlsec> を参照してください。 |
5500 | 6801 | |
5501 | 6802 | =item No comma allowed after %s |
5502 | 6803 | |
5503 | 6804 | =begin original |
5504 | 6805 | |
5505 | 6806 | (F) A list operator that has a filehandle or "indirect object" is not |
5506 | 6807 | allowed to have a comma between that and the following arguments. |
5507 | 6808 | Otherwise it'd be just another one of the arguments. |
5508 | 6809 | |
5509 | 6810 | =end original |
5510 | 6811 | |
5511 | 6812 | (F) ファイルハンドルや「間接オブジェクト」を伴うリスト演算子では、 |
5512 | 6813 | それらとそれ以降の引数の間にコンマを入れることはできません。 |
5513 | 6814 | そのようにした場合には、引数の一つとなってしまいます。 |
5514 | 6815 | |
5515 | 6816 | =begin original |
5516 | 6817 | |
5517 | 6818 | One possible cause for this is that you expected to have imported a |
5518 | 6819 | constant to your name space with B<use> or B<import> while no such |
5519 | 6820 | importing took place, it may for example be that your operating system |
5520 | 6821 | does not support that particular constant. Hopefully you did use an |
5521 | explicit import list for the constants you expect to see | |
6822 | explicit import list for the constants you expect to see; please see | |
5522 | 6823 | L<perlfunc/use> and L<perlfunc/import>. While an explicit import list |
5523 | 6824 | would probably have caught this error earlier it naturally does not |
5524 | 6825 | remedy the fact that your operating system still does not support that |
5525 | 6826 | constant. Maybe you have a typo in the constants of the symbol import |
5526 | 6827 | list of B<use> or B<import> or in the constant name at the line where |
5527 | 6828 | this error was triggered? |
5528 | 6829 | |
5529 | 6830 | =end original |
5530 | 6831 | |
5531 | 6832 | これの原因としてあり得るものの一つは、B<use> や B<import> を使って |
5532 | 6833 | 名前空間にインポートしたつもりの定数が実際にはインポートされていなかった |
5533 | 6834 | 場合です; |
5534 | 6835 | 例えば OS が特定の定数に対応していない場合などです。 |
5535 | 6836 | できればインポートしたい定数のリストを明示的に使ってください; |
5536 | 6837 | L<perlfunc/use> と L<perlfunc/import> を参照して下さい。 |
5537 | 6838 | 明示的なインポートリストでおそらくこのエラーをより早く知ることができますが、 |
5538 | 6839 | そもそも OS がその定数に対応していないという問題を解決はしません。 |
5539 | 6840 | おそらく B<use> や B<import> のシンボルインポートリストの定数か、 |
5540 | 6841 | エラーを引き起こした行の定数名をタイプミスしたのでは? |
5541 | 6842 | |
5542 | 6843 | =item No command into which to pipe on command line |
5543 | 6844 | |
5544 | 6845 | =begin original |
5545 | 6846 | |
5546 | 6847 | (F) An error peculiar to VMS. Perl handles its own command line |
5547 | 6848 | redirection, and found a '|' at the end of the command line, so it |
5548 | 6849 | doesn't know where you want to pipe the output from this command. |
5549 | 6850 | |
5550 | 6851 | =end original |
5551 | 6852 | |
5552 | (F) VMSに固有のエラーです。 | |
6853 | (F) VMS に固有のエラーです。 | |
5553 | 6854 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
5554 | 6855 | コマンドラインの最後にに '|' を発見しましたが、 |
5555 | 6856 | このコマンドから出力をどこにパイプしたいのかがわかりませんでした。 |
5556 | 6857 | |
5557 | 6858 | =item No DB::DB routine defined |
5558 | 6859 | |
5559 | 6860 | =begin original |
5560 | 6861 | |
5561 | 6862 | (F) The currently executing code was compiled with the B<-d> switch, but |
5562 | for some reason the | |
6863 | for some reason the current debugger (e.g. F<perl5db.pl> or a C<Devel::> | |
5563 | 6864 | module) didn't define a routine to be called at the beginning of each |
5564 | 6865 | statement. |
5565 | 6866 | |
5566 | 6867 | =end original |
5567 | 6868 | |
5568 | 6869 | (F) 現在実行中のコードは、B<-d> スイッチを付けてコンパイルされましたが、 |
5569 | 6870 | 何らかの理由により、現在のデバッガ(F<perl5db.pl> か C<Devel::> モジュール) |
5570 | 6871 | が各実行文の頭で呼び出すルーティンを定義していません。 |
5571 | 6872 | |
5572 | 6873 | =item No dbm on this machine |
5573 | 6874 | |
5574 | 6875 | =begin original |
5575 | 6876 | |
5576 | 6877 | (P) This is counted as an internal error, because every machine should |
5577 | 6878 | supply dbm nowadays, because Perl comes with SDBM. See L<SDBM_File>. |
5578 | 6879 | |
5579 | 6880 | =end original |
5580 | 6881 | |
5581 | (P) これは、内部エラーとして扱われます | |
6882 | (P) これは、内部エラーとして扱われます; Perl に SDBM が付いてくるので、 | |
5582 | 6883 | どのマシンでも dbm が使えるはずだからです。 |
5583 | 6884 | L<SDBM_File> を参照してください。 |
5584 | 6885 | |
5585 | 6886 | =item No DB::sub routine defined |
5586 | 6887 | |
5587 | 6888 | =begin original |
5588 | 6889 | |
5589 | 6890 | (F) The currently executing code was compiled with the B<-d> switch, but |
5590 | 6891 | for some reason the current debugger (e.g. F<perl5db.pl> or a C<Devel::> |
5591 | 6892 | module) didn't define a C<DB::sub> routine to be called at the beginning |
5592 | 6893 | of each ordinary subroutine call. |
5593 | 6894 | |
5594 | 6895 | =end original |
5595 | 6896 | |
5596 | (F) 現在実行中のコードは、-d スイッチを付けてコンパイルされましたが、 | |
6897 | (F) 現在実行中のコードは、B<-d> スイッチを付けてコンパイルされましたが、 | |
5597 | 何らかの理由により、perl5db.pl | |
6898 | 何らかの理由により、現在のデバッガ(F<perl5db.pl> か C<Devel::> モジュール)が | |
5598 | 各サブルー | |
6899 | 各サブルーチン呼び出しの頭で呼び出す C<DB::sub> ルーティンを | |
5599 | ||
6900 | 定義していませんでした。 | |
5600 | 6901 | |
5601 | =item No B<-e> allowed in setuid scripts | |
5602 | ||
5603 | =begin original | |
5604 | ||
5605 | (F) A setuid script can't be specified by the user. | |
5606 | ||
5607 | =end original | |
5608 | ||
5609 | (F) setuid スクリプトは、ユーザによって指定することはできません。 | |
5610 | ||
5611 | 6902 | =item No error file after 2> or 2>> on command line |
5612 | 6903 | |
5613 | 6904 | =begin original |
5614 | 6905 | |
5615 | 6906 | (F) An error peculiar to VMS. Perl handles its own command line |
5616 | 6907 | redirection, and found a '2>' or a '2>>' on the command line, but can't |
5617 | 6908 | find the name of the file to which to write data destined for stderr. |
5618 | 6909 | |
5619 | 6910 | =end original |
5620 | 6911 | |
5621 | (F) VMSに固有のエラーです。 | |
6912 | (F) VMS に固有のエラーです。 | |
5622 | 6913 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
5623 | 6914 | コマンドラインに '2>' や '2>>' を発見しましたが、 |
5624 | 6915 | 標準エラーとしてデータを書き込むファイル名が見つかりませんでした。 |
5625 | 6916 | |
5626 | 6917 | =item No group ending character '%c' found in template |
5627 | 6918 | |
5628 | 6919 | =begin original |
5629 | 6920 | |
5630 | 6921 | (F) A pack or unpack template has an opening '(' or '[' without its |
5631 | 6922 | matching counterpart. See L<perlfunc/pack>. |
5632 | 6923 | |
5633 | 6924 | =end original |
5634 | 6925 | |
5635 | 6926 | (F) pack や unpack のテンプレートに開きかっこの '(' や '[' がありますが、 |
5636 | 6927 | 対応する閉じかっこがありません。 |
5637 | 6928 | L<perlfunc/pack> を参照してください。 |
5638 | 6929 | |
5639 | 6930 | =item No input file after < on command line |
5640 | 6931 | |
5641 | 6932 | =begin original |
5642 | 6933 | |
5643 | 6934 | (F) An error peculiar to VMS. Perl handles its own command line |
5644 | 6935 | redirection, and found a '<' on the command line, but can't find the |
5645 | 6936 | name of the file from which to read data for stdin. |
5646 | 6937 | |
5647 | 6938 | =end original |
5648 | 6939 | |
5649 | (F) VMS | |
6940 | (F) VMS に固有のエラーです。 | |
5650 | 6941 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインに |
5651 | 6942 | '<' を発見しましたが、標準入力として読み込むためのファイル名が |
5652 | 6943 | 見つかりませんでした。 |
5653 | 6944 | |
5654 | =item No | |
6945 | =item No next::method '%s' found for %s | |
5655 | 6946 | |
5656 | 6947 | =begin original |
5657 | 6948 | |
5658 | (F) | |
6949 | (F) C<next::method> found no further instances of this method name | |
5659 | ||
6950 | in the remaining packages of the MRO of this class. If you don't want | |
6951 | it throwing an exception, use C<maybe::next::method> | |
6952 | or C<next::can>. See L<mro>. | |
5660 | 6953 | |
5661 | 6954 | =end original |
5662 | 6955 | |
5663 | (F) | |
6956 | (F) C<next::method> で、このクラスの MRO で残っているパッケージの中で、この | |
5664 | ||
6957 | メソッド名のインスタンスがもうありません。 | |
6958 | もし例外を投げたくないなら、C<maybe::next::method> か C<next::can> を | |
6959 | 使ってください。 | |
6960 | L<mro> を参照してください。 | |
5665 | 6961 | |
5666 | 6962 | =item "no" not allowed in expression |
5667 | 6963 | |
5668 | 6964 | =begin original |
5669 | 6965 | |
5670 | 6966 | (F) The "no" keyword is recognized and executed at compile time, and |
5671 | 6967 | returns no useful value. See L<perlmod>. |
5672 | 6968 | |
5673 | 6969 | =end original |
5674 | 6970 | |
5675 | 6971 | (F) "no" キーワードは、コンパイル時に認識され、実行されるもので、 |
5676 | 6972 | 意味のある値を返しません。 |
5677 | 6973 | L<perlmod> を参照してください。 |
5678 | 6974 | |
5679 | 6975 | =item No output file after > on command line |
5680 | 6976 | |
5681 | 6977 | =begin original |
5682 | 6978 | |
5683 | 6979 | (F) An error peculiar to VMS. Perl handles its own command line |
5684 | 6980 | redirection, and found a lone '>' at the end of the command line, so it |
5685 | 6981 | doesn't know where you wanted to redirect stdout. |
5686 | 6982 | |
5687 | 6983 | =end original |
5688 | 6984 | |
5689 | (F) VMS | |
6985 | (F) VMS に固有のエラーです。 | |
5690 | 6986 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインの |
5691 | 6987 | 最後に単独の '>' を発見したので、stdout をどこにリダイレクトしたいのかが |
5692 | 6988 | わかりませんでした。 |
5693 | 6989 | |
5694 | 6990 | =item No output file after > or >> on command line |
5695 | 6991 | |
5696 | 6992 | =begin original |
5697 | 6993 | |
5698 | 6994 | (F) An error peculiar to VMS. Perl handles its own command line |
5699 | 6995 | redirection, and found a '>' or a '>>' on the command line, but can't |
5700 | 6996 | find the name of the file to which to write data destined for stdout. |
5701 | 6997 | |
5702 | 6998 | =end original |
5703 | 6999 | |
5704 | (F) VMS | |
7000 | (F) VMS に固有のエラーです。 | |
5705 | 7001 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインに |
5706 | 7002 | '>' や '>>' を発見しましたが、stdout を書き込むためのファイル名が |
5707 | 7003 | 見つかりませんでした。 |
5708 | 7004 | |
5709 | 7005 | =item No package name allowed for variable %s in "our" |
5710 | 7006 | |
5711 | 7007 | =begin original |
5712 | 7008 | |
5713 | 7009 | (F) Fully qualified variable names are not allowed in "our" |
5714 | 7010 | declarations, because that doesn't make much sense under existing |
5715 | 7011 | semantics. Such syntax is reserved for future extensions. |
5716 | 7012 | |
5717 | 7013 | =end original |
5718 | 7014 | |
5719 | 7015 | (F) 完全修飾変数名は "our" 宣言では使えません; |
5720 | 7016 | なぜなら現在の動作ではほとんど意味がないからです。 |
5721 | 7017 | そのような文法は将来の拡張に予約されています。 |
5722 | 7018 | |
5723 | 7019 | =item No Perl script found in input |
5724 | 7020 | |
5725 | 7021 | =begin original |
5726 | 7022 | |
5727 | 7023 | (F) You called C<perl -x>, but no line was found in the file beginning |
5728 | 7024 | with #! and containing the word "perl". |
5729 | 7025 | |
5730 | 7026 | =end original |
5731 | 7027 | |
5732 | 7028 | (F) C<perl -x> を呼び出しましたが、そのファイルに #! で始まり、 |
5733 | 7029 | "perl" という語を含む行が見つかりませんでした。 |
5734 | 7030 | |
5735 | 7031 | =item No setregid available |
5736 | 7032 | |
5737 | 7033 | =begin original |
5738 | 7034 | |
5739 | 7035 | (F) Configure didn't find anything resembling the setregid() call for |
5740 | 7036 | your system. |
5741 | 7037 | |
5742 | 7038 | =end original |
5743 | 7039 | |
5744 | 7040 | (F) Configure が、システム上に setregid() のような関数を |
5745 | 7041 | 見つけられませんでした。 |
5746 | 7042 | |
5747 | 7043 | =item No setreuid available |
5748 | 7044 | |
5749 | 7045 | =begin original |
5750 | 7046 | |
5751 | 7047 | (F) Configure didn't find anything resembling the setreuid() call for |
5752 | 7048 | your system. |
5753 | 7049 | |
5754 | 7050 | =end original |
5755 | 7051 | |
5756 | 7052 | (F) Configure が、システム上に setreuid() のような関数を |
5757 | 7053 | 見つけられませんでした。 |
5758 | 7054 | |
5759 | 7055 | =item No %s specified for -%c |
5760 | 7056 | |
5761 | 7057 | =begin original |
5762 | 7058 | |
5763 | 7059 | (F) The indicated command line switch needs a mandatory argument, but |
5764 | 7060 | you haven't specified one. |
5765 | 7061 | |
5766 | 7062 | =end original |
5767 | 7063 | |
5768 | 7064 | (F) 指示されたコマンドラインオプションには引数が必須ですが、それが |
5769 | 7065 | 指定されませんでした。 |
5770 | 7066 | |
5771 | =item No such class %s | |
7067 | =item No such class field "%s" in variable %s of type %s | |
5772 | 7068 | |
5773 | 7069 | =begin original |
5774 | 7070 | |
5775 | (F) You | |
7071 | (F) You tried to access a key from a hash through the indicated typed variable | |
5776 | t | |
7072 | but that key is not allowed by the package of the same type. The indicated | |
7073 | package has restricted the set of allowed keys using the L<fields> pragma. | |
5777 | 7074 | |
5778 | 7075 | =end original |
5779 | 7076 | |
5780 | (F) | |
7077 | (F) 示されている型の変数を通してハッシュのキーにアクセスしようとしましたが、 | |
5781 | ||
7078 | そのキーは同じ型のパッケージによって許可されていません。 | |
7079 | 示されているパッケージは L<fields> プラグマによって許可されるキーの集合が | |
7080 | 制限されています。 | |
5782 | 7081 | |
5783 | =item No such | |
7082 | =item No such class %s | |
5784 | 7083 | |
5785 | 7084 | =begin original |
5786 | 7085 | |
5787 | ( | |
7086 | (F) You provided a class qualifier in a "my", "our" or "state" | |
5788 | cl | |
7087 | declaration, but this class doesn't exist at this point in your program. | |
5789 | earlier as an attempt to close an unopened filehandle. | |
5790 | 7088 | |
5791 | 7089 | =end original |
5792 | 7090 | |
5793 | ( | |
7091 | (F) "my", "our", "state" の宣言でクラス修飾子が指定されましたが、指定された | |
5794 | ||
7092 | クラスは現時点では存在しません。 | |
5795 | これは開いていないファイルハンドルを閉じようとしたとしてもっと早くに | |
5796 | 捕捉されるべきものです。 | |
5797 | 7093 | |
5798 | =item No such | |
7094 | =item No such hook: %s | |
5799 | 7095 | |
5800 | 7096 | =begin original |
5801 | 7097 | |
5802 | (F) You | |
7098 | (F) You specified a signal hook that was not recognized by Perl. | |
5803 | n | |
7099 | Currently, Perl accepts C<__DIE__> and C<__WARN__> as valid signal hooks. | |
5804 | array indices for that to work. | |
5805 | 7100 | |
5806 | 7101 | =end original |
5807 | 7102 | |
5808 | (F) | |
7103 | (F) Perl が認識できないシグナルフックを指定しました。 | |
5809 | ||
7104 | 現在のところ、Perl は有効なシグナルフックとして | |
5810 | ||
7105 | C<__DIE__> と C<__WARN__> を受け付けます。 | |
5811 | インデックスにマッピングされるべきです。 | |
5812 | 7106 | |
5813 | =item No such p | |
7107 | =item No such pipe open | |
5814 | 7108 | |
5815 | 7109 | =begin original |
5816 | 7110 | |
5817 | ( | |
7111 | (P) An error peculiar to VMS. The internal routine my_pclose() tried to | |
5818 | ||
7112 | close a pipe which hadn't been opened. This should have been caught | |
5819 | ||
7113 | earlier as an attempt to close an unopened filehandle. | |
5820 | %usually set up with the 'fields' pragma. | |
5821 | 7114 | |
5822 | 7115 | =end original |
5823 | 7116 | |
5824 | ( | |
7117 | (P) VMS に固有のエラーです。 | |
5825 | ||
7118 | 内部ルーチンである my_pclose() が、開いていないパイプを閉じようとしました。 | |
5826 | フ | |
7119 | これは開いていないファイルハンドルを閉じようとしたとしてもっと早くに | |
5827 | ||
7120 | 捕捉されるべきものです。 | |
5828 | %FIELDS ハッシュは通常 'fields' プラグマで設定されます。 | |
5829 | 7121 | |
5830 | 7122 | =item No such signal: SIG%s |
5831 | 7123 | |
5832 | 7124 | =begin original |
5833 | 7125 | |
5834 | 7126 | (W signal) You specified a signal name as a subscript to %SIG that was |
5835 | 7127 | not recognized. Say C<kill -l> in your shell to see the valid signal |
5836 | 7128 | names on your system. |
5837 | 7129 | |
5838 | 7130 | =end original |
5839 | 7131 | |
5840 | 7132 | (W signal) %SIG の添字として認識できないシグナル名を指定しました。 |
5841 | 7133 | お使いのシステムで使用可能なシグナル名を調べるには、 |
5842 | 7134 | シェル上で C<kill -l> などとしてください。 |
5843 | 7135 | |
5844 | 7136 | =item Not a CODE reference |
5845 | 7137 | |
5846 | 7138 | =begin original |
5847 | 7139 | |
5848 | 7140 | (F) Perl was trying to evaluate a reference to a code value (that is, a |
5849 | 7141 | subroutine), but found a reference to something else instead. You can |
5850 | 7142 | use the ref() function to find out what kind of ref it really was. See |
5851 | 7143 | also L<perlref>. |
5852 | 7144 | |
5853 | 7145 | =end original |
5854 | 7146 | |
5855 | (F) Perl がコード値 (サブルー | |
7147 | (F) Perl がコード値 (サブルーチン) へのリファレンスを | |
5856 | 7148 | 評価しようとしましたが、別のものへのリファレンスでした。 |
5857 | 7149 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
5858 | 7150 | 使うことができます。 |
5859 | 7151 | L<perlref> も参照してください。 |
5860 | 7152 | |
5861 | 7153 | =item Not a format reference |
5862 | 7154 | |
5863 | 7155 | =begin original |
5864 | 7156 | |
5865 | 7157 | (F) I'm not sure how you managed to generate a reference to an anonymous |
5866 | 7158 | format, but this indicates you did, and that it didn't exist. |
5867 | 7159 | |
5868 | 7160 | =end original |
5869 | 7161 | |
5870 | 7162 | (F) どのように無名のフォーマットへのリファレンスを生成したのかは |
5871 | 7163 | わかりませんが、このメッセージは、それが指定されて、 |
5872 | 7164 | 存在しなかったことを示します。 |
5873 | 7165 | |
5874 | 7166 | =item Not a GLOB reference |
5875 | 7167 | |
5876 | 7168 | =begin original |
5877 | 7169 | |
5878 | 7170 | (F) Perl was trying to evaluate a reference to a "typeglob" (that is, a |
5879 | 7171 | symbol table entry that looks like C<*foo>), but found a reference to |
5880 | 7172 | something else instead. You can use the ref() function to find out what |
5881 | 7173 | kind of ref it really was. See L<perlref>. |
5882 | 7174 | |
5883 | 7175 | =end original |
5884 | 7176 | |
5885 | 7177 | (F) Perl が「型グロブ」(これは、C<*foo> のような |
5886 | 7178 | シンボルテーブルエントリです) へのリファレンスを評価しようとしましたが、 |
5887 | 7179 | 別のものへのリファレンスでした。 |
5888 | 7180 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
5889 | 7181 | 使うことができます。 |
5890 | 7182 | L<perlref> を参照してください。 |
5891 | 7183 | |
5892 | 7184 | =item Not a HASH reference |
5893 | 7185 | |
5894 | 7186 | =begin original |
5895 | 7187 | |
5896 | 7188 | (F) Perl was trying to evaluate a reference to a hash value, but found a |
5897 | 7189 | reference to something else instead. You can use the ref() function to |
5898 | 7190 | find out what kind of ref it really was. See L<perlref>. |
5899 | 7191 | |
5900 | 7192 | =end original |
5901 | 7193 | |
5902 | 7194 | (F) Perl がハッシュ値へのリファレンスを評価しようとしましたが、 |
5903 | 7195 | 別のものへのリファレンスでした。 |
5904 | 7196 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
5905 | 7197 | 使うことができます。 |
5906 | 7198 | L<perlref> を参照してください。 |
5907 | 7199 | |
5908 | 7200 | =item Not an ARRAY reference |
5909 | 7201 | |
5910 | 7202 | =begin original |
5911 | 7203 | |
5912 | 7204 | (F) Perl was trying to evaluate a reference to an array value, but found |
5913 | 7205 | a reference to something else instead. You can use the ref() function |
5914 | 7206 | to find out what kind of ref it really was. See L<perlref>. |
5915 | 7207 | |
5916 | 7208 | =end original |
5917 | 7209 | |
5918 | 7210 | (F) Perl が配列値へのリファレンスを評価しようとしましたが、 |
5919 | 7211 | 別のものへのリファレンスでした。 |
5920 | 7212 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
5921 | 7213 | 使うことができます。 |
5922 | 7214 | L<perlref> を参照してください。 |
5923 | 7215 | |
5924 | =item Not a | |
7216 | =item Not an unblessed ARRAY reference | |
5925 | 7217 | |
5926 | 7218 | =begin original |
5927 | 7219 | |
5928 | (F) | |
7220 | (F) You passed a reference to a blessed array to C<push>, C<shift> or | |
5929 | ||
7221 | another array function. These only accept unblessed array references | |
5930 | ||
7222 | or arrays beginning explicitly with C<@>. | |
5931 | 7223 | |
5932 | 7224 | =end original |
5933 | 7225 | |
5934 | (F) | |
7226 | (F) C<push>, C<shift> やその他の配列関数に bless された配列へのリファレンスを | |
5935 | ||
7227 | 渡しました。 | |
5936 | こ | |
7228 | これらは bless されていない配列リファレンスか明示的に C<@> で始まる | |
7229 | 配列のみを受け付けます。 | |
5937 | 7230 | |
5938 | 7231 | =item Not a SCALAR reference |
5939 | 7232 | |
5940 | 7233 | =begin original |
5941 | 7234 | |
5942 | 7235 | (F) Perl was trying to evaluate a reference to a scalar value, but found |
5943 | 7236 | a reference to something else instead. You can use the ref() function |
5944 | 7237 | to find out what kind of ref it really was. See L<perlref>. |
5945 | 7238 | |
5946 | 7239 | =end original |
5947 | 7240 | |
5948 | 7241 | (F) Perl がスカラ値へのリファレンスを評価しようとしましたが、 |
5949 | 7242 | 別のものへのリファレンスでした。 |
5950 | 7243 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
5951 | 7244 | 使うことができます。 |
5952 | 7245 | L<perlref> を参照してください。 |
5953 | 7246 | |
5954 | 7247 | =item Not a subroutine reference |
5955 | 7248 | |
5956 | 7249 | =begin original |
5957 | 7250 | |
5958 | 7251 | (F) Perl was trying to evaluate a reference to a code value (that is, a |
5959 | 7252 | subroutine), but found a reference to something else instead. You can |
5960 | 7253 | use the ref() function to find out what kind of ref it really was. See |
5961 | 7254 | also L<perlref>. |
5962 | 7255 | |
5963 | 7256 | =end original |
5964 | 7257 | |
5965 | (F) Perl がコード値 (サブルー | |
7258 | (F) Perl がコード値 (サブルーチン) へのリファレンスを | |
5966 | 7259 | 評価しようとしましたが、別のものへのリファレンスでした。 |
5967 | 7260 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
5968 | 7261 | 使うことができます。 |
5969 | 7262 | L<perlref> も参照してください。 |
5970 | 7263 | |
5971 | 7264 | =item Not a subroutine reference in overload table |
5972 | 7265 | |
5973 | 7266 | =begin original |
5974 | 7267 | |
5975 | 7268 | (F) An attempt was made to specify an entry in an overloading table that |
5976 | 7269 | doesn't somehow point to a valid subroutine. See L<overload>. |
5977 | 7270 | |
5978 | 7271 | =end original |
5979 | 7272 | |
5980 | (F) 多重定義テーブルで、有効なサブルー | |
7273 | (F) 多重定義テーブルで、有効なサブルーチンを指していないエントリを | |
5981 | 7274 | 指定しようとしました。 |
5982 | 7275 | L<overload> を参照してください。 |
5983 | 7276 | |
5984 | 7277 | =item Not enough arguments for %s |
5985 | 7278 | |
5986 | 7279 | =begin original |
5987 | 7280 | |
5988 | 7281 | (F) The function requires more arguments than you specified. |
5989 | 7282 | |
5990 | 7283 | =end original |
5991 | 7284 | |
5992 | 7285 | (F) この関数は、指定したよりも多くの引数を必要とします。 |
5993 | 7286 | |
5994 | 7287 | =item Not enough format arguments |
5995 | 7288 | |
5996 | 7289 | =begin original |
5997 | 7290 | |
5998 | 7291 | (W syntax) A format specified more picture fields than the next line |
5999 | 7292 | supplied. See L<perlform>. |
6000 | 7293 | |
6001 | 7294 | =end original |
6002 | 7295 | |
6003 | 7296 | (W syntax) 指定したフォーマットに、次の行で指定したより多くの |
6004 | 7297 | ピクチャフィールドがあります。 |
6005 | 7298 | L<perlform> を参照してください。 |
6006 | 7299 | |
6007 | 7300 | =item %s: not found |
6008 | 7301 | |
6009 | 7302 | =begin original |
6010 | 7303 | |
6011 | 7304 | (A) You've accidentally run your script through the Bourne shell instead |
6012 | 7305 | of Perl. Check the #! line, or manually feed your script into Perl |
6013 | 7306 | yourself. |
6014 | 7307 | |
6015 | 7308 | =end original |
6016 | 7309 | |
6017 | (A) スクリプトを | |
7310 | (A) スクリプトを perl ではなく Bourne shell で実行しようとしました。 | |
6018 | #! | |
7311 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 | |
6019 | 7312 | |
6020 | 7313 | =item no UTC offset information; assuming local time is UTC |
6021 | 7314 | |
6022 | 7315 | =begin original |
6023 | 7316 | |
6024 | 7317 | (S) A warning peculiar to VMS. Perl was unable to find the local |
6025 | 7318 | timezone offset, so it's assuming that local system time is equivalent |
6026 | 7319 | to UTC. If it's not, define the logical name |
6027 | 7320 | F<SYS$TIMEZONE_DIFFERENTIAL> to translate to the number of seconds which |
6028 | 7321 | need to be added to UTC to get local time. |
6029 | 7322 | |
6030 | 7323 | =end original |
6031 | 7324 | |
6032 | (S) VMS 固有の警告です。 | |
7325 | (S) VMS に固有の警告です。 | |
6033 | 7326 | Perl はローカルタイムゾーンオフセットを見つけることができなかったので、 |
6034 | 7327 | ローカルシステムタイムは UTC と等価であると仮定します。 |
6035 | 7328 | もし違うなら、論理名 F<SYS$TIMEZONE_DIFFERENTIAL> に、UTC からローカル |
6036 | 7329 | 時刻を得るために加える必要がある秒数を定義してください。 |
6037 | 7330 | |
7331 | =item Non-octal character '%c'. Resolved as "%s" | |
7332 | ||
7333 | =begin original | |
7334 | ||
7335 | (W digit) In parsing an octal numeric constant, a character was | |
7336 | unexpectedly encountered that isn't octal. The resulting value is as | |
7337 | indicated. | |
7338 | ||
7339 | =end original | |
7340 | ||
7341 | (W digit) 8 進数定数をパースするときに、8 進数でない文字に遭遇しました。 | |
7342 | 結果の値は示された通りになります。 | |
7343 | ||
6038 | 7344 | =item Non-string passed as bitmask |
6039 | 7345 | |
6040 | 7346 | =begin original |
6041 | 7347 | |
6042 | 7348 | (W misc) A number has been passed as a bitmask argument to select(). |
6043 | 7349 | Use the vec() function to construct the file descriptor bitmasks for |
6044 | select. See L<perlfunc/select> | |
7350 | select. See L<perlfunc/select>. | |
6045 | 7351 | |
6046 | 7352 | =end original |
6047 | 7353 | |
6048 | 7354 | (W misc) select() のビットマスク引数として数値が渡されました。 |
6049 | 7355 | select のためのファイル記述子のビットマスクを構成するには、 |
6050 | 7356 | vec() 関数を使ってください。 |
6051 | 7357 | L<perlfunc/select> を参照してください。 |
6052 | 7358 | |
6053 | 7359 | =item Null filename used |
6054 | 7360 | |
6055 | 7361 | =begin original |
6056 | 7362 | |
6057 | 7363 | (F) You can't require the null filename, especially because on many |
6058 | 7364 | machines that means the current directory! See L<perlfunc/require>. |
6059 | 7365 | |
6060 | 7366 | =end original |
6061 | 7367 | |
6062 | 7368 | (F) 特に、多くのマシンでカレントディレクトリを意味するため、 |
6063 | 7369 | 空のファイル名は require できません! |
6064 | 7370 | L<perlfunc/require> を参照してください。 |
6065 | 7371 | |
6066 | 7372 | =item NULL OP IN RUN |
6067 | 7373 | |
6068 | 7374 | =begin original |
6069 | 7375 | |
6070 | 7376 | (P debugging) Some internal routine called run() with a null opcode |
6071 | 7377 | pointer. |
6072 | 7378 | |
6073 | 7379 | =end original |
6074 | 7380 | |
6075 | 7381 | (P debugging) 内部ルーティンで、ヌル opcode ポインタで run() を |
6076 | 7382 | 呼んだものがあります。 |
6077 | 7383 | |
6078 | 7384 | =item Null picture in formline |
6079 | 7385 | |
6080 | 7386 | =begin original |
6081 | 7387 | |
6082 | 7388 | (F) The first argument to formline must be a valid format picture |
6083 | 7389 | specification. It was found to be empty, which probably means you |
6084 | 7390 | supplied it an uninitialized value. See L<perlform>. |
6085 | 7391 | |
6086 | 7392 | =end original |
6087 | 7393 | |
6088 | 7394 | (F) formline の第 1 引数は有効なフォーマットピクチャー指定でなければ |
6089 | 7395 | なりません。 |
6090 | 7396 | これが空でした; おそらく初期化していない値を指定したのでしょう。 |
6091 | 7397 | L<perlform> を参照してください。 |
6092 | 7398 | |
6093 | 7399 | =item Null realloc |
6094 | 7400 | |
6095 | 7401 | =begin original |
6096 | 7402 | |
6097 | 7403 | (P) An attempt was made to realloc NULL. |
6098 | 7404 | |
6099 | 7405 | =end original |
6100 | 7406 | |
6101 | 7407 | (P) realloc NULL を行なおうとしました。 |
6102 | 7408 | |
6103 | 7409 | =item NULL regexp argument |
6104 | 7410 | |
6105 | 7411 | =begin original |
6106 | 7412 | |
6107 | 7413 | (P) The internal pattern matching routines blew it big time. |
6108 | 7414 | |
6109 | 7415 | =end original |
6110 | 7416 | |
6111 | 7417 | (P) 内部パターンマッチルーティンが、大当たりです。 |
6112 | 7418 | |
6113 | 7419 | =item NULL regexp parameter |
6114 | 7420 | |
6115 | 7421 | =begin original |
6116 | 7422 | |
6117 | 7423 | (P) The internal pattern matching routines are out of their gourd. |
6118 | 7424 | |
6119 | 7425 | =end original |
6120 | 7426 | |
6121 | 7427 | (P) 内部パターンマッチルーティンが、狂っています。 |
6122 | 7428 | |
6123 | 7429 | =item Number too long |
6124 | 7430 | |
6125 | 7431 | =begin original |
6126 | 7432 | |
6127 | 7433 | (F) Perl limits the representation of decimal numbers in programs to |
6128 | 7434 | about 250 characters. You've exceeded that length. Future |
6129 | 7435 | versions of Perl are likely to eliminate this arbitrary limitation. In |
6130 | 7436 | the meantime, try using scientific notation (e.g. "1e6" instead of |
6131 | 7437 | "1_000_000"). |
6132 | 7438 | |
6133 | 7439 | =end original |
6134 | 7440 | |
6135 | 7441 | Perl はプログラム中での十進数の表現を 250 文字に制限しています。 |
6136 | 7442 | この制限を越えました。 |
6137 | 7443 | Perl の将来のバージョンではこの恣意的な制限は除去されるでしょう。 |
6138 | 7444 | それまでの間は、科学的な記述法("1_000_000" ではなく "1e6")を |
6139 | 7445 | 使用してください。 |
6140 | 7446 | |
7447 | =item Number with no digits | |
7448 | ||
7449 | =begin original | |
7450 | ||
7451 | (F) Perl was looking for a number but found nothing that looked like | |
7452 | a number. This happens, for example with C<\o{}>, with no number between | |
7453 | the braces. | |
7454 | ||
7455 | =end original | |
7456 | ||
7457 | (F) Perl は数字を探していましたが数字に見えないものが見つかりました。 | |
7458 | これは、例えば C<\o{}> では、中かっこの中に数字がないときに起こります。 | |
7459 | ||
6141 | 7460 | =item Octal number in vector unsupported |
6142 | 7461 | |
6143 | 7462 | =begin original |
6144 | 7463 | |
6145 | 7464 | (F) Numbers with a leading C<0> are not currently allowed in vectors. |
6146 | 7465 | The octal number interpretation of such numbers may be supported in a |
6147 | 7466 | future version. |
6148 | 7467 | |
6149 | 7468 | =end original |
6150 | 7469 | |
6151 | 7470 | 頭に C<0> の付いた数値は現在のところベクタとしては使えません。 |
6152 | 7471 | このような数値を 8 進数として解釈する機能は将来のバージョンで |
6153 | 7472 | 対応されるでしょう。 |
6154 | 7473 | |
6155 | 7474 | =item Octal number > 037777777777 non-portable |
6156 | 7475 | |
6157 | 7476 | =begin original |
6158 | 7477 | |
6159 | 7478 | (W portable) The octal number you specified is larger than 2**32-1 |
6160 | 7479 | (4294967295) and therefore non-portable between systems. See |
6161 | 7480 | L<perlport> for more on portability concerns. |
6162 | 7481 | |
6163 | 7482 | =end original |
6164 | 7483 | |
6165 | 7484 | (W portable) 指定した 8 進数が 2**32-1 (4294967295) より大きいので、 |
6166 | 7485 | システム間で移植性がありません。 |
6167 | 7486 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
6168 | 7487 | |
6169 | =begin original | |
6170 | ||
6171 | See also L<perlport> for writing portable code. | |
6172 | ||
6173 | =end original | |
6174 | ||
6175 | 移植性のあるコードの書き方についても L<perlport> を参照してください。 | |
6176 | ||
6177 | 7488 | =item Odd number of arguments for overload::constant |
6178 | 7489 | |
6179 | 7490 | =begin original |
6180 | 7491 | |
6181 | 7492 | (W overload) The call to overload::constant contained an odd number of |
6182 | 7493 | arguments. The arguments should come in pairs. |
6183 | 7494 | |
6184 | 7495 | =end original |
6185 | 7496 | |
6186 | 7497 | (W overload) 奇数の数の引数で overload::constant を呼び出しました。 |
6187 | 7498 | 引数はペアになっている必要があります。 |
6188 | 7499 | |
6189 | 7500 | =item Odd number of elements in anonymous hash |
6190 | 7501 | |
6191 | 7502 | =begin original |
6192 | 7503 | |
6193 | 7504 | (W misc) You specified an odd number of elements to initialize a hash, |
6194 | 7505 | which is odd, because hashes come in key/value pairs. |
6195 | 7506 | |
6196 | 7507 | =end original |
6197 | 7508 | |
6198 | (W misc) ハッシュリストへの要素の数が奇数でした | |
7509 | (W misc) ハッシュリストへの要素の数が奇数でした; ハッシュリストは、 | |
6199 | ||
7510 | key/value のペアで与えられますから、これは奇妙なことです。 | |
6200 | これは奇妙なことです。 | |
6201 | 7511 | |
6202 | 7512 | =item Odd number of elements in hash assignment |
6203 | 7513 | |
6204 | 7514 | =begin original |
6205 | 7515 | |
6206 | 7516 | (W misc) You specified an odd number of elements to initialize a hash, |
6207 | 7517 | which is odd, because hashes come in key/value pairs. |
6208 | 7518 | |
6209 | 7519 | =end original |
6210 | 7520 | |
6211 | (W misc) ハッシュリストへの要素の数が奇数でした | |
7521 | (W misc) ハッシュリストへの要素の数が奇数でした; ハッシュリストは、 | |
6212 | ||
7522 | key/value のペアで与えられますから、これは奇妙なことです。 | |
6213 | これは奇妙なことです。 | |
6214 | 7523 | |
6215 | 7524 | =item Offset outside string |
6216 | 7525 | |
6217 | 7526 | =begin original |
6218 | 7527 | |
6219 | (F) You tried to do a read/write/send/recv operation | |
7528 | (F|W layer) You tried to do a read/write/send/recv/seek operation | |
6220 | pointing outside the buffer. This is difficult to | |
7529 | with an offset pointing outside the buffer. This is difficult to | |
6221 | exception to this | |
7530 | imagine. The sole exceptions to this are that zero padding will | |
6222 | t | |
7531 | take place when going past the end of the string when either | |
7532 | C<sysread()>ing a file, or when seeking past the end of a scalar opened | |
7533 | for I/O (in anticipation of future reads and to imitate the behaviour | |
7534 | with real files). | |
6223 | 7535 | |
6224 | 7536 | =end original |
6225 | 7537 | |
6226 | (F) バッファの外を指すオフセットで read/write/send/recv 操作を | |
7538 | (F, W layer) バッファの外を指すオフセットで read/write/send/recv/seek 操作を | |
6227 | 7539 | しようとしました。 |
6228 | 7540 | これは想像しにくいことです。 |
6229 | 唯一の例外は、 | |
7541 | 唯一の例外は、ファイルを C<sysread()> するときに 文字列の最後を越えたか、 | |
6230 | ||
7542 | (将来の読み込みと実際のファイルの振る舞いを模倣することを期待して) | |
7543 | I/O のためにオープンされているスカラの最後を越えてシークしたときに、 | |
7544 | 0 でパッディングされたときです。 | |
6231 | 7545 | |
6232 | 7546 | =item %s() on unopened %s |
6233 | 7547 | |
6234 | 7548 | =begin original |
6235 | 7549 | |
6236 | 7550 | (W unopened) An I/O operation was attempted on a filehandle that was |
6237 | 7551 | never initialized. You need to do an open(), a sysopen(), or a socket() |
6238 | 7552 | call, or call a constructor from the FileHandle package. |
6239 | 7553 | |
6240 | 7554 | =end original |
6241 | 7555 | |
6242 | 7556 | (W unopened) 初期化していないファイルハンドルに I/O 操作をしようとしました。 |
6243 | 7557 | open(), sysopen(), socket() を呼び出すか、FileHandle パッケージの |
6244 | 7558 | コンストラクタを呼び出す必要があります。 |
6245 | 7559 | |
6246 | 7560 | =item -%s on unopened filehandle %s |
6247 | 7561 | |
6248 | 7562 | =begin original |
6249 | 7563 | |
6250 | 7564 | (W unopened) You tried to invoke a file test operator on a filehandle |
6251 | 7565 | that isn't open. Check your control flow. See also L<perlfunc/-X>. |
6252 | 7566 | |
6253 | 7567 | =end original |
6254 | 7568 | |
6255 | 7569 | (W unopened) 開いていないファイルハンドルに対してファイルテスト演算子を |
6256 | 7570 | 使おうとしました。 |
6257 | 7571 | 制御フローをチェックしてください。 |
6258 | 7572 | L<perlfunc/-X> も参照してください。 |
6259 | 7573 | |
6260 | 7574 | =item oops: oopsAV |
6261 | 7575 | |
6262 | 7576 | =begin original |
6263 | 7577 | |
6264 | 7578 | (S internal) An internal warning that the grammar is screwed up. |
6265 | 7579 | |
6266 | 7580 | =end original |
6267 | 7581 | |
6268 | 7582 | (S internal) 文法がおかしくなったことを示す内部警告です。 |
6269 | 7583 | |
6270 | 7584 | =item oops: oopsHV |
6271 | 7585 | |
6272 | 7586 | =begin original |
6273 | 7587 | |
6274 | 7588 | (S internal) An internal warning that the grammar is screwed up. |
6275 | 7589 | |
6276 | 7590 | =end original |
6277 | 7591 | |
6278 | 7592 | (S internal) 文法がおかしくなったことを示す内部警告です。 |
6279 | 7593 | |
7594 | =item Opening dirhandle %s also as a file | |
7595 | ||
7596 | =begin original | |
7597 | ||
7598 | (W io, deprecated) You used open() to associate a filehandle to | |
7599 | a symbol (glob or scalar) that already holds a dirhandle. | |
7600 | Although legal, this idiom might render your code confusing | |
7601 | and is deprecated. | |
7602 | ||
7603 | =end original | |
7604 | ||
7605 | (W io deprecated) open() で、既にディレクトリハンドルを保持しているシンボル | |
7606 | (グロブまたはスカラ)にファイルハンドルを関連付けようとしました。 | |
7607 | これは不正ではありませんが、この用法はコードを間違えて解釈する可能性が | |
7608 | あるので非推奨です。 | |
7609 | ||
7610 | =item Opening filehandle %s also as a directory | |
7611 | ||
7612 | =begin original | |
7613 | ||
7614 | (W io, deprecated) You used opendir() to associate a dirhandle to | |
7615 | a symbol (glob or scalar) that already holds a filehandle. | |
7616 | Although legal, this idiom might render your code confusing | |
7617 | and is deprecated. | |
7618 | ||
7619 | =end original | |
7620 | ||
7621 | (W io deprecated) すでにファイルハンドルを保持しているシンボル | |
7622 | (グロブまたはスカラ)にディレクトリハンドルを関連付けるために | |
7623 | opendir() を使いました。 | |
7624 | これは不正ではありませんが、この用法はコードを間違えて解釈する可能性が | |
7625 | あるので非推奨です。 | |
7626 | ||
6280 | 7627 | =item Operation "%s": no method found, %s |
6281 | 7628 | |
6282 | 7629 | =begin original |
6283 | 7630 | |
6284 | 7631 | (F) An attempt was made to perform an overloaded operation for which no |
6285 | 7632 | handler was defined. While some handlers can be autogenerated in terms |
6286 | 7633 | of other handlers, there is no default handler for any operation, unless |
6287 | C<fallback> overloading key is specified to be true. See L<overload>. | |
7634 | the C<fallback> overloading key is specified to be true. See L<overload>. | |
6288 | 7635 | |
6289 | 7636 | =end original |
6290 | 7637 | |
6291 | 7638 | (F) ハンドラが定義されていないオーバーロード操作が行われました。 |
6292 | 7639 | 一部のハンドラは他のハンドラから自動生成されますが、C<fallback> |
6293 | 7640 | オーバーロードキーが真に指定されていない限り、どの動作にも |
6294 | 7641 | デフォルトのハンドラはありません。 |
6295 | 7642 | L<overload> を参照してください。 |
6296 | 7643 | |
7644 | =item Operation "%s" returns its argument for non-Unicode code point 0x%X | |
7645 | ||
7646 | =begin original | |
7647 | ||
7648 | (W utf8, non_unicode) You performed an operation requiring Unicode | |
7649 | semantics on a code | |
7650 | point that is not in Unicode, so what it should do is not defined. Perl | |
7651 | has chosen to have it do nothing, and warn you. | |
7652 | ||
7653 | =end original | |
7654 | ||
7655 | (W utf8, non_unicode) Unicode ではない符号位置に対して、Unicode の意味論が | |
7656 | 必要な操作を実行しました; 何をするべきかは未定義です。 | |
7657 | Perl は何もしないことを選択し、警告を出します。 | |
7658 | ||
7659 | =begin original | |
7660 | ||
7661 | If the operation shown is "ToFold", it means that case-insensitive | |
7662 | matching in a regular expression was done on the code point. | |
7663 | ||
7664 | =end original | |
7665 | ||
7666 | 示された操作が "ToFold" なら、正規表現での大文字小文字を無視したマッチングが | |
7667 | その符号位置に対して行われたということです。 | |
7668 | ||
7669 | =begin original | |
7670 | ||
7671 | If you know what you are doing you can turn off this warning by | |
7672 | C<no warnings 'non_unicode';>. | |
7673 | ||
7674 | =end original | |
7675 | ||
7676 | 自分で何をしているのかが分かっているなら、 | |
7677 | C<no warnings 'non_unicode';> とすることでこの警告をオフにできます。 | |
7678 | ||
7679 | =item Operation "%s" returns its argument for UTF-16 surrogate U+%X | |
7680 | ||
7681 | =begin original | |
7682 | ||
7683 | (W utf8, surrogate) You performed an operation requiring Unicode | |
7684 | semantics on a Unicode | |
7685 | surrogate. Unicode frowns upon the use of surrogates for anything but | |
7686 | storing strings in UTF-16, but semantics are (reluctantly) defined for | |
7687 | the surrogates, and they are to do nothing for this operation. Because | |
7688 | the use of surrogates can be dangerous, Perl warns. | |
7689 | ||
7690 | =end original | |
7691 | ||
7692 | (W utf8, surrogate) Unicode サロゲートに対して Unicode の意味論が必要な | |
7693 | 操作を実行しました。 | |
7694 | Unicode は文字列を UTF-16 で保管する以外のことでサロゲートを使うことに | |
7695 | 難色を示しますが、意味論は(渋々)サロゲートのために定義されていて、それは | |
7696 | この操作に対して何もしないことです。 | |
7697 | サロゲートの使用は危険かも知れないので、Perl は警告します。 | |
7698 | ||
7699 | =begin original | |
7700 | ||
7701 | If the operation shown is "ToFold", it means that case-insensitive | |
7702 | matching in a regular expression was done on the code point. | |
7703 | ||
7704 | =end original | |
7705 | ||
7706 | 示された操作が "ToFold" なら、正規表現での大文字小文字を無視したマッチングが | |
7707 | その符号位置に対して行われたということです。 | |
7708 | ||
7709 | =begin original | |
7710 | ||
7711 | If you know what you are doing you can turn off this warning by | |
7712 | C<no warnings 'surrogate';>. | |
7713 | ||
7714 | =end original | |
7715 | ||
7716 | 自分で何をしているのかが分かっているなら、 | |
7717 | C<no warnings 'surrogate';> とすることでこの警告をオフにできます。 | |
7718 | ||
6297 | 7719 | =item Operator or semicolon missing before %s |
6298 | 7720 | |
6299 | 7721 | =begin original |
6300 | 7722 | |
6301 | 7723 | (S ambiguous) You used a variable or subroutine call where the parser |
6302 | 7724 | was expecting an operator. The parser has assumed you really meant to |
6303 | 7725 | use an operator, but this is highly likely to be incorrect. For |
6304 | 7726 | example, if you say "*foo *foo" it will be interpreted as if you said |
6305 | 7727 | "*foo * 'foo'". |
6306 | 7728 | |
6307 | 7729 | =end original |
6308 | 7730 | |
6309 | 7731 | (S ambiguous) パーサーが演算子を装置している場所で変数やサブルーチン |
6310 | 7732 | 呼び出しが使われました。 |
6311 | 7733 | パーサーはあなたが本当に演算子を使おうとしていると仮定しますが、 |
6312 | 7734 | これは大抵正しくありません。 |
6313 | 7735 | 例えば、"*foo *foo" とすると、"*foo * 'foo'" としたとして解釈されます。 |
6314 | 7736 | |
6315 | 7737 | =item "our" variable %s redeclared |
6316 | 7738 | |
6317 | 7739 | =begin original |
6318 | 7740 | |
6319 | 7741 | (W misc) You seem to have already declared the same global once before |
6320 | 7742 | in the current lexical scope. |
6321 | 7743 | |
6322 | 7744 | =end original |
6323 | 7745 | |
6324 | 7746 | (W misc) 現在のレキシカルスコープで、既に同じ名前のグローバル変数を |
6325 | 7747 | 宣言しているようです。 |
6326 | 7748 | |
6327 | 7749 | =item Out of memory! |
6328 | 7750 | |
6329 | 7751 | =begin original |
6330 | 7752 | |
6331 | 7753 | (X) The malloc() function returned 0, indicating there was insufficient |
6332 | 7754 | remaining memory (or virtual memory) to satisfy the request. Perl has |
6333 | 7755 | no option but to exit immediately. |
6334 | 7756 | |
6335 | 7757 | =end original |
6336 | 7758 | |
6337 | 7759 | (X) 要求を満たすだけの、十分な残メモリ (または、仮想メモリ) が |
6338 | 7760 | 取得できないことを示す、0 を malloc() 関数が返しました。 |
6339 | 7761 | Perl は直ちに終了するしかありませんでした。 |
6340 | 7762 | |
6341 | 7763 | =begin original |
6342 | 7764 | |
6343 | 7765 | At least in Unix you may be able to get past this by increasing your |
6344 | 7766 | process datasize limits: in csh/tcsh use C<limit> and |
6345 | 7767 | C<limit datasize n> (where C<n> is the number of kilobytes) to check |
6346 | 7768 | the current limits and change them, and in ksh/bash/zsh use C<ulimit -a> |
6347 | 7769 | and C<ulimit -d n>, respectively. |
6348 | 7770 | |
6349 | 7771 | =end original |
6350 | 7772 | |
6351 | 7773 | 少なくとも Unix ではプロセスのデータサイズ制限を増やすことによって |
6352 | 7774 | これを回避することが可能です: |
6353 | 7775 | csh/tcsh では現在の制限を調べるのに C<limit> を、これを変更するには |
6354 | 7776 | C<limit datasize n> (ここで C<n> はキロバイト単位) を使ってください; |
6355 | 7777 | ksh/bash/zsh ではそれぞれ C<ulimit -a> と C<ulimit -d n> を使ってください。 |
6356 | 7778 | |
6357 | 7779 | =item Out of memory during %s extend |
6358 | 7780 | |
6359 | 7781 | =begin original |
6360 | 7782 | |
6361 | 7783 | (X) An attempt was made to extend an array, a list, or a string beyond |
6362 | 7784 | the largest possible memory allocation. |
6363 | 7785 | |
6364 | 7786 | =end original |
6365 | 7787 | |
6366 | 7788 | (X) 確保可能な最大メモリを越えて配列、リスト、文字列を拡張しようとしました。 |
6367 | 7789 | |
6368 | 7790 | =item Out of memory during "large" request for %s |
6369 | 7791 | |
6370 | 7792 | =begin original |
6371 | 7793 | |
6372 | 7794 | (F) The malloc() function returned 0, indicating there was insufficient |
6373 | 7795 | remaining memory (or virtual memory) to satisfy the request. However, |
6374 | 7796 | the request was judged large enough (compile-time default is 64K), so a |
6375 | 7797 | possibility to shut down by trapping this error is granted. |
6376 | 7798 | |
6377 | 7799 | =end original |
6378 | 7800 | |
6379 | 7801 | (F) malloc() 関数が 0 を返しました; これは要求を満たすメモリ |
6380 | 7802 | (または仮想メモリ)が不十分であることを示しています。 |
6381 | 7803 | しかし、要求が十分大きい(コンパイル時のデフォルトは 64K)ので、 |
6382 | 7804 | このエラーをトラップすることでシャットダウンできる可能性があります。 |
6383 | 7805 | |
6384 | ||
6385 | 7806 | =item Out of memory during request for %s |
6386 | 7807 | |
6387 | 7808 | =begin original |
6388 | 7809 | |
6389 | 7810 | (X|F) The malloc() function returned 0, indicating there was |
6390 | 7811 | insufficient remaining memory (or virtual memory) to satisfy the |
6391 | 7812 | request. |
6392 | 7813 | |
6393 | 7814 | =end original |
6394 | 7815 | |
6395 | 7816 | (X|F) malloc() 関数が 0 を返しました; これは要求を満たすメモリ |
6396 | 7817 | (または仮想メモリ)が不十分であることを示しています。 |
6397 | 7818 | |
6398 | 7819 | =begin original |
6399 | 7820 | |
6400 | 7821 | The request was judged to be small, so the possibility to trap it |
6401 | 7822 | depends on the way perl was compiled. By default it is not trappable. |
6402 | 7823 | However, if compiled for this, Perl may use the contents of C<$^M> as an |
6403 | 7824 | emergency pool after die()ing with this message. In this case the error |
6404 | 7825 | is trappable I<once>, and the error message will include the line and file |
6405 | 7826 | where the failed request happened. |
6406 | 7827 | |
6407 | 7828 | =end original |
6408 | 7829 | |
6409 | 7830 | 要求は小さいものと判定されたので、これをトラップできる確率は perl が |
6410 | 7831 | どのようにコンパイルされたかに依存します。 |
6411 | 7832 | デフォルトではこれはトラップできません。 |
6412 | 7833 | しかし、もしこのためにコンパイルすると、Perl はこのメッセージと共に |
6413 | 7834 | die() した後の非常用エリアとして C<$^M> の内容を使います。 |
6414 | 7835 | この場合エラーは I<一度だけ> トラップ可能で、エラーメッセージは失敗した |
6415 | 7836 | 要求が起きたファイルと行番号を含んでいます。 |
6416 | 7837 | |
6417 | 7838 | =item Out of memory during ridiculously large request |
6418 | 7839 | |
6419 | 7840 | =begin original |
6420 | 7841 | |
6421 | 7842 | (F) You can't allocate more than 2^31+"small amount" bytes. This error |
6422 | 7843 | is most likely to be caused by a typo in the Perl program. e.g., |
6423 | 7844 | C<$arr[time]> instead of C<$arr[$time]>. |
6424 | 7845 | |
6425 | 7846 | =end original |
6426 | 7847 | |
6427 | 7848 | (F) 2^31+「少量」バイト以上割り当てることはできません。 |
6428 | このエラーはほとんどの場合 | |
7849 | このエラーはほとんどの場合 Perl プログラムのタイプミスが原因です。 | |
6429 | C<$arr[time]> の | |
7850 | 例えば、C<$arr[$time]> の代わりに C<$arr[time]> のような。 | |
6430 | 7851 | |
6431 | 7852 | =item Out of memory for yacc stack |
6432 | 7853 | |
6433 | 7854 | =begin original |
6434 | 7855 | |
6435 | 7856 | (F) The yacc parser wanted to grow its stack so it could continue |
6436 | 7857 | parsing, but realloc() wouldn't give it more memory, virtual or |
6437 | 7858 | otherwise. |
6438 | 7859 | |
6439 | 7860 | =end original |
6440 | 7861 | |
6441 | 7862 | (F) yacc パーサーが解析を続けるために、スタックを広げようとしましたが、 |
6442 | 7863 | realloc() が仮想やその他のメモリを確保できませんでした。 |
6443 | 7864 | |
7865 | =item '.' outside of string in pack | |
7866 | ||
7867 | =begin original | |
7868 | ||
7869 | (F) The argument to a '.' in your template tried to move the working | |
7870 | position to before the start of the packed string being built. | |
7871 | ||
7872 | =end original | |
7873 | ||
7874 | (F) テンプレートでの '.' の引数として、pack された文字列が構築されたよりも | |
7875 | 前に作業位置を移動しようとしました。 | |
7876 | ||
6444 | 7877 | =item '@' outside of string in unpack |
6445 | 7878 | |
6446 | 7879 | =begin original |
6447 | 7880 | |
6448 | 7881 | (F) You had a template that specified an absolute position outside |
6449 | 7882 | the string being unpacked. See L<perlfunc/pack>. |
6450 | 7883 | |
6451 | 7884 | =end original |
6452 | 7885 | |
6453 | 7886 | (F) unpack される文字列の外に絶対位置指定している、 |
6454 | 7887 | テンプレートを指定しました。 |
6455 | 7888 | L<perlfunc/pack> を参照してください。 |
6456 | 7889 | |
7890 | =item '@' outside of string with malformed UTF-8 in unpack | |
7891 | ||
7892 | =begin original | |
7893 | ||
7894 | (F) You had a template that specified an absolute position outside | |
7895 | the string being unpacked. The string being unpacked was also invalid | |
7896 | UTF-8. See L<perlfunc/pack>. | |
7897 | ||
7898 | =end original | |
7899 | ||
7900 | (F) unpack される文字列の外に絶対位置指定している、 | |
7901 | テンプレートを指定しました。 | |
7902 | unpack された文字列は不正な UTF-8 でもあります。 | |
7903 | L<perlfunc/pack> を参照してください。 | |
7904 | ||
7905 | =item Overloaded dereference did not return a reference | |
7906 | ||
7907 | =begin original | |
7908 | ||
7909 | (F) An object with an overloaded dereference operator was dereferenced, | |
7910 | but the overloaded operation did not return a reference. See | |
7911 | L<overload>. | |
7912 | ||
7913 | =end original | |
7914 | ||
7915 | (F) オーバーロードされたデリファレンス演算子のオブジェクトが | |
7916 | デリファレンスされましたが、オーバーロード演算がリファレンスを | |
7917 | 返しませんでした。 | |
7918 | L<overload> を参照してください。 | |
7919 | ||
7920 | =item Overloaded qr did not return a REGEXP | |
7921 | ||
7922 | =begin original | |
7923 | ||
7924 | (F) An object with a C<qr> overload was used as part of a match, but the | |
7925 | overloaded operation didn't return a compiled regexp. See L<overload>. | |
7926 | ||
7927 | =end original | |
7928 | ||
7929 | (F) C<qr> をオーバーロードしたオブジェクトがマッチングの一部として | |
7930 | 使われましたが、オーバーロード演算がコンパイルされた正規表現を | |
7931 | 返しませんでした。 | |
7932 | L<overload> を参照してください。 | |
7933 | ||
6457 | 7934 | =item %s package attribute may clash with future reserved word: %s |
6458 | 7935 | |
6459 | 7936 | =begin original |
6460 | 7937 | |
6461 | 7938 | (W reserved) A lowercase attribute name was used that had a |
6462 | 7939 | package-specific handler. That name might have a meaning to Perl itself |
6463 | 7940 | some day, even though it doesn't yet. Perhaps you should use a |
6464 | 7941 | mixed-case attribute name, instead. See L<attributes>. |
6465 | 7942 | |
6466 | 7943 | =end original |
6467 | 7944 | |
6468 | 7945 | (W reserved) パッケージ固有のハンドラが、小文字の属性名を使っています。 |
6469 | 7946 | この名前は、たとえ今は使っていなくても、 Perl 自身がいつか使うかもしれません。 |
6470 | 7947 | おそらく代わりに大文字小文字の混じった属性名を使うべきでしょう。 |
6471 | 7948 | L<attributes> を参照してください。 |
6472 | 7949 | |
6473 | 7950 | =item pack/unpack repeat count overflow |
6474 | 7951 | |
6475 | 7952 | =begin original |
6476 | 7953 | |
6477 | 7954 | (F) You can't specify a repeat count so large that it overflows your |
6478 | 7955 | signed integers. See L<perlfunc/pack>. |
6479 | 7956 | |
6480 | 7957 | =end original |
6481 | 7958 | |
6482 | 7959 | (F) 繰り返し回数として符号付き整数をオーバーフローするような |
6483 | 7960 | 値は指定できません。 |
6484 | L<perlfunc/ | |
7961 | L<perlfunc/pack> を参照してください。 | |
6485 | 7962 | |
6486 | 7963 | =item page overflow |
6487 | 7964 | |
6488 | 7965 | =begin original |
6489 | 7966 | |
6490 | 7967 | (W io) A single call to write() produced more lines than can fit on a |
6491 | 7968 | page. See L<perlform>. |
6492 | 7969 | |
6493 | 7970 | =end original |
6494 | 7971 | |
6495 | (W io) write() の 1 度の呼び出しで、1 ページに収まるより | |
7972 | (W io) write() の 1 度の呼び出しで、1 ページに収まるより多くの行が | |
6496 | ||
7973 | できました。 | |
6497 | 7974 | L<perlform> を参照してください。 |
6498 | 7975 | |
6499 | 7976 | =item panic: %s |
6500 | 7977 | |
6501 | 7978 | =begin original |
6502 | 7979 | |
6503 | 7980 | (P) An internal error. |
6504 | 7981 | |
6505 | 7982 | =end original |
6506 | 7983 | |
6507 | 7984 | (P) 内部エラーです。 |
6508 | 7985 | |
7986 | =item panic: attempt to call %s in %s | |
7987 | ||
7988 | =begin original | |
7989 | ||
7990 | (P) One of the file test operators entered a code branch that calls | |
7991 | an ACL related-function, but that function is not available on this | |
7992 | platform. Earlier checks mean that it should not be possible to | |
7993 | enter this branch on this platform. | |
7994 | ||
7995 | =end original | |
7996 | ||
7997 | (P) ファイルテスト演算子の一つが ACL 関連関数を呼び出すコード分岐に | |
7998 | 入りましたが、この関数はこのプラットフォームでは利用できません。 | |
7999 | より早いチェックは、このプラットフォームのこの分岐に入ることがないように | |
8000 | するべきことを意味します。 | |
8001 | ||
6509 | 8002 | =item panic: ck_grep |
6510 | 8003 | |
6511 | 8004 | =begin original |
6512 | 8005 | |
6513 | 8006 | (P) Failed an internal consistency check trying to compile a grep. |
6514 | 8007 | |
6515 | 8008 | =end original |
6516 | 8009 | |
6517 | 8010 | (P) grep をコンパイルしようとして、内部の一貫性チェックに |
6518 | 8011 | 引っ掛かりました。 |
6519 | 8012 | |
6520 | 8013 | =item panic: ck_split |
6521 | 8014 | |
6522 | 8015 | =begin original |
6523 | 8016 | |
6524 | 8017 | (P) Failed an internal consistency check trying to compile a split. |
6525 | 8018 | |
6526 | 8019 | =end original |
6527 | 8020 | |
6528 | 8021 | (P) split をコンパイルしようとして、内部の一貫性チェックに |
6529 | 8022 | 引っ掛かりました。 |
6530 | 8023 | |
6531 | 8024 | =item panic: corrupt saved stack index |
6532 | 8025 | |
6533 | 8026 | =begin original |
6534 | 8027 | |
6535 | 8028 | (P) The savestack was requested to restore more localized values than |
6536 | 8029 | there are in the savestack. |
6537 | 8030 | |
6538 | 8031 | =end original |
6539 | 8032 | |
6540 | 8033 | (P) セーブスタックにある以上のローカル化した値を元に戻す |
6541 | 8034 | 要求がありました。 |
6542 | 8035 | |
6543 | 8036 | =item panic: del_backref |
6544 | 8037 | |
6545 | 8038 | =begin original |
6546 | 8039 | |
6547 | 8040 | (P) Failed an internal consistency check while trying to reset a weak |
6548 | 8041 | reference. |
6549 | 8042 | |
6550 | 8043 | =end original |
6551 | 8044 | |
6552 | 8045 | (P) 弱いリファレンスをリセットしようとしたときに内部の |
6553 | 8046 | 一貫性チェックに引っ掛かりました。 |
6554 | 8047 | |
6555 | 8048 | =item panic: Devel::DProf inconsistent subroutine return |
6556 | 8049 | |
6557 | 8050 | =begin original |
6558 | 8051 | |
6559 | 8052 | (P) Devel::DProf called a subroutine that exited using goto(LABEL), |
6560 | 8053 | last(LABEL) or next(LABEL). Leaving that way a subroutine called from |
6561 | 8054 | an XSUB will lead very probably to a crash of the interpreter. This is |
6562 | 8055 | a bug that will hopefully one day get fixed. |
6563 | 8056 | |
6564 | 8057 | =end original |
6565 | 8058 | |
6566 | 8059 | (P) Devel::DProf が goto(LABEL), last(LABEL), next(LABEL) を使って |
6567 | 8060 | 終了したサブルーチンを呼び出しました。 |
6568 | 8061 | XSUB から呼び出されたサブルーチンをこのような方法で離れると、 |
6569 | 8062 | インタプリタをクラッシュさせる可能性がとても高いです。 |
6570 | 8063 | これはいつか修正されてほしいバグです。 |
6571 | 8064 | |
6572 | 8065 | =item panic: die %s |
6573 | 8066 | |
6574 | 8067 | =begin original |
6575 | 8068 | |
6576 | 8069 | (P) We popped the context stack to an eval context, and then discovered |
6577 | 8070 | it wasn't an eval context. |
6578 | 8071 | |
6579 | 8072 | =end original |
6580 | 8073 | |
6581 | 8074 | (P) eval コンテキストへコンテキストスタックをポップしたあと、 |
6582 | 8075 | eval コンテキストでないことがわかりました。 |
6583 | 8076 | |
6584 | 8077 | =item panic: do_subst |
6585 | 8078 | |
6586 | 8079 | =begin original |
6587 | 8080 | |
6588 | 8081 | (P) The internal pp_subst() routine was called with invalid operational |
6589 | 8082 | data. |
6590 | 8083 | |
6591 | 8084 | =end original |
6592 | 8085 | |
6593 | 8086 | (P) 内部の pp_subst() ルーティンが、無効な省略可能データを |
6594 | 8087 | 付けて呼ばれました。 |
6595 | 8088 | |
6596 | 8089 | =item panic: do_trans_%s |
6597 | 8090 | |
6598 | 8091 | =begin original |
6599 | 8092 | |
6600 | 8093 | (P) The internal do_trans routines were called with invalid operational |
6601 | 8094 | data. |
6602 | 8095 | |
6603 | 8096 | =end original |
6604 | 8097 | |
6605 | 8098 | (P) 内部の pp_trans ルーティンが、無効な省略可能データを |
6606 | 8099 | 付けて呼ばれました。 |
6607 | 8100 | |
8101 | =item panic: fold_constants JMPENV_PUSH returned %d | |
8102 | ||
8103 | =begin original | |
8104 | ||
8105 | (P) While attempting folding constants an exception other than an C<eval> | |
8106 | failure was caught. | |
8107 | ||
8108 | =end original | |
8109 | ||
8110 | (P) 定数の畳み込みを実行中に C<eval> 失敗以外の例外が捕捉されました。 | |
8111 | ||
6608 | 8112 | =item panic: frexp |
6609 | 8113 | |
6610 | 8114 | =begin original |
6611 | 8115 | |
6612 | 8116 | (P) The library function frexp() failed, making printf("%f") impossible. |
6613 | 8117 | |
6614 | 8118 | =end original |
6615 | 8119 | |
6616 | 8120 | (P) ライブラリ関数 frexp() が失敗したので、printf("%f") ができません。 |
6617 | 8121 | |
6618 | 8122 | =item panic: goto |
6619 | 8123 | |
6620 | 8124 | =begin original |
6621 | 8125 | |
6622 | 8126 | (P) We popped the context stack to a context with the specified label, |
6623 | 8127 | and then discovered it wasn't a context we know how to do a goto in. |
6624 | 8128 | |
6625 | 8129 | =end original |
6626 | 8130 | |
6627 | 8131 | (P) 指定したラベルを伴うコンテキストへコンテキストスタックを |
6628 | 8132 | ポップしたあと、どのように goto するかがわかっている |
6629 | 8133 | コンテキストでないことがわかりました。 |
6630 | 8134 | |
8135 | =item panic: gp_free failed to free glob pointer | |
8136 | ||
8137 | =begin original | |
8138 | ||
8139 | (P) The internal routine used to clear a typeglob's entries tried | |
8140 | repeatedly, but each time something re-created entries in the glob. Most | |
8141 | likely the glob contains an object with a reference back to the glob and a | |
8142 | destructor that adds a new object to the glob. | |
8143 | ||
8144 | =end original | |
8145 | ||
8146 | (P) 型グロブのエントリをクリアするために使われる内部ルーチンが複数回 | |
8147 | 試しましたが、毎回何かがグロブにエントリを再作成しました。 | |
8148 | おそらくグロブにそのグロブへのリファレンスと、グロブへの新しいオブジェクトを | |
8149 | 追加するデストラクタを持つオブジェクトが含まれています。 | |
8150 | ||
8151 | =item panic: hfreeentries failed to free hash | |
8152 | ||
8153 | =begin original | |
8154 | ||
8155 | (P) The internal routine used to clear a hash's entries tried repeatedly, | |
8156 | but each time something added more entries to the hash. Most likely the hash | |
8157 | contains an object with a reference back to the hash and a destructor that | |
8158 | adds a new object to the hash. | |
8159 | ||
8160 | =end original | |
8161 | ||
8162 | (P) ハッシュ要素をクリアするための内部ルーチンが何度か実行されましたが、 | |
8163 | 実行される毎に何かがハッシュに要素を追加しました。 | |
8164 | 最もありそうなのは、ハッシュが、そのハッシュへのリファレンスがある | |
8165 | オブジェクトと、ハッシュへの新しいオブジェクトを追加するデストラクタを | |
8166 | 含む場合です。 | |
8167 | ||
6631 | 8168 | =item panic: INTERPCASEMOD |
6632 | 8169 | |
6633 | 8170 | =begin original |
6634 | 8171 | |
6635 | 8172 | (P) The lexer got into a bad state at a case modifier. |
6636 | 8173 | |
6637 | 8174 | =end original |
6638 | 8175 | |
6639 | 8176 | (P) 大文字小文字修飾子のところで、字句解析部がおかしな状態に陥りました。 |
6640 | 8177 | |
6641 | 8178 | =item panic: INTERPCONCAT |
6642 | 8179 | |
6643 | 8180 | =begin original |
6644 | 8181 | |
6645 | 8182 | (P) The lexer got into a bad state parsing a string with brackets. |
6646 | 8183 | |
6647 | 8184 | =end original |
6648 | 8185 | |
6649 | (P) 中 | |
8186 | (P) 中かっこを伴う文字列を解析中に、字句解析部がおかしな状態に陥りました。 | |
6650 | 8187 | |
6651 | 8188 | =item panic: kid popen errno read |
6652 | 8189 | |
6653 | 8190 | =begin original |
6654 | 8191 | |
6655 | 8192 | (F) forked child returned an incomprehensible message about its errno. |
6656 | 8193 | |
6657 | 8194 | =end original |
6658 | 8195 | |
6659 | 8196 | (F) fork した子プロセスが errno に関して不完全なメッセージを返しました。 |
6660 | 8197 | |
6661 | 8198 | =item panic: last |
6662 | 8199 | |
6663 | 8200 | =begin original |
6664 | 8201 | |
6665 | 8202 | (P) We popped the context stack to a block context, and then discovered |
6666 | 8203 | it wasn't a block context. |
6667 | 8204 | |
6668 | 8205 | =end original |
6669 | 8206 | |
6670 | 8207 | (P) block コンテキストへコンテキストスタックをポップしたあと、 |
6671 | 8208 | block コンテキストでないことがわかりました。 |
6672 | 8209 | |
6673 | 8210 | =item panic: leave_scope clearsv |
6674 | 8211 | |
6675 | 8212 | =begin original |
6676 | 8213 | |
6677 | 8214 | (P) A writable lexical variable became read-only somehow within the |
6678 | 8215 | scope. |
6679 | 8216 | |
6680 | 8217 | =end original |
6681 | 8218 | |
6682 | 8219 | (P) 書き込み可能な字句スコープ変数が、どういうわけか、スコープ内で |
6683 | 8220 | リードオンリーになりました。 |
6684 | 8221 | |
6685 | 8222 | =item panic: leave_scope inconsistency |
6686 | 8223 | |
6687 | 8224 | =begin original |
6688 | 8225 | |
6689 | 8226 | (P) The savestack probably got out of sync. At least, there was an |
6690 | 8227 | invalid enum on the top of it. |
6691 | 8228 | |
6692 | 8229 | =end original |
6693 | 8230 | |
6694 | 8231 | (P) おそらく、セーブスタックの同期がとれていません。 |
6695 | 8232 | 少なくとも、トップに不正な enum がありました。 |
6696 | 8233 | |
6697 | 8234 | =item panic: magic_killbackrefs |
6698 | 8235 | |
6699 | 8236 | =begin original |
6700 | 8237 | |
6701 | 8238 | (P) Failed an internal consistency check while trying to reset all weak |
6702 | 8239 | references to an object. |
6703 | 8240 | |
6704 | 8241 | =end original |
6705 | 8242 | |
6706 | 8243 | (P) あるオブジェクトへの全ての弱い参照をリセットしようとした時に内部の |
6707 | 8244 | 一貫性チェックに引っ掛かりました。 |
6708 | 8245 | |
6709 | 8246 | =item panic: malloc |
6710 | 8247 | |
6711 | 8248 | =begin original |
6712 | 8249 | |
6713 | 8250 | (P) Something requested a negative number of bytes of malloc. |
6714 | 8251 | |
6715 | 8252 | =end original |
6716 | 8253 | |
6717 | 8254 | (P) malloc に負のバイト数で要求が行なわれました。 |
6718 | 8255 | |
6719 | =item panic: mapstart | |
6720 | ||
6721 | =begin original | |
6722 | ||
6723 | (P) The compiler is screwed up with respect to the map() function. | |
6724 | ||
6725 | =end original | |
6726 | ||
6727 | (P) コンパイラが、map() 関数に関しておかしくなりました。 | |
6728 | ||
6729 | 8256 | =item panic: memory wrap |
6730 | 8257 | |
6731 | 8258 | =begin original |
6732 | 8259 | |
6733 | 8260 | (P) Something tried to allocate more memory than possible. |
6734 | 8261 | |
6735 | 8262 | =end original |
6736 | 8263 | |
6737 | 8264 | (P) 何かが、確保可能な量を超えるメモリを確保しようとしました。 |
6738 | 8265 | |
6739 | =item panic: null array | |
6740 | ||
6741 | =begin original | |
6742 | ||
6743 | (P) One of the internal array routines was passed a null AV pointer. | |
6744 | ||
6745 | =end original | |
6746 | ||
6747 | (P) 内部配列ルーティンで、ヌル AV ポインタを渡されたものがありました。 | |
6748 | ||
6749 | 8266 | =item panic: pad_alloc |
6750 | 8267 | |
6751 | 8268 | =begin original |
6752 | 8269 | |
6753 | 8270 | (P) The compiler got confused about which scratch pad it was allocating |
6754 | 8271 | and freeing temporaries and lexicals from. |
6755 | 8272 | |
6756 | 8273 | =end original |
6757 | 8274 | |
6758 | 8275 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
6759 | 8276 | スクラッチパッドについて混乱しました。 |
6760 | 8277 | |
6761 | 8278 | =item panic: pad_free curpad |
6762 | 8279 | |
6763 | 8280 | =begin original |
6764 | 8281 | |
6765 | 8282 | (P) The compiler got confused about which scratch pad it was allocating |
6766 | 8283 | and freeing temporaries and lexicals from. |
6767 | 8284 | |
6768 | 8285 | =end original |
6769 | 8286 | |
6770 | 8287 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
6771 | 8288 | スクラッチパッドについて混乱しました。 |
6772 | 8289 | |
6773 | 8290 | =item panic: pad_free po |
6774 | 8291 | |
6775 | 8292 | =begin original |
6776 | 8293 | |
6777 | 8294 | (P) An invalid scratch pad offset was detected internally. |
6778 | 8295 | |
6779 | 8296 | =end original |
6780 | 8297 | |
6781 | 8298 | (P) 不正なスクラッチパッドのオフセットが、内部的に検出されました。 |
6782 | 8299 | |
6783 | 8300 | =item panic: pad_reset curpad |
6784 | 8301 | |
6785 | 8302 | =begin original |
6786 | 8303 | |
6787 | 8304 | (P) The compiler got confused about which scratch pad it was allocating |
6788 | 8305 | and freeing temporaries and lexicals from. |
6789 | 8306 | |
6790 | 8307 | =end original |
6791 | 8308 | |
6792 | 8309 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
6793 | 8310 | スクラッチパッドについて混乱しました。 |
6794 | 8311 | |
6795 | 8312 | =item panic: pad_sv po |
6796 | 8313 | |
6797 | 8314 | =begin original |
6798 | 8315 | |
6799 | 8316 | (P) An invalid scratch pad offset was detected internally. |
6800 | 8317 | |
6801 | 8318 | =end original |
6802 | 8319 | |
6803 | 8320 | (P) 不正なスクラッチパッドのオフセットが、内部的に検出されました。 |
6804 | 8321 | |
6805 | 8322 | =item panic: pad_swipe curpad |
6806 | 8323 | |
6807 | 8324 | =begin original |
6808 | 8325 | |
6809 | 8326 | (P) The compiler got confused about which scratch pad it was allocating |
6810 | 8327 | and freeing temporaries and lexicals from. |
6811 | 8328 | |
6812 | 8329 | =end original |
6813 | 8330 | |
6814 | 8331 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
6815 | 8332 | スクラッチパッドについて混乱しました。 |
6816 | 8333 | |
6817 | 8334 | =item panic: pad_swipe po |
6818 | 8335 | |
6819 | 8336 | =begin original |
6820 | 8337 | |
6821 | 8338 | (P) An invalid scratch pad offset was detected internally. |
6822 | 8339 | |
6823 | 8340 | =end original |
6824 | 8341 | |
6825 | 8342 | (P) 不正なスクラッチパッドのオフセットが、内部的に検出されました。 |
6826 | 8343 | |
6827 | 8344 | =item panic: pp_iter |
6828 | 8345 | |
6829 | 8346 | =begin original |
6830 | 8347 | |
6831 | 8348 | (P) The foreach iterator got called in a non-loop context frame. |
6832 | 8349 | |
6833 | 8350 | =end original |
6834 | 8351 | |
6835 | 8352 | (P) foreach の繰返し子が、ループ文脈以外のところで呼ばれました。 |
6836 | 8353 | |
6837 | 8354 | =item panic: pp_match%s |
6838 | 8355 | |
6839 | 8356 | =begin original |
6840 | 8357 | |
6841 | 8358 | (P) The internal pp_match() routine was called with invalid operational |
6842 | 8359 | data. |
6843 | 8360 | |
6844 | 8361 | =end original |
6845 | 8362 | |
6846 | 8363 | (P) 内部の pp_match() ルーティンが、無効な省略可能データを |
6847 | 8364 | 付けて呼ばれました。 |
6848 | 8365 | |
6849 | 8366 | =item panic: pp_split |
6850 | 8367 | |
6851 | 8368 | =begin original |
6852 | 8369 | |
6853 | 8370 | (P) Something terrible went wrong in setting up for the split. |
6854 | 8371 | |
6855 | 8372 | =end original |
6856 | 8373 | |
6857 | 8374 | (P) split の準備中に何かまずいことが起こってしまいました。 |
6858 | 8375 | |
6859 | 8376 | =item panic: realloc |
6860 | 8377 | |
6861 | 8378 | =begin original |
6862 | 8379 | |
6863 | 8380 | (P) Something requested a negative number of bytes of realloc. |
6864 | 8381 | |
6865 | 8382 | =end original |
6866 | 8383 | |
6867 | 8384 | (P) 何か、realloc に負のバイト数を要求したものがあります。 |
6868 | 8385 | |
6869 | 8386 | =item panic: restartop |
6870 | 8387 | |
6871 | 8388 | =begin original |
6872 | 8389 | |
6873 | 8390 | (P) Some internal routine requested a goto (or something like it), and |
6874 | 8391 | didn't supply the destination. |
6875 | 8392 | |
6876 | 8393 | =end original |
6877 | 8394 | |
6878 | 8395 | (P) 内部ルーティンから goto (または、同じようなもの) が |
6879 | 8396 | 要求されましたが、飛び先が与えれていません。 |
6880 | 8397 | |
6881 | 8398 | =item panic: return |
6882 | 8399 | |
6883 | 8400 | =begin original |
6884 | 8401 | |
6885 | 8402 | (P) We popped the context stack to a subroutine or eval context, and |
6886 | 8403 | then discovered it wasn't a subroutine or eval context. |
6887 | 8404 | |
6888 | 8405 | =end original |
6889 | 8406 | |
6890 | (P) サブルー | |
8407 | (P) サブルーチンコンテキストや eval コンテキストへ、 | |
6891 | コンテキストスタックをポップしたあと、サブルー | |
8408 | コンテキストスタックをポップしたあと、サブルーチンコンテキストや | |
6892 | 8409 | eval コンテキストでないことがわかりました。 |
6893 | 8410 | |
6894 | 8411 | =item panic: scan_num |
6895 | 8412 | |
6896 | 8413 | =begin original |
6897 | 8414 | |
6898 | 8415 | (P) scan_num() got called on something that wasn't a number. |
6899 | 8416 | |
6900 | 8417 | =end original |
6901 | 8418 | |
6902 | 8419 | (P) scan_num() が、何か数字でないものに対して呼ばれました。 |
6903 | 8420 | |
8421 | =item panic: sv_chop %s | |
8422 | ||
8423 | =begin original | |
8424 | ||
8425 | (P) The sv_chop() routine was passed a position that is not within the | |
8426 | scalar's string buffer. | |
8427 | ||
8428 | =end original | |
8429 | ||
8430 | (P) sv_chop() ルーチンは、スカラの文字列バッファ内でない位置を | |
8431 | 渡されました。 | |
8432 | ||
6904 | 8433 | =item panic: sv_insert |
6905 | 8434 | |
6906 | 8435 | =begin original |
6907 | 8436 | |
6908 | 8437 | (P) The sv_insert() routine was told to remove more string than there |
6909 | 8438 | was string. |
6910 | 8439 | |
6911 | 8440 | =end original |
6912 | 8441 | |
6913 | 8442 | (P) sv_insert() ルーティンが、存在する以上の文字列を削除するように |
6914 | 8443 | 指示されました。 |
6915 | 8444 | |
6916 | 8445 | =item panic: top_env |
6917 | 8446 | |
6918 | 8447 | =begin original |
6919 | 8448 | |
6920 | 8449 | (P) The compiler attempted to do a goto, or something weird like that. |
6921 | 8450 | |
6922 | 8451 | =end original |
6923 | 8452 | |
6924 | 8453 | (P) コンパイラが、goto など妙なことを行なおうとしました。 |
6925 | 8454 | |
8455 | =item panic: unimplemented op %s (#%d) called | |
8456 | ||
8457 | =begin original | |
8458 | ||
8459 | (P) The compiler is screwed up and attempted to use an op that isn't | |
8460 | permitted at run time. | |
8461 | ||
8462 | =end original | |
8463 | ||
8464 | (P) コンパイラがおかしくなって、実行時に許可されていない op を | |
8465 | しようとしました。 | |
8466 | ||
6926 | 8467 | =item panic: utf16_to_utf8: odd bytelen |
6927 | 8468 | |
6928 | 8469 | =begin original |
6929 | 8470 | |
6930 | 8471 | (P) Something tried to call utf16_to_utf8 with an odd (as opposed |
6931 | 8472 | to even) byte length. |
6932 | 8473 | |
6933 | 8474 | =end original |
6934 | 8475 | |
6935 | 8476 | (P) 何かが(偶数ではなく)奇数のバイト長で utf16_to_utf8 を |
6936 | 8477 | 呼び出そうとしました。 |
6937 | 8478 | |
8479 | =item panic: utf16_to_utf8_reversed: odd bytelen | |
8480 | ||
8481 | =begin original | |
8482 | ||
8483 | (P) Something tried to call utf16_to_utf8_reversed with an odd (as opposed | |
8484 | to even) byte length. | |
8485 | ||
8486 | =end original | |
8487 | ||
8488 | (P) 何かが utf16_to_utf8_reversed を奇数バイト長で呼び出そうとしました。 | |
8489 | ||
6938 | 8490 | =item panic: yylex |
6939 | 8491 | |
6940 | 8492 | =begin original |
6941 | 8493 | |
6942 | 8494 | (P) The lexer got into a bad state while processing a case modifier. |
6943 | 8495 | |
6944 | 8496 | =end original |
6945 | 8497 | |
6946 | 8498 | (P) 大文字小文字修飾子を処理中に、字句解析部がおかしな状態に陥りました。 |
6947 | 8499 | |
8500 | =item Parsing code internal error (%s) | |
8501 | ||
8502 | =begin original | |
8503 | ||
8504 | (F) Parsing code supplied by an extension violated the parser's API in | |
8505 | a detectable way. | |
8506 | ||
8507 | =end original | |
8508 | ||
8509 | (F) エクステンションによって供給されたパースコードが、検出できる形で | |
8510 | パーサの API に違反しています。 | |
8511 | ||
8512 | =item Pattern subroutine nesting without pos change exceeded limit in regex; marked by <-- HERE in m/%s/ | |
8513 | ||
8514 | =begin original | |
8515 | ||
8516 | (F) You used a pattern that uses too many nested subpattern calls without | |
8517 | consuming any text. Restructure the pattern so text is consumed before the | |
8518 | nesting limit is exceeded. | |
8519 | ||
8520 | =end original | |
8521 | ||
8522 | (F) テキストを全く消費することなく、あまりに多くネストした副パターンを使う | |
8523 | パターンを使いました。 | |
8524 | ネストの制限を越える前にテキストを消費するようにパターンを | |
8525 | 再構成してください。 | |
8526 | ||
8527 | =begin original | |
8528 | ||
8529 | The <-- HERE shows in the regular expression about where the problem was | |
8530 | discovered. | |
8531 | ||
8532 | =end original | |
8533 | ||
8534 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
8535 | ||
6948 | 8536 | =item Parentheses missing around "%s" list |
6949 | 8537 | |
6950 | 8538 | =begin original |
6951 | 8539 | |
6952 | 8540 | (W parenthesis) You said something like |
6953 | 8541 | |
6954 | 8542 | =end original |
6955 | 8543 | |
6956 | 8544 | (W parenthesis) おそらく以下のようにしたのでしょう: |
6957 | 8545 | |
6958 | 8546 | my $foo, $bar = @_; |
6959 | 8547 | |
6960 | 8548 | =begin original |
6961 | 8549 | |
6962 | 8550 | when you meant |
6963 | 8551 | |
6964 | 8552 | =end original |
6965 | 8553 | |
6966 | 8554 | 以下のようにすべきです: |
6967 | 8555 | |
6968 | 8556 | my ($foo, $bar) = @_; |
6969 | 8557 | |
6970 | 8558 | =begin original |
6971 | 8559 | |
6972 | Remember that "my", "our", | |
8560 | Remember that "my", "our", "local" and "state" bind tighter than comma. | |
6973 | 8561 | |
6974 | 8562 | =end original |
6975 | 8563 | |
6976 | "my", "our", "local" は、コンマよりも強く結合することを | |
8564 | "my", "our", "local", "state" は、コンマよりも強く結合することを | |
6977 | 8565 | 忘れないでください。 |
6978 | 8566 | |
6979 | 8567 | =item C<-p> destination: %s |
6980 | 8568 | |
6981 | 8569 | =begin original |
6982 | 8570 | |
6983 | 8571 | (F) An error occurred during the implicit output invoked by the C<-p> |
6984 | 8572 | command-line switch. (This output goes to STDOUT unless you've |
6985 | 8573 | redirected it with select().) |
6986 | 8574 | |
6987 | 8575 | =end original |
6988 | 8576 | |
6989 | 8577 | (F) C<-p> コマンドラインオプションで起動された |
6990 | 8578 | 暗黙の出力中にエラーが発生しました。 |
6991 | 8579 | (この出力は select() でリダイレクトしていない限り STDOUT に出力されます。) |
6992 | 8580 | |
6993 | 8581 | =item (perhaps you forgot to load "%s"?) |
6994 | 8582 | |
6995 | 8583 | =begin original |
6996 | 8584 | |
6997 | 8585 | (F) This is an educated guess made in conjunction with the message |
6998 | 8586 | "Can't locate object method \"%s\" via package \"%s\"". It often means |
6999 | 8587 | that a method requires a package that has not been loaded. |
7000 | 8588 | |
7001 | 8589 | =end original |
7002 | 8590 | |
7003 | 8591 | (F) これは "Can't locate object method \"%s\" via package \"%s\"" の |
7004 | 8592 | メッセージと共に出る教育的な推測です。 |
7005 | 8593 | これはしばしばメソッドがまだロードされていないパッケージを |
7006 | 8594 | 要求していることを意味します。 |
7007 | 8595 | |
8596 | =item Perl folding rules are not up-to-date for 0x%x; please use the perlbug utility to report | |
8597 | ||
8598 | =begin original | |
8599 | ||
8600 | (W regex, deprecated) You used a regular expression with | |
8601 | case-insensitive matching, and there is a bug in Perl in which the | |
8602 | built-in regular expression folding rules are not accurate. This may | |
8603 | lead to incorrect results. Please report this as a bug using the | |
8604 | "perlbug" utility. (This message is marked deprecated, so that it by | |
8605 | default will be turned-on.) | |
8606 | ||
8607 | =end original | |
8608 | ||
8609 | (W regex, deprecated) 大文字小文字を無視するマッチングを行う正規表現を | |
8610 | 使いました; そして組み込みの正規表現畳み込み規則が正確でないという | |
8611 | Perl のバグがありました。 | |
8612 | これは間違った結果を引き起こします。 | |
8613 | どうか "perlbug" ユーティリティを使ってバグとして報告してください。 | |
8614 | (このメッセージは廃止予定としてマークされているので、デフォルトでは | |
8615 | オンになっています。) | |
8616 | ||
8617 | =item Perl_my_%s() not available | |
8618 | ||
8619 | =begin original | |
8620 | ||
8621 | (F) Your platform has very uncommon byte-order and integer size, | |
8622 | so it was not possible to set up some or all fixed-width byte-order | |
8623 | conversion functions. This is only a problem when you're using the | |
8624 | '<' or '>' modifiers in (un)pack templates. See L<perlfunc/pack>. | |
8625 | ||
8626 | =end original | |
8627 | ||
8628 | (F) あなたのプラットフォームはとても珍しいバイト順と整数サイズを | |
8629 | 使っているので、固定長バイト順変換関数の一部または全部を使うことができません。 | |
8630 | これは (un)pack テンプレートの中で | |
8631 | '<' か '>' の修飾子を使った場合にのみ問題となります。 | |
8632 | L<perlfunc/pack> を参照してください。 | |
8633 | ||
7008 | 8634 | =item Perl %s required--this is only version %s, stopped |
7009 | 8635 | |
7010 | 8636 | =begin original |
7011 | 8637 | |
7012 | 8638 | (F) The module in question uses features of a version of Perl more |
7013 | 8639 | recent than the currently running version. How long has it been since |
7014 | 8640 | you upgraded, anyway? See L<perlfunc/require>. |
7015 | 8641 | |
7016 | 8642 | =end original |
7017 | 8643 | |
7018 | 8644 | (F) 問題のモジュールは、現在実行中の Perl よりも最近のバージョンの |
7019 | 8645 | 機能を使っています。 |
7020 | 8646 | ところで、いつからアップグレードしていないのですか? |
7021 | 8647 | L<perlfunc/require> を参照してください。 |
7022 | 8648 | |
7023 | 8649 | =item PERL_SH_DIR too long |
7024 | 8650 | |
7025 | 8651 | =begin original |
7026 | 8652 | |
7027 | 8653 | (F) An error peculiar to OS/2. PERL_SH_DIR is the directory to find the |
7028 | 8654 | C<sh>-shell in. See "PERL_SH_DIR" in L<perlos2>. |
7029 | 8655 | |
7030 | 8656 | =end original |
7031 | 8657 | |
7032 | 8658 | (F) OS/2 固有のエラーです。 |
7033 | 8659 | PERL_SH_DIR は C<sh>-shell を見つけるためのディレクトリです。 |
7034 | 8660 | L<perlos2> の "PERL_SH_DIR" を参照してください。 |
7035 | 8661 | |
7036 | 8662 | =item PERL_SIGNALS illegal: "%s" |
7037 | 8663 | |
7038 | 8664 | =begin original |
7039 | 8665 | |
7040 | 8666 | See L<perlrun/PERL_SIGNALS> for legal values. |
7041 | 8667 | |
7042 | 8668 | =end original |
7043 | 8669 | |
7044 | 8670 | 有効な値については L<perlrun/PERL_SIGNALS> を参照してください。 |
7045 | 8671 | |
7046 | 8672 | =item perl: warning: Setting locale failed. |
7047 | 8673 | |
7048 | 8674 | =begin original |
7049 | 8675 | |
7050 | 8676 | (S) The whole warning message will look something like: |
7051 | 8677 | |
7052 | 8678 | =end original |
7053 | 8679 | |
7054 | 8680 | (S) 警告全体は以下のような形になります: |
7055 | 8681 | |
7056 | 8682 | perl: warning: Setting locale failed. |
7057 | 8683 | perl: warning: Please check that your locale settings: |
7058 | 8684 | LC_ALL = "En_US", |
7059 | 8685 | LANG = (unset) |
7060 | 8686 | are supported and installed on your system. |
7061 | 8687 | perl: warning: Falling back to the standard locale ("C"). |
7062 | 8688 | |
7063 | 8689 | =begin original |
7064 | 8690 | |
7065 | 8691 | Exactly what were the failed locale settings varies. In the above the |
7066 | 8692 | settings were that the LC_ALL was "En_US" and the LANG had no value. |
7067 | 8693 | This error means that Perl detected that you and/or your operating |
7068 | 8694 | system supplier and/or system administrator have set up the so-called |
7069 | 8695 | locale system but Perl could not use those settings. This was not |
7070 | 8696 | dead serious, fortunately: there is a "default locale" called "C" that |
7071 | Perl can and will use, the script will be run. Before you really | |
8697 | Perl can and will use, and the script will be run. Before you really | |
7072 | the problem, however, you will get the same error message each | |
8698 | fix the problem, however, you will get the same error message each | |
7073 | you run Perl. How to really fix the problem can be found in | |
8699 | time you run Perl. How to really fix the problem can be found in | |
7074 | 8700 | L<perllocale> section B<LOCALE PROBLEMS>. |
7075 | 8701 | |
7076 | 8702 | =end original |
7077 | 8703 | |
7078 | 8704 | 正確にどのロケール設定が失敗したのかは様々です。 |
7079 | 8705 | 上記では設定は LC_ALL は "En_US" で、LANG は空でした。 |
7080 | 8706 | このエラーは、あなたや OS 供給者やシステム管理者がロケールシステムと呼ばれる |
7081 | 8707 | ものをセットアップしましたが、Perl がこれらの設定を使えないことを |
7082 | 8708 | 検出したことを意味します。 |
7083 | 8709 | これは幸いにして致命的ではありません; Perl が使用できる "C" と呼ばれる |
7084 | 8710 | 「デフォルトロケール」が存在するので、スクリプトは実行されます。 |
7085 | 8711 | しかし、本当にこの問題を解決するまでは、Perl を実行する毎に同じエラー |
7086 | 8712 | メッセージが表示されます。 |
7087 | 8713 | 本当にこの問題を修正する方法は L<perllocale> の B<LOCALE PROBLEMS> の |
7088 | 8714 | 章にあります。 |
7089 | 8715 | |
7090 | =item Permission denied | |
7091 | ||
7092 | =begin original | |
7093 | ||
7094 | (F) The setuid emulator in suidperl decided you were up to no good. | |
7095 | ||
7096 | =end original | |
7097 | ||
7098 | (F) suidperl の setuid エミュレータは、実行者が安全とは | |
7099 | 言えないと判断しました。 | |
7100 | ||
7101 | 8716 | =item pid %x not a child |
7102 | 8717 | |
7103 | 8718 | =begin original |
7104 | 8719 | |
7105 | 8720 | (W exec) A warning peculiar to VMS. Waitpid() was asked to wait for a |
7106 | 8721 | process which isn't a subprocess of the current process. While this is |
7107 | 8722 | fine from VMS' perspective, it's probably not what you intended. |
7108 | 8723 | |
7109 | 8724 | =end original |
7110 | 8725 | |
7111 | (W exec) VMS 固有の警告です。 | |
8726 | (W exec) VMS に固有の警告です。 | |
7112 | 8727 | 現在のプロセスのサブプロセスでないプロセスに Waitpid() を使いました。 |
7113 | 8728 | これは VMS の観点からは問題ありませんが、おそらくあなたの望んでいることでは |
7114 | 8729 | ないでしょう。 |
7115 | 8730 | |
7116 | 8731 | =item 'P' must have an explicit size in unpack |
7117 | 8732 | |
7118 | 8733 | =begin original |
7119 | 8734 | |
7120 | 8735 | (F) The unpack format P must have an explicit size, not "*". |
7121 | 8736 | |
7122 | 8737 | =end original |
7123 | 8738 | |
7124 | 8739 | (F) unpack フォーマット P は "*" ではなく、明示的なサイズを |
7125 | 8740 | 指定しなければなりません。 |
7126 | 8741 | |
7127 | =item B<-P> not allowed for setuid/setgid script | |
7128 | ||
7129 | =begin original | |
7130 | ||
7131 | (F) The script would have to be opened by the C preprocessor by name, | |
7132 | which provides a race condition that breaks security. | |
7133 | ||
7134 | =end original | |
7135 | ||
7136 | (F) C プリプロセッサがスクリプトをオープンするときには、 | |
7137 | 名前でオープンしなければいけませんが、これは、安全性を損なう競合条件を | |
7138 | もたらします。 | |
7139 | ||
7140 | 8742 | =item POSIX class [:%s:] unknown in regex; marked by <-- HERE in m/%s/ |
7141 | 8743 | |
7142 | 8744 | =begin original |
7143 | 8745 | |
7144 | 8746 | (F) The class in the character class [: :] syntax is unknown. The <-- HERE |
7145 | 8747 | shows in the regular expression about where the problem was discovered. |
7146 | 8748 | Note that the POSIX character classes do B<not> have the C<is> prefix |
7147 | 8749 | the corresponding C interfaces have: in other words, it's C<[[:print:]]>, |
7148 | 8750 | not C<isprint>. See L<perlre>. |
7149 | 8751 | |
7150 | 8752 | =end original |
7151 | 8753 | |
7152 | 8754 | (F) 文字クラス [: :] 文法の中のクラスは不明です。 |
7153 | 8755 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
7154 | 8756 | POSIX 文字クラスは、対応する C インターフェースが持っている C<is> 接頭辞が |
7155 | 8757 | B<付かない> ことに注意してください: 言い換えると、C<[[:print:]]> であり、 |
7156 | 8758 | C<isprint> ではありません。 |
7157 | 8759 | L<perlre> を参照してください。 |
7158 | 8760 | |
7159 | 8761 | =item POSIX getpgrp can't take an argument |
7160 | 8762 | |
7161 | 8763 | =begin original |
7162 | 8764 | |
7163 | 8765 | (F) Your system has POSIX getpgrp(), which takes no argument, unlike |
7164 | 8766 | the BSD version, which takes a pid. |
7165 | 8767 | |
7166 | 8768 | =end original |
7167 | 8769 | |
7168 | 8770 | (F) お使いのシステムは、引数に pid をとる BSD バージョンの |
7169 | 8771 | getpgrp() と違って、引数をとらない POSIX のものを使っています。 |
7170 | 8772 | |
7171 | 8773 | =item POSIX syntax [%s] belongs inside character classes in regex; marked by <-- HERE in m/%s/ |
7172 | 8774 | |
7173 | 8775 | =begin original |
7174 | 8776 | |
7175 | 8777 | (W regexp) The character class constructs [: :], [= =], and [. .] go |
7176 | 8778 | I<inside> character classes, the [] are part of the construct, for example: |
7177 | 8779 | /[012[:alpha:]345]/. Note that [= =] and [. .] are not currently |
7178 | 8780 | implemented; they are simply placeholders for future extensions and will |
7179 | 8781 | cause fatal errors. The <-- HERE shows in the regular expression about |
7180 | 8782 | where the problem was discovered. See L<perlre>. |
7181 | 8783 | |
7182 | 8784 | =end original |
7183 | 8785 | |
7184 | 8786 | (W regexp) 例えば /[012[:alpha:]345]/ のように、文字クラス構造 [: :], [= =], |
7185 | 8787 | [. .] が文字クラスの I<内側> にあり、[] は構造の一部です。 |
7186 | 8788 | [= =] と [. .] は現在のところ実装されていないことに注意してください; |
7187 | 8789 | これらは単に将来の拡張のためのプレースホルダであり、致命的エラーを |
7188 | 8790 | 生成します。 |
7189 | 8791 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
7190 | 8792 | L<perlre> を参照してください。 |
7191 | 8793 | |
7192 | 8794 | =item POSIX syntax [. .] is reserved for future extensions in regex; marked by <-- HERE in m/%s/ |
7193 | 8795 | |
7194 | =begin original | |
8796 | =begin original | |
7195 | 8797 | |
7196 | 8798 | (F regexp) Within regular expression character classes ([]) the syntax |
7197 | 8799 | beginning with "[." and ending with ".]" is reserved for future extensions. |
7198 | 8800 | If you need to represent those character sequences inside a regular |
7199 | 8801 | expression character class, just quote the square brackets with the |
7200 | 8802 | backslash: "\[." and ".\]". The <-- HERE shows in the regular expression |
7201 | 8803 | about where the problem was discovered. See L<perlre>. |
7202 | 8804 | |
7203 | 8805 | =end original |
7204 | 8806 | |
7205 | 8807 | (F regexp) 正規表現文字クラス ([]) の中では、"[." で始まる文法と ".]" で |
7206 | 8808 | 終わる文法は将来の拡張のために予約されます。 |
7207 | 8809 | 正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある |
7208 | 8810 | 場合には、"\[." と ".\]" のように、大かっこをバックスラッシュで |
7209 | 8811 | クォートしてください。 |
7210 | 8812 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
7211 | 8813 | L<perlre> を参照してください。 |
7212 | 8814 | |
7213 | 8815 | =item POSIX syntax [= =] is reserved for future extensions in regex; marked by <-- HERE in m/%s/ |
7214 | 8816 | |
7215 | 8817 | =begin original |
7216 | 8818 | |
7217 | 8819 | (F) Within regular expression character classes ([]) the syntax beginning |
7218 | 8820 | with "[=" and ending with "=]" is reserved for future extensions. If you |
7219 | 8821 | need to represent those character sequences inside a regular expression |
7220 | 8822 | character class, just quote the square brackets with the backslash: "\[=" |
7221 | 8823 | and "=\]". The <-- HERE shows in the regular expression about where the |
7222 | 8824 | problem was discovered. See L<perlre>. |
7223 | 8825 | |
7224 | 8826 | =end original |
7225 | 8827 | |
7226 | 8828 | (F) 正規表現文字クラス ([]) の中では、"[=" で始まる文法と "=]" で |
7227 | 8829 | 終わる文法は将来の拡張のために予約されます。 |
7228 | 8830 | 正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある |
7229 | 8831 | 場合には、"\[=" と "=\]" のように、大かっこをバックスラッシュで |
7230 | 8832 | クォートしてください。 |
7231 | 8833 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
7232 | 8834 | L<perlre> を参照してください。 |
7233 | 8835 | |
7234 | 8836 | =item Possible attempt to put comments in qw() list |
7235 | 8837 | |
7236 | 8838 | =begin original |
7237 | 8839 | |
7238 | 8840 | (W qw) qw() lists contain items separated by whitespace; as with literal |
7239 | 8841 | strings, comment characters are not ignored, but are instead treated as |
7240 | 8842 | literal data. (You may have used different delimiters than the |
7241 | 8843 | parentheses shown here; braces are also frequently used.) |
7242 | 8844 | |
7243 | 8845 | =end original |
7244 | 8846 | |
7245 | 8847 | (W qw) qw() リストは空白で分割されたアイテムを含んでいます; |
7246 | 8848 | リテラル文字列では、コメント文字無視されず、リテラルデータとして扱われます。 |
7247 | ( | |
8849 | (ここで使われているのと違うデリミタを用いているかもしれません; | |
8850 | 大かっこもよく使われます。) | |
7248 | 8851 | |
7249 | 8852 | =begin original |
7250 | 8853 | |
7251 | 8854 | You probably wrote something like this: |
7252 | 8855 | |
7253 | 8856 | =end original |
7254 | 8857 | |
7255 | 8858 | おそらく以下のように書いたのでしょう: |
7256 | 8859 | |
7257 | 8860 | @list = qw( |
7258 | 8861 | a # a comment |
7259 | 8862 | b # another comment |
7260 | 8863 | ); |
7261 | 8864 | |
7262 | 8865 | =begin original |
7263 | 8866 | |
7264 | 8867 | when you should have written this: |
7265 | 8868 | |
7266 | 8869 | =end original |
7267 | 8870 | |
7268 | 8871 | 以下のように書くべきです: |
7269 | 8872 | |
7270 | 8873 | @list = qw( |
7271 | 8874 | a |
7272 | 8875 | b |
7273 | 8876 | ); |
7274 | 8877 | |
7275 | 8878 | =begin original |
7276 | 8879 | |
7277 | 8880 | If you really want comments, build your list the |
7278 | 8881 | old-fashioned way, with quotes and commas: |
7279 | 8882 | |
7280 | 8883 | =end original |
7281 | 8884 | |
7282 | 8885 | 本当にコメントをつけたいのなら、 |
7283 | 8886 | リストを昔のクォートとカンマの形で書いてください。 |
7284 | 8887 | |
7285 | 8888 | @list = ( |
7286 | 8889 | 'a', # a comment |
7287 | 8890 | 'b', # another comment |
7288 | 8891 | ); |
7289 | 8892 | |
7290 | 8893 | =item Possible attempt to separate words with commas |
7291 | 8894 | |
7292 | 8895 | =begin original |
7293 | 8896 | |
7294 | 8897 | (W qw) qw() lists contain items separated by whitespace; therefore |
7295 | 8898 | commas aren't needed to separate the items. (You may have used |
7296 | 8899 | different delimiters than the parentheses shown here; braces are also |
7297 | 8900 | frequently used.) |
7298 | 8901 | |
7299 | 8902 | =end original |
7300 | 8903 | |
7301 | 8904 | (W qw) qw() リストに空白で分割された項目があります; |
7302 | 8905 | そのため、カンマは項目を分割する必要がありません。 |
7303 | 8906 | (ここで使われているのと違うデリミタを用いているかもしれません; |
7304 | 大 | |
8907 | 大かっこもよく使われます。) | |
7305 | 8908 | |
7306 | 8909 | =begin original |
7307 | 8910 | |
7308 | 8911 | You probably wrote something like this: |
7309 | 8912 | |
7310 | 8913 | =end original |
7311 | 8914 | |
7312 | 8915 | おそらく以下のように書いたのでしょう: |
7313 | 8916 | |
7314 | 8917 | qw! a, b, c !; |
7315 | 8918 | |
7316 | 8919 | =begin original |
7317 | 8920 | |
7318 | 8921 | which puts literal commas into some of the list items. Write it without |
7319 | 8922 | commas if you don't want them to appear in your data: |
7320 | 8923 | |
7321 | 8924 | =end original |
7322 | 8925 | |
7323 | 8926 | リスト要素の中にリテラルのカンマを書いています。 |
7324 | 8927 | データの中にカンマを出したくないなら、カンマなしで書きます: |
7325 | 8928 | |
7326 | 8929 | qw! a b c !; |
7327 | 8930 | |
7328 | 8931 | =item Possible memory corruption: %s overflowed 3rd argument |
7329 | 8932 | |
7330 | 8933 | =begin original |
7331 | 8934 | |
7332 | 8935 | (F) An ioctl() or fcntl() returned more than Perl was bargaining for. |
7333 | 8936 | Perl guesses a reasonable buffer size, but puts a sentinel byte at the |
7334 | 8937 | end of the buffer just in case. This sentinel byte got clobbered, and |
7335 | 8938 | Perl assumes that memory is now corrupted. See L<perlfunc/ioctl>. |
7336 | 8939 | |
7337 | 8940 | =end original |
7338 | 8941 | |
7339 | 8942 | (F) ioctl() や fcntl() が、Perl が求めていた以上のものを返してきました。 |
7340 | 8943 | Perl は、適量のバッファサイズを見積もりますが、念のためにバッファの |
7341 | 8944 | 最後に目印を付けています。 |
7342 | 8945 | この目印が壊されたため、Perl はメモリの破壊が起こったと判断しました。 |
7343 | 8946 | L<perlfunc/ioctl> を参照してください。 |
7344 | 8947 | |
7345 | 8948 | =item Possible precedence problem on bitwise %c operator |
7346 | 8949 | |
7347 | 8950 | =begin original |
7348 | 8951 | |
7349 | 8952 | (W precedence) Your program uses a bitwise logical operator in conjunction |
7350 | 8953 | with a numeric comparison operator, like this : |
7351 | 8954 | |
7352 | 8955 | =end original |
7353 | 8956 | |
7354 | 8957 | (W precedence) 以下のように、ビット単位の論理演算子を数値比較演算子と |
7355 | 8958 | 結合して使用しています: |
7356 | 8959 | |
7357 | 8960 | if ($x & $y == 0) { ... } |
7358 | 8961 | |
7359 | 8962 | =begin original |
7360 | 8963 | |
7361 | 8964 | This expression is actually equivalent to C<$x & ($y == 0)>, due to the |
7362 | 8965 | higher precedence of C<==>. This is probably not what you want. (If you |
7363 | 8966 | really meant to write this, disable the warning, or, better, put the |
7364 | 8967 | parentheses explicitly and write C<$x & ($y == 0)>). |
7365 | 8968 | |
7366 | 8969 | =end original |
7367 | 8970 | |
7368 | 8971 | この式は、C<==> の優先順位の方が高いので、C<$x & ($y == 0)> と |
7369 | 8972 | 等価になります。 |
7370 | 8973 | これはおそらく望んでいるものではないでしょう。 |
7371 | 8974 | (もし本当にこのように書きたいのなら、警告を無効にするか、あるいは |
7372 | よりよいのはかっこを明示的に使って C<$x & ($y == 0)> と書きます | |
8975 | よりよいのはかっこを明示的に使って C<$x & ($y == 0)> と書きます)。 | |
7373 | 8976 | |
7374 | =item Possible unintended interpolation of | |
8977 | =item Possible unintended interpolation of $\ in regex | |
7375 | 8978 | |
7376 | 8979 | =begin original |
7377 | 8980 | |
7378 | (W ambiguous) You said something like | |
8981 | (W ambiguous) You said something like C<m/$\/> in a regex. | |
7379 | ||
8982 | The regex C<m/foo$\s+bar/m> translates to: match the word 'foo', the output | |
7380 | ||
8983 | record separator (see L<perlvar/$\>) and the letter 's' (one time or more) | |
7381 | ||
8984 | followed by the word 'bar'. | |
7382 | 8985 | |
7383 | 8986 | =end original |
7384 | 8987 | |
7385 | (W ambiguous) | |
8988 | (W ambiguous) 正規表現で C<m/$\/> のようなことをしました。 | |
7386 | 現 | |
8989 | 正規表現 C<m/foo$\s+bar/m> は以下のように翻訳されます: 単語 'foo'、出力 | |
7387 | ||
8990 | レコードセパレータ (L<perlvar/$\> 参照)、文字 's' (1 回以上)、単語 | |
7388 | ||
8991 | 'bar' にマッチングします。 | |
7389 | 調べてください。 | |
7390 | 8992 | |
7391 | =item Possible Y2K bug: %s | |
7392 | ||
7393 | 8993 | =begin original |
7394 | 8994 | |
7395 | ||
8995 | If this is what you intended then you can silence the warning by using | |
7396 | ||
8996 | C<m/${\}/> (for example: C<m/foo${\}s+bar/>). | |
7397 | 8997 | |
7398 | 8998 | =end original |
7399 | 8999 | |
7400 | ||
9000 | これがあなたのしたいことなら、C<m/${\}/> を使うことで警告を抑制できます | |
7401 | ||
9001 | (例えば: C<m/foo${\}s+bar/>)。 | |
7402 | 9002 | |
7403 | =item pragma "attrs" is deprecated, use "sub NAME : ATTRS" instead | |
7404 | ||
7405 | 9003 | =begin original |
7406 | 9004 | |
7407 | ||
9005 | If instead you intended to match the word 'foo' at the end of the line | |
9006 | followed by whitespace and the word 'bar' on the next line then you can use | |
9007 | C<m/$(?)\/> (for example: C<m/foo$(?)\s+bar/>). | |
7408 | 9008 | |
7409 | 9009 | =end original |
7410 | 9010 | |
7411 | ||
9011 | そうではなく、行末の単語 'foo' に引き続いて、次の行で空白と単語 'bar' に | |
9012 | マッチングしたいなら、C<m/$(?)\/> を使ってください (例えば: | |
9013 | C<m/foo$(?)\s+bar/>)。 | |
7412 | 9014 | |
7413 | | |
9015 | =item Possible unintended interpolation of %s in string | |
7414 | { | |
7415 | use attrs qw(locked); | |
7416 | } | |
7417 | 9016 | |
7418 | 9017 | =begin original |
7419 | 9018 | |
7420 | ||
9019 | (W ambiguous) You said something like `@foo' in a double-quoted string | |
9020 | but there was no array C<@foo> in scope at the time. If you wanted a | |
9021 | literal @foo, then write it as \@foo; otherwise find out what happened | |
9022 | to the array you apparently lost track of. | |
7421 | 9023 | |
7422 | 9024 | =end original |
7423 | 9025 | |
7424 | ||
9026 | (W ambiguous) 「@foo」のようなものをダブルクォート文字列の中に書きましたが、 | |
9027 | 現在のスコープ内に C<@foo> という配列はありません。 | |
9028 | リテラルな @foo を指定したい場合は、\@foo と書いてください; | |
9029 | そうでなければ、どうやら見失ってしまったらしい配列に何が起こったを | |
9030 | 調べてください。 | |
7425 | 9031 | |
7426 | sub doit : locked | |
7427 | { | |
7428 | ... | |
7429 | ||
7430 | =begin original | |
7431 | ||
7432 | The C<use attrs> pragma is now obsolete, and is only provided for | |
7433 | backward-compatibility. See L<perlsub/"Subroutine Attributes">. | |
7434 | ||
7435 | =end original | |
7436 | ||
7437 | C<use attrs> プラグマはもう古いもので、後方互換性のためだけに | |
7438 | 提供されています。 | |
7439 | L<perlsub/"Subroutine Attributes"> を参照してください。 | |
7440 | ||
7441 | 9032 | =item Precedence problem: open %s should be open(%s) |
7442 | 9033 | |
7443 | 9034 | =begin original |
7444 | 9035 | |
7445 | 9036 | (S precedence) The old irregular construct |
7446 | 9037 | |
7447 | 9038 | =end original |
7448 | 9039 | |
7449 | 9040 | (S precedence) 古い変則的な構文 |
7450 | 9041 | |
7451 | 9042 | open FOO || die; |
7452 | 9043 | |
7453 | 9044 | =begin original |
7454 | 9045 | |
7455 | 9046 | is now misinterpreted as |
7456 | 9047 | |
7457 | 9048 | =end original |
7458 | 9049 | |
7459 | 9050 | は現在は、Perl 5 の文法の厳しい正規化の結果、単項演算子か |
7460 | 9051 | リスト演算子と解釈されますので、 |
7461 | 9052 | |
7462 | 9053 | open(FOO || die); |
7463 | 9054 | |
7464 | 9055 | =begin original |
7465 | 9056 | |
7466 | 9057 | because of the strict regularization of Perl 5's grammar into unary and |
7467 | 9058 | list operators. (The old open was a little of both.) You must put |
7468 | 9059 | parentheses around the filehandle, or use the new "or" operator instead |
7469 | 9060 | of "||". |
7470 | 9061 | |
7471 | 9062 | =end original |
7472 | 9063 | |
7473 | 9064 | という風に誤った解釈がなされます。 |
7474 | 9065 | (古い open は、単項演算子とリスト演算子の中間のようなものでした。) |
7475 | ファイルハンドルの前後を | |
9066 | ファイルハンドルの前後をかっこで囲むか、"||" 演算子の代わりに | |
7476 | 9067 | "or" 演算子を使わなくてはなりません。 |
7477 | 9068 | |
7478 | 9069 | =item Premature end of script headers |
7479 | 9070 | |
7480 | 9071 | =begin original |
7481 | 9072 | |
7482 | 9073 | See Server error. |
7483 | 9074 | |
7484 | 9075 | =end original |
7485 | 9076 | |
7486 | "Server error"を参照してください。 | |
9077 | "Server error" を参照してください。 | |
7487 | 9078 | |
7488 | 9079 | =item printf() on closed filehandle %s |
7489 | 9080 | |
7490 | 9081 | =begin original |
7491 | 9082 | |
7492 | 9083 | (W closed) The filehandle you're writing to got itself closed sometime |
7493 | 9084 | before now. Check your control flow. |
7494 | 9085 | |
7495 | 9086 | =end original |
7496 | 9087 | |
7497 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既に | |
9088 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既に閉じられています。 | |
7498 | 9089 | 制御フローをチェックしてください。 |
7499 | 9090 | |
7500 | 9091 | =item print() on closed filehandle %s |
7501 | 9092 | |
7502 | 9093 | =begin original |
7503 | 9094 | |
7504 | 9095 | (W closed) The filehandle you're printing on got itself closed sometime |
7505 | 9096 | before now. Check your control flow. |
7506 | 9097 | |
7507 | 9098 | =end original |
7508 | 9099 | |
7509 | (W closed) print を行なおうとしたファイルハンドルは、既に | |
9100 | (W closed) print を行なおうとしたファイルハンドルは、既に閉じられています。 | |
7510 | 9101 | 制御フローをチェックしてください。 |
7511 | 9102 | |
7512 | 9103 | =item Process terminated by SIG%s |
7513 | 9104 | |
7514 | 9105 | =begin original |
7515 | 9106 | |
7516 | 9107 | (W) This is a standard message issued by OS/2 applications, while *nix |
7517 | 9108 | applications die in silence. It is considered a feature of the OS/2 |
7518 | 9109 | port. One can easily disable this by appropriate sighandlers, see |
7519 | 9110 | L<perlipc/"Signals">. See also "Process terminated by SIGTERM/SIGINT" |
7520 | 9111 | in L<perlos2>. |
7521 | 9112 | |
7522 | 9113 | =end original |
7523 | 9114 | |
7524 | 9115 | (W) *nix アプリケーションは何も出力せずに終了しますが、 |
7525 | 9116 | OS/2 アプリケーションはこれを標準メッセージとして出力します。 |
7526 | 9117 | これは OS/2 版の仕様とみなされています。 |
7527 | 9118 | 適切なシグナルハンドラによって簡単に無効にできます; |
7528 | 9119 | L<perlipc/"Signals"> を参照してください。 |
7529 | 9120 | L<perlos2> の "Process terminated by SIGTERM/SIGINT" も参照してください。 |
7530 | 9121 | |
9122 | =item Prototype after '%c' for %s : %s | |
9123 | ||
9124 | =begin original | |
9125 | ||
9126 | (W illegalproto) A character follows % or @ in a prototype. This is useless, | |
9127 | since % and @ gobble the rest of the subroutine arguments. | |
9128 | ||
9129 | =end original | |
9130 | ||
9131 | (W illegalproto) プロトタイプで % または @ に文字が引き続いています。 | |
9132 | これは無意味です; % と @ は残りのサブルーチン引数を全て飲み込むからです。 | |
9133 | ||
7531 | 9134 | =item Prototype mismatch: %s vs %s |
7532 | 9135 | |
7533 | 9136 | =begin original |
7534 | 9137 | |
7535 | 9138 | (S prototype) The subroutine being declared or defined had previously been |
7536 | 9139 | declared or defined with a different function prototype. |
7537 | 9140 | |
7538 | 9141 | =end original |
7539 | 9142 | |
7540 | 9143 | (S prototype) 以前異なる関数プロトタイプで宣言または定義された |
7541 | 9144 | サブルーチンが宣言または定義されました。 |
7542 | 9145 | |
7543 | 9146 | =item Prototype not terminated |
7544 | 9147 | |
7545 | 9148 | =begin original |
7546 | 9149 | |
7547 | 9150 | (F) You've omitted the closing parenthesis in a function prototype |
7548 | 9151 | definition. |
7549 | 9152 | |
7550 | 9153 | =end original |
7551 | 9154 | |
7552 | 9155 | (F) 関数プロトタイプ宣言で、閉じかっこがありませんでした。 |
7553 | 9156 | |
7554 | =item | |
9157 | =item \p{} uses Unicode rules, not locale rules | |
7555 | 9158 | |
7556 | 9159 | =begin original |
7557 | 9160 | |
7558 | ( | |
9161 | (W) You compiled a regular expression that contained a Unicode property | |
7559 | ||
9162 | match (C<\p> or C<\P>), but the regular expression is also being told to | |
7560 | ||
9163 | use the run-time locale, not Unicode. Instead, use a POSIX character | |
9164 | class, which should know about the locale's rules. | |
9165 | (See L<perlrecharclass/POSIX Character Classes>.) | |
7561 | 9166 | |
7562 | 9167 | =end original |
7563 | 9168 | |
7564 | ( | |
9169 | (W) Unicode 特性マッチング(C<\p> または C<\P>)を含む正規表現を | |
7565 | ||
9170 | コンパイルしましたが、その正規表現は Unicode ではなく実行時ロケールを使うとも | |
7566 | ||
9171 | 設定されています。 | |
7567 | ||
9172 | 代わりに、ロケールの規則を知っているはずの POSIX 文字クラスを使ってください。 | |
9173 | (L<perlrecharclass/POSIX Character Classes> を参照してください。) | |
7568 | 9174 | |
9175 | =begin original | |
9176 | ||
9177 | Even if the run-time locale is ISO 8859-1 (Latin1), which is a subset of | |
9178 | Unicode, some properties will give results that are not valid for that | |
9179 | subset. | |
9180 | ||
9181 | =end original | |
9182 | ||
9183 | たとえ実行時ロケールが Unicode のサブセットである ISO 8859-1 (Latin1) でも、 | |
9184 | 一部の特性はサブセットに対しては不正であるという結果を返します。 | |
9185 | ||
9186 | =begin original | |
9187 | ||
9188 | Here are a couple of examples to help you see what's going on. If the | |
9189 | locale is ISO 8859-7, the character at code point 0xD7 is the "GREEK | |
9190 | CAPITAL LETTER CHI". But in Unicode that code point means the | |
9191 | "MULTIPLICATION SIGN" instead, and C<\p> always uses the Unicode | |
9192 | meaning. That means that C<\p{Alpha}> won't match, but C<[[:alpha:]]> | |
9193 | should. Only in the Latin1 locale are all the characters in the same | |
9194 | positions as they are in Unicode. But, even here, some properties give | |
9195 | incorrect results. An example is C<\p{Changes_When_Uppercased}> which | |
9196 | is true for "LATIN SMALL LETTER Y WITH DIAERESIS", but since the upper | |
9197 | case of that character is not in Latin1, in that locale it doesn't | |
9198 | change when upper cased. | |
9199 | ||
9200 | =end original | |
9201 | ||
9202 | 以下に、何が起きているかを知る助けになる例を二つ挙げます。 | |
9203 | ロケールが ISO 8859-7 なら、符号位置 0xD7 の文字は "GREEK CAPITAL LETTER CHI" | |
9204 | です。 | |
9205 | しかし Unicode ではこの符号位置は "MULTIPLICATION SIGN" を意味し、 | |
9206 | C<\p> は常に Unicode の意味を使います。 | |
9207 | これは、C<\p{Alpha}> にはマッチングしませんが、C<[[:alpha:]]> には | |
9208 | マッチングするということです。 | |
9209 | Latin1 ロケールのみが、全ての文字について Unicode と同じ位置を持ちます。 | |
9210 | しかし、それでも、一部の特性は正しくない結果となります。 | |
9211 | 例えば、C<\p{Changes_When_Uppercased}> は "LATIN SMALL LETTER Y WITH | |
9212 | DIAERESIS" では真ですが、この文字の大文字は Latin1 にはないので、 | |
9213 | 大文字にしたときにこの文字は変更されません。 | |
9214 | ||
7569 | 9215 | =item Quantifier follows nothing in regex; marked by <-- HERE in m/%s/ |
7570 | 9216 | |
7571 | 9217 | =begin original |
7572 | 9218 | |
7573 | 9219 | (F) You started a regular expression with a quantifier. Backslash it if you |
7574 | 9220 | meant it literally. The <-- HERE shows in the regular expression about |
7575 | 9221 | where the problem was discovered. See L<perlre>. |
7576 | 9222 | |
7577 | 9223 | =end original |
7578 | 9224 | |
7579 | 9225 | (F) 正規表現を量指定子で開始しています。 |
7580 | 9226 | もしそれをリテラルに使いたいなら、バックスラッシュでクォートしてください。 |
7581 | 9227 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
7582 | 9228 | L<perlre> を参照してください。 |
7583 | 9229 | |
7584 | 9230 | =item Quantifier in {,} bigger than %d in regex; marked by <-- HERE in m/%s/ |
7585 | 9231 | |
7586 | 9232 | =begin original |
7587 | 9233 | |
7588 | 9234 | (F) There is currently a limit to the size of the min and max values of the |
7589 | 9235 | {min,max} construct. The <-- HERE shows in the regular expression about where |
7590 | 9236 | the problem was discovered. See L<perlre>. |
7591 | 9237 | |
7592 | 9238 | =end original |
7593 | 9239 | |
7594 | 9240 | 現在のところ、{min,max} 構造の最大値と最小値には制限があります。 |
7595 | 9241 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
7596 | 9242 | L<perlre> を参照してください。 |
7597 | 9243 | |
7598 | 9244 | =item Quantifier unexpected on zero-length expression; marked by <-- HERE in m/%s/ |
7599 | 9245 | |
7600 | 9246 | =begin original |
7601 | 9247 | |
7602 | 9248 | (W regexp) You applied a regular expression quantifier in a place where |
7603 | 9249 | it makes no sense, such as on a zero-width assertion. Try putting the |
7604 | 9250 | quantifier inside the assertion instead. For example, the way to match |
7605 | 9251 | "abc" provided that it is followed by three repetitions of "xyz" is |
7606 | 9252 | C</abc(?=(?:xyz){3})/>, not C</abc(?=xyz){3}/>. |
7607 | 9253 | |
7608 | 9254 | =end original |
7609 | 9255 | |
7610 | 9256 | (W regexp) 正規表現量指定子をゼロ幅アサーションのような意味のない場所に |
7611 | 9257 | 適用しました。 |
7612 | 9258 | 代わりにアサーションの中に量指定子を置いてください。 |
7613 | 9259 | 例えば、"xyz" を 3 回繰り返した後の "abc" にマッチングさせるには、 |
7614 | 9260 | C</abc(?=xyz){3}/> ではなく C</abc(?=(?:xyz){3})/> としてください。 |
7615 | 9261 | |
7616 | 9262 | =begin original |
7617 | 9263 | |
7618 | 9264 | The <-- HERE shows in the regular expression about where the problem was |
7619 | 9265 | discovered. |
7620 | 9266 | |
7621 | 9267 | =end original |
7622 | 9268 | |
7623 | 9269 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
7624 | 9270 | |
7625 | 9271 | =item Range iterator outside integer range |
7626 | 9272 | |
7627 | 9273 | =begin original |
7628 | 9274 | |
7629 | 9275 | (F) One (or both) of the numeric arguments to the range operator ".." |
7630 | 9276 | are outside the range which can be represented by integers internally. |
7631 | 9277 | One possible workaround is to force Perl to use magical string increment |
7632 | 9278 | by prepending "0" to your numbers. |
7633 | 9279 | |
7634 | 9280 | =end original |
7635 | 9281 | |
7636 | 9282 | (F) 範囲演算子 ".." の一つ(または両方)の数値引数が、内部で整数として |
7637 | 9283 | 表現できる範囲を越えています。 |
7638 | 9284 | 回避方法のひとつとしては、数値の頭に "0" を付けることで Perl に |
7639 | 9285 | マジカル文字列インクリメントの使用を強制させることです。 |
7640 | 9286 | |
9287 | =item readdir() attempted on invalid dirhandle %s | |
9288 | ||
9289 | =begin original | |
9290 | ||
9291 | (W io) The dirhandle you're reading from is either closed or not really | |
9292 | a dirhandle. Check your control flow. | |
9293 | ||
9294 | =end original | |
9295 | ||
9296 | (W io) 読み込もうとしたディレクトリハンドルは既に閉じられているか、 | |
9297 | 実際にはディレクトリハンドルではありません。 | |
9298 | 制御フローをチェックしてください。 | |
9299 | ||
7641 | 9300 | =item readline() on closed filehandle %s |
7642 | 9301 | |
7643 | 9302 | =begin original |
7644 | 9303 | |
7645 | 9304 | (W closed) The filehandle you're reading from got itself closed sometime |
7646 | 9305 | before now. Check your control flow. |
7647 | 9306 | |
7648 | 9307 | =end original |
7649 | 9308 | |
7650 | (W closed) 読み込 | |
9309 | (W closed) 読み込もうとしたファイルハンドルは、既に閉じられています。 | |
7651 | 9310 | 制御フローをチェックしてください。 |
7652 | 9311 | |
7653 | 9312 | =item read() on closed filehandle %s |
7654 | 9313 | |
7655 | 9314 | =begin original |
7656 | 9315 | |
7657 | 9316 | (W closed) You tried to read from a closed filehandle. |
7658 | 9317 | |
7659 | 9318 | =end original |
7660 | 9319 | |
7661 | 9320 | (W closed) 閉じたファイルハンドルから読み込もうとしました。 |
7662 | 9321 | |
7663 | 9322 | =item read() on unopened filehandle %s |
7664 | 9323 | |
7665 | 9324 | =begin original |
7666 | 9325 | |
7667 | 9326 | (W unopened) You tried to read from a filehandle that was never opened. |
7668 | 9327 | |
7669 | 9328 | =end original |
7670 | 9329 | |
7671 | 9330 | (W unopened) 開いていないファイルハンドルから読み込もうとしました。 |
7672 | 9331 | |
7673 | =item Reallocation too large: % | |
9332 | =item Reallocation too large: %x | |
7674 | 9333 | |
7675 | 9334 | =begin original |
7676 | 9335 | |
7677 | 9336 | (F) You can't allocate more than 64K on an MS-DOS machine. |
7678 | 9337 | |
7679 | 9338 | =end original |
7680 | 9339 | |
7681 | 9340 | (F) MS-DOS マシンでは、64K を越えるメモリを割り当てることはできません。 |
7682 | 9341 | |
7683 | 9342 | =item realloc() of freed memory ignored |
7684 | 9343 | |
7685 | 9344 | =begin original |
7686 | 9345 | |
7687 | 9346 | (S malloc) An internal routine called realloc() on something that had |
7688 | 9347 | already been freed. |
7689 | 9348 | |
7690 | 9349 | =end original |
7691 | 9350 | |
7692 | 9351 | 内部ルーチンが、何か既に解放されているものに対して realloc() を |
7693 | 9352 | 呼び出しました。 |
7694 | 9353 | |
7695 | 9354 | =item Recompile perl with B<-D>DEBUGGING to use B<-D> switch |
7696 | 9355 | |
7697 | 9356 | =begin original |
7698 | 9357 | |
7699 | 9358 | (F debugging) You can't use the B<-D> option unless the code to produce |
7700 | 9359 | the desired output is compiled into Perl, which entails some overhead, |
7701 | 9360 | which is why it's currently left out of your copy. |
7702 | 9361 | |
7703 | 9362 | =end original |
7704 | 9363 | |
7705 | 9364 | (F debugging) Perl のコンパイル時に、適切な出力ルーティンが |
7706 | 組み込まれていなければ、B<-D> スイッチを使うことはできません | |
9365 | 組み込まれていなければ、B<-D> スイッチを使うことはできません; | |
7707 | 9366 | これは、多少のオーバヘッドがかかるもので、それが現在使っている |
7708 | 9367 | Perl に組み込んでない理由でしょう。 |
7709 | 9368 | |
7710 | 9369 | =item Recursive inheritance detected in package '%s' |
7711 | 9370 | |
7712 | 9371 | =begin original |
7713 | 9372 | |
7714 | (F) | |
9373 | (F) While calculating the method resolution order (MRO) of a package, Perl | |
7715 | an | |
9374 | believes it found an infinite loop in the C<@ISA> hierarchy. This is a | |
9375 | crude check that bails out after 100 levels of C<@ISA> depth. | |
7716 | 9376 | |
7717 | 9377 | =end original |
7718 | 9378 | |
7719 | (F) | |
9379 | (F) パッケージのメソッド解決順序 (MRO) の計算中に、C<@ISA> 構造に | |
7720 | ||
9380 | 無限ループがあると判断しました。 | |
7721 | ||
9381 | これは、C<@ISA> を 100 階層探索した後に起きる荒いチェックです。 | |
7722 | 9382 | |
7723 | =item | |
9383 | =item refcnt_dec: fd %d%s | |
7724 | 9384 | |
9385 | =item refcnt: fd %d%s | |
9386 | ||
9387 | =item refcnt_inc: fd %d%s | |
9388 | ||
7725 | 9389 | =begin original |
7726 | 9390 | |
7727 | ( | |
9391 | (P) Perl's I/O implementation failed an internal consistency check. If | |
7728 | ||
9392 | you see this message, something is very wrong. | |
7729 | hierarchy. | |
7730 | 9393 | |
7731 | 9394 | =end original |
7732 | 9395 | |
7733 | ( | |
9396 | (P) Perl の I/O 実装は内部の一貫性チェックに失敗しました。 | |
7734 | ||
9397 | このメッセージを見たなら、何かがすごく悪いです。 | |
7735 | 思われます。 | |
7736 | 9398 | |
7737 | 9399 | =item Reference found where even-sized list expected |
7738 | 9400 | |
7739 | 9401 | =begin original |
7740 | 9402 | |
7741 | 9403 | (W misc) You gave a single reference where Perl was expecting a list |
7742 | 9404 | with an even number of elements (for assignment to a hash). This usually |
7743 | 9405 | means that you used the anon hash constructor when you meant to use |
7744 | 9406 | parens. In any case, a hash requires key/value B<pairs>. |
7745 | 9407 | |
7746 | 9408 | =end original |
7747 | 9409 | |
7748 | 9410 | (W misc) Perl が(ハッシュへの代入のために)偶数の数の要素のリストを |
7749 | 想定しているところに | |
9411 | 想定しているところに 一つのリファレンスを渡しました。 | |
7750 | 9412 | これは普通かっこを使うべきところで無名ハッシュコンストラクタを使ったことを |
7751 | 9413 | 意味します。 |
7752 | 9414 | とにかく、ハッシュはキー/値の B<組> を要求します。 |
7753 | 9415 | |
7754 | 9416 | %hash = { one => 1, two => 2, }; # WRONG |
7755 | 9417 | %hash = [ qw/ an anon array / ]; # WRONG |
7756 | 9418 | %hash = ( one => 1, two => 2, ); # right |
7757 | 9419 | %hash = qw( one 1 two 2 ); # also fine |
7758 | 9420 | |
7759 | 9421 | =item Reference is already weak |
7760 | 9422 | |
7761 | 9423 | =begin original |
7762 | 9424 | |
7763 | 9425 | (W misc) You have attempted to weaken a reference that is already weak. |
7764 | 9426 | Doing so has no effect. |
7765 | 9427 | |
7766 | 9428 | =end original |
7767 | 9429 | |
7768 | 9430 | (W misc) 既に弱いリファレンスを弱めようとしました。 |
7769 | 9431 | そうしても何の効果もありません。 |
7770 | 9432 | |
7771 | 9433 | =item Reference miscount in sv_replace() |
7772 | 9434 | |
7773 | 9435 | =begin original |
7774 | 9436 | |
7775 | 9437 | (W internal) The internal sv_replace() function was handed a new SV with |
7776 | a reference count o | |
9438 | a reference count other than 1. | |
7777 | 9439 | |
7778 | 9440 | =end original |
7779 | 9441 | |
7780 | 9442 | (W internal) 内部の sv_replace() 関数が、参照数が 1 でない、新規の |
7781 | 9443 | SV を扱いました。 |
7782 | 9444 | |
9445 | =item Reference to invalid group 0 | |
9446 | ||
9447 | =begin original | |
9448 | ||
9449 | (F) You used C<\g0> or similar in a regular expression. You may refer to | |
9450 | capturing parentheses only with strictly positive integers (normal | |
9451 | backreferences) or with strictly negative integers (relative | |
9452 | backreferences). Using 0 does not make sense. | |
9453 | ||
9454 | =end original | |
9455 | ||
9456 | (F) 正規表現で C<\g0> のようなものを使いました。 | |
9457 | 捕捉用のかっこへの参照は、正数(通常の後方参照)か、負数(相対後方参照) | |
9458 | のみです。 | |
9459 | 0 は意味を成しません。 | |
9460 | ||
7783 | 9461 | =item Reference to nonexistent group in regex; marked by <-- HERE in m/%s/ |
7784 | 9462 | |
7785 | 9463 | =begin original |
7786 | 9464 | |
7787 | 9465 | (F) You used something like C<\7> in your regular expression, but there are |
7788 | not at least seven sets of capturing parentheses in the expression. If | |
9466 | not at least seven sets of capturing parentheses in the expression. If | |
7789 | wanted to have the character with | |
9467 | you wanted to have the character with ordinal 7 inserted into the regular | |
7790 | prepend | |
9468 | expression, prepend zeroes to make it three digits long: C<\007> | |
7791 | 9469 | |
7792 | 9470 | =end original |
7793 | 9471 | |
7794 | 9472 | 正規表現の中で C<\7> のような記述がありますが、 |
7795 | 正規表現の中に値を捕らえる | |
9473 | 正規表現の中に値を捕らえるかっこが 7 つありません。 | |
7796 | 9474 | 正規表現の中に値 7 を持つ文字を挿入したい場合、 |
7797 | ゼロをつけて最低 | |
9475 | ゼロをつけて最低 3 桁の数値にする必要があります: C<\007> | |
7798 | 9476 | |
7799 | 9477 | =begin original |
7800 | 9478 | |
7801 | 9479 | The <-- HERE shows in the regular expression about where the problem was |
7802 | 9480 | discovered. |
7803 | 9481 | |
7804 | 9482 | =end original |
7805 | 9483 | |
7806 | 9484 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
7807 | 9485 | |
9486 | =item Reference to nonexistent named group in regex; marked by <-- HERE in m/%s/ | |
9487 | ||
9488 | =begin original | |
9489 | ||
9490 | (F) You used something like C<\k'NAME'> or C<< \k<NAME> >> in your regular | |
9491 | expression, but there is no corresponding named capturing parentheses | |
9492 | such as C<(?'NAME'...)> or C<< (?<NAME>...) >>. Check if the name has been | |
9493 | spelled correctly both in the backreference and the declaration. | |
9494 | ||
9495 | =end original | |
9496 | ||
9497 | (F) 正規表現中に C<\k'NAME'> や C<< \k<NAME> >> のようなものを使いましたが、 | |
9498 | C<(?'NAME'...)> や C<< (?<NAME>...) >> のような、対応する名前付き捕捉かっこが | |
9499 | ありません。 | |
9500 | 前方参照と定義の両方において、名前のスペルが正しいかどうか | |
9501 | チェックしてください。 | |
9502 | ||
9503 | =begin original | |
9504 | ||
9505 | The <-- HERE shows in the regular expression about where the problem was | |
9506 | discovered. | |
9507 | ||
9508 | =end original | |
9509 | ||
9510 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
9511 | ||
9512 | =item Reference to nonexistent or unclosed group in regex; marked by <-- HERE in m/%s/ | |
9513 | ||
9514 | =begin original | |
9515 | ||
9516 | (F) You used something like C<\g{-7}> in your regular expression, but there | |
9517 | are not at least seven sets of closed capturing parentheses in the | |
9518 | expression before where the C<\g{-7}> was located. | |
9519 | ||
9520 | =end original | |
9521 | ||
9522 | (F) 正規表現で C<\g{-7}> のようなものを使いましたが、式中で C<\g{-7}> の | |
9523 | 位置より前に少なくとも 7 組の捕捉用のかっこの組がありません。 | |
9524 | ||
9525 | =begin original | |
9526 | ||
9527 | The <-- HERE shows in the regular expression about where the problem was | |
9528 | discovered. | |
9529 | ||
9530 | =end original | |
9531 | ||
9532 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
9533 | ||
7808 | 9534 | =item regexp memory corruption |
7809 | 9535 | |
7810 | 9536 | =begin original |
7811 | 9537 | |
7812 | 9538 | (P) The regular expression engine got confused by what the regular |
7813 | 9539 | expression compiler gave it. |
7814 | 9540 | |
7815 | 9541 | =end original |
7816 | 9542 | |
7817 | 9543 | (P) 正規表現コンパイラが渡したもので、正規表現エンジンが |
7818 | 9544 | 処理できなくなりました。 |
7819 | 9545 | |
9546 | =item Regexp modifier "/%c" may appear a maximum of twice | |
9547 | ||
9548 | =item Regexp modifier "/%c" may not appear twice | |
9549 | ||
9550 | =begin original | |
9551 | ||
9552 | (F syntax, regexp) The regular expression pattern had too many occurrences | |
9553 | of the specified modifier. Remove the extraneous ones. | |
9554 | ||
9555 | =end original | |
9556 | ||
9557 | (F syntax, regexp) 正規表現パターンに指定された修飾子が多すぎます。 | |
9558 | 余分なものを削除してください。 | |
9559 | ||
9560 | =item Regexp modifier "%c" may not appear after the "-" | |
9561 | ||
9562 | =begin original | |
9563 | ||
9564 | (F regexp) Turning off the given modifier has the side effect of turning | |
9565 | on another one. Perl currently doesn't allow this. Reword the regular | |
9566 | expression to use the modifier you want to turn on (and place it before | |
9567 | the minus), instead of the one you want to turn off. | |
9568 | ||
9569 | =end original | |
9570 | ||
9571 | (F regexp) 指定された修飾子をオフにするのは他の修飾子をオンにするという | |
9572 | 副作用があります。 | |
9573 | Perl は現在のところこれを受け入れません。 | |
9574 | オフにしたいものではなく、オンにしたい修飾子を使う(そしてマイナスの | |
9575 | 前に置く)ように正規表現を書き直してください。 | |
9576 | ||
9577 | =item Regexp modifiers "/%c" and "/%c" are mutually exclusive | |
9578 | ||
9579 | =begin original | |
9580 | ||
9581 | (F syntax, regexp) The regular expression pattern had more than one of these | |
9582 | mutually exclusive modifiers. Retain only the modifier that is | |
9583 | supposed to be there. | |
9584 | ||
9585 | =end original | |
9586 | ||
9587 | (F syntax, regexp) 正規表現パターンに相互に排他的な修飾子が複数あります。 | |
9588 | ここで使うであろう修飾子のみを保持します。 | |
9589 | ||
7820 | 9590 | =item Regexp out of space |
7821 | 9591 | |
7822 | 9592 | =begin original |
7823 | 9593 | |
7824 | 9594 | (P) A "can't happen" error, because safemalloc() should have caught it |
7825 | 9595 | earlier. |
7826 | 9596 | |
7827 | 9597 | =end original |
7828 | 9598 | |
7829 | 9599 | (P) safemalloc() が見つけるはずなので、「起こるはずのない」エラーです。 |
7830 | 9600 | |
7831 | 9601 | =item Repeated format line will never terminate (~~ and @# incompatible) |
7832 | 9602 | |
7833 | 9603 | =begin original |
7834 | 9604 | |
7835 | 9605 | (F) Your format contains the ~~ repeat-until-blank sequence and a |
7836 | 9606 | numeric field that will never go blank so that the repetition never |
7837 | 9607 | terminates. You might use ^# instead. See L<perlform>. |
7838 | 9608 | |
7839 | 9609 | =end original |
7840 | 9610 | |
7841 | 9611 | (F) フォーマットに ~~ (空白まで繰り返し)シーケンスと決して空白にならない |
7842 | 9612 | スウチフィールドが含まれているので、無限ループになります。 |
7843 | 9613 | 代わりに ^# を使うべきでしょう。 |
7844 | 9614 | L<perlform> を参照してください。 |
7845 | 9615 | |
9616 | =item Replacement list is longer than search list | |
9617 | ||
9618 | =begin original | |
9619 | ||
9620 | (W misc) You have used a replacement list that is longer than the | |
9621 | search list. So the additional elements in the replacement list | |
9622 | are meaningless. | |
9623 | ||
9624 | =end original | |
9625 | ||
9626 | (W misc) 検索リストよりも長い置換リストを使いました。 | |
9627 | 長い分の置換リストは無意味です。 | |
9628 | ||
7846 | 9629 | =item Reversed %s= operator |
7847 | 9630 | |
7848 | 9631 | =begin original |
7849 | 9632 | |
7850 | 9633 | (W syntax) You wrote your assignment operator backwards. The = must |
7851 | always come | |
9634 | always come last, to avoid ambiguity with subsequent unary operators. | |
7852 | 9635 | |
7853 | 9636 | =end original |
7854 | 9637 | |
7855 | 9638 | (W syntax) 代入演算子を逆順に書いています。 |
7856 | 9639 | 等号の後に単項演算子が続くときに、曖昧になるのを避けるため、 |
7857 | 9640 | 代入演算子では、等号 = が、最後にこないといけません。 |
7858 | 9641 | |
7859 | =item | |
9642 | =item rewinddir() attempted on invalid dirhandle %s | |
7860 | 9643 | |
7861 | 9644 | =begin original |
7862 | 9645 | |
7863 | ( | |
9646 | (W io) The dirhandle you tried to do a rewinddir() on is either closed or not | |
7864 | ||
9647 | really a dirhandle. Check your control flow. | |
7865 | 199th line. Apparently you didn't arrange for the arguments to exhaust | |
7866 | themselves, either by using ^ instead of @ (for scalar variables), or by | |
7867 | shifting or popping (for array variables). See L<perlform>. | |
7868 | 9648 | |
7869 | 9649 | =end original |
7870 | 9650 | |
7871 | ( | |
9651 | (W io) rewinddir() しようとしたディレクトリハンドルは既に閉じられているか、 | |
7872 | ||
9652 | 実際にはディレクトリハンドルではありません。 | |
7873 | ||
9653 | 制御フローをチェックしてください。 | |
7874 | (スカラ変数には) @ の代わりに ^ を用いるか、(配列変数には) shift か pop を | |
7875 | 行なうかして、引数が自動的になくなるようになっていないといけませんが、 | |
7876 | そうなっていないようです。 | |
7877 | L<perlform> を参照してください。 | |
7878 | 9654 | |
7879 | 9655 | =item Scalars leaked: %d |
7880 | 9656 | |
7881 | 9657 | =begin original |
7882 | 9658 | |
7883 | 9659 | (P) Something went wrong in Perl's internal bookkeeping of scalars: |
7884 | 9660 | not all scalar variables were deallocated by the time Perl exited. |
7885 | 9661 | What this usually indicates is a memory leak, which is of course bad, |
7886 | 9662 | especially if the Perl program is intended to be long-running. |
7887 | 9663 | |
7888 | 9664 | =end original |
7889 | 9665 | |
7890 | 9666 | (P) Perl 内部のスカラ管理で何かがおかしくなりました: |
7891 | 9667 | Perl 終了時に全てのスカラ変数が解放されませんでした。 |
7892 | 9668 | これは普通メモリリークを示していて、これはもちろん悪いことですが、 |
7893 | 9669 | Perl プログラムが長い間動作する場合には特にそうです。 |
7894 | 9670 | |
7895 | 9671 | =item Scalar value @%s[%s] better written as $%s[%s] |
7896 | 9672 | |
7897 | 9673 | =begin original |
7898 | 9674 | |
7899 | 9675 | (W syntax) You've used an array slice (indicated by @) to select a |
7900 | 9676 | single element of an array. Generally it's better to ask for a scalar |
7901 | 9677 | value (indicated by $). The difference is that C<$foo[&bar]> always |
7902 | 9678 | behaves like a scalar, both when assigning to it and when evaluating its |
7903 | 9679 | argument, while C<@foo[&bar]> behaves like a list when you assign to it, |
7904 | 9680 | and provides a list context to its subscript, which can do weird things |
7905 | 9681 | if you're expecting only one subscript. |
7906 | 9682 | |
7907 | 9683 | =end original |
7908 | 9684 | |
7909 | 9685 | (W syntax) 配列の一つの要素を選ぶのに、(@ で示される) 配列 |
7910 | 9686 | スライスを用いました。 |
7911 | 9687 | 一般には、($ で示される) スカラ値を使った方が良いと思われます。 |
7912 | 9688 | 違いは、C<$foo[&bar]> とした場合、代入の対象としたときにも、 |
7913 | 9689 | 添字を評価するときにも、常にスカラとして振る舞うのに対し、 |
7914 | 9690 | C<@foo[&bar]> の場合には、代入の対象としてもリストとして振る舞い、 |
7915 | 添字にもリストコンテキストを与えることになります | |
9691 | 添字にもリストコンテキストを与えることになります; | |
7916 | これは、 | |
9692 | これは、一つの添字だけを期待するときには、おかしなこととなるでしょう。 | |
7917 | 9693 | |
7918 | 9694 | =begin original |
7919 | 9695 | |
7920 | 9696 | On the other hand, if you were actually hoping to treat the array |
7921 | 9697 | element as a list, you need to look into how references work, because |
7922 | 9698 | Perl will not magically convert between scalars and lists for you. See |
7923 | 9699 | L<perlref>. |
7924 | 9700 | |
7925 | 9701 | =end original |
7926 | 9702 | |
7927 | 9703 | 一方、もし本当に配列要素をリストとして扱いたい場合、リファレンスが |
7928 | 9704 | どのように働くかについて詳しく知る必要があります; なぜなら |
7929 | 9705 | Perl はスカラとリストを自動的に変換したりはしないからです。 |
7930 | 9706 | L<perlref> を参照してください。 |
7931 | 9707 | |
7932 | 9708 | =item Scalar value @%s{%s} better written as $%s{%s} |
7933 | 9709 | |
7934 | 9710 | =begin original |
7935 | 9711 | |
7936 | 9712 | (W syntax) You've used a hash slice (indicated by @) to select a single |
7937 | 9713 | element of a hash. Generally it's better to ask for a scalar value |
7938 | 9714 | (indicated by $). The difference is that C<$foo{&bar}> always behaves |
7939 | 9715 | like a scalar, both when assigning to it and when evaluating its |
7940 | 9716 | argument, while C<@foo{&bar}> behaves like a list when you assign to it, |
7941 | 9717 | and provides a list context to its subscript, which can do weird things |
7942 | 9718 | if you're expecting only one subscript. |
7943 | 9719 | |
7944 | 9720 | =end original |
7945 | 9721 | |
7946 | 9722 | (W syntax) ハッシュの一つの要素を選ぶのに、(@ で示される) ハッシュ |
7947 | 9723 | スライスを用いました。 |
7948 | 9724 | 一般には、($ で示される) スカラ値を使った方が良いと思われます。 |
7949 | 9725 | 違いは、C<$foo{&bar}> とした場合、代入の対象としたときにも、 |
7950 | 9726 | 添字を評価するときにも、常にスカラとして振る舞うのに対し、 |
7951 | 9727 | C<@foo{&bar}> の場合には、代入の対象としてもリストとして振る舞い、 |
7952 | 添字にもリストコンテキストを与えることになります | |
9728 | 添字にもリストコンテキストを与えることになります; | |
7953 | これは、 | |
9729 | これは、一つの添字だけを期待するときには、おかしなこととなるでしょう。 | |
7954 | 9730 | |
7955 | 9731 | =begin original |
7956 | 9732 | |
7957 | 9733 | On the other hand, if you were actually hoping to treat the hash element |
7958 | 9734 | as a list, you need to look into how references work, because Perl will |
7959 | 9735 | not magically convert between scalars and lists for you. See |
7960 | 9736 | L<perlref>. |
7961 | 9737 | |
7962 | 9738 | =end original |
7963 | 9739 | |
7964 | 9740 | 一方、もし本当にハッシュ要素をリストとして扱いたい場合、リファレンスが |
7965 | 9741 | どのように働くかについて詳しく知る必要があります; なぜなら |
7966 | 9742 | Perl はスカラとリストを自動的に変換したりはしないからです。 |
7967 | 9743 | L<perlref> を参照してください。 |
7968 | 9744 | |
7969 | =item Script is not setuid/setgid in suidperl | |
7970 | ||
7971 | =begin original | |
7972 | ||
7973 | (F) Oddly, the suidperl program was invoked on a script without a setuid | |
7974 | or setgid bit set. This doesn't make much sense. | |
7975 | ||
7976 | =end original | |
7977 | ||
7978 | (F) 妙なことに、setuid ビット、もしくは setgid ビットが立っていない | |
7979 | スクリプトに対して、suidperl プログラムが起動されました。 | |
7980 | これは意味がありません。 | |
7981 | ||
7982 | 9745 | =item Search pattern not terminated |
7983 | 9746 | |
7984 | 9747 | =begin original |
7985 | 9748 | |
7986 | 9749 | (F) The lexer couldn't find the final delimiter of a // or m{} |
7987 | 9750 | construct. Remember that bracketing delimiters count nesting level. |
7988 | 9751 | Missing the leading C<$> from a variable C<$m> may cause this error. |
7989 | 9752 | |
7990 | 9753 | =end original |
7991 | 9754 | |
7992 | 9755 | (F) // もしくは m{} 構文の最後の区切り文字が見つかりませんでした。 |
7993 | ||
9756 | かっこ類の区切り文字では、ネストを数えることを忘れないでください。 | |
7994 | 9757 | C<$m> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 |
7995 | 9758 | |
7996 | 9759 | =begin original |
7997 | 9760 | |
7998 | 9761 | Note that since Perl 5.9.0 a // can also be the I<defined-or> |
7999 | 9762 | construct, not just the empty search pattern. Therefore code written |
8000 | 9763 | in Perl 5.9.0 or later that uses the // as the I<defined-or> can be |
8001 | 9764 | misparsed by pre-5.9.0 Perls as a non-terminated search pattern. |
8002 | 9765 | |
8003 | 9766 | =end original |
8004 | 9767 | |
8005 | 9768 | Perl 5.9.0 から、// は I<defined-or> 構文として扱われ、単なる |
8006 | 9769 | 空検索パターンではありません。 |
8007 | 9770 | 従って、Perl 5.9.0 以降で書かれた、// を I<defined-or> として使っている |
8008 | 9771 | コードは、5.9.0 以前の Perl では、終端していない検索パターンとして |
8009 | 9772 | 誤パースされるかもしれません。 |
8010 | 9773 | |
8011 | 9774 | =item Search pattern not terminated or ternary operator parsed as search pattern |
8012 | 9775 | |
8013 | 9776 | =begin original |
8014 | 9777 | |
8015 | 9778 | (F) The lexer couldn't find the final delimiter of a C<?PATTERN?> |
8016 | 9779 | construct. |
8017 | 9780 | |
8018 | 9781 | =end original |
8019 | 9782 | |
8020 | 9783 | (F) 構文解析器が C<?PATTERN?> 構造の最後のデリミタを見つけられませんでした。 |
8021 | 9784 | |
8022 | 9785 | =begin original |
8023 | 9786 | |
8024 | 9787 | The question mark is also used as part of the ternary operator (as in |
8025 | 9788 | C<foo ? 0 : 1>) leading to some ambiguous constructions being wrongly |
8026 | 9789 | parsed. One way to disambiguate the parsing is to put parentheses around |
8027 | 9790 | the conditional expression, i.e. C<(foo) ? 0 : 1>. |
8028 | 9791 | |
8029 | 9792 | =end original |
8030 | 9793 | |
8031 | 9794 | クエスチョンマークは (C<foo ? 0 : 1> のような) 3 項演算子の一部としても |
8032 | 9795 | 使われるので、紛らわしい構造の場合は間違ってパースされることがあります。 |
8033 | 9796 | パースのあいまいさをなくすための一つの方法は、C<(foo) ? 0 : 1> のように |
8034 | 9797 | 条件式をかっこで括ることです。 |
8035 | 9798 | |
9799 | =item seekdir() attempted on invalid dirhandle %s | |
9800 | ||
9801 | =begin original | |
9802 | ||
9803 | (W io) The dirhandle you are doing a seekdir() on is either closed or not | |
9804 | really a dirhandle. Check your control flow. | |
9805 | ||
9806 | =end original | |
9807 | ||
9808 | (W io) seekdir() しようとしたディレクトリハンドルは閉じられているか、 | |
9809 | 実際にはディレクトリハンドルではありません。 | |
9810 | 制御フローをチェックしてください。 | |
9811 | ||
8036 | 9812 | =item %sseek() on unopened filehandle |
8037 | 9813 | |
8038 | 9814 | =begin original |
8039 | 9815 | |
8040 | 9816 | (W unopened) You tried to use the seek() or sysseek() function on a |
8041 | 9817 | filehandle that was either never opened or has since been closed. |
8042 | 9818 | |
8043 | 9819 | =end original |
8044 | 9820 | |
8045 | 9821 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
8046 | 9822 | ファイルハンドルに対して、seek() 関数や sysseek() 関数を使おうとしました。 |
8047 | 9823 | |
8048 | 9824 | =item select not implemented |
8049 | 9825 | |
8050 | 9826 | =begin original |
8051 | 9827 | |
8052 | 9828 | (F) This machine doesn't implement the select() system call. |
8053 | 9829 | |
8054 | 9830 | =end original |
8055 | 9831 | |
8056 | 9832 | (F) このマシンでは、select() システムコールは実装されていません。 |
8057 | 9833 | |
8058 | 9834 | =item Self-ties of arrays and hashes are not supported |
8059 | 9835 | |
8060 | 9836 | =begin original |
8061 | 9837 | |
8062 | 9838 | (F) Self-ties are of arrays and hashes are not supported in |
8063 | 9839 | the current implementation. |
8064 | 9840 | |
8065 | 9841 | =end original |
8066 | 9842 | |
8067 | 9843 | (F) 配列やハッシュの自己 tie は現在の実装では対応していません。 |
8068 | 9844 | |
8069 | 9845 | =item Semicolon seems to be missing |
8070 | 9846 | |
8071 | 9847 | =begin original |
8072 | 9848 | |
8073 | 9849 | (W semicolon) A nearby syntax error was probably caused by a missing |
8074 | 9850 | semicolon, or possibly some other missing operator, such as a comma. |
8075 | 9851 | |
8076 | 9852 | =end original |
8077 | 9853 | |
8078 | 9854 | (W semicolon) この付近の構文エラーは、おそらくセミコロンか、コンマなどの |
8079 | 9855 | 演算子がなかったために起こったものと考えられます。 |
8080 | 9856 | |
8081 | 9857 | =item semi-panic: attempt to dup freed string |
8082 | 9858 | |
8083 | 9859 | =begin original |
8084 | 9860 | |
8085 | 9861 | (S internal) The internal newSVsv() routine was called to duplicate a |
8086 | 9862 | scalar that had previously been marked as free. |
8087 | 9863 | |
8088 | 9864 | =end original |
8089 | 9865 | |
8090 | 9866 | (S internal) 既に解放と印を付けたスカラを複製するために、内部の |
8091 | 9867 | newSVsv() ルーティンが呼ばれました。 |
8092 | 9868 | |
8093 | 9869 | =item sem%s not implemented |
8094 | 9870 | |
8095 | 9871 | =begin original |
8096 | 9872 | |
8097 | 9873 | (F) You don't have System V semaphore IPC on your system. |
8098 | 9874 | |
8099 | 9875 | =end original |
8100 | 9876 | |
8101 | 9877 | (F) このシステムでは、System V セマフォ IPC は使えません。 |
8102 | 9878 | |
8103 | 9879 | =item send() on closed socket %s |
8104 | 9880 | |
8105 | 9881 | =begin original |
8106 | 9882 | |
8107 | 9883 | (W closed) The socket you're sending to got itself closed sometime |
8108 | 9884 | before now. Check your control flow. |
8109 | 9885 | |
8110 | 9886 | =end original |
8111 | 9887 | |
8112 | (W closed) 送信を行なおうとしたソケットは、既に | |
9888 | (W closed) 送信を行なおうとしたソケットは、既に閉じられています。 | |
8113 | 9889 | 制御フローをチェックしてください。 |
8114 | 9890 | |
8115 | 9891 | =item Sequence (? incomplete in regex; marked by <-- HERE in m/%s/ |
8116 | 9892 | |
8117 | 9893 | =begin original |
8118 | 9894 | |
8119 | 9895 | (F) A regular expression ended with an incomplete extension (?. The <-- HERE |
8120 | 9896 | shows in the regular expression about where the problem was discovered. See |
8121 | 9897 | L<perlre>. |
8122 | 9898 | |
8123 | 9899 | =end original |
8124 | 9900 | |
8125 | 9901 | (F) 正規表現が不完全な拡張 (? で終わっています。 |
8126 | 9902 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
8127 | 9903 | L<perlre> を参照してください。 |
8128 | 9904 | |
8129 | 9905 | =item Sequence (?%s...) not implemented in regex; marked by <-- HERE in m/%s/ |
8130 | 9906 | |
8131 | 9907 | =begin original |
8132 | 9908 | |
8133 | 9909 | (F) A proposed regular expression extension has the character reserved but |
8134 | 9910 | has not yet been written. The <-- HERE shows in the regular expression about |
8135 | 9911 | where the problem was discovered. See L<perlre>. |
8136 | 9912 | |
8137 | 9913 | =end original |
8138 | 9914 | |
8139 | 9915 | (F) 使おうとした正規表現の拡張は、予約された文字ですが、 |
8140 | 9916 | まだ実装されていません。 |
8141 | 9917 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
8142 | 9918 | L<perlre> を参照してください。 |
8143 | 9919 | |
8144 | 9920 | =item Sequence (?%s...) not recognized in regex; marked by <-- HERE in m/%s/ |
8145 | 9921 | |
8146 | 9922 | =begin original |
8147 | 9923 | |
8148 | 9924 | (F) You used a regular expression extension that doesn't make sense. The |
8149 | 9925 | <-- HERE shows in the regular expression about where the problem was |
8150 | discovered. | |
9926 | discovered. This happens when using the C<(?^...)> construct to tell | |
9927 | Perl to use the default regular expression modifiers, and you | |
9928 | redundantly specify a default modifier. For other | |
9929 | causes, see L<perlre>. | |
8151 | 9930 | |
8152 | 9931 | =end original |
8153 | 9932 | |
8154 | 9933 | (F) お使いになった正規表現の拡張は、意味をなしません。 |
8155 | 9934 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
8156 | ||
9935 | これは、 Perl にデフォルトの正規表現修飾子を使うように知らせるために | |
9936 | C<(?^...)> 構文を使ったときや、デフォルトの演算子を冗長に指定しています。 | |
9937 | その他の理由については、L<perlre> を参照してください。 | |
8157 | 9938 | |
9939 | =item Sequence \%s... not terminated in regex; marked by <-- HERE in m/%s/ | |
9940 | ||
9941 | =begin original | |
9942 | ||
9943 | (F) The regular expression expects a mandatory argument following the escape | |
9944 | sequence and this has been omitted or incorrectly written. | |
9945 | ||
9946 | =end original | |
9947 | ||
9948 | (F) 正規表現でエスケープシーケンスの後に必須の引き数を想定しましたが、 | |
9949 | それが省略されているか適切に書かれていません。 | |
9950 | ||
8158 | 9951 | =item Sequence (?#... not terminated in regex; marked by <-- HERE in m/%s/ |
8159 | 9952 | |
8160 | 9953 | =begin original |
8161 | 9954 | |
8162 | 9955 | (F) A regular expression comment must be terminated by a closing |
8163 | 9956 | parenthesis. Embedded parentheses aren't allowed. The <-- HERE shows in |
8164 | 9957 | the regular expression about where the problem was discovered. See |
8165 | 9958 | L<perlre>. |
8166 | 9959 | |
8167 | 9960 | =end original |
8168 | 9961 | |
8169 | (F) 正規表現コメントは | |
9962 | (F) 正規表現のコメントは閉じかっこで終わらなければなりません。 | |
8170 | ||
9963 | 組み込みのかっこは許可されません。 | |
8171 | 9964 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
8172 | 9965 | L<perlre> を参照してください。 |
8173 | 9966 | |
8174 | 9967 | =item Sequence (?{...}) not terminated or not {}-balanced in regex; marked by <-- HERE in m/%s/ |
8175 | 9968 | |
8176 | 9969 | =begin original |
8177 | 9970 | |
8178 | (F) If the contents of a (?{...}) clause contain | |
9971 | (F) If the contents of a (?{...}) clause contain braces, they must balance | |
8179 | for Perl to | |
9972 | for Perl to detect the end of the clause properly. The <-- HERE shows in | |
8180 | 9973 | the regular expression about where the problem was discovered. See |
8181 | 9974 | L<perlre>. |
8182 | 9975 | |
8183 | 9976 | =end original |
8184 | 9977 | |
8185 | (F) (?{...}) 節の中に大 | |
9978 | (F) (?{...}) 節の中に大かっこがある場合、対応していなければなりません; | |
8186 | 9979 | Perl が正しく節の最後を検出するためです。 |
8187 | 9980 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
8188 | 9981 | L<perlre> を参照してください。 |
8189 | 9982 | |
8190 | =item 500 Server error | |
9983 | =item Z<>500 Server error | |
8191 | 9984 | |
8192 | 9985 | =begin original |
8193 | 9986 | |
8194 | 9987 | See Server error. |
8195 | 9988 | |
8196 | 9989 | =end original |
8197 | 9990 | |
8198 | 9991 | "Server error" を参照してください。 |
8199 | 9992 | |
8200 | 9993 | =item Server error |
8201 | 9994 | |
8202 | 9995 | =begin original |
8203 | 9996 | |
8204 | This is the error message generally seen in a browser window when trying | |
9997 | (A) This is the error message generally seen in a browser window when trying | |
8205 | 9998 | to run a CGI program (including SSI) over the web. The actual error text |
8206 | 9999 | varies widely from server to server. The most frequently-seen variants |
8207 | 10000 | are "500 Server error", "Method (something) not permitted", "Document |
8208 | 10001 | contains no data", "Premature end of script headers", and "Did not |
8209 | 10002 | produce a valid header". |
8210 | 10003 | |
8211 | 10004 | =end original |
8212 | 10005 | |
8213 | これは、一般的には CGI (SSI を含みます)プログラムを WWW 越しに | |
10006 | (A) これは、一般的には CGI (SSI を含みます)プログラムを WWW 越しに | |
8214 | 10007 | 実行しようとしたときにブラウザのウィンドウに表示されるメッセージです。 |
8215 | 10008 | 実際のエラーテキストはサーバーによって大きく異なります。 |
8216 | 10009 | もっともよく見られるものとしては、"500 Server error", |
8217 | 10010 | "Method (something) not permitted", "Document contains no data", |
8218 | 10011 | "Premature end of script headers", "Did not produce a valid header" が |
8219 | 10012 | あります。 |
8220 | 10013 | |
8221 | 10014 | =begin original |
8222 | 10015 | |
8223 | 10016 | B<This is a CGI error, not a Perl error>. |
8224 | 10017 | |
8225 | 10018 | =end original |
8226 | 10019 | |
8227 | 10020 | B<これは CGI のエラーであり、Perl のエラーではありません>. |
8228 | 10021 | |
8229 | 10022 | =begin original |
8230 | 10023 | |
8231 | 10024 | You need to make sure your script is executable, is accessible by the |
8232 | 10025 | user CGI is running the script under (which is probably not the user |
8233 | 10026 | account you tested it under), does not rely on any environment variables |
8234 | 10027 | (like PATH) from the user it isn't running under, and isn't in a |
8235 | 10028 | location where the CGI server can't find it, basically, more or less. |
8236 | 10029 | Please see the following for more information: |
8237 | 10030 | |
8238 | 10031 | =end original |
8239 | 10032 | |
8240 | 10033 | まずはあなたのスクリプトが実行可能か、CGI を実行するユーザー(これはおそらく |
8241 | 10034 | あなたがテストしたユーザーではありません)で読み込み可能か、実行しているのとは |
8242 | 10035 | 異なるユーザーの環境変数(PATH など)に依存していないか、CGI サーバーが |
8243 | 10036 | 見つけられない場所に置いていないか、といったことを確認する必要があるでしょう。 |
8244 | 10037 | さらなる情報については以下を参照してください。 |
8245 | 10038 | |
8246 | 10039 | http://www.perl.org/CGI_MetaFAQ.html |
8247 | 10040 | http://www.htmlhelp.org/faq/cgifaq.html |
8248 | 10041 | http://www.w3.org/Security/Faq/ |
8249 | 10042 | |
8250 | 10043 | =begin original |
8251 | 10044 | |
8252 | 10045 | You should also look at L<perlfaq9>. |
8253 | 10046 | |
8254 | 10047 | =end original |
8255 | 10048 | |
8256 | 10049 | L<perlfaq9> も見るべきでしょう。 |
8257 | 10050 | |
8258 | 10051 | =item setegid() not implemented |
8259 | 10052 | |
8260 | 10053 | =begin original |
8261 | 10054 | |
8262 | 10055 | (F) You tried to assign to C<$)>, and your operating system doesn't |
8263 | 10056 | support the setegid() system call (or equivalent), or at least Configure |
8264 | 10057 | didn't think so. |
8265 | 10058 | |
8266 | 10059 | =end original |
8267 | 10060 | |
8268 | 10061 | (F) C<$)> へ代入を行なおうとしましたが、この OS では、setegid() |
8269 | システムコール (または、同等のもの) がサポートされていません | |
10062 | システムコール (または、同等のもの) がサポートされていません; | |
8270 | 10063 | 少なくとも Configure では、そう判断されました。 |
8271 | 10064 | |
8272 | 10065 | =item seteuid() not implemented |
8273 | 10066 | |
8274 | 10067 | =begin original |
8275 | 10068 | |
8276 | 10069 | (F) You tried to assign to C<< $> >>, and your operating system doesn't |
8277 | 10070 | support the seteuid() system call (or equivalent), or at least Configure |
8278 | 10071 | didn't think so. |
8279 | 10072 | |
8280 | 10073 | =end original |
8281 | 10074 | |
8282 | 10075 | (F) C<< $> >> へ代入を行なおうとしましたが、この OS では、seteuid() |
8283 | システムコール (または、同等のもの) がサポートされていません | |
10076 | システムコール (または、同等のもの) がサポートされていません; | |
8284 | 10077 | 少なくとも Configure では、そう判断されました。 |
8285 | 10078 | |
8286 | 10079 | =item setpgrp can't take arguments |
8287 | 10080 | |
8288 | 10081 | =begin original |
8289 | 10082 | |
8290 | 10083 | (F) Your system has the setpgrp() from BSD 4.2, which takes no |
8291 | 10084 | arguments, unlike POSIX setpgid(), which takes a process ID and process |
8292 | 10085 | group ID. |
8293 | 10086 | |
8294 | 10087 | =end original |
8295 | 10088 | |
8296 | (F) このシステムの setpgrp() は BSD 4.2 由来のもので、引数がありません | |
10089 | (F) このシステムの setpgrp() は BSD 4.2 由来のもので、引数がありません; | |
8297 | 10090 | POSIX setpgid() はプロセス ID とプロセスグループ ID を引数にとります。 |
8298 | 10091 | |
8299 | 10092 | =item setrgid() not implemented |
8300 | 10093 | |
8301 | 10094 | =begin original |
8302 | 10095 | |
8303 | 10096 | (F) You tried to assign to C<$(>, and your operating system doesn't |
8304 | 10097 | support the setrgid() system call (or equivalent), or at least Configure |
8305 | 10098 | didn't think so. |
8306 | 10099 | |
8307 | 10100 | =end original |
8308 | 10101 | |
8309 | 10102 | (F) C<$(> へ代入を行なおうとしましたが、この OS では、setrgid() |
8310 | システムコール (または、同等のもの) がサポートされていません | |
10103 | システムコール (または、同等のもの) がサポートされていません; | |
8311 | 10104 | 少なくとも Configure では、そう判断されました。 |
8312 | 10105 | |
8313 | 10106 | =item setruid() not implemented |
8314 | 10107 | |
8315 | 10108 | =begin original |
8316 | 10109 | |
8317 | 10110 | (F) You tried to assign to C<$<>, and your operating system doesn't |
8318 | 10111 | support the setruid() system call (or equivalent), or at least Configure |
8319 | 10112 | didn't think so. |
8320 | 10113 | |
8321 | 10114 | =end original |
8322 | 10115 | |
8323 | 10116 | (F) C<$<> へ代入を行なおうとしましたが、この OS では、setruid() |
8324 | システムコール (または、同等のもの) がサポートされていません | |
10117 | システムコール (または、同等のもの) がサポートされていません; | |
8325 | 10118 | 少なくとも Configure では、そう判断されました。 |
8326 | 10119 | |
8327 | 10120 | =item setsockopt() on closed socket %s |
8328 | 10121 | |
8329 | 10122 | =begin original |
8330 | 10123 | |
8331 | 10124 | (W closed) You tried to set a socket option on a closed socket. Did you |
8332 | 10125 | forget to check the return value of your socket() call? See |
8333 | 10126 | L<perlfunc/setsockopt>. |
8334 | 10127 | |
8335 | 10128 | =end original |
8336 | 10129 | |
8337 | 10130 | (W closed) 閉じているソケットにソケットオプションを設定しようとしました。 |
8338 | socket() 呼び出し | |
10131 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか? | |
8339 | 10132 | L<perlfunc/setsockopt> を参照してください。 |
8340 | 10133 | |
8341 | =item | |
10134 | =item shm%s not implemented | |
8342 | 10135 | |
8343 | 10136 | =begin original |
8344 | 10137 | |
8345 | (F) | |
10138 | (F) You don't have System V shared memory IPC on your system. | |
8346 | world, because the world might have written on it already. | |
8347 | 10139 | |
8348 | 10140 | =end original |
8349 | 10141 | |
8350 | (F) s | |
10142 | (F) このシステムでは、System V 共有メモリ IPC は使えません。 | |
8351 | スクリプトは実行しません。 | |
8352 | 誰かが既に書き換えたかも知れないからです。 | |
8353 | 10143 | |
8354 | =item | |
10144 | =item !=~ should be !~ | |
8355 | 10145 | |
8356 | 10146 | =begin original |
8357 | 10147 | |
8358 | ( | |
10148 | (W syntax) The non-matching operator is !~, not !=~. !=~ will be | |
8359 | ||
10149 | interpreted as the != (numeric not equal) and ~ (1's complement) | |
10150 | operators: probably not what you intended. | |
8360 | 10151 | |
8361 | 10152 | =end original |
8362 | 10153 | |
8363 | ( | |
10154 | (W syntax) 非マッチ演算子は !=~ ではなく !~ です。 | |
8364 | ||
10155 | !=~ は != (数値の不一致) と ~ (1 の補数) 演算子と解釈されます: | |
10156 | おそらくあなたの意図していることではないでしょう。 | |
8365 | 10157 | |
8366 | =item shm%s not implemented | |
8367 | ||
8368 | =begin original | |
8369 | ||
8370 | (F) You don't have System V shared memory IPC on your system. | |
8371 | ||
8372 | =end original | |
8373 | ||
8374 | (F) このシステムでは、System V 共有メモリ IPC は使えません。 | |
8375 | ||
8376 | 10158 | =item <> should be quotes |
8377 | 10159 | |
8378 | 10160 | =begin original |
8379 | 10161 | |
8380 | 10162 | (F) You wrote C<< require <file> >> when you should have written |
8381 | 10163 | C<require 'file'>. |
8382 | 10164 | |
8383 | 10165 | =end original |
8384 | 10166 | |
8385 | 10167 | (F) C<require 'file'> と書くべきところで C<< require <file> >> と |
8386 | 10168 | 書いています。 |
8387 | 10169 | |
8388 | 10170 | =item /%s/ should probably be written as "%s" |
8389 | 10171 | |
8390 | 10172 | =begin original |
8391 | 10173 | |
8392 | 10174 | (W syntax) You have used a pattern where Perl expected to find a string, |
8393 | 10175 | as in the first argument to C<join>. Perl will treat the true or false |
8394 | 10176 | result of matching the pattern against $_ as the string, which is |
8395 | 10177 | probably not what you had in mind. |
8396 | 10178 | |
8397 | 10179 | =end original |
8398 | 10180 | |
8399 | 10181 | (W syntax) C<join> の最初の引数として、Perl が文字列を想定しているところに |
8400 | 10182 | パターンを使いました。 |
8401 | 10183 | Perl は $_ をパターンマッチングした結果の真か偽の値を文字列として |
8402 | 10184 | 扱いますが、これはおそらく望んでいることではないでしょう。 |
8403 | 10185 | |
8404 | 10186 | =item shutdown() on closed socket %s |
8405 | 10187 | |
8406 | 10188 | =begin original |
8407 | 10189 | |
8408 | 10190 | (W closed) You tried to do a shutdown on a closed socket. Seems a bit |
8409 | 10191 | superfluous. |
8410 | 10192 | |
8411 | 10193 | =end original |
8412 | 10194 | |
8413 | 10195 | (W closed) クローズされたソケットに shutdown を行なおうとしました。 |
8414 | 10196 | 多少、無駄のように思われます。 |
8415 | 10197 | |
8416 | 10198 | =item SIG%s handler "%s" not defined |
8417 | 10199 | |
8418 | 10200 | =begin original |
8419 | 10201 | |
8420 | 10202 | (W signal) The signal handler named in %SIG doesn't, in fact, exist. |
8421 | 10203 | Perhaps you put it into the wrong package? |
8422 | 10204 | |
8423 | 10205 | =end original |
8424 | 10206 | |
8425 | 10207 | (W signal) %SIG 内で指定したシグナルハンドラが、存在しません。 |
8426 | 10208 | 間違ったパッケージで、設定を行なっているのかもしれません。 |
8427 | 10209 | |
8428 | =item | |
10210 | =item Smart matching a non-overloaded object breaks encapsulation | |
8429 | 10211 | |
8430 | 10212 | =begin original |
8431 | 10213 | |
8432 | (F) | |
10214 | (F) You should not use the C<~~> operator on an object that does not | |
8433 | ||
10215 | overload it: Perl refuses to use the object's underlying structure for | |
10216 | the smart match. | |
8434 | 10217 | |
8435 | 10218 | =end original |
8436 | 10219 | |
8437 | (F) | |
10220 | (F) オーバーロードしていないオブジェクトに対して C<~~> 演算子を | |
8438 | ||
10221 | 使うべきではありません: Perl はスマートマッチング時にオブジェクトの | |
8439 | 使う | |
10222 | 基礎となる構造を使うことを拒否します。 | |
8440 | 10223 | |
8441 | =item | |
10224 | =item sort is now a reserved word | |
8442 | 10225 | |
8443 | 10226 | =begin original |
8444 | 10227 | |
8445 | (F) A | |
10228 | (F) An ancient error message that almost nobody ever runs into anymore. | |
8446 | ||
10229 | But before sort was a keyword, people sometimes used it as a filehandle. | |
8447 | See L<perlfunc/sort>. | |
8448 | 10230 | |
8449 | 10231 | =end original |
8450 | 10232 | |
8451 | (F) | |
10233 | (F) もはや、誰もお目にかかることのない、旧世代のエラーメッセージです。 | |
8452 | ||
10234 | ただ、sort がキーワードとなる前には、これをファイルハンドルとして | |
8453 | ||
10235 | 使う方がいました。 | |
8454 | 10236 | |
8455 | 10237 | =item Sort subroutine didn't return single value |
8456 | 10238 | |
8457 | 10239 | =begin original |
8458 | 10240 | |
8459 | 10241 | (F) A sort comparison subroutine may not return a list value with more |
8460 | 10242 | or less than one element. See L<perlfunc/sort>. |
8461 | 10243 | |
8462 | 10244 | =end original |
8463 | 10245 | |
8464 | (F) sort の比較サブルー | |
10246 | (F) sort の比較サブルーチンは、要素が 1 個以外のリスト値を | |
8465 | 10247 | 返すことはできません。 |
8466 | L<perlfunc/sort>を参照してください。 | |
10248 | L<perlfunc/sort> を参照してください。 | |
8467 | 10249 | |
8468 | 10250 | =item splice() offset past end of array |
8469 | 10251 | |
8470 | 10252 | =begin original |
8471 | 10253 | |
8472 | 10254 | (W misc) You attempted to specify an offset that was past the end of |
8473 | 10255 | the array passed to splice(). Splicing will instead commence at the end |
8474 | 10256 | of the array, rather than past it. If this isn't what you want, try |
8475 | 10257 | explicitly pre-extending the array by assigning $#array = $offset. See |
8476 | 10258 | L<perlfunc/splice>. |
8477 | 10259 | |
8478 | 10260 | =end original |
8479 | 10261 | |
8480 | 10262 | (W misc) splice() で渡された配列の末尾より後ろのオフセットを指定しました。 |
8481 | 10263 | splice は配列の末尾ではなく、配列の最後の位置に対して実行されます。 |
8482 | 10264 | これが望んでいることではないなら、$#array = $offset と代入することで |
8483 | 10265 | 明示的に事前に配列を拡張してください。 |
8484 | 10266 | L<perlfunc/splice> を参照してください。 |
8485 | 10267 | |
8486 | 10268 | =item Split loop |
8487 | 10269 | |
8488 | 10270 | =begin original |
8489 | 10271 | |
8490 | 10272 | (P) The split was looping infinitely. (Obviously, a split shouldn't |
8491 | 10273 | iterate more times than there are characters of input, which is what |
8492 | 10274 | happened.) See L<perlfunc/split>. |
8493 | 10275 | |
8494 | 10276 | =end original |
8495 | 10277 | |
8496 | 10278 | (P) split が無限ループに陥りました。 |
8497 | 10279 | (明らかに、split は、入力文字数以上にはできないはずですが、 |
8498 | 10280 | そうなってしまいました。) |
8499 | 10281 | L<perlfunc/split> を参照してください。 |
8500 | 10282 | |
8501 | 10283 | =item Statement unlikely to be reached |
8502 | 10284 | |
8503 | 10285 | =begin original |
8504 | 10286 | |
8505 | 10287 | (W exec) You did an exec() with some statement after it other than a |
8506 | 10288 | die(). This is almost always an error, because exec() never returns |
8507 | 10289 | unless there was a failure. You probably wanted to use system() |
8508 | 10290 | instead, which does return. To suppress this warning, put the exec() in |
8509 | 10291 | a block by itself. |
8510 | 10292 | |
8511 | 10293 | =end original |
8512 | 10294 | |
8513 | 10295 | (W exec) exec() の後に、die() 以外の実行文があります。 |
8514 | 10296 | 失敗したとき以外は、exec() から戻ってくることはありませんから、 |
8515 | 10297 | ほとんどの場合には誤りでしょう。 |
8516 | 10298 | 戻ってくるsystem() に置き換える必要があるかもしれません。 |
8517 | 10299 | この警告を止めるには、ブロック内に exec() だけを記述してください。 |
8518 | 10300 | |
10301 | =item "state" variable %s can't be in a package | |
10302 | ||
10303 | =begin original | |
10304 | ||
10305 | (F) Lexically scoped variables aren't in a package, so it doesn't make | |
10306 | sense to try to declare one with a package qualifier on the front. Use | |
10307 | local() if you want to localize a package variable. | |
10308 | ||
10309 | =end original | |
10310 | ||
10311 | (F) 字句スコープの変数は、パッケージ内に置かれませんので、 | |
10312 | 頭にパッケージ名を付けて宣言することは、無意味です。 | |
10313 | パッケージ変数をローカル化したい場合には、local() を使ってください。 | |
10314 | ||
8519 | 10315 | =item stat() on unopened filehandle %s |
8520 | 10316 | |
8521 | 10317 | =begin original |
8522 | 10318 | |
8523 | 10319 | (W unopened) You tried to use the stat() function on a filehandle that |
8524 | 10320 | was either never opened or has since been closed. |
8525 | 10321 | |
8526 | 10322 | =end original |
8527 | 10323 | |
8528 | 10324 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
8529 | 10325 | ファイルハンドルに対して、stat() 関数を使おうとしました。 |
8530 | 10326 | |
8531 | =item Stub found while resolving method "%s" overloading "%s" | |
10327 | =item Stub found while resolving method "%s" overloading "%s" in package "%s" | |
8532 | 10328 | |
8533 | 10329 | =begin original |
8534 | 10330 | |
8535 | 10331 | (P) Overloading resolution over @ISA tree may be broken by importation |
8536 | 10332 | stubs. Stubs should never be implicitly created, but explicit calls to |
8537 | 10333 | C<can> may break this. |
8538 | 10334 | |
8539 | 10335 | =end original |
8540 | 10336 | |
8541 | 10337 | (P) @ISA ツリーでのオーバーロードの解決がインポートのスタブで壊されました。 |
8542 | 10338 | スタブは暗黙に作られることはありませんが、明示的に C<can> を呼び出すと |
8543 | 10339 | これを破壊することがあります。 |
8544 | 10340 | |
8545 | 10341 | =item Subroutine %s redefined |
8546 | 10342 | |
8547 | 10343 | =begin original |
8548 | 10344 | |
8549 | 10345 | (W redefine) You redefined a subroutine. To suppress this warning, say |
8550 | 10346 | |
8551 | 10347 | =end original |
8552 | 10348 | |
8553 | (W redefine) サブルー | |
10349 | (W redefine) サブルーチンを再定義しました。 | |
8554 | この警告を止めるには | |
10350 | この警告を止めるには以下のようにしてください: | |
8555 | 10351 | |
8556 | 10352 | { |
8557 | 10353 | no warnings 'redefine'; |
8558 | 10354 | eval "sub name { ... }"; |
8559 | 10355 | } |
8560 | 10356 | |
8561 | 10357 | =item Substitution loop |
8562 | 10358 | |
8563 | 10359 | =begin original |
8564 | 10360 | |
8565 | 10361 | (P) The substitution was looping infinitely. (Obviously, a substitution |
8566 | 10362 | shouldn't iterate more times than there are characters of input, which |
8567 | 10363 | is what happened.) See the discussion of substitution in |
8568 | L<perlop/" | |
10364 | L<perlop/"Regexp Quote-Like Operators">. | |
8569 | 10365 | |
8570 | 10366 | =end original |
8571 | 10367 | |
8572 | 10368 | (P) 置換が無限ループに陥りました。 |
8573 | 10369 | (明らかに、置換は入力文字数以上には起こらないはずですが、 |
8574 | 10370 | それが起こってしまいました。) |
8575 | L<perlop/"Quote and Quote- | |
10371 | L<perlop/"Quote and Quote-Like Operators"> を参照してください。 | |
8576 | 10372 | |
8577 | 10373 | =item Substitution pattern not terminated |
8578 | 10374 | |
8579 | 10375 | =begin original |
8580 | 10376 | |
8581 | 10377 | (F) The lexer couldn't find the interior delimiter of an s/// or s{}{} |
8582 | 10378 | construct. Remember that bracketing delimiters count nesting level. |
8583 | 10379 | Missing the leading C<$> from variable C<$s> may cause this error. |
8584 | 10380 | |
8585 | 10381 | =end original |
8586 | 10382 | |
8587 | 10383 | (F) s/// もしくは s{}{} 構文の真ん中の区切り文字が見つかりませんでした。 |
8588 | ||
10384 | かっこ類の区切り文字では、ネストを数えることを忘れないでください。 | |
8589 | 10385 | C<$s> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 |
8590 | 10386 | |
8591 | 10387 | =item Substitution replacement not terminated |
8592 | 10388 | |
8593 | 10389 | =begin original |
8594 | 10390 | |
8595 | 10391 | (F) The lexer couldn't find the final delimiter of an s/// or s{}{} |
8596 | 10392 | construct. Remember that bracketing delimiters count nesting level. |
8597 | 10393 | Missing the leading C<$> from variable C<$s> may cause this error. |
8598 | 10394 | |
8599 | 10395 | =end original |
8600 | 10396 | |
8601 | 10397 | (F) s/// もしくは s{}{} 構文の最後の区切り文字が見つかりませんでした。 |
8602 | ||
10398 | かっこ類の区切り文字では、ネストを数えることを忘れないでください。 | |
8603 | 10399 | C<$s> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 |
8604 | 10400 | |
8605 | 10401 | =item substr outside of string |
8606 | 10402 | |
8607 | 10403 | =begin original |
8608 | 10404 | |
8609 | 10405 | (W substr),(F) You tried to reference a substr() that pointed outside of |
8610 | 10406 | a string. That is, the absolute value of the offset was larger than the |
8611 | 10407 | length of the string. See L<perlfunc/substr>. This warning is fatal if |
8612 | 10408 | substr is used in an lvalue context (as the left hand side of an |
8613 | 10409 | assignment or as a subroutine argument for example). |
8614 | 10410 | |
8615 | 10411 | =end original |
8616 | 10412 | |
8617 | 10413 | (W substr),(F) 文字列の外を指す substr() を参照しようとしました。 |
8618 | 10414 | つまり、オフセットの絶対値が、文字列の長さより大きくなっています。 |
8619 | 10415 | L<perlfunc/substr> を参照してください。 |
8620 | 10416 | この警告は、substr が(代入の左側やサブルーチンの引数といった) |
8621 | 10417 | 左辺値として使われた場合は致命的となります。 |
8622 | 10418 | |
8623 | =item su | |
10419 | =item sv_upgrade from type %d down to type %d | |
8624 | 10420 | |
8625 | 10421 | =begin original |
8626 | 10422 | |
8627 | ( | |
10423 | (P) Perl tried to force the upgrade of an SV to a type which was actually | |
8628 | ||
10424 | inferior to its current type. | |
8629 | 10425 | |
8630 | 10426 | =end original |
8631 | 10427 | |
8632 | ( | |
10428 | (P) Perl は SV を、実際には現在の型より下位の型への昇格を | |
8633 | ||
10429 | 強制しようとしました。 | |
8634 | 実行されてしまいました。 | |
8635 | 10430 | |
8636 | 10431 | =item Switch (?(condition)... contains too many branches in regex; marked by <-- HERE in m/%s/ |
8637 | 10432 | |
8638 | 10433 | =begin original |
8639 | 10434 | |
8640 | 10435 | (F) A (?(condition)if-clause|else-clause) construct can have at most two |
8641 | 10436 | branches (the if-clause and the else-clause). If you want one or both to |
8642 | 10437 | contain alternation, such as using C<this|that|other>, enclose it in |
8643 | 10438 | clustering parentheses: |
8644 | 10439 | |
8645 | 10440 | =end original |
8646 | 10441 | |
8647 | (F) (?(condition)if-clause|else-clause) 構造は最大で | |
10442 | (F) (?(condition)if-clause|else-clause) 構造は最大で二つの分岐 | |
8648 | 10443 | (if-clause と else-clause) を持つことができます。 |
8649 | 10444 | 片方、または両方に選択肢を含めたいときは、それをかっこで囲んでください: |
8650 | 10445 | |
8651 | 10446 | (?(condition)(?:this|that|other)|else-clause) |
8652 | 10447 | |
8653 | 10448 | =begin original |
8654 | 10449 | |
8655 | 10450 | The <-- HERE shows in the regular expression about where the problem was |
8656 | 10451 | discovered. See L<perlre>. |
8657 | 10452 | |
8658 | 10453 | =end original |
8659 | 10454 | |
8660 | 10455 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
8661 | 10456 | L<perlre> を参照してください。 |
8662 | 10457 | |
8663 | 10458 | =item Switch condition not recognized in regex; marked by <-- HERE in m/%s/ |
8664 | 10459 | |
8665 | 10460 | =begin original |
8666 | 10461 | |
8667 | (F) If the argument to the (?(...)if-clause|else-clause) construct is | |
10462 | (F) If the argument to the (?(...)if-clause|else-clause) construct is | |
8668 | number, it can be only a number. The <-- HERE shows in the regular | |
10463 | a number, it can be only a number. The <-- HERE shows in the regular | |
8669 | about where the problem was discovered. See L<perlre>. | |
10464 | expression about where the problem was discovered. See L<perlre>. | |
8670 | 10465 | |
8671 | 10466 | =end original |
8672 | 10467 | |
8673 | 10468 | (?(...)if-clause|else-clause) 構造の引数が数値なら、数値だけが可能です。 |
8674 | 10469 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
8675 | 10470 | L<perlre> を参照してください。 |
8676 | 10471 | |
8677 | 10472 | =item switching effective %s is not implemented |
8678 | 10473 | |
8679 | 10474 | =begin original |
8680 | 10475 | |
8681 | 10476 | (F) While under the C<use filetest> pragma, we cannot switch the real |
8682 | 10477 | and effective uids or gids. |
8683 | 10478 | |
8684 | 10479 | =end original |
8685 | 10480 | |
8686 | 10481 | (F) C<use filetest> プラグマを使っている間に、 |
8687 | 10482 | 実と実効の UID や GID の切り替えに失敗しました。 |
8688 | 10483 | |
8689 | =item %s syntax | |
10484 | =item %s syntax OK | |
8690 | 10485 | |
8691 | 10486 | =begin original |
8692 | 10487 | |
8693 | 10488 | (F) The final summary message when a C<perl -c> succeeds. |
8694 | 10489 | |
8695 | 10490 | =end original |
8696 | 10491 | |
8697 | 10492 | (F) C<perl -c> が成功したときの最終まとめメッセージです。 |
8698 | 10493 | |
8699 | 10494 | =item syntax error |
8700 | 10495 | |
8701 | 10496 | =begin original |
8702 | 10497 | |
8703 | 10498 | (F) Probably means you had a syntax error. Common reasons include: |
8704 | 10499 | |
8705 | 10500 | =end original |
8706 | 10501 | |
8707 | 10502 | (F) おそらく、構文エラーが起こっています。 |
8708 | 10503 | よくある原因としては以下のことが考えられます: |
8709 | 10504 | |
8710 | 10505 | =begin original |
8711 | 10506 | |
8712 | 10507 | A keyword is misspelled. |
8713 | 10508 | A semicolon is missing. |
8714 | 10509 | A comma is missing. |
8715 | 10510 | An opening or closing parenthesis is missing. |
8716 | 10511 | An opening or closing brace is missing. |
8717 | 10512 | A closing quote is missing. |
8718 | 10513 | |
8719 | 10514 | =end original |
8720 | 10515 | |
8721 | 10516 | キーワードのスペルミス。 |
8722 | 10517 | セミコロンを忘れた。 |
8723 | 10518 | コンマを忘れた。 |
8724 | 開き | |
10519 | 開きかっこ、閉じかっこを忘れた。 | |
8725 | 開き中 | |
10520 | 開き中かっこ、閉じ中かっこを忘れた。 | |
8726 | 10521 | クォートの閉じ忘れ。 |
8727 | 10522 | |
8728 | 10523 | =begin original |
8729 | 10524 | |
8730 | 10525 | Often there will be another error message associated with the syntax |
8731 | 10526 | error giving more information. (Sometimes it helps to turn on B<-w>.) |
8732 | 10527 | The error message itself often tells you where it was in the line when |
8733 | 10528 | it decided to give up. Sometimes the actual error is several tokens |
8734 | 10529 | before this, because Perl is good at understanding random input. |
8735 | 10530 | Occasionally the line number may be misleading, and once in a blue moon |
8736 | 10531 | the only way to figure out what's triggering the error is to call |
8737 | 10532 | C<perl -c> repeatedly, chopping away half the program each time to see |
8738 | 10533 | if the error went away. Sort of the cybernetic version of S<20 |
8739 | 10534 | questions>. |
8740 | 10535 | |
8741 | 10536 | =end original |
8742 | 10537 | |
8743 | 10538 | 多くの場合、構文エラーと一緒に、別のエラーメッセージが出て、 |
8744 | 10539 | 情報を与えてくれます。(-w を付けることが、助けになることもあります。) |
8745 | 10540 | エラーメッセージ自身には、何行目まで行って、諦めたのかということも |
8746 | 10541 | 含まれています。 |
8747 | 10542 | Perl はでたらめな入力を理解するのが得意なので、実際のエラーはもう少し前に |
8748 | 10543 | 在ることもあります。 |
8749 | 10544 | ときには、行番号が全く役に立たないこともあり、はまってしまったなら、 |
8750 | 10545 | エラーのきっかけが何かを見つける唯一の手段は、プログラムを寸断して、 |
8751 | 10546 | エラーがなくなるまで、perl -c を繰り返すしかありません。 |
8752 | 10547 | S<頭の体操 20 問>だと思ってください。 |
8753 | 10548 | |
8754 | 10549 | =item syntax error at line %d: `%s' unexpected |
8755 | 10550 | |
8756 | 10551 | =begin original |
8757 | 10552 | |
8758 | 10553 | (A) You've accidentally run your script through the Bourne shell instead |
8759 | 10554 | of Perl. Check the #! line, or manually feed your script into Perl |
8760 | 10555 | yourself. |
8761 | 10556 | |
8762 | 10557 | =end original |
8763 | 10558 | |
8764 | 10559 | (A) スクリプトを perl ではなく Bourne shell で実行しようとしました。 |
8765 | 10560 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
8766 | 10561 | |
8767 | 10562 | =item syntax error in file %s at line %d, next 2 tokens "%s" |
8768 | 10563 | |
8769 | 10564 | =begin original |
8770 | 10565 | |
8771 | 10566 | (F) This error is likely to occur if you run a perl5 script through |
8772 | 10567 | a perl4 interpreter, especially if the next 2 tokens are "use strict" |
8773 | 10568 | or "my $var" or "our $var". |
8774 | 10569 | |
8775 | 10570 | =end original |
8776 | 10571 | |
8777 | 10572 | (F) このエラーは、perl5 のスクリプトを perl4 インタプリタで実行したときに |
8778 | おきそうなものです; 特に次の | |
10573 | おきそうなものです; 特に次の二つのトークンが "use strict" か | |
8779 | 10574 | "my $var" か "our $var" の場合はそうです。 |
8780 | 10575 | |
8781 | 10576 | =item sysread() on closed filehandle %s |
8782 | 10577 | |
8783 | 10578 | =begin original |
8784 | 10579 | |
8785 | 10580 | (W closed) You tried to read from a closed filehandle. |
8786 | 10581 | |
8787 | 10582 | =end original |
8788 | 10583 | |
8789 | 10584 | (W closed) 閉じたファイルハンドルから読み込もうとしました。 |
8790 | 10585 | |
8791 | 10586 | =item sysread() on unopened filehandle %s |
8792 | 10587 | |
8793 | 10588 | =begin original |
8794 | 10589 | |
8795 | 10590 | (W unopened) You tried to read from a filehandle that was never opened. |
8796 | 10591 | |
8797 | 10592 | =end original |
8798 | 10593 | |
8799 | 10594 | (W unopened) 開いていないファイルハンドルから読み込もうとしました。 |
8800 | 10595 | |
8801 | 10596 | =item System V %s is not implemented on this machine |
8802 | 10597 | |
8803 | 10598 | =begin original |
8804 | 10599 | |
8805 | 10600 | (F) You tried to do something with a function beginning with "sem", |
8806 | 10601 | "shm", or "msg" but that System V IPC is not implemented in your |
8807 | 10602 | machine. In some machines the functionality can exist but be |
8808 | 10603 | unconfigured. Consult your system support. |
8809 | 10604 | |
8810 | 10605 | =end original |
8811 | 10606 | |
8812 | 10607 | (F) 何か、名前が "sem"、"shm"、"msg" で始まる関数を実行しようとしましたが、 |
8813 | 10608 | あなたのマシンには System V IPC が実装されていません。 |
8814 | 10609 | 機能はあっても設定されていない場合もあります。 |
8815 | 10610 | システムサポートに相談してください。 |
8816 | 10611 | |
8817 | 10612 | =item syswrite() on closed filehandle %s |
8818 | 10613 | |
8819 | 10614 | =begin original |
8820 | 10615 | |
8821 | 10616 | (W closed) The filehandle you're writing to got itself closed sometime |
8822 | 10617 | before now. Check your control flow. |
8823 | 10618 | |
8824 | 10619 | =end original |
8825 | 10620 | |
8826 | (W closed) 書き込みを行なおうとしたファイルハンドルは、 | |
10621 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既に閉じられています。 | |
8827 | 既にクローズされています。 | |
8828 | 10622 | 制御フローをチェックしてください。 |
8829 | 10623 | |
8830 | 10624 | =item C<-T> and C<-B> not implemented on filehandles |
8831 | 10625 | |
8832 | 10626 | =begin original |
8833 | 10627 | |
8834 | 10628 | (F) Perl can't peek at the stdio buffer of filehandles when it doesn't |
8835 | 10629 | know about your kind of stdio. You'll have to use a filename instead. |
8836 | 10630 | |
8837 | 10631 | =end original |
8838 | 10632 | |
8839 | 10633 | (F) Perl が、お使いの stdio のことをよく知らないとき、 |
8840 | 10634 | ファイルハンドルの stdio バッファを覗くことはできません。 |
8841 | 10635 | 代わりにファイル名を使わなければなりません。 |
8842 | 10636 | |
8843 | 10637 | =item Target of goto is too deeply nested |
8844 | 10638 | |
8845 | 10639 | =begin original |
8846 | 10640 | |
8847 | 10641 | (F) You tried to use C<goto> to reach a label that was too deeply nested |
8848 | 10642 | for Perl to reach. Perl is doing you a favor by refusing. |
8849 | 10643 | |
8850 | 10644 | =end original |
8851 | 10645 | |
8852 | 10646 | (F) C<goto> で、Perl が届かないほど深くネストしたラベルに移動しようとしました。 |
8853 | 10647 | Perl は親切にもこれを拒否します。 |
8854 | 10648 | |
10649 | =item telldir() attempted on invalid dirhandle %s | |
10650 | ||
10651 | =begin original | |
10652 | ||
10653 | (W io) The dirhandle you tried to telldir() is either closed or not really | |
10654 | a dirhandle. Check your control flow. | |
10655 | ||
10656 | =end original | |
10657 | ||
10658 | (W io) telldir() しようとしたディレクトリハンドルは既に閉じられているか、 | |
10659 | 実際にはディレクトリハンドルではありません。 | |
10660 | 制御フローをチェックしてください。 | |
10661 | ||
8855 | 10662 | =item tell() on unopened filehandle |
8856 | 10663 | |
8857 | 10664 | =begin original |
8858 | 10665 | |
8859 | 10666 | (W unopened) You tried to use the tell() function on a filehandle that |
8860 | 10667 | was either never opened or has since been closed. |
8861 | 10668 | |
8862 | 10669 | =end original |
8863 | 10670 | |
8864 | 10671 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
8865 | 10672 | ファイルハンドルに対して、tell() 関数を使おうとしました。 |
8866 | 10673 | |
8867 | 10674 | =item That use of $[ is unsupported |
8868 | 10675 | |
8869 | 10676 | =begin original |
8870 | 10677 | |
8871 | 10678 | (F) Assignment to C<$[> is now strictly circumscribed, and interpreted |
8872 | 10679 | as a compiler directive. You may say only one of |
8873 | 10680 | |
8874 | 10681 | =end original |
8875 | 10682 | |
8876 | 10683 | (F) 現在、C<$[> への代入は、厳しく制限され、コンパイラ指示子と解釈されます。 |
8877 | 10684 | 使えるのは以下の形だけです: |
8878 | 10685 | |
8879 | 10686 | $[ = 0; |
8880 | 10687 | $[ = 1; |
8881 | 10688 | ... |
8882 | 10689 | local $[ = 0; |
8883 | 10690 | local $[ = 1; |
8884 | 10691 | ... |
8885 | 10692 | |
8886 | 10693 | =begin original |
8887 | 10694 | |
8888 | 10695 | This is to prevent the problem of one module changing the array base out |
8889 | 10696 | from under another module inadvertently. See L<perlvar/$[>. |
8890 | 10697 | |
8891 | 10698 | =end original |
8892 | 10699 | |
8893 | 10700 | これは、一つのモジュールで、他のモジュールが意図しないような、 |
8894 | 10701 | 配列のベースを変更する問題を回避するためのものです。 |
8895 | 10702 | L<perlvar/$[> を参照してください。 |
8896 | 10703 | |
8897 | 10704 | =item The crypt() function is unimplemented due to excessive paranoia |
8898 | 10705 | |
8899 | 10706 | =begin original |
8900 | 10707 | |
8901 | 10708 | (F) Configure couldn't find the crypt() function on your machine, |
8902 | 10709 | probably because your vendor didn't supply it, probably because they |
8903 | 10710 | think the U.S. Government thinks it's a secret, or at least that they |
8904 | 10711 | will continue to pretend that it is. And if you quote me on that, I |
8905 | 10712 | will deny it. |
8906 | 10713 | |
8907 | 10714 | =end original |
8908 | 10715 | |
8909 | (F) Configure は、マシン上で crypt() 関数を見つけられませんでした | |
10716 | (F) Configure は、マシン上で crypt() 関数を見つけられませんでした; | |
8910 | 10717 | おそらく、ベンダからの供給がなかったからで、おそらく、ベンダは |
8911 | 10718 | アメリカ政府がそれを秘密だとしていると思っているか、 |
8912 | 10719 | 少なくとも思っているというふりをしているのでしょう。 |
8913 | 10720 | 私を引き合いに出したところで、それは否定されることでしょう。 |
8914 | 10721 | |
8915 | 10722 | =item The %s function is unimplemented |
8916 | 10723 | |
8917 | 10724 | =begin original |
8918 | 10725 | |
8919 | The function indicated isn't implemented on this architecture, according | |
10726 | (F) The function indicated isn't implemented on this architecture, according | |
8920 | 10727 | to the probings of Configure. |
8921 | 10728 | |
8922 | 10729 | =end original |
8923 | 10730 | |
8924 | 10731 | (F) この関数は、Configure の調査によると、このアーキテクチャでは、 |
8925 | 10732 | 実装されていないようです。 |
8926 | 10733 | |
8927 | 10734 | =item The stat preceding %s wasn't an lstat |
8928 | 10735 | |
8929 | 10736 | =begin original |
8930 | 10737 | |
8931 | 10738 | (F) It makes no sense to test the current stat buffer for symbolic |
8932 | 10739 | linkhood if the last stat that wrote to the stat buffer already went |
8933 | 10740 | past the symlink to get to the real file. Use an actual filename |
8934 | 10741 | instead. |
8935 | 10742 | |
8936 | 10743 | =end original |
8937 | 10744 | |
8938 | 10745 | (F) 過去の stat がシンボリックリンクを通り過ぎた、実際のファイルの |
8939 | 10746 | 情報を取って、stat バッファに入れているときに、シンボリックタイプの |
8940 | 10747 | stat をカレント stat バッファに対して行なっても意味がありません。 |
8941 | 10748 | 実際のファイル名を使ってください。 |
8942 | 10749 | |
8943 | 10750 | =item The 'unique' attribute may only be applied to 'our' variables |
8944 | 10751 | |
8945 | 10752 | =begin original |
8946 | 10753 | |
8947 | (F) | |
10754 | (F) This attribute was never supported on C<my> or C<sub> declarations. | |
8948 | declarations. See L<perlfunc/our>. | |
8949 | 10755 | |
8950 | 10756 | =end original |
8951 | 10757 | |
8952 | (F) | |
10758 | (F) この属性は C<my> や C<sub> の宣言では対応していません。 | |
8953 | L<perlfunc/our> を参照してください。 | |
8954 | 10759 | |
8955 | 10760 | =item This Perl can't reset CRTL environ elements (%s) |
8956 | 10761 | |
8957 | 10762 | =item This Perl can't set CRTL environ elements (%s=%s) |
8958 | 10763 | |
8959 | 10764 | =begin original |
8960 | 10765 | |
8961 | 10766 | (W internal) Warnings peculiar to VMS. You tried to change or delete an |
8962 | 10767 | element of the CRTL's internal environ array, but your copy of Perl |
8963 | 10768 | wasn't built with a CRTL that contained the setenv() function. You'll |
8964 | 10769 | need to rebuild Perl with a CRTL that does, or redefine |
8965 | 10770 | F<PERL_ENV_TABLES> (see L<perlvms>) so that the environ array isn't the |
8966 | 10771 | target of the change to |
8967 | 10772 | %ENV which produced the warning. |
8968 | 10773 | |
8969 | 10774 | =end original |
8970 | 10775 | |
8971 | (W internal) VMS 固有の警告です。 | |
10776 | (W internal) VMS に固有の警告です。 | |
8972 | 10777 | CRTL の内部環境配列を変更または削除しようとしましたが、この Perl は |
8973 | 10778 | setenv() 関数を含んだ CRTL でビルドされていません。 |
8974 | 10779 | これを含む CRTL を使って Perl を再ビルドするか、環境配列がこの警告を |
8975 | 10780 | 出力している %ENV を変更するターゲットとならないように |
8976 | 10781 | F<PERL_ENV_TABLES> (L<perlvms> を参照してください) を再定義してください。 |
8977 | 10782 | |
8978 | 10783 | =item thread failed to start: %s |
8979 | 10784 | |
8980 | 10785 | =begin original |
8981 | 10786 | |
8982 | 10787 | (W threads)(S) The entry point function of threads->create() failed for some reason. |
8983 | 10788 | |
8984 | 10789 | =end original |
8985 | 10790 | |
8986 | 10791 | (W threads)(S) threads->create() のエントリポイント関数が何らかの理由で |
8987 | 10792 | 失敗しました。 |
8988 | 10793 | |
8989 | =item 5.005 threads are deprecated | |
8990 | ||
8991 | =begin original | |
8992 | ||
8993 | (D deprecated) The 5.005-style threads (activated by C<use Thread;>) | |
8994 | are deprecated and one should use the new ithreads instead, | |
8995 | see L<perl58delta> for more details. | |
8996 | ||
8997 | =end original | |
8998 | ||
8999 | (D deprecated) (C<use Thread;> で有効になる) 5.005 風のスレッドは非推奨で、 | |
9000 | 代わりに新しいiスレッドを使うべきです; | |
9001 | さらなる詳細については L<perl58delta> を参照してください。 | |
9002 | ||
9003 | 10794 | =item times not implemented |
9004 | 10795 | |
9005 | 10796 | =begin original |
9006 | 10797 | |
9007 | 10798 | (F) Your version of the C library apparently doesn't do times(). I |
9008 | 10799 | suspect you're not running on Unix. |
9009 | 10800 | |
9010 | 10801 | =end original |
9011 | 10802 | |
9012 | 10803 | (F) お使いの C ライブラリでは、times() を行わないようです。 |
9013 | 10804 | UNIX ではない環境でしょうか。 |
9014 | 10805 | |
9015 | 10806 | =item "-T" is on the #! line, it must also be used on the command line |
9016 | 10807 | |
9017 | 10808 | =begin original |
9018 | 10809 | |
9019 | 10810 | (X) The #! line (or local equivalent) in a Perl script contains the |
9020 | B<-T> option, but Perl was not invoked with B<-T> in its command line. | |
10811 | B<-T> option (or the B<-t> option), but Perl was not invoked with B<-T> in its command line. | |
9021 | 10812 | This is an error because, by the time Perl discovers a B<-T> in a |
9022 | 10813 | script, it's too late to properly taint everything from the environment. |
9023 | 10814 | So Perl gives up. |
9024 | 10815 | |
9025 | 10816 | =end original |
9026 | 10817 | |
9027 | 10818 | (X) Perl スクリプトの #! 行(あるいはローカルで等価なもの)に B<-T> |
9028 | オプションが含まれていますが、Perl は | |
10819 | オプション (または B<-t> オプション) が含まれていますが、Perl は | |
9029 | 起動されていません。 | |
10820 | コマンドラインで B<-T> 付きで起動されていません。 | |
9030 | 10821 | Perl がスクリプトの中で B<-T> を発見した時点では、環境からの全てを |
9031 | 10822 | 汚染チェックするには遅すぎるので、これはエラーになります。 |
9032 | 10823 | それで Perl は諦めます。 |
9033 | 10824 | |
9034 | 10825 | =begin original |
9035 | 10826 | |
9036 | 10827 | If the Perl script is being executed as a command using the #! |
9037 | 10828 | mechanism (or its local equivalent), this error can usually be fixed by |
9038 | editing the #! line so that the B<- | |
10829 | editing the #! line so that the B<-%c> option is a part of Perl's first | |
9039 | argument: e.g. change C<perl -n - | |
10830 | argument: e.g. change C<perl -n -%c> to C<perl -%c -n>. | |
9040 | 10831 | |
9041 | 10832 | =end original |
9042 | 10833 | |
9043 | 10834 | perl スクリプトが #! 機構(またはローカルな等価な機構)を使ってコマンドとして |
9044 | 実行される場合、このエラーは普通 B<- | |
10835 | 実行される場合、このエラーは普通 B<-%c> オプションを Perl の最初の引数に | |
9045 | 変更する(C<perl -n - | |
10836 | 変更する(C<perl -n -%c> を C<perl -%c -n> に変更する)ことで修正されます。 | |
9046 | 10837 | |
9047 | 10838 | =begin original |
9048 | 10839 | |
9049 | 10840 | If the Perl script is being executed as C<perl scriptname>, then the |
9050 | B<- | |
10841 | B<-%c> option must appear on the command line: C<perl -%c scriptname>. | |
9051 | 10842 | |
9052 | 10843 | =end original |
9053 | 10844 | |
9054 | 10845 | Perl スクリプトが C<perl scriptname> として起動される場合、B<-T> オプションは |
9055 | コマンドラインに書かなければなりません: C<perl - | |
10846 | コマンドラインに書かなければなりません: C<perl -%c scriptname> | |
9056 | 10847 | |
9057 | 10848 | =item To%s: illegal mapping '%s' |
9058 | 10849 | |
9059 | 10850 | =begin original |
9060 | 10851 | |
9061 | 10852 | (F) You tried to define a customized To-mapping for lc(), lcfirst, |
9062 | 10853 | uc(), or ucfirst() (or their string-inlined versions), but you |
9063 | 10854 | specified an illegal mapping. |
9064 | 10855 | See L<perlunicode/"User-Defined Character Properties">. |
9065 | 10856 | |
9066 | 10857 | =end original |
9067 | 10858 | |
9068 | 10859 | (F) lc(), lcfirst, uc(), or ucfirst() (またはこれらの文字列組み込み版)の |
9069 | 10860 | ためのカスタマイズされた変換先マッピングを定義しようとしましたが、 |
9070 | 10861 | 不正なマッピングを指定しました。 |
9071 | 10862 | L<perlunicode/"User-Defined Character Properties"> を参照してください。 |
9072 | 10863 | |
9073 | 10864 | =item Too deeply nested ()-groups |
9074 | 10865 | |
9075 | 10866 | =begin original |
9076 | 10867 | |
9077 | (F) Your template contains ()-groups with a ridiculously deep nesting level. | |
10868 | (F) Your template contains ()-groups with a ridiculously deep nesting level. | |
9078 | 10869 | |
9079 | 10870 | =end original |
9080 | 10871 | |
9081 | 10872 | (F) テンプレートに、おかしいぐらいネストした () グループがあります。 |
9082 | 10873 | |
9083 | 10874 | =item Too few args to syscall |
9084 | 10875 | |
9085 | 10876 | =begin original |
9086 | 10877 | |
9087 | 10878 | (F) There has to be at least one argument to syscall() to specify the |
9088 | 10879 | system call to call, silly dilly. |
9089 | 10880 | |
9090 | 10881 | =end original |
9091 | 10882 | |
9092 | 10883 | (F) syscall() には、最低限でも呼び出すシステムコールを示す、 |
9093 | 10884 | 引数が一つ必要です。 |
9094 | 10885 | |
9095 | 10886 | =item Too late for "-%s" option |
9096 | 10887 | |
9097 | 10888 | =begin original |
9098 | 10889 | |
9099 | 10890 | (X) The #! line (or local equivalent) in a Perl script contains the |
9100 | B<-M> | |
10891 | B<-M>, B<-m> or B<-C> option. | |
9101 | are not intended for use inside scripts. Use the C<use> pragma instead. | |
9102 | 10892 | |
9103 | 10893 | =end original |
9104 | 10894 | |
9105 | (X) Perl スクリプトの #! 行(またはローカルな等価な機構)に B<-M> | |
10895 | (X) Perl スクリプトの #! 行(またはローカルな等価な機構)に B<-M>, B<-m>, | |
9106 | B<- | |
10896 | B<-C> オプションが含まれています。 | |
9107 | ||
10898 | =begin original | |
10899 | ||
10900 | In the case of B<-M> and B<-m>, this is an error because those options are | |
10901 | not intended for use inside scripts. Use the C<use> pragma instead. | |
10902 | ||
10903 | =end original | |
10904 | ||
10905 | B<-M> と B<-m> に関しては、スクリプト内部で使うためのものではないので、 | |
9108 | 10906 | これはエラーになります。 |
9109 | 10907 | 代わりに C<use> プラグマを使ってください。 |
9110 | 10908 | |
10909 | =begin original | |
10910 | ||
10911 | The B<-C> option only works if it is specified on the command line as well | |
10912 | (with the same sequence of letters or numbers following). Either specify | |
10913 | this option on the command line, or, if your system supports it, make your | |
10914 | script executable and run it directly instead of passing it to perl. | |
10915 | ||
10916 | =end original | |
10917 | ||
10918 | B<-C> オプションは、コマンドラインも (以下と同じ文字と数値の並びで) | |
10919 | 指定されたときにのみ動作します。 | |
10920 | このオプションをコマンドラインで指定するか、もしシステムが対応しているなら、 | |
10921 | スクリプトを perl に渡すのではなく、スクリプトを実行可能にして | |
10922 | 直接実行してください。 | |
10923 | ||
9111 | 10924 | =item Too late to run %s block |
9112 | 10925 | |
9113 | 10926 | =begin original |
9114 | 10927 | |
9115 | 10928 | (W void) A CHECK or INIT block is being defined during run time proper, |
9116 | 10929 | when the opportunity to run them has already passed. Perhaps you are |
9117 | 10930 | loading a file with C<require> or C<do> when you should be using C<use> |
9118 | 10931 | instead. Or perhaps you should put the C<require> or C<do> inside a |
9119 | 10932 | BEGIN block. |
9120 | 10933 | |
9121 | 10934 | =end original |
9122 | 10935 | |
9123 | 10936 | (W void) CHECK か INIT のブロックが、それが実行される機会が過ぎてから |
9124 | 10937 | 実行時に定義されました。 |
9125 | 10938 | おそらく C<use> を使うべきときに C<require> か C<do> を使ってファイルを |
9126 | 10939 | 読み込んでいます。 |
9127 | 10940 | あるいはおそらく BEGIN ブロックの中に C<require> か C<do> を |
9128 | 10941 | 書いたのでしょう。 |
9129 | 10942 | |
9130 | 10943 | =item Too many args to syscall |
9131 | 10944 | |
9132 | 10945 | =begin original |
9133 | 10946 | |
9134 | 10947 | (F) Perl supports a maximum of only 14 args to syscall(). |
9135 | 10948 | |
9136 | 10949 | =end original |
9137 | 10950 | |
9138 | 10951 | (F) Perl では、syscall() に最大 14 までしか、引数を渡すことができません。 |
9139 | 10952 | |
9140 | 10953 | =item Too many arguments for %s |
9141 | 10954 | |
9142 | 10955 | =begin original |
9143 | 10956 | |
9144 | 10957 | (F) The function requires fewer arguments than you specified. |
9145 | 10958 | |
9146 | 10959 | =end original |
9147 | 10960 | |
9148 | 10961 | (F) 関数が要求する以上の引数を指定しました。 |
9149 | 10962 | |
9150 | 10963 | =item Too many )'s |
9151 | 10964 | |
9152 | 10965 | =begin original |
9153 | 10966 | |
9154 | 10967 | (A) You've accidentally run your script through B<csh> instead of Perl. |
9155 | 10968 | Check the #! line, or manually feed your script into Perl yourself. |
9156 | 10969 | |
9157 | 10970 | =end original |
9158 | 10971 | |
9159 | 10972 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
9160 | 10973 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
9161 | 10974 | |
9162 | 10975 | =item Too many ('s |
9163 | 10976 | |
9164 | 10977 | =begin original |
9165 | 10978 | |
9166 | 10979 | (A) You've accidentally run your script through B<csh> instead of Perl. |
9167 | 10980 | Check the #! line, or manually feed your script into Perl yourself. |
9168 | 10981 | |
9169 | 10982 | =end original |
9170 | 10983 | |
9171 | 10984 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
9172 | 10985 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
9173 | 10986 | |
9174 | 10987 | =item Trailing \ in regex m/%s/ |
9175 | 10988 | |
9176 | 10989 | =begin original |
9177 | 10990 | |
9178 | 10991 | (F) The regular expression ends with an unbackslashed backslash. |
9179 | 10992 | Backslash it. See L<perlre>. |
9180 | 10993 | |
9181 | 10994 | =end original |
9182 | 10995 | |
9183 | 10996 | (F) 正規表現が、バックスラッシュを付けていないバックスラッシュで |
9184 | 10997 | 終了しました。バックスラッシュを付けてください。 |
9185 | 10998 | L<perlre> を参照してください。 |
9186 | 10999 | |
9187 | 11000 | =item Transliteration pattern not terminated |
9188 | 11001 | |
9189 | 11002 | =begin original |
9190 | 11003 | |
9191 | 11004 | (F) The lexer couldn't find the interior delimiter of a tr/// or tr[][] |
9192 | 11005 | or y/// or y[][] construct. Missing the leading C<$> from variables |
9193 | 11006 | C<$tr> or C<$y> may cause this error. |
9194 | 11007 | |
9195 | 11008 | =end original |
9196 | 11009 | |
9197 | 11010 | (F) tr///, tr[][], y///, y[][] 構文の真ん中の区切り文字が |
9198 | 11011 | 見つかりませんでした。 |
9199 | 11012 | C<$tr> 変数 や C<$y> 変数の前に C<$> をつけるのを忘れると |
9200 | 11013 | このエラーが出ることがあります。 |
9201 | 11014 | |
9202 | 11015 | =item Transliteration replacement not terminated |
9203 | 11016 | |
9204 | 11017 | =begin original |
9205 | 11018 | |
9206 | 11019 | (F) The lexer couldn't find the final delimiter of a tr///, tr[][], |
9207 | 11020 | y/// or y[][] construct. |
9208 | 11021 | |
9209 | 11022 | =end original |
9210 | 11023 | |
9211 | 11024 | (F) tr///, tr[][], y///, y[][] 構文の最後の区切り文字が |
9212 | 11025 | 見つかりませんでした。 |
9213 | 11026 | |
9214 | 11027 | =item '%s' trapped by operation mask |
9215 | 11028 | |
9216 | 11029 | =begin original |
9217 | 11030 | |
9218 | 11031 | (F) You tried to use an operator from a Safe compartment in which it's |
9219 | 11032 | disallowed. See L<Safe>. |
9220 | 11033 | |
9221 | 11034 | =end original |
9222 | 11035 | |
9223 | 11036 | (F) Safe 区画の中で、許されていない演算子を使おうとしました。 |
9224 | 11037 | L<Safe> を参照してください。 |
9225 | 11038 | |
9226 | 11039 | =item truncate not implemented |
9227 | 11040 | |
9228 | 11041 | =begin original |
9229 | 11042 | |
9230 | 11043 | (F) Your machine doesn't implement a file truncation mechanism that |
9231 | 11044 | Configure knows about. |
9232 | 11045 | |
9233 | 11046 | =end original |
9234 | 11047 | |
9235 | 11048 | (F) このマシンでは、Configure が知りうる、ファイルの切り詰めの機能が |
9236 | 11049 | 実装されていません。 |
9237 | 11050 | |
9238 | 11051 | =item Type of arg %d to %s must be %s (not %s) |
9239 | 11052 | |
9240 | 11053 | =begin original |
9241 | 11054 | |
9242 | 11055 | (F) This function requires the argument in that position to be of a |
9243 | 11056 | certain type. Arrays must be @NAME or C<@{EXPR}>. Hashes must be |
9244 | 11057 | %NAME or C<%{EXPR}>. No implicit dereferencing is allowed--use the |
9245 | 11058 | {EXPR} forms as an explicit dereference. See L<perlref>. |
9246 | 11059 | |
9247 | 11060 | =end original |
9248 | 11061 | |
9249 | 11062 | (F) この関数は、その位置に決まった型の引数を必要とします。 |
9250 | 配列は、@NAME もしくは C<@{EXPR}> でな | |
11063 | 配列は、@NAME もしくは C<@{EXPR}> でなりません。 | |
9251 | %NAME もしくは C<%{EXPR}> でなければなりません。 | |
11064 | ハッシュは、%NAME もしくは C<%{EXPR}> でなければなりません。 | |
9252 | 11065 | 暗黙の被参照は許されませんので、明示的な被参照として、 |
9253 | 11066 | {EXPR} 形式を使ってください。 |
9254 | 11067 | L<perlref> を参照してください。 |
9255 | 11068 | |
11069 | =item Type of argument to %s must be unblessed hashref or arrayref | |
11070 | ||
11071 | =begin original | |
11072 | ||
11073 | (F) You called C<keys>, C<values> or C<each> with a scalar argument that | |
11074 | was not a reference to an unblessed hash or array. | |
11075 | ||
11076 | =end original | |
11077 | ||
11078 | (F) bless されていないハッシュや配列へのリファレンスでないスカラ引数を使って | |
11079 | C<keys>, C<values>, C<each> を呼び出しました。 | |
11080 | ||
9256 | 11081 | =item umask not implemented |
9257 | 11082 | |
9258 | 11083 | =begin original |
9259 | 11084 | |
9260 | 11085 | (F) Your machine doesn't implement the umask function and you tried to |
9261 | 11086 | use it to restrict permissions for yourself (EXPR & 0700). |
9262 | 11087 | |
9263 | 11088 | =end original |
9264 | 11089 | |
9265 | 11090 | (F) umask 関数が実装されていないマシンで、自分自身の権限を制限する |
9266 | 11091 | (EXPR & 0700) ためにこれを使おうとしました。 |
9267 | 11092 | |
9268 | 11093 | =item Unable to create sub named "%s" |
9269 | 11094 | |
9270 | 11095 | =begin original |
9271 | 11096 | |
9272 | 11097 | (F) You attempted to create or access a subroutine with an illegal name. |
9273 | 11098 | |
9274 | 11099 | =end original |
9275 | 11100 | |
9276 | 11101 | (F) 不正な名前のサブルーチンを作成または呼び出ししようとしました。 |
9277 | 11102 | |
9278 | 11103 | =item Unbalanced context: %d more PUSHes than POPs |
9279 | 11104 | |
9280 | 11105 | =begin original |
9281 | 11106 | |
9282 | 11107 | (W internal) The exit code detected an internal inconsistency in how |
9283 | 11108 | many execution contexts were entered and left. |
9284 | 11109 | |
9285 | 11110 | =end original |
9286 | 11111 | |
9287 | 11112 | (W internal) いくつの実行コンテキストに入って、出たかということの |
9288 | 11113 | 内部矛盾が exit コードで発見されました。 |
9289 | 11114 | |
9290 | 11115 | =item Unbalanced saves: %d more saves than restores |
9291 | 11116 | |
9292 | 11117 | =begin original |
9293 | 11118 | |
9294 | 11119 | (W internal) The exit code detected an internal inconsistency in how |
9295 | 11120 | many values were temporarily localized. |
9296 | 11121 | |
9297 | 11122 | =end original |
9298 | 11123 | |
9299 | 11124 | (W internal) いくつの値が、一時的にローカル化されたかということの |
9300 | 11125 | 内部矛盾が exit コードで発見されました。 |
9301 | 11126 | |
9302 | 11127 | =item Unbalanced scopes: %d more ENTERs than LEAVEs |
9303 | 11128 | |
9304 | 11129 | =begin original |
9305 | 11130 | |
9306 | 11131 | (W internal) The exit code detected an internal inconsistency in how |
9307 | 11132 | many blocks were entered and left. |
9308 | 11133 | |
9309 | 11134 | =end original |
9310 | 11135 | |
9311 | 11136 | (W internal) いくつのブロックに入って、出たかということの |
9312 | 11137 | 内部矛盾が exit コードで発見されました。 |
9313 | 11138 | |
9314 | 11139 | =item Unbalanced tmps: %d more allocs than frees |
9315 | 11140 | |
9316 | 11141 | =begin original |
9317 | 11142 | |
9318 | 11143 | (W internal) The exit code detected an internal inconsistency in how |
9319 | 11144 | many mortal scalars were allocated and freed. |
9320 | 11145 | |
9321 | 11146 | =end original |
9322 | 11147 | |
9323 | 11148 | (W internal) いくつの揮発性スカラの割り当てを行ない、解放したかと |
9324 | 11149 | いうことの内部矛盾が exit コードで発見されました。 |
9325 | 11150 | |
9326 | 11151 | =item Undefined format "%s" called |
9327 | 11152 | |
9328 | 11153 | =begin original |
9329 | 11154 | |
9330 | 11155 | (F) The format indicated doesn't seem to exist. Perhaps it's really in |
9331 | 11156 | another package? See L<perlform>. |
9332 | 11157 | |
9333 | 11158 | =end original |
9334 | 11159 | |
9335 | (F) | |
11160 | (F) 示されたフォーマットが存在しないようです。 | |
9336 | おそらく | |
11161 | おそらく本当は他のパッケージにあるのでは? | |
9337 | 11162 | L<perlform> を参照してください。 |
9338 | 11163 | |
9339 | 11164 | =item Undefined sort subroutine "%s" called |
9340 | 11165 | |
9341 | 11166 | =begin original |
9342 | 11167 | |
9343 | 11168 | (F) The sort comparison routine specified doesn't seem to exist. |
9344 | 11169 | Perhaps it's in a different package? See L<perlfunc/sort>. |
9345 | 11170 | |
9346 | 11171 | =end original |
9347 | 11172 | |
9348 | 11173 | (F) 指定された sort の比較ルーティンは存在していないように思われます。 |
9349 | 11174 | おそらく、別のパッケージに存在するのではないでしょうか。 |
9350 | L<perlfunc/sort>を参照してください。 | |
11175 | L<perlfunc/sort> を参照してください。 | |
9351 | 11176 | |
9352 | 11177 | =item Undefined subroutine &%s called |
9353 | 11178 | |
9354 | 11179 | =begin original |
9355 | 11180 | |
9356 | 11181 | (F) The subroutine indicated hasn't been defined, or if it was, it has |
9357 | 11182 | since been undefined. |
9358 | 11183 | |
9359 | 11184 | =end original |
9360 | 11185 | |
9361 | (F) 指定されたサブルー | |
11186 | (F) 指定されたサブルーチンが定義されていません; 定義されていたとしても、 | |
9362 | ||
11187 | 既に未定義になっています。 | |
9363 | 11188 | |
9364 | 11189 | =item Undefined subroutine called |
9365 | 11190 | |
9366 | 11191 | =begin original |
9367 | 11192 | |
9368 | 11193 | (F) The anonymous subroutine you're trying to call hasn't been defined, |
9369 | 11194 | or if it was, it has since been undefined. |
9370 | 11195 | |
9371 | 11196 | =end original |
9372 | 11197 | |
9373 | (F) 呼びだそうとしている無名のサブルー | |
11198 | (F) 呼びだそうとしている無名のサブルーチンは、定義されていません; | |
9374 | 11199 | 定義されていたとしても、既に未定義になっています。 |
9375 | 11200 | |
9376 | 11201 | =item Undefined subroutine in sort |
9377 | 11202 | |
9378 | 11203 | =begin original |
9379 | 11204 | |
9380 | 11205 | (F) The sort comparison routine specified is declared but doesn't seem |
9381 | 11206 | to have been defined yet. See L<perlfunc/sort>. |
9382 | 11207 | |
9383 | 11208 | =end original |
9384 | 11209 | |
9385 | 11210 | (F) 指定された sort の比較ルーティンは宣言されましたが、 |
9386 | 11211 | 定義されていないようです。 |
9387 | 11212 | L<perlfunc/sort> を参照してください。 |
9388 | 11213 | |
9389 | 11214 | =item Undefined top format "%s" called |
9390 | 11215 | |
9391 | 11216 | =begin original |
9392 | 11217 | |
9393 | 11218 | (F) The format indicated doesn't seem to exist. Perhaps it's really in |
9394 | 11219 | another package? See L<perlform>. |
9395 | 11220 | |
9396 | 11221 | =end original |
9397 | 11222 | |
9398 | 11223 | (F) 示されたフォーマットが存在しないようです。 |
9399 | 11224 | おそらく本当は他のパッケージにあるのでは? |
9400 | 11225 | L<perlform> を参照してください。 |
9401 | 11226 | |
9402 | 11227 | =item Undefined value assigned to typeglob |
9403 | 11228 | |
9404 | 11229 | =begin original |
9405 | 11230 | |
9406 | 11231 | (W misc) An undefined value was assigned to a typeglob, a la |
9407 | 11232 | C<*foo = undef>. This does nothing. It's possible that you really mean |
9408 | 11233 | C<undef *foo>. |
9409 | 11234 | |
9410 | 11235 | =end original |
9411 | 11236 | |
9412 | 11237 | (W misc) C<*foo = undef> のように、未定義値を型グロブに代入しました。 |
9413 | 11238 | これは何もしません。 |
9414 | 11239 | 本当は C<undef *foo> としたかったのかもしれません。 |
9415 | 11240 | |
9416 | 11241 | =item %s: Undefined variable |
9417 | 11242 | |
9418 | 11243 | =begin original |
9419 | 11244 | |
9420 | 11245 | (A) You've accidentally run your script through B<csh> instead of Perl. |
9421 | 11246 | Check the #! line, or manually feed your script into Perl yourself. |
9422 | 11247 | |
9423 | 11248 | =end original |
9424 | 11249 | |
9425 | 11250 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
9426 | 11251 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
9427 | 11252 | |
9428 | 11253 | =item unexec of %s into %s failed! |
9429 | 11254 | |
9430 | 11255 | =begin original |
9431 | 11256 | |
9432 | 11257 | (F) The unexec() routine failed for some reason. See your local FSF |
9433 | 11258 | representative, who probably put it there in the first place. |
9434 | 11259 | |
9435 | 11260 | =end original |
9436 | 11261 | |
9437 | 11262 | (F) unexec() ルーティンが何らかの理由によって失敗しました。 |
9438 | 11263 | 最初にインストールしたであろう、サイトの FSF 代表者にたずねてみてください。 |
9439 | 11264 | |
9440 | =item Unicode character % | |
11265 | =item Unicode non-character U+%X is illegal for open interchange | |
9441 | 11266 | |
9442 | 11267 | =begin original |
9443 | 11268 | |
9444 | (W utf8) Certain | |
11269 | (W utf8, nonchar) Certain codepoints, such as U+FFFE and U+FFFF, are | |
9445 | ||
11270 | defined by the | |
9446 | ||
11271 | Unicode standard to be non-characters. Those are legal codepoints, but are | |
11272 | reserved for internal use; so, applications shouldn't attempt to exchange | |
11273 | them. If you know what you are doing you can turn | |
11274 | off this warning by C<no warnings 'nonchar';>. | |
9447 | 11275 | |
9448 | 11276 | =end original |
9449 | 11277 | |
9450 | (W utf8) いくつかの | |
11278 | (W utf8, nonchar) U+FFFE や U+FFFF のようないくつかの符号位置は Unicode 標準によって | |
9451 | 指定されてい | |
11279 | 非文字として指定されています。 | |
9452 | ||
11280 | これらは有効な符号位置ですが、内部使用のために予約されています; 従って、 | |
11281 | アプリケーションはこれを交換しようとするべきではありません。 | |
11282 | もし自分が何をしているかを理解しているなら、C<no warnings 'nonchar';> で | |
9453 | 11283 | 警告を無効にできます。 |
9454 | 11284 | |
11285 | =item Unicode surrogate U+%X is illegal in UTF-8 | |
11286 | ||
11287 | =begin original | |
11288 | ||
11289 | (W utf8, surrogate) You had a UTF-16 surrogate in a context where they are | |
11290 | not considered acceptable. These code points, between U+D800 and | |
11291 | U+DFFF (inclusive), are used by Unicode only for UTF-16. However, Perl | |
11292 | internally allows all unsigned integer code points (up to the size limit | |
11293 | available on your platform), including surrogates. But these can cause | |
11294 | problems when being input or output, which is likely where this message | |
11295 | came from. If you really really know what you are doing you can turn | |
11296 | off this warning by C<no warnings 'surrogate';>. | |
11297 | ||
11298 | =end original | |
11299 | ||
11300 | (W utf8, surrogate) 受け付けられないと考えられる場所に UTF-16 サロゲートを | |
11301 | 使いました。 | |
11302 | これらの符号位置、U+D800 から U+DFFF (両端含む) は UTF-16 のためだけに | |
11303 | Unicode によって使われます。 | |
11304 | しかし Perl は、サロゲートを含む、内部で全ての符号なし整数の符号位置(最大値は | |
11305 | プラットフォームで利用可能なサイズ上限)を受け付けます。 | |
11306 | しかし、これらは入力や出力になるときに問題を引き起こします; それは | |
11307 | おそらくこのメッセージが出た場所です。 | |
11308 | 自分で何をしているのかが本当に本当に分かっているなら、 | |
11309 | C<no warnings 'surrogate';> とすることでこの警告をオフにできます。 | |
11310 | ||
9455 | 11311 | =item Unknown BYTEORDER |
9456 | 11312 | |
9457 | 11313 | =begin original |
9458 | 11314 | |
9459 | 11315 | (F) There are no byte-swapping functions for a machine with this byte |
9460 | 11316 | order. |
9461 | 11317 | |
9462 | 11318 | =end original |
9463 | 11319 | |
9464 | 11320 | (F) このバイト順序を入れ替える関数がありません。 |
9465 | 11321 | |
9466 | 11322 | =item Unknown open() mode '%s' |
9467 | 11323 | |
9468 | 11324 | =begin original |
9469 | 11325 | |
9470 | 11326 | (F) The second argument of 3-argument open() is not among the list |
9471 | 11327 | of valid modes: C<< < >>, C<< > >>, C<<< >> >>>, C<< +< >>, |
9472 | 11328 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|->, C<< <& >>, C<< >& >>. |
9473 | 11329 | |
9474 | 11330 | =end original |
9475 | 11331 | |
9476 | 11332 | (F) 3 引数 open() の 第 2 引数が以下の有効なモードの |
9477 | 11333 | どれでもありませんでした: |
9478 | 11334 | C<< < >>, C<< > >>, C<<< >> >>>, C<< +< >>, |
9479 | 11335 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|->, C<< <& >>, C<< >& >> |
9480 | 11336 | |
9481 | 11337 | =item Unknown PerlIO layer "%s" |
9482 | 11338 | |
9483 | 11339 | =begin original |
9484 | 11340 | |
9485 | 11341 | (W layer) An attempt was made to push an unknown layer onto the Perl I/O |
9486 | 11342 | system. (Layers take care of transforming data between external and |
9487 | 11343 | internal representations.) Note that some layers, such as C<mmap>, |
9488 | 11344 | are not supported in all environments. If your program didn't |
9489 | 11345 | explicitly request the failing operation, it may be the result of the |
9490 | 11346 | value of the environment variable PERLIO. |
9491 | 11347 | |
9492 | 11348 | =end original |
9493 | 11349 | |
9494 | 11350 | (W layer) 不明な層をPerl I/O システムに追加しようとしました。 |
9495 | 11351 | (層はデータの外部表現と内部表現の変換を扱います。) |
9496 | 11352 | C<mmap> のような層は、全ての環境で対応しているわけではないことに |
9497 | 11353 | 注意してください。 |
9498 | 11354 | 明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の |
9499 | 11355 | 値が原因かもしれません。 |
9500 | 11356 | |
9501 | 11357 | =item Unknown process %x sent message to prime_env_iter: %s |
9502 | 11358 | |
9503 | 11359 | =begin original |
9504 | 11360 | |
9505 | 11361 | (P) An error peculiar to VMS. Perl was reading values for %ENV before |
9506 | 11362 | iterating over it, and someone else stuck a message in the stream of |
9507 | 11363 | data Perl expected. Someone's very confused, or perhaps trying to |
9508 | 11364 | subvert Perl's population of %ENV for nefarious purposes. |
9509 | 11365 | |
9510 | 11366 | =end original |
9511 | 11367 | |
9512 | (P) VMS 固有のエラーです。 | |
11368 | (P) VMS に固有のエラーです。 | |
9513 | 11369 | Perl は %ENV を反復する前に %ENV から値を読み込み、Perl が想定している |
9514 | 11370 | データストリームの中に誰かがメッセージを差し込みました。 |
9515 | 11371 | 誰かはとても混乱しているか、邪悪な目的のために %ENV の Perl の集団を |
9516 | 11372 | 滅亡させようとしています。 |
9517 | 11373 | |
9518 | 11374 | =item Unknown "re" subpragma '%s' (known ones are: %s) |
9519 | 11375 | |
9520 | 11376 | =begin original |
9521 | 11377 | |
9522 | You tried to use an unknown subpragma of the "re" pragma. | |
11378 | (W) You tried to use an unknown subpragma of the "re" pragma. | |
9523 | 11379 | |
9524 | 11380 | =end original |
9525 | 11381 | |
9526 | "re" プラグマの、不明なサブプラグマを使おうとしました。 | |
11382 | (W) "re" プラグマの、不明なサブプラグマを使おうとしました。 | |
9527 | 11383 | |
9528 | =item Unknown switch condition (?(% | |
11384 | =item Unknown switch condition (?(%s in regex; marked by <-- HERE in m/%s/ | |
9529 | 11385 | |
9530 | 11386 | =begin original |
9531 | 11387 | |
9532 | 11388 | (F) The condition part of a (?(condition)if-clause|else-clause) construct |
9533 | is not known. The condition m | |
11389 | is not known. The condition must be one of the following: | |
9534 | is true if the lookahead or lookbehind is true), a (?{...}) construct (the | |
9535 | condition is true if the code evaluates to a true value), or a number (the | |
9536 | condition is true if the set of capturing parentheses named by the number | |
9537 | matched). | |
9538 | 11390 | |
9539 | 11391 | =end original |
9540 | 11392 | |
9541 | 11393 | (F) (?(condition)if-clause|else-clause) 構文の条件部が不明です。 |
9542 | 条件は | |
11394 | 条件は以下の一つでなければなりません: | |
9543 | (?{...}) 構文 (コードが真の値に評価されれば真)、 | |
9544 | 数値 (番号付けされた、捕捉されたかっこの集合が定義されていれば真) の | |
9545 | いずれかです。 | |
9546 | 11395 | |
11396 | (1) (2) ... true if 1st, 2nd, etc., capture matched | |
11397 | (<NAME>) ('NAME') true if named capture matched | |
11398 | (?=...) (?<=...) true if subpattern matches | |
11399 | (?!...) (?<!...) true if subpattern fails to match | |
11400 | (?{ CODE }) true if code returns a true value | |
11401 | (R) true if evaluating inside recursion | |
11402 | (R1) (R2) ... true if directly inside capture group 1, 2, etc. | |
11403 | (R&NAME) true if directly inside named capture | |
11404 | (DEFINE) always false; for defining named subpatterns | |
11405 | ||
9547 | 11406 | =begin original |
9548 | 11407 | |
9549 | 11408 | The <-- HERE shows in the regular expression about where the problem was |
9550 | 11409 | discovered. See L<perlre>. |
9551 | 11410 | |
9552 | 11411 | =end original |
9553 | 11412 | |
9554 | 11413 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
9555 | 11414 | L<perlre> を参照してください。 |
9556 | 11415 | |
9557 | 11416 | =item Unknown Unicode option letter '%c' |
9558 | 11417 | |
9559 | 11418 | =begin original |
9560 | 11419 | |
9561 | You specified an unknown Unicode option. See L<perlrun> documentation | |
11420 | (F) You specified an unknown Unicode option. See L<perlrun> documentation | |
9562 | 11421 | of the C<-C> switch for the list of known options. |
9563 | 11422 | |
9564 | 11423 | =end original |
9565 | 11424 | |
9566 | 不明な Unicode オプションを指定しました。 | |
11425 | (F) 不明な Unicode オプションを指定しました。 | |
9567 | 11426 | オプションの一覧については、L<perlrun> ドキュメントの C<-C> オプションを |
9568 | 11427 | 参照してください。 |
9569 | 11428 | |
9570 | 11429 | =item Unknown Unicode option value %x |
9571 | 11430 | |
9572 | 11431 | =begin original |
9573 | 11432 | |
9574 | You specified an unknown Unicode option. See L<perlrun> documentation | |
11433 | (F) You specified an unknown Unicode option. See L<perlrun> documentation | |
9575 | 11434 | of the C<-C> switch for the list of known options. |
9576 | 11435 | |
9577 | 11436 | =end original |
9578 | 11437 | |
9579 | 不明な Unicode オプションを指定しました。 | |
11438 | (F) 不明な Unicode オプションを指定しました。 | |
9580 | 11439 | オプションの一覧については、L<perlrun> ドキュメントの C<-C> オプションを |
9581 | 11440 | 参照してください。 |
9582 | 11441 | |
11442 | =item Unknown verb pattern '%s' in regex; marked by <-- HERE in m/%s/ | |
11443 | ||
11444 | =begin original | |
11445 | ||
11446 | (F) You either made a typo or have incorrectly put a C<*> quantifier | |
11447 | after an open brace in your pattern. Check the pattern and review | |
11448 | L<perlre> for details on legal verb patterns. | |
11449 | ||
11450 | =end original | |
11451 | ||
11452 | (F) タイプミスをしたか、間違ってパターン中の開き大かっこの後に | |
11453 | C<*> 量指定子を書いたかどちらかです。 | |
11454 | パターンをチェックして、有効な動詞パターンの詳細については | |
11455 | L<perlre> を再チェックしてください。 | |
11456 | ||
9583 | 11457 | =item Unknown warnings category '%s' |
9584 | 11458 | |
9585 | 11459 | =begin original |
9586 | 11460 | |
9587 | 11461 | (F) An error issued by the C<warnings> pragma. You specified a warnings |
9588 | 11462 | category that is unknown to perl at this point. |
9589 | 11463 | |
9590 | 11464 | =end original |
9591 | 11465 | |
9592 | 11466 | (F) C<warnings> プラグマによるエラーです。 |
9593 | 11467 | 現在のところ perl が知らない警告カテゴリを指定しました。 |
9594 | 11468 | |
9595 | 11469 | =begin original |
9596 | 11470 | |
9597 | Note that if you want to enable a warnings category registered by a | |
11471 | Note that if you want to enable a warnings category registered by a | |
9598 | (e.g. C<use warnings 'File::Find'>), you must have | |
11472 | module (e.g. C<use warnings 'File::Find'>), you must have loaded this | |
9599 | first. | |
11473 | module first. | |
9600 | 11474 | |
9601 | 11475 | =end original |
9602 | 11476 | |
9603 | 11477 | (C<use warnings 'File::Find'> のように)モジュールによって登録される |
9604 | 警告カテゴリを有効にしたい場合、このモジュールを先に | |
11478 | 警告カテゴリを有効にしたい場合、このモジュールを先に読み込む必要が | |
9605 | 11479 | あることに注意してください。 |
9606 | 11480 | |
9607 | 11481 | =item unmatched [ in regex; marked by <-- HERE in m/%s/ |
9608 | 11482 | |
9609 | 11483 | =begin original |
9610 | 11484 | |
9611 | 11485 | (F) The brackets around a character class must match. If you wish to |
9612 | 11486 | include a closing bracket in a character class, backslash it or put it |
9613 | 11487 | first. The <-- HERE shows in the regular expression about where the problem |
9614 | 11488 | was discovered. See L<perlre>. |
9615 | 11489 | |
9616 | 11490 | =end original |
9617 | 11491 | |
9618 | 11492 | (F) 文字クラスの周りの大かっこが一致していません。 |
9619 | 11493 | 文字クラスに閉じ大かっこを含めたい場合は、バックスラッシュをつけるか |
9620 | 11494 | 先頭に置いてください。 |
9621 | 11495 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
9622 | 11496 | L<perlre> を参照してください。 |
9623 | 11497 | |
9624 | 11498 | =item unmatched ( in regex; marked by <-- HERE in m/%s/ |
9625 | 11499 | |
9626 | 11500 | =begin original |
9627 | 11501 | |
9628 | 11502 | (F) Unbackslashed parentheses must always be balanced in regular |
9629 | 11503 | expressions. If you're a vi user, the % key is valuable for finding the |
9630 | 11504 | matching parenthesis. The <-- HERE shows in the regular expression about |
9631 | 11505 | where the problem was discovered. See L<perlre>. |
9632 | 11506 | |
9633 | 11507 | =end original |
9634 | 11508 | |
9635 | 11509 | (F) 正規表現の中ではバックスラッシュのついていないかっこは常に |
9636 | 11510 | 対応していなければなりません。 |
9637 | 11511 | vi ユーザーであれば、% キーが対応するかっこの発見に有用です。 |
9638 | 11512 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
9639 | 11513 | L<perlre> を参照してください。 |
9640 | 11514 | |
9641 | 11515 | =item Unmatched right %s bracket |
9642 | 11516 | |
9643 | 11517 | =begin original |
9644 | 11518 | |
9645 | 11519 | (F) The lexer counted more closing curly or square brackets than opening |
9646 | 11520 | ones, so you're probably missing a matching opening bracket. As a |
9647 | 11521 | general rule, you'll find the missing one (so to speak) near the place |
9648 | 11522 | you were last editing. |
9649 | 11523 | |
9650 | 11524 | =end original |
9651 | 11525 | |
9652 | 11526 | (F) 文法解析器が、閉じ中かっこや大かっこが開きかっこよりも多いことを |
9653 | 11527 | 見つけました; おそらく対応する開きかっこを忘れたのでしょう。 |
9654 | 11528 | 一般的な規則として、忘れたかっこ(そう呼ぶなら)はあなたが最後に編集した |
9655 | 11529 | 場所の近くにあります。 |
9656 | 11530 | |
9657 | 11531 | =item Unquoted string "%s" may clash with future reserved word |
9658 | 11532 | |
9659 | 11533 | =begin original |
9660 | 11534 | |
9661 | 11535 | (W reserved) You used a bareword that might someday be claimed as a |
9662 | 11536 | reserved word. It's best to put such a word in quotes, or capitalize it |
9663 | 11537 | somehow, or insert an underbar into it. You might also declare it as a |
9664 | 11538 | subroutine. |
9665 | 11539 | |
9666 | 11540 | =end original |
9667 | 11541 | |
9668 | 11542 | (W) いつの日にか、予約語とかち合うかもしれない、裸の単語を使用しています。 |
9669 | 11543 | そのような単語は、クォートするか、大文字を入れるか、アンダーバー (_) を |
9670 | 11544 | いれるかしてください。 |
9671 | その裸の単語は、サブルー | |
11545 | その裸の単語は、サブルーチンとして宣言することも可能です。 | |
9672 | 11546 | |
9673 | =item Unrecognized character %s | |
11547 | =item Unrecognized character %s; marked by <-- HERE after %s near column %d | |
9674 | 11548 | |
9675 | 11549 | =begin original |
9676 | 11550 | |
9677 | 11551 | (F) The Perl parser has no idea what to do with the specified character |
9678 | in your Perl script (or eval). Perhaps you tried | |
11552 | in your Perl script (or eval) near the specified column. Perhaps you tried | |
9679 | script, a binary program, or a directory as a Perl program. | |
11553 | to run a compressed script, a binary program, or a directory as a Perl program. | |
9680 | 11554 | |
9681 | 11555 | =end original |
9682 | 11556 | |
9683 | (F) Perl パーサーは、Perl スクリプト(または eval) で | |
11557 | (F) Perl パーサーは、Perl スクリプト(または eval) で指定された桁数あたりに | |
9684 | どうすればよいか分かりませんでした。 | |
11558 | 出てきた文字に対してどうすればよいか分かりませんでした。 | |
9685 | 11559 | おそらく圧縮したスクリプト、バイナリプログラム、ディレクトリといったものを |
9686 | 11560 | Perl プログラムとして実行しようとしたのでしょう。 |
9687 | 11561 | |
9688 | =item | |
11562 | =item Unrecognized escape \%c in character class passed through in regex; marked by <-- HERE in m/%s/ | |
9689 | 11563 | |
9690 | 11564 | =begin original |
9691 | 11565 | |
9692 | 11566 | (W regexp) You used a backslash-character combination which is not |
9693 | 11567 | recognized by Perl inside character classes. The character was |
9694 | understood literally. | |
11568 | understood literally, but this may change in a future version of Perl. | |
11569 | The <-- HERE shows in the regular expression about where the | |
11570 | escape was discovered. | |
9695 | 11571 | |
9696 | 11572 | =end original |
9697 | 11573 | |
9698 | 11574 | (W regexp) Perl 内部文字クラスで認識できない、バックスラッシュ-文字の |
9699 | 11575 | 組み合わせを使いました。 |
9700 | 文字はリテラルに理 | |
11576 | 文字はリテラルに処理されますが、将来のバージョンの Perl では | |
11577 | 変更されるかもしれません。 | |
11578 | <-- HERE で正規表現のどこにエスケープが発見されたかを示しています。 | |
9701 | 11579 | |
9702 | =item Unrecognized escape \ | |
11580 | =item Unrecognized escape \%c passed through | |
9703 | 11581 | |
9704 | 11582 | =begin original |
9705 | 11583 | |
9706 | 11584 | (W misc) You used a backslash-character combination which is not |
9707 | recognized by Perl. | |
11585 | recognized by Perl. The character was understood literally, but this may | |
11586 | change in a future version of Perl. | |
9708 | 11587 | |
9709 | 11588 | =end original |
9710 | 11589 | |
9711 | 11590 | (W misc) Perl が理解できないバックスラッシュ-文字の組み合わせが |
9712 | 11591 | 使われています。 |
11592 | 文字はリテラルに処理されますが、将来のバージョンの Perl では | |
11593 | 変更されるかもしれません。 | |
9713 | 11594 | |
9714 | =item Unrecognized escape \ | |
11595 | =item Unrecognized escape \%s passed through in regex; marked by <-- HERE in m/%s/ | |
9715 | 11596 | |
9716 | 11597 | =begin original |
9717 | 11598 | |
9718 | 11599 | (W regexp) You used a backslash-character combination which is not |
9719 | recognized by Perl. Th | |
11600 | recognized by Perl. The character(s) were understood literally, but this may | |
9720 | a | |
11601 | change in a future version of Perl. | |
9721 | ||
11602 | The <-- HERE shows in the regular expression about where the | |
9722 | 11603 | escape was discovered. |
9723 | 11604 | |
9724 | 11605 | =end original |
9725 | 11606 | |
9726 | 11607 | (W regexp) Perl が認識できない、バックスラッシュ-文字の組み合わせが |
9727 | 11608 | 使われています。 |
9728 | ||
11609 | 文字はリテラルに処理されますが、将来のバージョンの Perl では | |
9729 | ||
11610 | 変更されるかもしれません。 | |
9730 | ||
11611 | <-- HERE で正規表現のどこにエスケープが発見されたかを示しています。 | |
9731 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
9732 | 11612 | |
9733 | 11613 | =item Unrecognized signal name "%s" |
9734 | 11614 | |
9735 | 11615 | =begin original |
9736 | 11616 | |
9737 | 11617 | (F) You specified a signal name to the kill() function that was not |
9738 | 11618 | recognized. Say C<kill -l> in your shell to see the valid signal names |
9739 | 11619 | on your system. |
9740 | 11620 | |
9741 | 11621 | =end original |
9742 | 11622 | |
9743 | 11623 | (F) kill() 関数に、認識できないシグナル名を指定しました。 |
9744 | 11624 | お使いのシステムで使用可能なシグナル名を調べるには、 |
9745 | 11625 | シェル上で C<kill -l> などとしてください。 |
9746 | 11626 | |
9747 | 11627 | =item Unrecognized switch: -%s (-h will show valid options) |
9748 | 11628 | |
9749 | 11629 | =begin original |
9750 | 11630 | |
9751 | 11631 | (F) You specified an illegal option to Perl. Don't do that. (If you |
9752 | 11632 | think you didn't do that, check the #! line to see if it's supplying the |
9753 | 11633 | bad switch on your behalf.) |
9754 | 11634 | |
9755 | 11635 | =end original |
9756 | 11636 | |
9757 | 11637 | (F) Perl に間違ったオプションを指定しました。 |
9758 | 11638 | これを行なってはいけません。 |
9759 | 11639 | (指定したつもりがないのであれば、#! 行に間違ったオプションが |
9760 | 11640 | スイッチが指定されていないかをチェックしてください。) |
9761 | 11641 | |
9762 | 11642 | =item Unsuccessful %s on filename containing newline |
9763 | 11643 | |
9764 | 11644 | =begin original |
9765 | 11645 | |
9766 | 11646 | (W newline) A file operation was attempted on a filename, and that |
9767 | 11647 | operation failed, PROBABLY because the filename contained a newline, |
9768 | 11648 | PROBABLY because you forgot to chomp() it off. See L<perlfunc/chomp>. |
9769 | 11649 | |
9770 | 11650 | =end original |
9771 | 11651 | |
9772 | 11652 | (W newline) あるファイル名に対して、ファイル操作を行ないましたが、 |
9773 | 失敗しました | |
11653 | 失敗しました; 「おそらく」ファイル名に改行文字がついていたからで、 | |
9774 | 「おそらく」ファイル名に改行文字がついていたからで、 | |
9775 | 11654 | 「おそらく」 chomp() するのを忘れたのでしょう。 |
9776 | 11655 | L<perlfunc/chomp> を参照してください。 |
9777 | 11656 | |
9778 | 11657 | =item Unsupported directory function "%s" called |
9779 | 11658 | |
9780 | 11659 | =begin original |
9781 | 11660 | |
9782 | 11661 | (F) Your machine doesn't support opendir() and readdir(). |
9783 | 11662 | |
9784 | 11663 | =end original |
9785 | 11664 | |
9786 | 11665 | (F) このマシンでは、opendir() や readdir() がサポートされていません。 |
9787 | 11666 | |
9788 | 11667 | =item Unsupported function %s |
9789 | 11668 | |
9790 | 11669 | =begin original |
9791 | 11670 | |
9792 | 11671 | (F) This machine doesn't implement the indicated function, apparently. |
9793 | 11672 | At least, Configure doesn't think so. |
9794 | 11673 | |
9795 | 11674 | =end original |
9796 | 11675 | |
9797 | 11676 | (F) このマシンでは、表示した関数は実装されていません。 |
9798 | 11677 | 少なくとも、Configure はそう判断しました。 |
9799 | 11678 | |
9800 | 11679 | =item Unsupported function fork |
9801 | 11680 | |
9802 | 11681 | =begin original |
9803 | 11682 | |
9804 | 11683 | (F) Your version of executable does not support forking. |
9805 | 11684 | |
9806 | 11685 | =end original |
9807 | 11686 | |
9808 | 11687 | (F) この実行ファイルは fork に対応していません。 |
9809 | 11688 | |
9810 | 11689 | =begin original |
9811 | 11690 | |
9812 | 11691 | Note that under some systems, like OS/2, there may be different flavors |
9813 | 11692 | of Perl executables, some of which may support fork, some not. Try |
9814 | 11693 | changing the name you call Perl by to C<perl_>, C<perl__>, and so on. |
9815 | 11694 | |
9816 | 11695 | =end original |
9817 | 11696 | |
9818 | 11697 | OS/2 のようなシステムには、Perl 実行ファイルにいくつかの種類があり、 |
9819 | 11698 | fork に対応しているものとしていないものがあります。 |
9820 | 11699 | Perl を呼び出す時の名前を C<perl_>, C<perl__> のように |
9821 | 11700 | 変えてみてください。 |
9822 | 11701 | |
9823 | 11702 | =item Unsupported script encoding %s |
9824 | 11703 | |
9825 | 11704 | =begin original |
9826 | 11705 | |
9827 | 11706 | (F) Your program file begins with a Unicode Byte Order Mark (BOM) which |
9828 | 11707 | declares it to be in a Unicode encoding that Perl cannot read. |
9829 | 11708 | |
9830 | 11709 | =end original |
9831 | 11710 | |
9832 | 11711 | (F) プログラムファイルが、Perl が読み込めない Unicode エンコーディングを |
9833 | 11712 | 宣言する Unicode Byte Order Mark (BOM) で始まっています。 |
9834 | 11713 | |
9835 | 11714 | =item Unsupported socket function "%s" called |
9836 | 11715 | |
9837 | 11716 | =begin original |
9838 | 11717 | |
9839 | 11718 | (F) Your machine doesn't support the Berkeley socket mechanism, or at |
9840 | 11719 | least that's what Configure thought. |
9841 | 11720 | |
9842 | 11721 | =end original |
9843 | 11722 | |
9844 | 11723 | (F) このマシンでは、Berkeley ソケット機構がサポートされていないか、 |
9845 | 11724 | 少なくとも Configure がそう判断しました。 |
9846 | 11725 | |
9847 | 11726 | =item Unterminated attribute list |
9848 | 11727 | |
9849 | 11728 | =begin original |
9850 | 11729 | |
9851 | 11730 | (F) The lexer found something other than a simple identifier at the |
9852 | 11731 | start of an attribute, and it wasn't a semicolon or the start of a |
9853 | 11732 | block. Perhaps you terminated the parameter list of the previous |
9854 | 11733 | attribute too soon. See L<attributes>. |
9855 | 11734 | |
9856 | 11735 | =end original |
9857 | 11736 | |
9858 | 11737 | (F) 字句解析器が、属性の先頭として単純な識別子やセミコロンやブロックの |
9859 | 11738 | 開始でないものを発見しました。 |
9860 | 11739 | おそらく以前の属性のパラメータリストを早く終端しすぎたのでしょう。 |
9861 | 11740 | L<attributes> を参照してください。 |
9862 | 11741 | |
9863 | 11742 | =item Unterminated attribute parameter in attribute list |
9864 | 11743 | |
9865 | 11744 | =begin original |
9866 | 11745 | |
9867 | 11746 | (F) The lexer saw an opening (left) parenthesis character while parsing |
9868 | 11747 | an attribute list, but the matching closing (right) parenthesis |
9869 | 11748 | character was not found. You may need to add (or remove) a backslash |
9870 | 11749 | character to get your parentheses to balance. See L<attributes>. |
9871 | 11750 | |
9872 | 11751 | =end original |
9873 | 11752 | |
9874 | 11753 | (F) 字句解析器が、属性リストをパースしているときに開き(左)かっこを |
9875 | 11754 | 発見しましたが、対応する閉じ(右)かっこが見つかりませんでした。 |
9876 | 11755 | かっこのバランスを取るために、バックスラッシュを追加(または削除)する |
9877 | 11756 | 必要があるでしょう。 |
9878 | 11757 | L<attributes> を参照してください。 |
9879 | 11758 | |
9880 | 11759 | =item Unterminated compressed integer |
9881 | 11760 | |
9882 | 11761 | =begin original |
9883 | 11762 | |
9884 | 11763 | (F) An argument to unpack("w",...) was incompatible with the BER |
9885 | 11764 | compressed integer format and could not be converted to an integer. |
9886 | 11765 | See L<perlfunc/pack>. |
9887 | 11766 | |
9888 | 11767 | =end original |
9889 | 11768 | |
9890 | 11769 | (F) unpack("w",...) の引数が BER 圧縮整数フォーマットと互換性がなく、 |
9891 | 11770 | 整数に変換できませんでした。 |
9892 | 11771 | L<perlfunc/pack> を参照してください。 |
9893 | 11772 | |
11773 | =item Unterminated \g{...} pattern in regex; marked by <-- HERE in m/%s/ | |
11774 | ||
11775 | =begin original | |
11776 | ||
11777 | (F) You missed a close brace on a \g{..} pattern (group reference) in | |
11778 | a regular expression. Fix the pattern and retry. | |
11779 | ||
11780 | =end original | |
11781 | ||
11782 | (F) 正規表現の \g{..} (グループリファレンス) の閉じかっこがありません。 | |
11783 | パターンを修正して再挑戦してください。 | |
11784 | ||
9894 | 11785 | =item Unterminated <> operator |
9895 | 11786 | |
9896 | 11787 | =begin original |
9897 | 11788 | |
9898 | 11789 | (F) The lexer saw a left angle bracket in a place where it was expecting |
9899 | 11790 | a term, so it's looking for the corresponding right angle bracket, and |
9900 | 11791 | not finding it. Chances are you left some needed parentheses out |
9901 | 11792 | earlier in the line, and you really meant a "less than". |
9902 | 11793 | |
9903 | 11794 | =end original |
9904 | 11795 | |
9905 | (F) 項が必要とされるところで、開き山 | |
11796 | (F) 項が必要とされるところで、開き山かっこが見つけたため、 | |
9906 | 対応する閉じ山 | |
11797 | 対応する閉じ山かっこを探しましたが、見つかりませんでした。 | |
9907 | 可能性としては、必要な | |
11798 | 可能性としては、必要なかっこを省いてしまい、本当は、「小なり記号」を | |
9908 | 11799 | 表したかった場合が考えられます。 |
9909 | 11800 | |
11801 | =item Unterminated verb pattern argument in regex; marked by <-- HERE in m/%s/ | |
11802 | ||
11803 | =begin original | |
11804 | ||
11805 | (F) You used a pattern of the form C<(*VERB:ARG)> but did not terminate | |
11806 | the pattern with a C<)>. Fix the pattern and retry. | |
11807 | ||
11808 | =end original | |
11809 | ||
11810 | (F) C<(*VERB:ARG)> の形のパターンを使いましたが、パターンが C<)> で | |
11811 | 終わっていません。 | |
11812 | パターンを修正して再挑戦してください。 | |
11813 | ||
11814 | =item Unterminated verb pattern in regex; marked by <-- HERE in m/%s/ | |
11815 | ||
11816 | =begin original | |
11817 | ||
11818 | (F) You used a pattern of the form C<(*VERB)> but did not terminate | |
11819 | the pattern with a C<)>. Fix the pattern and retry. | |
11820 | ||
11821 | =end original | |
11822 | ||
11823 | (F) C<(*VERB)> の形のパターンを使いましたが、パターンが C<)> で | |
11824 | 終わっていません。 | |
11825 | パターンを修正して再挑戦してください。 | |
11826 | ||
9910 | 11827 | =item untie attempted while %d inner references still exist |
9911 | 11828 | |
9912 | 11829 | =begin original |
9913 | 11830 | |
9914 | 11831 | (W untie) A copy of the object returned from C<tie> (or C<tied>) was |
9915 | 11832 | still valid when C<untie> was called. |
9916 | 11833 | |
9917 | 11834 | =end original |
9918 | 11835 | |
9919 | 11836 | (W untie) C<tie> (または C<tied>) から返されたオブジェクトが、 |
9920 | 11837 | C<untie> が呼び出されたときにまだ有効でした。 |
9921 | 11838 | |
9922 | 11839 | =item Usage: POSIX::%s(%s) |
9923 | 11840 | |
9924 | 11841 | =begin original |
9925 | 11842 | |
9926 | 11843 | (F) You called a POSIX function with incorrect arguments. |
9927 | 11844 | See L<POSIX/FUNCTIONS> for more information. |
9928 | 11845 | |
9929 | 11846 | =end original |
9930 | 11847 | |
9931 | 11848 | (F) POSIX 関数を間違った引数で呼び出しました。 |
9932 | 11849 | さらなる情報については L<POSIX/FUNCTIONS> を参照してください。 |
9933 | 11850 | |
9934 | 11851 | =item Usage: Win32::%s(%s) |
9935 | 11852 | |
9936 | 11853 | =begin original |
9937 | 11854 | |
9938 | 11855 | (F) You called a Win32 function with incorrect arguments. |
9939 | 11856 | See L<Win32> for more information. |
9940 | 11857 | |
9941 | 11858 | =end original |
9942 | 11859 | |
9943 | 11860 | (F) Win32 関数を間違った引数で呼び出しました。 |
9944 | 11861 | 更なる情報については L<Win32> を参照してください。 |
9945 | 11862 | |
9946 | 11863 | =item Useless (?-%s) - don't use /%s modifier in regex; marked by <-- HERE in m/%s/ |
9947 | 11864 | |
9948 | 11865 | =begin original |
9949 | 11866 | |
9950 | 11867 | (W regexp) You have used an internal modifier such as (?-o) that has no |
9951 | 11868 | meaning unless removed from the entire regexp: |
9952 | 11869 | |
9953 | 11870 | =end original |
9954 | 11871 | |
9955 | 11872 | (W regexp) (?-o) のような内部修飾子は、正規表現全体から除去されなければ |
9956 | 11873 | 意味がありません: |
9957 | 11874 | |
9958 | 11875 | if ($string =~ /(?-o)$pattern/o) { ... } |
9959 | 11876 | |
9960 | 11877 | =begin original |
9961 | 11878 | |
9962 | 11879 | must be written as |
9963 | 11880 | |
9964 | 11881 | =end original |
9965 | 11882 | |
9966 | このように書かなければなりません: | |
11883 | これは以下のように書かなければなりません: | |
9967 | 11884 | |
9968 | 11885 | if ($string =~ /$pattern/) { ... } |
9969 | 11886 | |
9970 | 11887 | =begin original |
9971 | 11888 | |
9972 | 11889 | The <-- HERE shows in the regular expression about |
9973 | 11890 | where the problem was discovered. See L<perlre>. |
9974 | 11891 | |
9975 | 11892 | =end original |
9976 | 11893 | |
9977 | 11894 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
9978 | 11895 | L<perlre> を参照してください。 |
9979 | 11896 | |
11897 | =item Useless localization of %s | |
11898 | ||
11899 | =begin original | |
11900 | ||
11901 | (W syntax) The localization of lvalues such as C<local($x=10)> is | |
11902 | legal, but in fact the local() currently has no effect. This may change at | |
11903 | some point in the future, but in the meantime such code is discouraged. | |
11904 | ||
11905 | =end original | |
11906 | ||
11907 | (W syntax) C<local($x=10)> のような左辺値のローカル化は有効ですが、 | |
11908 | 実際のところ local() は現在のところ何の効果もありません。 | |
11909 | これは将来変更されるかもしれませんが、今のところはこのようなコードは | |
11910 | 勧められません。 | |
11911 | ||
9980 | 11912 | =item Useless (?%s) - use /%s modifier in regex; marked by <-- HERE in m/%s/ |
9981 | 11913 | |
9982 | 11914 | =begin original |
9983 | 11915 | |
9984 | 11916 | (W regexp) You have used an internal modifier such as (?o) that has no |
9985 | 11917 | meaning unless applied to the entire regexp: |
9986 | 11918 | |
9987 | 11919 | =end original |
9988 | 11920 | |
9989 | 11921 | (W regexp) (?o) のような内部修飾子は、正規表現全体に適用されなければ |
9990 | 11922 | 意味がありません: |
9991 | 11923 | |
9992 | 11924 | if ($string =~ /(?o)$pattern/) { ... } |
9993 | 11925 | |
9994 | 11926 | =begin original |
9995 | 11927 | |
9996 | 11928 | must be written as |
9997 | 11929 | |
9998 | 11930 | =end original |
9999 | 11931 | |
10000 | 11932 | これは以下のように書かなければなりません: |
10001 | 11933 | |
10002 | 11934 | if ($string =~ /$pattern/o) { ... } |
10003 | 11935 | |
10004 | 11936 | =begin original |
10005 | 11937 | |
10006 | 11938 | The <-- HERE shows in the regular expression about |
10007 | 11939 | where the problem was discovered. See L<perlre>. |
10008 | 11940 | |
10009 | 11941 | =end original |
10010 | 11942 | |
10011 | 11943 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 |
10012 | 11944 | L<perlre> を参照してください。 |
10013 | 11945 | |
11946 | =item Useless use of /d modifier in transliteration operator | |
11947 | ||
11948 | =begin original | |
11949 | ||
11950 | (W misc) You have used the /d modifier where the searchlist has the | |
11951 | same length as the replacelist. See L<perlop> for more information | |
11952 | about the /d modifier. | |
11953 | ||
11954 | =end original | |
11955 | ||
11956 | (W misc) 検索リストが置換リストと同じ長さの時に /d 修飾子を使いました。 | |
11957 | /d 修飾子に関するさらなる情報については L<perlop> を参照してください。 | |
11958 | ||
10014 | 11959 | =item Useless use of %s in void context |
10015 | 11960 | |
10016 | 11961 | =begin original |
10017 | 11962 | |
10018 | 11963 | (W void) You did something without a side effect in a context that does |
10019 | 11964 | nothing with the return value, such as a statement that doesn't return a |
10020 | 11965 | value from a block, or the left side of a scalar comma operator. Very |
10021 | 11966 | often this points not to stupidity on your part, but a failure of Perl |
10022 | 11967 | to parse your program the way you thought it would. For example, you'd |
10023 | 11968 | get this if you mixed up your C precedence with Python precedence and |
10024 | 11969 | said |
10025 | 11970 | |
10026 | 11971 | =end original |
10027 | 11972 | |
10028 | 11973 | (W void) ブロックの値を返さない文や、スカラのコンマ演算子の左側のように |
10029 | 11974 | 返却値の無い文脈で、副作用のないことを行ないました。 |
10030 | 11975 | 多くは、みなさんの間違いを指摘するものではなく、Perl がみなさんの |
10031 | 11976 | 意向を汲み取った解釈ができないことで起こります。 |
10032 | 11977 | たとえば、みなさんが C の優先順位を Python の優先順位と混同して |
10033 | 11978 | 以下のようにした場合です: |
10034 | 11979 | |
10035 | 11980 | $one, $two = 1, 2; |
10036 | 11981 | |
10037 | 11982 | =begin original |
10038 | 11983 | |
10039 | 11984 | when you meant to say |
10040 | 11985 | |
10041 | 11986 | =end original |
10042 | 11987 | |
10043 | 11988 | 以下のようにするべきです。 |
10044 | 11989 | |
10045 | 11990 | ($one, $two) = (1, 2); |
10046 | 11991 | |
10047 | 11992 | =begin original |
10048 | 11993 | |
10049 | 11994 | Another common error is to use ordinary parentheses to construct a list |
10050 | 11995 | reference when you should be using square or curly brackets, for |
10051 | 11996 | example, if you say |
10052 | 11997 | |
10053 | 11998 | =end original |
10054 | 11999 | |
10055 | その他の良くあるエラーとしては、リストを作るのに中 | |
12000 | その他の良くあるエラーとしては、リストを作るのに中かっこや大かっこを | |
10056 | ||
12001 | 使うべきところで普通のかっこを使うことです; 例えば、以下のように書いた | |
10057 | ||
12002 | 場合です: | |
10058 | 12003 | |
10059 | 12004 | $array = (1,2); |
10060 | 12005 | |
10061 | 12006 | =begin original |
10062 | 12007 | |
10063 | 12008 | when you should have said |
10064 | 12009 | |
10065 | 12010 | =end original |
10066 | 12011 | |
10067 | 12012 | 以下のように書くべきです: |
10068 | 12013 | |
10069 | 12014 | $array = [1,2]; |
10070 | 12015 | |
10071 | 12016 | =begin original |
10072 | 12017 | |
10073 | 12018 | The square brackets explicitly turn a list value into a scalar value, |
10074 | 12019 | while parentheses do not. So when a parenthesized list is evaluated in |
10075 | 12020 | a scalar context, the comma is treated like C's comma operator, which |
10076 | 12021 | throws away the left argument, which is not what you want. See |
10077 | 12022 | L<perlref> for more on this. |
10078 | 12023 | |
10079 | 12024 | =end original |
10080 | 12025 | |
10081 | 12026 | 角かっこはリスト値を明示的にスカラ値に変換しますが、かっこは変換しません。 |
10082 | 12027 | そのため、かっこで括られたリストをスカラコンテキストで評価すると、 |
10083 | 12028 | カンマは C のカンマ演算子のように扱われ、左側の引数は捨てられます; |
10084 | 12029 | これは望んでいることではないでしょう。 |
10085 | 12030 | これに関するさらなる情報については L<perlref> を参照してください。 |
10086 | 12031 | |
10087 | 12032 | =begin original |
10088 | 12033 | |
10089 | 12034 | This warning will not be issued for numerical constants equal to 0 or 1 |
10090 | 12035 | since they are often used in statements like |
10091 | 12036 | |
10092 | 12037 | =end original |
10093 | 12038 | |
10094 | 12039 | この警告は、0 か 1 と等しい数値定数では起きません; なぜなら、 |
10095 | 12040 | しばしば以下のような文で使われるからです: |
10096 | 12041 | |
10097 | 12042 | 1 while sub_with_side_effects(); |
10098 | 12043 | |
10099 | 12044 | =begin original |
10100 | 12045 | |
10101 | 12046 | String constants that would normally evaluate to 0 or 1 are warned |
10102 | 12047 | about. |
10103 | 12048 | |
10104 | 12049 | =end original |
10105 | 12050 | |
10106 | 12051 | 通常 0 か 1 に評価される文字列定数は警告されます。 |
10107 | 12052 | |
10108 | 12053 | =item Useless use of "re" pragma |
10109 | 12054 | |
10110 | 12055 | =begin original |
10111 | 12056 | |
10112 | 12057 | (W) You did C<use re;> without any arguments. That isn't very useful. |
10113 | 12058 | |
10114 | 12059 | =end original |
10115 | 12060 | |
10116 | 12061 | (W) C<use re;> プラグマを引数なしで指定しました。これは無意味です。 |
10117 | 12062 | |
10118 | 12063 | =item Useless use of sort in scalar context |
10119 | 12064 | |
10120 | 12065 | =begin original |
10121 | 12066 | |
10122 | 12067 | (W void) You used sort in scalar context, as in : |
10123 | 12068 | |
10124 | 12069 | =end original |
10125 | 12070 | |
10126 | 12071 | (W void) こんな風に、ソートをスカラコンテキストで使いました: |
10127 | 12072 | |
10128 | 12073 | my $x = sort @y; |
10129 | 12074 | |
10130 | 12075 | =begin original |
10131 | 12076 | |
10132 | 12077 | This is not very useful, and perl currently optimizes this away. |
10133 | 12078 | |
10134 | 12079 | =end original |
10135 | 12080 | |
10136 | 12081 | これは全く便利ではないので、perl は現在のところ最適化して取り除きます。 |
10137 | 12082 | |
10138 | 12083 | =item Useless use of %s with no values |
10139 | 12084 | |
10140 | 12085 | =begin original |
10141 | 12086 | |
10142 | 12087 | (W syntax) You used the push() or unshift() function with no arguments |
10143 | 12088 | apart from the array, like C<push(@x)> or C<unshift(@foo)>. That won't |
10144 | 12089 | usually have any effect on the array, so is completely useless. It's |
10145 | 12090 | possible in principle that push(@tied_array) could have some effect |
10146 | 12091 | if the array is tied to a class which implements a PUSH method. If so, |
10147 | 12092 | you can write it as C<push(@tied_array,())> to avoid this warning. |
10148 | 12093 | |
10149 | 12094 | =end original |
10150 | 12095 | |
10151 | 12096 | (W syntax) C<push(@x)> や C<unshift(@foo)> のようにして、push() 関数や |
10152 | 12097 | unshift() 関数を、配列以外の引数なしで使いました。 |
10153 | 12098 | これは普通は配列に何の影響も与えないので、完全に無意味です。 |
10154 | 12099 | 理論的には、配列が tie されているクラスの PUSH メソッドの実装によっては |
10155 | 12100 | push(@tied_array) が何らかの効果を持つ可能性はあります。 |
10156 | 12101 | もしそうなら、これを C<push(@tied_array,())> のように書くことで警告を |
10157 | 12102 | 回避できます。 |
10158 | 12103 | |
10159 | 12104 | =item "use" not allowed in expression |
10160 | 12105 | |
10161 | 12106 | =begin original |
10162 | 12107 | |
10163 | 12108 | (F) The "use" keyword is recognized and executed at compile time, and |
10164 | 12109 | returns no useful value. See L<perlmod>. |
10165 | 12110 | |
10166 | 12111 | =end original |
10167 | 12112 | |
10168 | 12113 | (F) "use" キーワードは、コンパイル時に認識され、実行されるもので、 |
10169 | 12114 | 意味のある値を返しません。 |
10170 | 12115 | L<perlmod> を参照してください。 |
10171 | 12116 | |
12117 | =item Use of assignment to $[ is deprecated | |
12118 | ||
12119 | =begin original | |
12120 | ||
12121 | (D deprecated) The C<$[> variable (index of the first element in an array) | |
12122 | is deprecated. See L<perlvar/"$[">. | |
12123 | ||
12124 | =end original | |
12125 | ||
12126 | (D deprecated) C<$[> 変数 (配列の最初の要素のインデックス) は廃止予定です。 | |
12127 | L<perlvar/"$["> を参照してください。 | |
12128 | ||
10172 | 12129 | =item Use of bare << to mean <<"" is deprecated |
10173 | 12130 | |
10174 | 12131 | =begin original |
10175 | 12132 | |
10176 | (D deprecated) You are now encouraged to use the explicitly quoted | |
12133 | (D deprecated) You are now encouraged to use the explicitly quoted | |
10177 | if you wish to use an empty line as the terminator of the here-document. | |
12134 | form if you wish to use an empty line as the terminator of the here-document. | |
10178 | 12135 | |
10179 | 12136 | =end original |
10180 | 12137 | |
10181 | (D deprecated) ヒアドキュメントの終端子として空行を | |
12138 | (D deprecated) ヒアドキュメントの終端子として空行を | |
10182 | 明示的にクォートされた形を使うことを推奨しています。 | |
12139 | 使いたいときには、明示的にクォートされた形を使うことを推奨しています。 | |
10183 | 12140 | |
12141 | =item Use of comma-less variable list is deprecated | |
12142 | ||
12143 | =begin original | |
12144 | ||
12145 | (D deprecated) The values you give to a format should be | |
12146 | separated by commas, not just aligned on a line. | |
12147 | ||
12148 | =end original | |
12149 | ||
12150 | (D deprecated) フォーマットに与えた値は単に行で | |
12151 | 並べるのではなくて、カンマで区切るべきです。 | |
12152 | ||
10184 | 12153 | =item Use of chdir('') or chdir(undef) as chdir() deprecated |
10185 | 12154 | |
10186 | 12155 | =begin original |
10187 | 12156 | |
10188 | 12157 | (D deprecated) chdir() with no arguments is documented to change to |
10189 | 12158 | $ENV{HOME} or $ENV{LOGDIR}. chdir(undef) and chdir('') share this |
10190 | 12159 | behavior, but that has been deprecated. In future versions they |
10191 | 12160 | will simply fail. |
10192 | 12161 | |
10193 | 12162 | =end original |
10194 | 12163 | |
10195 | 12164 | (D deprecated) 引数なしの chdir() は、$ENV{HOME} か $ENV{LOGDIR} に |
10196 | 12165 | 変更すると文書化されています。 |
10197 | 12166 | chdir(undef) と chdir('') も同じふるまいをしますが、これは非推奨です。 |
10198 | 12167 | 将来のバージョンでは単に失敗するでしょう。 |
10199 | 12168 | |
10200 | 12169 | =begin original |
10201 | 12170 | |
10202 | 12171 | Be careful to check that what you pass to chdir() is defined and not |
10203 | 12172 | blank, else you might find yourself in your home directory. |
10204 | 12173 | |
10205 | 12174 | =end original |
10206 | 12175 | |
10207 | 12176 | chdir() に渡すものが定義されていて、空白ではないことをチェックするように |
10208 | 12177 | 注意してください; さもないとホームディレクトリに |
10209 | 12178 | 移動してしまうかもしれません。 |
10210 | 12179 | |
10211 | 12180 | =item Use of /c modifier is meaningless in s/// |
10212 | 12181 | |
10213 | 12182 | =begin original |
10214 | 12183 | |
10215 | 12184 | (W regexp) You used the /c modifier in a substitution. The /c |
10216 | 12185 | modifier is not presently meaningful in substitutions. |
10217 | 12186 | |
10218 | 12187 | =end original |
10219 | 12188 | |
10220 | 12189 | (W regexp) 置換で /c 修飾子を使いました。 |
10221 | 12190 | /c は置換では現在のところ無意味です。 |
10222 | 12191 | |
10223 | 12192 | =item Use of /c modifier is meaningless without /g |
10224 | 12193 | |
10225 | 12194 | =begin original |
10226 | 12195 | |
10227 | 12196 | (W regexp) You used the /c modifier with a regex operand, but didn't |
10228 | 12197 | use the /g modifier. Currently, /c is meaningful only when /g is |
10229 | 12198 | used. (This may change in the future.) |
10230 | 12199 | |
10231 | 12200 | =end original |
10232 | 12201 | |
10233 | 12202 | (W regexp) 正規表現オペランドに /c 修飾子を使いましたが、/g 修飾子は |
10234 | 12203 | 使いませんでした。 |
10235 | 12204 | 現在のところ、/c は /g が使われたときにのみ有効です。 |
10236 | 12205 | (これは将来変更されるかもしれません。) |
10237 | 12206 | |
12207 | =item Use of := for an empty attribute list is not allowed | |
12208 | ||
12209 | =begin original | |
12210 | ||
12211 | (F) The construction C<my $x := 42> used to parse as equivalent to | |
12212 | C<my $x : = 42> (applying an empty attribute list to C<$x>). | |
12213 | This construct was deprecated in 5.12.0, and has now been made a syntax | |
12214 | error, so C<:=> can be reclaimed as a new operator in the future. | |
12215 | ||
12216 | =end original | |
12217 | ||
12218 | (F) 構文 C<my $x := 42> は C<my $x : = 42> と等価にパースされていました | |
12219 | (C<$x> に空の属性リストを適用する)。 | |
12220 | この構文は 5.12.0 に廃止予定となり、今回文法エラーとなったので、 | |
12221 | C<:=> は将来新しい演算子として再利用できます。 | |
12222 | ||
12223 | =begin original | |
12224 | ||
12225 | If you need an empty attribute list, for example in a code generator, add | |
12226 | a space before the C<=>. | |
12227 | ||
12228 | =end original | |
12229 | ||
12230 | 例えばコードジェネレータのために、空属性リストが必要なら、C<=> の前に | |
12231 | スペースを加えてください。 | |
12232 | ||
10238 | 12233 | =item Use of freed value in iteration |
10239 | 12234 | |
10240 | 12235 | =begin original |
10241 | 12236 | |
10242 | 12237 | (F) Perhaps you modified the iterated array within the loop? |
10243 | 12238 | This error is typically caused by code like the following: |
10244 | 12239 | |
10245 | 12240 | =end original |
10246 | 12241 | |
10247 | 12242 | (F) おそらくループの中で反復される配列を変更したのでは? |
10248 | 12243 | このエラーは典型的には以下のようなコードで発生します: |
10249 | 12244 | |
10250 | 12245 | @a = (3,4); |
10251 | 12246 | @a = () for (1,2,@a); |
10252 | 12247 | |
10253 | 12248 | =begin original |
10254 | 12249 | |
10255 | 12250 | You are not supposed to modify arrays while they are being iterated over. |
10256 | 12251 | For speed and efficiency reasons, Perl internally does not do full |
10257 | 12252 | reference-counting of iterated items, hence deleting such an item in the |
10258 | 12253 | middle of an iteration causes Perl to see a freed value. |
10259 | 12254 | |
10260 | 12255 | =end original |
10261 | 12256 | |
10262 | 12257 | 反復中の配列は変更してはいけないことになっています。 |
10263 | 12258 | 速度と効率上の理由から、Perl 内部では反復されたアイテムの参照カウントを |
10264 | 12259 | 完全には数えていません; 従って反復中のアイテムのを削除すると Perl は |
10265 | 12260 | 解放された値を見ることになります。 |
10266 | 12261 | |
10267 | 12262 | =item Use of *glob{FILEHANDLE} is deprecated |
10268 | 12263 | |
10269 | 12264 | =begin original |
10270 | 12265 | |
10271 | 12266 | (D deprecated) You are now encouraged to use the shorter *glob{IO} form |
10272 | 12267 | to access the filehandle slot within a typeglob. |
10273 | 12268 | |
10274 | 12269 | =end original |
10275 | 12270 | |
10276 | 12271 | (D deprecated) 型グロブの中のファイルハンドルスロットにアクセスするには、 |
10277 | 12272 | より短い *glob{IO} の形を使うことを推奨されています。 |
10278 | 12273 | |
10279 | 12274 | =item Use of /g modifier is meaningless in split |
10280 | 12275 | |
10281 | 12276 | =begin original |
10282 | 12277 | |
10283 | 12278 | (W regexp) You used the /g modifier on the pattern for a C<split> |
10284 | 12279 | operator. Since C<split> always tries to match the pattern |
10285 | 12280 | repeatedly, the C</g> has no effect. |
10286 | 12281 | |
10287 | 12282 | =end original |
10288 | 12283 | |
10289 | 12284 | (W regexp) C<split> 演算子のパターンで /g 修飾子を使いました。 |
10290 | 12285 | C<split> は常にパターンを繰り返しマッチングしようとするので、 |
10291 | 12286 | C</g> は効果がありません。 |
10292 | 12287 | |
10293 | =item Use of | |
12288 | =item Use of "goto" to jump into a construct is deprecated | |
10294 | 12289 | |
10295 | 12290 | =begin original |
10296 | 12291 | |
10297 | (D deprecated) | |
12292 | (D deprecated) Using C<goto> to jump from an outer scope into an inner | |
10298 | ||
12293 | scope is deprecated and should be avoided. | |
10299 | of a split() explicitly to an array (or list). | |
10300 | 12294 | |
10301 | 12295 | =end original |
10302 | 12296 | |
10303 | (D deprecated) | |
12297 | (D deprecated) 外側のスコープから内側のスコープに飛び込むために C<goto> を | |
10304 | ||
12298 | 使うことは廃止予定であり、避けるべきです。 | |
10305 | 代入を行なうようにしてください。 | |
10306 | 12299 | |
10307 | 12300 | =item Use of inherited AUTOLOAD for non-method %s() is deprecated |
10308 | 12301 | |
10309 | 12302 | =begin original |
10310 | 12303 | |
10311 | (D deprecated) As an (ahem) accidental feature, C<AUTOLOAD> | |
12304 | (D deprecated) As an (ahem) accidental feature, C<AUTOLOAD> | |
10312 | are looked up as methods (using the C<@ISA> hierarchy) | |
12305 | subroutines are looked up as methods (using the C<@ISA> hierarchy) | |
10313 | subroutines to be autoloaded were called as plain | |
12306 | even when the subroutines to be autoloaded were called as plain | |
10314 | C<Foo::bar()>), not as methods (e.g. C<< Foo->bar() >> or | |
12307 | functions (e.g. C<Foo::bar()>), not as methods (e.g. C<< Foo->bar() >> or | |
10315 | $obj->bar() >>). | |
12308 | C<< $obj->bar() >>). | |
10316 | 12309 | |
10317 | 12310 | =end original |
10318 | 12311 | |
10319 | 12312 | (D deprecated) (エヘン)偶発的な仕様によって、C<AUTOLOAD> サブルーチンは、 |
10320 | 12313 | autoload されるサブルーチンがメソッド (C<< Foo->bar() >> や |
10321 | 12314 | C<< $obj->bar() >>) ではなく、普通の関数 (C<Foo::bar()>) として |
10322 | 12315 | 呼び出された場合にも、(C<@ISA> 階層を使って) メソッドとして検索します。 |
10323 | 12316 | |
10324 | 12317 | =begin original |
10325 | 12318 | |
10326 | 12319 | This bug will be rectified in future by using method lookup only for |
10327 | 12320 | methods' C<AUTOLOAD>s. However, there is a significant base of existing |
10328 | 12321 | code that may be using the old behavior. So, as an interim step, Perl |
10329 | 12322 | currently issues an optional warning when non-methods use inherited |
10330 | 12323 | C<AUTOLOAD>s. |
10331 | 12324 | |
10332 | 12325 | =end original |
10333 | 12326 | |
10334 | 12327 | このバグは、メソッドの検索をメソッドの C<AUTOLOAD> のみで使うことによって |
10335 | 12328 | 将来修正される予定です。 |
10336 | 12329 | しかし、現在のコードの大部分は古い振る舞いを使っています。 |
10337 | 12330 | それで、暫定的なステップとして、Perl は現在のところは、 |
10338 | 12331 | メソッド以外が継承されたC<AUTOLOAD> を使うときにオプションの警告を |
10339 | 12332 | 発生させます。 |
10340 | 12333 | |
10341 | 12334 | =begin original |
10342 | 12335 | |
10343 | 12336 | The simple rule is: Inheritance will not work when autoloading |
10344 | 12337 | non-methods. The simple fix for old code is: In any module that used |
10345 | 12338 | to depend on inheriting C<AUTOLOAD> for non-methods from a base class |
10346 | 12339 | named C<BaseClass>, execute C<*AUTOLOAD = \&BaseClass::AUTOLOAD> during |
10347 | 12340 | startup. |
10348 | 12341 | |
10349 | 12342 | =end original |
10350 | 12343 | |
10351 | 12344 | 単純な規則は: 継承は autoload された非メソッドには動作しません。 |
10352 | 古いコードを修正する簡単な方法は: C<BaseClass> という名前の | |
12345 | 古いコードを修正する簡単な方法は: C<BaseClass> という名前の基底クラスから | |
10353 | 12346 | 非メソッドのための継承した C<AUTOLOAD> に依存しているモジュールに対して、 |
10354 | 12347 | 開始時に C<*AUTOLOAD = \&BaseClass::AUTOLOAD> を実行してください。 |
10355 | 12348 | |
10356 | 12349 | =begin original |
10357 | 12350 | |
10358 | 12351 | In code that currently says C<use AutoLoader; @ISA = qw(AutoLoader);> |
10359 | 12352 | you should remove AutoLoader from @ISA and change C<use AutoLoader;> to |
10360 | 12353 | C<use AutoLoader 'AUTOLOAD';>. |
10361 | 12354 | |
10362 | 12355 | =end original |
10363 | 12356 | |
10364 | 12357 | C<use AutoLoader; @ISA = qw(AutoLoader);> としているコードでは、 |
10365 | 12358 | @ISA から AutoLoader を取り除いて、C<use AutoLoader;> を |
10366 | 12359 | C<use AutoLoader 'AUTOLOAD';> に変更するべきです。 |
10367 | 12360 | |
10368 | 12361 | =item Use of %s in printf format not supported |
10369 | 12362 | |
10370 | 12363 | =begin original |
10371 | 12364 | |
10372 | 12365 | (F) You attempted to use a feature of printf that is accessible from |
10373 | 12366 | only C. This usually means there's a better way to do it in Perl. |
10374 | 12367 | |
10375 | 12368 | =end original |
10376 | 12369 | |
10377 | 12370 | (F) C でのみアクセス可能な printf の機能を使おうとしました。 |
10378 | 12371 | これは普通 Perl で行うより良い方法があります。 |
10379 | 12372 | |
10380 | =item Use of | |
12373 | =item Use of %s is deprecated | |
10381 | 12374 | |
10382 | 12375 | =begin original |
10383 | 12376 | |
10384 | (D deprecated) Th | |
12377 | (D deprecated) The construct indicated is no longer recommended for use, | |
10385 | ||
12378 | generally because there's a better way to do it, and also because the | |
10386 | ||
12379 | old way has bad side effects. | |
10387 | that without the dangerous action-at-a-distance effects of C<$*>. | |
10388 | 12380 | |
10389 | 12381 | =end original |
10390 | 12382 | |
10391 | (D) | |
12383 | (D deprecated) 示した構文は、もはや使うことが推奨されません; 一般には | |
10392 | ||
12384 | もっと良い方法があるからであり、また古い方法は、悪い副作用があるからです。 | |
10393 | C<$*> の離れたところに与える危険な影響を避けてこれを行なうために、 | |
10394 | 新しい C<//m> 修飾子と C<//s> 修飾子を使ってください。 | |
10395 | 12385 | |
10396 | =item Use of | |
12386 | =item Use of -l on filehandle %s | |
10397 | 12387 | |
10398 | 12388 | =begin original |
10399 | 12389 | |
10400 | ( | |
12390 | (W io) A filehandle represents an opened file, and when you opened the file | |
10401 | ||
12391 | it already went past any symlink you are presumably trying to look for. | |
12392 | The operation returned C<undef>. Use a filename instead. | |
10402 | 12393 | |
10403 | 12394 | =end original |
10404 | 12395 | |
10405 | ( | |
12396 | (F) ファイルはオープンされたファイルを表わすものであり、 | |
10406 | ||
12397 | ファイルをオープンしたときには、探しているシンボリックリンクは、 | |
12398 | 既に通り過ぎた後です。 | |
12399 | この操作は C<undef> を返します。 | |
12400 | 代わりにファイル名を使ってください。 | |
10407 | 12401 | |
10408 | =item Use of %s is deprecated | |
12402 | =item Use of %s on a handle without * is deprecated | |
10409 | 12403 | |
10410 | 12404 | =begin original |
10411 | 12405 | |
10412 | (D deprecated) | |
12406 | (D deprecated) You used C<tie>, C<tied> or C<untie> on a scalar but that | |
10413 | ||
12407 | scalar happens to hold a typeglob, which means its filehandle will | |
10414 | ||
12408 | be tied. If you mean to tie a handle, use an explicit * as in | |
12409 | C<tie *$handle>. | |
10415 | 12410 | |
10416 | 12411 | =end original |
10417 | 12412 | |
10418 | (D deprecated) | |
12413 | (D deprecated) スカラに対して C<tie>, C<tied>, C<untie> を使いましたが、 | |
10419 | ||
12414 | スカラは型グロブを保持していて、そのファイルハンドルが tie されていることを | |
10420 | ||
12415 | 意味します。 | |
12416 | ハンドルを tie することを意味しているなら、C<tie *$handle> のように | |
12417 | 明示的に * を使ってください。 | |
10421 | 12418 | |
10422 | = | |
12419 | =begin original | |
10423 | 12420 | |
12421 | This is a long-standing bug that will be removed in Perl 5.16, as | |
12422 | there is currently no way to tie the scalar itself when it holds | |
12423 | a typeglob, and no way to untie a scalar that has had a typeglob | |
12424 | assigned to it. | |
12425 | ||
12426 | =end original | |
12427 | ||
12428 | これは Perl 5.16 で取り除かれる予定の長年残っているバグで、現在のところ | |
12429 | 型グロブを保持しているスカラ自身を tie する方法がなく、また型グロブが | |
12430 | 代入されているスカラを untie する方法がないというものです。 | |
12431 | ||
12432 | =item Use of ?PATTERN? without explicit operator is deprecated | |
12433 | ||
10424 | 12434 | =begin original |
10425 | 12435 | |
10426 | ( | |
12436 | (D deprecated) You have written something like C<?\w?>, for a regular | |
10427 | ||
12437 | expression that matches only once. Starting this term directly with | |
10428 | ||
12438 | the question mark delimiter is now deprecated, so that the question mark | |
12439 | will be available for use in new operators in the future. Write C<m?\w?> | |
12440 | instead, explicitly using the C<m> operator: the question mark delimiter | |
12441 | still invokes match-once behaviour. | |
10429 | 12442 | |
10430 | 12443 | =end original |
10431 | 12444 | |
10432 | ( | |
12445 | (D deprecated) 一度だけマッチングする正規表現として C<?\w?> のようなものを | |
10433 | ||
12446 | 書きました。 | |
10434 | ||
12447 | 疑問符を将来新しい演算子として利用可能とするために、この単語を直接疑問符 | |
10435 | こ | |
12448 | デリミタで始めることは非推奨となりました。 | |
10436 | 代わりに | |
12449 | 代わりに、明示的に C<m> 演算子を使って C<m?\w?> と書いてください: これも | |
12450 | 疑問符デリミタは一度だけマッチングする振る舞いを起動します。 | |
10437 | 12451 | |
10438 | =item Use of | |
12452 | =item Use of qw(...) as parentheses is deprecated | |
10439 | 12453 | |
10440 | 12454 | =begin original |
10441 | 12455 | |
10442 | (D deprecated) You | |
12456 | (D deprecated) You have something like C<foreach $x qw(a b c) {...}>, | |
10443 | na | |
12457 | using a C<qw(...)> list literal where a parenthesised expression is | |
10444 | ||
12458 | expected. Historically the parser fooled itself into thinking that | |
10445 | instead | |
12459 | C<qw(...)> literals were always enclosed in parentheses, and as a result | |
12460 | you could sometimes omit parentheses around them. (You could never do | |
12461 | the C<foreach qw(a b c) {...}> that you might have expected, though.) | |
12462 | The parser no longer lies to itself in this way. Wrap the list literal | |
12463 | in parentheses, like C<foreach $x (qw(a b c)) {...}>. | |
10446 | 12464 | |
10447 | 12465 | =end original |
10448 | 12466 | |
10449 | (D deprecated) C< | |
12467 | (D deprecated) C<foreach $x qw(a b c) {...}> のようなものを書きました; | |
10450 | ||
12468 | かっこ付きの式が想定されているところで C<qw(...)> リストリテラルを | |
10451 | ||
12469 | 使っています。 | |
10452 | ||
12470 | 歴史的には、パーサは C<qw(...)> リテラルは常にかっこで囲まれていると | |
12471 | 考えるように騙されていて、結果として時々かっこを省略できました。 | |
12472 | (しかし、予想するかも知れませんが C<foreach qw(a b c) {...}> とすることは | |
12473 | できません。) | |
12474 | パーサはもはやこの方法でだまされません。 | |
12475 | C<foreach $x (qw(a b c)) {...}> のようにして、リストリテラルをかっこで | |
12476 | 囲んでください。 | |
10453 | 12477 | |
10454 | 12478 | =item Use of reference "%s" as array index |
10455 | 12479 | |
10456 | 12480 | =begin original |
10457 | 12481 | |
10458 | 12482 | (W misc) You tried to use a reference as an array index; this probably |
10459 | 12483 | isn't what you mean, because references in numerical context tend |
10460 | 12484 | to be huge numbers, and so usually indicates programmer error. |
10461 | 12485 | |
10462 | 12486 | =end original |
10463 | 12487 | |
10464 | 12488 | (W misc) リファレンスを配列の添え字として使おうとしました; これはおそらく |
10465 | 12489 | 望んでいることではないでしょう; なぜなら数値コンテキストでの |
10466 | 12490 | リファレンスはとても大きな数になることが多いので、普通はプログラマの |
10467 | 12491 | ミスを意味しています。 |
10468 | 12492 | |
10469 | 12493 | =begin original |
10470 | 12494 | |
10471 | 12495 | If you really do mean it, explicitly numify your reference, like so: |
10472 | 12496 | C<$array[0+$ref]>. This warning is not given for overloaded objects, |
10473 | ||
12497 | however, because you can overload the numification and stringification | |
10474 | operators and then you | |
12498 | operators and then you presumably know what you are doing. | |
10475 | 12499 | |
10476 | 12500 | =end original |
10477 | 12501 | |
10478 | 12502 | 本当にそうしたい場合は、C<$array[0+$ref]> のように、リファレンスを明示的に |
10479 | 12503 | 数値化してください。 |
10480 | この警告はオーバーロードされたオブジェクトでは発生しません; | |
12504 | しかし、この警告はオーバーロードされたオブジェクトでは発生しません; | |
10481 | 12505 | 数値化と文字列化の演算子をオーバーロードして、何をしているかをわかっていると |
10482 | 12506 | 仮定できるからです。 |
10483 | 12507 | |
10484 | 12508 | =item Use of reserved word "%s" is deprecated |
10485 | 12509 | |
10486 | 12510 | =begin original |
10487 | 12511 | |
10488 | 12512 | (D deprecated) The indicated bareword is a reserved word. Future |
10489 | 12513 | versions of perl may use it as a keyword, so you're better off either |
10490 | 12514 | explicitly quoting the word in a manner appropriate for its context of |
10491 | 12515 | use, or using a different name altogether. The warning can be |
10492 | 12516 | suppressed for subroutine names by either adding a C<&> prefix, or using |
10493 | 12517 | a package qualifier, e.g. C<&our()>, or C<Foo::our()>. |
10494 | 12518 | |
10495 | 12519 | =end original |
10496 | 12520 | |
10497 | 12521 | (D deprecated) 示されている裸の単語は予約語です。 |
10498 | 12522 | 将来のバージョンの perl ではこれをキーワードとして使う可能性があるので、 |
10499 | 12523 | 使っているコンテキストに適した形で単語をクォートするか、違う名前を |
10500 | 12524 | 使ってください。 |
10501 | 12525 | この警告は、サブルーチン名の前に C<&> を付ける(C<&our()>)か、 |
10502 | 12526 | パッケージ修飾子を付ける(C<Foo::our()>)ことで消すことができます。 |
10503 | 12527 | |
10504 | 12528 | =item Use of tainted arguments in %s is deprecated |
10505 | 12529 | |
10506 | 12530 | =begin original |
10507 | 12531 | |
10508 | 12532 | (W taint, deprecated) You have supplied C<system()> or C<exec()> with multiple |
10509 | 12533 | arguments and at least one of them is tainted. This used to be allowed |
10510 | 12534 | but will become a fatal error in a future version of perl. Untaint your |
10511 | 12535 | arguments. See L<perlsec>. |
10512 | 12536 | |
10513 | 12537 | =end original |
10514 | 12538 | |
10515 | 12539 | (W taint, deprecated) C<system()> や C<exec()> に複数の引数を与えましたが、 |
10516 | 12540 | そのうち少なくとも一つが汚染されています。 |
10517 | 12541 | これは許されていましたが、将来のバージョンの perl では致命的エラーに |
10518 | 12542 | なるでしょう。 |
10519 | 12543 | 引数を浄化してください。 |
10520 | 12544 | L<perlsec> を参照してください。 |
10521 | 12545 | |
10522 | 12546 | =item Use of uninitialized value%s |
10523 | 12547 | |
10524 | 12548 | =begin original |
10525 | 12549 | |
10526 | 12550 | (W uninitialized) An undefined value was used as if it were already |
10527 | 12551 | defined. It was interpreted as a "" or a 0, but maybe it was a mistake. |
10528 | 12552 | To suppress this warning assign a defined value to your variables. |
10529 | 12553 | |
10530 | 12554 | =end original |
10531 | 12555 | |
10532 | 12556 | (W uninitialized) 未定義値を、あたかも既に定義されているかのように |
10533 | 12557 | 使用しました。 |
10534 | 12558 | これは、"" か 0 と解釈されますが、間違いの可能性があります。 |
10535 | 12559 | この警告を止めるには、変数に定義された値を代入してください。 |
10536 | 12560 | |
10537 | 12561 | =begin original |
10538 | 12562 | |
10539 | To help you figure out what was undefined, perl tell | |
12563 | To help you figure out what was undefined, perl will try to tell you the | |
10540 | ||
12564 | name of the variable (if any) that was undefined. In some cases it cannot | |
10541 | ||
12565 | do this, so it also tells you what operation you used the undefined value | |
10542 | ||
12566 | in. Note, however, that perl optimizes your program and the operation | |
10543 | ||
12567 | displayed in the warning may not necessarily appear literally in your | |
10544 | ||
12568 | program. For example, C<"that $foo"> is usually optimized into C<"that " | |
10545 | ||
12569 | . $foo>, and the warning will refer to the C<concatenation (.)> operator, | |
12570 | even though there is no C<.> in your program. | |
10546 | 12571 | |
10547 | 12572 | =end original |
10548 | 12573 | |
10549 | 何が未定義なのかを見つけ出す助けにするために、perl は未定義 | |
12574 | 何が未定義なのかを見つけ出す助けにするために、perl は(あれば)未定義である | |
10550 | 示します。 | |
12575 | 変数名を示します。 | |
12576 | それができないような場合では、未定義値を使った操作を示します。 | |
10551 | 12577 | しかし、perl がプログラムを最適化するので、文字通りにはプログラム中に |
10552 | 12578 | 現れない操作についての警告が表示されるかもしれないことに注意してください。 |
10553 | 12579 | 例えば、C<"that $foo"> は C<"that " . $foo> に最適化されるので、 |
10554 | 12580 | たとえプログラム中に C<連結 (.)> 演算子がなくても C<.> に関する警告が |
10555 | 12581 | 出ます。 |
10556 | 12582 | |
10557 | 12583 | =item Using a hash as a reference is deprecated |
10558 | 12584 | |
10559 | 12585 | =begin original |
10560 | 12586 | |
10561 | 12587 | (D deprecated) You tried to use a hash as a reference, as in |
10562 | 12588 | C<< %foo->{"bar"} >> or C<< %$ref->{"hello"} >>. Versions of perl <= 5.6.1 |
10563 | 12589 | used to allow this syntax, but shouldn't have. It is now deprecated, and will |
10564 | 12590 | be removed in a future version. |
10565 | 12591 | |
10566 | 12592 | =end original |
10567 | 12593 | |
10568 | 12594 | (D deprecated) C<< %foo->{"bar"} >> や C<< %$ref->{"hello"} >> の形で、 |
10569 | 12595 | ハッシュをリファレンスとして使おうとしました。 |
10570 | 12596 | 5.6.1 以前のバージョンの perl ではこの構文を許していましたが、 |
10571 | 12597 | そうするべきではありません。 |
10572 | 12598 | これは今では非推奨であり、将来のバージョンでは削除されるでしょう。 |
10573 | 12599 | |
10574 | 12600 | =item Using an array as a reference is deprecated |
10575 | 12601 | |
10576 | 12602 | =begin original |
10577 | 12603 | |
10578 | 12604 | (D deprecated) You tried to use an array as a reference, as in |
10579 | 12605 | C<< @foo->[23] >> or C<< @$ref->[99] >>. Versions of perl <= 5.6.1 used to |
10580 | 12606 | allow this syntax, but shouldn't have. It is now deprecated, and will be |
10581 | 12607 | removed in a future version. |
10582 | 12608 | |
10583 | 12609 | =end original |
10584 | 12610 | |
10585 | 12611 | (D deprecated) C<< @foo->[23] >> や C<< @$ref->[99] >> の形で、 |
10586 | 12612 | 配列をリファレンスとして使おうとしました。 |
10587 | 12613 | 5.6.1 以前のバージョンの perl ではこの構文を許していましたが、 |
10588 | 12614 | そうするべきではありません。 |
10589 | 12615 | これは今では非推奨であり、将来のバージョンでは削除されるでしょう。 |
10590 | 12616 | |
10591 | =item U | |
12617 | =item Using just the first character returned by \N{} in character class | |
10592 | 12618 | |
10593 | 12619 | =begin original |
10594 | 12620 | |
10595 | (W | |
12621 | (W) A charnames handler may return a sequence of more than one character. | |
10596 | re | |
12622 | Currently all but the first one are discarded when used in a regular | |
10597 | ||
12623 | expression pattern bracketed character class. | |
10598 | UTF-16 encoding (by having two 16-bit UCS-2 characters); but Perl | |
10599 | encodes its characters in UTF-8, so what you got is a very illegal | |
10600 | character. If you really know what you are doing you can turn off | |
10601 | this warning by C<no warnings 'utf8';>. | |
10602 | 12624 | |
10603 | 12625 | =end original |
10604 | 12626 | |
10605 | (W | |
12627 | (W) charnames ハンドラが複数の文字の並びを返すことがあります。 | |
10606 | ||
12628 | 正規表現パターン大かっこ文字クラスで使われるときには、現在のところ | |
10607 | ||
12629 | 最初のもの以外は捨てられます。 | |
10608 | 持つことで)予約されています; しかし Perl はこの文字を UTF-8 で | |
10609 | エンコードするので、得られるものは不正な文字となります。 | |
10610 | 本当に何をしているのか分かっている場合は、C<no warnings 'utf8';> と | |
10611 | することで警告を消すことができます。 | |
10612 | 12630 | |
12631 | =item Using !~ with %s doesn't make sense | |
12632 | ||
12633 | =begin original | |
12634 | ||
12635 | (F) Using the C<!~> operator with C<s///r>, C<tr///r> or C<y///r> is | |
12636 | currently reserved for future use, as the exact behaviour has not | |
12637 | been decided. (Simply returning the boolean opposite of the | |
12638 | modified string is usually not particularly useful.) | |
12639 | ||
12640 | =end original | |
12641 | ||
12642 | (F) C<s///r>, C<tr///r>, C<y///r> での C<!~> 演算子の使用は、正確な振る舞いが | |
12643 | まだ決定されていないので、将来の使用のために予約されています。 | |
12644 | (単に修正された文字列の真偽値としての逆を返すのは普通特に | |
12645 | 有用ではありません。) | |
12646 | ||
12647 | =item User-defined case-mapping '%s' is deprecated | |
12648 | ||
12649 | =begin original | |
12650 | ||
12651 | (W deprecated) You defined a function, such as C<ToLower> that overrides | |
12652 | the standard case mapping, such as C<lc()> gives. This feature is being | |
12653 | deprecated due to its many issues, as documented in | |
12654 | L<perlunicode/User-Defined Case Mappings (for serious hackers only)>. | |
12655 | It is planned to remove this feature in Perl 5.16. A CPAN module | |
12656 | providing improved functionality is being prepared. | |
12657 | ||
12658 | =end original | |
12659 | ||
12660 | (W deprecated) C<lc()> が与えるような標準の大文字小文字マッピングを | |
12661 | 上書きするような、C<ToLower> のような関数を定義しました。 | |
12662 | L<perlunicode/User-Defined Case Mappings (for serious hackers only)> に | |
12663 | 記述されているように、この機能は多くの問題により廃止予定です。 | |
12664 | この機能は Perl 5.16 で削除予定です。 | |
12665 | 改良した機能を提供する CPAN モジュールが準備中です。 | |
12666 | ||
12667 | =item UTF-16 surrogate U+%X | |
12668 | ||
12669 | =begin original | |
12670 | ||
12671 | (W utf8, surrogate) You had a UTF-16 surrogate in a context where they are | |
12672 | not considered acceptable. These code points, between U+D800 and | |
12673 | U+DFFF (inclusive), are used by Unicode only for UTF-16. However, Perl | |
12674 | internally allows all unsigned integer code points (up to the size limit | |
12675 | available on your platform), including surrogates. But these can cause | |
12676 | problems when being input or output, which is likely where this message | |
12677 | came from. If you really really know what you are doing you can turn | |
12678 | off this warning by C<no warnings 'surrogate';>. | |
12679 | ||
12680 | =end original | |
12681 | ||
12682 | (W utf8, surrogate) 受け付けられないと考えられる場所に UTF-16 サロゲートを | |
12683 | 使いました。 | |
12684 | これらの符号位置、U+D800 から U+DFFF (両端含む) は UTF-16 のためだけに | |
12685 | Unicode によって使われます。 | |
12686 | しかし Perl は、サロゲートを含む、内部で全ての符号なし整数の符号位置(最大値は | |
12687 | プラットフォームで利用可能なサイズ上限)を受け付けます。 | |
12688 | しかし、これらは入力や出力になるときに問題を引き起こします; それは | |
12689 | おそらくこのメッセージが出た場所です。 | |
12690 | 自分で何をしているのかが本当に本当に分かっているなら、 | |
12691 | C<no warnings 'surrogate';> とすることでこの警告をオフにできます。 | |
12692 | ||
10613 | 12693 | =item Value of %s can be "0"; test with defined() |
10614 | 12694 | |
10615 | 12695 | =begin original |
10616 | 12696 | |
10617 | 12697 | (W misc) In a conditional expression, you used <HANDLE>, <*> (glob), |
10618 | 12698 | C<each()>, or C<readdir()> as a boolean value. Each of these constructs |
10619 | 12699 | can return a value of "0"; that would make the conditional expression |
10620 | 12700 | false, which is probably not what you intended. When using these |
10621 | 12701 | constructs in conditional expressions, test their values with the |
10622 | 12702 | C<defined> operator. |
10623 | 12703 | |
10624 | 12704 | =end original |
10625 | 12705 | |
10626 | 12706 | (W misc) 条件式の中で、<HANDLE>, <*> (グロブ), C<each()>, C<readdir()> を |
10627 | 12707 | 真偽値として使いました。 |
10628 | 12708 | これらの構文は値 "0" を返すことがあります; これは条件式では偽を示しますが、 |
10629 | 12709 | これはおそらく望んでいることではないでしょう。 |
10630 | 12710 | これらの構文を条件式の中で使うときは、その値を C<defined> 演算子で |
10631 | 12711 | テストしてください。 |
10632 | 12712 | |
10633 | 12713 | =item Value of CLI symbol "%s" too long |
10634 | 12714 | |
10635 | 12715 | =begin original |
10636 | 12716 | |
10637 | 12717 | (W misc) A warning peculiar to VMS. Perl tried to read the value of an |
10638 | 12718 | %ENV element from a CLI symbol table, and found a resultant string |
10639 | 12719 | longer than 1024 characters. The return value has been truncated to |
10640 | 12720 | 1024 characters. |
10641 | 12721 | |
10642 | 12722 | =end original |
10643 | 12723 | |
10644 | (W misc) VMS 固有の警告です。 | |
12724 | (W misc) VMS に固有の警告です。 | |
10645 | 12725 | Perl は CLI シンボルテーブルから %ENV 要素の値を読み込もうとしましたが、 |
10646 | 12726 | 結果の文字列が 1024 文字を越えました。 |
10647 | 12727 | 返り値は 1024 文字に切り詰められます。 |
10648 | 12728 | |
10649 | =item Variable "%s" is not i | |
12729 | =item Variable "%s" is not available | |
10650 | 12730 | |
10651 | 12731 | =begin original |
10652 | 12732 | |
10653 | ( | |
12733 | (W closure) During compilation, an inner named subroutine or eval is | |
10654 | ||
12734 | attempting to capture an outer lexical that is not currently available. | |
10655 | ||
12735 | This can happen for one of two reasons. First, the outer lexical may be | |
10656 | ||
12736 | declared in an outer anonymous subroutine that has not yet been created. | |
10657 | ||
12737 | (Remember that named subs are created at compile time, while anonymous | |
12738 | subs are created at run-time.) For example, | |
10658 | 12739 | |
10659 | 12740 | =end original |
10660 | 12741 | |
10661 | ( | |
12742 | (W closure) コンパイル中に、内側の名前付きサブルーチンや eval が | |
10662 | ||
12743 | まだ利用可能でない外側のレキシカルを捕捉しようとしました。 | |
10663 | ||
12744 | これは二つの理由の 一つで起こります。 | |
10664 | ||
12745 | まず、外側のレキシカルが、まだ作成されていない外側の無名サブルーチンで | |
10665 | ||
12746 | 定義されている場合です。 | |
12747 | (名前付きサブルーチンはコンパイル時に作成されますが、無名サブルーチンは | |
12748 | 実行時に作成されることを思い出してください。) | |
12749 | 例えば、 | |
10666 | 12750 | |
10667 | ||
12751 | sub { my $a; sub f { $a } } | |
10668 | 12752 | |
10669 | 12753 | =begin original |
10670 | 12754 | |
10671 | ||
12755 | At the time that f is created, it can't capture the current value of $a, | |
10672 | ||
12756 | since the anonymous subroutine hasn't been created yet. Conversely, | |
10673 | ||
12757 | the following won't give a warning since the anonymous subroutine has by | |
12758 | now been created and is live: | |
10674 | 12759 | |
10675 | 12760 | =end original |
10676 | 12761 | |
10677 | ||
12762 | f が作成された時点で、$a の現在の値を捕捉できません; | |
10678 | ||
12763 | なぜなら無名サブルーチンはまだ作成されていないからです。 | |
12764 | 逆に、以下のものは、無名サブルーチンがすでに作成されていて有効なので、 | |
12765 | 警告は出ません: | |
10679 | 12766 | |
10680 | ||
12767 | sub { my $a; eval 'sub f { $a }' }->(); | |
10681 | 12768 | |
10682 | 12769 | =begin original |
10683 | 12770 | |
10684 | ||
12771 | The second situation is caused by an eval accessing a variable that has | |
10685 | ||
12772 | gone out of scope, for example, | |
10686 | instance. This is almost always a typographical error. Note that the | |
10687 | earlier variable will still exist until the end of the scope or until | |
10688 | all closure referents to it are destroyed. | |
10689 | 12773 | |
10690 | 12774 | =end original |
10691 | 12775 | |
10692 | ||
12776 | 2 番目の状況は eval がスコープ外となった変数にアクセスすることで起こります; | |
10693 | ||
12777 | 例えば: | |
10694 | これはほとんどの場合タイプミスです。 | |
10695 | 以前の変数は、スコープが終わるか、それを参照している全てのクロージャが | |
10696 | 破壊されるまでは存在し続けることに注意してください。 | |
10697 | 12778 | |
10698 | ||
12779 | sub f { | |
12780 | my $a; | |
12781 | sub { eval '$a' } | |
12782 | } | |
12783 | f()->(); | |
10699 | 12784 | |
10700 | 12785 | =begin original |
10701 | 12786 | |
10702 | ||
12787 | Here, when the '$a' in the eval is being compiled, f() is not currently being | |
10703 | ||
12788 | executed, so its $a is not available for capture. | |
10704 | anonymous (innermost) subroutine is referencing a lexical variable | |
10705 | defined in the outermost subroutine. For example: | |
10706 | 12789 | |
10707 | 12790 | =end original |
10708 | 12791 | |
10709 | ||
12792 | ここで、eval の中の '$a' がコンパイルされるとき、f() はまだ | |
10710 | ||
12793 | 実行されていないので、この $a は捕捉出来ません。 | |
10711 | そして無名の(一番内側の)サブルーチンが一番外側のサブルーチンで | |
10712 | 定義されているレキシカル変数で参照されています。 | |
10713 | 例えば: | |
10714 | 12794 | |
10715 | ||
12795 | =item Variable "%s" is not imported%s | |
10716 | 12796 | |
10717 | 12797 | =begin original |
10718 | 12798 | |
10719 | ||
12799 | (W misc) With "use strict" in effect, you referred to a global variable | |
10720 | ||
12800 | that you apparently thought was imported from another module, because | |
10721 | ||
12801 | something else of the same name (usually a subroutine) is exported by | |
10722 | ||
12802 | that module. It usually means you put the wrong funny character on the | |
10723 | ||
12803 | front of your variable. | |
10724 | call to the outermost subroutine, which is probably not what you want. | |
10725 | 12804 | |
10726 | 12805 | =end original |
10727 | 12806 | |
10728 | ||
12807 | (W misc) "use strict" が有効のときに、見たところ他のモジュールから | |
10729 | ||
12808 | インポートされたとあなたが考えたグローバル変数を参照しました; | |
10730 | ||
12809 | なぜなら同じ名前の何か他のもの(通常はサブルーチン)がそのモジュールから | |
10731 | ||
12810 | エクスポートされています。 | |
10732 | ||
12811 | これは普通は変数の前に間違ったおかしな文字を置いたことを意味します。 | |
10733 | これはおそらく望んでいることではないでしょう。 | |
10734 | 12812 | |
12813 | =item Variable length lookbehind not implemented in m/%s/ | |
12814 | ||
10735 | 12815 | =begin original |
10736 | 12816 | |
10737 | ||
12817 | (F) Lookbehind is allowed only for subexpressions whose length is fixed and | |
10738 | ||
12818 | known at compile time. See L<perlre>. | |
10739 | shared variables in nested anonymous subroutines; a named subroutine in | |
10740 | between interferes with this feature. | |
10741 | 12819 | |
10742 | 12820 | =end original |
10743 | 12821 | |
10744 | ||
12822 | (F) 後方参照は長さが固定で、コンパイル時に確定している副式に対してのみ可能です。 | |
10745 | ||
12823 | L<perlre> を参照してください。 | |
10746 | Perl はネストした無名サブルーチンで変数を共有する機能をサポートしています; | |
10747 | この機能のインターフェースの間の名前付きサブルーチンです。 | |
10748 | 12824 | |
12825 | =item "%s" variable %s masks earlier declaration in same %s | |
12826 | ||
12827 | =begin original | |
12828 | ||
12829 | (W misc) A "my", "our" or "state" variable has been redeclared in the | |
12830 | current scope or statement, effectively eliminating all access to the | |
12831 | previous instance. This is almost always a typographical error. Note | |
12832 | that the earlier variable will still exist until the end of the scope | |
12833 | or until all closure referents to it are destroyed. | |
12834 | ||
12835 | =end original | |
12836 | ||
12837 | (W misc) 現在のスコープや文で "my", "our", "state" 変数が再宣言されたので、 | |
12838 | 以前の実体への全てのアクセスができなくなりました。 | |
12839 | これはほとんどの場合タイプミスです。 | |
12840 | 以前の変数は、スコープが終わるか、それを参照している全てのクロージャが | |
12841 | 破壊されるまでは存在し続けることに注意してください。 | |
12842 | ||
10749 | 12843 | =item Variable syntax |
10750 | 12844 | |
10751 | 12845 | =begin original |
10752 | 12846 | |
10753 | 12847 | (A) You've accidentally run your script through B<csh> instead |
10754 | 12848 | of Perl. Check the #! line, or manually feed your script into |
10755 | 12849 | Perl yourself. |
10756 | 12850 | |
10757 | 12851 | =end original |
10758 | 12852 | |
10759 | 12853 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
10760 | 12854 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
10761 | 12855 | |
10762 | 12856 | =item Variable "%s" will not stay shared |
10763 | 12857 | |
10764 | 12858 | =begin original |
10765 | 12859 | |
10766 | 12860 | (W closure) An inner (nested) I<named> subroutine is referencing a |
10767 | lexical variable defined in an outer subroutine. | |
12861 | lexical variable defined in an outer named subroutine. | |
10768 | 12862 | |
10769 | 12863 | =end original |
10770 | 12864 | |
10771 | 12865 | (W closure) 内部の(ネストした) I<名前付き> サブルーチンが、 |
10772 | 外側のサブルーチンで定義したレキシカル変数を参照しています。 | |
12866 | 外側の名前付きサブルーチンで定義したレキシカル変数を参照しています。 | |
10773 | 12867 | |
10774 | 12868 | =begin original |
10775 | 12869 | |
10776 | When the inner subroutine is called, it will | |
12870 | When the inner subroutine is called, it will see the value of | |
10777 | 12871 | the outer subroutine's variable as it was before and during the *first* |
10778 | 12872 | call to the outer subroutine; in this case, after the first call to the |
10779 | 12873 | outer subroutine is complete, the inner and outer subroutines will no |
10780 | 12874 | longer share a common value for the variable. In other words, the |
10781 | 12875 | variable will no longer be shared. |
10782 | 12876 | |
10783 | 12877 | =end original |
10784 | 12878 | |
10785 | 内側のサブルーチンが呼び出された時、 | |
12879 | 内側のサブルーチンが呼び出された時、外側のサブルーチンの値は、最初の外側の | |
10786 | ||
12880 | サブルーチンへの呼び出し前および呼び出し中のものになります; | |
10787 | 12881 | この場合、外側のサブルーチンへの最初の呼び出しが終了した後、内側と |
10788 | 12882 | 外側のサブルーチンは変数に関して同じ値を共有しなくなります。 |
10789 | 12883 | 言い換えると、変数はもはや共有されません。 |
10790 | 12884 | |
10791 | 12885 | =begin original |
10792 | 12886 | |
10793 | Furthermore, if the outer subroutine is anonymous and references a | |
10794 | lexical variable outside itself, then the outer and inner subroutines | |
10795 | will I<never> share the given variable. | |
10796 | ||
10797 | =end original | |
10798 | ||
10799 | さらに、外側のサブルーチンが無名で、それ自身の外側のレキシカル変数を | |
10800 | 参照している場合、外側と内側のサブルーチンは与えられた変数は | |
10801 | 共有 I<しません>。 | |
10802 | ||
10803 | =begin original | |
10804 | ||
10805 | 12887 | This problem can usually be solved by making the inner subroutine |
10806 | 12888 | anonymous, using the C<sub {}> syntax. When inner anonymous subs that |
10807 | reference variables in outer subroutines are c | |
12889 | reference variables in outer subroutines are created, they | |
10808 | 12890 | are automatically rebound to the current values of such variables. |
10809 | 12891 | |
10810 | 12892 | =end original |
10811 | 12893 | |
10812 | 12894 | この問題は普通、C<sub {}> 構文を使って内側のサブルーチンを無名にすることで |
10813 | 12895 | 解決します。 |
10814 | 12896 | 外側のサブルーチンの変数を参照している内側の無名サブルーチンが |
10815 | ||
12897 | 作成されたとき、これらはそのような変数の現在の値に自動的に回復します。 | |
10816 | 自動的に回復します。 | |
10817 | 12898 | |
12899 | =item Verb pattern '%s' has a mandatory argument in regex; marked by <-- HERE in m/%s/ | |
12900 | ||
12901 | =begin original | |
12902 | ||
12903 | (F) You used a verb pattern that requires an argument. Supply an argument | |
12904 | or check that you are using the right verb. | |
12905 | ||
12906 | =end original | |
12907 | ||
12908 | (F) 引き数が必要な動詞パターンを使いました。 | |
12909 | 引き数を追加するか、正しい動詞を使ってください。 | |
12910 | ||
12911 | =item Verb pattern '%s' may not have an argument in regex; marked by <-- HERE in m/%s/ | |
12912 | ||
12913 | =begin original | |
12914 | ||
12915 | (F) You used a verb pattern that is not allowed an argument. Remove the | |
12916 | argument or check that you are using the right verb. | |
12917 | ||
12918 | =end original | |
12919 | ||
12920 | (F) 引き数が認められていない動詞パターンを使いました。 | |
12921 | 引き数を削除するか、正しい動詞を使ってください。 | |
12922 | ||
10818 | 12923 | =item Version number must be a constant number |
10819 | 12924 | |
10820 | 12925 | =begin original |
10821 | 12926 | |
10822 | 12927 | (P) The attempt to translate a C<use Module n.n LIST> statement into |
10823 | 12928 | its equivalent C<BEGIN> block found an internal inconsistency with |
10824 | 12929 | the version number. |
10825 | 12930 | |
10826 | 12931 | =end original |
10827 | 12932 | |
10828 | 12933 | (P) C<use Module n.n LIST> 文を等価な C<BEGIN> ブロックに変換しようと |
10829 | 12934 | したときに、バージョン番号について内部の不整合を発見しました。 |
10830 | 12935 | |
12936 | =item Version string '%s' contains invalid data; ignoring: '%s' | |
12937 | ||
12938 | =begin original | |
12939 | ||
12940 | (W misc) The version string contains invalid characters at the end, which | |
12941 | are being ignored. | |
12942 | ||
12943 | =end original | |
12944 | ||
12945 | (W misc) バージョン文字列の末尾に不正な文字が含まれていたので、その文字は | |
12946 | 無視されます。 | |
12947 | ||
10831 | 12948 | =item Warning: something's wrong |
10832 | 12949 | |
10833 | 12950 | =begin original |
10834 | 12951 | |
10835 | 12952 | (W) You passed warn() an empty string (the equivalent of C<warn "">) or |
10836 | you called it with no args and C<$ | |
12953 | you called it with no args and C<$@> was empty. | |
10837 | 12954 | |
10838 | 12955 | =end original |
10839 | 12956 | |
10840 | 12957 | (W) warn() に空文字列を渡した (C<warn ""> と透過です) か、 |
10841 | 引数なしで呼び出され、C<$ | |
12958 | 引数なしで呼び出され、C<$@> も空でした。 | |
10842 | 12959 | |
10843 | 12960 | =item Warning: unable to close filehandle %s properly |
10844 | 12961 | |
10845 | 12962 | =begin original |
10846 | 12963 | |
10847 | 12964 | (S) The implicit close() done by an open() got an error indication on |
10848 | 12965 | the close(). This usually indicates your file system ran out of disk |
10849 | 12966 | space. |
10850 | 12967 | |
10851 | 12968 | =end original |
10852 | 12969 | |
10853 | 12970 | (S) open() によって暗黙のうちに行なわれる close() が、 |
10854 | 12971 | close() のエラーとなりました。 |
10855 | 12972 | 通常、ファイルシステムがいっぱいであることを示します。 |
10856 | 12973 | |
10857 | 12974 | =item Warning: Use of "%s" without parentheses is ambiguous |
10858 | 12975 | |
10859 | 12976 | =begin original |
10860 | 12977 | |
10861 | 12978 | (S ambiguous) You wrote a unary operator followed by something that |
10862 | 12979 | looks like a binary operator that could also have been interpreted as a |
10863 | 12980 | term or unary operator. For instance, if you know that the rand |
10864 | 12981 | function has a default argument of 1.0, and you write |
10865 | 12982 | |
10866 | 12983 | =end original |
10867 | 12984 | |
10868 | 12985 | (S ambiguous) 単項演算子の後に、何か項にも単項演算子にも解釈できる、 |
10869 | 12986 | 二項演算子のようなものが置かれました。 |
10870 | 12987 | たとえば、rand 関数がデフォルトの引数として、1.0 をとることを知って |
10871 | 12988 | いれば、以下のように書いて: |
10872 | 12989 | |
10873 | 12990 | rand + 5; |
10874 | 12991 | |
10875 | 12992 | =begin original |
10876 | 12993 | |
10877 | 12994 | you may THINK you wrote the same thing as |
10878 | 12995 | |
10879 | 12996 | =end original |
10880 | 12997 | |
10881 | 12998 | 以下の同じことと思うかもしれませんが: |
10882 | 12999 | |
10883 | 13000 | rand() + 5; |
10884 | 13001 | |
10885 | 13002 | =begin original |
10886 | 13003 | |
10887 | 13004 | but in actual fact, you got |
10888 | 13005 | |
10889 | 13006 | =end original |
10890 | 13007 | |
10891 | 13008 | 実際には以下のようになります: |
10892 | 13009 | |
10893 | 13010 | rand(+5); |
10894 | 13011 | |
10895 | 13012 | =begin original |
10896 | 13013 | |
10897 | 13014 | So put in parentheses to say what you really mean. |
10898 | 13015 | |
10899 | 13016 | =end original |
10900 | 13017 | |
10901 | したがって、思うように解釈させるには、 | |
13018 | したがって、思うように解釈させるには、かっこが必要になります。 | |
10902 | 13019 | |
10903 | 13020 | =item Wide character in %s |
10904 | 13021 | |
10905 | 13022 | =begin original |
10906 | 13023 | |
10907 | ( | |
13024 | (S utf8) Perl met a wide character (>255) when it wasn't expecting | |
10908 | 13025 | one. This warning is by default on for I/O (like print). The easiest |
10909 | 13026 | way to quiet this warning is simply to add the C<:utf8> layer to the |
10910 | 13027 | output, e.g. C<binmode STDOUT, ':utf8'>. Another way to turn off the |
10911 | 13028 | warning is to add C<no warnings 'utf8';> but that is often closer to |
10912 | 13029 | cheating. In general, you are supposed to explicitly mark the |
10913 | 13030 | filehandle with an encoding, see L<open> and L<perlfunc/binmode>. |
10914 | 13031 | |
10915 | 13032 | =end original |
10916 | 13033 | |
10917 | ( | |
13034 | (S utf8) Perl が(想定していないところで)ワイド文字(>255)に遭遇しました。 | |
10918 | 13035 | この警告は、(print のような) I/O に対してはデフォルトでオンです。 |
10919 | 13036 | この警告を黙らせる最も簡単な方法は、C<binmode STDOUT, ':utf8'> のように |
10920 | 13037 | 出力に単に C<:utf8> 層を追加することです。 |
10921 | 13038 | もう一つの方法は C<no warnings 'utf8';> を追加することですが、これは |
10922 | 13039 | しばしばいかさまに近い方法です。 |
10923 | 13040 | 一般的に、ファイルハンドルにはエンコーディングを明示的に指定することに |
10924 | 13041 | なっています; L<open> と L<perlfunc/binmode> を参照してください。 |
10925 | 13042 | |
10926 | 13043 | =item Within []-length '%c' not allowed |
10927 | 13044 | |
10928 | 13045 | =begin original |
10929 | 13046 | |
10930 | 13047 | (F) The count in the (un)pack template may be replaced by C<[TEMPLATE]> only if |
10931 | 13048 | C<TEMPLATE> always matches the same amount of packed bytes that can be |
10932 | determined from the template alone. This is not possible if it contains an | |
13049 | determined from the template alone. This is not possible if it contains any | |
10933 | 13050 | of the codes @, /, U, u, w or a *-length. Redesign the template. |
10934 | 13051 | |
10935 | 13052 | =end original |
10936 | 13053 | |
10937 | 13054 | (F) (un)pack テンプレートの繰り返し数は、C<TEMPLATE> が常に |
10938 | 13055 | テンプレートだけから決定される同じサイズの pack されたバイト列と一致する |
10939 | 13056 | 場合にのみ C<[TEMPLATE]> によって置き換えられます。 |
10940 | 13057 | これは、コード @, /, U, u, w や、長さ * が含まれていると不可能です。 |
10941 | 13058 | テンプレートを再設計してください。 |
10942 | 13059 | |
10943 | 13060 | =item write() on closed filehandle %s |
10944 | 13061 | |
10945 | 13062 | =begin original |
10946 | 13063 | |
10947 | 13064 | (W closed) The filehandle you're writing to got itself closed sometime |
10948 | 13065 | before now. Check your control flow. |
10949 | 13066 | |
10950 | 13067 | =end original |
10951 | 13068 | |
10952 | (W) 書き込みを行なおうとしたファイルハンドルは、既に | |
13069 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既に閉じられています。 | |
10953 | 13070 | 制御フローをチェックしてください。 |
10954 | 13071 | |
10955 | =item %s "\x% | |
13072 | =item %s "\x%X" does not map to Unicode | |
10956 | 13073 | |
10957 | 13074 | =begin original |
10958 | 13075 | |
10959 | When reading in different encodings Perl tries to map everything | |
13076 | (F) When reading in different encodings Perl tries to map everything | |
10960 | 13077 | into Unicode characters. The bytes you read in are not legal in |
10961 | 13078 | this encoding, for example |
10962 | 13079 | |
10963 | 13080 | =end original |
10964 | 13081 | |
10965 | 異なったエンコーディングを読み込むとき、Perl は全てを Unicode 文字に | |
13082 | (F) 異なったエンコーディングを読み込むとき、Perl は全てを Unicode 文字に | |
10966 | 13083 | マッピングしようとします。 |
10967 | 13084 | 読み込んだバイトはこのエンコーディングでは不正でした; 例えば: |
10968 | 13085 | |
10969 | 13086 | utf8 "\xE4" does not map to Unicode |
10970 | 13087 | |
10971 | 13088 | =begin original |
10972 | 13089 | |
10973 | 13090 | if you try to read in the a-diaereses Latin-1 as UTF-8. |
10974 | 13091 | |
10975 | 13092 | =end original |
10976 | 13093 | |
10977 | 13094 | というのは、Latin-1 の a 分節を UTF-8 として読み込もうとした場合です。 |
10978 | 13095 | |
10979 | 13096 | =item 'X' outside of string |
10980 | 13097 | |
10981 | 13098 | =begin original |
10982 | 13099 | |
10983 | 13100 | (F) You had a (un)pack template that specified a relative position before |
10984 | 13101 | the beginning of the string being (un)packed. See L<perlfunc/pack>. |
10985 | 13102 | |
10986 | 13103 | =end original |
10987 | 13104 | |
10988 | 13105 | (F) (un)pack している文字列の最後より後の相対位置を示している |
10989 | 13106 | (un)pack テンプレートを指定しました。 |
10990 | 13107 | L<perlfunc/pack> を参照してください。 |
10991 | 13108 | |
10992 | 13109 | =item 'x' outside of string in unpack |
10993 | 13110 | |
10994 | 13111 | =begin original |
10995 | 13112 | |
10996 | 13113 | (F) You had a pack template that specified a relative position after |
10997 | 13114 | the end of the string being unpacked. See L<perlfunc/pack>. |
10998 | 13115 | |
10999 | 13116 | =end original |
11000 | 13117 | |
11001 | 13118 | (F) unpack している文字列の最後より後の相対位置を示している |
11002 | 13119 | pack テンプレートを指定しました。 |
11003 | 13120 | L<perlfunc/pack> を参照してください。 |
11004 | 13121 | |
11005 | 13122 | =item YOU HAVEN'T DISABLED SET-ID SCRIPTS IN THE KERNEL YET! |
11006 | 13123 | |
11007 | 13124 | =begin original |
11008 | 13125 | |
11009 | 13126 | (F) And you probably never will, because you probably don't have the |
11010 | 13127 | sources to your kernel, and your vendor probably doesn't give a rip |
11011 | 13128 | about what you want. Your best bet is to put a setuid C wrapper around |
11012 | 13129 | your script. |
11013 | 13130 | |
11014 | 13131 | =end original |
11015 | 13132 | |
11016 | (F) | |
13133 | (F) そして、そうすることはできないでしょう; カーネルのソースは | |
11017 | ||
13134 | お持ちではないでしょうし、ベンダも欲しいものを提供しては | |
11018 | ||
13135 | くれないでしょうから。 | |
11019 | 提供してはくれないでしょうから。 | |
11020 | 13136 | もっとも良いのは、スクリプトに setuid C ラッパーを被せることです。 |
11021 | 13137 | |
11022 | 13138 | =item You need to quote "%s" |
11023 | 13139 | |
11024 | 13140 | =begin original |
11025 | 13141 | |
11026 | 13142 | (W syntax) You assigned a bareword as a signal handler name. |
11027 | 13143 | Unfortunately, you already have a subroutine of that name declared, |
11028 | 13144 | which means that Perl 5 will try to call the subroutine when the |
11029 | 13145 | assignment is executed, which is probably not what you want. (If it IS |
11030 | 13146 | what you want, put an & in front.) |
11031 | 13147 | |
11032 | 13148 | =end original |
11033 | 13149 | |
11034 | 13150 | (W syntax) シグナルハンドラ名に、裸の単語を代入しました。 |
11035 | 残念ながら、そのサブルー | |
13151 | 残念ながら、そのサブルーチンは既に宣言されていて、Perl 5 では、 | |
11036 | おそらく思惑とは違って、代入の実行時にサブルー | |
13152 | おそらく思惑とは違って、代入の実行時にサブルーチンの呼び出しが起こります。 | |
11037 | (もし、本当にそうしたいのであれば、サブルー | |
13153 | (もし、本当にそうしたいのであれば、サブルーチン名に & を付けてください。) | |
11038 | 13154 | |
11039 | 13155 | =item Your random numbers are not that random |
11040 | 13156 | |
11041 | 13157 | =begin original |
11042 | 13158 | |
11043 | 13159 | (F) When trying to initialise the random seed for hashes, Perl could |
11044 | 13160 | not get any randomness out of your system. This usually indicates |
11045 | 13161 | Something Very Wrong. |
11046 | 13162 | |
11047 | 13163 | =end original |
11048 | 13164 | |
11049 | 13165 | (F) ハッシュのための乱数の種を初期化しようとしたとき、Perl はシステムから |
11050 | 13166 | 何の乱数性も得られませんでした。 |
11051 | 13167 | これは普通「何かとても具合が悪い」ことを示しています。 |
11052 | 13168 | |
11053 | 13169 | =back |
11054 | 13170 | |
13171 | =head1 SEE ALSO | |
13172 | ||
13173 | L<warnings>, L<perllexwarn>. | |
13174 | ||
11055 | 13175 | =cut |
11056 | 13176 | |
11057 | 13177 | =begin meta |
11058 | 13178 | |
11059 | 13179 | Translate: 吉村 寿人 <JAE00534@niftyserve.or.jp> (5.000) |
11060 | Update: Kentaro | |
13180 | Update: SHIRAKATA Kentaro <argrath@ub32.org> (5.6.1-) | |
11061 | ||
13181 | Status: completed | |
11062 | 13182 | |
11063 | 13183 | =end meta |