perldiag >
5.16.1
との差分
perldiag 5.16.1 と 5.40.0 の差分
| 1 | 1 | |
| 2 | =encoding | |
| 2 | =encoding utf8 | |
| 3 | 3 | |
| 4 | 4 | =head1 NAME |
| 5 | 5 | |
| 6 | 6 | =begin original |
| 7 | 7 | |
| 8 | 8 | perldiag - various Perl diagnostics |
| 9 | 9 | |
| 10 | 10 | =end original |
| 11 | 11 | |
| 12 | 12 | perldiag - さまざまな Perl 診断メッセージ |
| 13 | 13 | |
| 14 | 14 | =head1 DESCRIPTION |
| 15 | 15 | |
| 16 | 16 | =begin original |
| 17 | 17 | |
| 18 | 18 | These messages are classified as follows (listed in increasing order of |
| 19 | 19 | desperation): |
| 20 | 20 | |
| 21 | 21 | =end original |
| 22 | 22 | |
| 23 | 23 | これらのメッセージは以下のように分類されます (重要度が増す順に |
| 24 | 24 | 並べてあります): |
| 25 | 25 | |
| 26 | 26 | =begin original |
| 27 | 27 | |
| 28 | 28 | (W) A warning (optional). |
| 29 | 29 | (D) A deprecation (enabled by default). |
| 30 | 30 | (S) A severe warning (enabled by default). |
| 31 | 31 | (F) A fatal error (trappable). |
| 32 | 32 | (P) An internal error you should never see (trappable). |
| 33 | 33 | (X) A very fatal error (nontrappable). |
| 34 | 34 | (A) An alien error message (not generated by Perl). |
| 35 | 35 | |
| 36 | 36 | =end original |
| 37 | 37 | |
| 38 | 38 | (W) 警告 (オプション)。 |
| 39 | 39 | (D) 非推奨 (デフォルトでは有効)。 |
| 40 | 40 | (S) 重大な警告 (デフォルトでは有効)。 |
| 41 | 41 | (F) 致命的エラー (トラップ可能)。 |
| 42 | 42 | (P) 起こるはずのない内部エラー (トラップ可能)。 |
| 43 | 43 | (X) 重大致命的エラー (トラップ不可能)。 |
| 44 | 44 | (A) 外部エラーメッセージ (Perl 以外で生成されたもの)。 |
| 45 | 45 | |
| 46 | 46 | =begin original |
| 47 | 47 | |
| 48 | 48 | The majority of messages from the first three classifications above |
| 49 | 49 | (W, D & S) can be controlled using the C<warnings> pragma. |
| 50 | 50 | |
| 51 | 51 | =end original |
| 52 | 52 | |
| 53 | 53 | 上記のうち、最初の三つ (W, D, S) に分類されるメッセージの大部分は |
| 54 | 54 | C<warings> プラグマで制御できます。 |
| 55 | 55 | |
| 56 | 56 | =begin original |
| 57 | 57 | |
| 58 | 58 | If a message can be controlled by the C<warnings> pragma, its warning |
| 59 | 59 | category is included with the classification letter in the description |
| 60 | below. | |
| 60 | below. E.g. C<(W closed)> means a warning in the C<closed> category. | |
| 61 | 61 | |
| 62 | 62 | =end original |
| 63 | 63 | |
| 64 | 64 | メッセージが C<warnings> プラグマで制御できる場合、警告カテゴリは以下の |
| 65 | 65 | 説明で分類文字と共に記されています。 |
| 66 | 例えば、C<(W closed)> は C<closed> カテゴリの警告を意味します。 | |
| 66 | 67 | |
| 67 | 68 | =begin original |
| 68 | 69 | |
| 69 | 70 | Optional warnings are enabled by using the C<warnings> pragma or the B<-w> |
| 70 | 71 | and B<-W> switches. Warnings may be captured by setting C<$SIG{__WARN__}> |
| 71 | 72 | to a reference to a routine that will be called on each warning instead |
| 72 | 73 | of printing it. See L<perlvar>. |
| 73 | 74 | |
| 74 | 75 | =end original |
| 75 | 76 | |
| 76 | 77 | C<warnings> プラグマか B<-w> と B<-W> のオプションを使うと追加の警告が |
| 77 | 78 | 有効になります。 |
| 78 | 79 | 警告は、表示する変わりに警告が出るたびに呼び出されるサブルーチンへの |
| 79 | 80 | リファレンスを C<$SIG{__WARN__}> にセットすることで捕捉できます。 |
| 80 | 81 | L<perlvar> を参照してください。 |
| 81 | 82 | |
| 82 | 83 | =begin original |
| 83 | 84 | |
| 84 | 85 | Severe warnings are always enabled, unless they are explicitly disabled |
| 85 | 86 | with the C<warnings> pragma or the B<-X> switch. |
| 86 | 87 | |
| 87 | 88 | =end original |
| 88 | 89 | |
| 89 | 90 | C<warnings> プラグマか B<-X> オプションで明示的に無効にされない限り、 |
| 90 | 91 | 厳しい警告は常に有効です。 |
| 91 | 92 | |
| 92 | 93 | =begin original |
| 93 | 94 | |
| 94 | 95 | Trappable errors may be trapped using the eval operator. See |
| 95 | 96 | L<perlfunc/eval>. In almost all cases, warnings may be selectively |
| 96 | 97 | disabled or promoted to fatal errors using the C<warnings> pragma. |
| 97 | 98 | See L<warnings>. |
| 98 | 99 | |
| 99 | 100 | =end original |
| 100 | 101 | |
| 101 | 102 | トラップ可能なエラーは評価演算子を使ってトラップできます。 |
| 102 | 103 | L<perlfunc/eval> を参照してください。 |
| 103 | 104 | ほとんど全ての場合、警告は C<warnings> プラグマを使うことで選択的に |
| 104 | 105 | 無効にしたり致命的エラーに昇格させたりできます。 |
| 105 | 106 | L<warnings> を参照してください。 |
| 106 | 107 | |
| 107 | 108 | =begin original |
| 108 | 109 | |
| 109 | 110 | The messages are in alphabetical order, without regard to upper or |
| 110 | 111 | lower-case. Some of these messages are generic. Spots that vary are |
| 111 | 112 | denoted with a %s or other printf-style escape. These escapes are |
| 112 | 113 | ignored by the alphabetical order, as are all characters other than |
| 113 | 114 | letters. To look up your message, just ignore anything that is not a |
| 114 | 115 | letter. |
| 115 | 116 | |
| 116 | 117 | =end original |
| 117 | 118 | |
| 118 | 119 | メッセージは大文字小文字を無視してアルファベット順に並んでいます。 |
| 119 | 120 | これらの中には一般的なものもあります。 |
| 120 | 121 | 変化する部分は %s またはその他の printf スタイルの表記をしています。 |
| 121 | 122 | これらの表記や、その他の英文字以外の文字は並び順に関しては |
| 122 | 123 | 無視されています。 |
| 123 | 124 | メッセージを探すには、英文字以外は無視してください。 |
| 124 | 125 | |
| 125 | 126 | =over 4 |
| 126 | 127 | |
| 127 | 128 | =item accept() on closed socket %s |
| 128 | 129 | |
| 129 | 130 | =begin original |
| 130 | 131 | |
| 131 | 132 | (W closed) You tried to do an accept on a closed socket. Did you forget |
| 132 | 133 | to check the return value of your socket() call? See |
| 133 | 134 | L<perlfunc/accept>. |
| 134 | 135 | |
| 135 | 136 | =end original |
| 136 | 137 | |
| 137 | 138 | (W closed) クローズされたソケットに accept を行なおうとしました。 |
| 138 | 139 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
| 139 | 140 | L<perlfunc/accept> を参照してください。 |
| 140 | 141 | |
| 141 | =item A | |
| 142 | =item ADJUST is experimental | |
| 142 | 143 | |
| 143 | 144 | =begin original |
| 144 | 145 | |
| 145 | ( | |
| 146 | (S experimental::class) This warning is emitted if you use the C<ADJUST> | |
| 147 | keyword of C<use feature 'class'>. This keyword is currently | |
| 148 | experimental and its behaviour may change in future releases of Perl. | |
| 146 | 149 | |
| 147 | 150 | =end original |
| 148 | 151 | |
| 149 | ( | |
| 152 | (S experimental::class) この警告は、C<use feature 'class'> の | |
| 153 | C<ADJUST> キーワードを使うと発生します。 | |
| 154 | このキーワードは現在のところ実験的で、Perl の将来のリリースでは変更される | |
| 155 | 可能性があります。 | |
| 150 | 156 | |
| 151 | =item | |
| 157 | =item Aliasing via reference is experimental | |
| 152 | 158 | |
| 153 | 159 | =begin original |
| 154 | 160 | |
| 161 | (S experimental::refaliasing) This warning is emitted if you use | |
| 162 | a reference constructor on the left-hand side of an assignment to | |
| 163 | alias one variable to another. Simply suppress the warning if you | |
| 164 | want to use the feature, but know that in doing so you are taking | |
| 165 | the risk of using an experimental feature which may change or be | |
| 166 | removed in a future Perl version: | |
| 167 | ||
| 168 | =end original | |
| 169 | ||
| 170 | (S experimental::refaliasing) この警告は、ある変数を別の変数の別名とする代入の | |
| 171 | 左側でリファレンスコンストラクタを使うと出力されます。 | |
| 172 | この機能を使いたい場合は単にこの警告を抑制してください; ただし | |
| 173 | そうすることによってあなたは将来のバージョンの Perl で変更したり | |
| 174 | 削除されたりするかもしれない実験的な機能を使うというリスクを | |
| 175 | 取っていると言うことを知っておいてください: | |
| 176 | ||
| 177 | no warnings "experimental::refaliasing"; | |
| 178 | use feature "refaliasing"; | |
| 179 | \$x = \$y; | |
| 180 | ||
| 181 | =item '%c' allowed only after types %s in %s | |
| 182 | ||
| 183 | =begin original | |
| 184 | ||
| 155 | 185 | (F) The modifiers '!', '<' and '>' are allowed in pack() or unpack() only |
| 156 | 186 | after certain types. See L<perlfunc/pack>. |
| 157 | 187 | |
| 158 | 188 | =end original |
| 159 | 189 | |
| 160 | 190 | (F) pack() や unpack() での '!', '<', '>''!' の修飾子は特定のタイプの |
| 161 | 191 | 後にのみつけることができます。 |
| 162 | 192 | L<perlfunc/pack> を参照してください。 |
| 163 | 193 | |
| 194 | =item alpha->numify() is lossy | |
| 195 | ||
| 196 | =begin original | |
| 197 | ||
| 198 | (W numeric) An alpha version can not be numified without losing | |
| 199 | information. | |
| 200 | ||
| 201 | =end original | |
| 202 | ||
| 203 | (W numeric) アルファバージョンは、情報を失うことなく数値化できません。 | |
| 204 | ||
| 164 | 205 | =item Ambiguous call resolved as CORE::%s(), qualify as such or use & |
| 165 | 206 | |
| 166 | 207 | =begin original |
| 167 | 208 | |
| 168 | 209 | (W ambiguous) A subroutine you have declared has the same name as a Perl |
| 169 | 210 | keyword, and you have used the name without qualification for calling |
| 170 | 211 | one or the other. Perl decided to call the builtin because the |
| 171 | 212 | subroutine is not imported. |
| 172 | 213 | |
| 173 | 214 | =end original |
| 174 | 215 | |
| 175 | 216 | (W ambiguous) 定義したサブルーチンの名前が Perl のキーワードと同じで、 |
| 176 | 217 | どちらかを呼び出すために修飾なしで名前を使っています。 |
| 177 | 218 | Perl は、サブルーチンがインポートされたものではないので、組み込みのものを |
| 178 | 219 | 呼び出すことにしました。 |
| 179 | 220 | |
| 180 | 221 | =begin original |
| 181 | 222 | |
| 182 | 223 | To force interpretation as a subroutine call, either put an ampersand |
| 183 | 224 | before the subroutine name, or qualify the name with its package. |
| 184 | 225 | Alternatively, you can import the subroutine (or pretend that it's |
| 185 | 226 | imported with the C<use subs> pragma). |
| 186 | 227 | |
| 187 | 228 | =end original |
| 188 | 229 | |
| 189 | 230 | サブルーチン呼び出しとして解釈することを強制させるためには、サブルーチン名の |
| 190 | 231 | 前にアンパサンドをつけるか、名前をパッケージ名で修飾してください。 |
| 191 | 232 | 他の方法として、サブルーチンをインポートする(あるいは C<use subs> |
| 192 | 233 | プラグマを使ってインポートされたふりをする)方法もあります。 |
| 193 | 234 | |
| 194 | 235 | =begin original |
| 195 | 236 | |
| 196 | 237 | To silently interpret it as the Perl operator, use the C<CORE::> prefix |
| 197 | 238 | on the operator (e.g. C<CORE::log($x)>) or declare the subroutine |
| 198 | 239 | to be an object method (see L<perlsub/"Subroutine Attributes"> or |
| 199 | 240 | L<attributes>). |
| 200 | 241 | |
| 201 | 242 | =end original |
| 202 | 243 | |
| 203 | 244 | 警告なしに Perl 演算子として解釈させるためには、(C<CORE::log($x)> のように) |
| 204 | 245 | 演算子に C<CORE::> 接頭辞をつけるか、サブルーチンをオブジェクト |
| 205 | 246 | メソッド(L<perlsub/"Subroutine Attributes"> や L<attributes> を |
| 206 | 247 | 参照してください)として定義してください。 |
| 207 | 248 | |
| 208 | 249 | =item Ambiguous range in transliteration operator |
| 209 | 250 | |
| 210 | 251 | =begin original |
| 211 | 252 | |
| 212 | 253 | (F) You wrote something like C<tr/a-z-0//> which doesn't mean anything at |
| 213 | 254 | all. To include a C<-> character in a transliteration, put it either |
| 214 | 255 | first or last. (In the past, C<tr/a-z-0//> was synonymous with |
| 215 | 256 | C<tr/a-y//>, which was probably not what you would have expected.) |
| 216 | 257 | |
| 217 | 258 | =end original |
| 218 | 259 | |
| 219 | 260 | (F) C<tr/a-z-0//> のような、何の意味もないことをしようとしました。 |
| 220 | 261 | 文字変換の文字に C<-> を加える時は、最初か最後に置いてください。 |
| 221 | 262 | (以前は C<tr/a-z-0//> は C<tr/a-y//> と同義でしたが、これはおそらく |
| 222 | 263 | 予想していたものと違うでしょう。) |
| 223 | 264 | |
| 224 | 265 | =item Ambiguous use of %s resolved as %s |
| 225 | 266 | |
| 226 | 267 | =begin original |
| 227 | 268 | |
| 228 | ( | |
| 269 | (S ambiguous) You said something that may not be interpreted the way | |
| 229 | 270 | you thought. Normally it's pretty easy to disambiguate it by supplying |
| 230 | 271 | a missing quote, operator, parenthesis pair or declaration. |
| 231 | 272 | |
| 232 | 273 | =end original |
| 233 | 274 | |
| 234 | ( | |
| 275 | (S ambiguous) 何か、あなたが考えているようには解釈できないものがありました。 | |
| 235 | ありました。 | |
| 236 | 276 | 普通は、不足しているクォート、演算子、かっこ、宣言を追加することでかなり |
| 237 | 277 | 簡単にあいまいさを解消できます。 |
| 238 | 278 | |
| 279 | =item Ambiguous use of -%s resolved as -&%s() | |
| 280 | ||
| 281 | =begin original | |
| 282 | ||
| 283 | (S ambiguous) You wrote something like C<-foo>, which might be the | |
| 284 | string C<"-foo">, or a call to the function C<foo>, negated. If you meant | |
| 285 | the string, just write C<"-foo">. If you meant the function call, | |
| 286 | write C<-foo()>. | |
| 287 | ||
| 288 | =end original | |
| 289 | ||
| 290 | (S ambiguous) C<-foo> のようなものを書きました; これは文字列 C<"-foo"> かも | |
| 291 | 知れませんし、関数 C<foo> を呼び出してその否定かも知れません。 | |
| 292 | 文字列のつもりなら、単に C<"-foo"> と書いてください。 | |
| 293 | 関数呼び出しのつもりなら、C<-foo()> と書いてください。 | |
| 294 | ||
| 239 | 295 | =item Ambiguous use of %c resolved as operator %c |
| 240 | 296 | |
| 241 | 297 | =begin original |
| 242 | 298 | |
| 243 | ( | |
| 299 | (S ambiguous) C<%>, C<&>, and C<*> are both infix operators (modulus, | |
| 244 | 300 | bitwise and, and multiplication) I<and> initial special characters |
| 245 | 301 | (denoting hashes, subroutines and typeglobs), and you said something |
| 246 | 302 | like C<*foo * foo> that might be interpreted as either of them. We |
| 247 | 303 | assumed you meant the infix operator, but please try to make it more |
| 248 | 304 | clear -- in the example given, you might write C<*foo * foo()> if you |
| 249 | 305 | really meant to multiply a glob by the result of calling a function. |
| 250 | 306 | |
| 251 | 307 | =end original |
| 252 | 308 | |
| 253 | ( | |
| 309 | (S ambiguous) C<%>, C<&>, C<*> は、中置演算子(剰余、ビット単位論理和、乗算) | |
| 254 | 310 | I<および> 初期特殊文字(ハッシュ、サブルーチン、型グロブを示す)の |
| 255 | 311 | 両方に使われますが、どちらとも解釈できる C<*foo * foo> のようなものが |
| 256 | 312 | 書かれました。 |
| 257 | 313 | これは中置演算子を意味していると仮定しますが、どうかより明確にするように |
| 258 | 314 | してください -- 上述の例では、もし本当にグロブと関数呼び出しの結果の |
| 259 | 315 | 積を意味しているなら、C<*foo * foo()> と書けます。 |
| 260 | 316 | |
| 261 | 317 | =item Ambiguous use of %c{%s} resolved to %c%s |
| 262 | 318 | |
| 263 | 319 | =begin original |
| 264 | 320 | |
| 265 | 321 | (W ambiguous) You wrote something like C<@{foo}>, which might be |
| 266 | 322 | asking for the variable C<@foo>, or it might be calling a function |
| 267 | 323 | named foo, and dereferencing it as an array reference. If you wanted |
| 268 | 324 | the variable, you can just write C<@foo>. If you wanted to call the |
| 269 | 325 | function, write C<@{foo()}> ... or you could just not have a variable |
| 270 | 326 | and a function with the same name, and save yourself a lot of trouble. |
| 271 | 327 | |
| 272 | 328 | =end original |
| 273 | 329 | |
| 274 | 330 | (W ambiguous) C<@{foo}> のようなものを書きました; これは変数 C<@foo> のこと |
| 275 | 331 | かもしれませんし、foo という名前の関数を呼び出して、それを配列 |
| 276 | 332 | リファレンスとしてデリファレンスするかもしれません。 |
| 277 | 333 | もし変数がほしいなら、単に C<@foo> と書いてください。 |
| 278 | 334 | 関数を呼び出したいなら、C<@{foo()}> と書いてください…あるいは単に |
| 279 | 335 | 変数と関数で同じ名前を使わないでください; これにより多くの問題から身を |
| 280 | 336 | 守れます。 |
| 281 | 337 | |
| 282 | 338 | =item Ambiguous use of %c{%s[...]} resolved to %c%s[...] |
| 283 | 339 | |
| 284 | 340 | =item Ambiguous use of %c{%s{...}} resolved to %c%s{...} |
| 285 | 341 | |
| 286 | 342 | =begin original |
| 287 | 343 | |
| 288 | 344 | (W ambiguous) You wrote something like C<${foo[2]}> (where foo represents |
| 289 | 345 | the name of a Perl keyword), which might be looking for element number |
| 290 | 346 | 2 of the array named C<@foo>, in which case please write C<$foo[2]>, or you |
| 291 | 347 | might have meant to pass an anonymous arrayref to the function named |
| 292 | 348 | foo, and then do a scalar deref on the value it returns. If you meant |
| 293 | 349 | that, write C<${foo([2])}>. |
| 294 | 350 | |
| 295 | 351 | =end original |
| 296 | 352 | |
| 297 | 353 | (W ambiguous) C<${foo[2]}> のようなものを書きました (ここで foo は Perl の |
| 298 | 354 | キーワード名を表します); これは C<@foo> という名前の配列の要素番号 2 を |
| 299 | 355 | 探しているのかも知れません(その場合は C<$foo[2]> と書いてください)し、 |
| 300 | 356 | foo という名前の関数に無名配列リファレンスを渡して、返り値をスカラ |
| 301 | 357 | デリファレンスしているのかも知れません。 |
| 302 | 358 | それを意味しているなら、C<${foo([2])}> と書いてください。 |
| 303 | 359 | |
| 304 | 360 | =begin original |
| 305 | 361 | |
| 306 | 362 | In regular expressions, the C<${foo[2]}> syntax is sometimes necessary |
| 307 | 363 | to disambiguate between array subscripts and character classes. |
| 308 | 364 | C</$length[2345]/>, for instance, will be interpreted as C<$length> followed |
| 309 | 365 | by the character class C<[2345]>. If an array subscript is what you |
| 310 | 366 | want, you can avoid the warning by changing C</${length[2345]}/> to the |
| 311 | 367 | unsightly C</${\$length[2345]}/>, by renaming your array to something |
| 312 | 368 | that does not coincide with a built-in keyword, or by simply turning |
| 313 | 369 | off warnings with C<no warnings 'ambiguous';>. |
| 314 | 370 | |
| 315 | 371 | =end original |
| 316 | 372 | |
| 317 | 373 | 正規表現の中で、C<${foo[2]}> 文法は配列添え字と文字クラスを区別するために |
| 318 | 374 | 必要になります。 |
| 319 | 375 | 例えば、C</$length[2345]/> は、C<$length> に文字クラス C<[2345]> が |
| 320 | 376 | 引き続くと解釈されます。 |
| 321 | 377 | 配列添え字が求めているものなら、C</${length[2345]}/> を |
| 322 | 378 | (見にくい) C</${\$length[2345]}/>と変更する、配列の名前を組み込みキーワードと |
| 323 | 379 | 衝突しないものに変える、単に C<no warnings 'ambiguous';> として |
| 324 | 380 | 警告をオフにする、のいずれかで警告を回避できます。 |
| 325 | 381 | |
| 326 | =item Ambiguous use of -%s resolved as -&%s() | |
| 327 | ||
| 328 | =begin original | |
| 329 | ||
| 330 | (W ambiguous) You wrote something like C<-foo>, which might be the | |
| 331 | string C<"-foo">, or a call to the function C<foo>, negated. If you meant | |
| 332 | the string, just write C<"-foo">. If you meant the function call, | |
| 333 | write C<-foo()>. | |
| 334 | ||
| 335 | =end original | |
| 336 | ||
| 337 | (W ambiguous) C<-foo> のようなものを書きました; これは文字列 C<"-foo"> かも | |
| 338 | 知れませんし、関数 C<foo> を呼び出してその否定かも知れません。 | |
| 339 | 文字列のつもりなら、単に C<"-foo"> と書いてください。 | |
| 340 | 関数呼び出しのつもりなら、C<-foo()> と書いてください。 | |
| 341 | ||
| 342 | =item Ambiguous use of 's//le...' resolved as 's// le...'; Rewrite as 's//el' if you meant 'use locale rules and evaluate rhs as an expression'. In Perl 5.18, 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.16 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.18, 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, and 5.16 if | |
| 354 | you want the latter interpretation, you can simply write "el" instead. | |
| 355 | But note that the C</l> modifier should not be used explicitly anyway; | |
| 356 | you should use C<use locale> instead. See L<perllocale>. | |
| 357 | ||
| 358 | =end original | |
| 359 | ||
| 360 | (W deprecated, ambiguous) 置換を含むパターンの直後に "le" と書きました。 | |
| 361 | Perl 5.16 以前では、これは置換の結果を取り、これと式に引き続くものとの | |
| 362 | 間での文字列的な「以下」かどうかを調べます。 | |
| 363 | パターンの直後に引き続く "le" は廃止予定の振る舞いなので、Perl 5.18 では、 | |
| 364 | この式は現在のロケールの規則を使ってパターンマッチングを行い、置換を | |
| 365 | 行うときに右側を式として評価します。 | |
| 366 | 5.14 と 5.16 では、後者の解釈を望むなら、単に代わりに "el" と書いてください。 | |
| 367 | しかし、どちらにしろ C</l> 修飾子は明示的に使うべきではないことに | |
| 368 | 注意してください; 代わりに C<use locale> を使うべきです。 | |
| 369 | L<perllocale> を参照してください。 | |
| 370 | ||
| 371 | 382 | =item '|' and '<' may not both be specified on command line |
| 372 | 383 | |
| 373 | 384 | =begin original |
| 374 | 385 | |
| 375 | 386 | (F) An error peculiar to VMS. Perl does its own command line |
| 376 | 387 | redirection, and found that STDIN was a pipe, and that you also tried to |
| 377 | 388 | redirect STDIN using '<'. Only one STDIN stream to a customer, please. |
| 378 | 389 | |
| 379 | 390 | =end original |
| 380 | 391 | |
| 381 | 392 | (F) VMS に固有のエラーです。 |
| 382 | 393 | Perl は独自にコマンドラインのリダイレクトを扱っていて、STDIN がパイプで |
| 383 | 394 | あることを発見しましたが、さらに '<' を使って STDIN をリダイレクトしようと |
| 384 | 395 | しました。 |
| 385 | 396 | STDIN ストリームは一つだけにしてください; お願いします。 |
| 386 | 397 | |
| 387 | 398 | =item '|' and '>' may not both be specified on command line |
| 388 | 399 | |
| 389 | 400 | =begin original |
| 390 | 401 | |
| 391 | 402 | (F) An error peculiar to VMS. Perl does its own command line |
| 392 | 403 | redirection, and thinks you tried to redirect stdout both to a file and |
| 393 | 404 | into a pipe to another command. You need to choose one or the other, |
| 394 | 405 | though nothing's stopping you from piping into a program or Perl script |
| 395 | 406 | which 'splits' output into two streams, such as |
| 396 | 407 | |
| 397 | 408 | =end original |
| 398 | 409 | |
| 399 | 410 | (F) VMS に固有のエラーです。 |
| 400 | 411 | Perl は独自にコマンドラインのリダイレクトを扱っていて、STDOUT を |
| 401 | 412 | ファイルと他のコマンドへのパイプと両方にリダイレクトしようとしていると |
| 402 | 413 | 判断しました。 |
| 403 | 414 | どちらかを選ぶ必要がありますが、以下のように出力を二つのストリームに |
| 404 | 415 | 「分割」するプログラムや Perl スクリプトにパイプすることを止めるものは |
| 405 | 416 | 何もありません。 |
| 406 | 417 | |
| 407 | 418 | open(OUT,">$ARGV[0]") or die "Can't write to $ARGV[0]: $!"; |
| 408 | 419 | while (<STDIN>) { |
| 409 | 420 | print; |
| 410 | 421 | print OUT; |
| 411 | 422 | } |
| 412 | 423 | close OUT; |
| 413 | 424 | |
| 414 | 425 | =item Applying %s to %s will act on scalar(%s) |
| 415 | 426 | |
| 416 | 427 | =begin original |
| 417 | 428 | |
| 418 | 429 | (W misc) The pattern match (C<//>), substitution (C<s///>), and |
| 419 | 430 | transliteration (C<tr///>) operators work on scalar values. If you apply |
| 420 | 431 | one of them to an array or a hash, it will convert the array or hash to |
| 421 | 432 | a scalar value (the length of an array, or the population info of a |
| 422 | 433 | hash) and then work on that scalar value. This is probably not what |
| 423 | 434 | you meant to do. See L<perlfunc/grep> and L<perlfunc/map> for |
| 424 | 435 | alternatives. |
| 425 | 436 | |
| 426 | 437 | =end original |
| 427 | 438 | |
| 428 | 439 | (W misc) パターンマッチ (C<//>), 置換 (C<s///>), 文字置換 |
| 429 | 440 | (C<tr///>) 演算子はスカラ値に対して動作します。 |
| 430 | 441 | これらを配列やハッシュに適用すると、配列やハッシュをスカラ値 (配列の長さか |
| 431 | 442 | ハッシュの大きさの情報) に変換し、そのスカラ値に対して動作します。 |
| 432 | 443 | これはおそらくしたいこととは違うでしょう。 |
| 433 | 444 | 代替案については L<perlfunc/grep> と L<perlfunc/map> を参照してください。 |
| 434 | 445 | |
| 435 | 446 | =item Arg too short for msgsnd |
| 436 | 447 | |
| 437 | 448 | =begin original |
| 438 | 449 | |
| 439 | 450 | (F) msgsnd() requires a string at least as long as sizeof(long). |
| 440 | 451 | |
| 441 | 452 | =end original |
| 442 | 453 | |
| 443 | 454 | (F) msgsnd() に渡す文字列は、少なくとも sizeof(long) の長さが必要です。 |
| 444 | 455 | |
| 445 | =item | |
| 456 | =item Argument "%s" isn't numeric%s | |
| 446 | 457 | |
| 447 | 458 | =begin original |
| 448 | 459 | |
| 449 | ( | |
| 460 | (W numeric) The indicated string was fed as an argument to an operator | |
| 450 | ||
| 461 | that expected a numeric value instead. If you're fortunate the message | |
| 462 | will identify which operator was so unfortunate. | |
| 451 | 463 | |
| 452 | 464 | =end original |
| 453 | 465 | |
| 454 | ( | |
| 466 | (W numeric) ここに示した文字列は、数値が必要な演算子の引数として、 | |
| 455 | ||
| 467 | 与えられました。 | |
| 468 | 運がよければ、このメッセージによって、どの演算子が問題となったかが | |
| 469 | わかります。 | |
| 456 | 470 | |
| 457 | $foo{$bar} | |
| 458 | $ref->{"susie"}[12] | |
| 459 | &do_something | |
| 460 | ||
| 461 | =item %s argument is not a HASH or ARRAY element or slice | |
| 462 | ||
| 463 | 471 | =begin original |
| 464 | 472 | |
| 465 | ||
| 473 | Note that for the C<Inf> and C<NaN> (infinity and not-a-number) the | |
| 466 | ||
| 474 | definition of "numeric" is somewhat unusual: the strings themselves | |
| 475 | (like "Inf") are considered numeric, and anything following them is | |
| 476 | considered non-numeric. | |
| 467 | 477 | |
| 468 | 478 | =end original |
| 469 | 479 | |
| 470 | ||
| 480 | Note that for the | |
| 481 | C<Inf> と C<NaN> (無限と非数) については、「数値」の定義が少し | |
| 482 | 変わっていることに注意してください: | |
| 483 | ("Inf" のような) これらの文字列自身は数値として扱われますが、それに | |
| 484 | 何かが引き続いている場合は非数値として扱われます。 | |
| 471 | 485 | |
| 472 | | |
| 486 | =item Argument list not closed for PerlIO layer "%s" | |
| 473 | $ref->{"susie"}[12] | |
| 474 | 487 | |
| 475 | 488 | =begin original |
| 476 | 489 | |
| 477 | ||
| 490 | (W layer) When pushing a layer with arguments onto the Perl I/O | |
| 491 | system you forgot the ) that closes the argument list. (Layers | |
| 492 | take care of transforming data between external and internal | |
| 493 | representations.) Perl stopped parsing the layer list at this | |
| 494 | point and did not attempt to push this layer. If your program | |
| 495 | didn't explicitly request the failing operation, it may be the | |
| 496 | result of the value of the environment variable PERLIO. | |
| 478 | 497 | |
| 479 | 498 | =end original |
| 480 | 499 | |
| 481 | ||
| 500 | (W layer) Perl I/O システムに層を引数付きで追加するときに、引数リストを | |
| 501 | 閉じる ) を忘れています。 | |
| 502 | (層はデータの外部表現と内部表現の変換を扱います。) | |
| 503 | Perl はここで層のリストのパースを中止し、この層の追加は行われませんでした。 | |
| 504 | 明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の | |
| 505 | 値が原因かもしれません。 | |
| 482 | 506 | |
| 483 | | |
| 507 | =item Argument "%s" treated as 0 in increment (++) | |
| 484 | @{$ref->[12]}{"susie", "queue"} | |
| 485 | 508 | |
| 486 | =item %s argument is not a subroutine name | |
| 487 | ||
| 488 | 509 | =begin original |
| 489 | 510 | |
| 490 | ( | |
| 511 | (W numeric) The indicated string was fed as an argument to the C<++> | |
| 491 | ||
| 512 | operator which expects either a number or a string matching | |
| 492 | er | |
| 513 | C</^[a-zA-Z]*[0-9]*\z/>. See L<perlop/Auto-increment and | |
| 514 | Auto-decrement> for details. | |
| 493 | 515 | |
| 494 | 516 | =end original |
| 495 | 517 | |
| 496 | ( | |
| 518 | (W numeric) 数値または C</^[a-zA-Z]*[0-9]*\z/> にマッチングする文字列を | |
| 497 | ||
| 519 | 想定しているC<++> 演算子に、示された文字列が指定されました。 | |
| 498 | ||
| 520 | 詳しくは L<perlop/Auto-increment and Auto-decrement> を参照してください。 | |
| 499 | 521 | |
| 500 | =item Ar | |
| 522 | =item Array passed to stat will be coerced to a scalar%s | |
| 501 | 523 | |
| 502 | 524 | =begin original |
| 503 | 525 | |
| 504 | (W n | |
| 526 | (W syntax) You called stat() on an array, but the array will be | |
| 505 | ||
| 527 | coerced to a scalar - the number of elements in the array. | |
| 506 | will identify which operator was so unfortunate. | |
| 507 | 528 | |
| 508 | 529 | =end original |
| 509 | 530 | |
| 510 | (W n | |
| 531 | (W syntax) 配列に対して stat() が呼び出されましたが、配列は | |
| 511 | ||
| 532 | スカラ - 配列の要素数 - に強制されました。 | |
| 512 | 運がよければ、このメッセージによって、どの演算子が問題となったかが | |
| 513 | わかります。 | |
| 514 | 533 | |
| 515 | =item A | |
| 534 | =item A signature parameter must start with '$', '@' or '%' | |
| 516 | 535 | |
| 517 | 536 | =begin original |
| 518 | 537 | |
| 519 | ( | |
| 538 | (F) Each subroutine signature parameter declaration must start with a valid | |
| 520 | s | |
| 539 | sigil; for example: | |
| 521 | take care of transforming data between external and internal | |
| 522 | representations.) Perl stopped parsing the layer list at this | |
| 523 | point and did not attempt to push this layer. If your program | |
| 524 | didn't explicitly request the failing operation, it may be the | |
| 525 | result of the value of the environment variable PERLIO. | |
| 526 | 540 | |
| 527 | 541 | =end original |
| 528 | 542 | |
| 529 | ( | |
| 543 | (F) それぞれのサブルーチンシグネチャ引数宣言は、妥当な印で | |
| 530 | ||
| 544 | 始まらなければなりません; 例えば: | |
| 531 | (層はデータの外部表現と内部表現の変換を扱います。) | |
| 532 | Perl はここで層のリストのパースを中止し、この層の追加は行われませんでした。 | |
| 533 | 明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の | |
| 534 | 値が原因かもしれません。 | |
| 535 | 545 | |
| 536 | ||
| 546 | sub foo ($x, $, $y = 1, @z) {} | |
| 537 | 547 | |
| 548 | =item A slurpy parameter may not have a default value | |
| 549 | ||
| 538 | 550 | =begin original |
| 539 | 551 | |
| 540 | ( | |
| 552 | (F) Only scalar subroutine signature parameters may have a default value; | |
| 541 | ||
| 553 | for example: | |
| 542 | 554 | |
| 543 | 555 | =end original |
| 544 | 556 | |
| 545 | ( | |
| 557 | (F) スカラサブルーチンシグネチャ引数のみがデフォルト値を持てます; | |
| 546 | ||
| 558 | 例えば: | |
| 547 | これは廃止予定です。 | |
| 548 | 559 | |
| 560 | sub foo ($x = 1) {} # legal | |
| 561 | sub foo (@x = (1)) {} # invalid | |
| 562 | sub foo (%x = (a => b)) {} # invalid | |
| 563 | ||
| 549 | 564 | =item assertion botched: %s |
| 550 | 565 | |
| 551 | 566 | =begin original |
| 552 | 567 | |
| 553 | 568 | (X) The malloc package that comes with Perl had an internal failure. |
| 554 | 569 | |
| 555 | 570 | =end original |
| 556 | 571 | |
| 557 | 572 | (X) Perl に付属の malloc ルーティンが内部エラーを起こしました。 |
| 558 | 573 | |
| 559 | =item Assertion failed: file "%s" | |
| 574 | =item Assertion %s failed: file "%s", line %d | |
| 560 | 575 | |
| 561 | 576 | =begin original |
| 562 | 577 | |
| 563 | 578 | (X) A general assertion failed. The file in question must be examined. |
| 564 | 579 | |
| 565 | 580 | =end original |
| 566 | 581 | |
| 567 | 582 | (X) 一般的なアサーションが失敗しました。 |
| 568 | 583 | 問題の file を調べる必要があります。 |
| 569 | 584 | |
| 585 | =item Assigned value is not a reference | |
| 586 | ||
| 587 | =begin original | |
| 588 | ||
| 589 | (F) You tried to assign something that was not a reference to an lvalue | |
| 590 | reference (e.g., C<\$x = $y>). If you meant to make $x an alias to $y, use | |
| 591 | C<\$x = \$y>. | |
| 592 | ||
| 593 | =end original | |
| 594 | ||
| 595 | (F) リファレンスでないものを左辺値リファレンスに代入しようとしました | |
| 596 | (例: C<\$x = $y>)。 | |
| 597 | $x を $y の別名にすることを意図しているなら、C<\$x = \$y> を使ってください。 | |
| 598 | ||
| 599 | =item Assigned value is not %s reference | |
| 600 | ||
| 601 | =begin original | |
| 602 | ||
| 603 | (F) You tried to assign a reference to a reference constructor, but the | |
| 604 | two references were not of the same type. You cannot alias a scalar to | |
| 605 | an array, or an array to a hash; the two types must match. | |
| 606 | ||
| 607 | =end original | |
| 608 | ||
| 609 | (F) あるリファレンスにリファレンスコンストラクタを代入しようとしましたが、 | |
| 610 | 二つのリファレンスが同じ型ではありません。 | |
| 611 | スカラから配列への別名や配列からハッシュへの別名はできません; | |
| 612 | 二つの型は一致していなければなりません。 | |
| 613 | ||
| 614 | \$x = \@y; # error | |
| 615 | \@x = \%y; # error | |
| 616 | $y = []; | |
| 617 | \$x = $y; # error; did you mean \$y? | |
| 618 | ||
| 570 | 619 | =item Assigning non-zero to $[ is no longer possible |
| 571 | 620 | |
| 572 | 621 | =begin original |
| 573 | 622 | |
| 574 | (F) When the "array_base" feature is disabled | |
| 623 | (F) When the "array_base" feature is disabled | |
| 624 | (e.g., and under C<use v5.16;>, and as of Perl 5.30) | |
| 575 | 625 | the special variable C<$[>, which is deprecated, is now a fixed zero value. |
| 576 | 626 | |
| 577 | 627 | =end original |
| 578 | 628 | |
| 579 | (F) (C<use v5.16;> のように) "array_base" 機能が | |
| 629 | (F) (C<use v5.16;> のように、そして Perl 5.30 から) "array_base" 機能が | |
| 580 | 特殊変数 C<$[> は 0 固定です。 | |
| 630 | 無効の場合、廃止予定である特殊変数 C<$[> は 0 固定です。 | |
| 581 | 631 | |
| 582 | 632 | =item Assignment to both a list and a scalar |
| 583 | 633 | |
| 584 | 634 | =begin original |
| 585 | 635 | |
| 586 | 636 | (F) If you assign to a conditional operator, the 2nd and 3rd arguments |
| 587 | 637 | must either both be scalars or both be lists. Otherwise Perl won't |
| 588 | 638 | know which context to supply to the right side. |
| 589 | 639 | |
| 590 | 640 | =end original |
| 591 | 641 | |
| 592 | 642 | (F) 条件演算子へ代入を行なう場合には、二つめの引数と、3 つめの引数は、 |
| 593 | 643 | ともにスカラか、ともにリストでなければなりません。 |
| 594 | 644 | そうでないと、Perl は右辺のコンテキストを決めることができません。 |
| 595 | 645 | |
| 596 | =item A | |
| 646 | =item Assuming NOT a POSIX class since %s in regex; marked by S<<-- HERE> in m/%s/ | |
| 597 | 647 | |
| 598 | 648 | =begin original |
| 599 | 649 | |
| 600 | (W | |
| 650 | (W regexp) You had something like these: | |
| 601 | the main thread) exited while there were still other threads running. | |
| 602 | Usually it's a good idea first to collect the return values of the | |
| 603 | created threads by joining them, and only then to exit from the main | |
| 604 | thread. See L<threads>. | |
| 605 | 651 | |
| 606 | 652 | =end original |
| 607 | 653 | |
| 608 | (W | |
| 654 | (W regexp) 次のようなことをしました: | |
| 609 | まだ動いている状態で、あるスレッド(メインスレッドには限りません)が | |
| 610 | 終了しました。 | |
| 611 | 普通は、作成したスレッドに join することで返り値を集めて、それから | |
| 612 | メインスレッドから終了するのがよい考えです。 | |
| 613 | L<threads> を参照してください。 | |
| 614 | 655 | |
| 656 | [[:alnum]] | |
| 657 | [[:digit:xyz] | |
| 658 | ||
| 659 | =begin original | |
| 660 | ||
| 661 | They look like they might have been meant to be the POSIX classes | |
| 662 | C<[:alnum:]> or C<[:digit:]>. If so, they should be written: | |
| 663 | ||
| 664 | =end original | |
| 665 | ||
| 666 | これらは、POSIX クラス C<[:alnum:]> や C<[:digit:]> を意味しようと | |
| 667 | していたように見えます。 | |
| 668 | もしそうなら、次のように書くべきです: | |
| 669 | ||
| 670 | [[:alnum:]] | |
| 671 | [[:digit:]xyz] | |
| 672 | ||
| 673 | =begin original | |
| 674 | ||
| 675 | Since these aren't legal POSIX class specifications, but are legal | |
| 676 | bracketed character classes, Perl treats them as the latter. In the | |
| 677 | first example, it matches the characters C<":">, C<"[">, C<"a">, C<"l">, | |
| 678 | C<"m">, C<"n">, and C<"u">. | |
| 679 | ||
| 680 | =end original | |
| 681 | ||
| 682 | これらは有効な POSIX クラスしようではありませんが、有効な | |
| 683 | 大かっこ文字クラスなので、Perl これらを後者として扱います。 | |
| 684 | 一つ目の例では、これは C<":">, C<"[">, C<"a">, C<"l">, | |
| 685 | C<"m">, C<"n">, C<"u"> にマッチングします。 | |
| 686 | ||
| 687 | =begin original | |
| 688 | ||
| 689 | If these weren't meant to be POSIX classes, this warning message is | |
| 690 | spurious, and can be suppressed by reordering things, such as | |
| 691 | ||
| 692 | =end original | |
| 693 | ||
| 694 | これらが POSIX クラスを意味していないなら、この警告は誤りで、 | |
| 695 | 次のように文字を入れ替えることで抑制できます: | |
| 696 | ||
| 697 | [[al:num]] | |
| 698 | ||
| 699 | =begin original | |
| 700 | ||
| 701 | or | |
| 702 | ||
| 703 | =end original | |
| 704 | ||
| 705 | または | |
| 706 | ||
| 707 | [[:munla]] | |
| 708 | ||
| 709 | =item <> at require-statement should be quotes | |
| 710 | ||
| 711 | =begin original | |
| 712 | ||
| 713 | (F) You wrote C<< require <file> >> when you should have written | |
| 714 | C<require 'file'>. | |
| 715 | ||
| 716 | =end original | |
| 717 | ||
| 718 | (F) C<require 'file'> と書くべきところで C<< require <file> >> と | |
| 719 | 書いています。 | |
| 720 | ||
| 615 | 721 | =item Attempt to access disallowed key '%s' in a restricted hash |
| 616 | 722 | |
| 617 | 723 | =begin original |
| 618 | 724 | |
| 619 | 725 | (F) The failing code has attempted to get or set a key which is not in |
| 620 | 726 | the current set of allowed keys of a restricted hash. |
| 621 | 727 | |
| 622 | 728 | =end original |
| 623 | 729 | |
| 624 | 730 | (F) 制限ハッシュで許されているキーの集合に含まれていないキーに対して |
| 625 | 731 | 取得または設定しようとして失敗しました。 |
| 626 | 732 | |
| 733 | =item Attempt to bless into a freed package | |
| 734 | ||
| 735 | =begin original | |
| 736 | ||
| 737 | (F) You wrote C<bless $foo> with one argument after somehow causing | |
| 738 | the current package to be freed. Perl cannot figure out what to | |
| 739 | do, so it throws up its hands in despair. | |
| 740 | ||
| 741 | =end original | |
| 742 | ||
| 743 | (F) 現在のパッケージが解放されるような何かが起きた後で 1 引数の | |
| 744 | C<bless $foo> を書きました。 | |
| 745 | 何がしたいのかが分からないので Perl はお手上げになりました。 | |
| 746 | ||
| 747 | =item Attempt to bless into a class | |
| 748 | ||
| 749 | =begin original | |
| 750 | ||
| 751 | (F) You are attempting to call C<bless> with a package name that is a | |
| 752 | new-style C<class>. This is not necessary, as instances created by the | |
| 753 | constructor are already in the correct class. Instances cannot be created | |
| 754 | by other means, such as C<bless>. | |
| 755 | ||
| 756 | =end original | |
| 757 | ||
| 758 | (F) 新しいスタイルの C<class> であるパッケージ名を使って | |
| 759 | C<bless> を呼び出そうとしました。 | |
| 760 | コンストラクタによって作られた実態はすでに正しいクラスになっているので、 | |
| 761 | これは不要です。 | |
| 762 | 実体は、C<bless> のような他の手段によって作ることはできません。 | |
| 763 | ||
| 627 | 764 | =item Attempt to bless into a reference |
| 628 | 765 | |
| 629 | 766 | =begin original |
| 630 | 767 | |
| 631 | 768 | (F) The CLASSNAME argument to the bless() operator is expected to be |
| 632 | 769 | the name of the package to bless the resulting object into. You've |
| 633 | 770 | supplied instead a reference to something: perhaps you wrote |
| 634 | 771 | |
| 635 | 772 | =end original |
| 636 | 773 | |
| 637 | 774 | (F) bless() 演算子の CLASSNAME 引数は結果のオブジェクトに bless する |
| 638 | 775 | パッケージ名を想定しています。 |
| 639 | 776 | そこに何かへのリファレンスが与えられました: |
| 640 | 777 | おそらく以下のようにしたのでしょう: |
| 641 | 778 | |
| 642 | 779 | bless $self, $proto; |
| 643 | 780 | |
| 644 | 781 | =begin original |
| 645 | 782 | |
| 646 | 783 | when you intended |
| 647 | 784 | |
| 648 | 785 | =end original |
| 649 | 786 | |
| 650 | 787 | 以下を意図していたはずです: |
| 651 | 788 | |
| 652 | 789 | bless $self, ref($proto) || $proto; |
| 653 | 790 | |
| 654 | 791 | =begin original |
| 655 | 792 | |
| 656 | 793 | If you actually want to bless into the stringified version |
| 657 | 794 | of the reference supplied, you need to stringify it yourself, for |
| 658 | 795 | example by: |
| 659 | 796 | |
| 660 | 797 | =end original |
| 661 | 798 | |
| 662 | 799 | 実際に与えられたリファレンスを文字列化したものに bless したい場合は、 |
| 663 | 800 | 以下のようにして自分で文字列化する必要があります: |
| 664 | 801 | |
| 665 | 802 | bless $self, "$proto"; |
| 666 | 803 | |
| 667 | 804 | =item Attempt to clear deleted array |
| 668 | 805 | |
| 669 | 806 | =begin original |
| 670 | 807 | |
| 671 | 808 | (S debugging) An array was assigned to when it was being freed. |
| 672 | 809 | Freed values are not supposed to be visible to Perl code. This |
| 673 | 810 | can also happen if XS code calls C<av_clear> from a custom magic |
| 674 | 811 | callback on the array. |
| 675 | 812 | |
| 676 | 813 | =end original |
| 677 | 814 | |
| 678 | 815 | (S debugging) 配列が、解放されるときに代入されました。 |
| 679 | 816 | 解放された値は Perl コードからは見えないはずです。 |
| 680 | 817 | これはまた、XS コードが配列のカスタムマジックコールバックから |
| 681 | 818 | C<av_clear> を呼び出したときにも起こります。 |
| 682 | 819 | |
| 683 | 820 | =item Attempt to delete disallowed key '%s' from a restricted hash |
| 684 | 821 | |
| 685 | 822 | =begin original |
| 686 | 823 | |
| 687 | 824 | (F) The failing code attempted to delete from a restricted hash a key |
| 688 | 825 | which is not in its key set. |
| 689 | 826 | |
| 690 | 827 | =end original |
| 691 | 828 | |
| 692 | 829 | (F) 制限ハッシュで、キー集合に含まれていないキーから削除しようとしました。 |
| 693 | 830 | |
| 694 | 831 | =item Attempt to delete readonly key '%s' from a restricted hash |
| 695 | 832 | |
| 696 | 833 | =begin original |
| 697 | 834 | |
| 698 | 835 | (F) The failing code attempted to delete a key whose value has been |
| 699 | 836 | declared readonly from a restricted hash. |
| 700 | 837 | |
| 701 | 838 | =end original |
| 702 | 839 | |
| 703 | 840 | (F) 制限ハッシュで、読み込み専用として宣言されている値のキーを |
| 704 | 841 | 削除しようとしました。 |
| 705 | 842 | |
| 706 | 843 | =item Attempt to free non-arena SV: 0x%x |
| 707 | 844 | |
| 708 | 845 | =begin original |
| 709 | 846 | |
| 710 | 847 | (S internal) All SV objects are supposed to be allocated from arenas |
| 711 | 848 | that will be garbage collected on exit. An SV was discovered to be |
| 712 | 849 | outside any of those arenas. |
| 713 | 850 | |
| 714 | 851 | =end original |
| 715 | 852 | |
| 716 | 853 | (S internal) すべての SV オブジェクトは、exit 時にガーベジコレクションが |
| 717 | 854 | 行なわれるアリーナに割り当てるようになっています。 |
| 718 | 855 | ある SV が、そういったアリーナに入っていないことが、見つかりました。 |
| 719 | 856 | |
| 720 | 857 | =item Attempt to free nonexistent shared string '%s'%s |
| 721 | 858 | |
| 722 | 859 | =begin original |
| 723 | 860 | |
| 724 | 861 | (S internal) Perl maintains a reference-counted internal table of |
| 725 | 862 | strings to optimize the storage and access of hash keys and other |
| 726 | 863 | strings. This indicates someone tried to decrement the reference count |
| 727 | 864 | of a string that can no longer be found in the table. |
| 728 | 865 | |
| 729 | 866 | =end original |
| 730 | 867 | |
| 731 | 868 | (S internal) Perl はストレージおよびハッシュキーとその他の文字列への |
| 732 | 869 | アクセスを最適化するために、文字列の参照数テーブルを管理しています。 |
| 733 | 870 | これは誰かがもうテーブルにない文字列の参照カウントを減らそうとしたことを |
| 734 | 871 | 示します。 |
| 735 | 872 | |
| 736 | 873 | =item Attempt to free temp prematurely: SV 0x%x |
| 737 | 874 | |
| 738 | 875 | =begin original |
| 739 | 876 | |
| 740 | 877 | (S debugging) Mortalized values are supposed to be freed by the |
| 741 | 878 | free_tmps() routine. This indicates that something else is freeing the |
| 742 | 879 | SV before the free_tmps() routine gets a chance, which means that the |
| 743 | 880 | free_tmps() routine will be freeing an unreferenced scalar when it does |
| 744 | 881 | try to free it. |
| 745 | 882 | |
| 746 | 883 | =end original |
| 747 | 884 | |
| 748 | 885 | (S debugging) 消滅する値は、free_tmps() ルーティンで解放されるように |
| 749 | 886 | なっています。 |
| 750 | 887 | このメッセージは、free_tmps() ルーティンの前に何ものかが、SV を |
| 751 | 888 | 解放しようとしていることを示していて、これは、free_tmps() が |
| 752 | 889 | 解放しようとしたときには、どこからも参照されていないスカラを |
| 753 | 890 | 解放することになるということです。 |
| 754 | 891 | |
| 755 | 892 | =item Attempt to free unreferenced glob pointers |
| 756 | 893 | |
| 757 | 894 | =begin original |
| 758 | 895 | |
| 759 | 896 | (S internal) The reference counts got screwed up on symbol aliases. |
| 760 | 897 | |
| 761 | 898 | =end original |
| 762 | 899 | |
| 763 | 900 | (S internal) シンボルのエイリアスについて、参照カウントの値がおかしな |
| 764 | 901 | 状態になりました。 |
| 765 | 902 | |
| 766 | 903 | =item Attempt to free unreferenced scalar: SV 0x%x |
| 767 | 904 | |
| 768 | 905 | =begin original |
| 769 | 906 | |
| 770 | ( | |
| 907 | (S internal) Perl went to decrement the reference count of a scalar to | |
| 771 | 908 | see if it would go to 0, and discovered that it had already gone to 0 |
| 772 | 909 | earlier, and should have been freed, and in fact, probably was freed. |
| 773 | 910 | This could indicate that SvREFCNT_dec() was called too many times, or |
| 774 | 911 | that SvREFCNT_inc() was called too few times, or that the SV was |
| 775 | 912 | mortalized when it shouldn't have been, or that memory has been |
| 776 | 913 | corrupted. |
| 777 | 914 | |
| 778 | 915 | =end original |
| 779 | 916 | |
| 780 | ( | |
| 917 | (S internal) Perl がスカラの参照カウントをデクリメントしようとして、0 に | |
| 781 | ||
| 918 | なるかを見たところ、既に 0 になっていることがわかりました; | |
| 782 | 919 | これは、既に解放されているべきものであり、実際は、おそらく、 |
| 783 | 920 | 解放されたものでしょう。 |
| 784 | 921 | これは、SvREFCNT_dec() が必要以上に呼ばれたか、SvREFCNT_inc() が必要な |
| 785 | 922 | ときに呼ばれなかったか、SV が消滅すべきで無いときに消滅してしまったか、 |
| 786 | 923 | メモリ異常になったことが考えられます。 |
| 787 | 924 | |
| 788 | =item Attempt to join self | |
| 789 | ||
| 790 | =begin original | |
| 791 | ||
| 792 | (F) You tried to join a thread from within itself, which is an | |
| 793 | impossible task. You may be joining the wrong thread, or you may need | |
| 794 | to move the join() to some other thread. | |
| 795 | ||
| 796 | =end original | |
| 797 | ||
| 798 | (F) スレッドをそれ自身の中から join しようとしました; これは不可能な | |
| 799 | 動作です。 | |
| 800 | 間違ったスレッドに join しようとしているか、あるいは join() を他の | |
| 801 | スレッドに移動させる必要があります。 | |
| 802 | ||
| 803 | 925 | =item Attempt to pack pointer to temporary value |
| 804 | 926 | |
| 805 | 927 | =begin original |
| 806 | 928 | |
| 807 | 929 | (W pack) You tried to pass a temporary value (like the result of a |
| 808 | 930 | function, or a computed expression) to the "p" pack() template. This |
| 809 | 931 | means the result contains a pointer to a location that could become |
| 810 | 932 | invalid anytime, even before the end of the current statement. Use |
| 811 | 933 | literals or global values as arguments to the "p" pack() template to |
| 812 | 934 | avoid this warning. |
| 813 | 935 | |
| 814 | 936 | =end original |
| 815 | 937 | |
| 816 | 938 | (W pack) (関数の結果や計算された式といった)一時的な値を pack() の |
| 817 | 939 | "p" テンプレートに渡そうとしました。 |
| 818 | 940 | これは、たとえ現在の文の終了前でも、不正な値となり得ます。 |
| 819 | 941 | この警告を避けるためには、pack テンプレート "p" の引数として、リテラルか |
| 820 | 942 | グローバルな値を使ってください。 |
| 821 | 943 | |
| 822 | 944 | =item Attempt to reload %s aborted. |
| 823 | 945 | |
| 824 | 946 | =begin original |
| 825 | 947 | |
| 826 | 948 | (F) You tried to load a file with C<use> or C<require> that failed to |
| 827 | 949 | compile once already. Perl will not try to compile this file again |
| 828 | 950 | unless you delete its entry from %INC. See L<perlfunc/require> and |
| 829 | 951 | L<perlvar/%INC>. |
| 830 | 952 | |
| 831 | 953 | =end original |
| 832 | 954 | |
| 833 | 955 | (F) 既に一度コンパイルに失敗しているファイルを C<use> や C<require> で |
| 834 | 956 | 読み込もうとしました。 |
| 835 | 957 | Perl は %INC からこのファイルのエントリを削除するまで再びファイルを |
| 836 | 958 | コンパイルしようとはしません。 |
| 837 | 959 | L<perlfunc/require> と L<perlvar/%INC> を参照してください。 |
| 838 | 960 | |
| 839 | 961 | =item Attempt to set length of freed array |
| 840 | 962 | |
| 841 | 963 | =begin original |
| 842 | 964 | |
| 843 | (W) You tried to set the length of an array which has | |
| 965 | (W misc) You tried to set the length of an array which has | |
| 844 | can do this by storing a reference to the | |
| 966 | been freed. You can do this by storing a reference to the | |
| 845 | ||
| 967 | scalar representing the last index of an array and later | |
| 968 | assigning through that reference. For example | |
| 846 | 969 | |
| 847 | 970 | =end original |
| 848 | 971 | |
| 849 | (W) 既に解放された配列の長さを設定しようとしました。 | |
| 972 | (W misc) 既に解放された配列の長さを設定しようとしました。 | |
| 850 | 973 | 配列の最後のインデックスを表現するスカラをリファレンスに保存して、 |
| 851 | 974 | 後でこのリファレンスを通して代入することでこれを行えます。 |
| 852 | 975 | 例えば: |
| 853 | 976 | |
| 854 | 977 | $r = do {my @a; \$#a}; |
| 855 | 978 | $$r = 503 |
| 856 | 979 | |
| 857 | 980 | =item Attempt to use reference as lvalue in substr |
| 858 | 981 | |
| 859 | 982 | =begin original |
| 860 | 983 | |
| 861 | 984 | (W substr) You supplied a reference as the first argument to substr() |
| 862 | 985 | used as an lvalue, which is pretty strange. Perhaps you forgot to |
| 863 | 986 | dereference it first. See L<perlfunc/substr>. |
| 864 | 987 | |
| 865 | 988 | =end original |
| 866 | 989 | |
| 867 | 990 | (W substr) 左辺値として使われる substr() の 1 番目の引数としてリファレンスを |
| 868 | 991 | 渡しました; これはやや奇妙なことです。 |
| 869 | 992 | おそらくはまずデリファレンスするのを忘れたのでしょう。 |
| 870 | 993 | L<perlfunc/substr> を参照してください。 |
| 871 | 994 | |
| 872 | =item Attribute | |
| 995 | =item Attribute prototype(%s) discards earlier prototype attribute in same sub | |
| 873 | 996 | |
| 874 | 997 | =begin original |
| 875 | 998 | |
| 876 | ( | |
| 999 | (W misc) A sub was declared as sub foo : prototype(A) : prototype(B) {}, for | |
| 877 | ||
| 1000 | example. Since each sub can only have one prototype, the earlier | |
| 878 | ||
| 1001 | declaration(s) are discarded while the last one is applied. | |
| 879 | will be removed in a future release of Perl 5. | |
| 880 | 1002 | |
| 881 | 1003 | =end original |
| 882 | 1004 | |
| 883 | ( | |
| 1005 | (W misc) あるサブルーチンが、例えば | |
| 884 | ||
| 1006 | sub foo : prototype(A) : prototype(B) {} のように宣言されました。 | |
| 885 | ||
| 1007 | それぞれのサブルーチンは一つのプロトタイプしか持てないので、先に | |
| 886 | ||
| 1008 | 宣言されたものは破棄され、最後のものが適用されます。 | |
| 887 | 1009 | |
| 888 | =item Attribute "unique" is deprecated | |
| 889 | ||
| 890 | =begin original | |
| 891 | ||
| 892 | (D deprecated) You have used the attributes pragma to modify | |
| 893 | the "unique" attribute on an array, hash or scalar reference. | |
| 894 | The :unique attribute has had no effect since Perl 5.8.8, and | |
| 895 | will be removed in a future release of Perl 5. | |
| 896 | ||
| 897 | =end original | |
| 898 | ||
| 899 | (D deprecated) 配列、ハッシュ、スカラリファレンスの "unique" 属性を | |
| 900 | 修正するために attributes プラグマを使いました。 | |
| 901 | :unique 属性は Perl 5.8.8 から何の効果もなく、将来の Perl 5 のメジャー | |
| 902 | リリースで削除されます。 | |
| 903 | ||
| 904 | 1010 | =item av_reify called on tied array |
| 905 | 1011 | |
| 906 | 1012 | =begin original |
| 907 | 1013 | |
| 908 | 1014 | (S debugging) This indicates that something went wrong and Perl got I<very> |
| 909 | 1015 | confused about C<@_> or C<@DB::args> being tied. |
| 910 | 1016 | |
| 911 | 1017 | =end original |
| 912 | 1018 | |
| 913 | 1019 | (S debugging) これは、C<@_> や C<@DB::args> が tie されたことに関して何かが |
| 914 | 1020 | うまくいかなくて Perl が I<とても> 混乱したことを示しています。 |
| 915 | 1021 | |
| 916 | 1022 | =item Bad arg length for %s, is %u, should be %d |
| 917 | 1023 | |
| 918 | 1024 | =begin original |
| 919 | 1025 | |
| 920 | 1026 | (F) You passed a buffer of the wrong size to one of msgctl(), semctl() |
| 921 | 1027 | or shmctl(). In C parlance, the correct sizes are, respectively, |
| 922 | 1028 | S<sizeof(struct msqid_ds *)>, S<sizeof(struct semid_ds *)>, and |
| 923 | 1029 | S<sizeof(struct shmid_ds *)>. |
| 924 | 1030 | |
| 925 | 1031 | =end original |
| 926 | 1032 | |
| 927 | 1033 | (F) msgctl()、semctl()、shmctl() のいずれかに、間違ったサイズのバッファを |
| 928 | 1034 | 渡してしまいました。 |
| 929 | 1035 | C の言い方で書くと、正しいサイズはそれぞれ、sizeof(struct msqid_ds *)、 |
| 930 | 1036 | sizeof(struct semid_ds *)、sizeof(struct shmid_ds *) です。 |
| 931 | 1037 | |
| 932 | 1038 | =item Bad evalled substitution pattern |
| 933 | 1039 | |
| 934 | 1040 | =begin original |
| 935 | 1041 | |
| 936 | 1042 | (F) You've used the C</e> switch to evaluate the replacement for a |
| 937 | 1043 | substitution, but perl found a syntax error in the code to evaluate, |
| 938 | 1044 | most likely an unexpected right brace '}'. |
| 939 | 1045 | |
| 940 | 1046 | =end original |
| 941 | 1047 | |
| 942 | 1048 | (F)置換のための置き換え文字列を評価するために C</e> オプションを指定して |
| 943 | 1049 | いますが、評価するコードに文法エラーがありました; |
| 944 | 1050 | 最もありそうなことは、予期しない位置に右中かっこ '}' があったことです。 |
| 945 | 1051 | |
| 946 | 1052 | =item Bad filehandle: %s |
| 947 | 1053 | |
| 948 | 1054 | =begin original |
| 949 | 1055 | |
| 950 | 1056 | (F) A symbol was passed to something wanting a filehandle, but the |
| 951 | 1057 | symbol has no filehandle associated with it. Perhaps you didn't do an |
| 952 | 1058 | open(), or did it in another package. |
| 953 | 1059 | |
| 954 | 1060 | =end original |
| 955 | 1061 | |
| 956 | 1062 | (F) ファイルハンドルが必要なものに、シンボルを渡しましたが、そのシンボルは、 |
| 957 | 1063 | それに伴うファイルハンドルがありません。 |
| 958 | 1064 | おそらく、open() を忘れたか、別のパッケージで open() したかでしょう。 |
| 959 | 1065 | |
| 960 | 1066 | =item Bad free() ignored |
| 961 | 1067 | |
| 962 | 1068 | =begin original |
| 963 | 1069 | |
| 964 | 1070 | (S malloc) An internal routine called free() on something that had never |
| 965 | 1071 | been malloc()ed in the first place. Mandatory, but can be disabled by |
| 966 | 1072 | setting environment variable C<PERL_BADFREE> to 0. |
| 967 | 1073 | |
| 968 | 1074 | =end original |
| 969 | 1075 | |
| 970 | 1076 | (S malloc) まず、malloc() されていないものに対して、内部ルーティンが |
| 971 | 1077 | free() を呼びました。 |
| 972 | 1078 | 強制ですが、環境変数 C<PERL_BADFREE> を 0 にすることで無効化できます。 |
| 973 | 1079 | |
| 974 | 1080 | =begin original |
| 975 | 1081 | |
| 976 | 1082 | This message can be seen quite often with DB_File on systems with "hard" |
| 977 | 1083 | dynamic linking, like C<AIX> and C<OS/2>. It is a bug of C<Berkeley DB> |
| 978 | 1084 | which is left unnoticed if C<DB> uses I<forgiving> system malloc(). |
| 979 | 1085 | |
| 980 | 1086 | =end original |
| 981 | 1087 | |
| 982 | 1088 | このメッセージ は、C<AIX> や C<OS/2> のような、「ハード」動的リンクを |
| 983 | 1089 | 行うシステムで DB_File を使うとしばしば表示されます。 |
| 984 | 1090 | これは C<DB> がシステムの malloc() を許していることに気が付かない |
| 985 | 1091 | C<Berkeley DB> のバグです。 |
| 986 | 1092 | |
| 987 | =item Bad | |
| 1093 | =item Bad infix plugin result (%zd) - did not consume entire identifier <%s> | |
| 988 | 1094 | |
| 989 | 1095 | =begin original |
| 990 | 1096 | |
| 991 | ( | |
| 1097 | (F) A plugin using the C<PL_infix_plugin> mechanism to parse an infix | |
| 1098 | keyword consumed part of a named identifier operator name but did not | |
| 1099 | consume all of it. This is not permitted as it leads to fragile parsing | |
| 1100 | results. | |
| 992 | 1101 | |
| 993 | 1102 | =end original |
| 994 | 1103 | |
| 995 | ( | |
| 1104 | (F) 挿入キーワードをパースするために C<PL_infix_plugin> 機構を使っている | |
| 1105 | プラグインが、指定された識別子の一部を消費しましたが、 | |
| 1106 | 全ては消費しませんでした。 | |
| 1107 | 不安定なパース結果を導くので、これは許されていません。 | |
| 996 | 1108 | |
| 997 | 1109 | =item Badly placed ()'s |
| 998 | 1110 | |
| 999 | 1111 | =begin original |
| 1000 | 1112 | |
| 1001 | 1113 | (A) You've accidentally run your script through B<csh> instead |
| 1002 | 1114 | of Perl. Check the #! line, or manually feed your script into |
| 1003 | 1115 | Perl yourself. |
| 1004 | 1116 | |
| 1005 | 1117 | =end original |
| 1006 | 1118 | |
| 1007 | 1119 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
| 1008 | #! 行を | |
| 1120 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
| 1009 | 1121 | |
| 1010 | 1122 | =item Bad name after %s |
| 1011 | 1123 | |
| 1012 | 1124 | =begin original |
| 1013 | 1125 | |
| 1014 | 1126 | (F) You started to name a symbol by using a package prefix, and then |
| 1015 | 1127 | didn't finish the symbol. In particular, you can't interpolate outside |
| 1016 | 1128 | of quotes, so |
| 1017 | 1129 | |
| 1018 | 1130 | =end original |
| 1019 | 1131 | |
| 1020 | 1132 | (F) パッケージプレフィクスでシンボル名を書き始めましたが、そのシンボルが |
| 1021 | 1133 | 終了しませんでした。 |
| 1022 | 1134 | 特に、クォートの外で、変数展開はできませんから、 |
| 1023 | 1135 | |
| 1024 | 1136 | $var = 'myvar'; |
| 1025 | 1137 | $sym = mypack::$var; |
| 1026 | 1138 | |
| 1027 | 1139 | =begin original |
| 1028 | 1140 | |
| 1029 | 1141 | is not the same as |
| 1030 | 1142 | |
| 1031 | 1143 | =end original |
| 1032 | 1144 | |
| 1033 | 1145 | は、以下と同じではありません。 |
| 1034 | 1146 | |
| 1035 | 1147 | $var = 'myvar'; |
| 1036 | 1148 | $sym = "mypack::$var"; |
| 1037 | 1149 | |
| 1038 | 1150 | =item Bad plugin affecting keyword '%s' |
| 1039 | 1151 | |
| 1040 | 1152 | =begin original |
| 1041 | 1153 | |
| 1042 | 1154 | (F) An extension using the keyword plugin mechanism violated the |
| 1043 | 1155 | plugin API. |
| 1044 | 1156 | |
| 1045 | 1157 | =end original |
| 1046 | 1158 | |
| 1047 | 1159 | (F) キーワードプラグイン機構を使っているエクステンションがプラグイン API に |
| 1048 | 1160 | 違反しました。 |
| 1049 | 1161 | |
| 1050 | 1162 | =item Bad realloc() ignored |
| 1051 | 1163 | |
| 1052 | 1164 | =begin original |
| 1053 | 1165 | |
| 1054 | 1166 | (S malloc) An internal routine called realloc() on something that |
| 1055 | 1167 | had never been malloc()ed in the first place. Mandatory, but can |
| 1056 | 1168 | be disabled by setting the environment variable C<PERL_BADFREE> to 1. |
| 1057 | 1169 | |
| 1058 | 1170 | =end original |
| 1059 | 1171 | |
| 1060 | 1172 | (S malloc) 内部ルーチンが、最初に malloc() されていない何かに対して |
| 1061 | 1173 | realloc() を呼び出しました。 |
| 1062 | 1174 | 必須ですが、環境変数 C<PERL_BADFREE> に 1 をセットすることで無効化できます。 |
| 1063 | 1175 | |
| 1064 | =item Bad symbol for | |
| 1176 | =item Bad symbol for %s | |
| 1065 | 1177 | |
| 1066 | 1178 | =begin original |
| 1067 | 1179 | |
| 1068 | (P) An internal request asked to add an | |
| 1180 | (P) An internal request asked to add an entry of the named type to something that | |
| 1069 | 1181 | wasn't a symbol table entry. |
| 1070 | 1182 | |
| 1071 | 1183 | =end original |
| 1072 | 1184 | |
| 1073 | (P) シンボルテーブルエントリではないもの | |
| 1185 | (P) 内部で、シンボルテーブルエントリではないもの対して指定された型の | |
| 1074 | ||
| 1186 | エントリを登録するよう要求がありました。 | |
| 1075 | 1187 | |
| 1076 | =item Bad symbol for | |
| 1188 | =item Bad symbol for scalar | |
| 1077 | 1189 | |
| 1078 | 1190 | =begin original |
| 1079 | 1191 | |
| 1080 | (P) An internal request asked to add a | |
| 1192 | (P) An internal request asked to add a scalar entry to something that | |
| 1081 | that wasn't a symbol table entry. | |
| 1082 | ||
| 1083 | =end original | |
| 1084 | ||
| 1085 | (P) シンボルテーブルエントリではないものに、ディレクトリハンドルエントリを | |
| 1086 | 登録するような内部要求があがりました。 | |
| 1087 | ||
| 1088 | =item Bad symbol for filehandle | |
| 1089 | ||
| 1090 | =begin original | |
| 1091 | ||
| 1092 | (P) An internal request asked to add a filehandle entry to something | |
| 1093 | that wasn't a symbol table entry. | |
| 1094 | ||
| 1095 | =end original | |
| 1096 | ||
| 1097 | (P) シンボルテーブルエントリではないものに、ファイルハンドルエントリを | |
| 1098 | 登録するような内部要求があがりました。 | |
| 1099 | ||
| 1100 | =item Bad symbol for hash | |
| 1101 | ||
| 1102 | =begin original | |
| 1103 | ||
| 1104 | (P) An internal request asked to add a hash entry to something that | |
| 1105 | 1193 | wasn't a symbol table entry. |
| 1106 | 1194 | |
| 1107 | 1195 | =end original |
| 1108 | 1196 | |
| 1109 | (P) シンボルテーブルエントリで | |
| 1197 | (P) 内部で、シンボルテーブルエントリでないものに対してスカラエントリを | |
| 1110 | ||
| 1198 | 追加するよう要求がありました。 | |
| 1111 | 1199 | |
| 1112 | 1200 | =item Bareword found in conditional |
| 1113 | 1201 | |
| 1114 | 1202 | =begin original |
| 1115 | 1203 | |
| 1116 | 1204 | (W bareword) The compiler found a bareword where it expected a |
| 1117 | 1205 | conditional, which often indicates that an || or && was parsed as part |
| 1118 | 1206 | of the last argument of the previous construct, for example: |
| 1119 | 1207 | |
| 1120 | 1208 | =end original |
| 1121 | 1209 | |
| 1122 | 1210 | (W bareword) コンパイラが、条件が想定される位置に裸の単語を発見しました; |
| 1123 | 1211 | これはしばしば、|| や && が直前の構造の最後の引数の一部として |
| 1124 | 1212 | パースされたことを意味します; 例えば: |
| 1125 | 1213 | |
| 1126 | 1214 | open FOO || die; |
| 1127 | 1215 | |
| 1128 | 1216 | =begin original |
| 1129 | 1217 | |
| 1130 | 1218 | It may also indicate a misspelled constant that has been interpreted as |
| 1131 | 1219 | a bareword: |
| 1132 | 1220 | |
| 1133 | 1221 | =end original |
| 1134 | 1222 | |
| 1135 | 1223 | これはまた、裸の単語として解釈されるような定数をタイプミスしたことを |
| 1136 | 1224 | 示している場合もあります: |
| 1137 | 1225 | |
| 1138 | 1226 | use constant TYPO => 1; |
| 1139 | 1227 | if (TYOP) { print "foo" } |
| 1140 | 1228 | |
| 1141 | 1229 | =begin original |
| 1142 | 1230 | |
| 1143 | 1231 | The C<strict> pragma is useful in avoiding such errors. |
| 1144 | 1232 | |
| 1145 | 1233 | =end original |
| 1146 | 1234 | |
| 1147 | 1235 | C<strict> プラグマはこのようなエラーを防ぐのに便利です。 |
| 1148 | 1236 | |
| 1237 | =item Bareword in require contains "%s" | |
| 1238 | ||
| 1239 | =item Bareword in require maps to disallowed filename "%s" | |
| 1240 | ||
| 1241 | =item Bareword in require maps to empty filename | |
| 1242 | ||
| 1243 | =begin original | |
| 1244 | ||
| 1245 | (F) The bareword form of require has been invoked with a filename which could | |
| 1246 | not have been generated by a valid bareword permitted by the parser. You | |
| 1247 | shouldn't be able to get this error from Perl code, but XS code may throw it | |
| 1248 | if it passes an invalid module name to C<Perl_load_module>. | |
| 1249 | ||
| 1250 | =end original | |
| 1251 | ||
| 1252 | (F) 裸の単語形式の require は、パーサによって許された妥当な裸の単語によって | |
| 1253 | 生成することができないファイル名で起動されました。 | |
| 1254 | このエラーを Perl コードから得るようにできるべきではありませんが、 | |
| 1255 | C<Perl_load_module> に不正なモジュール名を渡した XS コードは | |
| 1256 | これを投げるかもしれません。 | |
| 1257 | ||
| 1258 | =item Bareword in require must not start with a double-colon: "%s" | |
| 1259 | ||
| 1260 | =begin original | |
| 1261 | ||
| 1262 | (F) In C<require Bare::Word>, the bareword is not allowed to start with a | |
| 1263 | double-colon. Write C<require ::Foo::Bar> as C<require Foo::Bar> instead. | |
| 1264 | ||
| 1265 | =end original | |
| 1266 | ||
| 1267 | (F) C<require Bare::Word> で、裸の単語はダブルコロンから | |
| 1268 | 開始することはできません。 | |
| 1269 | C<require ::Foo::Bar> ではなく C<require Foo::Bar> と書いてください。 | |
| 1270 | ||
| 1149 | 1271 | =item Bareword "%s" not allowed while "strict subs" in use |
| 1150 | 1272 | |
| 1151 | 1273 | =begin original |
| 1152 | 1274 | |
| 1153 | 1275 | (F) With "strict subs" in use, a bareword is only allowed as a |
| 1154 | 1276 | subroutine identifier, in curly brackets or to the left of the "=>" |
| 1155 | 1277 | symbol. Perhaps you need to predeclare a subroutine? |
| 1156 | 1278 | |
| 1157 | 1279 | =end original |
| 1158 | 1280 | |
| 1159 | 1281 | "strict subs" が有効の場合、裸の単語はサブルーチンの識別子、中かっこの中、 |
| 1160 | 1282 | シンボル "=>" の左側でのみ許されます。 |
| 1161 | 1283 | おそらくサブルーチンを先行宣言する必要があるのでは? |
| 1162 | 1284 | |
| 1163 | 1285 | =item Bareword "%s" refers to nonexistent package |
| 1164 | 1286 | |
| 1165 | 1287 | =begin original |
| 1166 | 1288 | |
| 1167 | 1289 | (W bareword) You used a qualified bareword of the form C<Foo::>, but the |
| 1168 | 1290 | compiler saw no other uses of that namespace before that point. Perhaps |
| 1169 | 1291 | you need to predeclare a package? |
| 1170 | 1292 | |
| 1171 | 1293 | =end original |
| 1172 | 1294 | |
| 1173 | 1295 | (W bareword) C<Foo::> の形で修飾された裸の単語が使われていますが、 |
| 1174 | 1296 | コンパイラはこの場所以外でこの名前空間が使われている場所を |
| 1175 | 1297 | 発見できませんでした。 |
| 1176 | 1298 | おそらくパッケージを専攻宣言する必要があるのでは? |
| 1177 | 1299 | |
| 1300 | =item Bareword filehandle "%s" not allowed under 'no feature "bareword_filehandles"' | |
| 1301 | ||
| 1302 | =begin original | |
| 1303 | ||
| 1304 | (F) You attempted to use a bareword filehandle with the | |
| 1305 | C<bareword_filehandles> feature disabled. | |
| 1306 | ||
| 1307 | =end original | |
| 1308 | ||
| 1309 | (F) C<bareword_filehandles> 機能が無効のときに | |
| 1310 | 裸の単語のファイルハンドルを使おうとしました。 | |
| 1311 | ||
| 1312 | =begin original | |
| 1313 | ||
| 1314 | Only the built-in handles C<STDIN>, C<STDOUT>, C<STDERR>, C<ARGV>, | |
| 1315 | C<ARGVOUT> and C<DATA> can be used with the C<bareword_filehandles> | |
| 1316 | feature disabled. | |
| 1317 | ||
| 1318 | =end original | |
| 1319 | ||
| 1320 | C<bareword_filehandles> 機能が無効のときは、 | |
| 1321 | 組み込みハンドル C<STDIN>, C<STDOUT>, C<STDERR>, C<ARGV>, | |
| 1322 | C<ARGVOUT>, C<DATA> 飲みが使えます。 | |
| 1323 | ||
| 1178 | 1324 | =item BEGIN failed--compilation aborted |
| 1179 | 1325 | |
| 1180 | 1326 | =begin original |
| 1181 | 1327 | |
| 1182 | 1328 | (F) An untrapped exception was raised while executing a BEGIN |
| 1183 | 1329 | subroutine. Compilation stops immediately and the interpreter is |
| 1184 | 1330 | exited. |
| 1185 | 1331 | |
| 1186 | 1332 | =end original |
| 1187 | 1333 | |
| 1188 | 1334 | (F) BEGIN サブルーチンの実行中にトラップ不可能な例外が発生しました。 |
| 1189 | 1335 | コンパイルは即座に停止し、インタプリタは中止します。 |
| 1190 | 1336 | |
| 1191 | 1337 | =item BEGIN not safe after errors--compilation aborted |
| 1192 | 1338 | |
| 1193 | 1339 | =begin original |
| 1194 | 1340 | |
| 1195 | 1341 | (F) Perl found a C<BEGIN {}> subroutine (or a C<use> directive, which |
| 1196 | 1342 | implies a C<BEGIN {}>) after one or more compilation errors had already |
| 1197 | 1343 | occurred. Since the intended environment for the C<BEGIN {}> could not |
| 1198 | 1344 | be guaranteed (due to the errors), and since subsequent code likely |
| 1199 | 1345 | depends on its correct operation, Perl just gave up. |
| 1200 | 1346 | |
| 1201 | 1347 | =end original |
| 1202 | 1348 | |
| 1203 | 1349 | (F) Perl は既にコンパイルエラーが発生した後に C<BEGIN {}> サブルーチン |
| 1204 | 1350 | (または C<use> 指示子(これは C<BEGIN {}> を暗示します))を発見しました。 |
| 1205 | 1351 | C<BEGIN {}> が意図した環境は(エラーのために)保証されず、引き続くコードは |
| 1206 | 1352 | 正しい処理に依存していると考えられるので、Perl は単に諦めました。 |
| 1207 | 1353 | |
| 1208 | =item \ | |
| 1354 | =item \%d better written as $%d | |
| 1209 | 1355 | |
| 1210 | 1356 | =begin original |
| 1211 | 1357 | |
| 1212 | 1358 | (W syntax) Outside of patterns, backreferences live on as variables. |
| 1213 | 1359 | The use of backslashes is grandfathered on the right-hand side of a |
| 1214 | 1360 | substitution, but stylistically it's better to use the variable form |
| 1215 | 1361 | because other Perl programmers will expect it, and it works better if |
| 1216 | 1362 | there are more than 9 backreferences. |
| 1217 | 1363 | |
| 1218 | 1364 | =end original |
| 1219 | 1365 | |
| 1220 | 1366 | (W syntax) パターンの外では、後方参照は変数の形で存在します。 |
| 1221 | 1367 | 後方参照の利用は、置換の右側の部分で扱われますが、スタイル的には、他の |
| 1222 | 1368 | Perl プログラマが期待し、9 個以上の後方参照があるときにもうまく動作する、 |
| 1223 | 1369 | 変数形式を使う方が良いでしょう。 |
| 1224 | 1370 | |
| 1225 | 1371 | =item Binary number > 0b11111111111111111111111111111111 non-portable |
| 1226 | 1372 | |
| 1227 | 1373 | =begin original |
| 1228 | 1374 | |
| 1229 | 1375 | (W portable) The binary number you specified is larger than 2**32-1 |
| 1230 | 1376 | (4294967295) and therefore non-portable between systems. See |
| 1231 | 1377 | L<perlport> for more on portability concerns. |
| 1232 | 1378 | |
| 1233 | 1379 | =end original |
| 1234 | 1380 | |
| 1235 | 1381 | (W portable) 指定された 2 進数が 2**32-1 (4294967295) を越えるので、 |
| 1236 | 1382 | システム間での移植性がありません。 |
| 1237 | 1383 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
| 1238 | 1384 | |
| 1239 | 1385 | =item bind() on closed socket %s |
| 1240 | 1386 | |
| 1241 | 1387 | =begin original |
| 1242 | 1388 | |
| 1243 | 1389 | (W closed) You tried to do a bind on a closed socket. Did you forget to |
| 1244 | 1390 | check the return value of your socket() call? See L<perlfunc/bind>. |
| 1245 | 1391 | |
| 1246 | 1392 | =end original |
| 1247 | 1393 | |
| 1248 | 1394 | (W closed) クローズされたソケットに bind を行なおうとしました。 |
| 1249 | 1395 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
| 1250 | 1396 | L<perlfunc/bind> を参照してください。 |
| 1251 | 1397 | |
| 1252 | 1398 | =item binmode() on closed filehandle %s |
| 1253 | 1399 | |
| 1254 | 1400 | =begin original |
| 1255 | 1401 | |
| 1256 | 1402 | (W unopened) You tried binmode() on a filehandle that was never opened. |
| 1257 | 1403 | Check your control flow and number of arguments. |
| 1258 | 1404 | |
| 1259 | 1405 | =end original |
| 1260 | 1406 | |
| 1261 | 1407 | (W unopened) 開いていないファイルハンドルに binmode() を使おうとしました。 |
| 1262 | 1408 | 制御フローと引数の数をチェックしてください。 |
| 1263 | 1409 | |
| 1264 | =item | |
| 1410 | =item Bit vector size > 32 non-portable | |
| 1265 | 1411 | |
| 1266 | = | |
| 1412 | =begin original | |
| 1267 | 1413 | |
| 1414 | (W portable) Using bit vector sizes larger than 32 is non-portable. | |
| 1415 | ||
| 1416 | =end original | |
| 1417 | ||
| 1418 | (W portable) 32 を越えるサイズのビットベクタは移植性がありません。 | |
| 1419 | ||
| 1420 | =item Bizarre copy of %s | |
| 1421 | ||
| 1268 | 1422 | =begin original |
| 1269 | 1423 | |
| 1270 | ( | |
| 1424 | (P) Perl detected an attempt to copy an internal value that is not | |
| 1271 | ||
| 1425 | copiable. | |
| 1272 | itself in a future release. | |
| 1273 | 1426 | |
| 1274 | 1427 | =end original |
| 1275 | 1428 | |
| 1276 | ( | |
| 1429 | (P) コピーできない内部の値をコピーしようとしました。 | |
| 1277 | "{" を書くのは、将来のバージョンの perl での使用のために予約するために | |
| 1278 | 廃止予定となりました。 | |
| 1279 | 1430 | |
| 1280 | =item Bi | |
| 1431 | =item Bizarre SvTYPE [%d] | |
| 1281 | 1432 | |
| 1282 | 1433 | =begin original |
| 1283 | 1434 | |
| 1284 | ( | |
| 1435 | (P) When starting a new thread or returning values from a thread, Perl | |
| 1436 | encountered an invalid data type. | |
| 1285 | 1437 | |
| 1286 | 1438 | =end original |
| 1287 | 1439 | |
| 1288 | ( | |
| 1440 | (P) 新しいスレッドを始めたりスレッドから値を返したときに、Perl は不正な | |
| 1441 | データ型に遭遇しました。 | |
| 1289 | 1442 | |
| 1290 | =item Bi | |
| 1443 | =item Both or neither range ends should be Unicode in regex; marked by | |
| 1444 | S<<-- HERE> in m/%s/ | |
| 1291 | 1445 | |
| 1292 | 1446 | =begin original |
| 1293 | 1447 | |
| 1294 | ( | |
| 1448 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
| 1295 | copiable. | |
| 1296 | 1449 | |
| 1297 | 1450 | =end original |
| 1298 | 1451 | |
| 1299 | ( | |
| 1452 | (W regexp) (C<S<use re 'strict'>> の下か C<(?[...])> の内側のみ) | |
| 1300 | 1453 | |
| 1454 | =begin original | |
| 1455 | ||
| 1456 | In a bracketed character class in a regular expression pattern, you | |
| 1457 | had a range which has exactly one end of it specified using C<\N{}>, and | |
| 1458 | the other end is specified using a non-portable mechanism. Perl treats | |
| 1459 | the range as a Unicode range, that is, all the characters in it are | |
| 1460 | considered to be the Unicode characters, and which may be different code | |
| 1461 | points on some platforms Perl runs on. For example, C<[\N{U+06}-\x08]> | |
| 1462 | is treated as if you had instead said C<[\N{U+06}-\N{U+08}]>, that is it | |
| 1463 | matches the characters whose code points in Unicode are 6, 7, and 8. | |
| 1464 | But that C<\x08> might indicate that you meant something different, so | |
| 1465 | the warning gets raised. | |
| 1466 | ||
| 1467 | =end original | |
| 1468 | ||
| 1469 | 正規表現中の大かっこ文字クラスの中で、範囲指定の片方は C<\N{}> を使って | |
| 1470 | 指定し、もう片方は移植性のない方法を使って指定しました。 | |
| 1471 | Perl はこの範囲を Unicode の範囲として扱います; つまり、その中の全ての文字は | |
| 1472 | Unicode 文字として扱われ、Perl が実行される一部のプラットフォームでは | |
| 1473 | 異なる符号位置になるかもしれません。 | |
| 1474 | 例えば、C<[\N{U+06}-\x08]> は、C<[\N{U+06}-\N{U+08}]> と | |
| 1475 | 書いたかのように扱われ、Unicode の符号位置 6, 7, 8 の文字にマッチングします。 | |
| 1476 | しかし、C<\x08> はなにか違うことを意味していることを示しているので、 | |
| 1477 | 警告が発生します。 | |
| 1478 | ||
| 1301 | 1479 | =item Buffer overflow in prime_env_iter: %s |
| 1302 | 1480 | |
| 1303 | 1481 | =begin original |
| 1304 | 1482 | |
| 1305 | 1483 | (W internal) A warning peculiar to VMS. While Perl was preparing to |
| 1306 | 1484 | iterate over %ENV, it encountered a logical name or symbol definition |
| 1307 | 1485 | which was too long, so it was truncated to the string shown. |
| 1308 | 1486 | |
| 1309 | 1487 | =end original |
| 1310 | 1488 | |
| 1311 | 1489 | (W internal) VMS に固有の警告です。 |
| 1312 | 1490 | Perl が %ENV を反復する準備中、長すぎる論理名かシンボル定義に遭遇したので、 |
| 1313 | 1491 | 文字列は表示したように切り詰められました。 |
| 1314 | 1492 | |
| 1315 | =item Bi | |
| 1493 | =item Built-in function '%s' is experimental | |
| 1316 | 1494 | |
| 1317 | 1495 | =begin original |
| 1318 | 1496 | |
| 1319 | ( | |
| 1497 | (S experimental::builtin) A call is being made to a function in the | |
| 1320 | ||
| 1498 | C<builtin::> namespace, which is currently experimental. The existence | |
| 1499 | or nature of the function may be subject to change in a future version | |
| 1500 | of Perl. | |
| 1321 | 1501 | |
| 1322 | 1502 | =end original |
| 1323 | 1503 | |
| 1324 | ( | |
| 1504 | (S experimental::builtin) 現在実験的である、 | |
| 1325 | ||
| 1505 | C<builtin::> 名前空間への呼び出しが行われました。 | |
| 1506 | この関数の存在や性質は、将来のバージョンの Perl で変更される予定です。 | |
| 1326 | 1507 | |
| 1508 | =item builtin::import can only be called at compile time | |
| 1509 | ||
| 1510 | =begin original | |
| 1511 | ||
| 1512 | (F) The C<import> method of the C<builtin> package was invoked when no code | |
| 1513 | is currently being compiled. Since this method is used to introduce new | |
| 1514 | lexical subroutines into the scope currently being compiled, this is not | |
| 1515 | going to have any effect. | |
| 1516 | ||
| 1517 | =end original | |
| 1518 | ||
| 1519 | (F) 現在コンパイルされているコードがないときに、 | |
| 1520 | C<builtin> パッケージの C<import> メソッドが呼び出されました。 | |
| 1521 | このメソッドは現在コンパイルされているスコープ内に新しい | |
| 1522 | レキシカルサブルーチンを導入するために使われるので、 | |
| 1523 | これは何の効果もありません。 | |
| 1524 | ||
| 1525 | =item Builtin version bundle "%s" is not supported by Perl | |
| 1526 | ||
| 1527 | =begin original | |
| 1528 | ||
| 1529 | (F) You attempted to C<use builtin :ver> for a version number that is either | |
| 1530 | older than 5.39 (when the ability was added), or newer than the current perl | |
| 1531 | version. | |
| 1532 | ||
| 1533 | =end original | |
| 1534 | ||
| 1535 | (F) C<use builtin :ver> でバージョン番号を指定しようとしましたが、 | |
| 1536 | そのバージョン番号が 5.39 (機能が追加された時点)よりも古いか、 | |
| 1537 | 現在の perl バージョンよりも新しいものでした。 | |
| 1538 | ||
| 1327 | 1539 | =item Callback called exit |
| 1328 | 1540 | |
| 1329 | 1541 | =begin original |
| 1330 | 1542 | |
| 1331 | 1543 | (F) A subroutine invoked from an external package via call_sv() |
| 1332 | 1544 | exited by calling exit. |
| 1333 | 1545 | |
| 1334 | 1546 | =end original |
| 1335 | 1547 | |
| 1336 | 1548 | (F) 外部パッケージから call_sv() で起動されたサブルーチンが exit を呼んで |
| 1337 | 1549 | 終了しました。 |
| 1338 | 1550 | |
| 1339 | 1551 | =item %s() called too early to check prototype |
| 1340 | 1552 | |
| 1341 | 1553 | =begin original |
| 1342 | 1554 | |
| 1343 | 1555 | (W prototype) You've called a function that has a prototype before the |
| 1344 | 1556 | parser saw a definition or declaration for it, and Perl could not check |
| 1345 | 1557 | that the call conforms to the prototype. You need to either add an |
| 1346 | 1558 | early prototype declaration for the subroutine in question, or move the |
| 1347 | 1559 | subroutine definition ahead of the call to get proper prototype |
| 1348 | 1560 | checking. Alternatively, if you are certain that you're calling the |
| 1349 | 1561 | function correctly, you may put an ampersand before the name to avoid |
| 1350 | 1562 | the warning. See L<perlsub>. |
| 1351 | 1563 | |
| 1352 | 1564 | =end original |
| 1353 | 1565 | |
| 1354 | 1566 | (W prototype) 以前にパーサが宣言または定義されているのを見た、 |
| 1355 | 1567 | プロトタイプ付きの関数を呼び出しましたが、Perl は呼び出しがプロトタイプに |
| 1356 | 1568 | 従っているかどうかをチェックできませんでした。 |
| 1357 | 1569 | 問題になっているサブルーチンのプロトタイプ宣言を最初の方に追加するか、 |
| 1358 | 1570 | 適切なプロトタイプチェックを行うためにサブルーチン定義を呼び出しの前に |
| 1359 | 1571 | 移動させる必要があります。 |
| 1360 | 1572 | または、関数を正しく呼び出していることが確かな場合は、名前の前に |
| 1361 | 1573 | アンパサンドを付けることで警告を回避できます。 |
| 1362 | 1574 | L<perlsub> を参照してください。 |
| 1363 | 1575 | |
| 1576 | =item Cannot assign :param(%s) to field %s because that name is already in use | |
| 1577 | ||
| 1578 | =begin original | |
| 1579 | ||
| 1580 | (F) An attempt was made to apply a parameter name to a field, when the name | |
| 1581 | is already being used by another field in the same class, or one of its | |
| 1582 | parent classes. This would cause a name clash so is not allowed. | |
| 1583 | ||
| 1584 | =end original | |
| 1585 | ||
| 1586 | (F) フィールドにパラメータ名を適用しようとしましたが、 | |
| 1587 | 名前はすでに同じクラスまたはその親クラスの他のフィールドによって | |
| 1588 | 使われています。 | |
| 1589 | これは名前の衝突を引き起こすので、許されていません。 | |
| 1590 | ||
| 1591 | =item Cannot chr %f | |
| 1592 | ||
| 1593 | =begin original | |
| 1594 | ||
| 1595 | (F) You passed an invalid number (like an infinity or not-a-number) to C<chr>. | |
| 1596 | ||
| 1597 | =end original | |
| 1598 | ||
| 1599 | (F) (無限や非数のような) 不正な数値を C<chr> に渡しました。 | |
| 1600 | ||
| 1601 | =item Cannot complete in-place edit of %s: %s | |
| 1602 | ||
| 1603 | =begin original | |
| 1604 | ||
| 1605 | (F) Your perl script appears to have changed directory while | |
| 1606 | performing an in-place edit of a file specified by a relative path, | |
| 1607 | and your system doesn't include the directory relative POSIX functions | |
| 1608 | needed to handle that. | |
| 1609 | ||
| 1610 | =end original | |
| 1611 | ||
| 1612 | (F) perl スクリプトが、相対パスで指定されたファイルのその場編集を | |
| 1613 | 実行中にディレクトリを変更し、システムにはこれに対応するために必要な | |
| 1614 | ディレクトリ相対 POSIX 関数がないようです。 | |
| 1615 | ||
| 1616 | =item Cannot compress %f in pack | |
| 1617 | ||
| 1618 | =begin original | |
| 1619 | ||
| 1620 | (F) You tried compressing an infinity or not-a-number as an unsigned | |
| 1621 | integer with BER, which makes no sense. | |
| 1622 | ||
| 1623 | =end original | |
| 1624 | ||
| 1625 | (F) 無限や非数を BER で符号なし整数に圧縮しようとしました; これは無意味です。 | |
| 1626 | ||
| 1364 | 1627 | =item Cannot compress integer in pack |
| 1365 | 1628 | |
| 1366 | 1629 | =begin original |
| 1367 | 1630 | |
| 1368 | (F) An argument to pack("w",...) was too large to compress. | |
| 1631 | (F) An argument to pack("w",...) was too large to compress. | |
| 1369 | compressed integer format can only be used with positive | |
| 1632 | The BER compressed integer format can only be used with positive | |
| 1370 | attempted to compress | |
| 1633 | integers, and you attempted to compress a very large number (> 1e308). | |
| 1371 | 1634 | See L<perlfunc/pack>. |
| 1372 | 1635 | |
| 1373 | 1636 | =end original |
| 1374 | 1637 | |
| 1375 | 1638 | (F) pack("w",...) の引数が、圧縮するには大きすぎます。 |
| 1376 | BER 圧縮整数フォーマットは正の整数のみ扱えますが、 | |
| 1639 | BER 圧縮整数フォーマットは正の整数のみ扱えますが、とても大きい数 | |
| 1377 | 1640 | (> 1e308) を圧縮しようとしました。 |
| 1378 | 1641 | L<perlfunc/pack> を参照してください。 |
| 1379 | 1642 | |
| 1380 | 1643 | =item Cannot compress negative numbers in pack |
| 1381 | 1644 | |
| 1382 | 1645 | =begin original |
| 1383 | 1646 | |
| 1384 | 1647 | (F) An argument to pack("w",...) was negative. The BER compressed integer |
| 1385 | 1648 | format can only be used with positive integers. See L<perlfunc/pack>. |
| 1386 | 1649 | |
| 1387 | 1650 | =end original |
| 1388 | 1651 | |
| 1389 | 1652 | (F) pack("w",...) の引数が負数です。 |
| 1390 | 1653 | BER 圧縮整数フォーマットは正の整数のみ扱えます。 |
| 1391 | 1654 | L<perlfunc/pack> を参照してください。 |
| 1392 | 1655 | |
| 1393 | 1656 | =item Cannot convert a reference to %s to typeglob |
| 1394 | 1657 | |
| 1395 | 1658 | =begin original |
| 1396 | 1659 | |
| 1397 | 1660 | (F) You manipulated Perl's symbol table directly, stored a reference |
| 1398 | 1661 | in it, then tried to access that symbol via conventional Perl syntax. |
| 1399 | 1662 | The access triggers Perl to autovivify that typeglob, but it there is |
| 1400 | 1663 | no legal conversion from that type of reference to a typeglob. |
| 1401 | 1664 | |
| 1402 | 1665 | =end original |
| 1403 | 1666 | |
| 1404 | 1667 | (F) あなたは Perl のシンボルテーブルを直接操作して、リファレンスをその中に |
| 1405 | 1668 | 補完し、それからそのシンボルを伝統的な Perl の文法のよって |
| 1406 | 1669 | アクセスしようとしました。 |
| 1407 | 1670 | このアクセスによって、Perl はこの型グロブを自動有効化しますが、 |
| 1408 | 1671 | リファレンス型から型グロブへの正当な変換方法はありません。 |
| 1409 | 1672 | |
| 1410 | 1673 | =item Cannot copy to %s |
| 1411 | 1674 | |
| 1412 | 1675 | =begin original |
| 1413 | 1676 | |
| 1414 | 1677 | (P) Perl detected an attempt to copy a value to an internal type that cannot |
| 1415 | 1678 | be directly assigned to. |
| 1416 | 1679 | |
| 1417 | 1680 | =end original |
| 1418 | 1681 | |
| 1419 | 1682 | (P) Perl が、直接代入できない内部型に値をコピーしようとする試みを |
| 1420 | 1683 | 検出しました。 |
| 1421 | 1684 | |
| 1685 | =item Cannot create class %s as it already has a non-empty @ISA | |
| 1686 | ||
| 1687 | =begin original | |
| 1688 | ||
| 1689 | (F) An attempt was made to create a class out of a package that already has | |
| 1690 | an C<@ISA> array, and the array is not empty. This is not permitted, as it | |
| 1691 | would lead to a class with inconsistent inheritance. | |
| 1692 | ||
| 1693 | =end original | |
| 1694 | ||
| 1695 | (F) 空でない C<@ISA> をすでに持っているパッケージからクラスを | |
| 1696 | 作ろうとしました。 | |
| 1697 | 一貫性のない継承を引き起こすので、これは許されていません。 | |
| 1698 | ||
| 1699 | =item Cannot create an object of incomplete class "%s" | |
| 1700 | ||
| 1701 | =begin original | |
| 1702 | ||
| 1703 | (F) An attempt was made to create an object of a class where the start | |
| 1704 | of the class definition has been seen, but the class has not been | |
| 1705 | completed. | |
| 1706 | ||
| 1707 | =end original | |
| 1708 | ||
| 1709 | (F) クラス定義の開始が確認されたクラスのオブジェクトを | |
| 1710 | 作成しようとしましたが、クラス定義が完了していません。 | |
| 1711 | ||
| 1712 | =begin original | |
| 1713 | ||
| 1714 | This can happen for a failed eval, or if you attempt to create an | |
| 1715 | object at compile time before the class is complete: | |
| 1716 | ||
| 1717 | =end original | |
| 1718 | ||
| 1719 | これは、eval が失敗した場合、またはクラス定義が完了する前に | |
| 1720 | コンパイル時にオブジェクトを作成しようとした場合に | |
| 1721 | 発生する可能性があります。 | |
| 1722 | ||
| 1723 | eval "class Foo {"; Foo->new; # error | |
| 1724 | class Bar { BEGIN { Bar->new } }; # error | |
| 1725 | ||
| 1422 | 1726 | =item Cannot find encoding "%s" |
| 1423 | 1727 | |
| 1424 | 1728 | =begin original |
| 1425 | 1729 | |
| 1426 | 1730 | (S io) You tried to apply an encoding that did not exist to a filehandle, |
| 1427 | 1731 | either with open() or binmode(). |
| 1428 | 1732 | |
| 1429 | 1733 | =end original |
| 1430 | 1734 | |
| 1431 | 1735 | (S io) open() または binmode() のファイルハンドルに存在しない |
| 1432 | 1736 | エンコーディングを適用しようとしました。 |
| 1433 | 1737 | |
| 1738 | =item Cannot invoke a method of "%s" on an instance of "%s" | |
| 1739 | ||
| 1740 | =begin original | |
| 1741 | ||
| 1742 | (F) You tried to directly call a C<method> subroutine of one class by passing | |
| 1743 | in a value that is an instance of a different class. This is not permitted, | |
| 1744 | as the method would not have access to the correct instance fields. | |
| 1745 | ||
| 1746 | =end original | |
| 1747 | ||
| 1748 | (F) 他のクラスの実体である値を渡すことによって、 | |
| 1749 | あるクラスの C<method> サブルーチンを直接呼び出そうとしました。 | |
| 1750 | そのメソッドは正しい実体フィールドにアクセスできないので、 | |
| 1751 | これは許されていません。 | |
| 1752 | ||
| 1753 | =item Cannot invoke method on a non-instance | |
| 1754 | ||
| 1755 | =begin original | |
| 1756 | ||
| 1757 | (F) You tried to directly call a C<method> subroutine of a class by passing | |
| 1758 | in a value that is not an instance of that class. This is not permitted, as | |
| 1759 | the method would not then have access to its instance fields. | |
| 1760 | ||
| 1761 | =end original | |
| 1762 | ||
| 1763 | (F) クラスの実体ではない値を渡すことによって、 | |
| 1764 | クラスの C<method> サブルーチンを直接呼び出そうとしました。 | |
| 1765 | そのメソッドは実体フィールドにアクセスできないので、 | |
| 1766 | これは許されていません。 | |
| 1767 | ||
| 1768 | =item Cannot open %s as a dirhandle: it is already open as a filehandle | |
| 1769 | ||
| 1770 | =begin original | |
| 1771 | ||
| 1772 | (F) You tried to use opendir() to associate a dirhandle to a symbol (glob | |
| 1773 | or scalar) that already holds a filehandle. Since this idiom might render | |
| 1774 | your code confusing, it was deprecated in Perl 5.10. As of Perl 5.28, it | |
| 1775 | is a fatal error. | |
| 1776 | ||
| 1777 | =end original | |
| 1778 | ||
| 1779 | (F) すでにファイルハンドルを保持しているシンボル | |
| 1780 | (グロブまたはスカラ)にディレクトリハンドルを関連付けるために | |
| 1781 | opendir() を使おうとしました。 | |
| 1782 | この用法はコードを間違えて解釈する可能性があるので、 | |
| 1783 | Perl 5.10 で廃止予定になりました。 | |
| 1784 | Perl 5.28 から、これは致命的エラーです。 | |
| 1785 | ||
| 1786 | =item Cannot open %s as a filehandle: it is already open as a dirhandle | |
| 1787 | ||
| 1788 | =begin original | |
| 1789 | ||
| 1790 | (F) You tried to use open() to associate a filehandle to a symbol (glob | |
| 1791 | or scalar) that already holds a dirhandle. Since this idiom might render | |
| 1792 | your code confusing, it was deprecated in Perl 5.10. As of Perl 5.28, it | |
| 1793 | is a fatal error. | |
| 1794 | ||
| 1795 | =end original | |
| 1796 | ||
| 1797 | (F) すでにディレクトリハンドルを保持しているシンボル | |
| 1798 | (グロブまたはスカラ)にファイルハンドルを関連付けるために | |
| 1799 | open() を使おうとしました。 | |
| 1800 | この用法はコードを間違えて解釈する可能性があるので、 | |
| 1801 | Perl 5.10 で廃止予定になりました。 | |
| 1802 | Perl 5.28 から、これは致命的エラーです。 | |
| 1803 | ||
| 1804 | =item Cannot '%s' outside of a 'class' | |
| 1805 | ||
| 1806 | =begin original | |
| 1807 | ||
| 1808 | (F) You attempted to use one of the keywords that only makes sense inside | |
| 1809 | a C<class> definition, at a location that is not inside such a class. | |
| 1810 | ||
| 1811 | =end original | |
| 1812 | ||
| 1813 | (F) C<class> 定義の中でのみ意味のあるキーワードの一つを、そのようなクラスの | |
| 1814 | 内側ではない場所で使おうとしました。 | |
| 1815 | ||
| 1816 | =item Cannot pack %f with '%c' | |
| 1817 | ||
| 1818 | =begin original | |
| 1819 | ||
| 1820 | (F) You tried converting an infinity or not-a-number to an integer, | |
| 1821 | which makes no sense. | |
| 1822 | ||
| 1823 | =end original | |
| 1824 | ||
| 1825 | (F) 無限や非数を整数に変換しようとしました; これは無意味です。 | |
| 1826 | ||
| 1827 | =item Cannot printf %f with '%c' | |
| 1828 | ||
| 1829 | =begin original | |
| 1830 | ||
| 1831 | (F) You tried printing an infinity or not-a-number as a character (%c), | |
| 1832 | which makes no sense. Maybe you meant '%s', or just stringifying it? | |
| 1833 | ||
| 1834 | =end original | |
| 1835 | ||
| 1836 | (F) 無限や非数を文字 (%c) として表示しようとしました; これは無意味です。 | |
| 1837 | おそらく '%s' か、単に文字列化したかったのでは? | |
| 1838 | ||
| 1839 | =item Cannot reopen existing class "%s" | |
| 1840 | ||
| 1841 | =begin original | |
| 1842 | ||
| 1843 | (F) You tried to begin a C<class> definition for a class that already exists. | |
| 1844 | A class may only have one definition block. | |
| 1845 | ||
| 1846 | =end original | |
| 1847 | ||
| 1848 | (F) すでにあるクラスの C<class> 定義を始めようとしました。 | |
| 1849 | 一つのクラスは一つの定義ブロックだけを持てます。 | |
| 1850 | ||
| 1434 | 1851 | =item Cannot set tied @DB::args |
| 1435 | 1852 | |
| 1436 | 1853 | =begin original |
| 1437 | 1854 | |
| 1438 | 1855 | (F) C<caller> tried to set C<@DB::args>, but found it tied. Tying C<@DB::args> |
| 1439 | 1856 | is not supported. (Before this error was added, it used to crash.) |
| 1440 | 1857 | |
| 1441 | 1858 | =end original |
| 1442 | 1859 | |
| 1443 | 1860 | (F) C<caller> は C<@DB::args> を設定しようとしましたが、tie されていました。 |
| 1444 | 1861 | C<@DB::args> の tie は非対応です。 |
| 1445 | 1862 | (このエラーが追加する前は、クラッシュしていました。) |
| 1446 | 1863 | |
| 1447 | 1864 | =item Cannot tie unreifiable array |
| 1448 | 1865 | |
| 1449 | 1866 | =begin original |
| 1450 | 1867 | |
| 1451 | 1868 | (P) You somehow managed to call C<tie> on an array that does not |
| 1452 | 1869 | keep a reference count on its arguments and cannot be made to |
| 1453 | 1870 | do so. Such arrays are not even supposed to be accessible to |
| 1454 | 1871 | Perl code, but are only used internally. |
| 1455 | 1872 | |
| 1456 | 1873 | =end original |
| 1457 | 1874 | |
| 1458 | 1875 | (P) 参照カウントを保持していない配列を引数にして C<tie> を |
| 1459 | 1876 | 呼び出そうとしましたがそうできませんでした。 |
| 1460 | 1877 | このような配列は Perl コードからアクセスできると想定してはならず、 |
| 1461 | 1878 | 内部だけで使われます。 |
| 1462 | 1879 | |
| 1880 | =item Cannot use __CLASS__ outside of a method or field initializer expression | |
| 1881 | ||
| 1882 | =begin original | |
| 1883 | ||
| 1884 | (F) A C<__CLASS__> expression yields the class name of the object instance | |
| 1885 | executing the current method, and therefore it can only be placed inside an | |
| 1886 | actual method (or method-like expression, such as a field initializer | |
| 1887 | expression). | |
| 1888 | ||
| 1889 | =end original | |
| 1890 | ||
| 1891 | (F) C<__CLASS__> 式は、現在のメソッドを実行するオブジェクト実体の | |
| 1892 | クラス名を生成するため、実際のメソッド(またはフィールド初期化子式などの | |
| 1893 | メソッド風の式)の内にのみ配置できます。 | |
| 1894 | ||
| 1895 | =item Cannot yet reorder sv_vcatpvfn() arguments from va_list | |
| 1896 | ||
| 1897 | =begin original | |
| 1898 | ||
| 1899 | (F) Some XS code tried to use C<sv_vcatpvfn()> or a related function with a | |
| 1900 | format string that specifies explicit indexes for some of the elements, and | |
| 1901 | using a C-style variable-argument list (a C<va_list>). This is not currently | |
| 1902 | supported. XS authors wanting to do this must instead construct a C array | |
| 1903 | of C<SV*> scalars containing the arguments. | |
| 1904 | ||
| 1905 | =end original | |
| 1906 | ||
| 1907 | (F) 一部の XS コードは、要素の一部の明示的なインデックスを指定した | |
| 1908 | フォーマット文字列を使って C<sv_vcatpvfn()> や関連する関数を使おうとして、 | |
| 1909 | C 形式の可変引数リスト (C<va_list>) を使っています。 | |
| 1910 | これは現在のところ対応していません。 | |
| 1911 | これをしたい XS 作者は代わりに、引数を含む | |
| 1912 | C<SV*> スカラの C 配列を構築しなければなりません。 | |
| 1913 | ||
| 1463 | 1914 | =item Can only compress unsigned integers in pack |
| 1464 | 1915 | |
| 1465 | 1916 | =begin original |
| 1466 | 1917 | |
| 1467 | 1918 | (F) An argument to pack("w",...) was not an integer. The BER compressed |
| 1468 | 1919 | integer format can only be used with positive integers, and you attempted |
| 1469 | 1920 | to compress something else. See L<perlfunc/pack>. |
| 1470 | 1921 | |
| 1471 | 1922 | =end original |
| 1472 | 1923 | |
| 1473 | 1924 | (F) pack("w",...) の引数が整数ではありません。 |
| 1474 | 1925 | BER 圧縮整数フォーマットは正の整数のみ扱えますが、何か他のものを |
| 1475 | 1926 | 圧縮しようとしました。 |
| 1476 | 1927 | L<perlfunc/pack> を参照してください。 |
| 1477 | 1928 | |
| 1929 | =item Can't "%s" out of a "defer" block | |
| 1930 | ||
| 1931 | =begin original | |
| 1932 | ||
| 1933 | (F) An attempt was made to jump out of the scope of a C<defer> block by using | |
| 1934 | a control-flow statement such as C<return>, C<goto> or a loop control. This is | |
| 1935 | not permitted. | |
| 1936 | ||
| 1937 | =end original | |
| 1938 | ||
| 1939 | (F) C<return>, C<goto> あるいはループ制御のようなフロー制御文を使って | |
| 1940 | C<defer> ブロックのスコープから飛び出そうとしました。 | |
| 1941 | これは許されていません。 | |
| 1942 | ||
| 1943 | =item Can't "%s" out of a "finally" block | |
| 1944 | ||
| 1945 | =begin original | |
| 1946 | ||
| 1947 | (F) Similar to above, but involving a C<finally> block at the end of a | |
| 1948 | C<try>/C<catch> construction rather than a C<defer> block. | |
| 1949 | ||
| 1950 | =end original | |
| 1951 | ||
| 1952 | (F) 前述と同様ですが、C<defer> ブロックではなく | |
| 1953 | C<try>/C<catch> 構文の末尾の C<finally> ブロックに関するものです。 | |
| 1954 | ||
| 1955 | =item Can't bless an object reference | |
| 1956 | ||
| 1957 | =begin original | |
| 1958 | ||
| 1959 | (F) You attempted to call C<bless> on a value that already refers to a real | |
| 1960 | object instance. | |
| 1961 | ||
| 1962 | =end original | |
| 1963 | ||
| 1964 | (F) 実際のオブジェクト実態を参照している値にたいして | |
| 1965 | C<bless> を呼び出そうとしました。 | |
| 1966 | ||
| 1478 | 1967 | =item Can't bless non-reference value |
| 1479 | 1968 | |
| 1480 | 1969 | =begin original |
| 1481 | 1970 | |
| 1482 | 1971 | (F) Only hard references may be blessed. This is how Perl "enforces" |
| 1483 | 1972 | encapsulation of objects. See L<perlobj>. |
| 1484 | 1973 | |
| 1485 | 1974 | =end original |
| 1486 | 1975 | |
| 1487 | 1976 | (F) ハードリファレンスのみが bless できます。 |
| 1488 | 1977 | これによって、Perl はオブジェクトのカプセル化を「強制」します。 |
| 1489 | 1978 | L<perlobj> を参照してください。 |
| 1490 | 1979 | |
| 1491 | 1980 | =item Can't "break" in a loop topicalizer |
| 1492 | 1981 | |
| 1493 | 1982 | =begin original |
| 1494 | 1983 | |
| 1495 | 1984 | (F) You called C<break>, but you're in a C<foreach> block rather than |
| 1496 | 1985 | a C<given> block. You probably meant to use C<next> or C<last>. |
| 1497 | 1986 | |
| 1498 | 1987 | =end original |
| 1499 | 1988 | |
| 1500 | 1989 | (F) C<break> を呼び出しましたが、C<given> ブロックではなく C<foreach> |
| 1501 | 1990 | ブロック内でした。 |
| 1502 | 1991 | おそらく C<next> や C<last> を使いたかったのでしょう。 |
| 1503 | 1992 | |
| 1504 | 1993 | =item Can't "break" outside a given block |
| 1505 | 1994 | |
| 1506 | 1995 | =begin original |
| 1507 | 1996 | |
| 1508 | 1997 | (F) You called C<break>, but you're not inside a C<given> block. |
| 1509 | 1998 | |
| 1510 | 1999 | =end original |
| 1511 | 2000 | |
| 1512 | 2001 | (F) C<break> を呼び出しましたが、C<given> ブロックの内側ではありません。 |
| 1513 | 2002 | |
| 2003 | =item Can't call destructor for 0x%p in global destruction | |
| 2004 | ||
| 2005 | =begin original | |
| 2006 | ||
| 2007 | (S) This should not happen. Internals code has set up a destructor | |
| 2008 | using C<mortal_destructor_sv> or C<mortal_destructor_x> which is firing | |
| 2009 | during global destruction. Please attempt to reduce the code that triggers | |
| 2010 | this warning down to a small an example as possible and then report the | |
| 2011 | problem to L<https://github.com/Perl/perl5/issues/new/choose> | |
| 2012 | ||
| 2013 | =end original | |
| 2014 | ||
| 2015 | (S) これは起きないはずです。 | |
| 2016 | 内部コードは、全体破壊の間に起動される C<mortal_destructor_sv> または | |
| 2017 | C<mortal_destructor_x> を使うデストラクタを設定します。 | |
| 2018 | この警告を発生させるコードをできるだけ小さな例にまで減らして、 | |
| 2019 | 問題を L<https://github.com/Perl/perl5/issues/new/choose> に | |
| 2020 | 報告してください。 | |
| 2021 | ||
| 1514 | 2022 | =item Can't call method "%s" on an undefined value |
| 1515 | 2023 | |
| 1516 | 2024 | =begin original |
| 1517 | 2025 | |
| 1518 | 2026 | (F) You used the syntax of a method call, but the slot filled by the |
| 1519 | 2027 | object reference or package name contains an undefined value. Something |
| 1520 | 2028 | like this will reproduce the error: |
| 1521 | 2029 | |
| 1522 | 2030 | =end original |
| 1523 | 2031 | |
| 1524 | 2032 | (F) メソッド呼び出しの文法が使われていますが、オブジェクトリファレンスか |
| 1525 | 2033 | パッケージ名であるべきところが未定義値です。 |
| 1526 | 2034 | 以下のように書くとエラーが再現します: |
| 1527 | 2035 | |
| 1528 | 2036 | $BADREF = undef; |
| 1529 | 2037 | process $BADREF 1,2,3; |
| 1530 | 2038 | $BADREF->process(1,2,3); |
| 1531 | 2039 | |
| 1532 | 2040 | =item Can't call method "%s" on unblessed reference |
| 1533 | 2041 | |
| 1534 | 2042 | =begin original |
| 1535 | 2043 | |
| 1536 | 2044 | (F) A method call must know in what package it's supposed to run. It |
| 1537 | 2045 | ordinarily finds this out from the object reference you supply, but you |
| 1538 | 2046 | didn't supply an object reference in this case. A reference isn't an |
| 1539 | 2047 | object reference until it has been blessed. See L<perlobj>. |
| 1540 | 2048 | |
| 1541 | 2049 | =end original |
| 1542 | 2050 | |
| 1543 | 2051 | (F) メソッド呼び出しは、自分が呼び出されたパッケージがどれであるかを |
| 1544 | 2052 | 知る必要があります。 普通は、渡したオブジェクトリファレンスから |
| 1545 | 2053 | その情報を受け取りますが、この場合にはオブジェクトリファレンスが |
| 1546 | 2054 | 渡されませんでした。 |
| 1547 | 2055 | リファレンスは、bless されて始めて、オブジェクトリファレンスとなります。 |
| 1548 | 2056 | L<perlobj> を参照してください。 |
| 1549 | 2057 | |
| 1550 | 2058 | =item Can't call method "%s" without a package or object reference |
| 1551 | 2059 | |
| 1552 | 2060 | =begin original |
| 1553 | 2061 | |
| 1554 | 2062 | (F) You used the syntax of a method call, but the slot filled by the |
| 1555 | 2063 | object reference or package name contains an expression that returns a |
| 1556 | 2064 | defined value which is neither an object reference nor a package name. |
| 1557 | 2065 | Something like this will reproduce the error: |
| 1558 | 2066 | |
| 1559 | 2067 | =end original |
| 1560 | 2068 | |
| 1561 | 2069 | (F) メソッド呼び出しの構文を用いましたが、オブジェクトリファレンス、 |
| 1562 | 2070 | もしくはパッケージ名が書かれるべき場所に、オブジェクトリファレンスも |
| 1563 | 2071 | パッケージ名も返さない定義された式が書かれています。 |
| 1564 | 2072 | 以下のように書くとエラーが再現します: |
| 1565 | 2073 | |
| 1566 | 2074 | $BADREF = 42; |
| 1567 | 2075 | process $BADREF 1,2,3; |
| 1568 | 2076 | $BADREF->process(1,2,3); |
| 1569 | 2077 | |
| 1570 | =item Can't chdi | |
| 2078 | =item Can't call mro_isa_changed_in() on anonymous symbol table | |
| 1571 | 2079 | |
| 1572 | 2080 | =begin original |
| 1573 | 2081 | |
| 1574 | ( | |
| 2082 | (P) Perl got confused as to whether a hash was a plain hash or a | |
| 1575 | ||
| 2083 | symbol table hash when trying to update @ISA caches. | |
| 1576 | 2084 | |
| 1577 | 2085 | =end original |
| 1578 | 2086 | |
| 1579 | ( | |
| 2087 | (P) @ISA キャッシュを更新しようとしたときに、ハッシュが普通のハッシュか | |
| 1580 | ||
| 2088 | シンボルテーブルハッシュかについて perl は混乱しました。 | |
| 1581 | 2089 | |
| 1582 | =item Can't c | |
| 2090 | =item Can't call mro_method_changed_in() on anonymous symbol table | |
| 1583 | 2091 | |
| 1584 | 2092 | =begin original |
| 1585 | 2093 | |
| 1586 | ( | |
| 2094 | (F) An XS module tried to call C<mro_method_changed_in> on a hash that was | |
| 1587 | no | |
| 2095 | not attached to the symbol table. | |
| 1588 | 2096 | |
| 1589 | 2097 | =end original |
| 1590 | 2098 | |
| 1591 | ( | |
| 2099 | (F) XS モジュールが、シンボルテーブルにアタッチされていないハッシュに対して | |
| 1592 | ||
| 2100 | C<mro_method_changed_in> を呼び出しました。 | |
| 1593 | 2101 | |
| 2102 | =item Can't chdir to %s | |
| 2103 | ||
| 2104 | =begin original | |
| 2105 | ||
| 2106 | (F) You called C<perl -x/foo/bar>, but F</foo/bar> is not a directory | |
| 2107 | that you can chdir to, possibly because it doesn't exist. | |
| 2108 | ||
| 2109 | =end original | |
| 2110 | ||
| 2111 | (F) C<perl -x/foo/bar> のようにして起動しましたが、F</foo/bar> に | |
| 2112 | chdir することができません; おそらく、存在しないのではないでしょうか。 | |
| 2113 | ||
| 1594 | 2114 | =item Can't coerce %s to %s in %s |
| 1595 | 2115 | |
| 1596 | 2116 | =begin original |
| 1597 | 2117 | |
| 1598 | 2118 | (F) Certain types of SVs, in particular real symbol table entries |
| 1599 | 2119 | (typeglobs), can't be forced to stop being what they are. So you can't |
| 1600 | 2120 | say things like: |
| 1601 | 2121 | |
| 1602 | 2122 | =end original |
| 1603 | 2123 | |
| 1604 | 2124 | (F) ある種の SV、特に本物のシンボルテーブルエントリ (型グロブ) は、 |
| 1605 | 2125 | 一つの型に留めておくことができません。 |
| 1606 | 2126 | したがって、以下のようにすることはできません: |
| 1607 | 2127 | |
| 1608 | 2128 | *foo += 1; |
| 1609 | 2129 | |
| 1610 | 2130 | =begin original |
| 1611 | 2131 | |
| 1612 | 2132 | You CAN say |
| 1613 | 2133 | |
| 1614 | 2134 | =end original |
| 1615 | 2135 | |
| 1616 | 2136 | 以下のようにはできますが: |
| 1617 | 2137 | |
| 1618 | 2138 | $foo = *foo; |
| 1619 | 2139 | $foo += 1; |
| 1620 | 2140 | |
| 1621 | 2141 | =begin original |
| 1622 | 2142 | |
| 1623 | 2143 | but then $foo no longer contains a glob. |
| 1624 | 2144 | |
| 1625 | 2145 | =end original |
| 1626 | 2146 | |
| 1627 | 2147 | $foo にはもはやグロブは残っていません。 |
| 1628 | 2148 | |
| 1629 | 2149 | =item Can't "continue" outside a when block |
| 1630 | 2150 | |
| 1631 | 2151 | =begin original |
| 1632 | 2152 | |
| 1633 | 2153 | (F) You called C<continue>, but you're not inside a C<when> |
| 1634 | 2154 | or C<default> block. |
| 1635 | 2155 | |
| 1636 | 2156 | =end original |
| 1637 | 2157 | |
| 1638 | 2158 | (F) C<continue> を呼び出しましたが、C<when> か C<default> のブロックの |
| 1639 | 2159 | 内側ではありません。 |
| 1640 | 2160 | |
| 2161 | =item can't convert empty path | |
| 2162 | ||
| 2163 | =begin original | |
| 2164 | ||
| 2165 | (F) On Cygwin, you called a path conversion function with an empty path. | |
| 2166 | Only non-empty paths are legal. | |
| 2167 | ||
| 2168 | =end original | |
| 2169 | ||
| 2170 | (F) Cygwin で、空のパスでパス変換関数を呼び出しました。 | |
| 2171 | 空でないパスのみが正当です。 | |
| 2172 | ||
| 1641 | 2173 | =item Can't create pipe mailbox |
| 1642 | 2174 | |
| 1643 | 2175 | =begin original |
| 1644 | 2176 | |
| 1645 | 2177 | (P) An error peculiar to VMS. The process is suffering from exhausted |
| 1646 | 2178 | quotas or other plumbing problems. |
| 1647 | 2179 | |
| 1648 | 2180 | =end original |
| 1649 | 2181 | |
| 1650 | 2182 | (P) VMS に固有のエラーです。 |
| 1651 | 2183 | プロセスはクォータを使い切ったか、その他の設備問題の影響を受けました。 |
| 1652 | 2184 | |
| 1653 | 2185 | =item Can't declare %s in "%s" |
| 1654 | 2186 | |
| 1655 | 2187 | =begin original |
| 1656 | 2188 | |
| 1657 | 2189 | (F) Only scalar, array, and hash variables may be declared as "my", "our" or |
| 1658 | 2190 | "state" variables. They must have ordinary identifiers as names. |
| 1659 | 2191 | |
| 1660 | 2192 | =end original |
| 1661 | 2193 | |
| 1662 | 2194 | (F) スカラ変数、配列変数、ハッシュ変数だけが、"my", "our", "state" 変数として |
| 1663 | 2195 | 宣言できます。 |
| 1664 | 2196 | これらは、名前として通常の識別子を持たなければなりません。 |
| 1665 | 2197 | |
| 1666 | 2198 | =item Can't "default" outside a topicalizer |
| 1667 | 2199 | |
| 1668 | 2200 | =begin original |
| 1669 | 2201 | |
| 1670 | 2202 | (F) You have used a C<default> block that is neither inside a |
| 1671 | 2203 | C<foreach> loop nor a C<given> block. (Note that this error is |
| 1672 | 2204 | issued on exit from the C<default> block, so you won't get the |
| 1673 | 2205 | error if you use an explicit C<continue>.) |
| 1674 | 2206 | |
| 1675 | 2207 | =end original |
| 1676 | 2208 | |
| 1677 | 2209 | (F) C<foreach> ループや C<given> ブロックの内側でないところで |
| 1678 | 2210 | C<default> ブロックを使いました。 |
| 1679 | 2211 | (このエラーは C<default> ブロックから出るときに発生するので、明示的な |
| 1680 | 2212 | C<continue> を使うとエラーは発生しません。) |
| 1681 | 2213 | |
| 2214 | =item Can't determine class of operator %s, assuming BASEOP | |
| 2215 | ||
| 2216 | =begin original | |
| 2217 | ||
| 2218 | (S) This warning indicates something wrong in the internals of perl. | |
| 2219 | Perl was trying to find the class (e.g. LISTOP) of a particular OP, | |
| 2220 | and was unable to do so. This is likely to be due to a bug in the perl | |
| 2221 | internals, or due to a bug in XS code which manipulates perl optrees. | |
| 2222 | ||
| 2223 | =end original | |
| 2224 | ||
| 2225 | (S) この警告は、perl の内部で何かがおかしいことを示しています。 | |
| 2226 | Perl は (LISTOP のような) 特定の OP のクラスを見つけようとして、 | |
| 2227 | そうすることができませんでした。 | |
| 2228 | これはおそらく perl 内部のバグによるものか、perl の op 木を操作する | |
| 2229 | XS コードのバグによるものです。 | |
| 2230 | ||
| 1682 | 2231 | =item Can't do inplace edit: %s is not a regular file |
| 1683 | 2232 | |
| 1684 | 2233 | =begin original |
| 1685 | 2234 | |
| 1686 | 2235 | (S inplace) You tried to use the B<-i> switch on a special file, such as |
| 1687 | a file in /dev, | |
| 2236 | a file in /dev, a FIFO or an uneditable directory. The file was ignored. | |
| 1688 | 2237 | |
| 1689 | 2238 | =end original |
| 1690 | 2239 | |
| 1691 | (S inplace) /dev | |
| 2240 | (S inplace) /dev, FIFO, 変更できないディレクトリのような、特殊ファイルに対して | |
| 1692 | 使おうとしました。 | |
| 2241 | B<-i> スイッチを使おうとしました。 | |
| 1693 | 2242 | このファイルは無視されます。 |
| 1694 | 2243 | |
| 1695 | 2244 | =item Can't do inplace edit on %s: %s |
| 1696 | 2245 | |
| 1697 | 2246 | =begin original |
| 1698 | 2247 | |
| 1699 | 2248 | (S inplace) The creation of the new file failed for the indicated |
| 1700 | 2249 | reason. |
| 1701 | 2250 | |
| 1702 | 2251 | =end original |
| 1703 | 2252 | |
| 1704 | 2253 | (S inplace) 表示された理由により、新しいファイルの生成に失敗しました。 |
| 1705 | 2254 | |
| 1706 | =item Can't do inplace edit without backup | |
| 1707 | ||
| 1708 | =begin original | |
| 1709 | ||
| 1710 | (F) You're on a system such as MS-DOS that gets confused if you try | |
| 1711 | reading from a deleted (but still opened) file. You have to say | |
| 1712 | C<-i.bak>, or some such. | |
| 1713 | ||
| 1714 | =end original | |
| 1715 | ||
| 1716 | (F) 削除した (が、まだオープンされている) ファイルを読もうとすると | |
| 1717 | おかしくなる MS-DOS のようなシステムで実行しています。 | |
| 1718 | C<-i.bak> のようにバックアップを指定してください。 | |
| 1719 | ||
| 1720 | 2255 | =item Can't do inplace edit: %s would not be unique |
| 1721 | 2256 | |
| 1722 | 2257 | =begin original |
| 1723 | 2258 | |
| 1724 | 2259 | (S inplace) Your filesystem does not support filenames longer than 14 |
| 1725 | 2260 | characters and Perl was unable to create a unique filename during |
| 1726 | 2261 | inplace editing with the B<-i> switch. The file was ignored. |
| 1727 | 2262 | |
| 1728 | 2263 | =end original |
| 1729 | 2264 | |
| 1730 | 2265 | (S inplace) ファイルシステムが 14 文字より長いファイル名に対応しておらず、 |
| 1731 | 2266 | Perl は B<-i> オプションによるその場編集の間のユニークなファイル名の |
| 1732 | 2267 | 作成ができませんでした。 |
| 1733 | 2268 | このファイルは無視されます。 |
| 1734 | 2269 | |
| 1735 | =item Can't do | |
| 2270 | =item Can't do %s("%s") on non-UTF-8 locale; resolved to "%s". | |
| 1736 | 2271 | |
| 1737 | 2272 | =begin original |
| 1738 | 2273 | |
| 1739 | ( | |
| 2274 | (W locale) You are 1) running under "C<use locale>"; 2) the current | |
| 1740 | ||
| 2275 | locale is not a UTF-8 one; 3) you tried to do the designated case-change | |
| 1741 | ||
| 2276 | operation on the specified Unicode character; and 4) the result of this | |
| 1742 | ||
| 2277 | operation would mix Unicode and locale rules, which likely conflict. | |
| 2278 | Mixing of different rule types is forbidden, so the operation was not | |
| 2279 | done; instead the result is the indicated value, which is the best | |
| 2280 | available that uses entirely Unicode rules. That turns out to almost | |
| 2281 | always be the original character, unchanged. | |
| 1743 | 2282 | |
| 1744 | 2283 | =end original |
| 1745 | 2284 | |
| 1746 | ( | |
| 2285 | (W locale) あなたは 1) "C<use locale>" の基で実行していて; | |
| 1747 | ||
| 2286 | 2) 現在のロケールは UTF-8 ではなく; | |
| 1748 | ||
| 2287 | 3) 特定の Unicode 文字に指定された大文字小文字変換をしようとして; | |
| 1749 | ||
| 2288 | 4) この操作の結果、おそらく衝突する、Unicode とロケールの規則を混ぜました。 | |
| 1750 | ||
| 2289 | 異なる種類の規則を混ぜるのは禁止されているので、この操作は行われません; | |
| 2290 | 代わりに結果は示された値になります; これは全体的に Unicode の規則を | |
| 2291 | 使うという、最も利用可能なものです。 | |
| 2292 | これは、ほとんど常に、元の文字を変更しないままにします。 | |
| 1751 | 2293 | |
| 2294 | =begin original | |
| 2295 | ||
| 2296 | It is generally a bad idea to mix non-UTF-8 locales and Unicode, and | |
| 2297 | this issue is one of the reasons why. This warning is raised when | |
| 2298 | Unicode rules would normally cause the result of this operation to | |
| 2299 | contain a character that is in the range specified by the locale, | |
| 2300 | 0..255, and hence is subject to the locale's rules, not Unicode's. | |
| 2301 | ||
| 2302 | =end original | |
| 2303 | ||
| 2304 | 非 UTF-8 ロケールと Unicode を混ぜるのは一般的に悪い考えで、 | |
| 2305 | この問題はその理由の一つです。 | |
| 2306 | この警告は、Unicode の規則が、ロケールで指定された範囲 0..255 である文字を | |
| 2307 | 含むこの操作の結果を通常引き起こし、結果として Unicode ではなくロケールの | |
| 2308 | 規則を想定される場合に発生します。 | |
| 2309 | ||
| 2310 | =begin original | |
| 2311 | ||
| 2312 | If you are using locale purely for its characteristics related to things | |
| 2313 | like its numeric and time formatting (and not C<LC_CTYPE>), consider | |
| 2314 | using a restricted form of the locale pragma (see L<perllocale/The "use | |
| 2315 | locale" pragma>) like "S<C<use locale ':not_characters'>>". | |
| 2316 | ||
| 2317 | =end original | |
| 2318 | ||
| 2319 | ロケールを、純粋に数値や時刻形式のようなものに関連する特徴だけに | |
| 2320 | 使っている (そして C<LC_CTYPE> は使っていない)場合、 | |
| 2321 | "S<C<use locale ':not_characters'>>" のような、locale プラグマの制限された | |
| 2322 | 形式 (L<perllocale/The "use locale" pragma> 参照) を使うことを | |
| 2323 | 検討してください。 | |
| 2324 | ||
| 2325 | =begin original | |
| 2326 | ||
| 2327 | Note that failed case-changing operations done as a result of | |
| 2328 | case-insensitive C</i> regular expression matching will show up in this | |
| 2329 | warning as having the C<fc> operation (as that is what the regular | |
| 2330 | expression engine calls behind the scenes.) | |
| 2331 | ||
| 2332 | =end original | |
| 2333 | ||
| 2334 | 大文字小文字無視 C</i> 正規表現マッチングの結果として | |
| 2335 | 大文字小文字変換操作が失敗した場合、この警告は | |
| 2336 | C<fc> 操作に対して出力されることに注意してください | |
| 2337 | (正規表現エンジンが裏でこれを使っているからです。) | |
| 2338 | ||
| 1752 | 2339 | =item Can't do waitpid with flags |
| 1753 | 2340 | |
| 1754 | 2341 | =begin original |
| 1755 | 2342 | |
| 1756 | 2343 | (F) This machine doesn't have either waitpid() or wait4(), so only |
| 1757 | 2344 | waitpid() without flags is emulated. |
| 1758 | 2345 | |
| 1759 | 2346 | =end original |
| 1760 | 2347 | |
| 1761 | 2348 | (F) このマシンには、waitpid() も wait4() もありませんので、 |
| 1762 | 2349 | フラグの無い waitpid() のみがエミュレート可能です。 |
| 1763 | 2350 | |
| 1764 | 2351 | =item Can't emulate -%s on #! line |
| 1765 | 2352 | |
| 1766 | 2353 | =begin original |
| 1767 | 2354 | |
| 1768 | 2355 | (F) The #! line specifies a switch that doesn't make sense at this |
| 1769 | 2356 | point. For example, it'd be kind of silly to put a B<-x> on the #! |
| 1770 | 2357 | line. |
| 1771 | 2358 | |
| 1772 | 2359 | =end original |
| 1773 | 2360 | |
| 1774 | 2361 | (F) #! 行にその時点で意味をなさないスイッチが指定されました。 |
| 1775 | 2362 | たとえば、#! 行に B<-x> をおいても意味がありません。 |
| 1776 | 2363 | |
| 1777 | 2364 | =item Can't %s %s-endian %ss on this platform |
| 1778 | 2365 | |
| 1779 | 2366 | =begin original |
| 1780 | 2367 | |
| 1781 | 2368 | (F) Your platform's byte-order is neither big-endian nor little-endian, |
| 1782 | 2369 | or it has a very strange pointer size. Packing and unpacking big- or |
| 1783 | 2370 | little-endian floating point values and pointers may not be possible. |
| 1784 | 2371 | See L<perlfunc/pack>. |
| 1785 | 2372 | |
| 1786 | 2373 | =end original |
| 1787 | 2374 | |
| 1788 | 2375 | (F) プラットフォームのバイト順序がビッグエンディアンでも |
| 1789 | 2376 | リトルエンディアンでもないか、ポインタサイズがとても変わっています。 |
| 1790 | 2377 | ビッグエンディアンやリトルエンディアンの不動小数点数やポインタの |
| 1791 | 2378 | pack や unpack はできません。 |
| 1792 | 2379 | L<perlfunc/pack> を参照してください。 |
| 1793 | 2380 | |
| 1794 | 2381 | =item Can't exec "%s": %s |
| 1795 | 2382 | |
| 1796 | 2383 | =begin original |
| 1797 | 2384 | |
| 1798 | 2385 | (W exec) A system(), exec(), or piped open call could not execute the |
| 1799 | 2386 | named program for the indicated reason. Typical reasons include: the |
| 1800 | 2387 | permissions were wrong on the file, the file wasn't found in |
| 1801 | 2388 | C<$ENV{PATH}>, the executable in question was compiled for another |
| 1802 | 2389 | architecture, or the #! line in a script points to an interpreter that |
| 1803 | 2390 | can't be run for similar reasons. (Or maybe your system doesn't support |
| 1804 | 2391 | #! at all.) |
| 1805 | 2392 | |
| 1806 | 2393 | =end original |
| 1807 | 2394 | |
| 1808 | 2395 | (W exec) 提示した理由によって、system() や exec() やパイプオープン |
| 1809 | 2396 | 呼び出しの指定されたプログラムが実行できませんでした。 |
| 1810 | 2397 | 考えられる理由には: ファイルのパーミッションが間違っている、 |
| 1811 | 2398 | ファイルが C<$ENV{PATH}> の中にない、問題の実行ファイルが |
| 1812 | 2399 | このマシン用ではない、スクリプトの #! 行が同じような理由で実行できない |
| 1813 | 2400 | インタプリタを指している、というようなものがあります。 |
| 1814 | 2401 | (あるいは、このシステムで、#! がサポートされていません。) |
| 1815 | 2402 | |
| 1816 | 2403 | =item Can't exec %s |
| 1817 | 2404 | |
| 1818 | 2405 | =begin original |
| 1819 | 2406 | |
| 1820 | 2407 | (F) Perl was trying to execute the indicated program for you because |
| 1821 | 2408 | that's what the #! line said. If that's not what you wanted, you may |
| 1822 | 2409 | need to mention "perl" on the #! line somewhere. |
| 1823 | 2410 | |
| 1824 | 2411 | =end original |
| 1825 | 2412 | |
| 1826 | 2413 | (F) #! 行に書かれた内容にしたがって、Perl は示されたプログラムを |
| 1827 | 2414 | 実行しようとしました。 |
| 1828 | 2415 | そうしたくないのであれば、#! 行のどこかに、"perl" と書いておいてください。 |
| 1829 | 2416 | |
| 1830 | 2417 | =item Can't execute %s |
| 1831 | 2418 | |
| 1832 | 2419 | =begin original |
| 1833 | 2420 | |
| 1834 | 2421 | (F) You used the B<-S> switch, but the copies of the script to execute |
| 1835 | 2422 | found in the PATH did not have correct permissions. |
| 1836 | 2423 | |
| 1837 | 2424 | =end original |
| 1838 | 2425 | |
| 1839 | 2426 | (F) B<-S> スイッチを使いましたが、PATH に見つかった実行するスクリプトが |
| 1840 | 2427 | 正しいパーミッションではありませんでした。 |
| 1841 | 2428 | |
| 1842 | 2429 | =item Can't find an opnumber for "%s" |
| 1843 | 2430 | |
| 1844 | 2431 | =begin original |
| 1845 | 2432 | |
| 1846 | 2433 | (F) A string of a form C<CORE::word> was given to prototype(), but there |
| 1847 | 2434 | is no builtin with the name C<word>. |
| 1848 | 2435 | |
| 1849 | 2436 | =end original |
| 1850 | 2437 | |
| 1851 | 2438 | (F) C<CORE::word> の形の文字列が prototype() に与えられましたが、 |
| 1852 | 2439 | 名前 C<word> は組み込みではありません。 |
| 1853 | 2440 | |
| 1854 | =item Can't find %s character property "%s" | |
| 1855 | ||
| 1856 | =begin original | |
| 1857 | ||
| 1858 | (F) You used C<\p{}> or C<\P{}> but the character property by that name | |
| 1859 | could not be found. Maybe you misspelled the name of the property? | |
| 1860 | See L<perluniprops/Properties accessible through \p{} and \P{}> | |
| 1861 | for a complete list of available properties. | |
| 1862 | ||
| 1863 | =end original | |
| 1864 | ||
| 1865 | (F) C<\p{}> か C<\P{}> を使っていますが、そのような名前の文字特性は | |
| 1866 | 見つかりませんでした。 | |
| 1867 | おそらく特性名をタイプミスしたのでは? | |
| 1868 | 利用可能な特性の完全なリストは | |
| 1869 | L<perluniprops/Properties accessible through \p{} and \P{}> を | |
| 1870 | 参照してください。 | |
| 1871 | ||
| 1872 | 2441 | =item Can't find label %s |
| 1873 | 2442 | |
| 1874 | 2443 | =begin original |
| 1875 | 2444 | |
| 1876 | 2445 | (F) You said to goto a label that isn't mentioned anywhere that it's |
| 1877 | 2446 | possible for us to go to. See L<perlfunc/goto>. |
| 1878 | 2447 | |
| 1879 | 2448 | =end original |
| 1880 | 2449 | |
| 1881 | 2450 | (F) どこにも見つからないラベルへ goto を行なおうとしました。 |
| 1882 | 2451 | L<perlfunc/goto> を参照してください。 |
| 1883 | 2452 | |
| 1884 | 2453 | =item Can't find %s on PATH |
| 1885 | 2454 | |
| 1886 | 2455 | =begin original |
| 1887 | 2456 | |
| 1888 | 2457 | (F) You used the B<-S> switch, but the script to execute could not be |
| 1889 | 2458 | found in the PATH. |
| 1890 | 2459 | |
| 1891 | 2460 | =end original |
| 1892 | 2461 | |
| 1893 | 2462 | B<-S> オプションを使いましたが、実行するスクリプトは PATH に |
| 1894 | 2463 | 見つかりませんでした。 |
| 1895 | 2464 | |
| 1896 | 2465 | =item Can't find %s on PATH, '.' not in PATH |
| 1897 | 2466 | |
| 1898 | 2467 | =begin original |
| 1899 | 2468 | |
| 1900 | 2469 | (F) You used the B<-S> switch, but the script to execute could not be |
| 1901 | 2470 | found in the PATH, or at least not with the correct permissions. The |
| 1902 | 2471 | script exists in the current directory, but PATH prohibits running it. |
| 1903 | 2472 | |
| 1904 | 2473 | =end original |
| 1905 | 2474 | |
| 1906 | 2475 | (F) B<-S> オプションが使われましたが、 PATH に実行するスクリプトが |
| 1907 | 2476 | 見つからないか、少なくとも適切なパーミッションがありません。 |
| 1908 | 2477 | スクリプトはカレントディレクトリにはありますが、PATH に |
| 1909 | 2478 | カレントディレクトリは含まれていません。 |
| 1910 | 2479 | |
| 1911 | 2480 | =item Can't find string terminator %s anywhere before EOF |
| 1912 | 2481 | |
| 1913 | 2482 | =begin original |
| 1914 | 2483 | |
| 1915 | 2484 | (F) Perl strings can stretch over multiple lines. This message means |
| 1916 | 2485 | that the closing delimiter was omitted. Because bracketed quotes count |
| 1917 | 2486 | nesting levels, the following is missing its final parenthesis: |
| 1918 | 2487 | |
| 1919 | 2488 | =end original |
| 1920 | 2489 | |
| 1921 | 2490 | (F) Perl の文字列は、複数行に渡ることができます。このメッセージは、 |
| 1922 | 2491 | 文字列を終わる区切り文字が見つからなかったことを意味します。 |
| 1923 | 2492 | かっこ類の区切り文字では、ネストを数えるので、以下では、最後のかっこが |
| 1924 | 2493 | 無いと言われます: |
| 1925 | 2494 | |
| 1926 | 2495 | print q(The character '(' starts a side comment.); |
| 1927 | 2496 | |
| 1928 | 2497 | =begin original |
| 1929 | 2498 | |
| 1930 | 2499 | If you're getting this error from a here-document, you may have |
| 1931 | 2500 | included unseen whitespace before or after your closing tag or there |
| 1932 | 2501 | may not be a linebreak after it. A good programmer's editor will have |
| 1933 | 2502 | a way to help you find these characters (or lack of characters). See |
| 1934 | 2503 | L<perlop> for the full details on here-documents. |
| 1935 | 2504 | |
| 1936 | 2505 | =end original |
| 1937 | 2506 | |
| 1938 | 2507 | このエラーがヒアドキュメントで起きた場合、閉じタグの前か後に |
| 1939 | 2508 | 見えない空白を含んでいるか、その後に改行がないのかもしれません。 |
| 1940 | 2509 | よいプログラマ用エディタには、このような文字(または文字がないこと)を探す |
| 1941 | 2510 | 助けになる方法があります。 |
| 1942 | 2511 | ヒアドキュメントに関する完全な詳細については L<perlop> を参照してください。 |
| 1943 | 2512 | |
| 1944 | 2513 | =item Can't find Unicode property definition "%s" |
| 1945 | 2514 | |
| 2515 | =item Can't find Unicode property definition "%s" in regex; marked by <-- HERE in m/%s/ | |
| 2516 | ||
| 1946 | 2517 | =begin original |
| 1947 | 2518 | |
| 1948 | (F) | |
| 2519 | (F) The named property which you specified via C<\p> or C<\P> is not one | |
| 1949 | ||
| 2520 | known to Perl. Perhaps you misspelled the name? See | |
| 1950 | letters). If you did mean to use a Unicode property, see | |
| 1951 | 2521 | L<perluniprops/Properties accessible through \p{} and \P{}> |
| 1952 | for a complete list of available | |
| 2522 | for a complete list of available official | |
| 1953 | ||
| 2523 | properties. If it is a | |
| 1954 | ||
| 2524 | L<user-defined property|perlunicode/User-Defined Character Properties> | |
| 1955 | until | |
| 2525 | it must have been defined by the time the regular expression is | |
| 2526 | matched. | |
| 1956 | 2527 | |
| 1957 | 2528 | =end original |
| 1958 | 2529 | |
| 1959 | (F) | |
| 2530 | (F) | |
| 1960 | ||
| 2531 | C<\p> や C<\P> で指定した名前付き特性は Perl が知らないものです。 | |
| 1961 | ||
| 2532 | おそらく名前をタイプミスしたのでは? | |
| 1962 | ||
| 2533 | 公式に利用可能な特性の完全な一覧については | |
| 2534 | L<perluniprops/Properties accessible through \p{} and \P{}> を | |
| 1963 | 2535 | 参照してください。 |
| 2536 | これが L<ユーザー定義特性|perlunicode/User-Defined Character Properties> の | |
| 2537 | 場合は、正規表現がマッチングした時点で定義されていなければなりません。 | |
| 2538 | ||
| 2539 | =begin original | |
| 2540 | ||
| 2541 | If you didn't mean to use a Unicode property, escape the C<\p>, either | |
| 2542 | by C<\\p> (just the C<\p>) or by C<\Q\p> (the rest of the string, or | |
| 2543 | until C<\E>). | |
| 2544 | ||
| 2545 | =end original | |
| 2546 | ||
| 1964 | 2547 | Unicode 特性を使うつもりでない場合は、C<\\p> (単に C<\p>) または |
| 1965 | 2548 | C<\Q\p> (残りの文字列 または C<\E> まで) を使って C<\p> を |
| 1966 | 2549 | エスケープしてください。 |
| 1967 | 2550 | |
| 1968 | 2551 | =item Can't fork: %s |
| 1969 | 2552 | |
| 1970 | 2553 | =begin original |
| 1971 | 2554 | |
| 1972 | 2555 | (F) A fatal error occurred while trying to fork while opening a |
| 1973 | 2556 | pipeline. |
| 1974 | 2557 | |
| 1975 | 2558 | =end original |
| 1976 | 2559 | |
| 1977 | 2560 | (F) パイプラインをオープンしようとして、fork を行なおうとして、 |
| 1978 | 2561 | 致命的エラーが発生しました。 |
| 1979 | 2562 | |
| 1980 | 2563 | =item Can't fork, trying again in 5 seconds |
| 1981 | 2564 | |
| 1982 | 2565 | =begin original |
| 1983 | 2566 | |
| 1984 | 2567 | (W pipe) A fork in a piped open failed with EAGAIN and will be retried |
| 1985 | 2568 | after five seconds. |
| 1986 | 2569 | |
| 1987 | 2570 | =end original |
| 1988 | 2571 | |
| 1989 | 2572 | (W pipe) パイプの open での fork が EAGAIN で失敗し、5 秒後に |
| 1990 | 2573 | 再試行されます。 |
| 1991 | 2574 | |
| 1992 | 2575 | =item Can't get filespec - stale stat buffer? |
| 1993 | 2576 | |
| 1994 | 2577 | =begin original |
| 1995 | 2578 | |
| 1996 | 2579 | (S) A warning peculiar to VMS. This arises because of the difference |
| 1997 | 2580 | between access checks under VMS and under the Unix model Perl assumes. |
| 1998 | 2581 | Under VMS, access checks are done by filename, rather than by bits in |
| 1999 | 2582 | the stat buffer, so that ACLs and other protections can be taken into |
| 2000 | 2583 | account. Unfortunately, Perl assumes that the stat buffer contains all |
| 2001 | 2584 | the necessary information, and passes it, instead of the filespec, to |
| 2002 | 2585 | the access-checking routine. It will try to retrieve the filespec using |
| 2003 | 2586 | the device name and FID present in the stat buffer, but this works only |
| 2004 | 2587 | if you haven't made a subsequent call to the CRTL stat() routine, |
| 2005 | 2588 | because the device name is overwritten with each call. If this warning |
| 2006 | 2589 | appears, the name lookup failed, and the access-checking routine gave up |
| 2007 | 2590 | and returned FALSE, just to be conservative. (Note: The access-checking |
| 2008 | 2591 | routine knows about the Perl C<stat> operator and file tests, so you |
| 2009 | 2592 | shouldn't ever see this warning in response to a Perl command; it arises |
| 2010 | 2593 | only if some internal code takes stat buffers lightly.) |
| 2011 | 2594 | |
| 2012 | 2595 | =end original |
| 2013 | 2596 | |
| 2014 | 2597 | (S) VMS に固有の警告です。 |
| 2015 | 2598 | これは VMS と、Perl が仮定している Unix モデルでは、アクセスチェックに違いが |
| 2016 | 2599 | あることによって起こります。 |
| 2017 | 2600 | VMS では、アクセスチェックは stat バッファのビットではなくファイル名によって |
| 2018 | 2601 | 行われるので、ACL やその他の保護が考慮されます。 |
| 2019 | 2602 | 残念ながら、Perl は stat バッファに全ての必要な情報が含まれていると仮定して、 |
| 2020 | 2603 | アクセスチェックルーチンにはファイルスペックではなくこれを渡します。 |
| 2021 | 2604 | stat バッファにあるデバイス名と FID を使ってファイルスペックを |
| 2022 | 2605 | 取得しようとしますが、これは引き続いて CRTL stat() ルーチンを呼び出さない |
| 2023 | 2606 | 場合にのみ動作します; なぜならデバイス名は呼出し毎に上書きされるからです。 |
| 2024 | 2607 | この警告が出ると、名前の検索が失敗し、アクセスチェックルーチンは諦めて、 |
| 2025 | 2608 | 安全のためだけに FALSE を返します。 |
| 2026 | 2609 | (注意: アクセスチェックルーチンは Perl の C<stat> 演算子とファイル |
| 2027 | 2610 | テストについて知っているので、Perl コマンドの結果としてこの警告を見ることは |
| 2028 | 2611 | ないはずです; これは内部コートが stat バッファを軽率に扱った場合にのみ |
| 2029 | 2612 | 発生します。) |
| 2030 | 2613 | |
| 2031 | 2614 | =item Can't get pipe mailbox device name |
| 2032 | 2615 | |
| 2033 | 2616 | =begin original |
| 2034 | 2617 | |
| 2035 | 2618 | (P) An error peculiar to VMS. After creating a mailbox to act as a |
| 2036 | 2619 | pipe, Perl can't retrieve its name for later use. |
| 2037 | 2620 | |
| 2038 | 2621 | =end original |
| 2039 | 2622 | |
| 2040 | 2623 | (P) VMS に固有のエラーです。 |
| 2041 | 2624 | パイプとして働くメールボックスの作成後、後で使うための名前を |
| 2042 | 2625 | Perl が取得できませんでした。 |
| 2043 | 2626 | |
| 2044 | 2627 | =item Can't get SYSGEN parameter value for MAXBUF |
| 2045 | 2628 | |
| 2046 | 2629 | =begin original |
| 2047 | 2630 | |
| 2048 | 2631 | (P) An error peculiar to VMS. Perl asked $GETSYI how big you want your |
| 2049 | 2632 | mailbox buffers to be, and didn't get an answer. |
| 2050 | 2633 | |
| 2051 | 2634 | =end original |
| 2052 | 2635 | |
| 2053 | 2636 | (P) VMS に固有のエラーです。 |
| 2054 | 2637 | メールボックスバッファをどれくらいとるべきかを $GETSYI に |
| 2055 | 2638 | 問い合わせましたが、答えが得られませんでした。 |
| 2056 | 2639 | |
| 2640 | =item Can't "goto" into a binary or list expression | |
| 2641 | ||
| 2642 | =begin original | |
| 2643 | ||
| 2644 | (F) A "goto" statement was executed to jump into the middle of a binary | |
| 2645 | or list expression. You can't get there from here. The reason for this | |
| 2646 | restriction is that the interpreter would get confused as to how many | |
| 2647 | arguments there are, resulting in stack corruption or crashes. This | |
| 2648 | error occurs in cases such as these: | |
| 2649 | ||
| 2650 | =end original | |
| 2651 | ||
| 2652 | (F) "goto" 文で 2 項式またはリスト式の途中に飛び込もうとしました。 | |
| 2653 | ここからそこへは行けません。 | |
| 2654 | この制限の理由は、そこにいくつの引数があるかに関してインタプリタが混乱し、 | |
| 2655 | 結果としてスタックは解約ラッシュを引き起こすからです。 | |
| 2656 | このエラーは次のような場合に起こります: | |
| 2657 | ||
| 2658 | goto F; | |
| 2659 | print do { F: }; # Can't jump into the arguments to print | |
| 2660 | ||
| 2661 | goto G; | |
| 2662 | $x + do { G: $y }; # How is + supposed to get its first operand? | |
| 2663 | ||
| 2664 | =item Can't "goto" into a "defer" block | |
| 2665 | ||
| 2666 | =begin original | |
| 2667 | ||
| 2668 | (F) A C<goto> statement was executed to jump into the scope of a C<defer> | |
| 2669 | block. This is not permitted. | |
| 2670 | ||
| 2671 | =end original | |
| 2672 | ||
| 2673 | (F) C<defer> ブロックの中に飛び込むような C<goto> 文が実行されました。 | |
| 2674 | これは許されていません。 | |
| 2675 | ||
| 2676 | =item Can't "goto" into a "given" block | |
| 2677 | ||
| 2678 | =begin original | |
| 2679 | ||
| 2680 | (F) A "goto" statement was executed to jump into the middle of a C<given> | |
| 2681 | block. You can't get there from here. See L<perlfunc/goto>. | |
| 2682 | ||
| 2683 | =end original | |
| 2684 | ||
| 2685 | (F) "goto" 文で C<given> ブロックの中に飛び込もうとしました。 | |
| 2686 | ここからそこへは行けません。 | |
| 2687 | L<perlfunc/goto> を参照してください。 | |
| 2688 | ||
| 2057 | 2689 | =item Can't "goto" into the middle of a foreach loop |
| 2058 | 2690 | |
| 2059 | 2691 | =begin original |
| 2060 | 2692 | |
| 2061 | 2693 | (F) A "goto" statement was executed to jump into the middle of a foreach |
| 2062 | 2694 | loop. You can't get there from here. See L<perlfunc/goto>. |
| 2063 | 2695 | |
| 2064 | 2696 | =end original |
| 2065 | 2697 | |
| 2066 | 2698 | (F) "goto" 文で foreach ループの中に飛び込もうとしました。 |
| 2067 | 2699 | ここからそこへは行けません。 |
| 2068 | 2700 | L<perlfunc/goto> を参照してください。 |
| 2069 | 2701 | |
| 2070 | 2702 | =item Can't "goto" out of a pseudo block |
| 2071 | 2703 | |
| 2072 | 2704 | =begin original |
| 2073 | 2705 | |
| 2074 | 2706 | (F) A "goto" statement was executed to jump out of what might look like |
| 2075 | 2707 | a block, except that it isn't a proper block. This usually occurs if |
| 2076 | 2708 | you tried to jump out of a sort() block or subroutine, which is a no-no. |
| 2077 | 2709 | See L<perlfunc/goto>. |
| 2078 | 2710 | |
| 2079 | 2711 | =end original |
| 2080 | 2712 | |
| 2081 | 2713 | (F) "goto" 文でブロックのように見えるけれども、適切な |
| 2082 | 2714 | ブロックではないところから飛び出そうとしました。 |
| 2083 | 2715 | これは普通 sort() ブロックやサブルーチンから飛び出そうとしたときに |
| 2084 | 2716 | 起きますが、それはできません。 |
| 2085 | 2717 | L<perlfunc/goto> を参照してください。 |
| 2086 | 2718 | |
| 2087 | =item Can't goto subroutine from a | |
| 2719 | =item Can't goto subroutine from an eval-%s | |
| 2088 | 2720 | |
| 2089 | 2721 | =begin original |
| 2090 | 2722 | |
| 2091 | (F) The "goto subroutine" call can't be used to jump out of | |
| 2723 | (F) The "goto subroutine" call can't be used to jump out of an eval | |
| 2092 | ||
| 2724 | "string" or block. | |
| 2093 | as the reduce() function in List::Util). | |
| 2094 | 2725 | |
| 2095 | 2726 | =end original |
| 2096 | 2727 | |
| 2097 | (F) "goto subroutine" 呼び出しは | |
| 2728 | (F) "goto subroutine" 呼び出しは eval "string" やブロックから | |
| 2098 | (List::Util の reduce() 関数のような) 似たようなコールバックから | |
| 2099 | 2729 | 飛び出すことはできません。 |
| 2100 | 2730 | |
| 2101 | =item Can't goto subroutine from a | |
| 2731 | =item Can't goto subroutine from a sort sub (or similar callback) | |
| 2102 | 2732 | |
| 2103 | 2733 | =begin original |
| 2104 | 2734 | |
| 2105 | (F) The "goto subroutine" call can't be used to jump out of | |
| 2735 | (F) The "goto subroutine" call can't be used to jump out of the | |
| 2106 | ||
| 2736 | comparison sub for a sort(), or from a similar callback (such | |
| 2737 | as the reduce() function in List::Util). | |
| 2107 | 2738 | |
| 2108 | 2739 | =end original |
| 2109 | 2740 | |
| 2110 | (F) "goto subroutine" 呼び出しは | |
| 2741 | (F) "goto subroutine" 呼び出しは、sort() のための比較サブルーチンや、 | |
| 2742 | (List::Util の reduce() 関数のような) 似たようなコールバックから | |
| 2111 | 2743 | 飛び出すことはできません。 |
| 2112 | 2744 | |
| 2113 | 2745 | =item Can't goto subroutine outside a subroutine |
| 2114 | 2746 | |
| 2115 | 2747 | =begin original |
| 2116 | 2748 | |
| 2117 | 2749 | (F) The deeply magical "goto subroutine" call can only replace one |
| 2118 | 2750 | subroutine call for another. It can't manufacture one out of whole |
| 2119 | 2751 | cloth. In general you should be calling it out of only an AUTOLOAD |
| 2120 | 2752 | routine anyway. See L<perlfunc/goto>. |
| 2121 | 2753 | |
| 2122 | 2754 | =end original |
| 2123 | 2755 | |
| 2124 | 2756 | (F) 結構マジカルな "goto subroutine" の呼び出しは、あるサブルーチン |
| 2125 | 2757 | 呼び出しを別のもので置き換えるだけです。 |
| 2126 | 2758 | 反物の状態から作り上げることはできません。 |
| 2127 | 2759 | 一般に、これを行なうのは、AUTOLOAD ルーティンから抜け出すときだけに |
| 2128 | 2760 | しておくべきです。 |
| 2129 | 2761 | L<perlfunc/goto> を参照してください。 |
| 2130 | 2762 | |
| 2131 | 2763 | =item Can't ignore signal CHLD, forcing to default |
| 2132 | 2764 | |
| 2133 | 2765 | =begin original |
| 2134 | 2766 | |
| 2135 | 2767 | (W signal) Perl has detected that it is being run with the SIGCHLD |
| 2136 | 2768 | signal (sometimes known as SIGCLD) disabled. Since disabling this |
| 2137 | 2769 | signal will interfere with proper determination of exit status of child |
| 2138 | 2770 | processes, Perl has reset the signal to its default value. This |
| 2139 | 2771 | situation typically indicates that the parent program under which Perl |
| 2140 | 2772 | may be running (e.g. cron) is being very careless. |
| 2141 | 2773 | |
| 2142 | 2774 | =end original |
| 2143 | 2775 | |
| 2144 | 2776 | (W signal) Perl は、SIGCHLD (SIGCLD としても知られます) シグナルが |
| 2145 | 2777 | 無効化された状態で実行されていることを検出しました。 |
| 2146 | 2778 | このシグナルが無効化されると子プロセスの終了ステータスを適切に |
| 2147 | 2779 | 決定できなくなるので、Perl はシグナルをデフォルト値にリセットしました。 |
| 2148 | 2780 | この状況は典型的には Perl が動作している親プログラム(cron など)が |
| 2149 | 2781 | とても不注意であることを示しています。 |
| 2150 | 2782 | |
| 2151 | 2783 | =item Can't kill a non-numeric process ID |
| 2152 | 2784 | |
| 2153 | 2785 | =begin original |
| 2154 | 2786 | |
| 2155 | 2787 | (F) Process identifiers must be (signed) integers. It is a fatal error to |
| 2156 | 2788 | attempt to kill() an undefined, empty-string or otherwise non-numeric |
| 2157 | 2789 | process identifier. |
| 2158 | 2790 | |
| 2159 | 2791 | =end original |
| 2160 | 2792 | |
| 2161 | 2793 | (F) プロセス識別子は(符号付き)整数でなければなりません。 |
| 2162 | 2794 | 未定義値、空文字列、その他の非数値プロセス識別子を使って |
| 2163 | 2795 | kill() しようとすることは致命的エラーです。 |
| 2164 | 2796 | |
| 2165 | 2797 | =item Can't "last" outside a loop block |
| 2166 | 2798 | |
| 2167 | 2799 | =begin original |
| 2168 | 2800 | |
| 2169 | 2801 | (F) A "last" statement was executed to break out of the current block, |
| 2170 | 2802 | except that there's this itty bitty problem called there isn't a current |
| 2171 | 2803 | block. Note that an "if" or "else" block doesn't count as a "loopish" |
| 2172 | 2804 | block, as doesn't a block given to sort(), map() or grep(). You can |
| 2173 | 2805 | usually double the curlies to get the same effect though, because the |
| 2174 | 2806 | inner curlies will be considered a block that loops once. See |
| 2175 | 2807 | L<perlfunc/last>. |
| 2176 | 2808 | |
| 2177 | 2809 | =end original |
| 2178 | 2810 | |
| 2179 | 2811 | (F) 現在のブロックから脱出するために、"last" 文を実行しましたが、 |
| 2180 | 2812 | 残念なことにブロックの中ではありませんでした。 |
| 2181 | 2813 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
| 2182 | 2814 | 同様「ループ風」ブロックではないので、注意してください。 |
| 2183 | 2815 | ただし、中かっこを二重にすれば、内側の中かっこが、1 度だけループする |
| 2184 | 2816 | ブロックとみなされますから、同じ効果が得られます。 |
| 2185 | 2817 | L<perlfunc/last> を参照してください。 |
| 2186 | 2818 | |
| 2187 | 2819 | =item Can't linearize anonymous symbol table |
| 2188 | 2820 | |
| 2189 | 2821 | =begin original |
| 2190 | 2822 | |
| 2191 | 2823 | (F) Perl tried to calculate the method resolution order (MRO) of a |
| 2192 | 2824 | package, but failed because the package stash has no name. |
| 2193 | 2825 | |
| 2194 | 2826 | =end original |
| 2195 | 2827 | |
| 2196 | 2828 | (F) Perl はパッケージのメソッド解決順序 (MRO) を計算しようとしましたが、 |
| 2197 | 2829 | パッケージ stash に名前がないので失敗しました。 |
| 2198 | 2830 | |
| 2199 | 2831 | =item Can't load '%s' for module %s |
| 2200 | 2832 | |
| 2201 | 2833 | =begin original |
| 2202 | 2834 | |
| 2203 | 2835 | (F) The module you tried to load failed to load a dynamic extension. |
| 2204 | 2836 | This may either mean that you upgraded your version of perl to one |
| 2205 | 2837 | that is incompatible with your old dynamic extensions (which is known |
| 2206 | 2838 | to happen between major versions of perl), or (more likely) that your |
| 2207 | 2839 | dynamic extension was built against an older version of the library |
| 2208 | 2840 | that is installed on your system. You may need to rebuild your old |
| 2209 | 2841 | dynamic extensions. |
| 2210 | 2842 | |
| 2211 | 2843 | =end original |
| 2212 | 2844 | |
| 2213 | 2845 | (F) 読み込もうとしたモジュールは、動的拡張モジュールの読み込みに |
| 2214 | 2846 | 失敗しました。 |
| 2215 | 2847 | これは古い動的拡張モジュールと互換性のない perl にアップグレードしたか |
| 2216 | 2848 | (これは perl のメジャーバージョン間で起きることが知られています)、 |
| 2217 | 2849 | (よりあり得るのは)動的拡張モジュールがシステムにインストールされている古い |
| 2218 | 2850 | バージョンのライブラリに対してビルドされているかです。 |
| 2219 | 2851 | 古い動的拡張モジュールをリビルドする必要があるでしょう。 |
| 2220 | 2852 | |
| 2221 | 2853 | =item Can't localize lexical variable %s |
| 2222 | 2854 | |
| 2223 | 2855 | =begin original |
| 2224 | 2856 | |
| 2225 | 2857 | (F) You used local on a variable name that was previously declared as a |
| 2226 | 2858 | lexical variable using "my" or "state". This is not allowed. If you |
| 2227 | 2859 | want to localize a package variable of the same name, qualify it with |
| 2228 | 2860 | the package name. |
| 2229 | 2861 | |
| 2230 | 2862 | =end original |
| 2231 | 2863 | |
| 2232 | 2864 | (F) 以前に "my" や "state" を使ってレキシカル変数として宣言された変数名に |
| 2233 | 2865 | 対して local を使いました。 |
| 2234 | 2866 | これは認められていません。 |
| 2235 | 2867 | 同じ名前のパッケージ変数をローカル化したい場合は、 |
| 2236 | 2868 | パッケージ名で修飾してください。 |
| 2237 | 2869 | |
| 2238 | 2870 | =item Can't localize through a reference |
| 2239 | 2871 | |
| 2240 | 2872 | =begin original |
| 2241 | 2873 | |
| 2242 | 2874 | (F) You said something like C<local $$ref>, which Perl can't currently |
| 2243 | 2875 | handle, because when it goes to restore the old value of whatever $ref |
| 2244 | 2876 | pointed to after the scope of the local() is finished, it can't be sure |
| 2245 | 2877 | that $ref will still be a reference. |
| 2246 | 2878 | |
| 2247 | 2879 | =end original |
| 2248 | 2880 | |
| 2249 | 2881 | (F) C<local $$ref> のようなことをしましたが、Perl は現在のところこれを |
| 2250 | 2882 | 扱えません; なぜなら、local() のスコープが終了した後、$ref が |
| 2251 | 2883 | 指しているものの古い値を戻すとき、$ref がまだリファレンスかどうかが |
| 2252 | 2884 | わからないからです。 |
| 2253 | 2885 | |
| 2254 | 2886 | =item Can't locate %s |
| 2255 | 2887 | |
| 2256 | 2888 | =begin original |
| 2257 | 2889 | |
| 2258 | 2890 | (F) You said to C<do> (or C<require>, or C<use>) a file that couldn't be found. |
| 2259 | 2891 | Perl looks for the file in all the locations mentioned in @INC, unless |
| 2260 | 2892 | the file name included the full path to the file. Perhaps you need |
| 2261 | 2893 | to set the PERL5LIB or PERL5OPT environment variable to say where the |
| 2262 | 2894 | extra library is, or maybe the script needs to add the library name |
| 2263 | 2895 | to @INC. Or maybe you just misspelled the name of the file. See |
| 2264 | 2896 | L<perlfunc/require> and L<lib>. |
| 2265 | 2897 | |
| 2266 | 2898 | =end original |
| 2267 | 2899 | |
| 2268 | 2900 | (F) ファイルを C<do> (または、C<require>、C<use>) するように |
| 2269 | 2901 | 指示されましたが、見つかりませんでした。 |
| 2270 | 2902 | Perl は、フルパスで指定されていない場合ファイルを @INC で示される |
| 2271 | 2903 | 全ての場所を検索します。 |
| 2272 | 2904 | おそらく、追加ライブラリの場所を示すために、 |
| 2273 | 2905 | PERL5LIB または PERL5OPT の環境変数を指定する必要があるか、 |
| 2274 | 2906 | スクリプトの中で @INC にライブラリ名を追加する必要があります。 |
| 2275 | 2907 | ファイル名のスペルミスの可能性もあります。 |
| 2276 | 2908 | L<perlfunc/require> と L<lib> を参照してください。 |
| 2277 | 2909 | |
| 2278 | 2910 | =item Can't locate auto/%s.al in @INC |
| 2279 | 2911 | |
| 2280 | 2912 | =begin original |
| 2281 | 2913 | |
| 2282 | 2914 | (F) A function (or method) was called in a package which allows |
| 2283 | 2915 | autoload, but there is no function to autoload. Most probable causes |
| 2284 | 2916 | are a misprint in a function/method name or a failure to C<AutoSplit> |
| 2285 | 2917 | the file, say, by doing C<make install>. |
| 2286 | 2918 | |
| 2287 | 2919 | =end original |
| 2288 | 2920 | |
| 2289 | 2921 | (F) 関数(またはメソッド)がオートロードを許可しているパッケージで |
| 2290 | 2922 | 呼び出されましたが、オートロードする関数がありませんでした。 |
| 2291 | 2923 | 最も可能性のある原因は関数/メソッド名の誤記か、C<make install> と |
| 2292 | 2924 | することによるファイルの C<AutoSplit> の失敗です。 |
| 2293 | 2925 | |
| 2294 | 2926 | =item Can't locate loadable object for module %s in @INC |
| 2295 | 2927 | |
| 2296 | 2928 | =begin original |
| 2297 | 2929 | |
| 2298 | 2930 | (F) The module you loaded is trying to load an external library, like |
| 2299 | 2931 | for example, F<foo.so> or F<bar.dll>, but the L<DynaLoader> module was |
| 2300 | 2932 | unable to locate this library. See L<DynaLoader>. |
| 2301 | 2933 | |
| 2302 | 2934 | =end original |
| 2303 | 2935 | |
| 2304 | 2936 | (F) 読み込まれたモジュールは F<foo.so> や F<bar.dll> のような外部 |
| 2305 | 2937 | ライブラリを読み込もうとしましたが、L<DynaLoader> モジュールは、この |
| 2306 | 2938 | ライブラリの位置がわかりませんでした。 |
| 2307 | 2939 | L<DynaLoader> を参照してください。 |
| 2308 | 2940 | |
| 2309 | 2941 | =item Can't locate object method "%s" via package "%s" |
| 2310 | 2942 | |
| 2311 | 2943 | =begin original |
| 2312 | 2944 | |
| 2313 | 2945 | (F) You called a method correctly, and it correctly indicated a package |
| 2314 | 2946 | functioning as a class, but that package doesn't define that particular |
| 2315 | 2947 | method, nor does any of its base classes. See L<perlobj>. |
| 2316 | 2948 | |
| 2317 | 2949 | =end original |
| 2318 | 2950 | |
| 2319 | 2951 | (F) 正しくメソッドを呼び出し、それは、クラスとして機能するパッケージを |
| 2320 | 2952 | 正しく示していますが、そのパッケージにも、基底クラスにも、 |
| 2321 | 2953 | 該当のメソッドが定義されていません。 |
| 2322 | 2954 | L<perlobj> を参照してください。 |
| 2323 | 2955 | |
| 2956 | =item Can't locate object method "%s" via package "%s" (perhaps you forgot | |
| 2957 | to load "%s"?) | |
| 2958 | ||
| 2959 | =begin original | |
| 2960 | ||
| 2961 | (F) You called a method on a class that did not exist, and the method | |
| 2962 | could not be found in UNIVERSAL. This often means that a method | |
| 2963 | requires a package that has not been loaded. | |
| 2964 | ||
| 2965 | =end original | |
| 2966 | ||
| 2967 | (F) 存在しないクラスメソッドを呼び出し、メソッドは | |
| 2968 | UNIVERSAL に見つかりませんでした。 | |
| 2969 | これはしばしばメソッドがまだロードされていないパッケージを | |
| 2970 | 要求していることを意味します。 | |
| 2971 | ||
| 2972 | =item Can't locate object method "INC", nor "INCDIR" nor string overload via package "%s" %s in @INC | |
| 2973 | ||
| 2974 | =begin original | |
| 2975 | ||
| 2976 | (F) You pushed an object, either directly or via an array reference hook, | |
| 2977 | into C<@INC>, but the object doesn't support any known hook methods, nor | |
| 2978 | a string overload and is also not a blessed CODE reference. In short the | |
| 2979 | C<require> function does not know what to do with the object. | |
| 2980 | See also L<perlfunc/require>. | |
| 2981 | ||
| 2982 | =end original | |
| 2983 | ||
| 2984 | (F) 直接、または配列リファレンスフック経由で、オブジェクトを C<@INC> に | |
| 2985 | プッシュしましたが、オブジェクトは既知のフックメソッドや | |
| 2986 | 文字列オーバーロードに対応して折らず、bless されたコードリファレンスでも | |
| 2987 | ありませんでした。 | |
| 2988 | 簡単に言うと、C<require> 関数はこのオブジェクトに対してどうすればいいか | |
| 2989 | 分かりませんでした。 | |
| 2990 | L<perlfunc/require> も参照してください。 | |
| 2991 | ||
| 2992 | =item Attempt to call undefined %s method with arguments ("%s"%s) | |
| 2993 | via package "%s" (Perhaps you forgot to load the package?) | |
| 2994 | ||
| 2995 | =begin original | |
| 2996 | ||
| 2997 | (D deprecated::missing_import_called_with_args) You called the | |
| 2998 | C<import()> or C<unimport()> method of a class that has no import method | |
| 2999 | defined in its inheritance graph, and passed an argument to the method. | |
| 3000 | This is very often the sign of a mispelled package name in a use or | |
| 3001 | require statement that has silently succeded due to a case insensitive | |
| 3002 | file system. | |
| 3003 | ||
| 3004 | =end original | |
| 3005 | ||
| 3006 | (D deprecated::missing_import_called_with_args) 継承グラフに | |
| 3007 | import メソッドが定義されていないクラスの C<import()> または | |
| 3008 | C<unimport()> メソッドを呼び出し、そのメソッドに引数を渡しました。 | |
| 3009 | これは、大文字と小文字を区別しないファイルシステムのために | |
| 3010 | 暗黙的に成功した use または require 文内のミススペルされた | |
| 3011 | パッケージ名の兆候であることがよくあります。 | |
| 3012 | ||
| 3013 | =begin original | |
| 3014 | ||
| 3015 | Another common reason this may happen is when mistakenly attempting to | |
| 3016 | import or unimport a symbol from a class definition or package which | |
| 3017 | does not use C<Exporter> or otherwise define its own C<import> or | |
| 3018 | C<unimport> method. | |
| 3019 | ||
| 3020 | =end original | |
| 3021 | ||
| 3022 | これが発生するもう一つの一般的な理由は、C<Exporter> を使っていないか、 | |
| 3023 | 独自の C<import> または C<unimport> メソッドを定義している | |
| 3024 | クラス定義またはパッケージからシンボルを誤ってインポートまたは | |
| 3025 | インポート解除しようとした場合です。 | |
| 3026 | ||
| 2324 | 3027 | =item Can't locate package %s for @%s::ISA |
| 2325 | 3028 | |
| 2326 | 3029 | =begin original |
| 2327 | 3030 | |
| 2328 | 3031 | (W syntax) The @ISA array contained the name of another package that |
| 2329 | 3032 | doesn't seem to exist. |
| 2330 | 3033 | |
| 2331 | 3034 | =end original |
| 2332 | 3035 | |
| 2333 | 3036 | (W syntax) 配列 @ISA に別のパッケージ名が記されていますが、 |
| 2334 | 3037 | 存在していないようです。 |
| 2335 | 3038 | |
| 2336 | 3039 | =item Can't locate PerlIO%s |
| 2337 | 3040 | |
| 2338 | 3041 | =begin original |
| 2339 | 3042 | |
| 2340 | 3043 | (F) You tried to use in open() a PerlIO layer that does not exist, |
| 2341 | 3044 | e.g. open(FH, ">:nosuchlayer", "somefile"). |
| 2342 | 3045 | |
| 2343 | 3046 | =end original |
| 2344 | 3047 | |
| 2345 | 3048 | (F) 例えば、open(FH, ">:nosuchlayer", "somefile") のように、 |
| 2346 | 3049 | open() で 存在しない PerlIO 層を使おうとしました。 |
| 2347 | 3050 | |
| 2348 | 3051 | =item Can't make list assignment to %ENV on this system |
| 2349 | 3052 | |
| 2350 | 3053 | =begin original |
| 2351 | 3054 | |
| 2352 | 3055 | (F) List assignment to %ENV is not supported on some systems, notably |
| 2353 | 3056 | VMS. |
| 2354 | 3057 | |
| 2355 | 3058 | =end original |
| 2356 | 3059 | |
| 2357 | 3060 | (F) %ENV へのリスト代入はいくつかのシステム、特に VMS では |
| 2358 | 3061 | 対応していません。 |
| 2359 | 3062 | |
| 2360 | =item Can't mod | |
| 3063 | =item Can't make loaded symbols global on this platform while loading %s | |
| 2361 | 3064 | |
| 2362 | 3065 | =begin original |
| 2363 | 3066 | |
| 2364 | ( | |
| 3067 | (S) A module passed the flag 0x01 to DynaLoader::dl_load_file() to request | |
| 2365 | to | |
| 3068 | that symbols from the stated file are made available globally within the | |
| 3069 | process, but that functionality is not available on this platform. Whilst | |
| 3070 | the module likely will still work, this may prevent the perl interpreter | |
| 3071 | from loading other XS-based extensions which need to link directly to | |
| 3072 | functions defined in the C or XS code in the stated file. | |
| 2366 | 3073 | |
| 2367 | 3074 | =end original |
| 2368 | 3075 | |
| 2369 | ( | |
| 3076 | (W) モジュールが、プロセスの中でグローバルに利用可能な固定ファイルから | |
| 3077 | シンボルを読み込むことを要求するために、DynaLoader::dl_load_file() に | |
| 3078 | 0x01 フラグを渡しましたが、この機能はこのプラットフォームでは利用できません。 | |
| 3079 | モジュールはおそらく動作しますが、perl インタプリタによる、固定ファイルの C や | |
| 3080 | XS コードで定義された関数へ直接リンクする必要のあるその他の XS ベースの | |
| 3081 | エクステンションの読み込みが妨げられるかもしれません。 | |
| 2370 | 3082 | |
| 2371 | =item Can't modify | |
| 3083 | =item Can't modify %s in %s | |
| 2372 | 3084 | |
| 2373 | 3085 | =begin original |
| 2374 | 3086 | |
| 2375 | ( | |
| 3087 | (F) You aren't allowed to assign to the item indicated, or otherwise try | |
| 2376 | a | |
| 3088 | to change it, such as with an auto-increment. | |
| 2377 | 3089 | |
| 2378 | 3090 | =end original |
| 2379 | 3091 | |
| 2380 | ( | |
| 3092 | (F) 指定されたものは、代入、インクリメントなど、変更が許されていません。 | |
| 2381 | 3093 | |
| 2382 | =item Can't modify non-lvalue subroutine call | |
| 3094 | =item Can't modify non-lvalue subroutine call of &%s | |
| 2383 | 3095 | |
| 3096 | =item Can't modify non-lvalue subroutine call of &%s in %s | |
| 3097 | ||
| 2384 | 3098 | =begin original |
| 2385 | 3099 | |
| 2386 | 3100 | (F) Subroutines meant to be used in lvalue context should be declared as |
| 2387 | 3101 | such. See L<perlsub/"Lvalue subroutines">. |
| 2388 | 3102 | |
| 2389 | 3103 | =end original |
| 2390 | 3104 | |
| 2391 | 3105 | (F) 左辺値コンテキストとして使うサブルーチンは、そのように |
| 2392 | 3106 | 宣言しなければなりません。 |
| 2393 | 3107 | L<perlsub/"Lvalue subroutines"> を参照してください。 |
| 2394 | 3108 | |
| 3109 | =item Can't modify reference to %s in %s assignment | |
| 3110 | ||
| 3111 | =begin original | |
| 3112 | ||
| 3113 | (F) Only a limited number of constructs can be used as the argument to a | |
| 3114 | reference constructor on the left-hand side of an assignment, and what | |
| 3115 | you used was not one of them. See L<perlref/Assigning to References>. | |
| 3116 | ||
| 3117 | =end original | |
| 3118 | ||
| 3119 | (F) 代入の左側のリファレンスコンストラクタの引数に使える構文は | |
| 3120 | 一部に制限されていて、ここで使ったものはその一つではありません。 | |
| 3121 | L<perlref/Assigning to References> を参照してください。 | |
| 3122 | ||
| 3123 | =item Can't modify reference to localized parenthesized array in list | |
| 3124 | assignment | |
| 3125 | ||
| 3126 | =begin original | |
| 3127 | ||
| 3128 | (F) Assigning to C<\local(@array)> or C<\(local @array)> is not supported, as | |
| 3129 | it is not clear exactly what it should do. If you meant to make @array | |
| 3130 | refer to some other array, use C<\@array = \@other_array>. If you want to | |
| 3131 | make the elements of @array aliases of the scalars referenced on the | |
| 3132 | right-hand side, use C<\(@array) = @scalar_refs>. | |
| 3133 | ||
| 3134 | =end original | |
| 3135 | ||
| 3136 | (F) C<\local(@array)> や C<\(local @array)> への代入は対応していません; | |
| 3137 | 正確に何をするべきかが明確ではないからです。 | |
| 3138 | @array が他の配列を参照するようにすることを意味しているなら、 | |
| 3139 | C<\@array = \@other_array> を使ってください。 | |
| 3140 | @array の要素が右側でリファレンスされているスカラへの別名にしたいなら、 | |
| 3141 | C<\(@array) = @scalar_refs> を使ってください。 | |
| 3142 | ||
| 3143 | =item Can't modify reference to parenthesized hash in list assignment | |
| 3144 | ||
| 3145 | =begin original | |
| 3146 | ||
| 3147 | (F) Assigning to C<\(%hash)> is not supported. If you meant to make %hash | |
| 3148 | refer to some other hash, use C<\%hash = \%other_hash>. If you want to | |
| 3149 | make the elements of %hash into aliases of the scalars referenced on the | |
| 3150 | right-hand side, use a hash slice: C<\@hash{@keys} = @those_scalar_refs>. | |
| 3151 | ||
| 3152 | =end original | |
| 3153 | ||
| 3154 | (F) C<\(%hash)> への代入は対応していません。 | |
| 3155 | %hash が他のハッシュを参照するようにすることを意味しているなら、 | |
| 3156 | C<\%hash = \%other_hash> を使ってください。 | |
| 3157 | %hash の要素が右側でリファレンスされているスカラへの別名にしたいなら、 | |
| 3158 | ハッシュスライスを使ってください: C<\@hash{@keys} = @those_scalar_refs>。 | |
| 3159 | ||
| 2395 | 3160 | =item Can't msgrcv to read-only var |
| 2396 | 3161 | |
| 2397 | 3162 | =begin original |
| 2398 | 3163 | |
| 2399 | 3164 | (F) The target of a msgrcv must be modifiable to be used as a receive |
| 2400 | 3165 | buffer. |
| 2401 | 3166 | |
| 2402 | 3167 | =end original |
| 2403 | 3168 | |
| 2404 | 3169 | (F) msgrcv で使用する変数は、受信バッファとして使用しますので、 |
| 2405 | 3170 | 変更可能なものでなければなりません。 |
| 2406 | 3171 | |
| 2407 | 3172 | =item Can't "next" outside a loop block |
| 2408 | 3173 | |
| 2409 | 3174 | =begin original |
| 2410 | 3175 | |
| 2411 | 3176 | (F) A "next" statement was executed to reiterate the current block, but |
| 2412 | 3177 | there isn't a current block. Note that an "if" or "else" block doesn't |
| 2413 | 3178 | count as a "loopish" block, as doesn't a block given to sort(), map() or |
| 2414 | 3179 | grep(). You can usually double the curlies to get the same effect |
| 2415 | 3180 | though, because the inner curlies will be considered a block that loops |
| 2416 | 3181 | once. See L<perlfunc/next>. |
| 2417 | 3182 | |
| 2418 | 3183 | =end original |
| 2419 | 3184 | |
| 2420 | 3185 | (F) 現在のブロックの繰り返しを進めるために、"next" 文を実行しましたが、 |
| 2421 | 3186 | ブロックの中ではありませんでした。 |
| 2422 | 3187 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
| 2423 | 3188 | 同様「ループ風」ブロックではないので、注意してください。 |
| 2424 | 3189 | ただし、中かっこを二重にすれば、内側の中かっこが、1 度だけループする |
| 2425 | 3190 | ブロックとみなされますから、同じ効果が得られます。 |
| 2426 | 3191 | L<perlfunc/next> を参照してください。 |
| 2427 | 3192 | |
| 2428 | =item Can't open %s | |
| 2429 | ||
| 2430 | =begin original | |
| 2431 | ||
| 2432 | (F) You tried to run a perl built with MAD support with | |
| 2433 | the PERL_XMLDUMP environment variable set, but the file | |
| 2434 | named by that variable could not be opened. | |
| 2435 | ||
| 2436 | =end original | |
| 2437 | ||
| 2438 | (F) PERL_XMLDUMP 環境変数を設定して MAD 対応でビルドした perl を | |
| 2439 | 実行しようとしましたが、環境変数で指定された名前のファイルが開けませんでした。 | |
| 2440 | ||
| 2441 | 3193 | =item Can't open %s: %s |
| 2442 | 3194 | |
| 2443 | 3195 | =begin original |
| 2444 | 3196 | |
| 2445 | 3197 | (S inplace) The implicit opening of a file through use of the C<< <> >> |
| 2446 | 3198 | filehandle, either implicitly under the C<-n> or C<-p> command-line |
| 2447 | 3199 | switches, or explicitly, failed for the indicated reason. Usually |
| 2448 | 3200 | this is because you don't have read permission for a file which |
| 2449 | 3201 | you named on the command line. |
| 2450 | 3202 | |
| 2451 | 3203 | =end original |
| 2452 | 3204 | |
| 2453 | 3205 | (S inplace) C<< <> >> ファイルハンドルによる暗黙的なファイルオープンまたは |
| 2454 | 3206 | C<-n> か C<-p> コマンドラインスイッチによる暗黙的な、あるいは |
| 2455 | 3207 | 明示的なファイルオープンが表示した理由によって失敗しました。 |
| 2456 | 3208 | 通常、これはコマンドラインで指定したファイルの読み込み権限が無いときに起こります。 |
| 2457 | 3209 | |
| 2458 | 3210 | =begin original |
| 2459 | 3211 | |
| 2460 | 3212 | (F) You tried to call perl with the B<-e> switch, but F</dev/null> (or |
| 2461 | 3213 | your operating system's equivalent) could not be opened. |
| 2462 | 3214 | |
| 2463 | 3215 | =end original |
| 2464 | 3216 | |
| 2465 | 3217 | (F) B<-e> オプション付きで perl を呼び出そうとしましたが、F</dev/null> |
| 2466 | 3218 | (またはあなたのオペレーティングシステムでの等価物) が開けませんでした。 |
| 2467 | 3219 | |
| 2468 | 3220 | =item Can't open a reference |
| 2469 | 3221 | |
| 2470 | 3222 | =begin original |
| 2471 | 3223 | |
| 2472 | 3224 | (W io) You tried to open a scalar reference for reading or writing, |
| 2473 | 3225 | using the 3-arg open() syntax: |
| 2474 | 3226 | |
| 2475 | 3227 | =end original |
| 2476 | 3228 | |
| 2477 | 3229 | (W io) 3 引数の open() の構文を使ってスカラリファレンスを読み込みまたは |
| 2478 | 3230 | 書き込みのために開こうとしました: |
| 2479 | 3231 | |
| 2480 | 3232 | open FH, '>', $ref; |
| 2481 | 3233 | |
| 2482 | 3234 | =begin original |
| 2483 | 3235 | |
| 2484 | 3236 | but your version of perl is compiled without perlio, and this form of |
| 2485 | 3237 | open is not supported. |
| 2486 | 3238 | |
| 2487 | 3239 | =end original |
| 2488 | 3240 | |
| 2489 | 3241 | しかしこのバージョンの perl は perlio なしでコンパイルされていて、 |
| 2490 | 3242 | この形式の open は対応していません。 |
| 2491 | 3243 | |
| 2492 | 3244 | =item Can't open bidirectional pipe |
| 2493 | 3245 | |
| 2494 | 3246 | =begin original |
| 2495 | 3247 | |
| 2496 | 3248 | (W pipe) You tried to say C<open(CMD, "|cmd|")>, which is not supported. |
| 2497 | 3249 | You can try any of several modules in the Perl library to do this, such |
| 2498 | 3250 | as IPC::Open2. Alternately, direct the pipe's output to a file using |
| 2499 | 3251 | ">", and then read it in under a different file handle. |
| 2500 | 3252 | |
| 2501 | 3253 | =end original |
| 2502 | 3254 | |
| 2503 | 3255 | (W pipe) サポートされていない C<open(CMD, "|cmd|")> を行なおうとしました。 |
| 2504 | 3256 | これを行なうためには、Perl ライブラリの IPC::Open2 のようないくつかの |
| 2505 | 3257 | モジュールを使うことができます。 |
| 2506 | 3258 | 別の方法として、パイプされたものを ">" を使っていったんファイルに出力し、 |
| 2507 | 3259 | あとで別のファイルハンドルで読み込みを行なうことも考えられます。 |
| 2508 | 3260 | |
| 2509 | 3261 | =item Can't open error file %s as stderr |
| 2510 | 3262 | |
| 2511 | 3263 | =begin original |
| 2512 | 3264 | |
| 2513 | 3265 | (F) An error peculiar to VMS. Perl does its own command line |
| 2514 | 3266 | redirection, and couldn't open the file specified after '2>' or '2>>' on |
| 2515 | 3267 | the command line for writing. |
| 2516 | 3268 | |
| 2517 | 3269 | =end original |
| 2518 | 3270 | |
| 2519 | 3271 | (F) VMS に固有のエラーです。 |
| 2520 | 3272 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
| 2521 | 3273 | コマンドラインで書き込みのために '2>' や '2>>' の後に指定された |
| 2522 | 3274 | ファイルを開けませんでした。 |
| 2523 | 3275 | |
| 2524 | 3276 | =item Can't open input file %s as stdin |
| 2525 | 3277 | |
| 2526 | 3278 | =begin original |
| 2527 | 3279 | |
| 2528 | 3280 | (F) An error peculiar to VMS. Perl does its own command line |
| 2529 | 3281 | redirection, and couldn't open the file specified after '<' on the |
| 2530 | 3282 | command line for reading. |
| 2531 | 3283 | |
| 2532 | 3284 | =end original |
| 2533 | 3285 | |
| 2534 | 3286 | (F) VMS に固有のエラーです。 |
| 2535 | 3287 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
| 2536 | 3288 | コマンドラインで読み込みのために '<' の後に指定された |
| 2537 | 3289 | ファイルを開けませんでした。 |
| 2538 | 3290 | |
| 2539 | 3291 | =item Can't open output file %s as stdout |
| 2540 | 3292 | |
| 2541 | 3293 | =begin original |
| 2542 | 3294 | |
| 2543 | 3295 | (F) An error peculiar to VMS. Perl does its own command line |
| 2544 | 3296 | redirection, and couldn't open the file specified after '>' or '>>' on |
| 2545 | 3297 | the command line for writing. |
| 2546 | 3298 | |
| 2547 | 3299 | =end original |
| 2548 | 3300 | |
| 2549 | 3301 | (F) VMS に固有のエラーです。 |
| 2550 | 3302 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
| 2551 | 3303 | コマンドラインで書き込みのために '>' や '>>' の後に指定された |
| 2552 | 3304 | ファイルを開けませんでした。 |
| 2553 | 3305 | |
| 2554 | 3306 | =item Can't open output pipe (name: %s) |
| 2555 | 3307 | |
| 2556 | 3308 | =begin original |
| 2557 | 3309 | |
| 2558 | 3310 | (P) An error peculiar to VMS. Perl does its own command line |
| 2559 | 3311 | redirection, and couldn't open the pipe into which to send data destined |
| 2560 | 3312 | for stdout. |
| 2561 | 3313 | |
| 2562 | 3314 | =end original |
| 2563 | 3315 | |
| 2564 | 3316 | (P) VMS に固有のエラーです。 |
| 2565 | 3317 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
| 2566 | 3318 | 標準出力としてデータを送るパイプを開けませんでした。 |
| 2567 | 3319 | |
| 2568 | 3320 | =item Can't open perl script "%s": %s |
| 2569 | 3321 | |
| 2570 | 3322 | =begin original |
| 2571 | 3323 | |
| 2572 | 3324 | (F) The script you specified can't be opened for the indicated reason. |
| 2573 | 3325 | |
| 2574 | 3326 | =end original |
| 2575 | 3327 | |
| 2576 | 3328 | (F) 指定したスクリプトが、表示した理由によってオープンできませんでした。 |
| 2577 | 3329 | |
| 2578 | 3330 | =begin original |
| 2579 | 3331 | |
| 2580 | 3332 | If you're debugging a script that uses #!, and normally relies on the |
| 2581 | 3333 | shell's $PATH search, the -S option causes perl to do that search, so |
| 2582 | 3334 | you don't have to type the path or C<`which $scriptname`>. |
| 2583 | 3335 | |
| 2584 | 3336 | =end original |
| 2585 | 3337 | |
| 2586 | 3338 | #! を使うスクリプトをデバッグしていて、普通はシェルの $PATH 検索に |
| 2587 | 3339 | 頼っている場合は、-S オプションを付けることで perl が検索するようになり、 |
| 2588 | 3340 | パスや C<`which $scriptname`> をタイプする必要がなくなります。 |
| 2589 | 3341 | |
| 2590 | 3342 | =item Can't read CRTL environ |
| 2591 | 3343 | |
| 2592 | 3344 | =begin original |
| 2593 | 3345 | |
| 2594 | 3346 | (S) A warning peculiar to VMS. Perl tried to read an element of %ENV |
| 2595 | 3347 | from the CRTL's internal environment array and discovered the array was |
| 2596 | 3348 | missing. You need to figure out where your CRTL misplaced its environ |
| 2597 | 3349 | or define F<PERL_ENV_TABLES> (see L<perlvms>) so that environ is not |
| 2598 | 3350 | searched. |
| 2599 | 3351 | |
| 2600 | 3352 | =end original |
| 2601 | 3353 | |
| 2602 | 3354 | (S) VMS に固有の警告です。 |
| 2603 | 3355 | Perl は %ENV の要素を CRTL の内部環境配列から読み込もうとしましたが、 |
| 2604 | 3356 | 配列がないことを発見しました。 |
| 2605 | 3357 | CRTL が環境をどこに間違えて置いたかを探し出すか、F<PERL_ENV_TABLE> を |
| 2606 | 3358 | 定義して(L<perlvms> を参照してください)環境を検索しないようにする |
| 2607 | 3359 | 必要があります。 |
| 2608 | 3360 | |
| 3361 | =item Can't redeclare "%s" in "%s" | |
| 3362 | ||
| 3363 | =begin original | |
| 3364 | ||
| 3365 | (F) A "my", "our" or "state" declaration was found within another declaration, | |
| 3366 | such as C<my ($x, my($y), $z)> or C<our (my $x)>. | |
| 3367 | ||
| 3368 | =end original | |
| 3369 | ||
| 3370 | (F) C<my ($x, my($y), $z)> や C<our (my $x)> のように、 | |
| 3371 | "my", "our", "state" 宣言が他の宣言の中にありました。 | |
| 3372 | ||
| 2609 | 3373 | =item Can't "redo" outside a loop block |
| 2610 | 3374 | |
| 2611 | 3375 | =begin original |
| 2612 | 3376 | |
| 2613 | 3377 | (F) A "redo" statement was executed to restart the current block, but |
| 2614 | 3378 | there isn't a current block. Note that an "if" or "else" block doesn't |
| 2615 | 3379 | count as a "loopish" block, as doesn't a block given to sort(), map() |
| 2616 | 3380 | or grep(). You can usually double the curlies to get the same effect |
| 2617 | 3381 | though, because the inner curlies will be considered a block that |
| 2618 | 3382 | loops once. See L<perlfunc/redo>. |
| 2619 | 3383 | |
| 2620 | 3384 | =end original |
| 2621 | 3385 | |
| 2622 | 3386 | (F) 現在のブロックの繰り返しをもう一度行なうために、 |
| 2623 | 3387 | "redo" 文を実行しましたが、ブロックの中ではありませんでした。 |
| 2624 | 3388 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
| 2625 | 3389 | 同様「ループ風」ブロックではないので、注意してください。 |
| 2626 | 3390 | ただし、中かっこを二重にすれば、内側の中かっこが、1 度だけループする |
| 2627 | 3391 | ブロックとみなされますから、同じ効果が得られます。 |
| 2628 | 3392 | L<perlfunc/redo> を参照してください。 |
| 2629 | 3393 | |
| 2630 | 3394 | =item Can't remove %s: %s, skipping file |
| 2631 | 3395 | |
| 2632 | 3396 | =begin original |
| 2633 | 3397 | |
| 2634 | 3398 | (S inplace) You requested an inplace edit without creating a backup |
| 2635 | 3399 | file. Perl was unable to remove the original file to replace it with |
| 2636 | 3400 | the modified file. The file was left unmodified. |
| 2637 | 3401 | |
| 2638 | 3402 | =end original |
| 2639 | 3403 | |
| 2640 | 3404 | (S inplace) バックアップを作成せずにその場編集することを要求しました。 |
| 2641 | 3405 | Perl は変更したファイルで置き換えるために元のファイルを削除することが |
| 2642 | 3406 | できませんでした。 |
| 2643 | 3407 | ファイルは変更されずに残されます。 |
| 2644 | 3408 | |
| 3409 | =item Can't rename in-place work file '%s' to '%s': %s | |
| 3410 | ||
| 3411 | =begin original | |
| 3412 | ||
| 3413 | (F) When closed implicitly, the temporary file for in-place editing | |
| 3414 | couldn't be renamed to the original filename. | |
| 3415 | ||
| 3416 | =end original | |
| 3417 | ||
| 3418 | (F) その場編集のための一時ファイルが暗黙に閉じられたとき、 | |
| 3419 | 元のファイル名にリネームできませんでした。 | |
| 3420 | ||
| 2645 | 3421 | =item Can't rename %s to %s: %s, skipping file |
| 2646 | 3422 | |
| 2647 | 3423 | =begin original |
| 2648 | 3424 | |
| 2649 | ( | |
| 3425 | (F) The rename done by the B<-i> switch failed for some reason, | |
| 2650 | 3426 | probably because you don't have write permission to the directory. |
| 2651 | 3427 | |
| 2652 | 3428 | =end original |
| 2653 | 3429 | |
| 2654 | ( | |
| 3430 | (F) B<-i> スイッチで行なわれた rename が何らかの理由によって、 | |
| 2655 | 3431 | うまく行きませんでした; ディレクトリに書き込み権がないことも考えられます。 |
| 2656 | 3432 | |
| 2657 | 3433 | =item Can't reopen input pipe (name: %s) in binary mode |
| 2658 | 3434 | |
| 2659 | 3435 | =begin original |
| 2660 | 3436 | |
| 2661 | 3437 | (P) An error peculiar to VMS. Perl thought stdin was a pipe, and tried |
| 2662 | 3438 | to reopen it to accept binary data. Alas, it failed. |
| 2663 | 3439 | |
| 2664 | 3440 | =end original |
| 2665 | 3441 | |
| 2666 | 3442 | (P) VMS に固有のエラーです。 |
| 2667 | 3443 | Perl は標準入力がパイプであると考えて、バイナリデータを受け入れるために |
| 2668 | 3444 | 再オープンしようとしました。 |
| 2669 | 3445 | 悲しいかな、それは失敗しました。 |
| 2670 | 3446 | |
| 3447 | =item Can't represent character for Ox%X on this platform | |
| 3448 | ||
| 3449 | =begin original | |
| 3450 | ||
| 3451 | (F) There is a hard limit to how big a character code point can be due | |
| 3452 | to the fundamental properties of UTF-8, especially on EBCDIC | |
| 3453 | platforms. The given code point exceeds that. The only work-around is | |
| 3454 | to not use such a large code point. | |
| 3455 | ||
| 3456 | =end original | |
| 3457 | ||
| 3458 | (F) どれだけ大きな文字符号位置が使えるかについては固定値の制限があります; | |
| 3459 | これは UTF-8 の、特に EBCDIC プラットフォームでの基礎的な特性によるものです。 | |
| 3460 | 指定された符号位置はそれを越えています。 | |
| 3461 | 唯一の回避策はそのような大きな符号位置を使わないことです。 | |
| 3462 | ||
| 2671 | 3463 | =item Can't reset %ENV on this system |
| 2672 | 3464 | |
| 2673 | 3465 | =begin original |
| 2674 | 3466 | |
| 2675 | 3467 | (F) You called C<reset('E')> or similar, which tried to reset |
| 2676 | 3468 | all variables in the current package beginning with "E". In |
| 2677 | 3469 | the main package, that includes %ENV. Resetting %ENV is not |
| 2678 | 3470 | supported on some systems, notably VMS. |
| 2679 | 3471 | |
| 2680 | 3472 | =end original |
| 2681 | 3473 | |
| 2682 | 3474 | (F) C<reset('E')> のようなものを呼び出して、現在のパッケージで "E" で始まる |
| 2683 | 3475 | 全ての変数を reset しようとしました。 |
| 2684 | 3476 | main パッケージでは、これには %ENV が含まれます。 |
| 2685 | 3477 | %ENV の reset は一部のシステム、特に VMS では対応していません。 |
| 2686 | 3478 | |
| 2687 | 3479 | =item Can't resolve method "%s" overloading "%s" in package "%s" |
| 2688 | 3480 | |
| 2689 | 3481 | =begin original |
| 2690 | 3482 | |
| 2691 | 3483 | (F)(P) Error resolving overloading specified by a method name (as |
| 2692 | 3484 | opposed to a subroutine reference): no such method callable via the |
| 2693 | 3485 | package. If the method name is C<???>, this is an internal error. |
| 2694 | 3486 | |
| 2695 | 3487 | =end original |
| 2696 | 3488 | |
| 2697 | 3489 | (F)(P) (サブルーチンのリファレンスではなく)メソッド名で指定された |
| 2698 | 3490 | オーバーロードの解決でのエラー: そのようなメソッドはパッケージ経由で |
| 2699 | 3491 | 呼び出せません。 |
| 2700 | 3492 | もしメソッド名が C<???> なら、内部エラーです。 |
| 2701 | 3493 | |
| 2702 | 3494 | =item Can't return %s from lvalue subroutine |
| 2703 | 3495 | |
| 2704 | 3496 | =begin original |
| 2705 | 3497 | |
| 2706 | 3498 | (F) Perl detected an attempt to return illegal lvalues (such as |
| 2707 | 3499 | temporary or readonly values) from a subroutine used as an lvalue. This |
| 2708 | 3500 | is not allowed. |
| 2709 | 3501 | |
| 2710 | 3502 | =end original |
| 2711 | 3503 | |
| 2712 | 3504 | (F) Perl が、左辺値として使われるサブルーチンから(一時的や |
| 2713 | 3505 | 読み込み専用のような)不正な左辺値が返されようとしているのを検出しました。 |
| 2714 | 3506 | これは認められていません。 |
| 2715 | 3507 | |
| 2716 | 3508 | =item Can't return outside a subroutine |
| 2717 | 3509 | |
| 2718 | 3510 | =begin original |
| 2719 | 3511 | |
| 2720 | 3512 | (F) The return statement was executed in mainline code, that is, where |
| 2721 | 3513 | there was no subroutine call to return out of. See L<perlsub>. |
| 2722 | 3514 | |
| 2723 | 3515 | =end original |
| 2724 | 3516 | |
| 2725 | 3517 | (F) return 文が、return で抜けるべきサブルーチンがない、 |
| 2726 | 3518 | "main" コードで実行されました。 |
| 2727 | 3519 | L<perlsub> を参照してください。 |
| 2728 | 3520 | |
| 2729 | 3521 | =item Can't return %s to lvalue scalar context |
| 2730 | 3522 | |
| 2731 | 3523 | =begin original |
| 2732 | 3524 | |
| 2733 | 3525 | (F) You tried to return a complete array or hash from an lvalue |
| 2734 | 3526 | subroutine, but you called the subroutine in a way that made Perl |
| 2735 | 3527 | think you meant to return only one value. You probably meant to |
| 2736 | 3528 | write parentheses around the call to the subroutine, which tell |
| 2737 | 3529 | Perl that the call should be in list context. |
| 2738 | 3530 | |
| 2739 | 3531 | =end original |
| 2740 | 3532 | |
| 2741 | 3533 | (F) 左辺値サブルーチンから配列やハッシュ全体を返そうとしましたが、 |
| 2742 | 3534 | 一つだけの値を返そうとしていると Perl が考えるような方法でサブルーチンを |
| 2743 | 3535 | 呼び出しました。 |
| 2744 | 3536 | おそらく、Perl にこの呼び出しがリストコンテキストであると伝えるために、 |
| 2745 | 3537 | サブルーチン呼び出しの周りにかっこを書いているのでしょう。 |
| 2746 | 3538 | |
| 2747 | =item Can't stat script "%s" | |
| 2748 | ||
| 2749 | =begin original | |
| 2750 | ||
| 2751 | (P) For some reason you can't fstat() the script even though you have it | |
| 2752 | open already. Bizarre. | |
| 2753 | ||
| 2754 | =end original | |
| 2755 | ||
| 2756 | (P) 何らかの理由で、例え既にオープンしていたとしても、fstat() が | |
| 2757 | 行なえません。困ったもんだ。 | |
| 2758 | ||
| 2759 | 3539 | =item Can't take log of %g |
| 2760 | 3540 | |
| 2761 | 3541 | =begin original |
| 2762 | 3542 | |
| 2763 | 3543 | (F) For ordinary real numbers, you can't take the logarithm of a |
| 2764 | 3544 | negative number or zero. There's a Math::Complex package that comes |
| 2765 | 3545 | standard with Perl, though, if you really want to do that for the |
| 2766 | 3546 | negative numbers. |
| 2767 | 3547 | |
| 2768 | 3548 | =end original |
| 2769 | 3549 | |
| 2770 | 3550 | (F) 実数に対しては、負数や 0 に対する対数を取ることはできません。 |
| 2771 | 3551 | しかし、もし本当に負数に対してそのようなことをしたいのなら、 |
| 2772 | 3552 | Perl 標準になっている Math::Complex パッケージがあります。 |
| 2773 | 3553 | |
| 2774 | 3554 | =item Can't take sqrt of %g |
| 2775 | 3555 | |
| 2776 | 3556 | =begin original |
| 2777 | 3557 | |
| 2778 | 3558 | (F) For ordinary real numbers, you can't take the square root of a |
| 2779 | 3559 | negative number. There's a Math::Complex package that comes standard |
| 2780 | 3560 | with Perl, though, if you really want to do that. |
| 2781 | 3561 | |
| 2782 | 3562 | =end original |
| 2783 | 3563 | |
| 2784 | 3564 | (F) 通常の実数では、負数の平方根をとることはできません。 |
| 2785 | 3565 | しかし、本当にその計算を行ないたいのであれば、Math::Complex パッケージが |
| 2786 | 3566 | Perl に標準で用意されています。 |
| 2787 | 3567 | |
| 2788 | 3568 | =item Can't undef active subroutine |
| 2789 | 3569 | |
| 2790 | 3570 | =begin original |
| 2791 | 3571 | |
| 2792 | 3572 | (F) You can't undefine a routine that's currently running. You can, |
| 2793 | 3573 | however, redefine it while it's running, and you can even undef the |
| 2794 | 3574 | redefined subroutine while the old routine is running. Go figure. |
| 2795 | 3575 | |
| 2796 | 3576 | =end original |
| 2797 | 3577 | |
| 2798 | 3578 | (F) 実行中のルーティンを未定義にすることはできません。 |
| 2799 | 3579 | しかし、実行中に再定義することはでき、古いルーティンを実行中に、 |
| 2800 | 3580 | 再定義したサブルーチンを undef することさえできます。 |
| 2801 | 3581 | 驚きです。 |
| 2802 | 3582 | |
| 3583 | =item Can't unweaken a nonreference | |
| 3584 | ||
| 3585 | =begin original | |
| 3586 | ||
| 3587 | (F) You attempted to unweaken something that was not a reference. Only | |
| 3588 | references can be unweakened. | |
| 3589 | ||
| 3590 | =end original | |
| 3591 | ||
| 3592 | (F) リファレンスでないものを弱くないようにしようとしました。 | |
| 3593 | リファレンスだけが弱くないようにできます。 | |
| 3594 | ||
| 2803 | 3595 | =item Can't upgrade %s (%d) to %d |
| 2804 | 3596 | |
| 2805 | 3597 | =begin original |
| 2806 | 3598 | |
| 2807 | 3599 | (P) The internal sv_upgrade routine adds "members" to an SV, making it |
| 2808 | 3600 | into a more specialized kind of SV. The top several SV types are so |
| 2809 | 3601 | specialized, however, that they cannot be interconverted. This message |
| 2810 | 3602 | indicates that such a conversion was attempted. |
| 2811 | 3603 | |
| 2812 | 3604 | =end original |
| 2813 | 3605 | |
| 2814 | 3606 | (P) 内部の sv_upgrade ルーティンは、SV に「メンバ」を加えて、 |
| 2815 | 3607 | より特別な種類の SV にします。 しかし、上位のいくつかの SV 型は、 |
| 2816 | 3608 | 特殊化され過ぎて、内部変換することができません。 |
| 2817 | 3609 | このメッセージは、そのような変更を行なおうとしたことを示しています。 |
| 2818 | 3610 | |
| 2819 | 3611 | =item Can't use '%c' after -mname |
| 2820 | 3612 | |
| 2821 | 3613 | =begin original |
| 2822 | 3614 | |
| 2823 | 3615 | (F) You tried to call perl with the B<-m> switch, but you put something |
| 2824 | 3616 | other than "=" after the module name. |
| 2825 | 3617 | |
| 2826 | 3618 | =end original |
| 2827 | 3619 | |
| 2828 | 3620 | (F) B<-m> オプション付きで perl を呼び出そうとしましたが、モジュール名の後に |
| 2829 | 3621 | "=" 以外のものを置きました。 |
| 2830 | 3622 | |
| 3623 | =item Can't use a hash as a reference | |
| 3624 | ||
| 3625 | =begin original | |
| 3626 | ||
| 3627 | (F) You tried to use a hash as a reference, as in | |
| 3628 | C<< %foo->{"bar"} >> or C<< %$ref->{"hello"} >>. Versions of perl | |
| 3629 | <= 5.22.0 used to allow this syntax, but shouldn't | |
| 3630 | have. This was deprecated in perl 5.6.1. | |
| 3631 | ||
| 3632 | =end original | |
| 3633 | ||
| 3634 | (F) C<< %foo->{"bar"} >> or C<< %$ref->{"hello"} >> のように、 | |
| 3635 | ハッシュをリファレンスとして使おうとしました。 | |
| 3636 | <= 5.22.0 のバージョンの perl ではこの文法が許されていましたが、 | |
| 3637 | そうするべきではありません。 | |
| 3638 | これは perl 5.6.1 から廃止予定です。 | |
| 3639 | ||
| 3640 | =item Can't use an array as a reference | |
| 3641 | ||
| 3642 | =begin original | |
| 3643 | ||
| 3644 | (F) You tried to use an array as a reference, as in | |
| 3645 | C<< @foo->[23] >> or C<< @$ref->[99] >>. Versions of perl <= 5.22.0 | |
| 3646 | used to allow this syntax, but shouldn't have. This | |
| 3647 | was deprecated in perl 5.6.1. | |
| 3648 | ||
| 3649 | =end original | |
| 3650 | ||
| 3651 | (F) C<< @foo->[23] >> or C<< @$ref->[99] >> のように、 | |
| 3652 | 配列をリファレンスとして使おうとしました。 | |
| 3653 | <= 5.22.0 のバージョンの perl ではこの文法が許されていましたが、 | |
| 3654 | そうするべきではありません。 | |
| 3655 | これは perl 5.6.1 から廃止予定です。 | |
| 3656 | ||
| 2831 | 3657 | =item Can't use anonymous symbol table for method lookup |
| 2832 | 3658 | |
| 2833 | 3659 | =begin original |
| 2834 | 3660 | |
| 2835 | 3661 | (F) The internal routine that does method lookup was handed a symbol |
| 2836 | 3662 | table that doesn't have a name. Symbol tables can become anonymous |
| 2837 | 3663 | for example by undefining stashes: C<undef %Some::Package::>. |
| 2838 | 3664 | |
| 2839 | 3665 | =end original |
| 2840 | 3666 | |
| 2841 | 3667 | (F) メソッド検索を行う内部ルーチンが、名前のないシンボルテーブルを |
| 2842 | 3668 | 扱いました。 |
| 2843 | 3669 | シンボルテーブルは、例えば C<undef %Some::Package::> のように未定義の |
| 2844 | 3670 | stash によって無名となります。 |
| 2845 | 3671 | |
| 2846 | 3672 | =item Can't use an undefined value as %s reference |
| 2847 | 3673 | |
| 2848 | 3674 | =begin original |
| 2849 | 3675 | |
| 2850 | 3676 | (F) A value used as either a hard reference or a symbolic reference must |
| 2851 | 3677 | be a defined value. This helps to delurk some insidious errors. |
| 2852 | 3678 | |
| 2853 | 3679 | =end original |
| 2854 | 3680 | |
| 2855 | 3681 | (F) ハードリファレンスやシンボリックリファレンスとして使用する値は、 |
| 2856 | 3682 | 定義済みの値でなければなりません。 |
| 2857 | 3683 | 潜伏中のエラーを引きずり出す助けとなります。 |
| 2858 | 3684 | |
| 2859 | 3685 | =item Can't use bareword ("%s") as %s ref while "strict refs" in use |
| 2860 | 3686 | |
| 2861 | 3687 | =begin original |
| 2862 | 3688 | |
| 2863 | 3689 | (F) Only hard references are allowed by "strict refs". Symbolic |
| 2864 | 3690 | references are disallowed. See L<perlref>. |
| 2865 | 3691 | |
| 2866 | 3692 | =end original |
| 2867 | 3693 | |
| 2868 | 3694 | (F) "strict refs" によって、ハードリファレンスのみが許可されます。 |
| 2869 | 3695 | シンボリックリファレンスは許可されません。 |
| 2870 | 3696 | L<perlref> を参照してください。 |
| 2871 | 3697 | |
| 2872 | 3698 | =item Can't use %! because Errno.pm is not available |
| 2873 | 3699 | |
| 2874 | 3700 | =begin original |
| 2875 | 3701 | |
| 2876 | 3702 | (F) The first time the C<%!> hash is used, perl automatically loads the |
| 2877 | 3703 | Errno.pm module. The Errno module is expected to tie the %! hash to |
| 2878 | 3704 | provide symbolic names for C<$!> errno values. |
| 2879 | 3705 | |
| 2880 | 3706 | =end original |
| 2881 | 3707 | |
| 2882 | 3708 | (F) 最初に C<%!> ハッシュが使われるときに、 |
| 2883 | 3709 | perl は自動的に Errno.pm モジュールを読み込みます。 |
| 2884 | 3710 | Errno モジュールは C<$!> errno 値のシンボリック名を提供するために |
| 2885 | 3711 | %! ハッシュと tie されることになります。 |
| 2886 | 3712 | |
| 2887 | 3713 | =item Can't use both '<' and '>' after type '%c' in %s |
| 2888 | 3714 | |
| 2889 | 3715 | =begin original |
| 2890 | 3716 | |
| 2891 | 3717 | (F) A type cannot be forced to have both big-endian and little-endian |
| 2892 | 3718 | byte-order at the same time, so this combination of modifiers is not |
| 2893 | 3719 | allowed. See L<perlfunc/pack>. |
| 2894 | 3720 | |
| 2895 | 3721 | =end original |
| 2896 | 3722 | |
| 2897 | 3723 | (F) 一つの型を同時にビッグエンディアンとリトルエンディアンの両方に |
| 2898 | 3724 | 強制することはできないので、この修飾子の組み合わせは許可されません。 |
| 2899 | 3725 | L<perlfunc/pack> を参照してください。 |
| 2900 | 3726 | |
| 3727 | =item Can't use 'defined(@array)' (Maybe you should just omit the defined()?) | |
| 3728 | ||
| 3729 | =begin original | |
| 3730 | ||
| 3731 | (F) defined() is not useful on arrays because it | |
| 3732 | checks for an undefined I<scalar> value. If you want to see if the | |
| 3733 | array is empty, just use C<if (@array) { # not empty }> for example. | |
| 3734 | ||
| 3735 | =end original | |
| 3736 | ||
| 3737 | (F) defined() は未定義の I<スカラ> 値を調べるので、配列に使っても無意味です。 | |
| 3738 | 配列が空かどうかを調べたい場合は、例えば単に | |
| 3739 | C<if (@array) { # not empty }> としてください。 | |
| 3740 | ||
| 3741 | =item Can't use 'defined(%hash)' (Maybe you should just omit the defined()?) | |
| 3742 | ||
| 3743 | =begin original | |
| 3744 | ||
| 3745 | (F) C<defined()> is not usually right on hashes. | |
| 3746 | ||
| 3747 | =end original | |
| 3748 | ||
| 3749 | (F) C<defined()> は普通はハッシュの右側ではありません。 | |
| 3750 | ||
| 3751 | =begin original | |
| 3752 | ||
| 3753 | Although C<defined %hash> is false on a plain not-yet-used hash, it | |
| 3754 | becomes true in several non-obvious circumstances, including iterators, | |
| 3755 | weak references, stash names, even remaining true after C<undef %hash>. | |
| 3756 | These things make C<defined %hash> fairly useless in practice, so it now | |
| 3757 | generates a fatal error. | |
| 3758 | ||
| 3759 | =end original | |
| 3760 | ||
| 3761 | まだ使われていない普通のハッシュに対する C<defined %hash> は偽ですが、 | |
| 3762 | いくつかの明白でない状況では新になります; これには反復し、弱い参照、 | |
| 3763 | stash 名を含み、C<undef %hash> の後でも真になります。 | |
| 3764 | これらにより、実践では C<defined %hash> はほとんど使えないので、 | |
| 3765 | 致命的エラーを生成するようになりました。 | |
| 3766 | ||
| 3767 | =begin original | |
| 3768 | ||
| 3769 | If a check for non-empty is what you wanted then just put it in boolean | |
| 3770 | context (see L<perldata/Scalar values>): | |
| 3771 | ||
| 3772 | =end original | |
| 3773 | ||
| 3774 | 空でないことをチェックしたいなら、単にこれを真偽値コンテキストに | |
| 3775 | 置いてください (L<perldata/Scalar values> を参照してください): | |
| 3776 | ||
| 3777 | if (%hash) { | |
| 3778 | # not empty | |
| 3779 | } | |
| 3780 | ||
| 3781 | =begin original | |
| 3782 | ||
| 3783 | If you had C<defined %Foo::Bar::QUUX> to check whether such a package | |
| 3784 | variable exists then that's never really been reliable, and isn't | |
| 3785 | a good way to enquire about the features of a package, or whether | |
| 3786 | it's loaded, etc. | |
| 3787 | ||
| 3788 | =end original | |
| 3789 | ||
| 3790 | パッケージ変数が存在するかどうかを調べるために | |
| 3791 | C<defined %Foo::Bar::QUUX> のようなことをしていると、これは決して信頼性が | |
| 3792 | なく、パッケージの機能や読み込まれているかどうかなどを問い合わせる | |
| 3793 | 良い方法ではありません。 | |
| 3794 | ||
| 2901 | 3795 | =item Can't use %s for loop variable |
| 2902 | 3796 | |
| 2903 | 3797 | =begin original |
| 2904 | 3798 | |
| 2905 | ( | |
| 3799 | (P) The parser got confused when trying to parse a C<foreach> loop. | |
| 2906 | foreach. | |
| 2907 | 3800 | |
| 2908 | 3801 | =end original |
| 2909 | 3802 | |
| 2910 | ( | |
| 3803 | (P) パーサが C<foreach> ループをパースしようとしたときに混乱しました。 | |
| 2911 | 使用することができます。 | |
| 2912 | 3804 | |
| 2913 | =item Can't use global %s in | |
| 3805 | =item Can't use global %s in %s | |
| 2914 | 3806 | |
| 2915 | 3807 | =begin original |
| 2916 | 3808 | |
| 2917 | 3809 | (F) You tried to declare a magical variable as a lexical variable. This |
| 2918 | 3810 | is not allowed, because the magic can be tied to only one location |
| 2919 | 3811 | (namely the global variable) and it would be incredibly confusing to |
| 2920 | 3812 | have variables in your program that looked like magical variables but |
| 2921 | 3813 | weren't. |
| 2922 | 3814 | |
| 2923 | 3815 | =end original |
| 2924 | 3816 | |
| 2925 | 3817 | (F) マジカル変数を、字句スコープ変数として宣言しようとしました。 |
| 2926 | 3818 | これが許されていないのは、マジカル変数は(グローバル変数という名前の) |
| 2927 | 3819 | 1 か所だけに結び付けられているので、マジカル変数のように見えるけれども |
| 2928 | 3820 | そうではない変数がプログラム中にあると、著しく混乱させるからです。 |
| 2929 | 3821 | |
| 2930 | 3822 | =item Can't use '%c' in a group with different byte-order in %s |
| 2931 | 3823 | |
| 2932 | 3824 | =begin original |
| 2933 | 3825 | |
| 2934 | 3826 | (F) You attempted to force a different byte-order on a type |
| 2935 | 3827 | that is already inside a group with a byte-order modifier. |
| 2936 | 3828 | For example you cannot force little-endianness on a type that |
| 2937 | 3829 | is inside a big-endian group. |
| 2938 | 3830 | |
| 2939 | 3831 | =end original |
| 2940 | 3832 | |
| 2941 | 3833 | (F) 既にバイト順修飾子が付けられているグループの内側で異なったバイト順を |
| 2942 | 3834 | 強制しようとしました。 |
| 2943 | 3835 | 例えば、ビッグエンディアングループの中にある型をリトルエンディアンに |
| 2944 | 3836 | 強制することはできません。 |
| 2945 | 3837 | |
| 2946 | 3838 | =item Can't use "my %s" in sort comparison |
| 2947 | 3839 | |
| 2948 | 3840 | =begin original |
| 2949 | 3841 | |
| 2950 | 3842 | (F) The global variables $a and $b are reserved for sort comparisons. |
| 2951 | 3843 | You mentioned $a or $b in the same line as the <=> or cmp operator, |
| 2952 | 3844 | and the variable had earlier been declared as a lexical variable. |
| 2953 | 3845 | Either qualify the sort variable with the package name, or rename the |
| 2954 | 3846 | lexical variable. |
| 2955 | 3847 | |
| 2956 | 3848 | =end original |
| 2957 | 3849 | |
| 2958 | 3850 | (F) グローバル変数 $a と $b はソート比較のために予約されています。 |
| 2959 | 3851 | $a か $b を <=> か cmp 演算子と同じ行に記述しましたが、その変数は |
| 2960 | 3852 | その前にレキシカル変数として宣言されています。 |
| 2961 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を | |
| 3853 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を変えてください。 | |
| 2962 | 変更してください。 | |
| 2963 | 3854 | |
| 2964 | 3855 | =item Can't use %s ref as %s ref |
| 2965 | 3856 | |
| 2966 | 3857 | =begin original |
| 2967 | 3858 | |
| 2968 | 3859 | (F) You've mixed up your reference types. You have to dereference a |
| 2969 | 3860 | reference of the type needed. You can use the ref() function to |
| 2970 | 3861 | test the type of the reference, if need be. |
| 2971 | 3862 | |
| 2972 | 3863 | =end original |
| 2973 | 3864 | |
| 2974 | 3865 | (F) リファレンス型を混同しています。 |
| 2975 | 3866 | 必要な型のリファレンスを被参照しなければなりません。 |
| 2976 | 3867 | 必要ならば、リファレンスの型を調べるのに、ref() 関数を使うことができます。 |
| 2977 | 3868 | |
| 2978 | 3869 | =item Can't use string ("%s") as %s ref while "strict refs" in use |
| 2979 | 3870 | |
| 3871 | =item Can't use string ("%s"...) as %s ref while "strict refs" in use | |
| 3872 | ||
| 2980 | 3873 | =begin original |
| 2981 | 3874 | |
| 2982 | (F) | |
| 3875 | (F) You've told Perl to dereference a string, something which | |
| 2983 | ||
| 3876 | C<use strict> blocks to prevent it happening accidentally. See | |
| 3877 | L<perlref/"Symbolic references">. This can be triggered by an C<@> or C<$> | |
| 3878 | in a double-quoted string immediately before interpolating a variable, | |
| 3879 | for example in C<"user @$twitter_id">, which says to treat the contents | |
| 3880 | of C<$twitter_id> as an array reference; use a C<\> to have a literal C<@> | |
| 3881 | symbol followed by the contents of C<$twitter_id>: C<"user \@$twitter_id">. | |
| 2984 | 3882 | |
| 2985 | 3883 | =end original |
| 2986 | 3884 | |
| 2987 | (F) | |
| 3885 | (F) 文字列をデリファレンスするように Perl に指示しましたが、 | |
| 2988 | ||
| 3886 | C<use strict> ブロックがこれが偶然起きることを妨げました。 | |
| 2989 | L<perlref> を参照してください。 | |
| 3887 | L<perlref/"Symbolic references"> を参照してください。 | |
| 3888 | これは、ダブルクォート文字列の中の変数展開の直前の C<@> または C<$> で | |
| 3889 | 引き起こされます; 例えば C<"user @$twitter_id"> です; これは C<$twitter_id> の | |
| 3890 | 内容を配列リファレンスとして扱うように指示しています; | |
| 3891 | リテラルな C<@> の後に C<$twitter_id> の内容が引き続くようにするには | |
| 3892 | C<\> を使ってください: C<"user \@$twitter_id">。 | |
| 2990 | 3893 | |
| 2991 | 3894 | =item Can't use subscript on %s |
| 2992 | 3895 | |
| 2993 | 3896 | =begin original |
| 2994 | 3897 | |
| 2995 | 3898 | (F) The compiler tried to interpret a bracketed expression as a |
| 2996 | 3899 | subscript. But to the left of the brackets was an expression that |
| 2997 | 3900 | didn't look like a hash or array reference, or anything else subscriptable. |
| 2998 | 3901 | |
| 2999 | 3902 | =end original |
| 3000 | 3903 | |
| 3001 | 3904 | (F) コンパイラが大かっこで囲われた式を添字として解釈しようとしました。 |
| 3002 | 3905 | しかし、大かっこの左側はハッシュか配列のリファレンスやその他の |
| 3003 | 3906 | 添字化できるもののようには見えない式です。 |
| 3004 | 3907 | |
| 3005 | 3908 | =item Can't use \%c to mean $%c in expression |
| 3006 | 3909 | |
| 3007 | 3910 | =begin original |
| 3008 | 3911 | |
| 3009 | 3912 | (W syntax) In an ordinary expression, backslash is a unary operator that |
| 3010 | 3913 | creates a reference to its argument. The use of backslash to indicate a |
| 3011 | 3914 | backreference to a matched substring is valid only as part of a regular |
| 3012 | 3915 | expression pattern. Trying to do this in ordinary Perl code produces a |
| 3013 | 3916 | value that prints out looking like SCALAR(0xdecaf). Use the $1 form |
| 3014 | 3917 | instead. |
| 3015 | 3918 | |
| 3016 | 3919 | =end original |
| 3017 | 3920 | |
| 3018 | 3921 | (W syntax) 通常の式では、バックスラッシュは引数へのリファレンスを作る |
| 3019 | 3922 | 単項演算子です。 |
| 3020 | 3923 | マッチした部分文字列への後方参照を示すためのバックスラッシュの使用は |
| 3021 | 3924 | 正規表現パターンの一部の場合にのみ有効です。 |
| 3022 | 3925 | 通常の Perl コードの中でこれをしようとすると、SCALAR(0xdecaf) のように |
| 3023 | 3926 | 表示される値を生成します。 |
| 3024 | 3927 | 代わりに $1 の形を使ってください。 |
| 3025 | 3928 | |
| 3026 | 3929 | =item Can't weaken a nonreference |
| 3027 | 3930 | |
| 3028 | 3931 | =begin original |
| 3029 | 3932 | |
| 3030 | 3933 | (F) You attempted to weaken something that was not a reference. Only |
| 3031 | 3934 | references can be weakened. |
| 3032 | 3935 | |
| 3033 | 3936 | =end original |
| 3034 | 3937 | |
| 3035 | 3938 | (F) リファレンスではない何かを弱めようとしました。 |
| 3036 | 3939 | リファレンスだけが弱めることができます。 |
| 3037 | 3940 | |
| 3038 | 3941 | =item Can't "when" outside a topicalizer |
| 3039 | 3942 | |
| 3040 | 3943 | =begin original |
| 3041 | 3944 | |
| 3042 | 3945 | (F) You have used a when() block that is neither inside a C<foreach> |
| 3043 | 3946 | loop nor a C<given> block. (Note that this error is issued on exit |
| 3044 | 3947 | from the C<when> block, so you won't get the error if the match fails, |
| 3045 | 3948 | or if you use an explicit C<continue>.) |
| 3046 | 3949 | |
| 3047 | 3950 | =end original |
| 3048 | 3951 | |
| 3049 | 3952 | (F) C<foreach> ブロックや C<given> ブロックの内側以外で when() ブロックを |
| 3050 | 3953 | 使いました。 |
| 3051 | 3954 | (このエラーは C<when> ブロックから終了したときに発生するので、マッチングに |
| 3052 | 3955 | 失敗したときや、明示的な C<continue> を使った場合はこのエラーは |
| 3053 | 3956 | 発生しません。) |
| 3054 | 3957 | |
| 3055 | 3958 | =item Can't x= to read-only value |
| 3056 | 3959 | |
| 3057 | 3960 | =begin original |
| 3058 | 3961 | |
| 3059 | 3962 | (F) You tried to repeat a constant value (often the undefined value) |
| 3060 | 3963 | with an assignment operator, which implies modifying the value itself. |
| 3061 | 3964 | Perhaps you need to copy the value to a temporary, and repeat that. |
| 3062 | 3965 | |
| 3063 | 3966 | =end original |
| 3064 | 3967 | |
| 3065 | 3968 | (F) 定数値 (未定義値であることが多い) を、自らを書き換えることを意味する、 |
| 3066 | 3969 | 代入演算子で繰り返しを行なおうとしました。 |
| 3067 | 3970 | テンポラリ変数に値を移してから、繰り返すと良いでしょう。 |
| 3068 | 3971 | |
| 3069 | =item | |
| 3972 | =item catch block requires a (VAR) | |
| 3070 | 3973 | |
| 3071 | 3974 | =begin original |
| 3072 | 3975 | |
| 3073 | (F) | |
| 3976 | (F) You tried to use the C<try> and C<catch> syntax of C<use feature 'try'> | |
| 3074 | ||
| 3977 | but did not include the error variable in the C<catch> block. The | |
| 3075 | ||
| 3978 | parenthesized variable name is not optional, unlike in some other forms of | |
| 3076 | ||
| 3979 | syntax you may be familiar with from CPAN modules or other languages. | |
| 3077 | 3980 | |
| 3078 | 3981 | =end original |
| 3079 | 3982 | |
| 3080 | (F) | |
| 3983 | (F) C<use feature 'try'> の C<try> と C<catch> の構文を使おうとしましたが、 | |
| 3081 | ||
| 3984 | but did not include the error variable in the | |
| 3082 | ||
| 3985 | C<catch> ブロックのエラー変数を含んでいませんでした。 | |
| 3083 | ||
| 3986 | CPAN モジュールや他の言語で親しんでいるかもしれない他の形式の構文と異なり、 | |
| 3084 | ||
| 3987 | かっこ付きの変数名はオプションではありません。 | |
| 3085 | 3988 | |
| 3086 | 3989 | =begin original |
| 3087 | 3990 | |
| 3088 | ||
| 3991 | The required syntax is | |
| 3089 | 3992 | |
| 3090 | 3993 | =end original |
| 3091 | 3994 | |
| 3092 | ||
| 3995 | 要求される文法は次のものです: | |
| 3093 | 3996 | |
| 3094 | ||
| 3997 | try { ... } | |
| 3998 | catch ($var) { ... } | |
| 3095 | 3999 | |
| 4000 | =item Changing use VERSION while another use VERSION is in scope is now deprecated | |
| 4001 | ||
| 3096 | 4002 | =begin original |
| 3097 | 4003 | |
| 3098 | (W p | |
| 4004 | (W deprecated) Once you have a C<use VERSION> statement in scope, any | |
| 4005 | C<use VERSION> statement that requests a different version is now deprecated, | |
| 4006 | due to the increasing complexity of swapping from one prevailing version to | |
| 4007 | another. | |
| 3099 | 4008 | |
| 3100 | 4009 | =end original |
| 3101 | 4010 | |
| 3102 | (W p | |
| 4011 | (W deprecated) スコープ内に C<use VERSION> 文があると、別のバージョンを | |
| 4012 | 要求する C<use VERSION> 文は廃止予定になりました; | |
| 4013 | これは、一つの広まったバージョンから別のバージョンへの交換が | |
| 4014 | 複雑になるためです。 | |
| 3103 | 4015 | |
| 3104 | | |
| 4016 | =begin original | |
| 3105 | 4017 | |
| 4018 | It is suggested that you do not try to mix multiple different version | |
| 4019 | declarations within the same file as it leads to complex behaviours about the | |
| 4020 | visibility of features and builtin functions, as well as confusing human | |
| 4021 | readers. | |
| 4022 | ||
| 4023 | =end original | |
| 4024 | ||
| 4025 | 同じファイル内に複数の異なるバージョン宣言を混在させないようにすることを | |
| 4026 | 勧めます; | |
| 4027 | 混在させると、機能や組み込み関数の可視性に関する動作が複雑になり、 | |
| 4028 | 人間の読者を混乱させることになります。 | |
| 4029 | ||
| 3106 | 4030 | =begin original |
| 3107 | 4031 | |
| 3108 | ||
| 4032 | If it is essential to have different C<use VERSION> declarations in different | |
| 3109 | on | |
| 4033 | regions of the same file, you should surround each one by its own enclosing | |
| 3110 | ||
| 4034 | scope so the two do not mix. | |
| 3111 | 4035 | |
| 3112 | 4036 | =end original |
| 3113 | 4037 | |
| 3114 | ||
| 4038 | 同じファイルの異なる領域で異なる C<use VERSION> 宣言を使用する必要がある | |
| 3115 | ||
| 4039 | 場合は、二つの宣言が混在しないように、それぞれを独自のスコープで囲む | |
| 3116 | ||
| 4040 | 必要があります。 | |
| 3117 | それで、Perl は以下のように意味しているかのように振舞います: | |
| 3118 | 4041 | |
| 3119 | | |
| 4042 | { | |
| 4043 | use v5.20; | |
| 4044 | ... | |
| 4045 | } | |
| 4046 | { | |
| 4047 | use v5.36; | |
| 4048 | ... | |
| 4049 | } | |
| 3120 | 4050 | |
| 4051 | =item Character following "\c" must be printable ASCII | |
| 4052 | ||
| 3121 | 4053 | =begin original |
| 3122 | 4054 | |
| 3123 | I | |
| 4055 | (F) In C<\cI<X>>, I<X> must be a printable (non-control) ASCII character. | |
| 3124 | instead. | |
| 3125 | 4056 | |
| 3126 | 4057 | =end original |
| 3127 | 4058 | |
| 3128 | ||
| 4059 | (F) C<\cI<X>> において、I<X> は表示可能な ASCII 文字でなければなりません。 | |
| 3129 | 使ってください。 | |
| 3130 | 4060 | |
| 3131 | = | |
| 4061 | =begin original | |
| 3132 | 4062 | |
| 4063 | Note that ASCII characters that don't map to control characters are | |
| 4064 | discouraged, and will generate the warning (when enabled) | |
| 4065 | L</""\c%c" is more clearly written simply as "%s"">. | |
| 4066 | ||
| 4067 | =end original | |
| 4068 | ||
| 4069 | 制御文字にマッピングされない ASCII 文字は非推奨であることに注意してください; | |
| 4070 | そして (有効になっていれば) | |
| 4071 | L</""\c%c" is more clearly written simply as "%s""> 警告が出力されます。 | |
| 4072 | ||
| 4073 | =item Character following \%c must be '{' or a single-character Unicode property name in regex; marked by <-- HERE in m/%s/ | |
| 4074 | ||
| 3133 | 4075 | =begin original |
| 3134 | 4076 | |
| 4077 | (F) (In the above the C<%c> is replaced by either C<p> or C<P>.) You | |
| 4078 | specified something that isn't a legal Unicode property name. Most | |
| 4079 | Unicode properties are specified by C<\p{...}>. But if the name is a | |
| 4080 | single character one, the braces may be omitted. | |
| 4081 | ||
| 4082 | =end original | |
| 4083 | ||
| 4084 | (F) (前述の C<%c> は C<p> か C<P> に置き換えられます。) | |
| 4085 | 正当な Unicode 特性名ではない何かをしていしました。 | |
| 4086 | ほとんどの Unicode 特性は C<\p{...}> として指定されます。 | |
| 4087 | しかし、名前が一文字の場合、中かっこは省略できます。 | |
| 4088 | ||
| 4089 | =item Character in 'C' format wrapped in pack | |
| 4090 | ||
| 4091 | =begin original | |
| 4092 | ||
| 3135 | 4093 | (W pack) You said |
| 3136 | 4094 | |
| 3137 | 4095 | =end original |
| 3138 | 4096 | |
| 3139 | 4097 | (W pack) 以下のように書きましたが: |
| 3140 | 4098 | |
| 3141 | pack(" | |
| 4099 | pack("C", $x) | |
| 3142 | 4100 | |
| 3143 | 4101 | =begin original |
| 3144 | 4102 | |
| 3145 | where $x is either less than 0 or more than 255 | |
| 4103 | where $x is either less than 0 or more than 255; the C<"C"> format is | |
| 3146 | e | |
| 4104 | only for encoding native operating system characters (ASCII, EBCDIC, | |
| 3147 | as if you meant | |
| 4105 | and so on) and not for Unicode characters, so Perl behaved as if you meant | |
| 3148 | 4106 | |
| 3149 | 4107 | =end original |
| 3150 | 4108 | |
| 3151 | $x | |
| 4109 | $x は 0 より小さいか 255 より大きいです; C<"C"> フォーマットは | |
| 3152 | ||
| 4110 | ネイティブ OS 文字 (ASCII, EBCDIC など) のエンコーディングだけに | |
| 3153 | ||
| 4111 | 対応していて、Unicode 文字は対応していません; | |
| 4112 | それで、Perl は以下のように意味しているかのように振舞います: | |
| 3154 | 4113 | |
| 3155 | pack(" | |
| 4114 | pack("C", $x & 255) | |
| 3156 | 4115 | |
| 4116 | =begin original | |
| 4117 | ||
| 4118 | If you actually want to pack Unicode codepoints, use the C<"U"> format | |
| 4119 | instead. | |
| 4120 | ||
| 4121 | =end original | |
| 4122 | ||
| 4123 | Unicode コードポイントを pack したい場合は、代わりに C<"U"> フォーマットを | |
| 4124 | 使ってください。 | |
| 4125 | ||
| 3157 | 4126 | =item Character in 'c' format wrapped in pack |
| 3158 | 4127 | |
| 3159 | 4128 | =begin original |
| 3160 | 4129 | |
| 3161 | 4130 | (W pack) You said |
| 3162 | 4131 | |
| 3163 | 4132 | =end original |
| 3164 | 4133 | |
| 3165 | 4134 | (W pack) 以下のように書きましたが: |
| 3166 | 4135 | |
| 3167 | 4136 | pack("c", $x) |
| 3168 | 4137 | |
| 3169 | 4138 | =begin original |
| 3170 | 4139 | |
| 3171 | 4140 | where $x is either less than -128 or more than 127; the C<"c"> format |
| 3172 | 4141 | is only for encoding native operating system characters (ASCII, EBCDIC, |
| 3173 | 4142 | and so on) and not for Unicode characters, so Perl behaved as if you meant |
| 3174 | 4143 | |
| 3175 | 4144 | =end original |
| 3176 | 4145 | |
| 3177 | 4146 | $x は -128 より小さいか 127 より大きいです; C<"c"> フォーマットは |
| 3178 | 4147 | ネイティブ OS 文字 (ASCII, EBCDIC など) のエンコーディングだけに |
| 3179 | 4148 | 対応していて、Unicode 文字は対応していません; |
| 3180 | 4149 | それで、Perl は以下のように意味しているかのように振舞います: |
| 3181 | 4150 | |
| 3182 | 4151 | pack("c", $x & 255); |
| 3183 | 4152 | |
| 3184 | 4153 | =begin original |
| 3185 | 4154 | |
| 3186 | 4155 | If you actually want to pack Unicode codepoints, use the C<"U"> format |
| 3187 | 4156 | instead. |
| 3188 | 4157 | |
| 3189 | 4158 | =end original |
| 3190 | 4159 | |
| 3191 | 4160 | Unicode コードポイントを pack したい場合は、代わりに C<"U"> フォーマットを |
| 3192 | 4161 | 使ってください。 |
| 3193 | 4162 | |
| 3194 | 4163 | =item Character in '%c' format wrapped in unpack |
| 3195 | 4164 | |
| 3196 | 4165 | =begin original |
| 3197 | 4166 | |
| 3198 | 4167 | (W unpack) You tried something like |
| 3199 | 4168 | |
| 3200 | 4169 | =end original |
| 3201 | 4170 | |
| 3202 | 4171 | (W unpack) 以下のようなことをしましたが: |
| 3203 | 4172 | |
| 3204 | 4173 | unpack("H", "\x{2a1}") |
| 3205 | 4174 | |
| 3206 | 4175 | =begin original |
| 3207 | 4176 | |
| 3208 | 4177 | where the format expects to process a byte (a character with a value |
| 3209 | 4178 | below 256), but a higher value was provided instead. Perl uses the |
| 3210 | 4179 | value modulus 256 instead, as if you had provided: |
| 3211 | 4180 | |
| 3212 | 4181 | =end original |
| 3213 | 4182 | |
| 3214 | 4183 | ここでフォーマットはバイト(値が 256 より小さい文字)を想定していますが、 |
| 3215 | 4184 | 文字の中により大きな値のものがあります。 |
| 3216 | 4185 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の |
| 3217 | 4186 | 値として使います: |
| 3218 | 4187 | |
| 3219 | 4188 | unpack("H", "\x{a1}") |
| 3220 | 4189 | |
| 4190 | =item Character in 'W' format wrapped in pack | |
| 4191 | ||
| 4192 | =begin original | |
| 4193 | ||
| 4194 | (W pack) You said | |
| 4195 | ||
| 4196 | =end original | |
| 4197 | ||
| 4198 | (W pack) 以下のように書きましたが: | |
| 4199 | ||
| 4200 | pack("U0W", $x) | |
| 4201 | ||
| 4202 | =begin original | |
| 4203 | ||
| 4204 | where $x is either less than 0 or more than 255. However, C<U0>-mode | |
| 4205 | expects all values to fall in the interval [0, 255], so Perl behaved | |
| 4206 | as if you meant: | |
| 4207 | ||
| 4208 | =end original | |
| 4209 | ||
| 4210 | $x が 0 より小さいか 255 より大きいです。 | |
| 4211 | しかし、C<U0>-モードは全ての値が [0, 255] の範囲にあることを想定してるので、 | |
| 4212 | Perl は以下のように振る舞います: | |
| 4213 | ||
| 4214 | pack("U0W", $x & 255) | |
| 4215 | ||
| 3221 | 4216 | =item Character(s) in '%c' format wrapped in pack |
| 3222 | 4217 | |
| 3223 | 4218 | =begin original |
| 3224 | 4219 | |
| 3225 | 4220 | (W pack) You tried something like |
| 3226 | 4221 | |
| 3227 | 4222 | =end original |
| 3228 | 4223 | |
| 3229 | 4224 | (W pack) 以下のようなことをしましたが: |
| 3230 | 4225 | |
| 3231 | 4226 | pack("u", "\x{1f3}b") |
| 3232 | 4227 | |
| 3233 | 4228 | =begin original |
| 3234 | 4229 | |
| 3235 | 4230 | where the format expects to process a sequence of bytes (character with a |
| 3236 | 4231 | value below 256), but some of the characters had a higher value. Perl |
| 3237 | 4232 | uses the character values modulus 256 instead, as if you had provided: |
| 3238 | 4233 | |
| 3239 | 4234 | =end original |
| 3240 | 4235 | |
| 3241 | 4236 | ここでフォーマットはバイト(値が 256 より小さい文字)列を想定していますが、 |
| 3242 | 4237 | 文字の中により大きな値のものがあります。 |
| 3243 | 4238 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の |
| 3244 | 4239 | 値として使います: |
| 3245 | 4240 | |
| 3246 | 4241 | pack("u", "\x{f3}b") |
| 3247 | 4242 | |
| 3248 | 4243 | =item Character(s) in '%c' format wrapped in unpack |
| 3249 | 4244 | |
| 3250 | 4245 | =begin original |
| 3251 | 4246 | |
| 3252 | 4247 | (W unpack) You tried something like |
| 3253 | 4248 | |
| 3254 | 4249 | =end original |
| 3255 | 4250 | |
| 3256 | 4251 | (W unpack) 以下のようなことをしましたが: |
| 3257 | 4252 | |
| 3258 | 4253 | unpack("s", "\x{1f3}b") |
| 3259 | 4254 | |
| 3260 | 4255 | =begin original |
| 3261 | 4256 | |
| 3262 | 4257 | where the format expects to process a sequence of bytes (character with a |
| 3263 | 4258 | value below 256), but some of the characters had a higher value. Perl |
| 3264 | 4259 | uses the character values modulus 256 instead, as if you had provided: |
| 3265 | 4260 | |
| 3266 | 4261 | =end original |
| 3267 | 4262 | |
| 3268 | 4263 | ここでフォーマットはバイト(値が 256 より小さい文字)列を想定していますが、 |
| 3269 | 4264 | 文字の中により大きな値のものがあります。 |
| 3270 | 4265 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の |
| 3271 | 4266 | 値として使います: |
| 3272 | 4267 | |
| 3273 | 4268 | unpack("s", "\x{f3}b") |
| 3274 | 4269 | |
| 3275 | =item | |
| 4270 | =item charnames alias definitions may not contain a sequence of multiple | |
| 4271 | spaces; marked by S<<-- HERE> in %s | |
| 3276 | 4272 | |
| 3277 | 4273 | =begin original |
| 3278 | 4274 | |
| 3279 | ( | |
| 4275 | (F) You defined a character name which had multiple space characters | |
| 3280 | ||
| 4276 | in a row. Change them to single spaces. Usually these names are | |
| 3281 | e | |
| 4277 | defined in the C<:alias> import argument to C<use charnames>, but they | |
| 3282 | ||
| 4278 | could be defined by a translator installed into C<$^H{charnames}>. See | |
| 3283 | ||
| 4279 | L<charnames/CUSTOM ALIASES>. | |
| 3284 | 4280 | |
| 3285 | 4281 | =end original |
| 3286 | 4282 | |
| 3287 | ( | |
| 4283 | (F) 連続して複数のスペース文字を持つ文字名を定義しました。 | |
| 3288 | ||
| 4284 | 単一のスペースに変更してください。 | |
| 3289 | これ | |
| 4285 | 普通はこれらの名前は C<use charnames> の C<:alias> インポート引数で | |
| 3290 | ||
| 4286 | 定義されますが、C<$^H{charnames}> にインストールされた変換器で | |
| 3291 | ||
| 4287 | 定義されているかも知れません。 | |
| 4288 | L<charnames/CUSTOM ALIASES> を参照してください。 | |
| 3292 | 4289 | |
| 4290 | =item chdir() on unopened filehandle %s | |
| 4291 | ||
| 4292 | =begin original | |
| 4293 | ||
| 4294 | (W unopened) You tried chdir() on a filehandle that was never opened. | |
| 4295 | ||
| 4296 | =end original | |
| 4297 | ||
| 4298 | (W unopened) 開いていないファイルハンドルに対して chdir() しようとしました。 | |
| 4299 | ||
| 3293 | 4300 | =item "\c%c" is more clearly written simply as "%s" |
| 3294 | 4301 | |
| 3295 | 4302 | =begin original |
| 3296 | 4303 | |
| 3297 | 4304 | (W syntax) The C<\cI<X>> construct is intended to be a way to specify |
| 3298 | non-printable characters. You used it for a printable one, which | |
| 4305 | non-printable characters. You used it for a printable one, which | |
| 3299 | written as simply itself, perhaps preceded by a backslash | |
| 4306 | is better written as simply itself, perhaps preceded by a backslash | |
| 3300 | characters. | |
| 4307 | for non-word characters. Doing it the way you did is not portable | |
| 4308 | between ASCII and EBCDIC platforms. | |
| 3301 | 4309 | |
| 3302 | 4310 | =end original |
| 3303 | 4311 | |
| 3304 | 4312 | (W syntax) C<\cI<X>> 構文は非表示文字を指定する方法を意図しています。 |
| 3305 | 4313 | これを表示文字に使いました; おそらく(おそらく非単語文字のために |
| 3306 | 4314 | 逆スラッシュを前に付けて)単にその文字自身を書くほうがよいです。 |
| 4315 | この方法ですると ASCII と EBCDIC のプラットフォーム間で移植性がありません。 | |
| 3307 | 4316 | |
| 3308 | =item Cl | |
| 4317 | =item Class already has a superclass, cannot add another | |
| 3309 | 4318 | |
| 3310 | 4319 | =begin original |
| 3311 | 4320 | |
| 3312 | (F) | |
| 4321 | (F) You attempted to specify a second superclass for a C<class> by using | |
| 4322 | the C<:isa> attribute, when one is already specified. Unlike classes | |
| 4323 | whose instances are created with C<bless>, classes created via the | |
| 4324 | C<class> keyword cannot have more than one superclass. | |
| 3313 | 4325 | |
| 3314 | 4326 | =end original |
| 3315 | 4327 | |
| 3316 | (F) C<s | |
| 4328 | (F) C<class> にすでに一つ目のスーパークラスが指定されているときに、 | |
| 4329 | C<:isa> 属性を使うことによって二つ目のスーパークラスを指定しようとしました。 | |
| 4330 | 実体が C<bless> で作られるクラスと異なり、C<class> キーワード経由で | |
| 4331 | 作られるクラスは複数のスーパークラスを持つことは出来ません。 | |
| 3317 | 4332 | |
| 3318 | =item | |
| 4333 | =item Class attribute %s requires a value | |
| 3319 | 4334 | |
| 3320 | 4335 | =begin original |
| 3321 | 4336 | |
| 3322 | ( | |
| 4337 | (F) You specified an attribute for a class that would require a value to | |
| 4338 | be passed in parentheses, but did not provide one. Remember that | |
| 4339 | whitespace is B<not> permitted between the attribute name and its value; | |
| 4340 | you must write this as | |
| 3323 | 4341 | |
| 3324 | 4342 | =end original |
| 3325 | 4343 | |
| 3326 | ( | |
| 4344 | (F) クラスの属性として、かっこに囲まれた値が要求されたところで、 | |
| 4345 | それがありませんでした。 | |
| 4346 | 属性名とその値の間に空白は B<許されない> ことを忘れないでください; | |
| 4347 | 次のように書かなければなりません: | |
| 3327 | 4348 | |
| 4349 | class Example::Class :attr(VALUE) ... | |
| 4350 | ||
| 4351 | =item class is experimental | |
| 4352 | ||
| 4353 | =begin original | |
| 4354 | ||
| 4355 | (S experimental::class) This warning is emitted if you use the C<class> | |
| 4356 | keyword of C<use feature 'class'>. This keyword is currently | |
| 4357 | experimental and its behaviour may change in future releases of Perl. | |
| 4358 | ||
| 4359 | =end original | |
| 4360 | ||
| 4361 | (S experimental::class) この警告は、C<use feature 'class'> の | |
| 4362 | C<class> キーワードを使うと発生します。 | |
| 4363 | このキーワードは現在のところ実験的で、Perl の将来のリリースでは変更される | |
| 4364 | 可能性があります。 | |
| 4365 | ||
| 4366 | =item Class :isa attribute requires a class but "%s" is not one | |
| 4367 | ||
| 4368 | =begin original | |
| 4369 | ||
| 4370 | (F) When creating a subclass using the C<class> C<:isa> attribute, the | |
| 4371 | named superclass must also be a real class created using the C<class> | |
| 4372 | keyword. | |
| 4373 | ||
| 4374 | =end original | |
| 4375 | ||
| 4376 | (F) C<class> C<:isa> 属性を使ってサブクラスを作るとき、 | |
| 4377 | 指定されたスーパークラスも C<class> キーワードを使って作った | |
| 4378 | 実際のクラスでなければなりません。 | |
| 4379 | ||
| 4380 | =item Cloning substitution context is unimplemented | |
| 4381 | ||
| 4382 | =begin original | |
| 4383 | ||
| 4384 | (F) Creating a new thread inside the C<s///> operator is not supported. | |
| 4385 | ||
| 4386 | =end original | |
| 4387 | ||
| 4388 | (F) C<s///> 演算子の中での新しいスレッドの作成は非対応です。 | |
| 4389 | ||
| 3328 | 4390 | =item closedir() attempted on invalid dirhandle %s |
| 3329 | 4391 | |
| 3330 | 4392 | =begin original |
| 3331 | 4393 | |
| 3332 | 4394 | (W io) The dirhandle you tried to close is either closed or not really |
| 3333 | 4395 | a dirhandle. Check your control flow. |
| 3334 | 4396 | |
| 3335 | 4397 | =end original |
| 3336 | 4398 | |
| 3337 | 4399 | (W io) 閉じようとしたディレクトリハンドルは既に閉じられているか、実際には |
| 3338 | 4400 | ディレクトリハンドルではありません。 |
| 3339 | 4401 | 制御フローをチェックしてください。 |
| 3340 | 4402 | |
| 4403 | =item close() on unopened filehandle %s | |
| 4404 | ||
| 4405 | =begin original | |
| 4406 | ||
| 4407 | (W unopened) You tried to close a filehandle that was never opened. | |
| 4408 | ||
| 4409 | =end original | |
| 4410 | ||
| 4411 | (W unopened) オープンされていないファイルハンドルをクローズしようとしました。 | |
| 4412 | ||
| 3341 | 4413 | =item Closure prototype called |
| 3342 | 4414 | |
| 3343 | 4415 | =begin original |
| 3344 | 4416 | |
| 3345 | 4417 | (F) If a closure has attributes, the subroutine passed to an attribute |
| 3346 | 4418 | handler is the prototype that is cloned when a new closure is created. |
| 3347 | 4419 | This subroutine cannot be called. |
| 3348 | 4420 | |
| 3349 | 4421 | =end original |
| 3350 | 4422 | |
| 3351 | 4423 | (F) クロージャに属性があると、属性ハンドラに渡されるサブルーチンは、新しい |
| 3352 | 4424 | クロージャが作成されたときにクローン化されたプロトタイプです。 |
| 3353 | 4425 | このサブルーチンは呼び出すことができません。 |
| 3354 | 4426 | |
| 4427 | =item \C no longer supported in regex; marked by S<<-- HERE> in m/%s/ | |
| 4428 | ||
| 4429 | =begin original | |
| 4430 | ||
| 4431 | (F) The \C character class used to allow a match of single byte | |
| 4432 | within a multi-byte utf-8 character, but was removed in v5.24 as | |
| 4433 | it broke encapsulation and its implementation was extremely buggy. | |
| 4434 | If you really need to process the individual bytes, you probably | |
| 4435 | want to convert your string to one where each underlying byte is | |
| 4436 | stored as a character, with utf8::encode(). | |
| 4437 | ||
| 4438 | =end original | |
| 4439 | ||
| 4440 | (F) \C 文字クラスは、複数バイトの UTF8 文字の単一のバイトに | |
| 4441 | マッチングできるようにしていましたが、 | |
| 4442 | カプセル化を壊し、その実装が極めてバグっぽいので、v5.24 で削除されました。 | |
| 4443 | 本当に個々のバイトを処理する必要があるなら、 | |
| 4444 | おそらくその文字列を、utf8::encode() を使って、 | |
| 4445 | 元となっているバイトそれぞれを文字として保持する文字列に変換した方が | |
| 4446 | 良いでしょう。 | |
| 4447 | ||
| 3355 | 4448 | =item Code missing after '/' |
| 3356 | 4449 | |
| 3357 | 4450 | =begin original |
| 3358 | 4451 | |
| 3359 | 4452 | (F) You had a (sub-)template that ends with a '/'. There must be |
| 3360 | 4453 | another template code following the slash. See L<perlfunc/pack>. |
| 3361 | 4454 | |
| 3362 | 4455 | =end original |
| 3363 | 4456 | |
| 3364 | 4457 | (F) テンプレートが '/' で終わっています。 |
| 3365 | 4458 | スラッシュの後には他のテンプレートコードが必須です。 |
| 3366 | 4459 | L<perlfunc/pack> を参照してください。 |
| 3367 | 4460 | |
| 3368 | =item Code point 0x%X is not Unicode, | |
| 4461 | =item Code point 0x%X is not Unicode, and not portable | |
| 3369 | 4462 | |
| 3370 | =item Code point 0x%X is not Unicode, all \p{} matches fail; all \P{} matches succeed | |
| 3371 | ||
| 3372 | 4463 | =begin original |
| 3373 | 4464 | |
| 3374 | ( | |
| 4465 | (S non_unicode portable) You had a code point that has never been in any | |
| 3375 | o | |
| 4466 | standard, so it is likely that languages other than Perl will NOT | |
| 4467 | understand it. This code point also will not fit in a 32-bit word on | |
| 4468 | ASCII platforms and therefore is non-portable between systems. | |
| 3376 | 4469 | |
| 3377 | 4470 | =end original |
| 3378 | 4471 | |
| 3379 | ( | |
| 4472 | (S non_unicode portable) どのような標準でもない符号位置を使いました; 従って | |
| 4473 | これはおそらく Perl 以外の言語では理解できないでしょう。 | |
| 4474 | この符号位置はまた、ASCII プラットフォームの 32 ビットワードに収まらないので、 | |
| 4475 | システム間で移植性がありません。 | |
| 3380 | 4476 | |
| 3381 | 4477 | =begin original |
| 3382 | 4478 | |
| 3383 | ||
| 4479 | At one time, it was legal in some standards to have code points up to | |
| 3384 | ||
| 4480 | 0x7FFF_FFFF, but not higher, and this code point is higher. | |
| 3385 | but these may not be accepted by other languages/systems. At one time, | |
| 3386 | it was legal in some standards to have code points up to 0x7FFF_FFFF, | |
| 3387 | but not higher. Code points above 0xFFFF_FFFF require larger than a | |
| 3388 | 32 bit word. | |
| 3389 | 4481 | |
| 3390 | 4482 | =end original |
| 3391 | 4483 | |
| 3392 | ||
| 4484 | 一時期、一部の標準では 0x7FFF_FFFF までの符号位置は正当でしたが、 | |
| 3393 | ||
| 4485 | それ以上はそうではありません; そしてこの符号位置はそれ以上です。 | |
| 3394 | 他の言語やシステムでは受け入れないかも知れません。 | |
| 3395 | 同時に、一部の標準では 0x7FFF_FFFF までの符号位置は正当ですが、それ以上は | |
| 3396 | そうではありません。 | |
| 3397 | 0xFFFF_FFFF より上の符号位置は 32 ビットワードより大きいものを要求します。 | |
| 3398 | 4486 | |
| 3399 | 4487 | =begin original |
| 3400 | 4488 | |
| 3401 | ||
| 4489 | Acceptance of these code points is a Perl extension, and you should | |
| 3402 | ||
| 4490 | expect that nothing other than Perl can handle them; Perl itself on | |
| 4491 | EBCDIC platforms before v5.24 does not handle them. | |
| 3403 | 4492 | |
| 3404 | 4493 | =end original |
| 3405 | 4494 | |
| 3406 | ||
| 4495 | このような符号位置を受け付けるのは Perl の拡張で、Perl 以外が | |
| 3407 | ||
| 4496 | これらを扱えるかについて何も想定するべきではありません; | |
| 3408 | ||
| 4497 | v5.24 以前の EBCDIC プラットフォームでは Perl 自身もこれらを扱えません。 | |
| 3409 | 4498 | |
| 3410 | chr(0x7FF_FFFF) =~ /\p{Any}/ | |
| 3411 | ||
| 3412 | 4499 | =begin original |
| 3413 | 4500 | |
| 3414 | ||
| 4501 | Perl also makes no guarantees that the representation of these code | |
| 4502 | points won't change at some point in the future, say when machines | |
| 4503 | become available that have larger than a 64-bit word. At that time, | |
| 4504 | files containing any of these, written by an older Perl might require | |
| 4505 | conversion before being readable by a newer Perl. | |
| 3415 | 4506 | |
| 3416 | 4507 | =end original |
| 3417 | 4508 | |
| 3418 | ||
| 4509 | Perl はまた、将来のある時点、例えばマシンが 64 ビットワード以上を | |
| 3419 | ||
| 4510 | 利用可能になったときに、これらの符号位置の表現が変更されないことについて | |
| 4511 | 保証しません。 | |
| 4512 | この時点で、より古い Perl で書かれた、このようなものをファイルは、 | |
| 4513 | より新しい Perl で読み込めるようにする前に変換が必要です。 | |
| 3420 | 4514 | |
| 3421 | | |
| 4515 | =item Code point 0x%X is not Unicode, may not be portable | |
| 3422 | 4516 | |
| 3423 | 4517 | =begin original |
| 3424 | 4518 | |
| 3425 | ||
| 4519 | (S non_unicode) You had a code point above the Unicode maximum | |
| 4520 | of U+10FFFF. | |
| 3426 | 4521 | |
| 3427 | 4522 | =end original |
| 3428 | 4523 | |
| 3429 | ||
| 4524 | (S non_unicode) Unicode の最大である U+10FFFF を超えた符号位置です。 | |
| 3430 | 4525 | |
| 3431 | 4526 | =begin original |
| 3432 | 4527 | |
| 3433 | ||
| 4528 | Perl allows strings to contain a superset of Unicode code points, but | |
| 4529 | these may not be accepted by other languages/systems. Further, even if | |
| 4530 | these languages/systems accept these large code points, they may have | |
| 4531 | chosen a different representation for them than the UTF-8-like one that | |
| 4532 | Perl has, which would mean files are not exchangeable between them and | |
| 4533 | Perl. | |
| 3434 | 4534 | |
| 3435 | 4535 | =end original |
| 3436 | 4536 | |
| 3437 | ||
| 4537 | Perl は Unicode 符号位置の上位集合を含む文字列を受け入れますが、 | |
| 4538 | これらは他の言語/システムは受け入れないかもしれません。 | |
| 4539 | さらに、たとえこれらの言語/システムがこれらの大きな符号位置を | |
| 4540 | 受け入れたとしても、それらは Perl の UTF-8 風のものと | |
| 4541 | ことなる表現を選ぶかもしれず、その場合それらと Perl の間でファイルが | |
| 4542 | 交換できないことを意味します。 | |
| 3438 | 4543 | |
| 3439 | chr(0x110000) =~ \p{ASCII_Hex_Digit=True} # Fails. | |
| 3440 | chr(0x110000) =~ \p{ASCII_Hex_Digit=False} # Also fails! | |
| 3441 | ||
| 3442 | 4544 | =begin original |
| 3443 | 4545 | |
| 3444 | ||
| 4546 | On EBCDIC platforms, code points above 0x3FFF_FFFF have a different | |
| 4547 | representation in Perl v5.24 than before, so any file containing these | |
| 4548 | that was written before that version will require conversion before | |
| 4549 | being readable by a later Perl. | |
| 3445 | 4550 | |
| 3446 | 4551 | =end original |
| 3447 | 4552 | |
| 3448 | ||
| 4553 | EBCDIC プラットフォームでは、Perl 5.24 では 0x3FFF_FFFF より上の符号位置は | |
| 4554 | 以前と異なった表現となっているので、このバージョンより前に書かれた | |
| 4555 | これらを含むファイルは、それ以降の Perl で読み込み可能にする前に | |
| 4556 | 変換が必要です。 | |
| 3449 | 4557 | |
| 3450 | chr(0x110000) =~ \P{ASCII_Hex_Digit=True} # Succeeds. | |
| 3451 | chr(0x110000) =~ \P{ASCII_Hex_Digit=False} # Also succeeds! | |
| 3452 | ||
| 3453 | 4558 | =item %s: Command not found |
| 3454 | 4559 | |
| 3455 | 4560 | =begin original |
| 3456 | 4561 | |
| 3457 | 4562 | (A) You've accidentally run your script through B<csh> or another shell |
| 3458 | ||
| 4563 | instead of Perl. Check the #! line, or manually feed your script into | |
| 3459 | ||
| 4564 | Perl yourself. The #! line at the top of your file could look like | |
| 3460 | 4565 | |
| 3461 | 4566 | =end original |
| 3462 | 4567 | |
| 3463 | 4568 | (A) スクリプトを perl ではなく B<csh> またはその他のシェルで |
| 3464 | 4569 | 実行しようとしました。 |
| 3465 | #! 行を | |
| 4570 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
| 3466 | ファイルの先頭の #! 行は以下のようにします | |
| 4571 | ファイルの先頭の #! 行は以下のようにします: | |
| 3467 | 4572 | |
| 3468 | #!/usr/bin/perl | |
| 4573 | #!/usr/bin/perl | |
| 3469 | 4574 | |
| 3470 | =item | |
| 4575 | =item %s: command not found | |
| 3471 | 4576 | |
| 3472 | 4577 | =begin original |
| 3473 | 4578 | |
| 3474 | ( | |
| 4579 | (A) You've accidentally run your script through B<bash> or another shell | |
| 3475 | Perl | |
| 4580 | instead of Perl. Check the #! line, or manually feed your script into | |
| 3476 | e | |
| 4581 | Perl yourself. The #! line at the top of your file could look like | |
| 3477 | 4582 | |
| 3478 | 4583 | =end original |
| 3479 | 4584 | |
| 3480 | ( | |
| 4585 | (A) 誤ってスクリプトを Perl ではなく B<bash> やその他のシェルに渡しました。 | |
| 3481 | Perl | |
| 4586 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
| 3482 | ||
| 4587 | ファイルの先頭の #! 行は以下のようにします: | |
| 3483 | 4588 | |
| 3484 | ||
| 4589 | #!/usr/bin/perl | |
| 3485 | 4590 | |
| 3486 | = | |
| 4591 | =item %s: command not found: %s | |
| 3487 | 4592 | |
| 3488 | (W regexp) The regular expression engine uses recursion in complex | |
| 3489 | situations where back-tracking is required. Recursion depth is limited | |
| 3490 | to 32766, or perhaps less in architectures where the stack cannot grow | |
| 3491 | arbitrarily. ("Simple" and "medium" situations are handled without | |
| 3492 | recursion and are not subject to a limit.) Try shortening the string | |
| 3493 | under examination; looping in Perl code (e.g. with C<while>) rather than | |
| 3494 | in the regular expression engine; or rewriting the regular expression so | |
| 3495 | that it is simpler or backtracks less. (See L<perlfaq2> for information | |
| 3496 | on I<Mastering Regular Expressions>.) | |
| 3497 | ||
| 3498 | =end original | |
| 3499 | ||
| 3500 | (W regexp) 正規表現エンジンはバックトラックが要求される複雑な状況では | |
| 3501 | 再帰を使用します。 | |
| 3502 | 再帰の深さは 32766、またはスタックを任意に増やせないアーキテクチャでは | |
| 3503 | おそらくもっと小さい値に制限されています。 | |
| 3504 | (「単純な」または「中くらいの」状況では再帰なしで扱われるので、制限は | |
| 3505 | ありません。) | |
| 3506 | 調べる文字列を短くしてみてください; 正規表現エンジンではなく | |
| 3507 | (C<while> などの) Perl コードを使ってループするか、 | |
| 3508 | あるいは正規表現をより単純にしたり、バックトラックが少なくなるように | |
| 3509 | 書き換えてください。 | |
| 3510 | (I<Mastering Regular Expressions> の情報については L<perlfaq2> を | |
| 3511 | 参照してください。) | |
| 3512 | ||
| 3513 | =item cond_broadcast() called on unlocked variable | |
| 3514 | ||
| 3515 | 4593 | =begin original |
| 3516 | 4594 | |
| 3517 | ( | |
| 4595 | (A) You've accidentally run your script through B<zsh> or another shell | |
| 3518 | ||
| 4596 | instead of Perl. Check the #! line, or manually feed your script into | |
| 3519 | ||
| 4597 | Perl yourself. The #! line at the top of your file could look like | |
| 3520 | that is waiting in a cond_wait(). To ensure that the signal isn't | |
| 3521 | sent before the other thread has a chance to enter the wait, it | |
| 3522 | is usual for the signaling thread first to wait for a lock on | |
| 3523 | variable. This lock attempt will only succeed after the other | |
| 3524 | thread has entered cond_wait() and thus relinquished the lock. | |
| 3525 | 4598 | |
| 3526 | 4599 | =end original |
| 3527 | 4600 | |
| 3528 | ( | |
| 4601 | (A) 誤ってスクリプトを Perl ではなく B<zsh> やその他のシェルに渡しました。 | |
| 3529 | ||
| 4602 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
| 3530 | ||
| 4603 | ファイルの先頭の #! 行は以下のようにします: | |
| 3531 | 起こすために使います。 | |
| 3532 | 他のスレッドが待ち状態になる前にこのシグナルが送られないことを確実に | |
| 3533 | するために、シグナルを送るスレッドはまず変数をロックするために待ち状態に | |
| 3534 | 入るのが普通です。 | |
| 3535 | このロックの試みは他のスレッドが cond_wait() に入ることで、ロックを | |
| 3536 | 手放した場合にのみ成功します。 | |
| 3537 | 4604 | |
| 3538 | ||
| 4605 | #!/usr/bin/perl | |
| 3539 | 4606 | |
| 4607 | =item Compilation failed in require | |
| 4608 | ||
| 3540 | 4609 | =begin original |
| 3541 | 4610 | |
| 3542 | ( | |
| 4611 | (F) Perl could not compile a file specified in a C<require> statement. | |
| 3543 | ||
| 4612 | Perl uses this generic message when none of the errors that it | |
| 3544 | co | |
| 4613 | encountered were severe enough to halt compilation immediately. | |
| 3545 | is waiting in a cond_wait(). To ensure that the signal isn't | |
| 3546 | sent before the other thread has a chance to enter the wait, it | |
| 3547 | is usual for the signaling thread first to wait for a lock on | |
| 3548 | variable. This lock attempt will only succeed after the other | |
| 3549 | thread has entered cond_wait() and thus relinquished the lock. | |
| 3550 | 4614 | |
| 3551 | 4615 | =end original |
| 3552 | 4616 | |
| 3553 | ( | |
| 4617 | (F) Perl は C<require> 文で指定されたファイルをコンパイルできませんでした。 | |
| 3554 | ||
| 4618 | Perl は、コンパイルを直ちに停止させるほど厳しいエラーに遭遇しなかった | |
| 3555 | ||
| 4619 | ときに、この一般的なメッセージを使います。 | |
| 3556 | 起こすために使います。 | |
| 3557 | 他のスレッドが待ち状態になる前にこのシグナルが送られないことを確実に | |
| 3558 | するために、シグナルを送るスレッドはまず変数をロックするために待ち状態に | |
| 3559 | 入るのが普通です。 | |
| 3560 | このロックの試みは他のスレッドが cond_wait() に入ることで、ロックを | |
| 3561 | 手放した場合にのみ成功します。 | |
| 3562 | 4620 | |
| 3563 | 4621 | =item connect() on closed socket %s |
| 3564 | 4622 | |
| 3565 | 4623 | =begin original |
| 3566 | 4624 | |
| 3567 | 4625 | (W closed) You tried to do a connect on a closed socket. Did you forget |
| 3568 | 4626 | to check the return value of your socket() call? See |
| 3569 | 4627 | L<perlfunc/connect>. |
| 3570 | 4628 | |
| 3571 | 4629 | =end original |
| 3572 | 4630 | |
| 3573 | 4631 | (W closed) クローズされたソケットに connent を行なおうとしました。 |
| 3574 | 4632 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
| 3575 | 4633 | L<perlfunc/connect> を参照してください。 |
| 3576 | 4634 | |
| 3577 | =item Constant(%s) | |
| 4635 | =item Constant(%s): Call to &{$^H{%s}} did not return a defined value | |
| 3578 | 4636 | |
| 3579 | 4637 | =begin original |
| 3580 | 4638 | |
| 3581 | (F) The | |
| 4639 | (F) The subroutine registered to handle constant overloading | |
| 3582 | ||
| 4640 | (see L<overload>) or a custom charnames handler (see | |
| 3583 | ||
| 4641 | L<charnames/CUSTOM TRANSLATORS>) returned an undefined value. | |
| 3584 | corresponding L<overload> pragma?. | |
| 3585 | 4642 | |
| 3586 | 4643 | =end original |
| 3587 | 4644 | |
| 3588 | (F) | |
| 4645 | (F) 定数オーバーロード (L<overload> 参照) を扱うために登録された | |
| 3589 | ||
| 4646 | サブルーチンや、カスタム文字名ハンドラ | |
| 3590 | ||
| 4647 | (L<charnames/CUSTOM TRANSLATORS> 参照) が未定義値を返しました。 | |
| 3591 | おそらく対応する C<overload> プラグマの読み込みを忘れたのでは? | |
| 3592 | 4648 | |
| 3593 | =item Constant(%s) | |
| 4649 | =item Constant(%s): $^H{%s} is not defined | |
| 3594 | 4650 | |
| 3595 | 4651 | =begin original |
| 3596 | 4652 | |
| 3597 | (F) The parser found inconsistencies while attempting to fin | |
| 4653 | (F) The parser found inconsistencies while attempting to define an | |
| 3598 | ||
| 4654 | overloaded constant. Perhaps you forgot to load the corresponding | |
| 4655 | L<overload> pragma? | |
| 3599 | 4656 | |
| 3600 | 4657 | =end original |
| 3601 | 4658 | |
| 3602 | (F) パーサ | |
| 4659 | (F) パーサは、オーバーロード定数を定義しようとしたときに矛盾を発見しました。 | |
| 3603 | ||
| 4660 | おそらく対応する L<overload> プラグマを読み込むのを忘れたのでは? | |
| 3604 | 4661 | |
| 3605 | 4662 | =item Constant is not %s reference |
| 3606 | 4663 | |
| 3607 | 4664 | =begin original |
| 3608 | 4665 | |
| 3609 | 4666 | (F) A constant value (perhaps declared using the C<use constant> pragma) |
| 3610 | 4667 | is being dereferenced, but it amounts to the wrong type of reference. |
| 3611 | 4668 | The message indicates the type of reference that was expected. This |
| 3612 | 4669 | usually indicates a syntax error in dereferencing the constant value. |
| 3613 | 4670 | See L<perlsub/"Constant Functions"> and L<constant>. |
| 3614 | 4671 | |
| 3615 | 4672 | =end original |
| 3616 | 4673 | |
| 3617 | 4674 | (F) (おそらく C<use constant> プラグマを使って宣言した) 定数値が |
| 3618 | 4675 | デリファレンスされましたが、間違った型のリファレンスになりました。 |
| 3619 | 4676 | このメッセージは想定されたリファレンスの型を示しています。 |
| 3620 | 4677 | これは普通定数値をデリファレンスするときの文法エラーを示しています。 |
| 3621 | 4678 | L<perlsub/"Constant Functions"> と L<constant> を参照してください。 |
| 3622 | 4679 | |
| 4680 | =item Constants from lexical variables potentially modified elsewhere are no longer permitted | |
| 4681 | ||
| 4682 | =begin original | |
| 4683 | ||
| 4684 | (F) You wrote something like | |
| 4685 | ||
| 4686 | =end original | |
| 4687 | ||
| 4688 | (F) 次のようなものを書きました: | |
| 4689 | ||
| 4690 | my $var; | |
| 4691 | $sub = sub () { $var }; | |
| 4692 | ||
| 4693 | =begin original | |
| 4694 | ||
| 4695 | but $var is referenced elsewhere and could be modified after the C<sub> | |
| 4696 | expression is evaluated. Either it is explicitly modified elsewhere | |
| 4697 | (C<$var = 3>) or it is passed to a subroutine or to an operator like | |
| 4698 | C<printf> or C<map>, which may or may not modify the variable. | |
| 4699 | ||
| 4700 | =end original | |
| 4701 | ||
| 4702 | しかし $var はどこか別の場所へのリファレンスで、 | |
| 4703 | C<sub> 式が評価された後に変更されるかもしれません。 | |
| 4704 | どこかで明示的に変更されたり、(C<$var = 3>) 、 | |
| 4705 | 変数を変更するかどうかわからない、 | |
| 4706 | C<printf> や C<map> のようなサブルーチンや演算子に渡されたりします。 | |
| 4707 | ||
| 4708 | =begin original | |
| 4709 | ||
| 4710 | Traditionally, Perl has captured the value of the variable at that | |
| 4711 | point and turned the subroutine into a constant eligible for inlining. | |
| 4712 | In those cases where the variable can be modified elsewhere, this | |
| 4713 | breaks the behavior of closures, in which the subroutine captures | |
| 4714 | the variable itself, rather than its value, so future changes to the | |
| 4715 | variable are reflected in the subroutine's return value. | |
| 4716 | ||
| 4717 | =end original | |
| 4718 | ||
| 4719 | 伝統的に、Perl はこの時点で変数の値を捕捉して、 | |
| 4720 | サブルーチンをインライン化可能な定数に変換します。 | |
| 4721 | 変数が別の場所で変更可能な場合、 | |
| 4722 | これは、サブルーチンが変数の値ではなく変数自体を捕捉しているので | |
| 4723 | クロージャの振る舞いを壊します; | |
| 4724 | 従って、将来この変数を変更すると、サブルーチンの返り値に反映されます。 | |
| 4725 | ||
| 4726 | =begin original | |
| 4727 | ||
| 4728 | This usage was deprecated, and as of Perl 5.32 is no longer allowed, | |
| 4729 | making it possible to change the behavior in the future. | |
| 4730 | ||
| 4731 | =end original | |
| 4732 | ||
| 4733 | この使用法は廃止予定になり、Perl 5.32 でもはや許されなくなりました; | |
| 4734 | これにより将来振る舞いを換えることが可能になります。 | |
| 4735 | ||
| 4736 | =begin original | |
| 4737 | ||
| 4738 | If you intended for the subroutine to be eligible for inlining, then | |
| 4739 | make sure the variable is not referenced elsewhere, possibly by | |
| 4740 | copying it: | |
| 4741 | ||
| 4742 | =end original | |
| 4743 | ||
| 4744 | サブルーチンをインライン化可能にするのが目的なら、この変数を、 | |
| 4745 | おそらくコピーすることで、他のどこからも参照されないようにしてください: | |
| 4746 | ||
| 4747 | my $var2 = $var; | |
| 4748 | $sub = sub () { $var2 }; | |
| 4749 | ||
| 4750 | =begin original | |
| 4751 | ||
| 4752 | If you do want this subroutine to be a closure that reflects future | |
| 4753 | changes to the variable that it closes over, add an explicit C<return>: | |
| 4754 | ||
| 4755 | =end original | |
| 4756 | ||
| 4757 | このサブルーチンを、これを閉じた後の将来の変数の変更を反映させる | |
| 4758 | クロージャにしたいなら、明示的な C<return> を追加してください: | |
| 4759 | ||
| 4760 | my $var; | |
| 4761 | $sub = sub () { return $var }; | |
| 4762 | ||
| 3623 | 4763 | =item Constant subroutine %s redefined |
| 3624 | 4764 | |
| 3625 | 4765 | =begin original |
| 3626 | 4766 | |
| 3627 | 4767 | (W redefine)(S) You redefined a subroutine which had previously |
| 3628 | 4768 | been eligible for inlining. See L<perlsub/"Constant Functions"> |
| 3629 | 4769 | for commentary and workarounds. |
| 3630 | 4770 | |
| 3631 | 4771 | =end original |
| 3632 | 4772 | |
| 3633 | 4773 | (W redefine)(S) 以前にインライン化できる形であったサブルーチンを |
| 3634 | 4774 | 再定義しました。 |
| 3635 | 4775 | コメントと回避策については L<perlsub/"Constant Functions"> を |
| 3636 | 4776 | 参照してください。 |
| 3637 | 4777 | |
| 3638 | 4778 | =item Constant subroutine %s undefined |
| 3639 | 4779 | |
| 3640 | 4780 | =begin original |
| 3641 | 4781 | |
| 3642 | 4782 | (W misc) You undefined a subroutine which had previously been eligible |
| 3643 | 4783 | for inlining. See L<perlsub/"Constant Functions"> for commentary and |
| 3644 | 4784 | workarounds. |
| 3645 | 4785 | |
| 3646 | 4786 | =end original |
| 3647 | 4787 | |
| 3648 | 4788 | (W misc)以前にインライン化できる形であったサブルーチンを |
| 3649 | 4789 | 未定義化しました。 |
| 3650 | 4790 | コメントと回避策については L<perlsub/"Constant Functions"> を |
| 3651 | 4791 | 参照してください。 |
| 3652 | 4792 | |
| 4793 | =item Constant(%s) unknown | |
| 4794 | ||
| 4795 | =begin original | |
| 4796 | ||
| 4797 | (F) The parser found inconsistencies either while attempting | |
| 4798 | to define an overloaded constant, or when trying to find the | |
| 4799 | character name specified in the C<\N{...}> escape. Perhaps you | |
| 4800 | forgot to load the corresponding L<overload> pragma? | |
| 4801 | ||
| 4802 | =end original | |
| 4803 | ||
| 4804 | (F) パーサは、オーバーロードされた定数を定義しようとしたときか、 | |
| 4805 | C<\N{...}> エスケープで指定された文字名の検索中に矛盾を | |
| 4806 | 発見しました。 | |
| 4807 | おそらく対応する L<overload> プラグマを読み込むのを忘れたのでは? | |
| 4808 | ||
| 4809 | =item :const is not permitted on named subroutines | |
| 4810 | ||
| 4811 | =begin original | |
| 4812 | ||
| 4813 | (F) The "const" attribute causes an anonymous subroutine to be run and | |
| 4814 | its value captured at the time that it is cloned. Named subroutines are | |
| 4815 | not cloned like this, so the attribute does not make sense on them. | |
| 4816 | ||
| 4817 | =end original | |
| 4818 | ||
| 4819 | (F) The "const" 属性は、クローンされたときに値を捕捉された | |
| 4820 | 無名サブルーチンになります。 | |
| 4821 | 名前付きサブルーチンはこのようにクローンされないので、 | |
| 4822 | 属性はこれらに関して意味を持ちません。 | |
| 4823 | ||
| 3653 | 4824 | =item Copy method did not return a reference |
| 3654 | 4825 | |
| 3655 | 4826 | =begin original |
| 3656 | 4827 | |
| 3657 | 4828 | (F) The method which overloads "=" is buggy. See |
| 3658 | 4829 | L<overload/Copy Constructor>. |
| 3659 | 4830 | |
| 3660 | 4831 | =end original |
| 3661 | 4832 | |
| 3662 | 4833 | (F) "=" をオーバーロードしたメソッドはバグっています。 |
| 3663 | 4834 | L<overload/Copy Constructor> を参照してください。 |
| 3664 | 4835 | |
| 3665 | 4836 | =item &CORE::%s cannot be called directly |
| 3666 | 4837 | |
| 3667 | 4838 | =begin original |
| 3668 | 4839 | |
| 3669 | 4840 | (F) You tried to call a subroutine in the C<CORE::> namespace |
| 3670 | 4841 | with C<&foo> syntax or through a reference. Some subroutines |
| 3671 | 4842 | in this package cannot yet be called that way, but must be |
| 3672 | 4843 | called as barewords. Something like this will work: |
| 3673 | 4844 | |
| 3674 | 4845 | =end original |
| 3675 | 4846 | |
| 3676 | 4847 | (F) C<CORE::> 名前空間のサブルーチンを C<&foo> 文法またはリファレンス経由で |
| 3677 | 4848 | 呼び出そうとしました。 |
| 3678 | 4849 | このパッケージの一部のサブルーチンはまだこの方法では呼び出せず、裸の単語で |
| 3679 | 4850 | 呼び出さなければなりません。 |
| 3680 | 4851 | 以下のようなものは動作します: |
| 3681 | 4852 | |
| 3682 | 4853 | BEGIN { *shove = \&CORE::push; } |
| 3683 | 4854 | shove @array, 1,2,3; # pushes on to @array |
| 3684 | 4855 | |
| 3685 | 4856 | =item CORE::%s is not a keyword |
| 3686 | 4857 | |
| 3687 | 4858 | =begin original |
| 3688 | 4859 | |
| 3689 | 4860 | (F) The CORE:: namespace is reserved for Perl keywords. |
| 3690 | 4861 | |
| 3691 | 4862 | =end original |
| 3692 | 4863 | |
| 3693 | 4864 | (F) CORE:: 名前空間は Perl キーワードとして予約されています。 |
| 3694 | 4865 | |
| 4866 | =item Corrupted regexp opcode %d > %d | |
| 4867 | ||
| 4868 | =begin original | |
| 4869 | ||
| 4870 | (P) This is either an error in Perl, or, if you're using | |
| 4871 | one, your L<custom regular expression engine|perlreapi>. If not the | |
| 4872 | latter, report the problem to L<https://github.com/Perl/perl5/issues/new/choose>. | |
| 4873 | ||
| 4874 | =end original | |
| 4875 | ||
| 4876 | (P) これは Perl か、あるいは、使っているなら | |
| 4877 | L<カスタム正規表現エンジン|perlreapi> のエラーです。 | |
| 4878 | 後者でなければ、L<https://github.com/Perl/perl5/issues/new/choose> に | |
| 4879 | 問題を報告してください。 | |
| 4880 | ||
| 3695 | 4881 | =item corrupted regexp pointers |
| 3696 | 4882 | |
| 3697 | 4883 | =begin original |
| 3698 | 4884 | |
| 3699 | 4885 | (P) The regular expression engine got confused by what the regular |
| 3700 | 4886 | expression compiler gave it. |
| 3701 | 4887 | |
| 3702 | 4888 | =end original |
| 3703 | 4889 | |
| 3704 | 4890 | (P) 正規表現コンパイラが渡したもので、正規表現エンジンが |
| 3705 | 4891 | 処理できなくなりました。 |
| 3706 | 4892 | |
| 3707 | 4893 | =item corrupted regexp program |
| 3708 | 4894 | |
| 3709 | 4895 | =begin original |
| 3710 | 4896 | |
| 3711 | 4897 | (P) The regular expression engine got passed a regexp program without a |
| 3712 | 4898 | valid magic number. |
| 3713 | 4899 | |
| 3714 | 4900 | =end original |
| 3715 | 4901 | |
| 3716 | 4902 | (P) 正規表現エンジンが、有効なマジックナンバーを持たない |
| 3717 | 4903 | regexp プログラムを渡しました。 |
| 3718 | 4904 | |
| 3719 | 4905 | =item Corrupt malloc ptr 0x%x at 0x%x |
| 3720 | 4906 | |
| 3721 | 4907 | =begin original |
| 3722 | 4908 | |
| 3723 | 4909 | (P) The malloc package that comes with Perl had an internal failure. |
| 3724 | 4910 | |
| 3725 | 4911 | =end original |
| 3726 | 4912 | |
| 3727 | 4913 | (P) Perl に付属の malloc ルーティンが内部エラーを起こしました。 |
| 3728 | 4914 | |
| 3729 | 4915 | =item Count after length/code in unpack |
| 3730 | 4916 | |
| 3731 | 4917 | =begin original |
| 3732 | 4918 | |
| 3733 | 4919 | (F) You had an unpack template indicating a counted-length string, but |
| 3734 | 4920 | you have also specified an explicit size for the string. See |
| 3735 | 4921 | L<perlfunc/pack>. |
| 3736 | 4922 | |
| 3737 | 4923 | =end original |
| 3738 | 4924 | |
| 3739 | 4925 | (F) unpack のテンプレートとしてカウント長文字列を示していますが、 |
| 3740 | 4926 | 文字列の長さも明示的に指定しています。 |
| 3741 | 4927 | L<perlfunc/pack> を参照してください。 |
| 3742 | 4928 | |
| 4929 | =item Declaring references is experimental | |
| 4930 | ||
| 4931 | =begin original | |
| 4932 | ||
| 4933 | (S experimental::declared_refs) This warning is emitted if you use | |
| 4934 | a reference constructor on the right-hand side of C<my>, C<state>, C<our>, or | |
| 4935 | C<local>. Simply suppress the warning if you want to use the feature, but | |
| 4936 | know that in doing so you are taking the risk of using an experimental | |
| 4937 | feature which may change or be removed in a future Perl version: | |
| 4938 | ||
| 4939 | =end original | |
| 4940 | ||
| 4941 | (S experimental::declared_refs) C<my>, C<state>, C<our>, C<local> の右側で | |
| 4942 | リファレンスコンストラクタを使うとこの警告が出力されます。 | |
| 4943 | この機能を使いたい場合は単にこの警告を抑制してください; ただし | |
| 4944 | そうすることによってあなたは将来のバージョンの Perl で変更したり | |
| 4945 | 削除されたりするかもしれない実験的な機能を使うというリスクを | |
| 4946 | 取っていると言うことを知っておいてください: | |
| 4947 | ||
| 4948 | no warnings "experimental::declared_refs"; | |
| 4949 | use feature "declared_refs"; | |
| 4950 | $fooref = my \$foo; | |
| 4951 | ||
| 4952 | =for comment | |
| 4953 | The following are used in lib/diagnostics.t for testing two =items that | |
| 4954 | share the same description. Changes here need to be propagated to there | |
| 4955 | ||
| 3743 | 4956 | =item Deep recursion on anonymous subroutine |
| 3744 | 4957 | |
| 3745 | 4958 | =item Deep recursion on subroutine "%s" |
| 3746 | 4959 | |
| 3747 | 4960 | =begin original |
| 3748 | 4961 | |
| 3749 | 4962 | (W recursion) This subroutine has called itself (directly or indirectly) |
| 3750 | 4963 | 100 times more than it has returned. This probably indicates an |
| 3751 | 4964 | infinite recursion, unless you're writing strange benchmark programs, in |
| 3752 | 4965 | which case it indicates something else. |
| 3753 | 4966 | |
| 3754 | 4967 | =end original |
| 3755 | 4968 | |
| 3756 | 4969 | (W recursion) このサブルーチンは、(直接、間接に) 自分自身の呼び出しを、 |
| 3757 | 4970 | return より 100 回多く行ないました。 |
| 3758 | 4971 | 変わったベンチマークプログラムを書いているのでなければ、無限再帰の |
| 3759 | 4972 | 可能性があります; ベンチマークを書いている場合には、別のことを示しています。 |
| 3760 | 4973 | |
| 3761 | 4974 | =begin original |
| 3762 | 4975 | |
| 3763 | 4976 | This threshold can be changed from 100, by recompiling the F<perl> binary, |
| 3764 | 4977 | setting the C pre-processor macro C<PERL_SUB_DEPTH_WARN> to the desired value. |
| 3765 | 4978 | |
| 3766 | 4979 | =end original |
| 3767 | 4980 | |
| 3768 | 4981 | この閾値は、C プリプロセッサマクロ C<PERL_SUB_DEPTH_WARN> を希望の値に |
| 3769 | 4982 | 設定して F<perl> バイナリを再コンパイルすることで、100 から変更できます。 |
| 3770 | 4983 | |
| 3771 | =item de | |
| 4984 | =item (?(DEFINE)....) does not allow branches in regex; marked by | |
| 4985 | S<<-- HERE> in m/%s/ | |
| 3772 | 4986 | |
| 3773 | 4987 | =begin original |
| 3774 | 4988 | |
| 3775 | (D deprecated) defined() is not usually useful on arrays because it | |
| 3776 | checks for an undefined I<scalar> value. If you want to see if the | |
| 3777 | array is empty, just use C<if (@array) { # not empty }> for example. | |
| 3778 | ||
| 3779 | =end original | |
| 3780 | ||
| 3781 | (D deprecated) defined() は未定義の I<スカラ> 値を調べるので、配列に使っても | |
| 3782 | 普通は無意味です。 | |
| 3783 | 配列が空かどうかを調べたい場合は、例えば単に | |
| 3784 | C<if (@array) { # not empty }> としてください。 | |
| 3785 | ||
| 3786 | =item defined(%hash) is deprecated | |
| 3787 | ||
| 3788 | =begin original | |
| 3789 | ||
| 3790 | (D deprecated) C<defined()> is not usually right on hashes and has been | |
| 3791 | discouraged since 5.004. | |
| 3792 | ||
| 3793 | =end original | |
| 3794 | ||
| 3795 | (D deprecated) defined() は未定義の I<スカラ> 値を調べるので、配列に | |
| 3796 | 使っても普通は正しくありません。 | |
| 3797 | ||
| 3798 | =begin original | |
| 3799 | ||
| 3800 | Although C<defined %hash> is false on a plain not-yet-used hash, it | |
| 3801 | becomes true in several non-obvious circumstances, including iterators, | |
| 3802 | weak references, stash names, even remaining true after C<undef %hash>. | |
| 3803 | These things make C<defined %hash> fairly useless in practice. | |
| 3804 | ||
| 3805 | =end original | |
| 3806 | ||
| 3807 | まだ使われていない普通のハッシュに対する C<defined %hash> は偽ですが、 | |
| 3808 | いくつかの明白でない状況では新になります; これには反復し、弱い参照、 | |
| 3809 | stash 名を含み、C<undef %hash> の後でも真になります。 | |
| 3810 | これらにより、実践では C<defined %hash> はほとんど使えません。 | |
| 3811 | ||
| 3812 | =begin original | |
| 3813 | ||
| 3814 | If a check for non-empty is what you wanted then just put it in boolean | |
| 3815 | context (see L<perldata/Scalar values>): | |
| 3816 | ||
| 3817 | =end original | |
| 3818 | ||
| 3819 | 空でないことをチェックしたいなら、単にこれを真偽値コンテキストに | |
| 3820 | 置いてください (L<perldata/Scalar values> を参照してください): | |
| 3821 | ||
| 3822 | if (%hash) { | |
| 3823 | # not empty | |
| 3824 | } | |
| 3825 | ||
| 3826 | =begin original | |
| 3827 | ||
| 3828 | If you had C<defined %Foo::Bar::QUUX> to check whether such a package | |
| 3829 | variable exists then that's never really been reliable, and isn't | |
| 3830 | a good way to enquire about the features of a package, or whether | |
| 3831 | it's loaded, etc. | |
| 3832 | ||
| 3833 | =end original | |
| 3834 | ||
| 3835 | パッケージ変数が存在するかどうかを調べるために | |
| 3836 | C<defined %Foo::Bar::QUUX> のようなことをしていると、これは決して信頼性が | |
| 3837 | なく、パッケージの機能や読み込まれているかどうかなどを問い合わせる | |
| 3838 | 良い方法ではありません。 | |
| 3839 | ||
| 3840 | =item (?(DEFINE)....) does not allow branches in regex; marked by <-- HERE in m/%s/ | |
| 3841 | ||
| 3842 | =begin original | |
| 3843 | ||
| 3844 | 4989 | (F) You used something like C<(?(DEFINE)...|..)> which is illegal. The |
| 3845 | 4990 | most likely cause of this error is that you left out a parenthesis inside |
| 3846 | 4991 | of the C<....> part. |
| 3847 | 4992 | |
| 3848 | 4993 | =end original |
| 3849 | 4994 | |
| 3850 | 4995 | (F) 不正な形の C<(?(DEFINE)...|..)> のようなものを使いました。 |
| 3851 | 4996 | このエラーの、もっともありそうな理由は、C<....> パートの中のかっこを |
| 3852 | 4997 | そのままにしたことです。 |
| 3853 | 4998 | |
| 3854 | 4999 | =begin original |
| 3855 | 5000 | |
| 3856 | The <-- HERE shows in the regular expression | |
| 5001 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
| 3857 | 5002 | discovered. |
| 3858 | 5003 | |
| 3859 | 5004 | =end original |
| 3860 | 5005 | |
| 3861 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 5006 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 3862 | 5007 | |
| 3863 | 5008 | =item %s defines neither package nor VERSION--version check failed |
| 3864 | 5009 | |
| 3865 | 5010 | =begin original |
| 3866 | 5011 | |
| 3867 | 5012 | (F) You said something like "use Module 42" but in the Module file |
| 3868 | 5013 | there are neither package declarations nor a C<$VERSION>. |
| 3869 | 5014 | |
| 3870 | 5015 | =end original |
| 3871 | 5016 | |
| 3872 | 5017 | (F) "use Module 42" のようなことをしましたが、Module ファイルに |
| 3873 | 5018 | パッケージ定義がないか、C<$VERSION> がありませんでした。 |
| 3874 | 5019 | |
| 3875 | =item | |
| 5020 | =item delete argument is not a HASH or ARRAY element or slice | |
| 3876 | 5021 | |
| 3877 | 5022 | =begin original |
| 3878 | 5023 | |
| 3879 | (F) | |
| 5024 | (F) The argument to C<delete> must be either a hash or array element, | |
| 3880 | ||
| 5025 | such as: | |
| 3881 | that triggers this error. | |
| 3882 | 5026 | |
| 3883 | 5027 | =end original |
| 3884 | 5028 | |
| 3885 | (F) C< | |
| 5029 | (F) C<delete> の引数は以下のようにハッシュか配列の要素であるか: | |
| 3886 | Perl が扱うには長すぎました。 | |
| 3887 | このエラーを起こすようなコードを書くには相当ひねくれている必要があります。 | |
| 3888 | 5030 | |
| 3889 | ||
| 5031 | $foo{$bar} | |
| 5032 | $ref->{"susie"}[12] | |
| 3890 | 5033 | |
| 3891 | 5034 | =begin original |
| 3892 | 5035 | |
| 3893 | ||
| 5036 | or a hash or array slice, such as: | |
| 3894 | But starting in 5.12, non-reasonable ones that don't look like names | |
| 3895 | are deprecated. A reasonable name begins with an alphabetic character | |
| 3896 | and continues with any combination of alphanumerics, dashes, spaces, | |
| 3897 | parentheses or colons. | |
| 3898 | 5037 | |
| 3899 | 5038 | =end original |
| 3900 | 5039 | |
| 3901 | ||
| 5040 | あるいは以下のようにハッシュか配列のスライスか: | |
| 3902 | しかし 5.12 から、名前のように見えない正当でないものは廃止予定です。 | |
| 3903 | 正当な名前は英字で始まって英数字、ダッシュ、空白、かっこ、コロンが | |
| 3904 | 引き続くものです。 | |
| 3905 | 5041 | |
| 3906 | ||
| 5042 | @foo[$bar, $baz, $xyzzy] | |
| 5043 | $ref->[12]->@{"susie", "queue"} | |
| 3907 | 5044 | |
| 3908 | 5045 | =begin original |
| 3909 | 5046 | |
| 3910 | ||
| 5047 | or a hash key/value or array index/value slice, such as: | |
| 3911 | has been a long-standing bug in Perl that causes a lexical variable | |
| 3912 | not to be cleared at scope exit when its declaration includes a false | |
| 3913 | conditional. Some people have exploited this bug to achieve a kind of | |
| 3914 | static variable. Since we intend to fix this bug, we don't want people | |
| 3915 | relying on this behavior. You can achieve a similar static effect by | |
| 3916 | declaring the variable in a separate block outside the function, eg | |
| 3917 | 5048 | |
| 3918 | 5049 | =end original |
| 3919 | 5050 | |
| 3920 | ||
| 5051 | あるいは以下のようにハッシュのキー/値や配列のインデックス/値で | |
| 3921 | ||
| 5052 | なければなりません: | |
| 3922 | クリアされないという、Perl に長い間存在したバグです。 | |
| 3923 | ある種の静的変数を実現するためにこのバグを悪用する人々もいます。 | |
| 3924 | 私たちはこのバグを修正するつもりなので、人々がこの振る舞いに依存して | |
| 3925 | ほしくありません。 | |
| 3926 | 関数外の別のブロックで変数を宣言することで似たような静的な効果を | |
| 3927 | 達成できます; 例えば: | |
| 3928 | 5053 | |
| 3929 | | |
| 5054 | %foo[$bar, $baz, $xyzzy] | |
| 5055 | $ref->[12]->%{"susie", "queue"} | |
| 3930 | 5056 | |
| 3931 | = | |
| 5057 | =item Delimiter for here document is too long | |
| 3932 | 5058 | |
| 3933 | becomes | |
| 3934 | ||
| 3935 | =end original | |
| 3936 | ||
| 3937 | これは以下のようにします: | |
| 3938 | ||
| 3939 | { my $x; sub f { return $x++ } } | |
| 3940 | ||
| 3941 | 5059 | =begin original |
| 3942 | 5060 | |
| 3943 | ||
| 5061 | (F) In a here document construct like C<<<FOO>, the label C<FOO> is too | |
| 3944 | le | |
| 5062 | long for Perl to handle. You have to be seriously twisted to write code | |
| 5063 | that triggers this error. | |
| 3945 | 5064 | |
| 3946 | 5065 | =end original |
| 3947 | 5066 | |
| 3948 | ||
| 5067 | (F) C<<<FOO> のようなヒアドキュメント構造で、ラベル C<FOO> が | |
| 3949 | ||
| 5068 | Perl が扱うには長すぎました。 | |
| 5069 | このエラーを起こすようなコードを書くには相当ひねくれている必要があります。 | |
| 3950 | 5070 | |
| 3951 | sub f { state $x; return $x++ } | |
| 3952 | ||
| 3953 | 5071 | =item DESTROY created new reference to dead object '%s' |
| 3954 | 5072 | |
| 3955 | 5073 | =begin original |
| 3956 | 5074 | |
| 3957 | 5075 | (F) A DESTROY() method created a new reference to the object which is |
| 3958 | 5076 | just being DESTROYed. Perl is confused, and prefers to abort rather |
| 3959 | 5077 | than to create a dangling reference. |
| 3960 | 5078 | |
| 3961 | 5079 | =end original |
| 3962 | 5080 | |
| 3963 | 5081 | (F) DESTROY() メソッドが、DESTROY したばかりのオブジェクトへの |
| 3964 | 5082 | 新しいリファレンスを作りました。 |
| 3965 | 5083 | Perl は混乱して、不明瞭なリファレンスを作るよりは中断することを選びました。 |
| 3966 | 5084 | |
| 3967 | 5085 | =item Did not produce a valid header |
| 3968 | 5086 | |
| 3969 | 5087 | =begin original |
| 3970 | 5088 | |
| 3971 | See Server error. | |
| 5089 | See L</500 Server error>. | |
| 3972 | 5090 | |
| 3973 | 5091 | =end original |
| 3974 | 5092 | |
| 3975 | ||
| 5093 | L</500 Server error> を参照してください。 | |
| 3976 | 5094 | |
| 3977 | 5095 | =item %s did not return a true value |
| 3978 | 5096 | |
| 3979 | 5097 | =begin original |
| 3980 | 5098 | |
| 3981 | 5099 | (F) A required (or used) file must return a true value to indicate that |
| 3982 | 5100 | it compiled correctly and ran its initialization code correctly. It's |
| 3983 | 5101 | traditional to end such a file with a "1;", though any true value would |
| 3984 | 5102 | do. See L<perlfunc/require>. |
| 3985 | 5103 | |
| 3986 | 5104 | =end original |
| 3987 | 5105 | |
| 3988 | 5106 | (F) require (や use) されたファイルは、正常にコンパイルされ、 |
| 3989 | 5107 | 初期化コードを正しく実行したことを示すために、真を返さなければなりません。 |
| 3990 | 5108 | こういったファイルは、"1;" で終わるようにするのが習慣ですが、 |
| 3991 | 5109 | 真となる値であれば、何でもかまいません。 |
| 3992 | 5110 | L<perlfunc/require> を参照してください。 |
| 3993 | 5111 | |
| 3994 | 5112 | =item (Did you mean &%s instead?) |
| 3995 | 5113 | |
| 3996 | 5114 | =begin original |
| 3997 | 5115 | |
| 3998 | 5116 | (W misc) You probably referred to an imported subroutine &FOO as $FOO or |
| 3999 | 5117 | some such. |
| 4000 | 5118 | |
| 4001 | 5119 | =end original |
| 4002 | 5120 | |
| 4003 | 5121 | (W misc) おそらく import したサブルーチン &FOO を $FOO として |
| 4004 | 5122 | 参照したようなことでしょう。 |
| 4005 | 5123 | |
| 4006 | 5124 | =item (Did you mean "local" instead of "our"?) |
| 4007 | 5125 | |
| 4008 | 5126 | =begin original |
| 4009 | 5127 | |
| 4010 | (W | |
| 5128 | (W shadow) Remember that "our" does not localize the declared global | |
| 4011 | 5129 | variable. You have declared it again in the same lexical scope, which |
| 4012 | 5130 | seems superfluous. |
| 4013 | 5131 | |
| 4014 | 5132 | =end original |
| 4015 | 5133 | |
| 4016 | (W | |
| 5134 | (W shadow) "our" 宣言されたグローバル変数を local 化しないことを | |
| 4017 | 5135 | 忘れないで下さい。 |
| 4018 | 5136 | これをもう一度同じレキシカルスコープで宣言していますが、 |
| 4019 | 5137 | 不必要でしょう。 |
| 4020 | 5138 | |
| 4021 | 5139 | =item (Did you mean $ or @ instead of %?) |
| 4022 | 5140 | |
| 4023 | 5141 | =begin original |
| 4024 | 5142 | |
| 4025 | 5143 | (W) You probably said %hash{$key} when you meant $hash{$key} or |
| 4026 | 5144 | @hash{@keys}. On the other hand, maybe you just meant %hash and got |
| 4027 | 5145 | carried away. |
| 4028 | 5146 | |
| 4029 | 5147 | =end original |
| 4030 | 5148 | |
| 4031 | 5149 | (W) おそらく $hash{$key} か @hash{@keys} としたいときに %hash{$key} と |
| 4032 | 5150 | したのでしょう。 |
| 4033 | 5151 | あるいは、単に %hash としたくてやりすぎたのでしょう。 |
| 4034 | 5152 | |
| 4035 | 5153 | =item Died |
| 4036 | 5154 | |
| 4037 | 5155 | =begin original |
| 4038 | 5156 | |
| 4039 | 5157 | (F) You passed die() an empty string (the equivalent of C<die "">) or |
| 4040 | 5158 | you called it with no args and C<$@> was empty. |
| 4041 | 5159 | |
| 4042 | 5160 | =end original |
| 4043 | 5161 | |
| 4044 | 5162 | (F) die() に空文字列を渡した(C<die ""> と等価です)か、引数なしで |
| 4045 | 5163 | 呼び出して、C<$@> が空でした。 |
| 4046 | 5164 | |
| 4047 | 5165 | =item Document contains no data |
| 4048 | 5166 | |
| 4049 | 5167 | =begin original |
| 4050 | 5168 | |
| 4051 | See Server error. | |
| 5169 | See L</500 Server error>. | |
| 4052 | 5170 | |
| 4053 | 5171 | =end original |
| 4054 | 5172 | |
| 4055 | ||
| 5173 | L</500 Server error> を参照してください。 | |
| 4056 | 5174 | |
| 4057 | 5175 | =item %s does not define %s::VERSION--version check failed |
| 4058 | 5176 | |
| 4059 | 5177 | =begin original |
| 4060 | 5178 | |
| 4061 | 5179 | (F) You said something like "use Module 42" but the Module did not |
| 4062 | define a C<$VERSION | |
| 5180 | define a C<$VERSION>. | |
| 4063 | 5181 | |
| 4064 | 5182 | =end original |
| 4065 | 5183 | |
| 4066 | 5184 | (F) "use Module 42" のようなことをしましたが、Module は C<$VERSION> を |
| 4067 | 5185 | 定義していません。 |
| 4068 | 5186 | |
| 4069 | =item '/' does not take a repeat count | |
| 5187 | =item '/' does not take a repeat count in %s | |
| 4070 | 5188 | |
| 4071 | 5189 | =begin original |
| 4072 | 5190 | |
| 4073 | 5191 | (F) You cannot put a repeat count of any kind right after the '/' code. |
| 4074 | 5192 | See L<perlfunc/pack>. |
| 4075 | 5193 | |
| 4076 | 5194 | =end original |
| 4077 | 5195 | |
| 4078 | 5196 | (F) '/' の直後には繰り返し数を指定できません。 |
| 4079 | 5197 | L<perlfunc/pack> を参照してください。 |
| 4080 | 5198 | |
| 4081 | =item | |
| 5199 | =item do "%s" failed, '.' is no longer in @INC; did you mean do "./%s"? | |
| 4082 | 5200 | |
| 4083 | 5201 | =begin original |
| 4084 | 5202 | |
| 5203 | (D deprecated::dot_in_inc) Previously C< do "somefile"; > would search | |
| 5204 | the current directory for the specified file. Since perl v5.26.0, F<.> | |
| 5205 | has been removed from C<@INC> by default, so this is no longer true. To | |
| 5206 | search the current directory (and only the current directory) you can | |
| 5207 | write C< do "./somefile"; >. | |
| 5208 | ||
| 5209 | =end original | |
| 5210 | ||
| 5211 | (D deprecated::dot_in_inc) 以前は、C< do "somefile"; > は指定された | |
| 5212 | ファイルをカレントディレクトリから探していました。 | |
| 5213 | perl v5.26.0 から、デフォルトで C<@INC> から F<.> 削除されたので、 | |
| 5214 | これはもはや真ではありません。 | |
| 5215 | カレントディレクトリを(カレントディレクトリだけを)探すためには、 | |
| 5216 | C< do "./somefile"; > と書けます。 | |
| 5217 | ||
| 5218 | =item '%s' does not appear to be an imported builtin function | |
| 5219 | ||
| 5220 | =begin original | |
| 5221 | ||
| 5222 | (F) An attempt was made to remove a previously-imported lexical from | |
| 5223 | L<builtin> by using the C<unimport> method (likely via C<no builtin ...> | |
| 5224 | syntax), but the requested function has not been imported into the current | |
| 5225 | scope. | |
| 5226 | ||
| 5227 | =end original | |
| 5228 | ||
| 5229 | (F) (おそらく C<no builtin ...> 構文を通じて) C<unimport> メソッドを | |
| 5230 | 使って、以前にインポートされた語彙を L<builtin> から削除しようとしましたが、 | |
| 5231 | 要求された関数は現在のスコープにインポートされていません。 | |
| 5232 | ||
| 5233 | =item Don't know how to get file name | |
| 5234 | ||
| 5235 | =begin original | |
| 5236 | ||
| 5237 | (P) C<PerlIO_getname>, a perl internal I/O function specific to VMS, was | |
| 5238 | somehow called on another platform. This should not happen. | |
| 5239 | ||
| 5240 | =end original | |
| 5241 | ||
| 5242 | (P) VMS 固有の perl 内部 I/O 関数である C<PerlIO_getname> がなぜか | |
| 5243 | 他のプラットフォームで呼び出されました。 | |
| 5244 | これは起きないはずです。 | |
| 5245 | ||
| 5246 | =item Don't know how to handle magic of type \%o | |
| 5247 | ||
| 5248 | =begin original | |
| 5249 | ||
| 4085 | 5250 | (P) The internal handling of magical variables has been cursed. |
| 4086 | 5251 | |
| 4087 | 5252 | =end original |
| 4088 | 5253 | |
| 4089 | 5254 | (P) マジカル変数の内部処理がおかしくなっています。 |
| 4090 | 5255 | |
| 4091 | =item | |
| 5256 | =item Downgrading a use VERSION declaration to below v5.11 is not permitted | |
| 4092 | 5257 | |
| 4093 | 5258 | =begin original |
| 4094 | 5259 | |
| 4095 | ( | |
| 5260 | (F) A C<use VERSION> statement that requests a version below v5.11 | |
| 5261 | (when the effects of C<use strict> would be disabled) has been found | |
| 5262 | after a previous declaration of one having a larger number (which would | |
| 5263 | have enabled these effects). Because of a change to the way that | |
| 5264 | C<use VERSION> interacts with the strictness flags, this is no longer | |
| 5265 | supported. | |
| 4096 | 5266 | |
| 4097 | 5267 | =end original |
| 4098 | 5268 | |
| 4099 | ( | |
| 5269 | (F) (C<use strict> の効果が | |
| 5270 | 無効の時に) (これが有効なときに) その前により大きな値が宣言された後、 | |
| 5271 | v5.11 より小さいバージョンを要求する C<use VERSION> 文が見つかりました。 | |
| 5272 | C<use VERSION> と strict フラグとの相互作用する方法が変更されたため、 | |
| 5273 | これはもはや対応されません。 | |
| 4100 | 5274 | |
| 4101 | 5275 | =item (Do you need to predeclare %s?) |
| 4102 | 5276 | |
| 4103 | 5277 | =begin original |
| 4104 | 5278 | |
| 4105 | 5279 | (S syntax) This is an educated guess made in conjunction with the message |
| 4106 | 5280 | "%s found where operator expected". It often means a subroutine or module |
| 4107 | 5281 | name is being referenced that hasn't been declared yet. This may be |
| 4108 | 5282 | because of ordering problems in your file, or because of a missing |
| 4109 | 5283 | "sub", "package", "require", or "use" statement. If you're referencing |
| 4110 | 5284 | something that isn't defined yet, you don't actually have to define the |
| 4111 | 5285 | subroutine or package before the current location. You can use an empty |
| 4112 | 5286 | "sub foo;" or "package FOO;" to enter a "forward" declaration. |
| 4113 | 5287 | |
| 4114 | 5288 | =end original |
| 4115 | 5289 | |
| 4116 | 5290 | (S syntax) これは "%s found where operator expected" メッセージと共に |
| 4117 | 5291 | 表示される教育的な推測です。 |
| 4118 | 5292 | これはしばしばサブルーチンやモジュール名がまだ宣言される前に参照されている |
| 4119 | 5293 | ことを意味します。 |
| 4120 | 5294 | これはファイル内部での順番のためであったり、"sub", "package", "require", |
| 4121 | 5295 | "use" 文がないためであったりします。 |
| 4122 | 5296 | もしまだ定義されていないものを参照したい場合、現在位置より前に実際に |
| 4123 | 5297 | サブルーチンやパッケージを定義する必要はありません。 |
| 4124 | 5298 | 空の "sub foo;" や "package FOO;" を「前方」宣言として使えます。 |
| 4125 | 5299 | |
| 4126 | =item dump() be | |
| 5300 | =item dump() must be written as CORE::dump() as of Perl 5.30 | |
| 4127 | 5301 | |
| 4128 | 5302 | =begin original |
| 4129 | 5303 | |
| 4130 | ( | |
| 5304 | (F) You used the obsolete C<dump()> built-in function. That was deprecated in | |
| 4131 | ||
| 5305 | Perl 5.8.0. As of Perl 5.30 it must be written in fully qualified format: | |
| 5306 | C<CORE::dump()>. | |
| 4132 | 5307 | |
| 4133 | 5308 | =end original |
| 4134 | 5309 | |
| 4135 | ( | |
| 5310 | (F) 古いものである C<dump()> 組み込み関数を使いました。 | |
| 4136 | ||
| 5311 | これは Perl 5.8.0 から廃止予定でした。 | |
| 4137 | ||
| 5312 | Perl 5.30 から、これは C<CORE::dump()> というように完全修飾形式で | |
| 5313 | 書かなければなりません。 | |
| 5314 | ||
| 5315 | =begin original | |
| 5316 | ||
| 5317 | See L<perlfunc/dump>. | |
| 5318 | ||
| 5319 | =end original | |
| 5320 | ||
| 4138 | 5321 | L<perlfunc/dump> を参照してください。 |
| 4139 | 5322 | |
| 4140 | 5323 | =item dump is not supported |
| 4141 | 5324 | |
| 4142 | 5325 | =begin original |
| 4143 | 5326 | |
| 4144 | 5327 | (F) Your machine doesn't support dump/undump. |
| 4145 | 5328 | |
| 4146 | 5329 | =end original |
| 4147 | 5330 | |
| 4148 | 5331 | (F) このマシンは dump/undump に対応していません。 |
| 4149 | 5332 | |
| 4150 | 5333 | =item Duplicate free() ignored |
| 4151 | 5334 | |
| 4152 | 5335 | =begin original |
| 4153 | 5336 | |
| 4154 | 5337 | (S malloc) An internal routine called free() on something that had |
| 4155 | 5338 | already been freed. |
| 4156 | 5339 | |
| 4157 | 5340 | =end original |
| 4158 | 5341 | |
| 4159 | 5342 | (S malloc) 既に解放されているものに対して、内部ルーティンが free() を |
| 4160 | 5343 | 行なおうとしました。 |
| 4161 | 5344 | |
| 4162 | 5345 | =item Duplicate modifier '%c' after '%c' in %s |
| 4163 | 5346 | |
| 4164 | 5347 | =begin original |
| 4165 | 5348 | |
| 4166 | (W) You have applied the same modifier more than once after a | |
| 5349 | (W unpack) You have applied the same modifier more than once after a | |
| 4167 | in a pack template. See L<perlfunc/pack>. | |
| 5350 | type in a pack template. See L<perlfunc/pack>. | |
| 4168 | 5351 | |
| 4169 | 5352 | =end original |
| 4170 | 5353 | |
| 4171 | (W) pack テンプレートで、一つの型の後に同じ修飾子を複数指定しました。 | |
| 5354 | (W unpack) pack テンプレートで、一つの型の後に同じ修飾子を複数指定しました。 | |
| 4172 | 5355 | L<perlfunc/pack> を参照してください。 |
| 4173 | 5356 | |
| 5357 | =item each on anonymous %s will always start from the beginning | |
| 5358 | ||
| 5359 | =begin original | |
| 5360 | ||
| 5361 | (W syntax) You called L<each|perlfunc/each> on an anonymous hash or | |
| 5362 | array. Since a new hash or array is created each time, each() will | |
| 5363 | restart iterating over your hash or array every time. | |
| 5364 | ||
| 5365 | =end original | |
| 5366 | ||
| 5367 | (W syntax) L<each|perlfunc/each> を無名ハッシュまたは配列で呼び出しました。 | |
| 5368 | 新しいハッシュや配列は毎回作成されるので、 | |
| 5369 | each() は毎回ハッシュや配列に対して反復を再始動します。 | |
| 5370 | ||
| 4174 | 5371 | =item elseif should be elsif |
| 4175 | 5372 | |
| 4176 | 5373 | =begin original |
| 4177 | 5374 | |
| 4178 | 5375 | (S syntax) There is no keyword "elseif" in Perl because Larry thinks |
| 4179 | 5376 | it's ugly. Your code will be interpreted as an attempt to call a method |
| 4180 | 5377 | named "elseif" for the class returned by the following block. This is |
| 4181 | 5378 | unlikely to be what you want. |
| 4182 | 5379 | |
| 4183 | 5380 | =end original |
| 4184 | 5381 | |
| 4185 | 5382 | (S) Larry は "elseif" というのは醜いと考えたので、Perl にはこのキーワードは |
| 4186 | 5383 | ありません。 |
| 4187 | 5384 | このコードは引き続くブロックによって返されたクラスの "elseif" メソッドを |
| 4188 | 5385 | 呼び出そうとしていると解釈されます。 |
| 4189 | 5386 | これは望んでいることではないはずです。 |
| 4190 | 5387 | |
| 4191 | =item Empty %s | |
| 5388 | =item Empty \%c in regex; marked by S<<-- HERE> in m/%s/ | |
| 4192 | 5389 | |
| 5390 | =item Empty \%c{} | |
| 5391 | ||
| 5392 | =item Empty \%c{} in regex; marked by S<<-- HERE> in m/%s/ | |
| 5393 | ||
| 4193 | 5394 | =begin original |
| 4194 | 5395 | |
| 4195 | (F) | |
| 5396 | (F) You used something like C<\b{}>, C<\B{}>, C<\o{}>, C<\p>, C<\P>, or | |
| 4196 | ||
| 5397 | C<\x> without specifying anything for it to operate on. | |
| 4197 | a regular expression without specifying the property name. | |
| 4198 | 5398 | |
| 4199 | 5399 | =end original |
| 4200 | 5400 | |
| 4201 | (F) | |
| 5401 | (F) 何を操作するかを指定せずに | |
| 4202 | ||
| 5402 | C<\b{}>, C<\B{}>, C<\o{}>, C<\p>, C<\P>, C<\x> のようなものを使いました。 | |
| 4203 | 正規表現の中で、C<\p> や C<\P> をプロパティ名の指定なしに使いました。 | |
| 4204 | 5403 | |
| 5404 | =begin original | |
| 5405 | ||
| 5406 | Unfortunately, for backwards compatibility reasons, an empty C<\x> is | |
| 5407 | legal outside S<C<use re 'strict'>> and expands to a NUL character. | |
| 5408 | ||
| 5409 | =end original | |
| 5410 | ||
| 5411 | 残念ながら、後方互換性のために、S<C<use re 'strict'>> の外側での空の | |
| 5412 | C<\x> は正当で、一つの NUL 文字に展開されます。 | |
| 5413 | ||
| 5414 | =item Empty (?) without any modifiers in regex; marked by <-- HERE in m/%s/ | |
| 5415 | ||
| 5416 | =begin original | |
| 5417 | ||
| 5418 | (W regexp) (only under C<S<use re 'strict'>>) | |
| 5419 | C<(?)> does nothing, so perhaps this is a typo. | |
| 5420 | ||
| 5421 | =end original | |
| 5422 | ||
| 5423 | (W regexp) (C<S<use re 'strict'>> の下のみ) | |
| 5424 | C<(?)> は何もしません; 従ってこれはおそらくタイプミスです。 | |
| 5425 | ||
| 5426 | =item ${^ENCODING} is no longer supported | |
| 5427 | ||
| 5428 | =begin original | |
| 5429 | ||
| 5430 | (F) The special variable C<${^ENCODING}>, formerly used to implement | |
| 5431 | the C<encoding> pragma, is no longer supported as of Perl 5.26.0. | |
| 5432 | ||
| 5433 | =end original | |
| 5434 | ||
| 5435 | (F) 以前は C<encoding> プラグマの実装に使われていた | |
| 5436 | 特殊変数 C<${^ENCODING}> は、Perl 5.26.0 からもはや対応されません。 | |
| 5437 | ||
| 5438 | =begin original | |
| 5439 | ||
| 5440 | Setting it to anything other than C<undef> is a fatal error as of Perl | |
| 5441 | 5.28. | |
| 5442 | ||
| 5443 | =end original | |
| 5444 | ||
| 5445 | これに C<undef> 以外のものを設定すると Perl 5.28 から致命的エラーが出ます。 | |
| 5446 | ||
| 5447 | =item ${^HOOK}{%s} may only be a CODE reference or undef | |
| 5448 | ||
| 5449 | =begin original | |
| 5450 | ||
| 5451 | (F) You attempted to assign something other than undef or a CODE ref to | |
| 5452 | C<%{^HOOK}>. Hooks may only be CODE refs. See L<perlvar/%{^HOOK}> for | |
| 5453 | details. | |
| 5454 | ||
| 5455 | =end original | |
| 5456 | ||
| 5457 | (F) 未定義値やコードリファレンスでないものを | |
| 5458 | C<%{^HOOK}> に代入しようとしました。 | |
| 5459 | フックはコードリファレンスのみです。 | |
| 5460 | 詳しくは L<perlvar/%{^HOOK}> を参照してください。 | |
| 5461 | ||
| 5462 | =item Attempt to set unknown hook '%s' in %{^HOOK} | |
| 5463 | ||
| 5464 | =begin original | |
| 5465 | ||
| 5466 | (F) You attempted to assign something other than undef or a CODE ref to | |
| 5467 | C<%{^HOOK}>. Hooks may only be CODE refs. See L<perlvar/%{^HOOK}> for | |
| 5468 | details. | |
| 5469 | ||
| 5470 | =end original | |
| 5471 | ||
| 5472 | (F) 未定義値やコードリファレンスでないものを | |
| 5473 | C<%{^HOOK}> に代入しようとしました。 | |
| 5474 | フックはコードリファレンスのみです。 | |
| 5475 | 詳しくは L<perlvar/%{^HOOK}> を参照してください。 | |
| 5476 | ||
| 4205 | 5477 | =item entering effective %s failed |
| 4206 | 5478 | |
| 4207 | 5479 | =begin original |
| 4208 | 5480 | |
| 4209 | 5481 | (F) While under the C<use filetest> pragma, switching the real and |
| 4210 | 5482 | effective uids or gids failed. |
| 4211 | 5483 | |
| 4212 | 5484 | =end original |
| 4213 | 5485 | |
| 4214 | 5486 | (F) C<use filetest> プラグマを使っている間に、 |
| 4215 | 5487 | 実と実効の UID や GID の切り替えに失敗しました。 |
| 4216 | 5488 | |
| 4217 | 5489 | =item %ENV is aliased to %s |
| 4218 | 5490 | |
| 4219 | 5491 | =begin original |
| 4220 | 5492 | |
| 4221 | 5493 | (F) You're running under taint mode, and the C<%ENV> variable has been |
| 4222 | 5494 | aliased to another hash, so it doesn't reflect anymore the state of the |
| 4223 | 5495 | program's environment. This is potentially insecure. |
| 4224 | 5496 | |
| 4225 | 5497 | =end original |
| 4226 | 5498 | |
| 4227 | 5499 | (F) 汚染モードで動作していて、C<%ENV> 変数が他のハッシュへのエイリアスに |
| 4228 | 5500 | なっているので、これ以上プログラムの環境の状態を反映しません。 |
| 4229 | 5501 | これは潜在的にはセキュアではありません。 |
| 4230 | 5502 | |
| 4231 | 5503 | =item Error converting file specification %s |
| 4232 | 5504 | |
| 4233 | 5505 | =begin original |
| 4234 | 5506 | |
| 4235 | 5507 | (F) An error peculiar to VMS. Because Perl may have to deal with file |
| 4236 | 5508 | specifications in either VMS or Unix syntax, it converts them to a |
| 4237 | 5509 | single form when it must operate on them directly. Either you've passed |
| 4238 | 5510 | an invalid file specification to Perl, or you've found a case the |
| 4239 | 5511 | conversion routines don't handle. Drat. |
| 4240 | 5512 | |
| 4241 | 5513 | =end original |
| 4242 | 5514 | |
| 4243 | 5515 | (F) VMS に固有のエラーです。 |
| 4244 | 5516 | Perl はファイル仕様を VMS 式か Unix 式かどちらかで扱わなければならないので、 |
| 4245 | 5517 | 直接操作しなければならない場合は変換します。 |
| 4246 | 5518 | 不正なファイル仕様を Perl に渡したか、変換ルーチンが扱えないパターンを |
| 4247 | 5519 | 発見したかです。 |
| 4248 | 5520 | ちぇっ。 |
| 4249 | 5521 | |
| 4250 | =item | |
| 5522 | =item Error %s in expansion of %s | |
| 4251 | 5523 | |
| 4252 | 5524 | =begin original |
| 4253 | 5525 | |
| 5526 | (F) An error was encountered in handling a user-defined property | |
| 5527 | (L<perlunicode/User-Defined Character Properties>). These are | |
| 5528 | programmer written subroutines, hence subject to errors that may | |
| 5529 | prevent them from compiling or running. The calls to these subs are | |
| 5530 | C<eval>'d, and if there is a failure, this message is raised, using the | |
| 5531 | contents of C<$@> from the failed C<eval>. | |
| 5532 | ||
| 5533 | =end original | |
| 5534 | ||
| 5535 | (F) ユーザー定義特性 | |
| 5536 | (L<perlunicode/User-Defined Character Properties>) の扱いで | |
| 5537 | エラーに遭遇しました。 | |
| 5538 | これらはプログラマが書いたサブルーチンなので、 | |
| 5539 | エラーがコンパイルや実行を阻害することがあります。 | |
| 5540 | これらのサブルーチンの呼び出しは | |
| 5541 | C<eval> され、エラーがある場合、失敗した C<eval> からの C<$@> の内容を使って | |
| 5542 | このメッセージが発生します。 | |
| 5543 | ||
| 5544 | =begin original | |
| 5545 | ||
| 5546 | Another possibility is that tainted data was encountered somewhere in | |
| 5547 | the chain of expanding the property. If so, the message wording will | |
| 5548 | indicate that this is the problem. See L</Insecure user-defined | |
| 5549 | property %s>. | |
| 5550 | ||
| 5551 | =end original | |
| 5552 | ||
| 5553 | もう一つの可能性は、特性の展開の鎖のどこかで汚染されたデータに | |
| 5554 | 遭遇したことです。 | |
| 5555 | もしそうなら、メッセージはこれが問題であることを示します。 | |
| 5556 | L</Insecure user-defined property %s> を参照してください。 | |
| 5557 | ||
| 5558 | =item Eval-group in insecure regular expression | |
| 5559 | ||
| 5560 | =begin original | |
| 5561 | ||
| 4254 | 5562 | (F) Perl detected tainted data when trying to compile a regular |
| 4255 | 5563 | expression that contains the C<(?{ ... })> zero-width assertion, which |
| 4256 | 5564 | is unsafe. See L<perlre/(?{ code })>, and L<perlsec>. |
| 4257 | 5565 | |
| 4258 | 5566 | =end original |
| 4259 | 5567 | |
| 4260 | 5568 | C<(?{ ... })> ゼロ幅アサーションを含む正規表現をコンパイルしようと |
| 4261 | 5569 | したときに、Perl は汚染されたデータを検出しました; |
| 4262 | 5570 | これは安全ではありません。 |
| 4263 | 5571 | L<perlre/(?{ code })> と L<perlsec> を参照してください。 |
| 4264 | 5572 | |
| 4265 | =item | |
| 5573 | =item Eval-group not allowed at runtime, use re 'eval' in regex m/%s/ | |
| 4266 | 5574 | |
| 4267 | 5575 | =begin original |
| 4268 | 5576 | |
| 4269 | 5577 | (F) Perl tried to compile a regular expression containing the |
| 4270 | 5578 | C<(?{ ... })> zero-width assertion at run time, as it would when the |
| 4271 | 5579 | pattern contains interpolated values. Since that is a security risk, |
| 4272 | 5580 | it is not allowed. If you insist, you may still do this by using the |
| 4273 | 5581 | C<re 'eval'> pragma or by explicitly building the pattern from an |
| 4274 | 5582 | interpolated string at run time and using that in an eval(). See |
| 4275 | 5583 | L<perlre/(?{ code })>. |
| 4276 | 5584 | |
| 4277 | 5585 | =end original |
| 4278 | 5586 | |
| 4279 | 5587 | (F) Perl が実行時に、変数展開された値を含んでいて、 |
| 4280 | 5588 | C<(?{ ... })> ゼロ幅アサーションを含む正規表現をコンパイルしようとしました。 |
| 4281 | 5589 | これはセキュリティ上の危険があるので、許可されていません。 |
| 4282 | 5590 | どうしても実行したい場合は、C<re 'eval'> プラグマを使うか実行時に |
| 4283 | 5591 | 変数展開された文字列からパターンを作成して、それを eval() の中で使うことで |
| 4284 | 5592 | 実行できます。 |
| 4285 | 5593 | L<perlre/(?{ code })> を参照してください。 |
| 4286 | 5594 | |
| 4287 | =item | |
| 5595 | =item Eval-group not allowed, use re 'eval' in regex m/%s/ | |
| 4288 | 5596 | |
| 4289 | 5597 | =begin original |
| 4290 | 5598 | |
| 4291 | 5599 | (F) A regular expression contained the C<(?{ ... })> zero-width |
| 4292 | 5600 | assertion, but that construct is only allowed when the C<use re 'eval'> |
| 4293 | 5601 | pragma is in effect. See L<perlre/(?{ code })>. |
| 4294 | 5602 | |
| 4295 | 5603 | =end original |
| 4296 | 5604 | |
| 4297 | 5605 | (F) 正規表現に C<(?{ ... })> ゼロ幅アサーションを含んでいますが、 |
| 4298 | 5606 | この構造は C<use re 'eval'> プラグマが有効の場合にのみ許可されます。 |
| 4299 | 5607 | L<perlre/(?{ code })> を参照してください。 |
| 4300 | 5608 | |
| 4301 | =item EVAL without pos change exceeded limit in regex; marked by | |
| 5609 | =item EVAL without pos change exceeded limit in regex; marked by | |
| 5610 | S<<-- HERE> in m/%s/ | |
| 4302 | 5611 | |
| 4303 | 5612 | =begin original |
| 4304 | 5613 | |
| 4305 | 5614 | (F) You used a pattern that nested too many EVAL calls without consuming |
| 4306 | 5615 | any text. Restructure the pattern so that text is consumed. |
| 4307 | 5616 | |
| 4308 | 5617 | =end original |
| 4309 | 5618 | |
| 4310 | 5619 | (F) テキストを一切読み込むことなく、EVAL 呼び出しのネストが多すぎる |
| 4311 | 5620 | パターンを使いました。 |
| 4312 | 5621 | テキストを読み込むようにパターンを再構築してください。 |
| 4313 | 5622 | |
| 4314 | 5623 | =begin original |
| 4315 | 5624 | |
| 4316 | The <-- HERE shows in the regular expression | |
| 5625 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
| 4317 | 5626 | discovered. |
| 4318 | 5627 | |
| 4319 | 5628 | =end original |
| 4320 | 5629 | |
| 4321 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 5630 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 4322 | 5631 | |
| 4323 | 5632 | =item Excessively long <> operator |
| 4324 | 5633 | |
| 4325 | 5634 | =begin original |
| 4326 | 5635 | |
| 4327 | 5636 | (F) The contents of a <> operator may not exceed the maximum size of a |
| 4328 | 5637 | Perl identifier. If you're just trying to glob a long list of |
| 4329 | 5638 | filenames, try using the glob() operator, or put the filenames into a |
| 4330 | 5639 | variable and glob that. |
| 4331 | 5640 | |
| 4332 | 5641 | =end original |
| 4333 | 5642 | |
| 4334 | 5643 | (F) <> 演算子の内容は Perl 識別子の最大サイズを越えることはできません。 |
| 4335 | 5644 | 単にファイル名の長いリストをグロブしようとしただけなら、glob() 演算子を |
| 4336 | 5645 | 使うか、ファイル名を変数に入れて、それをグロブしてください。 |
| 4337 | 5646 | |
| 4338 | 5647 | =item exec? I'm not *that* kind of operating system |
| 4339 | 5648 | |
| 4340 | 5649 | =begin original |
| 4341 | 5650 | |
| 4342 | (F) The C<exec> function is not implemented on some systems, e.g. | |
| 5651 | (F) The C<exec> function is not implemented on some systems, e.g. | |
| 4343 | ||
| 5652 | Catamount. See L<perlport>. | |
| 4344 | 5653 | |
| 4345 | 5654 | =end original |
| 4346 | 5655 | |
| 4347 | (F) C<exec> 関数は | |
| 5656 | (F) C<exec> 関数は Catamount のような一部のシステムには実装されていません。 | |
| 4348 | 5657 | L<perlport> を参照してください。 |
| 4349 | 5658 | |
| 5659 | =item %sExecution of %s aborted due to compilation errors. | |
| 5660 | ||
| 5661 | =begin original | |
| 5662 | ||
| 5663 | (F) The final summary message when a Perl compilation fails. | |
| 5664 | ||
| 5665 | =end original | |
| 5666 | ||
| 5667 | (F) Perl のコンパイルが失敗したときの、最後のまとめメッセージです。 | |
| 5668 | ||
| 4350 | 5669 | =item Execution of %s aborted due to compilation errors. |
| 4351 | 5670 | |
| 4352 | 5671 | =begin original |
| 4353 | 5672 | |
| 4354 | 5673 | (F) The final summary message when a Perl compilation fails. |
| 4355 | 5674 | |
| 4356 | 5675 | =end original |
| 4357 | 5676 | |
| 4358 | 5677 | (F) Perl のコンパイルが失敗したときの、最後のまとめメッセージです。 |
| 4359 | 5678 | |
| 5679 | =item exists argument is not a HASH or ARRAY element or a subroutine | |
| 5680 | ||
| 5681 | =begin original | |
| 5682 | ||
| 5683 | (F) The argument to C<exists> must be a hash or array element or a | |
| 5684 | subroutine with an ampersand, such as: | |
| 5685 | ||
| 5686 | =end original | |
| 5687 | ||
| 5688 | (F) C<exists> の引数は以下のように、ハッシュや配列の要素か、 | |
| 5689 | アンパサンド付きのサブルーチンでなければなりません: | |
| 5690 | ||
| 5691 | $foo{$bar} | |
| 5692 | $ref->{"susie"}[12] | |
| 5693 | &do_something | |
| 5694 | ||
| 5695 | =item exists argument is not a subroutine name | |
| 5696 | ||
| 5697 | =begin original | |
| 5698 | ||
| 5699 | (F) The argument to C<exists> for C<exists &sub> must be a subroutine name, | |
| 5700 | and not a subroutine call. C<exists &sub()> will generate this error. | |
| 5701 | ||
| 5702 | =end original | |
| 5703 | ||
| 5704 | (F) C<exists &sub> での C<exists> への引数はサブルーチン名でなければならず、 | |
| 5705 | サブルーチン呼び出しではありません。 | |
| 5706 | C<exists &sub()> はこのエラーを生成します。 | |
| 5707 | ||
| 4360 | 5708 | =item Exiting eval via %s |
| 4361 | 5709 | |
| 4362 | 5710 | =begin original |
| 4363 | 5711 | |
| 4364 | 5712 | (W exiting) You are exiting an eval by unconventional means, such as a |
| 4365 | 5713 | goto, or a loop control statement. |
| 4366 | 5714 | |
| 4367 | 5715 | =end original |
| 4368 | 5716 | |
| 4369 | 5717 | (W exiting) goto やループ制御文など、おかしな方法で eval を抜けました。 |
| 4370 | 5718 | |
| 4371 | 5719 | =item Exiting format via %s |
| 4372 | 5720 | |
| 4373 | 5721 | =begin original |
| 4374 | 5722 | |
| 4375 | 5723 | (W exiting) You are exiting a format by unconventional means, such as a |
| 4376 | 5724 | goto, or a loop control statement. |
| 4377 | 5725 | |
| 4378 | 5726 | =end original |
| 4379 | 5727 | |
| 4380 | 5728 | (W exiting) goto やループ制御文といった、異例な形でフォーマットを |
| 4381 | 5729 | 終了しました。 |
| 4382 | 5730 | |
| 4383 | 5731 | =item Exiting pseudo-block via %s |
| 4384 | 5732 | |
| 4385 | 5733 | =begin original |
| 4386 | 5734 | |
| 4387 | 5735 | (W exiting) You are exiting a rather special block construct (like a |
| 4388 | 5736 | sort block or subroutine) by unconventional means, such as a goto, or a |
| 4389 | 5737 | loop control statement. See L<perlfunc/sort>. |
| 4390 | 5738 | |
| 4391 | 5739 | =end original |
| 4392 | 5740 | |
| 4393 | 5741 | (W exiting) (ソートブロックやサブルーチンのような) 特別なブロック構造を、 |
| 4394 | 5742 | goto やループ制御文といった異例な方法で終了しました。 |
| 4395 | 5743 | L<perlfunc/sort> を参照してください。 |
| 4396 | 5744 | |
| 4397 | 5745 | =item Exiting subroutine via %s |
| 4398 | 5746 | |
| 4399 | 5747 | =begin original |
| 4400 | 5748 | |
| 4401 | 5749 | (W exiting) You are exiting a subroutine by unconventional means, such |
| 4402 | 5750 | as a goto, or a loop control statement. |
| 4403 | 5751 | |
| 4404 | 5752 | =end original |
| 4405 | 5753 | |
| 4406 | 5754 | (W exiting) goto やループ制御文など、おかしな方法でサブルーチンを |
| 4407 | 5755 | 抜けました。 |
| 4408 | 5756 | |
| 4409 | 5757 | =item Exiting substitution via %s |
| 4410 | 5758 | |
| 4411 | 5759 | =begin original |
| 4412 | 5760 | |
| 4413 | 5761 | (W exiting) You are exiting a substitution by unconventional means, such |
| 4414 | 5762 | as a return, a goto, or a loop control statement. |
| 4415 | 5763 | |
| 4416 | 5764 | =end original |
| 4417 | 5765 | |
| 4418 | 5766 | (W exit) return や goto やループ制御文など、おかしな方法で置換を |
| 4419 | 5767 | 抜けました。 |
| 4420 | 5768 | |
| 5769 | =item Expected %s reference in export_lexically | |
| 5770 | ||
| 5771 | =begin original | |
| 5772 | ||
| 5773 | (F) The type of a reference given to L<builtin/export_lexically> did not | |
| 5774 | match the sigil of the preceding name, or the value was not a reference at | |
| 5775 | all. | |
| 5776 | ||
| 5777 | =end original | |
| 5778 | ||
| 5779 | (F) L<builtin/export_lexically> に与えられたリファレンスの型が | |
| 5780 | その前にある名前の印に一致しないか、値がそもそも | |
| 5781 | リファレンスではありません。 | |
| 5782 | ||
| 5783 | =item Expecting close bracket in regex; marked by S<<-- HERE> in m/%s/ | |
| 5784 | ||
| 5785 | =begin original | |
| 5786 | ||
| 5787 | (F) You wrote something like | |
| 5788 | ||
| 5789 | =end original | |
| 5790 | ||
| 5791 | (F) 次のようなものを書きました: | |
| 5792 | ||
| 5793 | (?13 | |
| 5794 | ||
| 5795 | =begin original | |
| 5796 | ||
| 5797 | to denote a capturing group of the form | |
| 5798 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)>, | |
| 5799 | but omitted the C<")">. | |
| 5800 | ||
| 5801 | =end original | |
| 5802 | ||
| 5803 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)> 形式の | |
| 5804 | 捕捉グループを示していますが C<")"> が省略されています。 | |
| 5805 | ||
| 5806 | =item Expecting interpolated extended charclass in regex; marked by <-- | |
| 5807 | HERE in m/%s/ | |
| 5808 | ||
| 5809 | =begin original | |
| 5810 | ||
| 5811 | (F) It looked like you were attempting to interpolate an | |
| 5812 | already-compiled extended character class, like so: | |
| 5813 | ||
| 5814 | =end original | |
| 5815 | ||
| 5816 | (F) 次のように、既にコンパイルされている拡張文字クラスを結合しようと | |
| 5817 | したように見えます: | |
| 5818 | ||
| 5819 | my $thai_or_lao = qr/(?[ \p{Thai} + \p{Lao} ])/; | |
| 5820 | ... | |
| 5821 | qr/(?[ \p{Digit} & $thai_or_lao ])/; | |
| 5822 | ||
| 5823 | =begin original | |
| 5824 | ||
| 5825 | But the marked code isn't syntactically correct to be such an | |
| 5826 | interpolated class. | |
| 5827 | ||
| 5828 | =end original | |
| 5829 | ||
| 5830 | しかしマークされたコードは、そのような結合されたクラスとして | |
| 5831 | 文法的に正しくありません。 | |
| 5832 | ||
| 5833 | =item Experimental aliasing via reference not enabled | |
| 5834 | ||
| 5835 | =begin original | |
| 5836 | ||
| 5837 | (F) To do aliasing via references, you must first enable the feature: | |
| 5838 | ||
| 5839 | =end original | |
| 5840 | ||
| 5841 | (F) リファレンスによる別名をするためには、最初にこの機能を | |
| 5842 | 有効にしなければなりません: | |
| 5843 | ||
| 5844 | no warnings "experimental::refaliasing"; | |
| 5845 | use feature "refaliasing"; | |
| 5846 | \$x = \$y; | |
| 5847 | ||
| 5848 | =item Experimental %s on scalar is now forbidden | |
| 5849 | ||
| 5850 | =begin original | |
| 5851 | ||
| 5852 | (F) An experimental feature added in Perl 5.14 allowed C<each>, C<keys>, | |
| 5853 | C<push>, C<pop>, C<shift>, C<splice>, C<unshift>, and C<values> to be called with a | |
| 5854 | scalar argument. This experiment is considered unsuccessful, and | |
| 5855 | has been removed. The C<postderef> feature may meet your needs better. | |
| 5856 | ||
| 5857 | =end original | |
| 5858 | ||
| 5859 | (F) Perl 5.14 で追加された実験的機能は、C<each>, C<keys>, | |
| 5860 | C<push>, C<pop>, C<shift>, C<splice>, C<unshift>, C<values> を | |
| 5861 | スカラ引数で呼び出すことができました。 | |
| 5862 | この実験は失敗と考えられ、削除されました。 | |
| 5863 | C<postderef> 機能はあなたの要求により良く一致します。 | |
| 5864 | ||
| 5865 | =item Experimental subroutine signatures not enabled | |
| 5866 | ||
| 5867 | =begin original | |
| 5868 | ||
| 5869 | (F) To use subroutine signatures, you must first enable them: | |
| 5870 | ||
| 5871 | =end original | |
| 5872 | ||
| 5873 | (F) サブルーチンシグネチャを使うためには、まずそれを有効にしなければなりません: | |
| 5874 | ||
| 5875 | use feature "signatures"; | |
| 5876 | sub foo ($left, $right) { ... } | |
| 5877 | ||
| 4421 | 5878 | =item Explicit blessing to '' (assuming package main) |
| 4422 | 5879 | |
| 4423 | 5880 | =begin original |
| 4424 | 5881 | |
| 4425 | 5882 | (W misc) You are blessing a reference to a zero length string. This has |
| 4426 | 5883 | the effect of blessing the reference into the package main. This is |
| 4427 | 5884 | usually not what you want. Consider providing a default target package, |
| 4428 | 5885 | e.g. bless($ref, $p || 'MyPackage'); |
| 4429 | 5886 | |
| 4430 | 5887 | =end original |
| 4431 | 5888 | |
| 4432 | 5889 | (W misc) リファレンスを長さゼロの文字列に bless しました。 |
| 4433 | 5890 | これはリファレンスをパッケージ main に bless する効果があります。 |
| 4434 | 5891 | これは普通あなたが望んでいることではありません。 |
| 4435 | 5892 | (bless($ref, $p || 'MyPackage'); のように) デフォルトターゲット |
| 4436 | 5893 | パッケージを提供することを考慮してください; |
| 4437 | 5894 | |
| 5895 | =item export_lexically can only be called at compile time | |
| 5896 | ||
| 5897 | =begin original | |
| 5898 | ||
| 5899 | (F) L<builtin/export_lexically> was called at runtime. Because it creates | |
| 5900 | new names in the lexical scope currently being compiled, it can only be | |
| 5901 | called from code inside C<BEGIN> block in that scope. | |
| 5902 | ||
| 5903 | =end original | |
| 5904 | ||
| 5905 | (F) L<builtin/export_lexically> が実行時に呼び出されました。 | |
| 5906 | これは現在コンパイルされているレキシカルスコープ内に | |
| 5907 | 新しい名前を作るので、そのスコープの C<BEGIN> ブロックの | |
| 5908 | 内側のコードからのみ呼び出せます。 | |
| 5909 | ||
| 4438 | 5910 | =item %s: Expression syntax |
| 4439 | 5911 | |
| 4440 | 5912 | =begin original |
| 4441 | 5913 | |
| 4442 | 5914 | (A) You've accidentally run your script through B<csh> instead of Perl. |
| 4443 | 5915 | Check the #! line, or manually feed your script into Perl yourself. |
| 4444 | 5916 | |
| 4445 | 5917 | =end original |
| 4446 | 5918 | |
| 4447 | 5919 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
| 4448 | #! 行を | |
| 5920 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
| 4449 | 5921 | |
| 4450 | 5922 | =item %s failed--call queue aborted |
| 4451 | 5923 | |
| 4452 | 5924 | =begin original |
| 4453 | 5925 | |
| 4454 | 5926 | (F) An untrapped exception was raised while executing a UNITCHECK, |
| 4455 | 5927 | CHECK, INIT, or END subroutine. Processing of the remainder of the |
| 4456 | 5928 | queue of such routines has been prematurely ended. |
| 4457 | 5929 | |
| 4458 | 5930 | =end original |
| 4459 | 5931 | |
| 4460 | 5932 | (F) UNITCHECK, CHECK, INIT, END サブルーチンを実行中にトラップされていない |
| 4461 | 5933 | 例外が発生しました。 |
| 4462 | 5934 | このようなルーチンのキューの残りの処理は途中で終了しました。 |
| 4463 | 5935 | |
| 4464 | =item Fal | |
| 5936 | =item Failed to close in-place work file %s: %s | |
| 4465 | 5937 | |
| 4466 | 5938 | =begin original |
| 4467 | 5939 | |
| 4468 | ( | |
| 5940 | (F) Closing an output file from in-place editing, as with the C<-i> | |
| 5941 | command-line switch, failed. | |
| 5942 | ||
| 5943 | =end original | |
| 5944 | ||
| 5945 | (F) C<-i> コマンドラインオプションによるその場修正で開いたファイルを | |
| 5946 | 閉じるのに失敗しました。 | |
| 5947 | ||
| 5948 | =item False [] range "%s" in regex; marked by S<<-- HERE> in m/%s/ | |
| 5949 | ||
| 5950 | =begin original | |
| 5951 | ||
| 5952 | (W regexp)(F) A character class range must start and end at a literal | |
| 4469 | 5953 | character, not another character class like C<\d> or C<[:alpha:]>. The "-" |
| 4470 | in your false range is interpreted as a literal "-". | |
| 5954 | in your false range is interpreted as a literal "-". In a C<(?[...])> | |
| 4471 | ||
| 5955 | construct, this is an error, rather than a warning. Consider quoting | |
| 4472 | ||
| 5956 | the "-", "\-". The S<<-- HERE> shows whereabouts in the regular expression | |
| 5957 | the problem was discovered. See L<perlre>. | |
| 4473 | 5958 | |
| 4474 | 5959 | =end original |
| 4475 | 5960 | |
| 4476 | (W regexp) 文字クラス範囲の先頭とと末尾は、C<\d> や C<[:alpha:]> のような | |
| 5961 | (W regexp)(F) 文字クラス範囲の先頭とと末尾は、C<\d> や C<[:alpha:]> のような | |
| 4477 | 5962 | 他の文字クラスではなく、リテラル文字でなければなりません。 |
| 4478 | 5963 | 間違った範囲の "-" はリテラルの "-" と解釈されます。 |
| 5964 | C<(?[...])> 構文では、これは警告ではなくエラーです。 | |
| 4479 | 5965 | "-" を "\-" とクォートすることを考慮してください。 |
| 4480 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 5966 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 4481 | 5967 | L<perlre> を参照してください。 |
| 4482 | 5968 | |
| 4483 | 5969 | =item Fatal VMS error (status=%d) at %s, line %d |
| 4484 | 5970 | |
| 4485 | 5971 | =begin original |
| 4486 | 5972 | |
| 4487 | 5973 | (P) An error peculiar to VMS. Something untoward happened in a VMS |
| 4488 | 5974 | system service or RTL routine; Perl's exit status should provide more |
| 4489 | 5975 | details. The filename in "at %s" and the line number in "line %d" tell |
| 4490 | 5976 | you which section of the Perl source code is distressed. |
| 4491 | 5977 | |
| 4492 | 5978 | =end original |
| 4493 | 5979 | |
| 4494 | 5980 | (P) VMS に固有のエラーです。 |
| 4495 | 5981 | 何か都合の悪いことが VMS システムサービスか RTL ルーチンで起こりました; |
| 4496 | 5982 | Perl の終了コードに詳細が示されています。 |
| 4497 | 5983 | "at %s" のファイル名と "line %d" の行番号は、問題の起こった |
| 4498 | 5984 | Perl ソースコードの位置を示しています。 |
| 4499 | 5985 | |
| 4500 | 5986 | =item fcntl is not implemented |
| 4501 | 5987 | |
| 4502 | 5988 | =begin original |
| 4503 | 5989 | |
| 4504 | 5990 | (F) Your machine apparently doesn't implement fcntl(). What is this, a |
| 4505 | 5991 | PDP-11 or something? |
| 4506 | 5992 | |
| 4507 | 5993 | =end original |
| 4508 | 5994 | |
| 4509 | 5995 | (F) このマシンでは、fcntl() が実装されていないように見えます。 |
| 4510 | 5996 | PDP-11 か何かでしょうか。 |
| 4511 | 5997 | |
| 4512 | 5998 | =item FETCHSIZE returned a negative value |
| 4513 | 5999 | |
| 4514 | 6000 | =begin original |
| 4515 | 6001 | |
| 4516 | 6002 | (F) A tied array claimed to have a negative number of elements, which |
| 4517 | 6003 | is not possible. |
| 4518 | 6004 | |
| 4519 | 6005 | =end original |
| 4520 | 6006 | |
| 4521 | 6007 | (F) tie された配列に対して負の番号の要素を要求されました; これは不可能です。 |
| 4522 | 6008 | |
| 6009 | =item Field already has a parameter name, cannot add another | |
| 6010 | ||
| 6011 | =begin original | |
| 6012 | ||
| 6013 | (F) A field may have at most one application of the C<:param> attribute to | |
| 6014 | assign a parameter name to it; once applied a second one is not allowed. | |
| 6015 | ||
| 6016 | =end original | |
| 6017 | ||
| 6018 | (F) 一つのフィールドは、それに割り当てるパラメータ名の C<:param> 属性は | |
| 6019 | 最大一つ適用できます; | |
| 6020 | 一旦適用されると、二つ目は許されません。 | |
| 6021 | ||
| 6022 | =item Field attribute %s requires a value | |
| 6023 | ||
| 6024 | =begin original | |
| 6025 | ||
| 6026 | (F) You specified an attribute for a field that would require a value to | |
| 6027 | be passed in parentheses, but did not provide one. Remember that | |
| 6028 | whitespace is B<not> permitted between the attribute name and its value; | |
| 6029 | you must write this as | |
| 6030 | ||
| 6031 | =end original | |
| 6032 | ||
| 6033 | (F) フィールドの属性として、かっこに囲まれた値が要求されたところで、 | |
| 6034 | それがありませんでした。 | |
| 6035 | 属性名とその値の間に空白は B<許されない> ことを忘れないでください; | |
| 6036 | 次のように書かなければなりません: | |
| 6037 | ||
| 6038 | field $var :attr(VALUE) ... | |
| 6039 | ||
| 6040 | =item field is experimental | |
| 6041 | ||
| 6042 | =begin original | |
| 6043 | ||
| 6044 | (S experimental::class) This warning is emitted if you use the C<field> | |
| 6045 | keyword of C<use feature 'class'>. This keyword is currently | |
| 6046 | experimental and its behaviour may change in future releases of Perl. | |
| 6047 | ||
| 6048 | =end original | |
| 6049 | ||
| 6050 | (S experimental::class) この警告は、C<use feature 'class'> の | |
| 6051 | C<field> キーワードを使うと発生します。 | |
| 6052 | このキーワードは現在のところ実験的で、Perl の将来のリリースでは変更される | |
| 6053 | 可能性があります。 | |
| 6054 | ||
| 6055 | =item Field %s is not accessible outside a method | |
| 6056 | ||
| 6057 | =begin original | |
| 6058 | ||
| 6059 | (F) An attempt was made to access a field variable of a class from code | |
| 6060 | that does not appear inside the body of a C<method> subroutine. This is not | |
| 6061 | permitted, as only methods will have access to the fields of an instance. | |
| 6062 | ||
| 6063 | =end original | |
| 6064 | ||
| 6065 | (F) C<method> サブルーチンの本体の内側ではないコードから、 | |
| 6066 | クラスのフィールド変数にアクセスしようとしました。 | |
| 6067 | メソッドだけが実体のフィールドにアクセスできるので、 | |
| 6068 | これは許されていません。 | |
| 6069 | ||
| 6070 | =item Field %s of "%s" is not accessible in a method of "%s" | |
| 6071 | ||
| 6072 | =begin original | |
| 6073 | ||
| 6074 | (F) An attempt was made to access a field variable of a class, from a | |
| 6075 | method of another class nested inside the one that actually defined it. | |
| 6076 | This is not permitted, as only methods defined by a given class are | |
| 6077 | permitted to access fields of that class. | |
| 6078 | ||
| 6079 | =end original | |
| 6080 | ||
| 6081 | (F) 実際に定義されている物の内側にネストした、他のクラスのメソッドから、 | |
| 6082 | 下のクラスのフィールド変数にアクセスしようとしました。 | |
| 6083 | 指定されたクラスのメソッドだけがそのクラスのフィールドに | |
| 6084 | アクセスすることを許されているので、 | |
| 6085 | これは許されていません。 | |
| 6086 | ||
| 4523 | 6087 | =item Field too wide in 'u' format in pack |
| 4524 | 6088 | |
| 4525 | 6089 | =begin original |
| 4526 | 6090 | |
| 4527 | (W pack) Each line in an uuencoded string start with a length indicator | |
| 6091 | (W pack) Each line in an uuencoded string starts with a length indicator | |
| 4528 | 6092 | which can't encode values above 63. So there is no point in asking for |
| 4529 | 6093 | a line length bigger than that. Perl will behave as if you specified |
| 4530 | 6094 | C<u63> as the format. |
| 4531 | 6095 | |
| 4532 | 6096 | =end original |
| 4533 | 6097 | |
| 4534 | 6098 | (W pack) uuencode された文字列の各行が、63 以上にエンコードできない |
| 4535 | 6099 | 長さ識別子から始まっています。 |
| 4536 | 6100 | それで、これより長い行の長さを問い合わせるところがありません。 |
| 4537 | 6101 | Perl はフォーマットとして C<u63> が指定されたかのように振る舞います。 |
| 4538 | 6102 | |
| 4539 | 6103 | =item Filehandle %s opened only for input |
| 4540 | 6104 | |
| 4541 | 6105 | =begin original |
| 4542 | 6106 | |
| 4543 | 6107 | (W io) You tried to write on a read-only filehandle. If you intended |
| 4544 | 6108 | it to be a read-write filehandle, you needed to open it with "+<" or |
| 4545 | 6109 | "+>" or "+>>" instead of with "<" or nothing. If you intended only to |
| 4546 | 6110 | write the file, use ">" or ">>". See L<perlfunc/open>. |
| 4547 | 6111 | |
| 4548 | 6112 | =end original |
| 4549 | 6113 | |
| 4550 | 6114 | (W io) リードオンリーのファイルハンドルに対して、書込みを行なおうとしました。 |
| 4551 | 6115 | 読み書き両用ファイルハンドルにしたいのであれば、"<" を付けたり、 |
| 4552 | 6116 | 何も付けなかったりするのではなく、"+<" や "+>" や "+>>" を付けて |
| 4553 | 6117 | open する必要があります。 |
| 4554 | 6118 | ライトオンリーであれば、">" や ">>" を使ってください。 |
| 4555 | 6119 | L<perlfunc/open> を参照してください。 |
| 4556 | 6120 | |
| 4557 | 6121 | =item Filehandle %s opened only for output |
| 4558 | 6122 | |
| 4559 | 6123 | =begin original |
| 4560 | 6124 | |
| 4561 | 6125 | (W io) You tried to read from a filehandle opened only for writing, If |
| 4562 | 6126 | you intended it to be a read/write filehandle, you needed to open it |
| 4563 | 6127 | with "+<" or "+>" or "+>>" instead of with ">". If you intended only to |
| 4564 | 6128 | read from the file, use "<". See L<perlfunc/open>. Another possibility |
| 4565 | 6129 | is that you attempted to open filedescriptor 0 (also known as STDIN) for |
| 4566 | 6130 | output (maybe you closed STDIN earlier?). |
| 4567 | 6131 | |
| 4568 | 6132 | =end original |
| 4569 | 6133 | |
| 4570 | 6134 | (W io) 書き込み専用のファイルハンドルから読み込もうとしました; |
| 4571 | 6135 | 読み書きできるファイルハンドルにしたい場合は、ファイルのオープン時に |
| 4572 | 6136 | ">" ではなく、"+<" か "+>" か "+>>" をつける必要があります。 |
| 4573 | 6137 | 読み込み専用にしたい場合は、"<" を使ってください。 |
| 4574 | 6138 | L<perlfunc/open> を参照してください。 |
| 4575 | 6139 | 他の可能性としては、ファイル記述子 0 (STDIN としても知られています) を |
| 4576 | 6140 | 出力用に開こうとした場合(おそらくその前に STDIN を閉じたのでは?)です。 |
| 4577 | 6141 | |
| 4578 | 6142 | =item Filehandle %s reopened as %s only for input |
| 4579 | 6143 | |
| 4580 | 6144 | =begin original |
| 4581 | 6145 | |
| 4582 | 6146 | (W io) You opened for reading a filehandle that got the same filehandle id |
| 4583 | 6147 | as STDOUT or STDERR. This occurred because you closed STDOUT or STDERR |
| 4584 | 6148 | previously. |
| 4585 | 6149 | |
| 4586 | 6150 | =end original |
| 4587 | 6151 | |
| 4588 | 6152 | (W io) STDOUT または STDERR として使われていたのと同じファイルハンドル ID の |
| 4589 | 6153 | ファイルハンドルを読み込み用に開こうとしました。 |
| 4590 | 6154 | これは、以前 STDOUT または STDERR を閉じたときに起きます。 |
| 4591 | 6155 | |
| 4592 | 6156 | =item Filehandle STDIN reopened as %s only for output |
| 4593 | 6157 | |
| 4594 | 6158 | =begin original |
| 4595 | 6159 | |
| 4596 | 6160 | (W io) You opened for writing a filehandle that got the same filehandle id |
| 4597 | 6161 | as STDIN. This occurred because you closed STDIN previously. |
| 4598 | 6162 | |
| 4599 | 6163 | =end original |
| 4600 | 6164 | |
| 4601 | 6165 | (W io) STDIN として使われていたのと同じファイルハンドル ID の |
| 4602 | 6166 | ファイルハンドルを書き込み用に開こうとしました。 |
| 4603 | 6167 | これは、以前 STDIN を閉じたときに起きます。 |
| 4604 | 6168 | |
| 6169 | =item Filehandle STD%s reopened as %s only for input | |
| 6170 | ||
| 6171 | =begin original | |
| 6172 | ||
| 6173 | (W io) You opened for reading a filehandle that got the same filehandle id | |
| 6174 | as STDOUT or STDERR. This occurred because you closed the handle previously. | |
| 6175 | ||
| 6176 | =end original | |
| 6177 | ||
| 6178 | (W io) STDOUT または STDERR と同じファイルハンドル ID をもつ | |
| 6179 | ファイルハンドルを読み込むために開こうとしました。. | |
| 6180 | これは、その前にそのハンドルを閉じたために起こります。 | |
| 6181 | ||
| 4605 | 6182 | =item Final $ should be \$ or $name |
| 4606 | 6183 | |
| 4607 | 6184 | =begin original |
| 4608 | 6185 | |
| 4609 | 6186 | (F) You must now decide whether the final $ in a string was meant to be |
| 4610 | 6187 | a literal dollar sign, or was meant to introduce a variable name that |
| 4611 | 6188 | happens to be missing. So you have to put either the backslash or the |
| 4612 | 6189 | name. |
| 4613 | 6190 | |
| 4614 | 6191 | =end original |
| 4615 | 6192 | |
| 4616 | 6193 | (F) 文字列の最後の $ が、リテラルのドル記号なのか、変数名を入れようとして |
| 4617 | 6194 | 忘れたのかを、はっきりさせなければなりません。 |
| 4618 | 6195 | バックスラッシュを付けるか、名前を入れてください。 |
| 4619 | 6196 | |
| 6197 | =item defer is experimental | |
| 6198 | ||
| 6199 | =begin original | |
| 6200 | ||
| 6201 | (S experimental::defer) The C<defer> block modifier is experimental. If you | |
| 6202 | want to use the feature, disable the warning with | |
| 6203 | C<no warnings 'experimental::defer'>, but know that in doing so you are taking | |
| 6204 | the risk that your code may break in a future Perl version. | |
| 6205 | ||
| 6206 | =end original | |
| 6207 | ||
| 6208 | (S experimental::defer) C<defer> ブロック修飾子は実験的です。 | |
| 6209 | この機能を使いたい場合、 | |
| 6210 | C<no warnings 'experimental::defer'> で警告を無効にしてください; | |
| 6211 | ただし、そうすることによってあなたのコードは将来のバージョンの Perl で | |
| 6212 | 壊れるかもしれないというリスクを取っているということを知っておいてください。 | |
| 6213 | ||
| 4620 | 6214 | =item flock() on closed filehandle %s |
| 4621 | 6215 | |
| 4622 | 6216 | =begin original |
| 4623 | 6217 | |
| 4624 | 6218 | (W closed) The filehandle you're attempting to flock() got itself closed |
| 4625 | 6219 | some time before now. Check your control flow. flock() operates on |
| 4626 | 6220 | filehandles. Are you attempting to call flock() on a dirhandle by the |
| 4627 | 6221 | same name? |
| 4628 | 6222 | |
| 4629 | 6223 | =end original |
| 4630 | 6224 | |
| 4631 | 6225 | (W closed) flock() しようとしたファイルハンドルはその前に既に |
| 4632 | 6226 | 閉じられています。 |
| 4633 | 6227 | 制御フローをチェックしてください。 |
| 4634 | 6228 | flock() はファイルハンドルを操作します。 |
| 4635 | 6229 | 同じ名前のディレクトリハンドルに flock() しようとしていませんか? |
| 4636 | 6230 | |
| 6231 | =item for my (...) is experimental | |
| 6232 | ||
| 6233 | =begin original | |
| 6234 | ||
| 6235 | (S experimental::for_list) This warning is emitted if you use C<for> to | |
| 6236 | iterate multiple values at a time. This syntax is currently experimental | |
| 6237 | and its behaviour may change in future releases of Perl. | |
| 6238 | ||
| 6239 | =end original | |
| 6240 | ||
| 6241 | この警告は、一度に複数の値を反復する C<for> を使うと発生します。 | |
| 6242 | この構文は現在のところ実験的能で、Perl の将来のリリースでは変更される | |
| 6243 | 可能性があります。 | |
| 6244 | ||
| 6245 | =item Forked open '%s' not meaningful in <> | |
| 6246 | ||
| 6247 | =begin original | |
| 6248 | ||
| 6249 | (S inplace) You had C<|-> or C<-|> in C<@ARGV> and tried to use C<< <> | |
| 6250 | >> to read from it. | |
| 6251 | ||
| 6252 | =end original | |
| 6253 | ||
| 6254 | (S inplace) C<@ARGV> に C<|-> または C<-|> があり、 | |
| 6255 | そこから読み取るために C<< <> >> を使おうとしました。 | |
| 6256 | ||
| 6257 | =begin original | |
| 6258 | ||
| 6259 | Previously this would fork and produce a confusing error message. | |
| 6260 | ||
| 6261 | =end original | |
| 6262 | ||
| 6263 | 以前は、これは fork して混乱を招くエラーメッセージを生成していました。 | |
| 6264 | ||
| 4637 | 6265 | =item Format not terminated |
| 4638 | 6266 | |
| 4639 | 6267 | =begin original |
| 4640 | 6268 | |
| 4641 | 6269 | (F) A format must be terminated by a line with a solitary dot. Perl got |
| 4642 | 6270 | to the end of your file without finding such a line. |
| 4643 | 6271 | |
| 4644 | 6272 | =end original |
| 4645 | 6273 | |
| 4646 | 6274 | (F) フォーマットは、単独のドットだけからなる行で終わらなければなりません。 |
| 4647 | 6275 | そのような行が見つからないまま、スクリプトの最後に行き当たってしまいました。 |
| 4648 | 6276 | |
| 4649 | 6277 | =item Format %s redefined |
| 4650 | 6278 | |
| 4651 | 6279 | =begin original |
| 4652 | 6280 | |
| 4653 | 6281 | (W redefine) You redefined a format. To suppress this warning, say |
| 4654 | 6282 | |
| 4655 | 6283 | =end original |
| 4656 | 6284 | |
| 4657 | 6285 | (W redefine) フォーマットを再定義しました。 |
| 4658 | 6286 | この警告を止めるには以下のようにしてください: |
| 4659 | 6287 | |
| 4660 | 6288 | { |
| 4661 | 6289 | no warnings 'redefine'; |
| 4662 | 6290 | eval "format NAME =..."; |
| 4663 | 6291 | } |
| 4664 | 6292 | |
| 4665 | 6293 | =item Found = in conditional, should be == |
| 4666 | 6294 | |
| 4667 | 6295 | =begin original |
| 4668 | 6296 | |
| 4669 | 6297 | (W syntax) You said |
| 4670 | 6298 | |
| 4671 | 6299 | =end original |
| 4672 | 6300 | |
| 4673 | 6301 | (W) 以下のようにしています: |
| 4674 | 6302 | |
| 4675 | 6303 | if ($foo = 123) |
| 4676 | 6304 | |
| 4677 | 6305 | =begin original |
| 4678 | 6306 | |
| 4679 | 6307 | when you meant |
| 4680 | 6308 | |
| 4681 | 6309 | =end original |
| 4682 | 6310 | |
| 4683 | 6311 | 以下のようにすべきです: |
| 4684 | 6312 | |
| 4685 | 6313 | if ($foo == 123) |
| 4686 | 6314 | |
| 4687 | 6315 | =begin original |
| 4688 | 6316 | |
| 4689 | 6317 | (or something like that). |
| 4690 | 6318 | |
| 4691 | 6319 | =end original |
| 4692 | 6320 | |
| 4693 | 6321 | (あるいは似たようなこと)。 |
| 4694 | 6322 | |
| 4695 | 6323 | =item %s found where operator expected |
| 4696 | 6324 | |
| 4697 | 6325 | =begin original |
| 4698 | 6326 | |
| 4699 | 6327 | (S syntax) The Perl lexer knows whether to expect a term or an operator. |
| 4700 | 6328 | If it sees what it knows to be a term when it was expecting to see an |
| 4701 | 6329 | operator, it gives you this warning. Usually it indicates that an |
| 4702 | 6330 | operator or delimiter was omitted, such as a semicolon. |
| 4703 | 6331 | |
| 4704 | 6332 | =end original |
| 4705 | 6333 | |
| 4706 | 6334 | (S syntax) Perl の字句解析部は、次に項が来るか、演算子が来るかを |
| 4707 | 6335 | 知っています。 |
| 4708 | 6336 | 次に演算子が来ると思っているときに、項であるとわかるものが現れると、 |
| 4709 | 6337 | この警告が出ることになります。 |
| 4710 | 6338 | 通常、演算子かセミコロンのような区切り文字が省略されたことをしめします。 |
| 4711 | 6339 | |
| 4712 | 6340 | =item gdbm store returned %d, errno %d, key "%s" |
| 4713 | 6341 | |
| 4714 | 6342 | =begin original |
| 4715 | 6343 | |
| 4716 | 6344 | (S) A warning from the GDBM_File extension that a store failed. |
| 4717 | 6345 | |
| 4718 | 6346 | =end original |
| 4719 | 6347 | |
| 4720 | 6348 | (S) GDBM_File 拡張モジュールが、値の設定に失敗したという警告です。 |
| 4721 | 6349 | |
| 4722 | 6350 | =item gethostent not implemented |
| 4723 | 6351 | |
| 4724 | 6352 | =begin original |
| 4725 | 6353 | |
| 4726 | 6354 | (F) Your C library apparently doesn't implement gethostent(), probably |
| 4727 | 6355 | because if it did, it'd feel morally obligated to return every hostname |
| 4728 | 6356 | on the Internet. |
| 4729 | 6357 | |
| 4730 | 6358 | =end original |
| 4731 | 6359 | |
| 4732 | 6360 | (F) C ライブラリに gethostent() が実装されていないようです; |
| 4733 | 6361 | おそらく、実装すると Internet 上のすべてのホスト名を |
| 4734 | 6362 | 返さなければいけないと思っているのでしょう。 |
| 4735 | 6363 | |
| 4736 | 6364 | =item get%sname() on closed socket %s |
| 4737 | 6365 | |
| 4738 | 6366 | =begin original |
| 4739 | 6367 | |
| 4740 | 6368 | (W closed) You tried to get a socket or peer socket name on a closed |
| 4741 | 6369 | socket. Did you forget to check the return value of your socket() call? |
| 4742 | 6370 | |
| 4743 | 6371 | =end original |
| 4744 | 6372 | |
| 4745 | 6373 | (W closed) 閉じたソケットに対してソケットやピアソケット名を取得しようと |
| 4746 | 6374 | しました。 |
| 4747 | 6375 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか? |
| 4748 | 6376 | |
| 4749 | 6377 | =item getpwnam returned invalid UIC %#o for user "%s" |
| 4750 | 6378 | |
| 4751 | 6379 | =begin original |
| 4752 | 6380 | |
| 4753 | 6381 | (S) A warning peculiar to VMS. The call to C<sys$getuai> underlying the |
| 4754 | 6382 | C<getpwnam> operator returned an invalid UIC. |
| 4755 | 6383 | |
| 4756 | 6384 | =end original |
| 4757 | 6385 | |
| 4758 | 6386 | (S) VMS に固有の警告です。 |
| 4759 | 6387 | C<getpwnam> 演算子の基礎となる C<sys$getuai> 呼び出しで |
| 4760 | 6388 | 不正な UIC が返されました。 |
| 4761 | 6389 | |
| 4762 | 6390 | =item getsockopt() on closed socket %s |
| 4763 | 6391 | |
| 4764 | 6392 | =begin original |
| 4765 | 6393 | |
| 4766 | 6394 | (W closed) You tried to get a socket option on a closed socket. Did you |
| 4767 | 6395 | forget to check the return value of your socket() call? See |
| 4768 | 6396 | L<perlfunc/getsockopt>. |
| 4769 | 6397 | |
| 4770 | 6398 | =end original |
| 4771 | 6399 | |
| 4772 | 6400 | (W clockd) クローズされたソケットのソケットオプションを取得しようとしました。 |
| 4773 | 6401 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
| 4774 | 6402 | L<perlfunc/getsockopt> を参照してください。 |
| 4775 | 6403 | |
| 4776 | =item | |
| 6404 | =item get_layers: unknown argument '%s' | |
| 4777 | 6405 | |
| 4778 | 6406 | =begin original |
| 4779 | 6407 | |
| 6408 | (F) You called PerlIO::get_layers() with an unknown argument. Legal | |
| 6409 | arguments are provided in key/value pairs, with the keys being one | |
| 6410 | of C<input>, C<output> or C<detail>, followed by a boolean. | |
| 6411 | ||
| 6412 | =end original | |
| 6413 | ||
| 6414 | (F) PerlIO::get_layers() を不明な引数で呼び出しました。 | |
| 6415 | 有効な引数はキーと値の組で提供されます; | |
| 6416 | キーは C<input>, C<output>, C<detail> のいずれかで、 | |
| 6417 | その後に真偽値が続きます。 | |
| 6418 | ||
| 6419 | =item given is deprecated | |
| 6420 | ||
| 6421 | =begin original | |
| 6422 | ||
| 6423 | (D deprecated::smartmatch) C<given> depends on smartmatch, which is | |
| 6424 | deprecated. It will be removed in Perl 5.42. See the explanation under | |
| 6425 | L<perlsyn/Experimental Details on given and when>. | |
| 6426 | ||
| 6427 | =end original | |
| 6428 | ||
| 6429 | (D deprecated::smartmatch) C<given> はスマートマッチングのに依存していて、 | |
| 6430 | これは廃止予定です。 | |
| 6431 | これは Perl 5.42 で削除される予定です。 | |
| 6432 | L<perlsyn/Experimental Details on given and when> の説明を参照してください。 | |
| 6433 | ||
| 6434 | =item Global symbol "%s" requires explicit package name (did you forget to | |
| 6435 | declare "my %s"?) | |
| 6436 | ||
| 6437 | =begin original | |
| 6438 | ||
| 4780 | 6439 | (F) You've said "use strict" or "use strict vars", which indicates |
| 4781 | 6440 | that all variables must either be lexically scoped (using "my" or "state"), |
| 4782 | 6441 | declared beforehand using "our", or explicitly qualified to say |
| 4783 | 6442 | which package the global variable is in (using "::"). |
| 4784 | 6443 | |
| 4785 | 6444 | =end original |
| 4786 | 6445 | |
| 4787 | 6446 | (F) "use strict" か "use strict vars" が指定されていますので、すべての変数は |
| 4788 | 6447 | ("my" か "state" を使った) レキシカルスコープの変数か、"our" を使って事前に |
| 4789 | 6448 | 宣言するか、グローバル変数がどのパッケージのものかを ("::" を使って)、 |
| 4790 | 6449 | 明示的に修飾しなくてはなりません。 |
| 4791 | 6450 | |
| 4792 | 6451 | =item glob failed (%s) |
| 4793 | 6452 | |
| 4794 | 6453 | =begin original |
| 4795 | 6454 | |
| 4796 | 6455 | (S glob) Something went wrong with the external program(s) used |
| 4797 | 6456 | for C<glob> and C<< <*.c> >>. Usually, this means that you supplied a C<glob> |
| 4798 | 6457 | pattern that caused the external program to fail and exit with a |
| 4799 | 6458 | nonzero status. If the message indicates that the abnormal exit |
| 4800 | 6459 | resulted in a coredump, this may also mean that your csh (C shell) |
| 4801 | 6460 | is broken. If so, you should change all of the csh-related variables |
| 4802 | 6461 | in config.sh: If you have tcsh, make the variables refer to it as |
| 4803 | 6462 | if it were csh (e.g. C<full_csh='/usr/bin/tcsh'>); otherwise, make them |
| 4804 | 6463 | all empty (except that C<d_csh> should be C<'undef'>) so that Perl will |
| 4805 | 6464 | think csh is missing. In either case, after editing config.sh, run |
| 4806 | 6465 | C<./Configure -S> and rebuild Perl. |
| 4807 | 6466 | |
| 4808 | 6467 | =end original |
| 4809 | 6468 | |
| 4810 | 6469 | (S glob) C<glob> や C<< <*.c> >> のために使われる外部プログラムに何か問題が |
| 4811 | 6470 | 発生しました。 |
| 4812 | 6471 | 通常、これは外部プログラムが失敗して非 0 のステータスで終了するような |
| 4813 | 6472 | C<glob> パターンが渡されたことを意味します。 |
| 4814 | 6473 | このメッセージがコアダンプを引きおこした異常終了を示している場合、 |
| 4815 | 6474 | csh (C シェル) が壊れていることを意味しているかもしれません。 |
| 4816 | 6475 | もしそうなら、config.sh の全ての csh 関連の変数を変更するべきです: |
| 4817 | 6476 | もし tcsh があるなら、(C<full_csh='/usr/bin/tcsh'> のように) tcsh を |
| 4818 | 6477 | 参照するように変数を設定します; |
| 4819 | 6478 | さもなければ、関連する全ての変数を空にする(例外として C<d_csh> は |
| 4820 | 6479 | C<'undef'> に設定するべきです)ことで、Perl は csh がないものと考えます。 |
| 4821 | 6480 | どちらの場合でも、config.sh を修正した後、C<./Configure -S> を実行して |
| 4822 | 6481 | Perl を再ビルドしてください。 |
| 4823 | 6482 | |
| 4824 | 6483 | =item Glob not terminated |
| 4825 | 6484 | |
| 4826 | 6485 | =begin original |
| 4827 | 6486 | |
| 4828 | 6487 | (F) The lexer saw a left angle bracket in a place where it was expecting |
| 4829 | 6488 | a term, so it's looking for the corresponding right angle bracket, and |
| 4830 | 6489 | not finding it. Chances are you left some needed parentheses out |
| 4831 | 6490 | earlier in the line, and you really meant a "less than". |
| 4832 | 6491 | |
| 4833 | 6492 | =end original |
| 4834 | 6493 | |
| 4835 | 6494 | (F) 項が必要とされるところで、開き山かっこが見つけたため、 |
| 4836 | 6495 | 対応する閉じ山かっこを探しましたが、見つかりませんでした。 |
| 4837 | 6496 | 可能性としては、必要なかっこを省いてしまい、本当は、「小なり記号」を |
| 4838 | 6497 | 表したかった場合が考えられます。 |
| 4839 | 6498 | |
| 6499 | =item gmtime(%f) failed | |
| 6500 | ||
| 6501 | =begin original | |
| 6502 | ||
| 6503 | (W overflow) You called C<gmtime> with a number that it could not handle: | |
| 6504 | too large, too small, or NaN. The returned value is C<undef>. | |
| 6505 | ||
| 6506 | =end original | |
| 6507 | ||
| 6508 | (W overflow) 扱えない数値で C<gmtime> を呼び出しました: 大きすぎたり | |
| 6509 | 小さすぎたり NaN だったりです。 | |
| 6510 | 返り値は C<undef> です。 | |
| 6511 | ||
| 4840 | 6512 | =item gmtime(%f) too large |
| 4841 | 6513 | |
| 4842 | 6514 | =begin original |
| 4843 | 6515 | |
| 4844 | 6516 | (W overflow) You called C<gmtime> with a number that was larger than |
| 4845 | 6517 | it can reliably handle and C<gmtime> probably returned the wrong |
| 4846 | 6518 | date. This warning is also triggered with NaN (the special |
| 4847 | 6519 | not-a-number value). |
| 4848 | 6520 | |
| 4849 | 6521 | =end original |
| 4850 | 6522 | |
| 4851 | 6523 | (W overflow) 確実に扱えるよりも大きい数値の引数で C<gmtime> を呼び出して、 |
| 4852 | 6524 | おそらく間違った日付が返されました。 |
| 4853 | 6525 | この警告は、NaN (特殊な非数) でも引き起こされます。 |
| 4854 | 6526 | |
| 4855 | 6527 | =item gmtime(%f) too small |
| 4856 | 6528 | |
| 4857 | 6529 | =begin original |
| 4858 | 6530 | |
| 4859 | 6531 | (W overflow) You called C<gmtime> with a number that was smaller than |
| 4860 | 6532 | it can reliably handle and C<gmtime> probably returned the wrong date. |
| 4861 | 6533 | |
| 4862 | 6534 | =end original |
| 4863 | 6535 | |
| 4864 | 6536 | (W overflow) 確実に扱えるよりも大きい数値の引数で C<gmtime> を呼び出して、 |
| 4865 | 6537 | おそらく間違った日付が返されました。 |
| 4866 | 6538 | |
| 4867 | 6539 | =item Got an error from DosAllocMem |
| 4868 | 6540 | |
| 4869 | 6541 | =begin original |
| 4870 | 6542 | |
| 4871 | 6543 | (P) An error peculiar to OS/2. Most probably you're using an obsolete |
| 4872 | 6544 | version of Perl, and this should not happen anyway. |
| 4873 | 6545 | |
| 4874 | 6546 | =end original |
| 4875 | 6547 | |
| 4876 | 6548 | (P) OS/2 に固有のエラーです。 |
| 4877 | 6549 | もっともありそうなのは廃止されたバージョンの Perl を使っていることで、 |
| 4878 | 6550 | どちらにしてもこのエラーは起きないはずです。 |
| 4879 | 6551 | |
| 4880 | 6552 | =item goto must have label |
| 4881 | 6553 | |
| 4882 | 6554 | =begin original |
| 4883 | 6555 | |
| 4884 | 6556 | (F) Unlike with "next" or "last", you're not allowed to goto an |
| 4885 | 6557 | unspecified destination. See L<perlfunc/goto>. |
| 4886 | 6558 | |
| 4887 | 6559 | =end original |
| 4888 | 6560 | |
| 4889 | 6561 | (F) "next" や "last" とは違って、goto には必ず、飛び先を |
| 4890 | 6562 | 指定しなくてはなりません。 |
| 4891 | 6563 | L<perlfunc/goto> を参照してください。 |
| 4892 | 6564 | |
| 4893 | 6565 | =item Goto undefined subroutine%s |
| 4894 | 6566 | |
| 4895 | 6567 | =begin original |
| 4896 | 6568 | |
| 4897 | 6569 | (F) You tried to call a subroutine with C<goto &sub> syntax, but |
| 4898 | 6570 | the indicated subroutine hasn't been defined, or if it was, it |
| 4899 | 6571 | has since been undefined. |
| 4900 | 6572 | |
| 4901 | 6573 | =end original |
| 4902 | 6574 | |
| 4903 | 6575 | (F) C<goto &sub> 文法でサブルーチンを呼び出そうとしましたが、示された |
| 4904 | 6576 | サブルーチンは定義されていないか、定義されていましたが未定義化されました。 |
| 4905 | 6577 | |
| 6578 | =item Group name must start with a non-digit word character in regex; marked by | |
| 6579 | S<<-- HERE> in m/%s/ | |
| 6580 | ||
| 6581 | =begin original | |
| 6582 | ||
| 6583 | (F) Group names must follow the rules for perl identifiers, meaning | |
| 6584 | they must start with a non-digit word character. A common cause of | |
| 6585 | this error is using (?&0) instead of (?0). See L<perlre>. | |
| 6586 | ||
| 6587 | =end original | |
| 6588 | ||
| 6589 | (F) グループ名は perl 識別子の規則に従う必要があり、非数値単語文字で | |
| 6590 | 始まらなければなりません。 | |
| 6591 | このエラーのよくある原因は (?0) ではなく (?&0) を使うことです。 | |
| 6592 | L<perlre> を参照してください。 | |
| 6593 | ||
| 4906 | 6594 | =item ()-group starts with a count |
| 4907 | 6595 | |
| 4908 | 6596 | =begin original |
| 4909 | 6597 | |
| 4910 | 6598 | (F) A ()-group started with a count. A count is supposed to follow |
| 4911 | 6599 | something: a template character or a ()-group. See L<perlfunc/pack>. |
| 4912 | 6600 | |
| 4913 | 6601 | =end original |
| 4914 | 6602 | |
| 4915 | 6603 | (F) () グループが繰り返し数で始まっています。 |
| 4916 | 6604 | 繰り返し数は、テンプレート文字か () グループの後に続くことを想定しています。 |
| 4917 | 6605 | L<perlfunc/pack> を参照してください。 |
| 4918 | 6606 | |
| 4919 | 6607 | =item %s had compilation errors. |
| 4920 | 6608 | |
| 4921 | 6609 | =begin original |
| 4922 | 6610 | |
| 4923 | 6611 | (F) The final summary message when a C<perl -c> fails. |
| 4924 | 6612 | |
| 4925 | 6613 | =end original |
| 4926 | 6614 | |
| 4927 | 6615 | (F) C<perl -c> が失敗したときの最終まとめメッセージです。 |
| 4928 | 6616 | |
| 4929 | 6617 | =item Had to create %s unexpectedly |
| 4930 | 6618 | |
| 4931 | 6619 | =begin original |
| 4932 | 6620 | |
| 4933 | 6621 | (S internal) A routine asked for a symbol from a symbol table that ought |
| 4934 | 6622 | to have existed already, but for some reason it didn't, and had to be |
| 4935 | 6623 | created on an emergency basis to prevent a core dump. |
| 4936 | 6624 | |
| 4937 | 6625 | =end original |
| 4938 | 6626 | |
| 4939 | 6627 | (S internal) あるルーティンが、既に存在しているはずのシンボルを、 |
| 4940 | 6628 | シンボルテーブルで探しましたが、何らかの理由で存在せず、 |
| 4941 | 6629 | コアダンプを避けるために、緊急に生成しました。 |
| 4942 | 6630 | |
| 4943 | =item | |
| 6631 | =item %s has too many errors | |
| 4944 | 6632 | |
| 4945 | 6633 | =begin original |
| 4946 | 6634 | |
| 4947 | ( | |
| 6635 | (F) The parser has given up trying to parse the program after 10 errors. | |
| 4948 | ||
| 6636 | Further error messages would likely be uninformative. | |
| 4949 | 6637 | |
| 4950 | 6638 | =end original |
| 4951 | 6639 | |
| 4952 | ( | |
| 6640 | (F) 構文解析部が、プログラム中に 10 個のエラーを見つけたため、 | |
| 4953 | ||
| 6641 | それ以上の解析を諦めました。 | |
| 4954 | ||
| 6642 | それ以上のエラーメッセージは、おそらく意味がないでしょう。 | |
| 4955 | 6643 | |
| 4956 | =item | |
| 6644 | =item Hexadecimal float: exponent overflow | |
| 4957 | 6645 | |
| 4958 | 6646 | =begin original |
| 4959 | 6647 | |
| 4960 | ( | |
| 6648 | (W overflow) The hexadecimal floating point has a larger exponent | |
| 4961 | ||
| 6649 | than the floating point supports. | |
| 4962 | 6650 | |
| 4963 | 6651 | =end original |
| 4964 | 6652 | |
| 4965 | ( | |
| 6653 | (W overflow) 16 進浮動小数点数は、対応している浮動小数点数よりも大きな | |
| 4966 | ||
| 6654 | 指数を持っています。 | |
| 4967 | それ以上のエラーメッセージは、おそらく意味がないでしょう。 | |
| 4968 | 6655 | |
| 4969 | =item Ha | |
| 6656 | =item Hexadecimal float: exponent underflow | |
| 4970 | 6657 | |
| 4971 | 6658 | =begin original |
| 4972 | 6659 | |
| 4973 | ( | |
| 6660 | (W overflow) The hexadecimal floating point has a smaller exponent | |
| 6661 | than the floating point supports. With the IEEE 754 floating point, | |
| 6662 | this may also mean that the subnormals (formerly known as denormals) | |
| 6663 | are being used, which may or may not be an error. | |
| 4974 | 6664 | |
| 4975 | 6665 | =end original |
| 4976 | 6666 | |
| 4977 | ( | |
| 6667 | (W overflow) 16 進浮動小数点数は、対応している浮動小数点数よりも大きな | |
| 6668 | 指数を持っています。 | |
| 6669 | IEEE 754 浮動小数点では、正規化数が使われたことを意味するかもしれません; | |
| 6670 | どちらにしろエラーです。 | |
| 4978 | 6671 | |
| 6672 | =item Hexadecimal float: internal error (%s) | |
| 6673 | ||
| 4979 | 6674 | =begin original |
| 4980 | 6675 | |
| 4981 | ||
| 6676 | (F) Something went horribly bad in hexadecimal float handling. | |
| 4982 | a pattern without an intervening space. If you are trying to use | |
| 4983 | the C</le> flags on a substitution, use C</el> instead. Otherwise, add | |
| 4984 | white space between the pattern and following word to eliminate | |
| 4985 | the warning. As an example of the latter, the two constructs: | |
| 4986 | 6677 | |
| 4987 | 6678 | =end original |
| 4988 | 6679 | |
| 4989 | ||
| 6680 | (F) 16 進浮動小数点の扱いにおいて何かが恐ろしくおかしくなりました。 | |
| 4990 | 置換に C</le> フラグを使いたい場合は、代わりに C</el> を使ってください。 | |
| 4991 | さもなければ、警告を消すためにパターンと引き続く単語の間に空白を | |
| 4992 | 追加してください。 | |
| 4993 | 後者の例として、二つの構文は: | |
| 4994 | 6681 | |
| 4995 | ||
| 6682 | =item Hexadecimal float: mantissa overflow | |
| 4996 | $a =~ m/$foo/s and $bar | |
| 4997 | 6683 | |
| 4998 | 6684 | =begin original |
| 4999 | 6685 | |
| 5000 | ||
| 6686 | (W overflow) The hexadecimal floating point literal had more bits in | |
| 5001 | the | |
| 6687 | the mantissa (the part between the 0x and the exponent, also known as | |
| 6688 | the fraction or the significand) than the floating point supports. | |
| 5002 | 6689 | |
| 5003 | 6690 | =end original |
| 5004 | 6691 | |
| 5005 | ||
| 6692 | (W overflow) 16 進浮動小数点数リテラルは、仮数部 (0x と指数部の間の部分) に | |
| 5006 | ||
| 6693 | 浮動小数点数が対応しているよりも多いビット数があります。 | |
| 5007 | また、 | |
| 5008 | 6694 | |
| 5009 | ||
| 6695 | =item Hexadecimal float: precision loss | |
| 5010 | 6696 | |
| 5011 | 6697 | =begin original |
| 5012 | 6698 | |
| 5013 | ||
| 6699 | (W overflow) The hexadecimal floating point had internally more | |
| 6700 | digits than could be output. This can be caused by unsupported | |
| 6701 | long double formats, or by 64-bit integers not being available | |
| 6702 | (needed to retrieve the digits under some configurations). | |
| 5014 | 6703 | |
| 5015 | 6704 | =end original |
| 5016 | 6705 | |
| 5017 | ||
| 6706 | (W overflow) 16 進浮動小数点数リテラルは内部では出力可能なものより | |
| 6707 | 多くの桁数を保持しています。 | |
| 6708 | これは未対応の long double 形式や、(設定によっては受け取る必要のある) | |
| 6709 | 利用できない 64 ビット整数によって引き起こされます。 | |
| 5018 | 6710 | |
| 6711 | =item Hexadecimal float: unsupported long double format | |
| 6712 | ||
| 6713 | =begin original | |
| 6714 | ||
| 6715 | (F) You have configured Perl to use long doubles but | |
| 6716 | the internals of the long double format are unknown; | |
| 6717 | therefore the hexadecimal float output is impossible. | |
| 6718 | ||
| 6719 | =end original | |
| 6720 | ||
| 6721 | (F) long double を使うように設定された Perl を使っていますが、 | |
| 6722 | long double の内部形式が不明です; 従って 16 進浮動小数点数出力は | |
| 6723 | 不可能です。 | |
| 6724 | ||
| 5019 | 6725 | =item Hexadecimal number > 0xffffffff non-portable |
| 5020 | 6726 | |
| 5021 | 6727 | =begin original |
| 5022 | 6728 | |
| 5023 | 6729 | (W portable) The hexadecimal number you specified is larger than 2**32-1 |
| 5024 | 6730 | (4294967295) and therefore non-portable between systems. See |
| 5025 | 6731 | L<perlport> for more on portability concerns. |
| 5026 | 6732 | |
| 5027 | 6733 | =end original |
| 5028 | 6734 | |
| 5029 | 6735 | (W portable) 指定した 16 進数が 2**32-1 (4294967295) より大きいので、 |
| 5030 | 6736 | システム間で移植性がありません。 |
| 5031 | 6737 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
| 5032 | 6738 | |
| 5033 | 6739 | =item Identifier too long |
| 5034 | 6740 | |
| 5035 | 6741 | =begin original |
| 5036 | 6742 | |
| 5037 | 6743 | (F) Perl limits identifiers (names for variables, functions, etc.) to |
| 5038 | 6744 | about 250 characters for simple names, and somewhat more for compound |
| 5039 | 6745 | names (like C<$A::B>). You've exceeded Perl's limits. Future versions |
| 5040 | 6746 | of Perl are likely to eliminate these arbitrary limitations. |
| 5041 | 6747 | |
| 5042 | 6748 | =end original |
| 5043 | 6749 | |
| 5044 | 6750 | (F) Perl は識別子(変数名や関数名など)について、単純な名前については |
| 5045 | 6751 | およそ 250 文字に、(C<$A::B> のような)複合名についてはもう少し長い長さに |
| 5046 | 6752 | 制限しています。 |
| 5047 | 6753 | この Perl の制限を越えました。 |
| 5048 | 6754 | 将来のバージョンの Perl ではこれらの恣意的な制限はなくなるでしょう。 |
| 5049 | 6755 | |
| 5050 | =item Ignoring zero length \N{} in character class | |
| 6756 | =item Ignoring zero length \N{} in character class in regex; marked by | |
| 6757 | S<<-- HERE> in m/%s/ | |
| 5051 | 6758 | |
| 5052 | 6759 | =begin original |
| 5053 | 6760 | |
| 5054 | (W) Named Unicode character escapes C< | |
| 6761 | (W regexp) Named Unicode character escapes (C<\N{...}>) may return a | |
| 5055 | sequence. When such an escape is used in a character | |
| 6762 | zero-length sequence. When such an escape is used in a character | |
| 5056 | behavio | |
| 6763 | class its behavior is not well defined. Check that the correct | |
| 5057 | been used, and the correct charname handler is in scope. | |
| 6764 | escape has been used, and the correct charname handler is in scope. | |
| 5058 | 6765 | |
| 5059 | 6766 | =end original |
| 5060 | 6767 | |
| 5061 | (W) 名前付き Unicode 文字エスケープ C< | |
| 6768 | (W regexp) 名前付き Unicode 文字エスケープ (C<\N{...}>) が長さ 0 の | |
| 5062 | 6769 | シーケンスを返しました。 |
| 5063 | 6770 | 文字クラスでこのようなエスケープが使われた場合、振る舞いは未定義です。 |
| 5064 | 6771 | 正しいエスケープを使っているか、および正しい文字名ハンドラがスコープ内に |
| 5065 | 6772 | あるかをチェックしてください。 |
| 5066 | 6773 | |
| 5067 | =item Illegal | |
| 6774 | =item Illegal %s digit '%c' ignored | |
| 5068 | 6775 | |
| 5069 | 6776 | =begin original |
| 5070 | 6777 | |
| 5071 | ( | |
| 6778 | (W digit) Here C<%s> is one of "binary", "octal", or "hex". | |
| 6779 | You may have tried to use a digit other than one that is legal for the | |
| 6780 | given type, such as only 0 and 1 for binary. For octals, this is raised | |
| 6781 | only if the illegal character is an '8' or '9'. For hex, 'A' - 'F' and | |
| 6782 | 'a' - 'f' are legal. | |
| 6783 | Interpretation of the number stopped just before the offending digit or | |
| 6784 | character. | |
| 5072 | 6785 | |
| 5073 | 6786 | =end original |
| 5074 | 6787 | |
| 5075 | ( | |
| 6788 | (W digit) ここで C<%s> は "binary", "octal", "hex" のうちの一つです。 | |
| 6789 | 2 進数での 0 と 1 のような、与えられた型で正当でない数字を | |
| 6790 | 使おうとしたのでしょう。 | |
| 6791 | 8 進数の場合は、これは不正な文字が '8' または '9' の場合にのみ発生します。 | |
| 6792 | 16 進数の場合、'A' - 'F' と 'a' - 'f' は正当です。 | |
| 6793 | 数の解釈は問題のある数値や文字の直前で停止しました。 | |
| 5076 | 6794 | |
| 5077 | =item Illegal binary digit % | |
| 6795 | =item Illegal binary digit '%c' | |
| 5078 | 6796 | |
| 5079 | 6797 | =begin original |
| 5080 | 6798 | |
| 5081 | ( | |
| 6799 | (F) You used a digit other than 0 or 1 in a binary number. | |
| 5082 | binary number. Interpretation of the binary number stopped before the | |
| 5083 | offending digit. | |
| 5084 | 6800 | |
| 5085 | 6801 | =end original |
| 5086 | 6802 | |
| 5087 | ( | |
| 6803 | (F) 2 進数として 0 と 1 以外の数値を使っています。 | |
| 5088 | 2 進数の解釈は問題のある数値の手前で停止しました。 | |
| 5089 | 6804 | |
| 5090 | 6805 | =item Illegal character after '_' in prototype for %s : %s |
| 5091 | 6806 | |
| 5092 | 6807 | =begin original |
| 5093 | 6808 | |
| 5094 | (W illegalproto) An illegal character was found in a prototype | |
| 6809 | (W illegalproto) An illegal character was found in a prototype | |
| 5095 | ||
| 6810 | declaration. The '_' in a prototype must be followed by a ';', | |
| 6811 | indicating the rest of the parameters are optional, or one of '@' | |
| 6812 | or '%', since those two will accept 0 or more final parameters. | |
| 5096 | 6813 | |
| 5097 | 6814 | =end original |
| 5098 | 6815 | |
| 5099 | 6816 | (W illegalproto) プロトタイプ宣言に無効な文字が見つかりました。 |
| 5100 | プロトタイプ | |
| 6817 | プロトタイプの中の '_' は、残りの引数がオプションであることを示すために | |
| 6818 | ';' が引き続くか、'@' か '%' の一つでなければなりません; | |
| 6819 | これら二つは 0 以上の末尾の引数を受け付けるからです。 | |
| 5101 | 6820 | |
| 5102 | 6821 | =item Illegal character \%o (carriage return) |
| 5103 | 6822 | |
| 5104 | 6823 | =begin original |
| 5105 | 6824 | |
| 5106 | (F) Perl normally treats carriage returns in the program text as | |
| 6825 | (F) Perl normally treats carriage returns in the program text as | |
| 5107 | would any other whitespace, which means you should never see | |
| 6826 | it would any other whitespace, which means you should never see | |
| 5108 | when Perl was built using standard options. For some | |
| 6827 | this error when Perl was built using standard options. For some | |
| 5109 | version of Perl appears to have been built without | |
| 6828 | reason, your version of Perl appears to have been built without | |
| 5110 | to your Perl administrator. | |
| 6829 | this support. Talk to your Perl administrator. | |
| 5111 | 6830 | |
| 5112 | 6831 | =end original |
| 5113 | 6832 | |
| 5114 | 6833 | (F) Perl は普通プログラムテキスト中の復帰文字をその他の空白と同様に |
| 5115 | 6834 | 扱いますので、Perl を標準のオプションでビルドした場合はこのエラーを |
| 5116 | 6835 | 見ることは決してないはずです。 |
| 5117 | 6836 | どういうわけか、お使いの Perl はこの機能なしでビルドされているようです。 |
| 5118 | 6837 | Perl の管理者に問い合わせてください。 |
| 5119 | 6838 | |
| 6839 | =item Illegal character following sigil in a subroutine signature | |
| 6840 | ||
| 6841 | =begin original | |
| 6842 | ||
| 6843 | (F) A parameter in a subroutine signature contained an unexpected character | |
| 6844 | following the C<$>, C<@> or C<%> sigil character. Normally the sigil | |
| 6845 | should be followed by the variable name or C<=> etc. Perhaps you are | |
| 6846 | trying use a prototype while in the scope of C<use feature 'signatures'>? | |
| 6847 | For example: | |
| 6848 | ||
| 6849 | =end original | |
| 6850 | ||
| 6851 | (F) サブルーチンシグネチャの引数は、C<$>, C<@>, C<%> 印文字に引き続いて | |
| 6852 | 想定外の文字がありました。 | |
| 6853 | 通常は、印には変数名や C<=> などが引き続くはずです。 | |
| 6854 | おそらく C<use feature 'signatures'> のスコープ内で | |
| 6855 | プロトタイプを使おうとしたのでは? | |
| 6856 | 例えば: | |
| 6857 | ||
| 6858 | sub foo ($$) {} # legal - a prototype | |
| 6859 | ||
| 6860 | use feature 'signatures; | |
| 6861 | sub foo ($$) {} # illegal - was expecting a signature | |
| 6862 | sub foo ($x, $y) | |
| 6863 | :prototype($$) {} # legal | |
| 6864 | ||
| 5120 | 6865 | =item Illegal character in prototype for %s : %s |
| 5121 | 6866 | |
| 5122 | 6867 | =begin original |
| 5123 | 6868 | |
| 5124 | 6869 | (W illegalproto) An illegal character was found in a prototype declaration. |
| 5125 | 6870 | Legal characters in prototypes are $, @, %, *, ;, [, ], &, \, and +. |
| 6871 | Perhaps you were trying to write a subroutine signature but didn't enable | |
| 6872 | that feature first (C<use feature 'signatures'>), so your signature was | |
| 6873 | instead interpreted as a bad prototype. | |
| 5126 | 6874 | |
| 5127 | 6875 | =end original |
| 5128 | 6876 | |
| 5129 | 6877 | (W illegalproto) プロトタイプ宣言に無効な文字が見つかりました。 |
| 5130 | 6878 | プロトタイプでの有効な文字は、$, @, %, *, ;, [, ], &, \, + です。 |
| 6879 | おそらくサブルーチンシグネチャを書こうとしたけれども、先にこの機能を有効に | |
| 6880 | していなかった (C<use feature 'signatures'>) ので、シグネチャが間違った | |
| 6881 | プロトタイプとして解釈されたのでしょう。 | |
| 5131 | 6882 | |
| 5132 | 6883 | =item Illegal declaration of anonymous subroutine |
| 5133 | 6884 | |
| 5134 | 6885 | =begin original |
| 5135 | 6886 | |
| 5136 | 6887 | (F) When using the C<sub> keyword to construct an anonymous subroutine, |
| 5137 | 6888 | you must always specify a block of code. See L<perlsub>. |
| 5138 | 6889 | |
| 5139 | 6890 | =end original |
| 5140 | 6891 | |
| 5141 | 6892 | (F) 無名サブルーチンを作るために C<sub> を使ったときは、 |
| 5142 | 6893 | 常にコードのブロックを指定しなければなりません。 |
| 5143 | 6894 | L<perlsub> を参照してください。 |
| 5144 | 6895 | |
| 5145 | 6896 | =item Illegal declaration of subroutine %s |
| 5146 | 6897 | |
| 5147 | 6898 | =begin original |
| 5148 | 6899 | |
| 5149 | 6900 | (F) A subroutine was not declared correctly. See L<perlsub>. |
| 5150 | 6901 | |
| 5151 | 6902 | =end original |
| 5152 | 6903 | |
| 5153 | 6904 | (F) サブルーチンが正しく宣言されていません。 |
| 5154 | 6905 | L<perlsub> を参照してください。 |
| 5155 | 6906 | |
| 5156 | 6907 | =item Illegal division by zero |
| 5157 | 6908 | |
| 5158 | 6909 | =begin original |
| 5159 | 6910 | |
| 5160 | 6911 | (F) You tried to divide a number by 0. Either something was wrong in |
| 5161 | 6912 | your logic, or you need to put a conditional in to guard against |
| 5162 | 6913 | meaningless input. |
| 5163 | 6914 | |
| 5164 | 6915 | =end original |
| 5165 | 6916 | |
| 5166 | 6917 | (F) ゼロで割り算をしようとしました。 |
| 5167 | 6918 | ロジックの誤りか、意味の無い入力を防ぐために、条件を付けることが |
| 5168 | 6919 | 必要かのどちらかでしょう。 |
| 5169 | 6920 | |
| 5170 | =item Illegal hexadecimal digit %s ignored | |
| 5171 | ||
| 5172 | =begin original | |
| 5173 | ||
| 5174 | (W digit) You may have tried to use a character other than 0 - 9 or | |
| 5175 | A - F, a - f in a hexadecimal number. Interpretation of the hexadecimal | |
| 5176 | number stopped before the illegal character. | |
| 5177 | ||
| 5178 | =end original | |
| 5179 | ||
| 5180 | (W digit) 16 進数として 0 - 9, A - F, a - f 以外の文字を使おうとしました。 | |
| 5181 | 16 進数の解釈は不正な文字の手前で停止しました。 | |
| 5182 | ||
| 5183 | 6921 | =item Illegal modulus zero |
| 5184 | 6922 | |
| 5185 | 6923 | =begin original |
| 5186 | 6924 | |
| 5187 | 6925 | (F) You tried to divide a number by 0 to get the remainder. Most |
| 5188 | 6926 | numbers don't take to this kindly. |
| 5189 | 6927 | |
| 5190 | 6928 | =end original |
| 5191 | 6929 | |
| 5192 | 6930 | (F) 余りを求めるのに、ゼロで割り算をしようとしました。 |
| 5193 | 6931 | これは、ほとんどの数体系で受け入れられません。 |
| 5194 | 6932 | |
| 5195 | 6933 | =item Illegal number of bits in vec |
| 5196 | 6934 | |
| 5197 | 6935 | =begin original |
| 5198 | 6936 | |
| 5199 | 6937 | (F) The number of bits in vec() (the third argument) must be a power of |
| 5200 | 6938 | two from 1 to 32 (or 64, if your platform supports that). |
| 5201 | 6939 | |
| 5202 | 6940 | =end original |
| 5203 | 6941 | |
| 5204 | 6942 | (F) vec() のビット数 (第三引数) は 1 から 32 (プラットフォームが |
| 5205 | 6943 | 対応している場合は 64) までの、2 のべき乗でなければなりません。 |
| 5206 | 6944 | |
| 5207 | =item Illegal octal digit % | |
| 6945 | =item Illegal octal digit '%c' | |
| 5208 | 6946 | |
| 5209 | 6947 | =begin original |
| 5210 | 6948 | |
| 5211 | 6949 | (F) You used an 8 or 9 in an octal number. |
| 5212 | 6950 | |
| 5213 | 6951 | =end original |
| 5214 | 6952 | |
| 5215 | 6953 | (F) 8 進数で 8 か 9 を使いました。 |
| 5216 | 6954 | |
| 5217 | =item Illegal o | |
| 6955 | =item Illegal operator following parameter in a subroutine signature | |
| 5218 | 6956 | |
| 5219 | 6957 | =begin original |
| 5220 | 6958 | |
| 5221 | ( | |
| 6959 | (F) A parameter in a subroutine signature, was followed by something | |
| 5222 | ||
| 6960 | other than C<=> introducing a default, C<,> or C<)>. | |
| 5223 | 6961 | |
| 5224 | 6962 | =end original |
| 5225 | 6963 | |
| 5226 | ( | |
| 6964 | (F) サブルーチンシグネチャで引数に引き続いて、デフォルトを導入する | |
| 5227 | ||
| 6965 | C<=>, C<,>, C<)> 以外のものがありました。 | |
| 5228 | 6966 | |
| 6967 | use feature 'signatures'; | |
| 6968 | sub foo ($=1) {} # legal | |
| 6969 | sub foo ($x = 1) {} # legal | |
| 6970 | sub foo ($x += 1) {} # illegal | |
| 6971 | sub foo ($x == 1) {} # illegal | |
| 6972 | ||
| 6973 | =item Illegal pattern in regex; marked by S<<-- HERE> in m/%s/ | |
| 6974 | ||
| 6975 | =begin original | |
| 6976 | ||
| 6977 | (F) You wrote something like | |
| 6978 | ||
| 6979 | =end original | |
| 6980 | ||
| 6981 | (F) 次のようなものを書きました: | |
| 6982 | ||
| 6983 | (?+foo) | |
| 6984 | ||
| 6985 | =begin original | |
| 6986 | ||
| 6987 | The C<"+"> is valid only when followed by digits, indicating a | |
| 6988 | capturing group. See | |
| 6989 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)>. | |
| 6990 | ||
| 6991 | =end original | |
| 6992 | ||
| 6993 | C<"+"> は捕捉グループを示すために数値が引き続く場合にのみ正当です。 | |
| 6994 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)> を | |
| 6995 | 参照してください。 | |
| 6996 | ||
| 6997 | =item Illegal suidscript | |
| 6998 | ||
| 6999 | =begin original | |
| 7000 | ||
| 7001 | (F) The script run under suidperl was somehow illegal. | |
| 7002 | ||
| 7003 | =end original | |
| 7004 | ||
| 7005 | (F) suidperl でのスクリプトの実行が何らかの理由で不正でした。 | |
| 7006 | ||
| 5229 | 7007 | =item Illegal switch in PERL5OPT: -%c |
| 5230 | 7008 | |
| 5231 | 7009 | =begin original |
| 5232 | 7010 | |
| 5233 | 7011 | (X) The PERL5OPT environment variable may only be used to set the |
| 5234 | 7012 | following switches: B<-[CDIMUdmtw]>. |
| 5235 | 7013 | |
| 5236 | 7014 | =end original |
| 5237 | 7015 | |
| 5238 | (X) PERL5OPT 環境変数で設定できるのは B<-[CDIMUdmtw]> の | |
| 7016 | (X) PERL5OPT 環境変数で設定できるのは B<-[CDIMUdmtw]> のオプションだけです。 | |
| 5239 | オプションだけです。 | |
| 5240 | 7017 | |
| 7018 | =item Illegal user-defined property name | |
| 7019 | ||
| 7020 | =begin original | |
| 7021 | ||
| 7022 | (F) You specified a Unicode-like property name in a regular expression | |
| 7023 | pattern (using C<\p{}> or C<\P{}>) that Perl knows isn't an official | |
| 7024 | Unicode property, and was likely meant to be a user-defined property | |
| 7025 | name, but it can't be one of those, as they must begin with either C<In> | |
| 7026 | or C<Is>. Check the spelling. See also | |
| 7027 | L</Can't find Unicode property definition "%s">. | |
| 7028 | ||
| 7029 | =end original | |
| 7030 | ||
| 7031 | (F) (C<\p{}> や C<\P{}> を使って) 正規表現中に Perl が | |
| 7032 | 公式 Unicode 特性として知らない Unicode 風の特性姪を指定して、 | |
| 7033 | おそらくそれはユーザー定義特性を意味しているのでしょうが、 | |
| 7034 | しかし、それらは C<In> か C<Is> で始まっていなければならないので、 | |
| 7035 | そうなりません。 | |
| 7036 | 綴りを確認してください。 | |
| 7037 | L</Can't find Unicode property definition "%s"> も参照してください。 | |
| 7038 | ||
| 5241 | 7039 | =item Ill-formed CRTL environ value "%s" |
| 5242 | 7040 | |
| 5243 | 7041 | =begin original |
| 5244 | 7042 | |
| 5245 | 7043 | (W internal) A warning peculiar to VMS. Perl tried to read the CRTL's |
| 5246 | 7044 | internal environ array, and encountered an element without the C<=> |
| 5247 | 7045 | delimiter used to separate keys from values. The element is ignored. |
| 5248 | 7046 | |
| 5249 | 7047 | =end original |
| 5250 | 7048 | |
| 5251 | 7049 | (W internal) VMS に固有の警告です。 |
| 5252 | 7050 | Perl は CRTL の内部環境配列を読み込もうとしましたが、キーを値と |
| 5253 | 7051 | 分離するために使われている C<=> デリミタのない要素に遭遇しました。 |
| 5254 | 7052 | この要素は無視しました。 |
| 5255 | 7053 | |
| 5256 | 7054 | =item Ill-formed message in prime_env_iter: |%s| |
| 5257 | 7055 | |
| 5258 | 7056 | =begin original |
| 5259 | 7057 | |
| 5260 | 7058 | (W internal) A warning peculiar to VMS. Perl tried to read a logical |
| 5261 | 7059 | name or CLI symbol definition when preparing to iterate over %ENV, and |
| 5262 | 7060 | didn't see the expected delimiter between key and value, so the line was |
| 5263 | 7061 | ignored. |
| 5264 | 7062 | |
| 5265 | 7063 | =end original |
| 5266 | 7064 | |
| 5267 | 7065 | (W internal) VMS に固有の警告です。 |
| 5268 | 7066 | Perl は %ENV を反復する準備したときに論理名や CLI シンボル定義を |
| 5269 | 7067 | 読み込もうとしましたが、キーと値の間のデリミタが見つからなかったので、 |
| 5270 | 7068 | その行は無視しました。 |
| 5271 | 7069 | |
| 5272 | 7070 | =item (in cleanup) %s |
| 5273 | 7071 | |
| 5274 | 7072 | =begin original |
| 5275 | 7073 | |
| 5276 | 7074 | (W misc) This prefix usually indicates that a DESTROY() method raised |
| 5277 | 7075 | the indicated exception. Since destructors are usually called by the |
| 5278 | 7076 | system at arbitrary points during execution, and often a vast number of |
| 5279 | 7077 | times, the warning is issued only once for any number of failures that |
| 5280 | 7078 | would otherwise result in the same message being repeated. |
| 5281 | 7079 | |
| 5282 | 7080 | =end original |
| 5283 | 7081 | |
| 5284 | 7082 | (W misc) この接頭辞は普通、示されている例外が DESTROY() メソッドで |
| 5285 | 7083 | 発生したことを示しています。 |
| 5286 | 7084 | デストラクタは普通実行中の任意の時点で呼び出され、しばしば大量に |
| 5287 | 7085 | 呼び出されるので、この警告は同じメッセージが繰り返されないように、 |
| 5288 | 7086 | 何回失敗しても一度だけ発生します。 |
| 5289 | 7087 | |
| 5290 | 7088 | =begin original |
| 5291 | 7089 | |
| 5292 | 7090 | Failure of user callbacks dispatched using the C<G_KEEPERR> flag could |
| 5293 | 7091 | also result in this warning. See L<perlcall/G_KEEPERR>. |
| 5294 | 7092 | |
| 5295 | 7093 | =end original |
| 5296 | 7094 | |
| 5297 | 7095 | C<G_KEEPERR> フラグを使って発行(dispatch)したユーザーコールバックに失敗した |
| 5298 | 7096 | 場合にもこの警告が出ることがあります。 |
| 5299 | 7097 | L<perlcall/G_KEEPERR> を参照してください。 |
| 5300 | 7098 | |
| 5301 | =item I | |
| 7099 | =item Implicit use of @_ in %s with signatured subroutine is experimental | |
| 5302 | 7100 | |
| 5303 | 7101 | =begin original |
| 5304 | 7102 | |
| 7103 | (S experimental::args_array_with_signatures) An expression that implicitly | |
| 7104 | involves the C<@_> arguments array was found in a subroutine that uses a | |
| 7105 | signature. This is experimental because the interaction between the | |
| 7106 | arguments array and parameter handling via signatures is not guaranteed | |
| 7107 | to remain stable in any future version of Perl, and such code should be | |
| 7108 | avoided. | |
| 7109 | ||
| 7110 | =end original | |
| 7111 | ||
| 7112 | (S experimental::args_array_with_signatures) | |
| 7113 | 暗黙に C<@_> 引数配列が関係する式が | |
| 7114 | シグネチャを使ったサブルーチンの中に見つかりました。 | |
| 7115 | 引数の配列とシグネチャ経由での引数の操作はの間の相互作用は、 | |
| 7116 | 将来のバージョンの Perl でも安定なままであることが保証されておらず、 | |
| 7117 | そのようなコードは避けるべきなため、これは実験的です。 | |
| 7118 | ||
| 7119 | =item Incomplete expression within '(?[ ])' in regex; marked by S<<-- HERE> | |
| 7120 | in m/%s/ | |
| 7121 | ||
| 7122 | =begin original | |
| 7123 | ||
| 7124 | (F) There was a syntax error within the C<(?[ ])>. This can happen if the | |
| 7125 | expression inside the construct was completely empty, or if there are | |
| 7126 | too many or few operands for the number of operators. Perl is not smart | |
| 7127 | enough to give you a more precise indication as to what is wrong. | |
| 7128 | ||
| 7129 | =end original | |
| 7130 | ||
| 7131 | (F) これは C<(?[ ])> の中の文法エラーです。 | |
| 7132 | これは、この構文の中の式が完全に空か、演算子の数に対してオペランドが多すぎたり | |
| 7133 | 少なすぎたりする場合に起こります。 | |
| 7134 | Perl は、何が悪いのかをより正確に示せるほど賢くはありませんでした。 | |
| 7135 | ||
| 7136 | =item Inconsistent hierarchy during C3 merge of class '%s': merging failed on | |
| 7137 | parent '%s' | |
| 7138 | ||
| 7139 | =begin original | |
| 7140 | ||
| 5305 | 7141 | (F) The method resolution order (MRO) of the given class is not |
| 5306 | 7142 | C3-consistent, and you have enabled the C3 MRO for this class. See the C3 |
| 5307 | 7143 | documentation in L<mro> for more information. |
| 5308 | 7144 | |
| 5309 | 7145 | =end original |
| 5310 | 7146 | |
| 5311 | 7147 | (F) 与えられたクラスのメソッド解決順序 (MRO) が C3 に矛盾していますが、 |
| 5312 | 7148 | このクラスの C3 MRO を有効にしました。 |
| 5313 | 7149 | さらなる情報については L<mro> 内の C3 に関する文書を参照してください。 |
| 5314 | 7150 | |
| 5315 | =item In | |
| 7151 | =item Indentation on line %d of here-doc doesn't match delimiter | |
| 5316 | 7152 | |
| 5317 | 7153 | =begin original |
| 5318 | 7154 | |
| 5319 | (F) | |
| 7155 | (F) You have an indented here-document where one or more of its lines | |
| 5320 | ||
| 7156 | have whitespace at the beginning that does not match the closing | |
| 5321 | ||
| 7157 | delimiter. | |
| 5322 | 7158 | |
| 5323 | 7159 | =end original |
| 5324 | 7160 | |
| 5325 | (F) | |
| 7161 | (F) インデントのあるヒヤドキュメントがありますが、 | |
| 5326 | ||
| 7162 | 先頭に空白があるけれども閉じ区切り文字にマッチングしない行があります。 | |
| 5327 | EBCDIC では UTF-EBCDIC でとしてエンコードされています。 | |
| 5328 | UTF-EBCDIC エンコーディングでは、コードポイントは | |
| 5329 | 2147483647 (0x7FFFFFFF) 以下に制限されます。 | |
| 5330 | 7163 | |
| 5331 | = | |
| 7164 | =begin original | |
| 5332 | 7165 | |
| 7166 | For example, line 2 below is wrong because it does not have at least | |
| 7167 | 2 spaces, but lines 1 and 3 are fine because they have at least 2: | |
| 7168 | ||
| 7169 | =end original | |
| 7170 | ||
| 7171 | 例えば、以下の Line 2 は間違っています; これは少なくとも 2 個の | |
| 7172 | スペースが必要だからです; しかし、Line 1 と Line 3 は正しいです; | |
| 7173 | 少なくとも 2 個あるからです: | |
| 7174 | ||
| 7175 | if ($something) { | |
| 7176 | print <<~EOF; | |
| 7177 | Line 1 | |
| 7178 | Line 2 not | |
| 7179 | Line 3 | |
| 7180 | EOF | |
| 7181 | } | |
| 7182 | ||
| 5333 | 7183 | =begin original |
| 5334 | 7184 | |
| 7185 | Note that tabs and spaces are compared strictly, meaning 1 tab will | |
| 7186 | not match 8 spaces. | |
| 7187 | ||
| 7188 | =end original | |
| 7189 | ||
| 7190 | タブとスペースは厳密に比較されるので、タブ 1 個は スペース 8 個とは | |
| 7191 | マッチングしないことに注意してください。 | |
| 7192 | ||
| 7193 | =item Infinite recursion in regex | |
| 7194 | ||
| 7195 | =begin original | |
| 7196 | ||
| 5335 | 7197 | (F) You used a pattern that references itself without consuming any input |
| 5336 | 7198 | text. You should check the pattern to ensure that recursive patterns |
| 5337 | 7199 | either consume text or fail. |
| 5338 | 7200 | |
| 5339 | 7201 | =end original |
| 5340 | 7202 | |
| 5341 | 7203 | (F) 入力テキストを読み込むことなく自分自身を参照するパターンを使いました。 |
| 5342 | 7204 | 再帰的なパターンが、テキストを読み込むか失敗するかを確実に行うように、 |
| 5343 | 7205 | パターンをチェックするべきです。 |
| 5344 | 7206 | |
| 7207 | =item Infinite recursion in user-defined property | |
| 7208 | ||
| 5345 | 7209 | =begin original |
| 5346 | 7210 | |
| 5347 | ||
| 7211 | (F) A user-defined property (L<perlunicode/User-Defined Character | |
| 5348 | ||
| 7212 | Properties>) can depend on the definitions of other user-defined | |
| 7213 | properties. If the chain of dependencies leads back to this property, | |
| 7214 | infinite recursion would occur, were it not for the check that raised | |
| 7215 | this error. | |
| 5349 | 7216 | |
| 5350 | 7217 | =end original |
| 5351 | 7218 | |
| 5352 | <- | |
| 7219 | (F) ユーザー定義特性 (L<perlunicode/User-Defined Character | |
| 7220 | Properties>) は他のユーザー定義特性の定義に依存できます。 | |
| 7221 | 依存の鎖がこの特性に戻ってくる場合、無限再帰が起きることになり、 | |
| 7222 | そうしないためのチェックがこのエラーを起こします。 | |
| 5353 | 7223 | |
| 5354 | = | |
| 7224 | =begin original | |
| 5355 | 7225 | |
| 7226 | Restructure your property definitions to avoid this. | |
| 7227 | ||
| 7228 | =end original | |
| 7229 | ||
| 7230 | これを避けるために特性定義を再構成してください。 | |
| 7231 | ||
| 7232 | =item Infinite recursion via empty pattern | |
| 7233 | ||
| 5356 | 7234 | =begin original |
| 5357 | 7235 | |
| 5358 | (F) | |
| 7236 | (F) You tried to use the empty pattern inside of a regex code block, | |
| 5359 | in | |
| 7237 | for instance C</(?{ s!!! })/>, which resulted in re-executing | |
| 5360 | ||
| 7238 | the same pattern, which is an infinite loop which is broken by | |
| 5361 | ||
| 7239 | throwing an exception. | |
| 5362 | supported in a future perl release. | |
| 5363 | 7240 | |
| 5364 | 7241 | =end original |
| 5365 | 7242 | |
| 5366 | (F) | |
| 7243 | (F) C</(?{ s!!! })/> のように、正規表現コードブロックの中で | |
| 5367 | ||
| 7244 | 空パターンを使いました; | |
| 5368 | ||
| 7245 | これは同じパターンを再実行することになり、 | |
| 5369 | ||
| 7246 | 例外が投げられることによって壊れる無限ループになります。 | |
| 5370 | C<state (@a) = foo()> のような構文は perl の将来のリリースで | |
| 5371 | 対応されるでしょう。 | |
| 5372 | 7247 | |
| 7248 | =item Initialization of state variables in list currently forbidden | |
| 7249 | ||
| 7250 | =begin original | |
| 7251 | ||
| 7252 | (F) C<state> only permits initializing a single variable, specified | |
| 7253 | without parentheses. So C<state $x = 42> and C<state @x = qw(a b c)> are | |
| 7254 | allowed, but not C<state ($x) = 42> or C<(state $x) = 42>. To initialize | |
| 7255 | more than one C<state> variable, initialize them one at a time. | |
| 7256 | ||
| 7257 | =end original | |
| 7258 | ||
| 7259 | (F) C<state> は、かっこなしで指定された単一の変数の初期化のみが | |
| 7260 | 許されています。 | |
| 7261 | 従って C<state $x = 42> と C<state @x = qw(a b c)> は許されますが、 | |
| 7262 | C<state ($x) = 42> や C<(state $x) = 42> は許されません。 | |
| 7263 | 複数の C<state> 変数を初期化するには、一つずつ初期化してください。 | |
| 7264 | ||
| 7265 | =item %%s[%s] in scalar context better written as $%s[%s] | |
| 7266 | ||
| 7267 | =begin original | |
| 7268 | ||
| 7269 | (W syntax) In scalar context, you've used an array index/value slice | |
| 7270 | (indicated by %) to select a single element of an array. Generally | |
| 7271 | it's better to ask for a scalar value (indicated by $). The difference | |
| 7272 | is that C<$foo[&bar]> always behaves like a scalar, both in the value it | |
| 7273 | returns and when evaluating its argument, while C<%foo[&bar]> provides | |
| 7274 | a list context to its subscript, which can do weird things if you're | |
| 7275 | expecting only one subscript. When called in list context, it also | |
| 7276 | returns the index (what C<&bar> returns) in addition to the value. | |
| 7277 | ||
| 7278 | =end original | |
| 7279 | ||
| 7280 | (W syntax) スカラコンテキストで、配列の単一の要素を選択するために | |
| 7281 | (% で示される)配列インデックス/値スライスを使いました。 | |
| 7282 | 一般的には($ で示される)スカラ値を取得した方がよいです。 | |
| 7283 | 違いは、C<$foo[&bar]> は返り値と引数を評価したときの両方で常にスカラのように | |
| 7284 | 振る舞いますが、C<%foo[&bar]> は添え字にリストコンテキストを提供するので、 | |
| 7285 | 一つだけの添え字を想定していた場合、おかしなことになることがあります。 | |
| 7286 | リストコンテキストで呼び出された場合、値に加えてインデックス | |
| 7287 | (C<&bar> が返すもの) を返します。 | |
| 7288 | ||
| 7289 | =item %%s{%s} in scalar context better written as $%s{%s} | |
| 7290 | ||
| 7291 | =begin original | |
| 7292 | ||
| 7293 | (W syntax) In scalar context, you've used a hash key/value slice | |
| 7294 | (indicated by %) to select a single element of a hash. Generally it's | |
| 7295 | better to ask for a scalar value (indicated by $). The difference | |
| 7296 | is that C<$foo{&bar}> always behaves like a scalar, both in the value | |
| 7297 | it returns and when evaluating its argument, while C<@foo{&bar}> and | |
| 7298 | provides a list context to its subscript, which can do weird things | |
| 7299 | if you're expecting only one subscript. When called in list context, | |
| 7300 | it also returns the key in addition to the value. | |
| 7301 | ||
| 7302 | =end original | |
| 7303 | ||
| 7304 | (W syntax) スカラコンテキストで、ハッシュの単一の要素を選択するために | |
| 7305 | (% で示される)ハッシュキー/値スライスを使いました。 | |
| 7306 | 一般的には($ で示される)スカラ値を取得した方がよいです。 | |
| 7307 | 違いは、C<$foo[&bar]> は返り値と引数を評価したときの両方で常にスカラのように | |
| 7308 | 振る舞いますが、C<%foo[&bar]> は添え字にリストコンテキストを提供するので、 | |
| 7309 | 一つだけの添え字を想定していた場合、おかしなことになることがあります。 | |
| 7310 | リストコンテキストで呼び出された場合、値に加えてインデックスを返します。 | |
| 7311 | ||
| 5373 | 7312 | =item Insecure dependency in %s |
| 5374 | 7313 | |
| 5375 | 7314 | =begin original |
| 5376 | 7315 | |
| 5377 | 7316 | (F) You tried to do something that the tainting mechanism didn't like. |
| 5378 | 7317 | The tainting mechanism is turned on when you're running setuid or |
| 5379 | 7318 | setgid, or when you specify B<-T> to turn it on explicitly. The |
| 5380 | 7319 | tainting mechanism labels all data that's derived directly or indirectly |
| 5381 | 7320 | from the user, who is considered to be unworthy of your trust. If any |
| 5382 | 7321 | such data is used in a "dangerous" operation, you get this error. See |
| 5383 | 7322 | L<perlsec> for more information. |
| 5384 | 7323 | |
| 5385 | 7324 | =end original |
| 5386 | 7325 | |
| 5387 | 7326 | (F) 何か汚染チェックの機構が、望ましくないと判断することを |
| 5388 | 7327 | 行なおうとしました。 |
| 5389 | 7328 | setuid や setgid を実行したときや、明示的に B<-T> で指定したときに、 |
| 5390 | 7329 | 汚染チェック機構が働きます。 |
| 5391 | 7330 | 汚染チェック機構は、信頼がおけないと仮定されるユーザが直接、間接を問わず、 |
| 5392 | 7331 | 指定したデータに印を付けます。 |
| 5393 | 7332 | そのようなデータを「危険な」操作に用いると、このエラーが発生します。 |
| 5394 | 7333 | 詳しくは、L<perlsec> を参照してください。 |
| 5395 | 7334 | |
| 5396 | 7335 | =item Insecure directory in %s |
| 5397 | 7336 | |
| 5398 | 7337 | =begin original |
| 5399 | 7338 | |
| 5400 | 7339 | (F) You can't use system(), exec(), or a piped open in a setuid or |
| 5401 | 7340 | setgid script if C<$ENV{PATH}> contains a directory that is writable by |
| 5402 | 7341 | the world. Also, the PATH must not contain any relative directory. |
| 5403 | 7342 | See L<perlsec>. |
| 5404 | 7343 | |
| 5405 | 7344 | =end original |
| 5406 | 7345 | |
| 5407 | 7346 | (F) C<$ENV{PATH}> の中に、誰にでも書き込みができるディレクトリが |
| 5408 | 7347 | 含まれているとき、system()、exec()、パイプのオープンを |
| 5409 | 7348 | 行なうことはできません。 |
| 5410 | 7349 | また、PATH には相対早退ディレクトリを含んでいてはいけません。 |
| 5411 | 7350 | L<perlsec> を参照してください。 |
| 5412 | 7351 | |
| 5413 | 7352 | =item Insecure $ENV{%s} while running %s |
| 5414 | 7353 | |
| 5415 | 7354 | =begin original |
| 5416 | 7355 | |
| 5417 | 7356 | (F) You can't use system(), exec(), or a piped open in a setuid or |
| 5418 | 7357 | setgid script if any of C<$ENV{PATH}>, C<$ENV{IFS}>, C<$ENV{CDPATH}>, |
| 5419 | 7358 | C<$ENV{ENV}>, C<$ENV{BASH_ENV}> or C<$ENV{TERM}> are derived from data |
| 5420 | 7359 | supplied (or potentially supplied) by the user. The script must set |
| 5421 | 7360 | the path to a known value, using trustworthy data. See L<perlsec>. |
| 5422 | 7361 | |
| 5423 | 7362 | =end original |
| 5424 | 7363 | |
| 5425 | 7364 | (F) C<$ENV{PATH}>, C<$ENV{IFS}>, C<$ENV{CDPATH}>, C<$ENV{ENV}>, |
| 5426 | 7365 | C<$ENV{BASH_ENV}>, C<$ENV{TERM}> のいずれかがユーザーによって提供された |
| 5427 | 7366 | (あるいは提供された可能性のある)データの場合、setuid や setgid された |
| 5428 | 7367 | スクリプトでは system(), exec(), パイプされる open を |
| 5429 | 7368 | 使うことはできません。 |
| 5430 | 7369 | スクリプトはパスとして、信頼の置けるデータを使った、既知の値を |
| 5431 | 7370 | セットしなければなりません。 |
| 5432 | 7371 | L<perlsec> を参照してください。 |
| 5433 | 7372 | |
| 5434 | 7373 | =item Insecure user-defined property %s |
| 5435 | 7374 | |
| 5436 | 7375 | =begin original |
| 5437 | 7376 | |
| 5438 | 7377 | (F) Perl detected tainted data when trying to compile a regular |
| 5439 | 7378 | expression that contains a call to a user-defined character property |
| 5440 | 7379 | function, i.e. C<\p{IsFoo}> or C<\p{InFoo}>. |
| 5441 | 7380 | See L<perlunicode/User-Defined Character Properties> and L<perlsec>. |
| 5442 | 7381 | |
| 5443 | 7382 | =end original |
| 5444 | 7383 | |
| 5445 | 7384 | (F) Perl は、ユーザー定義文字特性関数 (C<\p{IsFoo}> や C<\p{InFoo}>) の |
| 5446 | 7385 | 呼び出しを含む正規表現をコンパイルしようとしたときに汚染されたデータを |
| 5447 | 7386 | 検出しました。 |
| 5448 | 7387 | L<perlunicode/User-Defined Character Properties> と L<perlsec> を |
| 5449 | 7388 | 参照してください。 |
| 5450 | 7389 | |
| 5451 | 7390 | =item Integer overflow in format string for %s |
| 5452 | 7391 | |
| 5453 | 7392 | =begin original |
| 5454 | 7393 | |
| 5455 | 7394 | (F) The indexes and widths specified in the format string of C<printf()> |
| 5456 | 7395 | or C<sprintf()> are too large. The numbers must not overflow the size of |
| 5457 | 7396 | integers for your architecture. |
| 5458 | 7397 | |
| 5459 | 7398 | =end original |
| 5460 | 7399 | |
| 5461 | 7400 | (F) C<printf()> や C<sprintf()> のフォーマット文字列で指定されたインデックスや |
| 5462 | 7401 | 幅が大きすぎます。 |
| 5463 | 7402 | 数値はあなたのアーキテクチャの整数のサイズをオーバーフローしないように |
| 5464 | 7403 | しなければなりません。 |
| 5465 | 7404 | |
| 5466 | 7405 | =item Integer overflow in %s number |
| 5467 | 7406 | |
| 5468 | 7407 | =begin original |
| 5469 | 7408 | |
| 5470 | ( | |
| 7409 | (S overflow) The hexadecimal, octal or binary number you have specified | |
| 5471 | 7410 | either as a literal or as an argument to hex() or oct() is too big for |
| 5472 | 7411 | your architecture, and has been converted to a floating point number. |
| 5473 | 7412 | On a 32-bit architecture the largest hexadecimal, octal or binary number |
| 5474 | 7413 | representable without overflow is 0xFFFFFFFF, 037777777777, or |
| 5475 | 7414 | 0b11111111111111111111111111111111 respectively. Note that Perl |
| 5476 | 7415 | transparently promotes all numbers to a floating point representation |
| 5477 | 7416 | internally--subject to loss of precision errors in subsequent |
| 5478 | 7417 | operations. |
| 5479 | 7418 | |
| 5480 | 7419 | =end original |
| 5481 | 7420 | |
| 5482 | ( | |
| 7421 | (S overflow) リテラルまたは hex() や oct() の引数として指定された 16 進、 | |
| 5483 | 7422 | 8 進、2 進数は実行しているアーキテクチャには大きすぎるので、浮動小数点数に |
| 5484 | 7423 | 変換されました。 |
| 5485 | 7424 | 32 ビットアーキテクチャでは、オーバーフローせずに表現できる 16 進、8 進 |
| 5486 | 7425 | 2 進数はそれぞれ 0xFFFFFFFF, 037777777777, |
| 5487 | 7426 | 0b11111111111111111111111111111111 です。 |
| 5488 | 7427 | Perl は全ての数値を内部では浮動小数点表現に透過的に変換することに |
| 5489 | 7428 | 注意してください -- 引き続く操作によって精度が失われることがあります。 |
| 5490 | 7429 | |
| 7430 | =item Integer overflow in srand | |
| 7431 | ||
| 7432 | =begin original | |
| 7433 | ||
| 7434 | (S overflow) The number you have passed to srand is too big to fit | |
| 7435 | in your architecture's integer representation. The number has been | |
| 7436 | replaced with the largest integer supported (0xFFFFFFFF on 32-bit | |
| 7437 | architectures). This means you may be getting less randomness than | |
| 7438 | you expect, because different random seeds above the maximum will | |
| 7439 | return the same sequence of random numbers. | |
| 7440 | ||
| 7441 | =end original | |
| 7442 | ||
| 7443 | (S overflow) srand に渡した数値は、現在のアーキテクチャの整数表現に | |
| 7444 | 適合させるには大きすぎます。 | |
| 7445 | 数値は対応している最大の整数(32 ビットアーキテクチャでは 0xFFFFFFFF) に | |
| 7446 | 置き換えられました。 | |
| 7447 | これは、最大数よりも大きな異なった乱数の種が同じ乱数の並びを返すので、 | |
| 7448 | 想定しているよりもランダム性が低くなることを意味します。 | |
| 7449 | ||
| 5491 | 7450 | =item Integer overflow in version |
| 5492 | 7451 | |
| 7452 | =item Integer overflow in version %d | |
| 7453 | ||
| 5493 | 7454 | =begin original |
| 5494 | 7455 | |
| 5495 | ( | |
| 7456 | (W overflow) Some portion of a version initialization is too large for | |
| 5496 | size of integers for your architecture. This is not a warning | |
| 7457 | the size of integers for your architecture. This is not a warning | |
| 5497 | because there is no rational reason for a version to try and use a | |
| 7458 | because there is no rational reason for a version to try and use an | |
| 5498 | element larger than typically 2**32. This is usually caused by | |
| 7459 | element larger than typically 2**32. This is usually caused by trying | |
| 5499 | t | |
| 7460 | to use some odd mathematical operation as a version, like 100/9. | |
| 5500 | 100/9. | |
| 5501 | 7461 | |
| 5502 | 7462 | =end original |
| 5503 | 7463 | |
| 5504 | ( | |
| 7464 | (W overflow) バージョン初期化の一部が、アーキテクチャの整数のサイズより | |
| 5505 | 7465 | 大きすぎます。 |
| 5506 | 7466 | バージョンとして典型的には 2**32 を超える要素を使おうとするための合理的な |
| 5507 | 7467 | 理由がないので、これは警告ではありません。 |
| 5508 | 7468 | これは普通、100/9 のようなおかしな数値演算をバージョンとして |
| 5509 | 7469 | 使おうとしたことによります。 |
| 5510 | 7470 | |
| 5511 | =item Internal disaster in regex; marked by <-- HERE in m/%s/ | |
| 7471 | =item Internal disaster in regex; marked by S<<-- HERE> in m/%s/ | |
| 5512 | 7472 | |
| 5513 | 7473 | =begin original |
| 5514 | 7474 | |
| 5515 | 7475 | (P) Something went badly wrong in the regular expression parser. |
| 5516 | The <-- HERE shows in the regular expression | |
| 7476 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
| 5517 | 7477 | discovered. |
| 5518 | 7478 | |
| 5519 | 7479 | =end original |
| 5520 | 7480 | |
| 5521 | 7481 | (P) 正規表現解析部に何か悪いことが起こりました。 |
| 5522 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 7482 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 5523 | 7483 | |
| 5524 | 7484 | =item Internal inconsistency in tracking vforks |
| 5525 | 7485 | |
| 5526 | 7486 | =begin original |
| 5527 | 7487 | |
| 5528 | 7488 | (S) A warning peculiar to VMS. Perl keeps track of the number of times |
| 5529 | 7489 | you've called C<fork> and C<exec>, to determine whether the current call |
| 5530 | 7490 | to C<exec> should affect the current script or a subprocess (see |
| 5531 | 7491 | L<perlvms/"exec LIST">). Somehow, this count has become scrambled, so |
| 5532 | 7492 | Perl is making a guess and treating this C<exec> as a request to |
| 5533 | 7493 | terminate the Perl script and execute the specified command. |
| 5534 | 7494 | |
| 5535 | 7495 | =end original |
| 5536 | 7496 | |
| 5537 | 7497 | (S) VMS に固有の警告です。 |
| 5538 | 7498 | Perl は C<fork> と C<exec> を呼び出した回数を数えています; |
| 5539 | 7499 | これは現在の C<exec> 呼び出しが現在のスクリプトかサブプロセスかどちらに |
| 5540 | 7500 | 影響を与えるかを決定するためです(L<perlvms/"exec LIST"> を |
| 5541 | 7501 | 参照してください)。 |
| 5542 | 7502 | どういうわけか、このカウントがおかしくなったので、Perl はこの C<exec> が |
| 5543 | 7503 | Perl スクリプトを終了させて指定されたコマンドを実行する要求であると |
| 5544 | 7504 | 仮定して、そのように扱いました。 |
| 5545 | 7505 | |
| 5546 | =item | |
| 7506 | =item internal %<num>p might conflict with future printf extensions | |
| 5547 | 7507 | |
| 5548 | 7508 | =begin original |
| 5549 | 7509 | |
| 7510 | (S internal) Perl's internal routine that handles C<printf> and C<sprintf> | |
| 7511 | formatting follows a slightly different set of rules when called from | |
| 7512 | C or XS code. Specifically, formats consisting of digits followed | |
| 7513 | by "p" (e.g., "%7p") are reserved for future use. If you see this | |
| 7514 | message, then an XS module tried to call that routine with one such | |
| 7515 | reserved format. | |
| 7516 | ||
| 7517 | =end original | |
| 7518 | ||
| 7519 | (S internal) C<printf> と C<sprintf> のフォーマットを扱う Perl の | |
| 7520 | 内部ルーチンは、C や XS コードから呼び出されたときは少し違う規則集合に | |
| 7521 | 従います。 | |
| 7522 | 特に、数値に引き続いて "p" のあるフォーマット (例えば "%7p") は将来の | |
| 7523 | 使用のために予約されています。 | |
| 7524 | このメッセージが表示された場合、XS モジュールはこのような予約された | |
| 7525 | フォーマットを使って呼び出そうとしました。 | |
| 7526 | ||
| 7527 | =item Internal urp in regex; marked by S<<-- HERE> in m/%s/ | |
| 7528 | ||
| 7529 | =begin original | |
| 7530 | ||
| 5550 | 7531 | (P) Something went badly awry in the regular expression parser. The |
| 5551 | <-- HERE shows in the regular expression | |
| 7532 | S<<-- HERE> shows whereabouts in the regular expression the problem was | |
| 5552 | 7533 | discovered. |
| 5553 | 7534 | |
| 5554 | 7535 | =end original |
| 5555 | 7536 | |
| 5556 | 7537 | (P) 正規表現解析部に何か間違ったことが起こりました。 |
| 5557 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 7538 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 5558 | 7539 | |
| 5559 | 7540 | =item %s (...) interpreted as function |
| 5560 | 7541 | |
| 5561 | 7542 | =begin original |
| 5562 | 7543 | |
| 5563 | 7544 | (W syntax) You've run afoul of the rule that says that any list operator |
| 5564 | 7545 | followed by parentheses turns into a function, with all the list |
| 5565 | 7546 | operators arguments found inside the parentheses. See |
| 5566 | 7547 | L<perlop/Terms and List Operators (Leftward)>. |
| 5567 | 7548 | |
| 5568 | 7549 | =end original |
| 5569 | 7550 | |
| 5570 | (W syntax) リスト演算子の直後にかっこを置くと、かっこ内にある | |
| 7551 | (W syntax) リスト演算子の直後にかっこを置くと、かっこ内にある | |
| 5571 | 持つ関数になる、という規則が適用されました。 | |
| 7552 | リスト演算子引数を持つ関数になる、という規則が適用されました。 | |
| 5572 | 7553 | L<perlop/Terms and List Operators (Leftward)> を参照してください。 |
| 5573 | 7554 | |
| 7555 | =item In '(?...)', the '(' and '?' must be adjacent in regex; | |
| 7556 | marked by S<<-- HERE> in m/%s/ | |
| 7557 | ||
| 7558 | =begin original | |
| 7559 | ||
| 7560 | (F) The two-character sequence C<"(?"> in this context in a regular | |
| 7561 | expression pattern should be an indivisible token, with nothing | |
| 7562 | intervening between the C<"("> and the C<"?">, but you separated them | |
| 7563 | with whitespace. | |
| 7564 | ||
| 7565 | =end original | |
| 7566 | ||
| 7567 | (F) | |
| 7568 | 正規表現中のこのコンテキストでの 2 文字並び C<"(?"> は分割できないトークンで、 | |
| 7569 | C<"("> と C<"?"> の間には何も入らないはずですが、これを空白で分割しました。 | |
| 7570 | ||
| 7571 | =item In '(*...)', the '(' and '*' must be adjacent in regex; | |
| 7572 | marked by S<<-- HERE> in m/%s/ | |
| 7573 | ||
| 7574 | =begin original | |
| 7575 | ||
| 7576 | (F) The two-character sequence C<"(*"> in this context in a regular | |
| 7577 | expression pattern should be an indivisible token, with nothing | |
| 7578 | intervening between the C<"("> and the C<"*">, but you separated them. | |
| 7579 | Fix the pattern and retry. | |
| 7580 | ||
| 7581 | =end original | |
| 7582 | ||
| 7583 | (F) 正規表現中のこのコンテキストでの 2 文字並び C<"(*"> は分割できない | |
| 7584 | トークンで、C<"("> と C<"*"> の間には何も入らないはずですが、これを | |
| 7585 | 分割しました。 | |
| 7586 | パターンを修正して再挑戦してください。 | |
| 7587 | ||
| 5574 | 7588 | =item Invalid %s attribute: %s |
| 5575 | 7589 | |
| 5576 | 7590 | =begin original |
| 5577 | 7591 | |
| 5578 | 7592 | (F) The indicated attribute for a subroutine or variable was not recognized |
| 5579 | 7593 | by Perl or by a user-supplied handler. See L<attributes>. |
| 5580 | 7594 | |
| 5581 | 7595 | =end original |
| 5582 | 7596 | |
| 5583 | 7597 | (F) 示されたサブルーチンや変数の属性は Perl やユーザー提供のハンドラで |
| 5584 | 7598 | 認識されませんでした。 |
| 5585 | 7599 | L<attributes> を参照してください。 |
| 5586 | 7600 | |
| 5587 | 7601 | =item Invalid %s attributes: %s |
| 5588 | 7602 | |
| 5589 | 7603 | =begin original |
| 5590 | 7604 | |
| 5591 | 7605 | (F) The indicated attributes for a subroutine or variable were not |
| 5592 | 7606 | recognized by Perl or by a user-supplied handler. See L<attributes>. |
| 5593 | 7607 | |
| 5594 | 7608 | =end original |
| 5595 | 7609 | |
| 5596 | 7610 | (F) 示されたサブルーチンや変数の属性は Perl やユーザー提供のハンドラで |
| 5597 | 7611 | 認識されませんでした。 |
| 5598 | 7612 | L<attributes> を参照してください。 |
| 5599 | 7613 | |
| 7614 | =item Invalid character in charnames alias definition; marked by | |
| 7615 | S<<-- HERE> in '%s | |
| 7616 | ||
| 7617 | =begin original | |
| 7618 | ||
| 7619 | (F) You tried to create a custom alias for a character name, with | |
| 7620 | the C<:alias> option to C<use charnames> and the specified character in | |
| 7621 | the indicated name isn't valid. See L<charnames/CUSTOM ALIASES>. | |
| 7622 | ||
| 7623 | =end original | |
| 7624 | ||
| 7625 | (F) C<use charnames> の C<:alias> オプションで文字名へのカスタム別名を | |
| 7626 | 作ろうとしましたが、指定された名前のうち示された文字は正当ではありません。 | |
| 7627 | L<charnames/CUSTOM ALIASES> を参照してください。 | |
| 7628 | ||
| 7629 | =item Invalid \0 character in %s for %s: %s\0%s | |
| 7630 | ||
| 7631 | =begin original | |
| 7632 | ||
| 7633 | (W syscalls) Embedded \0 characters in pathnames or other system call | |
| 7634 | arguments produce a warning as of 5.20. The parts after the \0 were | |
| 7635 | formerly ignored by system calls. | |
| 7636 | ||
| 7637 | =end original | |
| 7638 | ||
| 7639 | (W syscalls) パス名やその他のシステムコール引数に埋め込まれた \0 文字は | |
| 7640 | 5.20 から警告を出力するようになりました。 | |
| 7641 | 以前は \0 の後の部分はシステムコールによって無視されていました。 | |
| 7642 | ||
| 7643 | =item Invalid character in \N{...}; marked by S<<-- HERE> in \N{%s} | |
| 7644 | ||
| 7645 | =begin original | |
| 7646 | ||
| 7647 | (F) Only certain characters are valid for character names. The | |
| 7648 | indicated one isn't. See L<charnames/CUSTOM ALIASES>. | |
| 7649 | ||
| 7650 | =end original | |
| 7651 | ||
| 7652 | (F) 文字名としては一部の文字のみが正当です。 | |
| 7653 | 示されたものは違います。 | |
| 7654 | L<charnames/CUSTOM ALIASES> を参照してください。 | |
| 7655 | ||
| 5600 | 7656 | =item Invalid conversion in %s: "%s" |
| 5601 | 7657 | |
| 5602 | 7658 | =begin original |
| 5603 | 7659 | |
| 5604 | 7660 | (W printf) Perl does not understand the given format conversion. See |
| 5605 | 7661 | L<perlfunc/sprintf>. |
| 5606 | 7662 | |
| 5607 | 7663 | =end original |
| 5608 | 7664 | |
| 5609 | 7665 | (W printf) Perl は指定されたフォーマット変換が認識できませんでした。 |
| 5610 | 7666 | L<perlfunc/sprintf> を参照してください。 |
| 5611 | 7667 | |
| 5612 | =item Invalid escape in the specified encoding in regex; marked by | |
| 7668 | =item Invalid escape in the specified encoding in regex; marked by | |
| 7669 | S<<-- HERE> in m/%s/ | |
| 5613 | 7670 | |
| 5614 | 7671 | =begin original |
| 5615 | 7672 | |
| 5616 | (W regexp) The numeric escape (for example C<\xHH>) of value < 256 | |
| 7673 | (W regexp)(F) The numeric escape (for example C<\xHH>) of value < 256 | |
| 5617 | 7674 | didn't correspond to a single character through the conversion |
| 5618 | 7675 | from the encoding specified by the encoding pragma. |
| 5619 | The escape was replaced with REPLACEMENT CHARACTER (U+FFFD) | |
| 7676 | The escape was replaced with REPLACEMENT CHARACTER (U+FFFD) | |
| 5620 | ||
| 7677 | instead, except within S<C<(?[ ])>>, where it is a fatal error. | |
| 7678 | The S<<-- HERE> shows whereabouts in the regular expression the | |
| 5621 | 7679 | escape was discovered. |
| 5622 | 7680 | |
| 5623 | 7681 | =end original |
| 5624 | 7682 | |
| 5625 | (W regexp) (例えば C<\xHH> のような)数値エスケープの 256 より小さい値が、 | |
| 7683 | (W regexp)(F) (例えば C<\xHH> のような)数値エスケープの 256 より小さい値が、 | |
| 5626 | 7684 | エンコーディングプラグマで指定した変換によって 一つの文字に対応していません。 |
| 5627 | エスケープは代わりに REPLACEMENT CHARACTER (U+FFFD) に置き換えられます | |
| 7685 | エスケープは代わりに REPLACEMENT CHARACTER (U+FFFD) に置き換えられます; | |
| 5628 | < | |
| 7686 | ただし、S<C<(?[ ])>> の内側の場合は致命的エラーになります。 | |
| 7687 | S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。 | |
| 5629 | 7688 | |
| 5630 | 7689 | =item Invalid hexadecimal number in \N{U+...} |
| 5631 | 7690 | |
| 7691 | =item Invalid hexadecimal number in \N{U+...} in regex; marked by | |
| 7692 | S<<-- HERE> in m/%s/ | |
| 7693 | ||
| 5632 | 7694 | =begin original |
| 5633 | 7695 | |
| 5634 | 7696 | (F) The character constant represented by C<...> is not a valid hexadecimal |
| 5635 | 7697 | number. Either it is empty, or you tried to use a character other than |
| 5636 | 7698 | 0 - 9 or A - F, a - f in a hexadecimal number. |
| 5637 | 7699 | |
| 5638 | 7700 | =end original |
| 5639 | 7701 | |
| 5640 | 7702 | (F) C<...> で表現された文字定数は妥当な 16 進数ではありません。 |
| 5641 | 7703 | 空か、16 進数の中に 0 - 9, A - F, a - f 以外の文字を使おうとしました。 |
| 5642 | 7704 | |
| 5643 | 7705 | =item Invalid module name %s with -%c option: contains single ':' |
| 5644 | 7706 | |
| 5645 | 7707 | =begin original |
| 5646 | 7708 | |
| 5647 | 7709 | (F) The module argument to perl's B<-m> and B<-M> command-line options |
| 5648 | 7710 | cannot contain single colons in the module name, but only in the |
| 5649 | 7711 | arguments after "=". In other words, B<-MFoo::Bar=:baz> is ok, but |
| 5650 | 7712 | B<-MFoo:Bar=baz> is not. |
| 5651 | 7713 | |
| 5652 | 7714 | =end original |
| 5653 | 7715 | |
| 5654 | 7716 | (F) perl の B<-m> と B<-M> のコマンドラインオプションでのモジュール引数は、 |
| 5655 | 7717 | モジュール名では単一のコロンを含むことが出来ず、"=" の後でのみ含むことが |
| 5656 | 7718 | できます。 |
| 5657 | 7719 | 言い換えると、B<-MFoo::Bar=:baz> は OK ですが、B<-MFoo:Bar=baz> は |
| 5658 | 7720 | そうではありません。 |
| 5659 | 7721 | |
| 5660 | 7722 | =item Invalid mro name: '%s' |
| 5661 | 7723 | |
| 5662 | 7724 | =begin original |
| 5663 | 7725 | |
| 5664 | 7726 | (F) You tried to C<mro::set_mro("classname", "foo")> or C<use mro 'foo'>, |
| 5665 | 7727 | where C<foo> is not a valid method resolution order (MRO). Currently, |
| 5666 | 7728 | the only valid ones supported are C<dfs> and C<c3>, unless you have loaded |
| 5667 | 7729 | a module that is a MRO plugin. See L<mro> and L<perlmroapi>. |
| 5668 | 7730 | |
| 5669 | 7731 | =end original |
| 5670 | 7732 | |
| 5671 | 7733 | (F) C<mro::set_mro("classname", "foo")> または C<use mro 'foo'> を使おうと |
| 5672 | 7734 | しましたが、C<foo> は有効なメソッド解決順序 (MRO) ではありません。 |
| 5673 | 7735 | 現在のところ、MRO プラグインモジュールを読み込まない限り、対応として |
| 5674 | 7736 | 有効なものは C<dfs> と C<c3> だけです。 |
| 5675 | 7737 | L<mro> と L<perlmroapi> を参照してください。 |
| 5676 | 7738 | |
| 7739 | =item Invalid negative number (%s) in chr | |
| 7740 | ||
| 7741 | =begin original | |
| 7742 | ||
| 7743 | (W utf8) You passed a negative number to C<chr>. Negative numbers are | |
| 7744 | not valid character numbers, so it returns the Unicode replacement | |
| 7745 | character (U+FFFD). | |
| 7746 | ||
| 7747 | =end original | |
| 7748 | ||
| 7749 | (W utf8) C<chr> に負数を渡しました。 | |
| 7750 | 負数は正当な文字番号ではないので、Unicode 代替文字 (U+FFFD) を返します。 | |
| 7751 | ||
| 7752 | =item Invalid number '%s' for -C option. | |
| 7753 | ||
| 7754 | =begin original | |
| 7755 | ||
| 7756 | (F) You supplied a number to the -C option that either has extra leading | |
| 7757 | zeroes or overflows perl's unsigned integer representation. | |
| 7758 | ||
| 7759 | =end original | |
| 7760 | ||
| 7761 | (F) -C オプションに、前に 0 がついていたり、perl の符号なし整数表現を | |
| 7762 | オーバーフローするといったような数値を指定しました。 | |
| 7763 | ||
| 5677 | 7764 | =item invalid option -D%c, use -D'' to see choices |
| 5678 | 7765 | |
| 5679 | 7766 | =begin original |
| 5680 | 7767 | |
| 5681 | ( | |
| 7768 | (S debugging) Perl was called with invalid debugger flags. Call perl | |
| 5682 | the B<-D> option with no flags to see the list of acceptable values. | |
| 7769 | with the B<-D> option with no flags to see the list of acceptable values. | |
| 5683 | See also L< | |
| 7770 | See also L<perlrun/-Dletters>. | |
| 5684 | 7771 | |
| 5685 | 7772 | =end original |
| 5686 | 7773 | |
| 5687 | 7774 | (F) Perl は不正なデバッガフラグで呼び出されました。 |
| 5688 | 7775 | 受け付けられる値の一覧を見るには、フラグなしの B<-D> オプションをつけて |
| 5689 | 7776 | perl を呼び出してください。 |
| 5690 | 7777 | L<< perlrun/B<-D>I<letters> >> も参照してください。 |
| 5691 | 7778 | |
| 5692 | =item Invalid | |
| 7779 | =item Invalid quantifier in {,} in regex; marked by S<<-- HERE> in m/%s/ | |
| 5693 | 7780 | |
| 5694 | 7781 | =begin original |
| 5695 | 7782 | |
| 7783 | (F) The pattern looks like a {min,max} quantifier, but the min or max | |
| 7784 | could not be parsed as a valid number - either it has leading zeroes, | |
| 7785 | or it represents too big a number to cope with. The S<<-- HERE> shows | |
| 7786 | where in the regular expression the problem was discovered. See L<perlre>. | |
| 7787 | ||
| 7788 | =end original | |
| 7789 | ||
| 7790 | (F) パターンは {min,max} 量指定子のように見えますが、min または max が | |
| 7791 | 正当な数値としてパースできませんでした - 先頭に 0 が付いているか、 | |
| 7792 | 数値として扱うには大きすぎます。 | |
| 7793 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 7794 | L<perlre> を参照してください。 | |
| 7795 | ||
| 7796 | =item Invalid [] range "%s" in regex; marked by S<<-- HERE> in m/%s/ | |
| 7797 | ||
| 7798 | =begin original | |
| 7799 | ||
| 5696 | 7800 | (F) The range specified in a character class had a minimum character |
| 5697 | 7801 | greater than the maximum character. One possibility is that you forgot the |
| 5698 | 7802 | C<{}> from your ending C<\x{}> - C<\x> without the curly braces can go only |
| 5699 | up to C<ff>. The <-- HERE shows in the regular expression | |
| 7803 | up to C<ff>. The S<<-- HERE> shows whereabouts in the regular expression the | |
| 5700 | 7804 | problem was discovered. See L<perlre>. |
| 5701 | 7805 | |
| 5702 | 7806 | =end original |
| 5703 | 7807 | |
| 5704 | 7808 | (F) 文字クラスに指定した範囲の最小値が、最大値よりも大きくなっています。 |
| 5705 | 7809 | ひとつの可能性としては、末尾の C<\x{}> から C<{}> を |
| 5706 | 7810 | 忘れているということです - 中かっこなしの C<\x> は C<ff> までにしか |
| 5707 | 7811 | なりません。 |
| 5708 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 7812 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 5709 | 7813 | L<perlre> を参照してください。 |
| 5710 | 7814 | |
| 5711 | 7815 | =item Invalid range "%s" in transliteration operator |
| 5712 | 7816 | |
| 5713 | 7817 | =begin original |
| 5714 | 7818 | |
| 5715 | 7819 | (F) The range specified in the tr/// or y/// operator had a minimum |
| 5716 | 7820 | character greater than the maximum character. See L<perlop>. |
| 5717 | 7821 | |
| 5718 | 7822 | =end original |
| 5719 | 7823 | |
| 5720 | 7824 | (F) tr/// や y/// の演算子での範囲指定で、最大の文字より最小の文字の方が |
| 5721 | 7825 | 大きいです。 |
| 5722 | 7826 | L<perlop> を参照してください。 |
| 5723 | 7827 | |
| 7828 | =item Invalid reference to group in regex; marked by S<<-- HERE> in m/%s/ | |
| 7829 | ||
| 7830 | =begin original | |
| 7831 | ||
| 7832 | (F) The capture group you specified can't possibly exist because the | |
| 7833 | number you used is not within the legal range of possible values for | |
| 7834 | this machine. | |
| 7835 | ||
| 7836 | =end original | |
| 7837 | ||
| 7838 | (F) 指定した捕捉グループはおそらく存在できません; | |
| 7839 | 使われている数字がこの機械で可能な値の範囲の中でないからです。 | |
| 7840 | ||
| 5724 | 7841 | =item Invalid separator character %s in attribute list |
| 5725 | 7842 | |
| 5726 | 7843 | =begin original |
| 5727 | 7844 | |
| 5728 | 7845 | (F) Something other than a colon or whitespace was seen between the |
| 5729 | 7846 | elements of an attribute list. If the previous attribute had a |
| 5730 | 7847 | parenthesised parameter list, perhaps that list was terminated too soon. |
| 5731 | 7848 | See L<attributes>. |
| 5732 | 7849 | |
| 5733 | 7850 | =end original |
| 5734 | 7851 | |
| 5735 | 7852 | (F) 属性リストの要素の間にコロンと空白以外のものがあります。 |
| 5736 | 7853 | 直前の属性がかっこ付きのパラメータリストの場合、おそらくリストが |
| 5737 | 7854 | 予定より早く終端されています。 |
| 5738 | 7855 | L<attributes> を参照してください。 |
| 5739 | 7856 | |
| 5740 | 7857 | =item Invalid separator character %s in PerlIO layer specification %s |
| 5741 | 7858 | |
| 5742 | 7859 | =begin original |
| 5743 | 7860 | |
| 5744 | 7861 | (W layer) When pushing layers onto the Perl I/O system, something other |
| 5745 | 7862 | than a colon or whitespace was seen between the elements of a layer list. |
| 5746 | 7863 | If the previous attribute had a parenthesised parameter list, perhaps that |
| 5747 | 7864 | list was terminated too soon. |
| 5748 | 7865 | |
| 5749 | 7866 | =end original |
| 5750 | 7867 | |
| 5751 | 7868 | (W layer) 層を Perl I/O システムに押し込むときに、層リストの要素の間に |
| 5752 | 7869 | コロンと空白以外のものがありました。 |
| 5753 | 7870 | 直前の属性がかっこ付きのパラメータリストの場合、おそらくリストが |
| 5754 | 7871 | 予定より早く終端されています。 |
| 5755 | 7872 | |
| 5756 | 7873 | =item Invalid strict version format (%s) |
| 5757 | 7874 | |
| 5758 | 7875 | =begin original |
| 5759 | 7876 | |
| 5760 | 7877 | (F) A version number did not meet the "strict" criteria for versions. |
| 5761 | 7878 | A "strict" version number is a positive decimal number (integer or |
| 5762 | 7879 | decimal-fraction) without exponentiation or else a dotted-decimal |
| 5763 | 7880 | v-string with a leading 'v' character and at least three components. |
| 5764 | 7881 | The parenthesized text indicates which criteria were not met. |
| 5765 | 7882 | See the L<version> module for more details on allowed version formats. |
| 5766 | 7883 | |
| 5767 | 7884 | =end original |
| 5768 | 7885 | |
| 5769 | 7886 | (F) バージョン番号がバージョンの「厳密な」基準に一致しませんでした。 |
| 5770 | 7887 | 「厳密な」バージョン番号は、指数なしの正の 10 進数 (整数または 10 進小数)か、 |
| 5771 | 7888 | さもなければどっと付き 10 進 v-文字列で先頭に 'v' の文字があり、少なくとも |
| 5772 | 7889 | 三つの部分からなるものです。 |
| 5773 | 7890 | かっこで囲まれたテキストは問題の基準を示しています。 |
| 5774 | 7891 | 許されるバージョンオブジェクトに関するさらなる詳細については |
| 5775 | 7892 | L<version> モジュールを参照してください。 |
| 5776 | 7893 | |
| 5777 | 7894 | =item Invalid type '%s' in %s |
| 5778 | 7895 | |
| 5779 | 7896 | =begin original |
| 5780 | 7897 | |
| 5781 | 7898 | (F) The given character is not a valid pack or unpack type. |
| 5782 | 7899 | See L<perlfunc/pack>. |
| 5783 | 7900 | |
| 5784 | 7901 | =end original |
| 5785 | 7902 | |
| 5786 | 7903 | (F) 与えられた文字は有効な pack や unpack の型ではありません。 |
| 5787 | 7904 | L<perlfunc/pack> を参照してください。 |
| 5788 | 7905 | |
| 5789 | 7906 | =begin original |
| 5790 | 7907 | |
| 5791 | 7908 | (W) The given character is not a valid pack or unpack type but used to be |
| 5792 | 7909 | silently ignored. |
| 5793 | 7910 | |
| 5794 | 7911 | =end original |
| 5795 | 7912 | |
| 5796 | 7913 | (W) 与えられた文字は有効な pack や unpack の型ではありませんが、暗黙に |
| 5797 | 7914 | 無視されました。 |
| 5798 | 7915 | |
| 7916 | =item Invalid version bundle "%s" | |
| 7917 | ||
| 7918 | =begin original | |
| 7919 | ||
| 7920 | (F) A version number that is used to specify an import bundle during a | |
| 7921 | C<use builtin ...> statement must be formatted as C<:MAJOR.MINOR> with an | |
| 7922 | optional third component, which is ignored. Each component must be a number | |
| 7923 | of 1 to 3 digits. No other characters are permitted. The value that was | |
| 7924 | specified does not conform to these rules. | |
| 7925 | ||
| 7926 | =end original | |
| 7927 | ||
| 7928 | (F) C<use builtin ...> 文の中にインポートの束を指定するために | |
| 7929 | 使用されるバージョン番号は、C<:MAJOR.MINOR> という形式である | |
| 7930 | 必要があります; オプションの 3 番目の要素は無視されます。 | |
| 7931 | 各要素は 1 から 3 桁の数字である必要があります。 | |
| 7932 | 他の文字は許されません。 | |
| 7933 | 指定された値はこれらの規則に準拠していません。 | |
| 7934 | ||
| 5799 | 7935 | =item Invalid version format (%s) |
| 5800 | 7936 | |
| 5801 | 7937 | =begin original |
| 5802 | 7938 | |
| 5803 | 7939 | (F) A version number did not meet the "lax" criteria for versions. |
| 5804 | 7940 | A "lax" version number is a positive decimal number (integer or |
| 5805 | 7941 | decimal-fraction) without exponentiation or else a dotted-decimal |
| 5806 | 7942 | v-string. If the v-string has fewer than three components, it |
| 5807 | 7943 | must have a leading 'v' character. Otherwise, the leading 'v' is |
| 5808 | 7944 | optional. Both decimal and dotted-decimal versions may have a |
| 5809 | 7945 | trailing "alpha" component separated by an underscore character |
| 5810 | 7946 | after a fractional or dotted-decimal component. The parenthesized |
| 5811 | 7947 | text indicates which criteria were not met. See the L<version> module |
| 5812 | 7948 | for more details on allowed version formats. |
| 5813 | 7949 | |
| 5814 | 7950 | =end original |
| 5815 | 7951 | |
| 5816 | 7952 | (F) バージョン番号がバージョンの「緩い」基準に一致しませんでした。 |
| 5817 | 7953 | 「緩い」バージョン番号は指数なしの正の 10 進数(整数または 10 進小数)か、 |
| 5818 | 7954 | あるいはどっと付き 10 進 v-文字列です。 |
| 5819 | 7955 | v-文字列の要素が三つ未満の場合、先頭に 'v' 文字が必要です。 |
| 5820 | 7956 | さもなければ、先頭の 'v' はオプションです。 |
| 5821 | 7957 | 10 進とドット付き 10 進の両方のバージョンは、小数またはドット付き 10 進 |
| 5822 | 7958 | 要素の後に下線で区切られた「α」要素が引き続くこともあります。 |
| 5823 | 7959 | かっこで囲まれたテキストは問題の基準を示しています。 |
| 5824 | 7960 | 許されるバージョンオブジェクトに関するさらなる詳細については |
| 5825 | 7961 | L<version> モジュールを参照してください。 |
| 5826 | 7962 | |
| 5827 | 7963 | =item Invalid version object |
| 5828 | 7964 | |
| 5829 | 7965 | =begin original |
| 5830 | 7966 | |
| 5831 | 7967 | (F) The internal structure of the version object was invalid. |
| 5832 | 7968 | Perhaps the internals were modified directly in some way or |
| 5833 | 7969 | an arbitrary reference was blessed into the "version" class. |
| 5834 | 7970 | |
| 5835 | 7971 | =end original |
| 5836 | 7972 | |
| 5837 | 7973 | (F) バージョンオブジェクトの内部構造が不正です。 |
| 5838 | 7974 | おそらく何らかの方法で内部が直接変更されたか、任意のリファレンスが |
| 5839 | 7975 | "version" クラスとして bless されました。 |
| 5840 | 7976 | |
| 7977 | =item In '(*VERB...)', the '(' and '*' must be adjacent in regex; | |
| 7978 | marked by S<<-- HERE> in m/%s/ | |
| 7979 | ||
| 7980 | =item Inverting a character class which contains a multi-character | |
| 7981 | sequence is illegal in regex; marked by <-- HERE in m/%s/ | |
| 7982 | ||
| 7983 | =begin original | |
| 7984 | ||
| 7985 | (F) You wrote something like | |
| 7986 | ||
| 7987 | =end original | |
| 7988 | ||
| 7989 | (F) 次のようなものを書きました: | |
| 7990 | ||
| 7991 | qr/\P{name=KATAKANA LETTER AINU P}/ | |
| 7992 | qr/[^\p{name=KATAKANA LETTER AINU P}]/ | |
| 7993 | ||
| 7994 | =begin original | |
| 7995 | ||
| 7996 | This name actually evaluates to a sequence of two Katakana characters, | |
| 7997 | not just a single one, and it is illegal to try to take the complement | |
| 7998 | of a sequence. (Mathematically it would mean any sequence of characters | |
| 7999 | from 0 to infinity in length that weren't these two in a row, and that | |
| 8000 | is likely not of any real use.) | |
| 8001 | ||
| 8002 | =end original | |
| 8003 | ||
| 8004 | この名前は実際には一つではなく二つのカタカナ文字の並びに評価され、 | |
| 8005 | 並びの反転を取ろうとするのは不正です。 | |
| 8006 | (数学的には、これはこれら二つが並んでいるもの以外の長さ 0 から無限の | |
| 8007 | 任意の文字並びを意味しますが、おそらく実際の用途ではないでしょう。) | |
| 8008 | ||
| 8009 | =begin original | |
| 8010 | ||
| 8011 | (F) The two-character sequence C<"(*"> in this context in a regular | |
| 8012 | expression pattern should be an indivisible token, with nothing | |
| 8013 | intervening between the C<"("> and the C<"*">, but you separated them. | |
| 8014 | ||
| 8015 | =end original | |
| 8016 | ||
| 8017 | (F) 正規表現中のこのコンテキストでの 2 文字並び C<"(*"> は分割できない | |
| 8018 | トークンで、C<"("> と C<"*"> の間には何も入らないはずですが、これを | |
| 8019 | 分割しました。 | |
| 8020 | ||
| 5841 | 8021 | =item ioctl is not implemented |
| 5842 | 8022 | |
| 5843 | 8023 | =begin original |
| 5844 | 8024 | |
| 5845 | 8025 | (F) Your machine apparently doesn't implement ioctl(), which is pretty |
| 5846 | 8026 | strange for a machine that supports C. |
| 5847 | 8027 | |
| 5848 | 8028 | =end original |
| 5849 | 8029 | |
| 5850 | 8030 | (F) C をサポートしているマシンではおかしなことだと思いますが、 |
| 5851 | 8031 | このマシンでは ioctl() が実装されていないようです。 |
| 5852 | 8032 | |
| 5853 | 8033 | =item ioctl() on unopened %s |
| 5854 | 8034 | |
| 5855 | 8035 | =begin original |
| 5856 | 8036 | |
| 5857 | 8037 | (W unopened) You tried ioctl() on a filehandle that was never opened. |
| 5858 | 8038 | Check your control flow and number of arguments. |
| 5859 | 8039 | |
| 5860 | 8040 | =end original |
| 5861 | 8041 | |
| 5862 | 8042 | (W unopened) 開いていないファイルハンドルに ioctl() を使おうとしました。 |
| 5863 | 8043 | 制御フローと引数の数をチェックしてください。 |
| 5864 | 8044 | |
| 5865 | 8045 | =item IO layers (like '%s') unavailable |
| 5866 | 8046 | |
| 5867 | 8047 | =begin original |
| 5868 | 8048 | |
| 5869 | 8049 | (F) Your Perl has not been configured to have PerlIO, and therefore |
| 5870 | 8050 | you cannot use IO layers. To have PerlIO, Perl must be configured |
| 5871 | 8051 | with 'useperlio'. |
| 5872 | 8052 | |
| 5873 | 8053 | =end original |
| 5874 | 8054 | |
| 5875 | 8055 | (F) この Perl は PerlIO を使うように設定されていないので、IO 層は使えません。 |
| 5876 | 8056 | PerlIO を使うには、'useperlio' 付きで設定する必要があります。 |
| 5877 | 8057 | |
| 5878 | 8058 | =item IO::Socket::atmark not implemented on this architecture |
| 5879 | 8059 | |
| 5880 | 8060 | =begin original |
| 5881 | 8061 | |
| 5882 | 8062 | (F) Your machine doesn't implement the sockatmark() functionality, |
| 5883 | 8063 | neither as a system call nor an ioctl call (SIOCATMARK). |
| 5884 | 8064 | |
| 5885 | 8065 | =end original |
| 5886 | 8066 | |
| 5887 | 8067 | (F) 実行されているマシンでは、システムコールでも |
| 5888 | 8068 | ioctl コール(SIOCATMARK) でも sockatmark() 機能が実装されていません。 |
| 5889 | 8069 | |
| 5890 | =item | |
| 8070 | =item '%s' is an unknown bound type in regex; marked by S<<-- HERE> in m/%s/ | |
| 5891 | 8071 | |
| 5892 | 8072 | =begin original |
| 5893 | 8073 | |
| 5894 | ( | |
| 8074 | (F) You used C<\b{...}> or C<\B{...}> and the C<...> is not known to | |
| 5895 | ||
| 8075 | Perl. The current valid ones are given in | |
| 8076 | L<perlrebackslash/\b{}, \b, \B{}, \B>. | |
| 8077 | ||
| 8078 | =end original | |
| 8079 | ||
| 8080 | (F) あなたは C<\b{...}> または C<\B{...}> を使いましたが C<...> は | |
| 8081 | Perl が知らないものでした。 | |
| 8082 | 現在有効なものは L<perlrebackslash/\b{}, \b, \B{}, \B> にあるものです。 | |
| 8083 | ||
| 8084 | =item %s() isn't allowed on :utf8 handles | |
| 8085 | ||
| 8086 | =begin original | |
| 8087 | ||
| 8088 | (F) The sysread(), recv(), syswrite() and send() operators are | |
| 8089 | not allowed on handles that have the C<:utf8> layer, either explicitly, or | |
| 8090 | implicitly, eg., with the C<:encoding(UTF-16LE)> layer. | |
| 8091 | ||
| 8092 | =end original | |
| 8093 | ||
| 8094 | (F) sysread(), recv(), syswrite() and send() 演算子は、 | |
| 8095 | 明示的あるいは C<:encoding(UTF-16LE)> 層のような暗黙的かに関わらず、 | |
| 8096 | C<:utf8> 層を持つハンドルに対しては許されません。 | |
| 8097 | ||
| 8098 | =begin original | |
| 8099 | ||
| 8100 | Previously sysread() and recv() currently use only the C<:utf8> flag for the stream, | |
| 8101 | ignoring the actual layers. Since sysread() and recv() did no UTF-8 | |
| 8102 | validation they can end up creating invalidly encoded scalars. | |
| 8103 | ||
| 8104 | =end original | |
| 8105 | ||
| 8106 | 以前は、sysread() と recv() は現在の所ストリームに対して | |
| 8107 | C<:utf8> フラグのみを使い、実際の層は無視します。 | |
| 8108 | sysread() と recv() は UTF-8 の検証を行っていなかったので、 | |
| 8109 | 不正にエンコードされたスカラを作ることになる可能性があります。 | |
| 8110 | ||
| 8111 | =begin original | |
| 8112 | ||
| 8113 | Similarly, syswrite() and send() used only the C<:utf8> flag, otherwise ignoring | |
| 8114 | any layers. If the flag is set, both wrote the value UTF-8 encoded, even if | |
| 8115 | the layer is some different encoding, such as the example above. | |
| 8116 | ||
| 8117 | =end original | |
| 8118 | ||
| 8119 | 同様に、syswrite() は send() C<:utf8> フラグのみを使い、 | |
| 8120 | それ以外は全ての層を無視していました。 | |
| 8121 | フラグがセットされると、例え層が前述の例のように異なった | |
| 8122 | エンコーディングでも、UTF-8 エンコードされた値を書き込んでいました。 | |
| 8123 | ||
| 8124 | =begin original | |
| 8125 | ||
| 8126 | Ideally, all of these operators would completely ignore the C<:utf8> state, | |
| 8127 | working only with bytes, but this would result in silently breaking existing | |
| 8128 | code. | |
| 8129 | ||
| 8130 | =end original | |
| 8131 | ||
| 8132 | 理想的には、これらの演算子全ては完全に C<:utf8> 状態を無視して | |
| 8133 | バイトに対してのみ動作するべきですが、これは既存のコードを暗黙に | |
| 8134 | 壊すことになります。 | |
| 8135 | ||
| 8136 | =item "%s" is more clearly written simply as "%s" in regex; marked by S<<-- HERE> in m/%s/ | |
| 8137 | ||
| 8138 | =begin original | |
| 8139 | ||
| 8140 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
| 8141 | ||
| 8142 | =end original | |
| 8143 | ||
| 8144 | (W regexp) (C<S<use re 'strict'>> の下か C<(?[...])> の内側のみ) | |
| 8145 | ||
| 8146 | =begin original | |
| 8147 | ||
| 8148 | You specified a character that has the given plainer way of writing it, and | |
| 8149 | which is also portable to platforms running with different character sets. | |
| 8150 | ||
| 8151 | =end original | |
| 8152 | ||
| 8153 | それを書くのにより平坦な方法があり、さらに異なる文字集合で実行される | |
| 8154 | プラットフォーム間で移植性のある文字を指定しました。 | |
| 8155 | ||
| 8156 | =item $* is no longer supported as of Perl 5.30 | |
| 8157 | ||
| 8158 | =begin original | |
| 8159 | ||
| 8160 | (F) The special variable C<$*>, deprecated in older perls, was removed in | |
| 8161 | 5.10.0, is no longer supported and is a fatal error as of Perl 5.30. In | |
| 5896 | 8162 | previous versions of perl the use of C<$*> enabled or disabled multi-line |
| 5897 | 8163 | matching within a string. |
| 5898 | 8164 | |
| 5899 | 8165 | =end original |
| 5900 | 8166 | |
| 5901 | ( | |
| 8167 | (F) より古い perl で廃止予定とされ、5.10.0 で削除された特殊変数 C<$*> は、 | |
| 5902 | ||
| 8168 | もはや対応しておらず、Perl 5.30 から致命的エラーになりました。 | |
| 5903 | 8169 | 以前のバージョンの perl では、C<$*> は文字列中の複数行マッチングを有効または |
| 5904 | 8170 | 無効にするために使っていました。 |
| 5905 | 8171 | |
| 5906 | 8172 | =begin original |
| 5907 | 8173 | |
| 5908 | 8174 | Instead of using C<$*> you should use the C</m> (and maybe C</s>) regexp |
| 5909 | 8175 | modifiers. You can enable C</m> for a lexical scope (even a whole file) |
| 5910 | 8176 | with C<use re '/m'>. (In older versions: when C<$*> was set to a true value |
| 5911 | 8177 | then all regular expressions behaved as if they were written using C</m>.) |
| 5912 | 8178 | |
| 5913 | 8179 | =end original |
| 5914 | 8180 | |
| 5915 | 8181 | C<$*> を使う代わりに、C</m> (とおそらく C</s>) 正規表現修飾子を |
| 5916 | 8182 | 使うべきです。 |
| 5917 | 8183 | C<use re '/m'> でレキシカルスコープで (ファイル全体でも) C</m> を |
| 5918 | 8184 | 有効にできます。 |
| 5919 | 8185 | (より古いバージョンでは: C<$*> を真の値に設定すると全ての正規表現は |
| 5920 | 8186 | C</m> を使って書かれたかのように振る舞っていました。) |
| 5921 | 8187 | |
| 5922 | = | |
| 8188 | =begin original | |
| 5923 | 8189 | |
| 8190 | Use of this variable will be a fatal error in Perl 5.30. | |
| 8191 | ||
| 8192 | =end original | |
| 8193 | ||
| 8194 | この変数の使用は Perl 5.30 から致命的エラーになります。 | |
| 8195 | ||
| 8196 | =item $# is no longer supported as of Perl 5.30 | |
| 8197 | ||
| 5924 | 8198 | =begin original |
| 5925 | 8199 | |
| 5926 | ( | |
| 8200 | (F) The special variable C<$#>, deprecated in older perls, was removed as of | |
| 5927 | ||
| 8201 | 5.10.0, is no longer supported and is a fatal error as of Perl 5.30. You | |
| 5928 | 8202 | should use the printf/sprintf functions instead. |
| 5929 | 8203 | |
| 5930 | 8204 | =end original |
| 5931 | 8205 | |
| 5932 | ( | |
| 8206 | (F) より古い perl で廃止予定とされ、5.10.0 で削除された特殊変数 C<$#> は、 | |
| 5933 | ||
| 8207 | もはや対応しておらず、Perl 5.30 から致命的エラーになりました。 | |
| 5934 | 8208 | 代わりに printf/sprintf 関数を使うべきです。 |
| 5935 | 8209 | |
| 5936 | 8210 | =item '%s' is not a code reference |
| 5937 | 8211 | |
| 5938 | 8212 | =begin original |
| 5939 | 8213 | |
| 5940 | 8214 | (W overload) The second (fourth, sixth, ...) argument of |
| 5941 | 8215 | overload::constant needs to be a code reference. Either |
| 5942 | 8216 | an anonymous subroutine, or a reference to a subroutine. |
| 5943 | 8217 | |
| 5944 | 8218 | =end original |
| 5945 | 8219 | |
| 5946 | 8220 | (W overload) overload::constant の 2 番目 (4 番目、6 番目, ...) の引数は |
| 5947 | 8221 | コードリファレンスである必要があります。 |
| 5948 | 8222 | 無名サブルーチンか、サブルーチンへのリファレンスです。 |
| 5949 | 8223 | |
| 5950 | 8224 | =item '%s' is not an overloadable type |
| 5951 | 8225 | |
| 5952 | 8226 | =begin original |
| 5953 | 8227 | |
| 5954 | 8228 | (W overload) You tried to overload a constant type the overload package is |
| 5955 | 8229 | unaware of. |
| 5956 | 8230 | |
| 5957 | 8231 | =end original |
| 5958 | 8232 | |
| 5959 | 8233 | (W overload) オーバーロードパッケージが知らない定数型を |
| 5960 | 8234 | オーバーロードしようとしました。 |
| 5961 | 8235 | |
| 5962 | =item | |
| 8236 | =item '%s' is not recognised as a builtin function | |
| 5963 | 8237 | |
| 5964 | 8238 | =begin original |
| 5965 | 8239 | |
| 8240 | (F) An attempt was made to C<use> the L<builtin> pragma module to create | |
| 8241 | a lexical alias for an unknown function name. | |
| 8242 | ||
| 8243 | =end original | |
| 8244 | ||
| 8245 | (F) 不明な関数名のレキシカルな別名を作るために | |
| 8246 | L<builtin> プラグマモジュールを C<use> しようとしました。 | |
| 8247 | ||
| 8248 | =item -i used with no filenames on the command line, reading from STDIN | |
| 8249 | ||
| 8250 | =begin original | |
| 8251 | ||
| 8252 | (S inplace) The C<-i> option was passed on the command line, indicating | |
| 8253 | that the script is intended to edit files in place, but no files were | |
| 8254 | given. This is usually a mistake, since editing STDIN in place doesn't | |
| 8255 | make sense, and can be confusing because it can make perl look like | |
| 8256 | it is hanging when it is really just trying to read from STDIN. You | |
| 8257 | should either pass a filename to edit, or remove C<-i> from the command | |
| 8258 | line. See L<perlrun|perlrun/-i[extension]> for more details. | |
| 8259 | ||
| 8260 | =end original | |
| 8261 | ||
| 8262 | (S inplace) The C<-i> オプションがコマンドラインで渡されました; これは | |
| 8263 | スクリプトがファイルをその場で編集することを示していますが、ファイルが | |
| 8264 | 指定されませんでした。 | |
| 8265 | これは普通はミスです; STDIN をその場で編集するというのは無意味ですし、 | |
| 8266 | 本当に単に STDIN から読み込もうとしているだけのときに perl が | |
| 8267 | ハングしているように見えることがあるので混乱を引き起こします。 | |
| 8268 | 編集するファイル名を指定するか、コマンドラインから C<-i> を | |
| 8269 | 取り除いてください。 | |
| 8270 | さらなる詳細については L<perlrun|perlrun/-i[extension]> を参照してください。 | |
| 8271 | ||
| 8272 | =item Junk on end of regexp in regex m/%s/ | |
| 8273 | ||
| 8274 | =begin original | |
| 8275 | ||
| 5966 | 8276 | (P) The regular expression parser is confused. |
| 5967 | 8277 | |
| 5968 | 8278 | =end original |
| 5969 | 8279 | |
| 5970 | 8280 | (P) 正規表現の構文解析ができなくなりました。 |
| 5971 | 8281 | |
| 8282 | =item \K not permitted in lookahead/lookbehind in regex; marked by <-- HERE in m/%s/ | |
| 8283 | ||
| 8284 | =begin original | |
| 8285 | ||
| 8286 | (F) Your regular expression used C<\K> in a lookahead or lookbehind | |
| 8287 | assertion, which currently isn't permitted. | |
| 8288 | ||
| 8289 | =end original | |
| 8290 | ||
| 8291 | (F) この正規表現は先読みや後読みの言明の中で C<\K> を使っています; | |
| 8292 | これは今のところ許されていません。 | |
| 8293 | ||
| 8294 | =begin original | |
| 8295 | ||
| 8296 | This may change in the future, see L<Support \K in | |
| 8297 | lookarounds|https://github.com/Perl/perl5/issues/18134>. | |
| 8298 | ||
| 8299 | =end original | |
| 8300 | ||
| 8301 | これは将来変更されるかもしれません; | |
| 8302 | L<Support \K in lookarounds|https://github.com/Perl/perl5/issues/18134> を | |
| 8303 | 参照してください。 | |
| 8304 | ||
| 5972 | 8305 | =item Label not found for "last %s" |
| 5973 | 8306 | |
| 5974 | 8307 | =begin original |
| 5975 | 8308 | |
| 5976 | 8309 | (F) You named a loop to break out of, but you're not currently in a loop |
| 5977 | 8310 | of that name, not even if you count where you were called from. See |
| 5978 | 8311 | L<perlfunc/last>. |
| 5979 | 8312 | |
| 5980 | 8313 | =end original |
| 5981 | 8314 | |
| 5982 | 8315 | (F) 脱出するループを指定しましたが、その名前のループの中にいません、 |
| 5983 | 8316 | たとえ、呼び出された場所がそうであっても、今はそうではありません。 |
| 5984 | 8317 | L<perlfunc/last> を参照してください。 |
| 5985 | 8318 | |
| 5986 | 8319 | =item Label not found for "next %s" |
| 5987 | 8320 | |
| 5988 | 8321 | =begin original |
| 5989 | 8322 | |
| 5990 | 8323 | (F) You named a loop to continue, but you're not currently in a loop of |
| 5991 | 8324 | that name, not even if you count where you were called from. See |
| 5992 | 8325 | L<perlfunc/last>. |
| 5993 | 8326 | |
| 5994 | 8327 | =end original |
| 5995 | 8328 | |
| 5996 | 8329 | (F) 次の繰り返しを行なうループを指定しましたが、その名前のループの中に |
| 5997 | 8330 | いません; たとえ、呼び出された場所がそうであっても、今はそうではありません。 |
| 5998 | 8331 | L<perlfunc/last> を参照してください。 |
| 5999 | 8332 | |
| 6000 | 8333 | =item Label not found for "redo %s" |
| 6001 | 8334 | |
| 6002 | 8335 | =begin original |
| 6003 | 8336 | |
| 6004 | 8337 | (F) You named a loop to restart, but you're not currently in a loop of |
| 6005 | 8338 | that name, not even if you count where you were called from. See |
| 6006 | 8339 | L<perlfunc/last>. |
| 6007 | 8340 | |
| 6008 | 8341 | =end original |
| 6009 | 8342 | |
| 6010 | 8343 | (F) 繰り返しの再実行を行なうループを指定しましたが、その名前のループの中に |
| 6011 | 8344 | いません; たとえ、呼び出された場所がそうであっても、今はそうではありません。 |
| 6012 | 8345 | L<perlfunc/last> を参照してください。 |
| 6013 | 8346 | |
| 6014 | 8347 | =item leaving effective %s failed |
| 6015 | 8348 | |
| 6016 | 8349 | =begin original |
| 6017 | 8350 | |
| 6018 | 8351 | (F) While under the C<use filetest> pragma, switching the real and |
| 6019 | 8352 | effective uids or gids failed. |
| 6020 | 8353 | |
| 6021 | 8354 | =end original |
| 6022 | 8355 | |
| 6023 | 8356 | (F) C<use filetest> プラグマを使っている間に、 |
| 6024 | 8357 | 実と実効の UID や GID の切り替えに失敗しました。 |
| 6025 | 8358 | |
| 6026 | 8359 | =item length/code after end of string in unpack |
| 6027 | 8360 | |
| 6028 | 8361 | =begin original |
| 6029 | 8362 | |
| 6030 | 8363 | (F) While unpacking, the string buffer was already used up when an unpack |
| 6031 | 8364 | length/code combination tried to obtain more data. This results in |
| 6032 | 8365 | an undefined value for the length. See L<perlfunc/pack>. |
| 6033 | 8366 | |
| 6034 | 8367 | =end original |
| 6035 | 8368 | |
| 6036 | 8369 | (F) unpack する間、さらなるデータを取り出すために長さ/コードの組み合わせを |
| 6037 | 8370 | unpack するときに文字列バッファが既に使い切っていました。 |
| 6038 | 8371 | これにより、長さが未定義値となります。 |
| 6039 | 8372 | L<perlfunc/pack> を参照してください。 |
| 6040 | 8373 | |
| 6041 | =item length() used on %s | |
| 8374 | =item length() used on %s (did you mean "scalar(%s)"?) | |
| 6042 | 8375 | |
| 6043 | 8376 | =begin original |
| 6044 | 8377 | |
| 6045 | 8378 | (W syntax) You used length() on either an array or a hash when you |
| 6046 | 8379 | probably wanted a count of the items. |
| 6047 | 8380 | |
| 6048 | 8381 | =end original |
| 6049 | 8382 | |
| 6050 | 8383 | (W syntax) おそらくアイテムの数を知りたいときに配列やハッシュに対して |
| 6051 | 8384 | length() を使いました。 |
| 6052 | 8385 | |
| 6053 | 8386 | =begin original |
| 6054 | 8387 | |
| 6055 | 8388 | Array size can be obtained by doing: |
| 6056 | 8389 | |
| 6057 | 8390 | =end original |
| 6058 | 8391 | |
| 6059 | 8392 | 配列の大きさは以下のようにして得られます: |
| 6060 | 8393 | |
| 6061 | 8394 | scalar(@array); |
| 6062 | 8395 | |
| 6063 | 8396 | =begin original |
| 6064 | 8397 | |
| 6065 | 8398 | The number of items in a hash can be obtained by doing: |
| 6066 | 8399 | |
| 6067 | 8400 | =end original |
| 6068 | 8401 | |
| 6069 | 8402 | ハッシュの要素数は以下のようにして得られます: |
| 6070 | 8403 | |
| 6071 | 8404 | scalar(keys %hash); |
| 6072 | 8405 | |
| 6073 | 8406 | =item Lexing code attempted to stuff non-Latin-1 character into Latin-1 input |
| 6074 | 8407 | |
| 6075 | 8408 | =begin original |
| 6076 | 8409 | |
| 6077 | 8410 | (F) An extension is attempting to insert text into the current parse |
| 6078 | 8411 | (using L<lex_stuff_pvn|perlapi/lex_stuff_pvn> or similar), but tried to insert a character that |
| 6079 | 8412 | couldn't be part of the current input. This is an inherent pitfall |
| 6080 | 8413 | of the stuffing mechanism, and one of the reasons to avoid it. Where |
| 6081 | 8414 | it is necessary to stuff, stuffing only plain ASCII is recommended. |
| 6082 | 8415 | |
| 6083 | 8416 | =end original |
| 6084 | 8417 | |
| 6085 | 8418 | (F) エクステンションが(L<lex_stuff_pvn|perlapi/lex_stuff_pvn> や |
| 6086 | 8419 | 同様なものを使って)現在のパースにテキストを挿入しようとしましたが、 |
| 6087 | 8420 | 現在の入力の一部となることができない文字を挿入しようとしました。 |
| 6088 | 8421 | これは詰め物機構の生来の落とし穴で、これを避けるための理由の一つです。 |
| 6089 | 8422 | 詰め物が必要なところでは、プレーン ASCII のみを詰めることを推奨します。 |
| 6090 | 8423 | |
| 6091 | 8424 | =item Lexing code internal error (%s) |
| 6092 | 8425 | |
| 6093 | 8426 | =begin original |
| 6094 | 8427 | |
| 6095 | 8428 | (F) Lexing code supplied by an extension violated the lexer's API in a |
| 6096 | 8429 | detectable way. |
| 6097 | 8430 | |
| 6098 | 8431 | =end original |
| 6099 | 8432 | |
| 6100 | 8433 | (F) エクステンションによって供給された文法解析コードが、検出できる方法で |
| 6101 | 8434 | 文法解析器の API に違反しています。 |
| 6102 | 8435 | |
| 6103 | 8436 | =item listen() on closed socket %s |
| 6104 | 8437 | |
| 6105 | 8438 | =begin original |
| 6106 | 8439 | |
| 6107 | 8440 | (W closed) You tried to do a listen on a closed socket. Did you forget |
| 6108 | 8441 | to check the return value of your socket() call? See |
| 6109 | 8442 | L<perlfunc/listen>. |
| 6110 | 8443 | |
| 6111 | 8444 | =end original |
| 6112 | 8445 | |
| 6113 | 8446 | (W closed) クローズされたソケットに listen を行なおうとしました。 |
| 6114 | 8447 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
| 6115 | 8448 | L<perlfunc/listen> を参照してください。 |
| 6116 | 8449 | |
| 6117 | 8450 | =item List form of piped open not implemented |
| 6118 | 8451 | |
| 6119 | 8452 | =begin original |
| 6120 | 8453 | |
| 6121 | 8454 | (F) On some platforms, notably Windows, the three-or-more-arguments |
| 6122 | 8455 | form of C<open> does not support pipes, such as C<open($pipe, '|-', @args)>. |
| 6123 | 8456 | Use the two-argument C<open($pipe, '|prog arg1 arg2...')> form instead. |
| 6124 | 8457 | |
| 6125 | 8458 | =end original |
| 6126 | 8459 | |
| 6127 | 8460 | (F) 一部のプラットフォーム、特に Windows では、 |
| 6128 | 8461 | C<open($pipe, '|-', @args)> のような、3 以上の引数の形式の |
| 6129 | 8462 | C<open> ではパイプに対応していません。 |
| 6130 | 8463 | 代わりに 2 引数 C<open($pipe, '|prog arg1 arg2...')> 形式を使ってください。 |
| 6131 | 8464 | |
| 8465 | =item Literal vertical space in [] is illegal except under /x in regex; | |
| 8466 | marked by S<<-- HERE> in m/%s/ | |
| 8467 | ||
| 8468 | =begin original | |
| 8469 | ||
| 8470 | (F) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
| 8471 | ||
| 8472 | =end original | |
| 8473 | ||
| 8474 | (F) (C<S<use re 'strict'>> の下、または C<(?[...])> の内側のみ) | |
| 8475 | ||
| 8476 | =begin original | |
| 8477 | ||
| 8478 | Likely you forgot the C</x> modifier or there was a typo in the pattern. | |
| 8479 | For example, did you really mean to match a form-feed? If so, all the | |
| 8480 | ASCII vertical space control characters are representable by escape | |
| 8481 | sequences which won't present such a jarring appearance as your pattern | |
| 8482 | does when displayed. | |
| 8483 | ||
| 8484 | =end original | |
| 8485 | ||
| 8486 | おそらく C</x> 修飾子を忘れたか、パターンの中にタイプミスがあるのでしょう。 | |
| 8487 | 例えば、本当に改ページとマッチングしたかったのですか? | |
| 8488 | もしそうなら、全ての ASCII の垂直スペース制御文字は、 | |
| 8489 | パターンを表示したときに不愉快な形で表現されることのない、 | |
| 8490 | エスケープシーケンスによって表現できます。 | |
| 8491 | ||
| 8492 | \r carriage return | |
| 8493 | \f form feed | |
| 8494 | \n line feed | |
| 8495 | \cK vertical tab | |
| 8496 | ||
| 8497 | =item %s: loadable library and perl binaries are mismatched (got %s handshake key %p, needed %p) | |
| 8498 | ||
| 8499 | =begin original | |
| 8500 | ||
| 8501 | (P) A dynamic loading library C<.so> or C<.dll> was being loaded into the | |
| 8502 | process that was built against a different build of perl than the | |
| 8503 | said library was compiled against. Reinstalling the XS module will | |
| 8504 | likely fix this error. | |
| 8505 | ||
| 8506 | =end original | |
| 8507 | ||
| 8508 | (P) 動的ロードライブラリ C<.so> が C<.dll> が、ライブラリが | |
| 8509 | コンパイルされたとするビルドと異なるビルドの perl に対して読み込まれました。 | |
| 8510 | XS モジュールを再インストールすることでおそらくこのエラーは | |
| 8511 | 修正されるでしょう。 | |
| 8512 | ||
| 8513 | =item Locale '%s' contains (at least) the following characters which | |
| 8514 | have unexpected meanings: %s The Perl program will use the expected | |
| 8515 | meanings | |
| 8516 | ||
| 8517 | =begin original | |
| 8518 | ||
| 8519 | (W locale) You are using the named UTF-8 locale. UTF-8 locales are | |
| 8520 | expected to have very particular behavior, which most do. This message | |
| 8521 | arises when perl found some departures from the expectations, and is | |
| 8522 | notifying you that the expected behavior overrides these differences. | |
| 8523 | In some cases the differences are caused by the locale definition being | |
| 8524 | defective, but the most common causes of this warning are when there are | |
| 8525 | ambiguities and conflicts in following the Standard, and the locale has | |
| 8526 | chosen an approach that differs from Perl's. | |
| 8527 | ||
| 8528 | =end original | |
| 8529 | ||
| 8530 | (W locale) 名前付きの UTF-8 ロケールを使っています。 | |
| 8531 | UTF-8 ロケールは、ほとんどの人がするような、とても特殊な振る舞いをすることが | |
| 8532 | 想定されています。 | |
| 8533 | このメッセージは、perl がこの想定との違いを発見し、その違いを | |
| 8534 | 想定される振る舞いで上書きしたことを通知するときに発生します。 | |
| 8535 | 違いはロケール定義に問題があることによる場合もありますが、 | |
| 8536 | この警告のもっとも一般的な原因は、標準に従う際に曖昧さや衝突があり、 | |
| 8537 | ロケールが Perl のものと異なる手法を選んだときです。 | |
| 8538 | ||
| 8539 | =begin original | |
| 8540 | ||
| 8541 | One of these is because that, contrary to the claims, Unicode is not | |
| 8542 | completely locale insensitive. Turkish and some related languages | |
| 8543 | have two types of C<"I"> characters. One is dotted in both upper- and | |
| 8544 | lowercase, and the other is dotless in both cases. Unicode allows a | |
| 8545 | locale to use either the Turkish rules, or the rules used in all other | |
| 8546 | instances, where there is only one type of C<"I">, which is dotless in | |
| 8547 | the uppercase, and dotted in the lower. The perl core does not (yet) | |
| 8548 | handle the Turkish case, and this message warns you of that. Instead, | |
| 8549 | the L<Unicode::Casing> module allows you to mostly implement the Turkish | |
| 8550 | casing rules. | |
| 8551 | ||
| 8552 | =end original | |
| 8553 | ||
| 8554 | その一つは、主張に反して、Unicode が完全にロケールに依存しない | |
| 8555 | 訳ではないからです。 | |
| 8556 | トルコ語およびいくつかの関連言語は、2 種類の C<"I"> 文字があります。 | |
| 8557 | 一つは大文字と小文字の両方でドットがあり、もう一つは両方ともドットが | |
| 8558 | ありません。 | |
| 8559 | Unicode はロケールがトルコ語の規則と、その他全ての場合に | |
| 8560 | 使われる規則、つまり一種類の C<"I"> だけで、大文字ではドットがなく、 | |
| 8561 | 小文字にはドットがあるもの、のどちらを使うことも許しています。 | |
| 8562 | perl コアは (まだ) トルコ語のケースを扱えず、このメッセージはそれを | |
| 8563 | 警告します。 | |
| 8564 | 代わりに、L<Unicode::Casing> モジュールはトルコ語のケース規則をほぼ | |
| 8565 | 実装しています。 | |
| 8566 | ||
| 8567 | =begin original | |
| 8568 | ||
| 8569 | The other common cause is for the characters | |
| 8570 | ||
| 8571 | =end original | |
| 8572 | ||
| 8573 | その他のよくある原因は次の文字です: | |
| 8574 | ||
| 8575 | $ + < = > ^ ` | ~ | |
| 8576 | ||
| 8577 | =begin original | |
| 8578 | ||
| 8579 | These are problematic. The C standard says that these should be | |
| 8580 | considered punctuation in the C locale (and the POSIX standard defers to | |
| 8581 | the C standard), and Unicode is generally considered a superset of | |
| 8582 | the C locale. But Unicode has added an extra category, "Symbol", and | |
| 8583 | classifies these particular characters as being symbols. Most UTF-8 | |
| 8584 | locales have them treated as punctuation, so that L<ispunct(3)> returns | |
| 8585 | non-zero for them. But a few locales have it return 0. Perl takes | |
| 8586 | the first approach, not using C<ispunct()> at all (see L<Note [5] in | |
| 8587 | perlrecharclass|perlrecharclass/[5]>), and this message is raised to notify you that you | |
| 8588 | are getting Perl's approach, not the locale's. | |
| 8589 | ||
| 8590 | =end original | |
| 8591 | ||
| 8592 | これらには問題があります。 | |
| 8593 | C 標準は、これらは C ロケールでは句読点として扱うよう規定されていて | |
| 8594 | (そして POSIX 標準は C 標準に従います)、Unicode は一般的に C ロケールの | |
| 8595 | 上位集合と考えられています。 | |
| 8596 | しかし Unicode は、"Symbol" というカテゴリが追加され、 | |
| 8597 | これはこれらの文字をシンボルとして分類しています。 | |
| 8598 | ほとんどの UTF-8 ロケールはこれらを句読点として扱うので、 | |
| 8599 | L<ispunct(3)> はこれらに対して非 0 を返します。 | |
| 8600 | しかしいくつかのロケールでは 0 を返します。 | |
| 8601 | Perl は最初の手法をとり、C<ispunct()> を全く使わず ( L<Note [5] in | |
| 8602 | perlrecharclass|perlrecharclass/[5]> 参照)、 | |
| 8603 | このメッセージはロケールのものではなく Perl の手法をとったことを | |
| 8604 | 知らせるために発生します。 | |
| 8605 | ||
| 8606 | =item Locale '%s' is unsupported, and may crash the interpreter | |
| 8607 | ||
| 8608 | =begin original | |
| 8609 | ||
| 8610 | (S locale) The named locale is not supported by Perl, and using it leads | |
| 8611 | to undefined behavior, including potentially crashing the computer. | |
| 8612 | ||
| 8613 | =end original | |
| 8614 | ||
| 8615 | (S locale) 指定されたロケールは Perl で対応しておらず、これを使うと、 | |
| 8616 | 潜在的なコンピュータのクラッシュを含む未定義の振る舞いを引き起こします。 | |
| 8617 | ||
| 8618 | =begin original | |
| 8619 | ||
| 8620 | Currently the only locales that generate this severe warning are | |
| 8621 | non-UTF-8 ones which have characters that require more than one byte to | |
| 8622 | represent (common in older East Asian language locales). See | |
| 8623 | L<perllocale>. | |
| 8624 | ||
| 8625 | =end original | |
| 8626 | ||
| 8627 | 現在のところ、この重大な警告を出力するロケールは、 | |
| 8628 | 表現に複数バイトを必要とする文字を持つもの | |
| 8629 | (古い東アジア言語ロケールでは一般的です)だけです。 | |
| 8630 | L<perllocale> を参照してください。 | |
| 8631 | ||
| 8632 | =item Locale '%s' may not work well.%s | |
| 8633 | ||
| 8634 | =begin original | |
| 8635 | ||
| 8636 | (W locale) You are using the named locale, which is a non-UTF-8 one, and | |
| 8637 | which perl has determined is not fully compatible with what it can | |
| 8638 | handle. The second C<%s> gives a reason. | |
| 8639 | ||
| 8640 | =end original | |
| 8641 | ||
| 8642 | (W locale) 非 UTF-8 の名前付きロケールを使っていますが、 | |
| 8643 | perl はこれを扱うのに完全な互換性のあるものを決定できませんでした。 | |
| 8644 | 2 番目の C<%s> に理由があります。 | |
| 8645 | ||
| 8646 | =begin original | |
| 8647 | ||
| 8648 | By far the most common reason is that the locale has characters in it | |
| 8649 | that are represented by more than one byte. The only such locales that | |
| 8650 | Perl can handle are the UTF-8 locales. Most likely the specified locale | |
| 8651 | is a non-UTF-8 one for an East Asian language such as Chinese or | |
| 8652 | Japanese. If the locale is a superset of ASCII, the ASCII portion of it | |
| 8653 | may work in Perl. | |
| 8654 | ||
| 8655 | =end original | |
| 8656 | ||
| 8657 | もっともありそうな理由は、そのロケールが複数バイトで表現される文字を | |
| 8658 | 持っていることです。 | |
| 8659 | Perl が扱えるそのようなロケールで唯一のものは UTF-8 ロケールです。 | |
| 8660 | もっともありそうな指定されたロケールは、中国や日本のような東アジア言語の | |
| 8661 | 非 UTF-8 のものです。 | |
| 8662 | ロケールが ASCII の上位集合の場合、ASCII の部分は Perl で動作するでしょう。 | |
| 8663 | ||
| 8664 | =begin original | |
| 8665 | ||
| 8666 | Some essentially obsolete locales that aren't supersets of ASCII, mainly | |
| 8667 | those in ISO 646 or other 7-bit locales, such as ASMO 449, can also have | |
| 8668 | problems, depending on what portions of the ASCII character set get | |
| 8669 | changed by the locale and are also used by the program. | |
| 8670 | The warning message lists the determinable conflicting characters. | |
| 8671 | ||
| 8672 | =end original | |
| 8673 | ||
| 8674 | ASCII の上位集合でない、主に ISO 646 のものや、ASMO 449 のような | |
| 8675 | その他の 7 ビットロケールも問題になり得ます; | |
| 8676 | ASCII 文字集合のどの部分がロケールによって変更されるか、およびプログラムで | |
| 8677 | 使われるかによります。 | |
| 8678 | 警告メッセージは決定できる衝突している文字を一覧表示します。 | |
| 8679 | ||
| 8680 | =begin original | |
| 8681 | ||
| 8682 | Note that not all incompatibilities are found. | |
| 8683 | ||
| 8684 | =end original | |
| 8685 | ||
| 8686 | 全ての非互換性が発見されるわけではないことに注意してください。 | |
| 8687 | ||
| 8688 | =begin original | |
| 8689 | ||
| 8690 | If this happens to you, there's not much you can do except switch to use a | |
| 8691 | different locale or use L<Encode> to translate from the locale into | |
| 8692 | UTF-8; if that's impracticable, you have been warned that some things | |
| 8693 | may break. | |
| 8694 | ||
| 8695 | =end original | |
| 8696 | ||
| 8697 | これが起きた場合、異なるロケールを使うように変更するか、 | |
| 8698 | そのロケールから UTF-8 に変換するために L<Encode> を使う以外に | |
| 8699 | できることはあまりありません; もしそれができないなら、 | |
| 8700 | あなたは何かが壊れるかもしれないことを警告されました。 | |
| 8701 | ||
| 8702 | =begin original | |
| 8703 | ||
| 8704 | This message is output once each time a bad locale is switched into | |
| 8705 | within the scope of C<S<use locale>>, or on the first possibly-affected | |
| 8706 | operation if the C<S<use locale>> inherits a bad one. It is not raised | |
| 8707 | for any operations from the L<POSIX> module. | |
| 8708 | ||
| 8709 | =end original | |
| 8710 | ||
| 8711 | このメッセージは、C<S<use locale>> のスコープ内で悪いロケールに切り替わった | |
| 8712 | 毎に、あるいは C<S<use locale>> が悪いものを継承している場合は | |
| 8713 | 最初の影響があるかもしれない操作の時点で出力されます。 | |
| 8714 | これは L<POSIX> モジュールの操作では発生しません。 | |
| 8715 | ||
| 8716 | =item localtime(%f) failed | |
| 8717 | ||
| 8718 | =begin original | |
| 8719 | ||
| 8720 | (W overflow) You called C<localtime> with a number that it could not handle: | |
| 8721 | too large, too small, or NaN. The returned value is C<undef>. | |
| 8722 | ||
| 8723 | =end original | |
| 8724 | ||
| 8725 | (W overflow) 扱えない数値で C<localtime> を呼び出しました: 大きすぎたり | |
| 8726 | 小さすぎたり NaN だったりです。 | |
| 8727 | 返り値は C<undef> です。 | |
| 8728 | ||
| 6132 | 8729 | =item localtime(%f) too large |
| 6133 | 8730 | |
| 6134 | 8731 | =begin original |
| 6135 | 8732 | |
| 6136 | 8733 | (W overflow) You called C<localtime> with a number that was larger |
| 6137 | 8734 | than it can reliably handle and C<localtime> probably returned the |
| 6138 | 8735 | wrong date. This warning is also triggered with NaN (the special |
| 6139 | 8736 | not-a-number value). |
| 6140 | 8737 | |
| 6141 | 8738 | =end original |
| 6142 | 8739 | |
| 6143 | 8740 | (W overflow) 信頼して扱えるよりも大きな数値で C<localtime> を呼び出したので |
| 6144 | 8741 | C<localtime> はおそらく間違った日付を返します。 |
| 6145 | 8742 | この警告は、NaN (特殊な非数) でも引き起こされます。 |
| 6146 | 8743 | |
| 6147 | 8744 | =item localtime(%f) too small |
| 6148 | 8745 | |
| 6149 | 8746 | =begin original |
| 6150 | 8747 | |
| 6151 | 8748 | (W overflow) You called C<localtime> with a number that was smaller |
| 6152 | 8749 | than it can reliably handle and C<localtime> probably returned the |
| 6153 | 8750 | wrong date. |
| 6154 | 8751 | |
| 6155 | 8752 | =end original |
| 6156 | 8753 | |
| 6157 | 8754 | (W overflow) 信頼して扱えるよりも小さな数値で C<localtime> を呼び出したので |
| 6158 | 8755 | C<localtime> はおそらく間違った日付を返します。 |
| 6159 | 8756 | |
| 6160 | 8757 | =item Lookbehind longer than %d not implemented in regex m/%s/ |
| 6161 | 8758 | |
| 6162 | 8759 | =begin original |
| 6163 | 8760 | |
| 6164 | 8761 | (F) There is currently a limit on the length of string which lookbehind can |
| 6165 | 8762 | handle. This restriction may be eased in a future release. |
| 6166 | 8763 | |
| 6167 | 8764 | =end original |
| 6168 | 8765 | |
| 6169 | 8766 | (F) 現在のところ前方参照が扱える文字列の長さには制限があります。 |
| 6170 | 8767 | この制限は将来のリリースでは緩和されるでしょう。 |
| 6171 | 8768 | |
| 6172 | 8769 | =item Lost precision when %s %f by 1 |
| 6173 | 8770 | |
| 6174 | 8771 | =begin original |
| 6175 | 8772 | |
| 6176 | (W | |
| 8773 | (W imprecision) You attempted to increment or decrement a value by one, | |
| 6177 | for the underlying floating point | |
| 8774 | but the result is too large for the underlying floating point | |
| 6178 | ||
| 8775 | representation to store accurately. Hence, the target of C<++> or C<--> | |
| 6179 | ||
| 8776 | is increased or decreased by quite different value than one, such as | |
| 6180 | ||
| 8777 | zero (I<i.e.> the target is unchanged) or two, due to rounding. | |
| 6181 | ||
| 8778 | Perl issues this | |
| 8779 | warning because it has already switched from integers to floating point | |
| 8780 | when values are too large for integers, and now even floating point is | |
| 8781 | insufficient. You may wish to switch to using L<Math::BigInt> explicitly. | |
| 6182 | 8782 | |
| 6183 | 8783 | =end original |
| 6184 | 8784 | |
| 6185 | (W) インクリメントまたはデクリメントしようとし | |
| 8785 | (W imprecision) 値を 1 だけインクリメントまたはデクリメントしようとしましたが、 | |
| 6186 | 浮動小数点数表現にとって正確に保管するには大きすぎ | |
| 8786 | 結果は基礎となっている浮動小数点数表現にとって正確に保管するには大きすぎます。 | |
| 6187 | C<++> や C<--> のターゲットは | |
| 8787 | 従って、C<++> や C<--> のターゲットは 1 ではない値増加または減少します; | |
| 8788 | これは 0 (つまりターゲットは変更されない) であったり、丸めによって 2 で | |
| 8789 | あったりします。 | |
| 6188 | 8790 | Perl は既に値が整数として大きすぎる時には整数から浮動小数点数に |
| 6189 | 8791 | 切り替えていて、浮動小数点数でも不十分なときにこの警告を出力します。 |
| 6190 | 8792 | 明示的に L<Math::BigInt> を使うように切り替えたいかもしれません。 |
| 6191 | 8793 | |
| 6192 | 8794 | =item lstat() on filehandle%s |
| 6193 | 8795 | |
| 6194 | 8796 | =begin original |
| 6195 | 8797 | |
| 6196 | 8798 | (W io) You tried to do an lstat on a filehandle. What did you mean |
| 6197 | 8799 | by that? lstat() makes sense only on filenames. (Perl did a fstat() |
| 6198 | 8800 | instead on the filehandle.) |
| 6199 | 8801 | |
| 6200 | 8802 | =end original |
| 6201 | 8803 | |
| 6202 | 8804 | (W io) ファイルハンドルに lstat を実行しようとしました。 |
| 6203 | 8805 | これで何をしようとしたのですか? |
| 6204 | 8806 | lstat() はファイル名に対してのみ意味があります。 |
| 6205 | 8807 | (Perl はファイルハンドルには代わりに fstat() を行いました。) |
| 6206 | 8808 | |
| 6207 | 8809 | =item lvalue attribute %s already-defined subroutine |
| 6208 | 8810 | |
| 6209 | 8811 | =begin original |
| 6210 | 8812 | |
| 6211 | 8813 | (W misc) Although L<attributes.pm|attributes> allows this, turning the lvalue |
| 6212 | 8814 | attribute on or off on a Perl subroutine that is already defined |
| 6213 | 8815 | does not always work properly. It may or may not do what you |
| 6214 | 8816 | want, depending on what code is inside the subroutine, with exact |
| 6215 | 8817 | details subject to change between Perl versions. Only do this |
| 6216 | 8818 | if you really know what you are doing. |
| 6217 | 8819 | |
| 6218 | 8820 | =end original |
| 6219 | 8821 | |
| 6220 | 8822 | (W misc) L<attributes.pm|attributes> ではこれは許されていますが、既に |
| 6221 | 8823 | 定義されている Perl サブルーチンに対して左辺値属性をオンまたはオフにするのは |
| 6222 | 8824 | 常に適切に動作するわけではありません。 |
| 6223 | 8825 | あなたの望むことが行われるかもしれませんし行われないかもしれません; |
| 6224 | 8826 | サブルーチンの内側にどんなコードがあるかに依存し、正確な詳細は |
| 6225 | 8827 | Perl バージョン間で変更されることがあります。 |
| 6226 | 8828 | 自分が何をしているのかが本当に分かっているときにだけこれを行ってください。 |
| 6227 | 8829 | |
| 6228 | 8830 | =item lvalue attribute ignored after the subroutine has been defined |
| 6229 | 8831 | |
| 6230 | 8832 | =begin original |
| 6231 | 8833 | |
| 6232 | 8834 | (W misc) Using the C<:lvalue> declarative syntax to make a Perl |
| 6233 | 8835 | subroutine an lvalue subroutine after it has been defined is |
| 6234 | 8836 | not permitted. To make the subroutine an lvalue subroutine, |
| 6235 | 8837 | add the lvalue attribute to the definition, or put the C<sub |
| 6236 | 8838 | foo :lvalue;> declaration before the definition. |
| 6237 | 8839 | |
| 6238 | 8840 | =end original |
| 6239 | 8841 | |
| 6240 | 8842 | (W misc) サブルーチンが定義された後、Perl サブルーチンを左辺値サブルーチンに |
| 6241 | 8843 | するために C<:lvalue> 宣言文を使うことはできません。 |
| 6242 | 8844 | サブルーチンを左辺値サブルーチンにするには定義時に左辺値属性を追加するか、 |
| 6243 | 8845 | 定義する前に C<sub foo :lvalue;> 宣言を行います。 |
| 6244 | 8846 | |
| 6245 | 8847 | =begin original |
| 6246 | 8848 | |
| 6247 | 8849 | See also L<attributes.pm|attributes>. |
| 6248 | 8850 | |
| 6249 | 8851 | =end original |
| 6250 | 8852 | |
| 6251 | 8853 | L<attributes.pm|attributes> も参照してください。 |
| 6252 | 8854 | |
| 8855 | =item Magical list constants are not supported | |
| 8856 | ||
| 8857 | =begin original | |
| 8858 | ||
| 8859 | (F) You assigned a magical array to a stash element, and then tried | |
| 8860 | to use the subroutine from the same slot. You are asking Perl to do | |
| 8861 | something it cannot do, details subject to change between Perl versions. | |
| 8862 | ||
| 8863 | =end original | |
| 8864 | ||
| 8865 | (F) マジカルな配列をスタッシュ要素に代入し、それから同じスロットから | |
| 8866 | サブルーチンを使おうとしました。 | |
| 8867 | Perl のバージョンによって詳細が変わるかも知れないような、してはいけないことを | |
| 8868 | Perl にさせようとしました。 | |
| 8869 | ||
| 6253 | 8870 | =item Malformed integer in [] in pack |
| 6254 | 8871 | |
| 6255 | 8872 | =begin original |
| 6256 | 8873 | |
| 6257 | 8874 | (F) Between the brackets enclosing a numeric repeat count only digits |
| 6258 | 8875 | are permitted. See L<perlfunc/pack>. |
| 6259 | 8876 | |
| 6260 | 8877 | =end original |
| 6261 | 8878 | |
| 6262 | 8879 | (F) 中かっこで数値繰り返し数を囲む場合、数値のみが許されます。 |
| 6263 | 8880 | L<perlfunc/pack> を参照してください。 |
| 6264 | 8881 | |
| 6265 | 8882 | =item Malformed integer in [] in unpack |
| 6266 | 8883 | |
| 6267 | 8884 | =begin original |
| 6268 | 8885 | |
| 6269 | 8886 | (F) Between the brackets enclosing a numeric repeat count only digits |
| 6270 | 8887 | are permitted. See L<perlfunc/pack>. |
| 6271 | 8888 | |
| 6272 | 8889 | =end original |
| 6273 | 8890 | |
| 6274 | 8891 | (F) 中かっこで数値繰り返し数を囲む場合、数値のみが許されます。 |
| 6275 | 8892 | L<perlfunc/pack> を参照してください。 |
| 6276 | 8893 | |
| 6277 | 8894 | =item Malformed PERLLIB_PREFIX |
| 6278 | 8895 | |
| 6279 | 8896 | =begin original |
| 6280 | 8897 | |
| 6281 | 8898 | (F) An error peculiar to OS/2. PERLLIB_PREFIX should be of the form |
| 6282 | 8899 | |
| 6283 | 8900 | =end original |
| 6284 | 8901 | |
| 6285 | 8902 | (F) OS/2 固有のエラーです。 |
| 6286 | 8903 | PERLLIB_PREFIX は以下のような形か: |
| 6287 | 8904 | |
| 6288 | 8905 | prefix1;prefix2 |
| 6289 | 8906 | |
| 6290 | 8907 | =begin original |
| 6291 | 8908 | |
| 6292 | 8909 | or |
| 6293 | 8910 | prefix1 prefix2 |
| 6294 | 8911 | |
| 6295 | 8912 | =end original |
| 6296 | 8913 | |
| 6297 | 8914 | または |
| 6298 | 8915 | prefix1 prefix2 |
| 6299 | 8916 | |
| 6300 | 8917 | =begin original |
| 6301 | 8918 | |
| 6302 | 8919 | with nonempty prefix1 and prefix2. If C<prefix1> is indeed a prefix of |
| 6303 | 8920 | a builtin library search path, prefix2 is substituted. The error may |
| 6304 | 8921 | appear if components are not found, or are too long. See |
| 6305 | 8922 | "PERLLIB_PREFIX" in L<perlos2>. |
| 6306 | 8923 | |
| 6307 | 8924 | =end original |
| 6308 | 8925 | |
| 6309 | 8926 | prefix1 と prefix2 が空でない形である必要があります。 |
| 6310 | 8927 | C<prefix1> が組み込みライブラリ検索パスのプレフィックスなら、 |
| 6311 | 8928 | prefix2 は置き換えられます。 |
| 6312 | 8929 | このエラーは、コンポーネントが見つからないか、長すぎる時に起こります。 |
| 6313 | 8930 | L<perlos2> の "PERLLIB_PREFIX" を参照してください。 |
| 6314 | 8931 | |
| 6315 | 8932 | =item Malformed prototype for %s: %s |
| 6316 | 8933 | |
| 6317 | 8934 | =begin original |
| 6318 | 8935 | |
| 6319 | 8936 | (F) You tried to use a function with a malformed prototype. The |
| 6320 | 8937 | syntax of function prototypes is given a brief compile-time check for |
| 6321 | 8938 | obvious errors like invalid characters. A more rigorous check is run |
| 6322 | 8939 | when the function is called. |
| 8940 | Perhaps the function's author was trying to write a subroutine signature | |
| 8941 | but didn't enable that feature first (C<use feature 'signatures'>), | |
| 8942 | so the signature was instead interpreted as a bad prototype. | |
| 6323 | 8943 | |
| 6324 | 8944 | =end original |
| 6325 | 8945 | |
| 6326 | 8946 | (F) 不正な形式のプロトタイプをもつ関数を使おうとしました。 |
| 6327 | 8947 | 関数プロトタイプの構文は、不正な文字のようなありふれたエラーについては |
| 6328 | 8948 | コンパイル時にチェックされます。 |
| 6329 | 8949 | より厳密なチェックは、関数が呼び出された時に実行されます。 |
| 8950 | おそらく関数の作者はサブルーチンシグネチャを書こうとしたけれども、 | |
| 8951 | 先にこの機能を有効にしなかった (C<use feature 'signatures'>) ので、 | |
| 8952 | シグネチャは間違ったプロトタイプとして解釈されました。 | |
| 6330 | 8953 | |
| 6331 | =item Malformed UTF-8 character | |
| 8954 | =item Malformed UTF-8 character%s | |
| 6332 | 8955 | |
| 6333 | 8956 | =begin original |
| 6334 | 8957 | |
| 6335 | (S utf8)(F) Perl detected a string that | |
| 8958 | (S utf8)(F) Perl detected a string that should be UTF-8, but didn't | |
| 6336 | encoding rules, e | |
| 8959 | comply with UTF-8 encoding rules, or represents a code point whose | |
| 8960 | ordinal integer value doesn't fit into the word size of the current | |
| 8961 | platform (overflows). Details as to the exact malformation are given in | |
| 8962 | the variable, C<%s>, part of the message. | |
| 6337 | 8963 | |
| 6338 | 8964 | =end original |
| 6339 | 8965 | |
| 6340 | (S utf8)(F) Perl が、UTF | |
| 8966 | (S utf8)(F) Perl が、UTF-8 であるべき文字列を検出しましたが、 | |
| 6341 | ||
| 8967 | UTF-8 エンコーディング規則に従わない、 | |
| 8968 | あるいは序数が現在のプラットフォームのワードサイズに収まらない | |
| 8969 | (オーバーフローする)符号位置を表現する文字列を検出しました。 | |
| 8970 | 不正な内容についての詳細は、メッセージの C<%s> の部分に入ります。 | |
| 6342 | 8971 | |
| 6343 | 8972 | =begin original |
| 6344 | 8973 | |
| 6345 | 8974 | One possible cause is that you set the UTF8 flag yourself for data that |
| 6346 | you thought to be in UTF-8 but it wasn't (it was for example legacy | |
| 8975 | you thought to be in UTF-8 but it wasn't (it was for example legacy 8-bit | |
| 6347 | ||
| 8976 | data). To guard against this, you can use C<Encode::decode('UTF-8', ...)>. | |
| 6348 | 8977 | |
| 6349 | 8978 | =end original |
| 6350 | 8979 | |
| 6351 | 8980 | 原因の可能性の一つは、UTF-8 だと思っていたけれでもそうではなかったデータ |
| 6352 | 8981 | (例えばレガシーな 8 ビットデータ)にあなた自身で UTF8 フラグをセットした |
| 6353 | 8982 | ことです。 |
| 6354 | これから守るためには、Encode::decode | |
| 8983 | これから守るためには、C<Encode::decode('UTF-8', ...)> を使えます。 | |
| 6355 | 8984 | |
| 6356 | 8985 | =begin original |
| 6357 | 8986 | |
| 6358 | 8987 | If you use the C<:encoding(UTF-8)> PerlIO layer for input, invalid byte |
| 6359 | sequences are handled gracefully, but if you use C<:utf8>, the flag is | |
| 8988 | sequences are handled gracefully, but if you use C<:utf8>, the flag is set | |
| 6360 | ||
| 8989 | without validating the data, possibly resulting in this error message. | |
| 6361 | message. | |
| 6362 | 8990 | |
| 6363 | 8991 | =end original |
| 6364 | 8992 | |
| 6365 | 8993 | 入力に C<:encoding(UTF-8)> PerlIO 層を使うと、不正なバイトシーケンスは |
| 6366 | 8994 | 寛容に扱われますが、C<:utf8> を使うと、フラグはデータを検証せずに設定され、 |
| 6367 | 8995 | おそらく結果としてこのエラーメッセージが出力されます。 |
| 6368 | 8996 | |
| 6369 | 8997 | =begin original |
| 6370 | 8998 | |
| 6371 | 8999 | See also L<Encode/"Handling Malformed Data">. |
| 6372 | 9000 | |
| 6373 | 9001 | =end original |
| 6374 | 9002 | |
| 6375 | 9003 | L<Encode/"Handling Malformed Data"> も参照してください。 |
| 6376 | 9004 | |
| 6377 | =item Malformed UTF-8 returned by \N | |
| 9005 | =item Malformed UTF-8 returned by \N{%s} immediately after '%s' | |
| 6378 | 9006 | |
| 6379 | 9007 | =begin original |
| 6380 | 9008 | |
| 6381 | 9009 | (F) The charnames handler returned malformed UTF-8. |
| 6382 | 9010 | |
| 6383 | 9011 | =end original |
| 6384 | 9012 | |
| 6385 | 9013 | (F) charnames ハンドラが不正な UTF-8 を返しました。 |
| 6386 | 9014 | |
| 9015 | =item Malformed UTF-8 string in "%s" | |
| 9016 | ||
| 9017 | =begin original | |
| 9018 | ||
| 9019 | (F) This message indicates a bug either in the Perl core or in XS | |
| 9020 | code. Such code was trying to find out if a character, allegedly | |
| 9021 | stored internally encoded as UTF-8, was of a given type, such as | |
| 9022 | being punctuation or a digit. But the character was not encoded | |
| 9023 | in legal UTF-8. The C<%s> is replaced by a string that can be used | |
| 9024 | by knowledgeable people to determine what the type being checked | |
| 9025 | against was. | |
| 9026 | ||
| 9027 | =end original | |
| 9028 | ||
| 9029 | (F) このメッセージは、Perl 内部か XS コードのどちらかにバグがあることを | |
| 9030 | 示しています。 | |
| 9031 | そのコードは、UTF-8 として内部でエンコードされて | |
| 9032 | 保管されているということになっているある文字が、 | |
| 9033 | 句読点や数字のような指定された型であるかどうかを見つけ出そうとしました。 | |
| 9034 | しかし、この文字は正当な UTF-8 としてエンコードされていません。 | |
| 9035 | C<%s> は、知識がある人々が、どの種類をチェックするべきかを | |
| 9036 | 決めるために使われる文字列で置き換えられます。 | |
| 9037 | ||
| 9038 | =begin original | |
| 9039 | ||
| 9040 | Passing malformed strings was deprecated in Perl 5.18, and | |
| 9041 | became fatal in Perl 5.26. | |
| 9042 | ||
| 9043 | =end original | |
| 9044 | ||
| 9045 | 不正な文字列を渡すことは Perl 5.18 で廃止予定になり、 | |
| 9046 | Perl 5.26 で致命的エラーになりました。 | |
| 9047 | ||
| 6387 | 9048 | =item Malformed UTF-8 string in '%c' format in unpack |
| 6388 | 9049 | |
| 6389 | 9050 | =begin original |
| 6390 | 9051 | |
| 6391 | 9052 | (F) You tried to unpack something that didn't comply with UTF-8 encoding |
| 6392 | 9053 | rules and perl was unable to guess how to make more progress. |
| 6393 | 9054 | |
| 6394 | 9055 | =end original |
| 6395 | 9056 | |
| 6396 | 9057 | (F) UTF-8 エンコーディング規則に従わない何かを unpack しようとしたので、 |
| 6397 | 9058 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 |
| 6398 | 9059 | |
| 6399 | 9060 | =item Malformed UTF-8 string in pack |
| 6400 | 9061 | |
| 6401 | 9062 | =begin original |
| 6402 | 9063 | |
| 6403 | 9064 | (F) You tried to pack something that didn't comply with UTF-8 encoding |
| 6404 | 9065 | rules and perl was unable to guess how to make more progress. |
| 6405 | 9066 | |
| 6406 | 9067 | =end original |
| 6407 | 9068 | |
| 6408 | 9069 | (F) UTF-8 エンコーディング規則に従わない何かを pack しようとしたので、 |
| 6409 | 9070 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 |
| 6410 | 9071 | |
| 6411 | 9072 | =item Malformed UTF-8 string in unpack |
| 6412 | 9073 | |
| 6413 | 9074 | =begin original |
| 6414 | 9075 | |
| 6415 | 9076 | (F) You tried to unpack something that didn't comply with UTF-8 encoding |
| 6416 | 9077 | rules and perl was unable to guess how to make more progress. |
| 6417 | 9078 | |
| 6418 | 9079 | =end original |
| 6419 | 9080 | |
| 6420 | 9081 | (F) UTF-8 エンコーディング規則に従わない何かを unpack しようとしたので、 |
| 6421 | 9082 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 |
| 6422 | 9083 | |
| 6423 | 9084 | =item Malformed UTF-16 surrogate |
| 6424 | 9085 | |
| 6425 | 9086 | =begin original |
| 6426 | 9087 | |
| 6427 | 9088 | (F) Perl thought it was reading UTF-16 encoded character data but while |
| 6428 | 9089 | doing it Perl met a malformed Unicode surrogate. |
| 6429 | 9090 | |
| 6430 | 9091 | =end original |
| 6431 | 9092 | |
| 6432 | 9093 | (F) Perl は UTF-16 エンコード文字データを読み込んでいると考えましたが、 |
| 6433 | 9094 | その間に Perl が不正な Unicode サロゲートに遭遇しました。 |
| 6434 | 9095 | |
| 6435 | =item | |
| 9096 | =item Mandatory parameter follows optional parameter | |
| 6436 | 9097 | |
| 6437 | 9098 | =begin original |
| 6438 | 9099 | |
| 9100 | (F) In a subroutine signature, you wrote something like "$x = undef, | |
| 9101 | $y", making an earlier parameter optional and a later one mandatory. | |
| 9102 | Parameters are filled from left to right, so it's impossible for the | |
| 9103 | caller to omit an earlier one and pass a later one. If you want to act | |
| 9104 | as if the parameters are filled from right to left, declare the rightmost | |
| 9105 | optional and then shuffle the parameters around in the subroutine's body. | |
| 9106 | ||
| 9107 | =end original | |
| 9108 | ||
| 9109 | (F) サブルーチンシグネチャで、"$x = undef, $y" のような、先の引数が | |
| 9110 | オプションで後の引数が必須のようなものを書きました。 | |
| 9111 | 引数は左から右に埋められるので、呼び出し側が先のものを省略して後のものに | |
| 9112 | 渡すことは不可能です。 | |
| 9113 | 引数が右から左に埋められるかのように振る舞ってほしい場合は、一番右を | |
| 9114 | オプションと宣言して、引数をサブルーチン本体で入れ替えてください。 | |
| 9115 | ||
| 9116 | =item Matched non-Unicode code point 0x%X against Unicode property; may | |
| 9117 | not be portable | |
| 9118 | ||
| 9119 | =begin original | |
| 9120 | ||
| 9121 | (S non_unicode) Perl allows strings to contain a superset of | |
| 9122 | Unicode code points; each code point may be as large as what is storable | |
| 9123 | in a signed integer on your system, but these may not be accepted by | |
| 9124 | other languages/systems. This message occurs when you matched a string | |
| 9125 | containing such a code point against a regular expression pattern, and | |
| 9126 | the code point was matched against a Unicode property, C<\p{...}> or | |
| 9127 | C<\P{...}>. Unicode properties are only defined on Unicode code points, | |
| 9128 | so the result of this match is undefined by Unicode, but Perl (starting | |
| 9129 | in v5.20) treats non-Unicode code points as if they were typical | |
| 9130 | unassigned Unicode ones, and matched this one accordingly. Whether a | |
| 9131 | given property matches these code points or not is specified in | |
| 9132 | L<perluniprops/Properties accessible through \p{} and \P{}>. | |
| 9133 | ||
| 9134 | =end original | |
| 9135 | ||
| 9136 | (S non_unicode) Perl は文字列に Unicode 符号位置の上位集合を | |
| 9137 | 含むことができます; それぞれの符号位置はシステムの符号付き整数に | |
| 9138 | 格納できるだけの大きさを指定できますが、これらは他の言語/システムでは | |
| 9139 | 受け付けられないかも知れません。 | |
| 9140 | このメッセージは、このような符号位置を含む文字列をある正規表現パターンで | |
| 9141 | マッチングし、符号位置が Unicode 特性 C<\p{...}> または C<\P{...}> と | |
| 9142 | マッチングしたときに発生します。 | |
| 9143 | Unicode 特性は Unicode 符号位置に対してのみ定義されているので、 | |
| 9144 | Unicode によればこのマッチングの結果は未定義ですが、 | |
| 9145 | Perl は (v5.20 から) 非 Unicode 符号位置を、典型的な未割り当て | |
| 9146 | Unicode 符号位置として扱い、それぞれマッチングします。 | |
| 9147 | 指定された特性がこれらの符号位置にマッチングするかどうかは | |
| 9148 | L<perluniprops/Properties accessible through \p{} and \P{}> で | |
| 9149 | 指定されています。 | |
| 9150 | ||
| 9151 | =begin original | |
| 9152 | ||
| 9153 | This message is suppressed (unless it has been made fatal) if it is | |
| 9154 | immaterial to the results of the match if the code point is Unicode or | |
| 9155 | not. For example, the property C<\p{ASCII_Hex_Digit}> only can match | |
| 9156 | the 22 characters C<[0-9A-Fa-f]>, so obviously all other code points, | |
| 9157 | Unicode or not, won't match it. (And C<\P{ASCII_Hex_Digit}> will match | |
| 9158 | every code point except these 22.) | |
| 9159 | ||
| 9160 | =end original | |
| 9161 | ||
| 9162 | このメッセージは、符号位置が Unicode かどうかがマッチングの結果に関係ない | |
| 9163 | 場合は、(致命的にしていない限り)抑制されます。 | |
| 9164 | 例えば、特性 C<\p{ASCII_Hex_Digit}> は 22 文字 C<[0-9A-Fa-f]> だけに | |
| 9165 | マッチングするので、明らかに他の符号位置は、Unicode かどうかに関わらず、 | |
| 9166 | マッチングしません。 | |
| 9167 | (そして C<\P{ASCII_Hex_Digit}> はこれら 22 以外の全ての符号位置に | |
| 9168 | マッチングします。) | |
| 9169 | ||
| 9170 | =begin original | |
| 9171 | ||
| 9172 | Getting this message indicates that the outcome of the match arguably | |
| 9173 | should have been the opposite of what actually happened. If you think | |
| 9174 | that is the case, you may wish to make the C<non_unicode> warnings | |
| 9175 | category fatal; if you agree with Perl's decision, you may wish to turn | |
| 9176 | off this category. | |
| 9177 | ||
| 9178 | =end original | |
| 9179 | ||
| 9180 | このメッセージが出たということは、マッチングの結果はおそらく実際に起きた結果と | |
| 9181 | 逆になっているはずだということを示しています。 | |
| 9182 | これに当てはまっていると考えられる場合は、C<non_unicode> 警告カテゴリを | |
| 9183 | 致命的にした方がよいでしょう; Perl の結果に同意する場合は、このカテゴリを | |
| 9184 | オフにした方がよいでしょう。 | |
| 9185 | ||
| 9186 | =begin original | |
| 9187 | ||
| 9188 | See L<perlunicode/Beyond Unicode code points> for more information. | |
| 9189 | ||
| 9190 | =end original | |
| 9191 | ||
| 9192 | さらなる情報については L<perlunicode/Beyond Unicode code points> を | |
| 9193 | 参照してください。 | |
| 9194 | ||
| 9195 | =item %s matches null string many times in regex; marked by S<<-- HERE> in | |
| 9196 | m/%s/ | |
| 9197 | ||
| 9198 | =begin original | |
| 9199 | ||
| 6439 | 9200 | (W regexp) The pattern you've specified would be an infinite loop if the |
| 6440 | regular expression engine didn't specifically check for that. The <-- HERE | |
| 9201 | regular expression engine didn't specifically check for that. The S<<-- HERE> | |
| 6441 | shows in the regular expression | |
| 9202 | shows whereabouts in the regular expression the problem was discovered. | |
| 6442 | 9203 | See L<perlre>. |
| 6443 | 9204 | |
| 6444 | 9205 | =end original |
| 6445 | 9206 | |
| 6446 | 9207 | (W) 指定したパターンは、もし、正規表現エンジンがチェックを |
| 6447 | 9208 | 行なっていなければ、無限ループに陥るものです。 |
| 6448 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 9209 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 6449 | 9210 | L<perlre> を参照してください。 |
| 6450 | 9211 | |
| 6451 | 9212 | =item Maximal count of pending signals (%u) exceeded |
| 6452 | 9213 | |
| 6453 | 9214 | =begin original |
| 6454 | 9215 | |
| 6455 | 9216 | (F) Perl aborted due to too high a number of signals pending. This |
| 6456 | 9217 | usually indicates that your operating system tried to deliver signals |
| 6457 | 9218 | too fast (with a very high priority), starving the perl process from |
| 6458 | 9219 | resources it would need to reach a point where it can process signals |
| 6459 | 9220 | safely. (See L<perlipc/"Deferred Signals (Safe Signals)">.) |
| 6460 | 9221 | |
| 6461 | 9222 | =end original |
| 6462 | 9223 | |
| 6463 | 9224 | (F) あまりにも多くのシグナルが保留中になったので Perl は中断しました。 |
| 6464 | 9225 | これは普通 OS が速くシグナルを(とても高い優先順位で)配達しようとしすぎて、 |
| 6465 | 9226 | perl のプロセスが安全にシグナルを処理できるところに到達するまでに必要な |
| 6466 | 9227 | リソースが不足したことを示しています。 |
| 6467 | 9228 | (L<perlipc/"Deferred Signals (Safe Signals)"> を参照してください。) |
| 6468 | 9229 | |
| 6469 | 9230 | =item "%s" may clash with future reserved word |
| 6470 | 9231 | |
| 6471 | 9232 | =begin original |
| 6472 | 9233 | |
| 6473 | 9234 | (W) This warning may be due to running a perl5 script through a perl4 |
| 6474 | 9235 | interpreter, especially if the word that is being warned about is |
| 6475 | 9236 | "use" or "my". |
| 6476 | 9237 | |
| 6477 | 9238 | =end original |
| 6478 | 9239 | |
| 6479 | 9240 | (W) この警告は perl5 のスクリプトを perl4 インタプリタで実行しようとした |
| 6480 | 9241 | ときに起きることが多いです; 特に警告された文字が "use" や "my" の場合は |
| 6481 | 9242 | そうです。 |
| 6482 | 9243 | |
| 6483 | 9244 | =item '%' may not be used in pack |
| 6484 | 9245 | |
| 6485 | 9246 | =begin original |
| 6486 | 9247 | |
| 6487 | 9248 | (F) You can't pack a string by supplying a checksum, because the |
| 6488 | 9249 | checksumming process loses information, and you can't go the other way. |
| 6489 | 9250 | See L<perlfunc/unpack>. |
| 6490 | 9251 | |
| 6491 | 9252 | =end original |
| 6492 | 9253 | |
| 6493 | 9254 | (F) チェックサムを指定して pack を行なうことはできません; |
| 6494 | 9255 | チェックサム処理では、情報が失われ、どうしようもなくなるからです。 |
| 6495 | 9256 | L<perlfunc/unpack> を参照してください。 |
| 6496 | 9257 | |
| 6497 | 9258 | =item Method for operation %s not found in package %s during blessing |
| 6498 | 9259 | |
| 6499 | 9260 | =begin original |
| 6500 | 9261 | |
| 6501 | 9262 | (F) An attempt was made to specify an entry in an overloading table that |
| 6502 | 9263 | doesn't resolve to a valid subroutine. See L<overload>. |
| 6503 | 9264 | |
| 6504 | 9265 | =end original |
| 6505 | 9266 | |
| 6506 | 9267 | (F) 多重定義テーブルで、有効なサブルーチンに解決できない |
| 6507 | 9268 | エントリを指定しようとしました。 |
| 6508 | 9269 | L<overload> を参照してください。 |
| 6509 | 9270 | |
| 9271 | =item method is experimental | |
| 9272 | ||
| 9273 | =begin original | |
| 9274 | ||
| 9275 | (S experimental::class) This warning is emitted if you use the C<method> | |
| 9276 | keyword of C<use feature 'class'>. This keyword is currently | |
| 9277 | experimental and its behaviour may change in future releases of Perl. | |
| 9278 | ||
| 9279 | =end original | |
| 9280 | ||
| 9281 | (S experimental::class) この警告は、C<use feature 'class'> の | |
| 9282 | C<method> キーワードを使うと発生します。 | |
| 9283 | このキーワードは現在のところ実験的で、Perl の将来のリリースでは変更される | |
| 9284 | 可能性があります。 | |
| 9285 | ||
| 6510 | 9286 | =item Method %s not permitted |
| 6511 | 9287 | |
| 6512 | 9288 | =begin original |
| 6513 | 9289 | |
| 6514 | See Server error. | |
| 9290 | See L</500 Server error>. | |
| 6515 | 9291 | |
| 6516 | 9292 | =end original |
| 6517 | 9293 | |
| 6518 | ||
| 9294 | L</500 Server error> を参照してください。 | |
| 6519 | 9295 | |
| 9296 | =item Method %s redefined | |
| 9297 | ||
| 9298 | =begin original | |
| 9299 | ||
| 9300 | (W redefine) You redefined a method. To suppress this warning, say | |
| 9301 | ||
| 9302 | =end original | |
| 9303 | ||
| 9304 | (W redefine) メソッドを再定義しました。 | |
| 9305 | この警告を抑制するには、次のようにします: | |
| 9306 | ||
| 9307 | { | |
| 9308 | no warnings 'redefine'; | |
| 9309 | *name = method { ... }; | |
| 9310 | } | |
| 9311 | ||
| 6520 | 9312 | =item Might be a runaway multi-line %s string starting on line %d |
| 6521 | 9313 | |
| 6522 | 9314 | =begin original |
| 6523 | 9315 | |
| 6524 | 9316 | (S) An advisory indicating that the previous error may have been caused |
| 6525 | 9317 | by a missing delimiter on a string or pattern, because it eventually |
| 6526 | 9318 | ended earlier on the current line. |
| 6527 | 9319 | |
| 6528 | 9320 | =end original |
| 6529 | 9321 | |
| 6530 | 9322 | (S) ようやく現在行になって、文字列やパターンの終わりが見つかったことから、 |
| 6531 | 9323 | 先のエラーが、文字列やパターンのデリミタが、見つからなかったことで |
| 6532 | 9324 | 起ったかもしれないことを、補足的に示しています。 |
| 6533 | 9325 | |
| 9326 | =item Mismatched brackets in template | |
| 9327 | ||
| 9328 | =begin original | |
| 9329 | ||
| 9330 | (F) A pack template could not be parsed because pairs of C<[...]> or | |
| 9331 | C<(...)> could not be matched up. See L<perlfunc/pack>. | |
| 9332 | ||
| 9333 | =end original | |
| 9334 | ||
| 9335 | (F) pack テンプレートがパースできません; | |
| 9336 | C<[...]> や C<(...)> の組が一致していないからです。 | |
| 9337 | L<perlfunc/pack> を参照してください。 | |
| 9338 | ||
| 6534 | 9339 | =item Misplaced _ in number |
| 6535 | 9340 | |
| 6536 | 9341 | =begin original |
| 6537 | 9342 | |
| 6538 | 9343 | (W syntax) An underscore (underbar) in a numeric constant did not |
| 6539 | 9344 | separate two digits. |
| 6540 | 9345 | |
| 6541 | 9346 | =end original |
| 6542 | 9347 | |
| 6543 | 9348 | (W syntax) 数値定数の下線が、二つの値を分離していません。 |
| 6544 | 9349 | |
| 9350 | =item Missing argument for %n in %s | |
| 9351 | ||
| 9352 | =begin original | |
| 9353 | ||
| 9354 | (F) A C<%n> was used in a format string with no corresponding argument for | |
| 9355 | perl to write the current string length to. | |
| 9356 | ||
| 9357 | =end original | |
| 9358 | ||
| 9359 | (F) C<%n> がフォーマット文字列で使われましたが、perl が現在の文字列長を | |
| 9360 | 書くための対応する引数がありません。 | |
| 9361 | ||
| 6545 | 9362 | =item Missing argument in %s |
| 6546 | 9363 | |
| 6547 | 9364 | =begin original |
| 6548 | 9365 | |
| 6549 | (W | |
| 9366 | (W missing) You called a function with fewer arguments than other | |
| 6550 | supplied. | |
| 9367 | arguments you supplied indicated would be needed. | |
| 6551 | 9368 | |
| 6552 | 9369 | =end original |
| 6553 | 9370 | |
| 6554 | (W | |
| 9371 | (W missing) 他で指定した引数によって必要であると示されているよりも | |
| 6555 | ||
| 9372 | 少ない引数で関数を呼び出しました。 | |
| 6556 | 9373 | |
| 9374 | =begin original | |
| 9375 | ||
| 9376 | Currently only emitted when a printf-type format required more | |
| 9377 | arguments than were supplied, but might be used in the future for | |
| 9378 | other cases where we can statically determine that arguments to | |
| 9379 | functions are missing, e.g. for the L<perlfunc/pack> function. | |
| 9380 | ||
| 9381 | =end original | |
| 9382 | ||
| 9383 | 現在のところは printf 型式のフォーマットが提供されたよりも多くの引数を | |
| 9384 | 要求した場合にのみ発生しますが、 | |
| 9385 | 将来、L<perlfunc/pack> 関数のような、関数の引数を静的に決定できる | |
| 9386 | その他の場合に使われるかもしれません。 | |
| 9387 | ||
| 6557 | 9388 | =item Missing argument to -%c |
| 6558 | 9389 | |
| 6559 | 9390 | =begin original |
| 6560 | 9391 | |
| 6561 | 9392 | (F) The argument to the indicated command line switch must follow |
| 6562 | 9393 | immediately after the switch, without intervening spaces. |
| 6563 | 9394 | |
| 6564 | 9395 | =end original |
| 6565 | 9396 | |
| 6566 | 9397 | (F) 示されたコマンドラインスイッチの引数は、 |
| 6567 | 9398 | スイッチの直後にスペースを空けないで書く必要があります。 |
| 6568 | 9399 | |
| 6569 | 9400 | =item Missing braces on \N{} |
| 6570 | 9401 | |
| 9402 | =item Missing braces on \N{} in regex; marked by S<<-- HERE> in m/%s/ | |
| 9403 | ||
| 6571 | 9404 | =begin original |
| 6572 | 9405 | |
| 6573 | 9406 | (F) Wrong syntax of character name literal C<\N{charname}> within |
| 6574 | 9407 | double-quotish context. This can also happen when there is a space |
| 6575 | 9408 | (or comment) between the C<\N> and the C<{> in a regex with the C</x> modifier. |
| 6576 | 9409 | This modifier does not change the requirement that the brace immediately |
| 6577 | 9410 | follow the C<\N>. |
| 6578 | 9411 | |
| 6579 | 9412 | =end original |
| 6580 | 9413 | |
| 6581 | 9414 | (F) ダブルクォートされたコンテキストの中で、文字名リテラル C<\N{charname}> の |
| 6582 | 9415 | 文法が間違っています。 |
| 6583 | 9416 | これはまた、C</x> 修飾子付きの正規表現の C<\N> と C<{> の間に空白(または |
| 6584 | 9417 | コメント)がある場合にも起こります。 |
| 6585 | 9418 | この修飾子は、C<\N> の直後に中かっこが必要であるという条件は変更しません。 |
| 6586 | 9419 | |
| 6587 | 9420 | =item Missing braces on \o{} |
| 6588 | 9421 | |
| 6589 | 9422 | =begin original |
| 6590 | 9423 | |
| 6591 | 9424 | (F) A C<\o> must be followed immediately by a C<{> in double-quotish context. |
| 6592 | 9425 | |
| 6593 | 9426 | =end original |
| 6594 | 9427 | |
| 6595 | 9428 | (F) ダブルクォート風コンテキストでは C<\o> は直後に C<{> が |
| 6596 | 9429 | 引き続かなければなりません。 |
| 6597 | 9430 | |
| 6598 | 9431 | =item Missing comma after first argument to %s function |
| 6599 | 9432 | |
| 6600 | 9433 | =begin original |
| 6601 | 9434 | |
| 6602 | 9435 | (F) While certain functions allow you to specify a filehandle or an |
| 6603 | 9436 | "indirect object" before the argument list, this ain't one of them. |
| 6604 | 9437 | |
| 6605 | 9438 | =end original |
| 6606 | 9439 | |
| 6607 | 9440 | (F) ある種の関数では、引数リストの前に、ファイルハンドルや |
| 6608 | 9441 | 「間接オブジェクト」をおくことができますが、この関数は、 |
| 6609 | 9442 | そういったものではありません。 |
| 6610 | 9443 | |
| 9444 | =item Missing comma after first argument to return | |
| 9445 | ||
| 9446 | =begin original | |
| 9447 | ||
| 9448 | (F) While certain operators allow you to specify a filehandle or an | |
| 9449 | "indirect object" before the argument list, C<return> isn't one of | |
| 9450 | them. | |
| 9451 | ||
| 9452 | =end original | |
| 9453 | ||
| 9454 | (F) 一部の演算子では、引数リストの前にファイルハンドルまたは | |
| 9455 | 「間接オブジェクト」を指定できますが、C<return> はその一つではありません。 | |
| 9456 | ||
| 6611 | 9457 | =item Missing command in piped open |
| 6612 | 9458 | |
| 6613 | 9459 | =begin original |
| 6614 | 9460 | |
| 6615 | 9461 | (W pipe) You used the C<open(FH, "| command")> or |
| 6616 | 9462 | C<open(FH, "command |")> construction, but the command was missing or |
| 6617 | 9463 | blank. |
| 6618 | 9464 | |
| 6619 | 9465 | =end original |
| 6620 | 9466 | |
| 6621 | 9467 | (W pipe) C<open(FH, "| command")> か C<open(FH, "command |")> の構文を |
| 6622 | 9468 | 使っていますが、コマンドが指定されていないか空白です。 |
| 6623 | 9469 | |
| 6624 | 9470 | =item Missing control char name in \c |
| 6625 | 9471 | |
| 6626 | 9472 | =begin original |
| 6627 | 9473 | |
| 6628 | 9474 | (F) A double-quoted string ended with "\c", without the required control |
| 6629 | 9475 | character name. |
| 6630 | 9476 | |
| 6631 | 9477 | =end original |
| 6632 | 9478 | |
| 6633 | 9479 | (F) ダブルクォートされた文字列が "\c" で終わっています; 制御文字名が |
| 6634 | 9480 | 必要です。 |
| 6635 | 9481 | |
| 6636 | =item Missing | |
| 9482 | =item Missing ']' in prototype for %s : %s | |
| 6637 | 9483 | |
| 6638 | 9484 | =begin original |
| 6639 | 9485 | |
| 6640 | ( | |
| 9486 | (W illegalproto) A grouping was started with C<[> but never closed with C<]>. | |
| 9487 | ||
| 9488 | =end original | |
| 9489 | ||
| 9490 | (W illegalproto) グループ化は C<[> で始まりましたが C<]> で | |
| 9491 | 閉じられませんでした。 | |
| 9492 | ||
| 9493 | =item Missing name in "%s sub" | |
| 9494 | ||
| 9495 | =begin original | |
| 9496 | ||
| 9497 | (F) The syntax for lexically scoped subroutines requires that | |
| 6641 | 9498 | they have a name with which they can be found. |
| 6642 | 9499 | |
| 6643 | 9500 | =end original |
| 6644 | 9501 | |
| 6645 | (F) | |
| 9502 | (F) レキシカルスコープのサブルーチンの文法には探すことの出来る名前が必要です。 | |
| 6646 | 探すことの出来る名前が必要です。 | |
| 6647 | 9503 | |
| 6648 | 9504 | =item Missing $ on loop variable |
| 6649 | 9505 | |
| 6650 | 9506 | =begin original |
| 6651 | 9507 | |
| 6652 | 9508 | (F) Apparently you've been programming in B<csh> too much. Variables |
| 6653 | 9509 | are always mentioned with the $ in Perl, unlike in the shells, where it |
| 6654 | 9510 | can vary from one line to the next. |
| 6655 | 9511 | |
| 6656 | 9512 | =end original |
| 6657 | 9513 | |
| 6658 | 9514 | (F) B<csh> を使いすぎた症状が現れているようです。 |
| 6659 | 9515 | Perl では、変数は常に $ を付けて表わされます; その時によって違う、シェルとは |
| 6660 | 9516 | 違っています。 |
| 6661 | 9517 | |
| 6662 | 9518 | =item (Missing operator before %s?) |
| 6663 | 9519 | |
| 6664 | 9520 | =begin original |
| 6665 | 9521 | |
| 6666 | 9522 | (S syntax) This is an educated guess made in conjunction with the message |
| 6667 | 9523 | "%s found where operator expected". Often the missing operator is a comma. |
| 6668 | 9524 | |
| 6669 | 9525 | =end original |
| 6670 | 9526 | |
| 6671 | 9527 | (S syntax) これは "%s found where operator expected" メッセージと共に |
| 6672 | 9528 | 表示される教育的な推測です。 |
| 6673 | 9529 | しばしば不足している演算子はカンマです。 |
| 6674 | 9530 | |
| 6675 | =item Missing ri | |
| 9531 | =item Missing or undefined argument to %s | |
| 6676 | 9532 | |
| 6677 | 9533 | =begin original |
| 6678 | 9534 | |
| 9535 | (F) You tried to call C<require> or C<do> with no argument or with an | |
| 9536 | undefined value as an argument. Require expects either a package name or | |
| 9537 | a file-specification as an argument; do expects a filename. See | |
| 9538 | L<perlfunc/require EXPR> and L<perlfunc/do EXPR>. | |
| 9539 | ||
| 9540 | =end original | |
| 9541 | ||
| 9542 | (F) 引数なし、または未定義値を引数として C<require> や C<do> を | |
| 9543 | 呼び出そうとしました。 | |
| 9544 | require はパッケージ名またはファイル指定を引数として想定します; | |
| 9545 | do はファイル名を想定します。 | |
| 9546 | L<perlfunc/require EXPR> と L<perlfunc/do EXPR> を参照してください。 | |
| 9547 | ||
| 9548 | =item Missing or undefined argument to %s via %{^HOOK}{require__before} | |
| 9549 | ||
| 9550 | =begin original | |
| 9551 | ||
| 9552 | (F) A C<%{^HOOK}{require__before}> hook rewrote the name of the file being | |
| 9553 | compiled with C<require> or C<do> with an empty string an undefined value | |
| 9554 | which is forbidden. See L<perlvar/%{^HOOK}> and L<perlfunc/require EXPR>. | |
| 9555 | ||
| 9556 | =end original | |
| 9557 | ||
| 9558 | (F) C<%{^HOOK}{require__before}> フックが、 | |
| 9559 | 空文字列または未定義値で C<require> または C<do> でコンパイルされた | |
| 9560 | ファイル名を書き換えました; | |
| 9561 | これは禁止されています。 | |
| 9562 | L<perlvar/%{^HOOK}> と L<perlfunc/require EXPR> を参照してください。 | |
| 9563 | ||
| 9564 | =item Missing right brace on \%c{} in regex; marked by S<<-- HERE> in m/%s/ | |
| 9565 | ||
| 9566 | =begin original | |
| 9567 | ||
| 6679 | 9568 | (F) Missing right brace in C<\x{...}>, C<\p{...}>, C<\P{...}>, or C<\N{...}>. |
| 6680 | 9569 | |
| 6681 | 9570 | =end original |
| 6682 | 9571 | |
| 6683 | 9572 | (F) C<\x{...}>, C<\p{...}>, C<\P{...}>, C<\N{...}> の右側のかっこが |
| 6684 | 9573 | 抜けています。 |
| 6685 | 9574 | |
| 9575 | =item Missing right brace on \N{} | |
| 9576 | ||
| 6686 | 9577 | =item Missing right brace on \N{} or unescaped left brace after \N |
| 6687 | 9578 | |
| 6688 | 9579 | =begin original |
| 6689 | 9580 | |
| 6690 | 9581 | (F) C<\N> has two meanings. |
| 6691 | 9582 | |
| 6692 | 9583 | =end original |
| 6693 | 9584 | |
| 6694 | 9585 | (F) C<\N> には二つの意味があります。 |
| 6695 | 9586 | |
| 6696 | 9587 | =begin original |
| 6697 | 9588 | |
| 6698 | 9589 | The traditional one has it followed by a name enclosed in braces, |
| 6699 | 9590 | meaning the character (or sequence of characters) given by that |
| 6700 | 9591 | name. Thus C<\N{ASTERISK}> is another way of writing C<*>, valid in both |
| 6701 | 9592 | double-quoted strings and regular expression patterns. In patterns, |
| 6702 | 9593 | it doesn't have the meaning an unescaped C<*> does. |
| 6703 | 9594 | |
| 6704 | 9595 | =end original |
| 6705 | 9596 | |
| 6706 | 9597 | 伝統的なものは中かっこで囲まれた名前が引き続き、その名前を持つ文字 |
| 6707 | 9598 | (または文字並び)を意味します。 |
| 6708 | 9599 | 従って C<\N{ASTERISK}> は C<*> を書くためのもう一つの方法であり、 |
| 6709 | 9600 | ダブルクォート文字列と正規表現パターンの両方で妥当です。 |
| 6710 | 9601 | パターンでは、これはエスケープされない C<*> の持つ意味はありません。 |
| 6711 | 9602 | |
| 6712 | 9603 | =begin original |
| 6713 | 9604 | |
| 6714 | 9605 | Starting in Perl 5.12.0, C<\N> also can have an additional meaning (only) |
| 6715 | 9606 | in patterns, namely to match a non-newline character. (This is short |
| 6716 | 9607 | for C<[^\n]>, and like C<.> but is not affected by the C</s> regex modifier.) |
| 6717 | 9608 | |
| 6718 | 9609 | =end original |
| 6719 | 9610 | |
| 6720 | 9611 | Perl 5.12.0 から、C<\N> はパターンでの中(のみ)では追加の意味を持ちます; |
| 6721 | 9612 | 非改行文字にマッチングします。 |
| 6722 | 9613 | (これは C<[^\n]> の短縮形で、C<.> と似ていますが C</s> 正規表現修飾子によって |
| 6723 | 9614 | 影響を受けません。) |
| 6724 | 9615 | |
| 6725 | 9616 | =begin original |
| 6726 | 9617 | |
| 6727 | 9618 | This can lead to some ambiguities. When C<\N> is not followed immediately |
| 6728 | 9619 | by a left brace, Perl assumes the C<[^\n]> meaning. Also, if the braces |
| 6729 | 9620 | form a valid quantifier such as C<\N{3}> or C<\N{5,}>, Perl assumes that this |
| 6730 | 9621 | means to match the given quantity of non-newlines (in these examples, |
| 6731 | 9622 | 3; and 5 or more, respectively). In all other case, where there is a |
| 6732 | 9623 | C<\N{> and a matching C<}>, Perl assumes that a character name is desired. |
| 6733 | 9624 | |
| 6734 | 9625 | =end original |
| 6735 | 9626 | |
| 6736 | 9627 | これによりいくつかの曖昧さを引き起こします。 |
| 6737 | 9628 | C<\N> の直後に開き中かっこがなければ、Perl は C<[^\n]> の意味を仮定します。 |
| 6738 | 9629 | また、中かっこが C<\N{3}> や C<\N{5,}> のような妥当な量指定子の形に |
| 6739 | 9630 | なっているなら、Perl はこれを与えられた量の非改行 (この例では、それぞれ 3 と |
| 6740 | 9631 | 5 以上) にマッチングするという意味を仮定します。 |
| 6741 | 9632 | それ以外の場合、C<\N{> と対応する C<}> があれば、Perl は文字名が |
| 6742 | 9633 | 求められていると仮定します。 |
| 6743 | 9634 | |
| 6744 | 9635 | =begin original |
| 6745 | 9636 | |
| 6746 | 9637 | However, if there is no matching C<}>, Perl doesn't know if it was |
| 6747 | 9638 | mistakenly omitted, or if C<[^\n]{> was desired, and raises this error. |
| 6748 | 9639 | If you meant the former, add the right brace; if you meant the latter, |
| 6749 | 9640 | escape the brace with a backslash, like so: C<\N\{> |
| 6750 | 9641 | |
| 6751 | 9642 | =end original |
| 6752 | 9643 | |
| 6753 | 9644 | しかし、対応する C<}> がなければ、それが間違って省略されたのか、 |
| 6754 | 9645 | C<[^\n]{> が求められているものなのかが分からず、エラーを起こします。 |
| 6755 | 9646 | 前者を意味しているなら、閉じ中かっこを追加してください; 後者を |
| 6756 | 9647 | 意味しているなら、C<\N\{> のように中かっこを逆スラッシュで |
| 6757 | 9648 | エスケープしてください。 |
| 6758 | 9649 | |
| 6759 | 9650 | =item Missing right curly or square bracket |
| 6760 | 9651 | |
| 6761 | 9652 | =begin original |
| 6762 | 9653 | |
| 6763 | 9654 | (F) The lexer counted more opening curly or square brackets than closing |
| 6764 | 9655 | ones. As a general rule, you'll find it's missing near the place you |
| 6765 | 9656 | were last editing. |
| 6766 | 9657 | |
| 6767 | 9658 | =end original |
| 6768 | 9659 | |
| 6769 | 9660 | (F) 字句解析部が、閉じ中かっこ(または大かっこ)よりも |
| 6770 | 9661 | 開き中かっこ(大かっこ)を多く発見しました。 |
| 6771 | 9662 | 一般的な規則として、最後に修正した場所の近くに間違いがあるといえます。 |
| 6772 | 9663 | |
| 6773 | 9664 | =item (Missing semicolon on previous line?) |
| 6774 | 9665 | |
| 6775 | 9666 | =begin original |
| 6776 | 9667 | |
| 6777 | 9668 | (S syntax) This is an educated guess made in conjunction with the message |
| 6778 | 9669 | "%s found where operator expected". Don't automatically put a semicolon on |
| 6779 | 9670 | the previous line just because you saw this message. |
| 6780 | 9671 | |
| 6781 | 9672 | =end original |
| 6782 | 9673 | |
| 6783 | 9674 | (S syntax) これは "%s found where operator expected" メッセージと共に |
| 6784 | 9675 | 表示される教育的な推測です。 |
| 6785 | 9676 | このメッセージが出たからといって、機械的に前の行にセミコロンを付けることは |
| 6786 | 9677 | しないでください。 |
| 6787 | 9678 | |
| 6788 | 9679 | =item Modification of a read-only value attempted |
| 6789 | 9680 | |
| 6790 | 9681 | =begin original |
| 6791 | 9682 | |
| 6792 | 9683 | (F) You tried, directly or indirectly, to change the value of a |
| 6793 | 9684 | constant. You didn't, of course, try "2 = 1", because the compiler |
| 6794 | 9685 | catches that. But an easy way to do the same thing is: |
| 6795 | 9686 | |
| 6796 | 9687 | =end original |
| 6797 | 9688 | |
| 6798 | 9689 | (F) 直接、間接に関らず、定数値を変更しようとしました。 |
| 6799 | 9690 | もちろん、コンパイラが発見できる、"2 = 1" などといったことを |
| 6800 | 9691 | したわけではありません。 |
| 6801 | 9692 | しかし、同じことは以下のようにしても起こります。 |
| 6802 | 9693 | |
| 6803 | 9694 | sub mod { $_[0] = 1 } |
| 6804 | 9695 | mod(2); |
| 6805 | 9696 | |
| 6806 | 9697 | =begin original |
| 6807 | 9698 | |
| 6808 | 9699 | Another way is to assign to a substr() that's off the end of the string. |
| 6809 | 9700 | |
| 6810 | 9701 | =end original |
| 6811 | 9702 | |
| 6812 | 9703 | substr() で、文字列の終わりよりも後ろに代入を行なうことでも起こります。 |
| 6813 | 9704 | |
| 6814 | 9705 | =begin original |
| 6815 | 9706 | |
| 6816 | 9707 | Yet another way is to assign to a C<foreach> loop I<VAR> when I<VAR> |
| 6817 | 9708 | is aliased to a constant in the look I<LIST>: |
| 6818 | 9709 | |
| 6819 | 9710 | =end original |
| 6820 | 9711 | |
| 6821 | 9712 | もう一つの可能性は、C<foreach> ループにおいて、I<VAR> が I<LIST> の中の |
| 6822 | 9713 | 定数のエイリアスであるときに、I<VAR> に代入した時です: |
| 6823 | 9714 | |
| 6824 | 9715 | $x = 1; |
| 6825 | 9716 | foreach my $n ($x, 2) { |
| 6826 | 9717 | $n *= 2; # modifies the $x, but fails on attempt to |
| 6827 | 9718 | } # modify the 2 |
| 6828 | 9719 | |
| 9720 | =begin original | |
| 9721 | ||
| 9722 | L<PerlIO::scalar> will also produce this message as a warning if you | |
| 9723 | attempt to open a read-only scalar for writing. | |
| 9724 | ||
| 9725 | =end original | |
| 9726 | ||
| 9727 | L<PerlIO::scalar> も、読み込み専用スカラを書き込みように開こうとしたときに、 | |
| 9728 | このメッセージを警告として出力します。 | |
| 9729 | ||
| 6829 | 9730 | =item Modification of non-creatable array value attempted, %s |
| 6830 | 9731 | |
| 6831 | 9732 | =begin original |
| 6832 | 9733 | |
| 6833 | 9734 | (F) You tried to make an array value spring into existence, and the |
| 6834 | 9735 | subscript was probably negative, even counting from end of the array |
| 6835 | 9736 | backwards. |
| 6836 | 9737 | |
| 6837 | 9738 | =end original |
| 6838 | 9739 | |
| 6839 | 9740 | (F) 配列値を存在するようにしようとしました; おそらく、添字が負数で、配列の |
| 6840 | 9741 | 終わりから逆に数えたとしても、おかしな位置を指しているようです。 |
| 6841 | 9742 | |
| 6842 | 9743 | =item Modification of non-creatable hash value attempted, %s |
| 6843 | 9744 | |
| 6844 | 9745 | =begin original |
| 6845 | 9746 | |
| 6846 | 9747 | (P) You tried to make a hash value spring into existence, and it |
| 6847 | 9748 | couldn't be created for some peculiar reason. |
| 6848 | 9749 | |
| 6849 | 9750 | =end original |
| 6850 | 9751 | |
| 6851 | 9752 | (F) ハッシュ値を存在するようにしようとしましたが、何か特別な理由で、 |
| 6852 | 9753 | できませんでした。 |
| 6853 | 9754 | |
| 6854 | 9755 | =item Module name must be constant |
| 6855 | 9756 | |
| 6856 | 9757 | =begin original |
| 6857 | 9758 | |
| 6858 | 9759 | (F) Only a bare module name is allowed as the first argument to a "use". |
| 6859 | 9760 | |
| 6860 | 9761 | =end original |
| 6861 | 9762 | |
| 6862 | 9763 | (F) "use" の最初の引数としてモジュール名を示すのに許されているのは、 |
| 6863 | 9764 | 裸の単語だけです。 |
| 6864 | 9765 | |
| 6865 | 9766 | =item Module name required with -%c option |
| 6866 | 9767 | |
| 6867 | 9768 | =begin original |
| 6868 | 9769 | |
| 6869 | 9770 | (F) The C<-M> or C<-m> options say that Perl should load some module, but |
| 6870 | you omitted the name of the module. Consult | |
| 9771 | you omitted the name of the module. Consult | |
| 6871 | about C<-M> and C<-m>. | |
| 9772 | L<perlrun|perlrun/-m[-]module> for full details about C<-M> and C<-m>. | |
| 6872 | 9773 | |
| 6873 | 9774 | =end original |
| 6874 | 9775 | |
| 6875 | 9776 | C<-M> と C<-m> のオプションは Perl にモジュールを読み込ませることを |
| 6876 | 9777 | 指示しますが、モジュール名がありませんでした。 |
| 6877 | C<-M> と C<-m> に関する完全な詳細については | |
| 9778 | C<-M> と C<-m> に関する完全な詳細については | |
| 9779 | L<perlrun|perlrun/-m[-]module> を参照してください。 | |
| 6878 | 9780 | |
| 6879 | 9781 | =item More than one argument to '%s' open |
| 6880 | 9782 | |
| 6881 | 9783 | =begin original |
| 6882 | 9784 | |
| 6883 | 9785 | (F) The C<open> function has been asked to open multiple files. This |
| 6884 | 9786 | can happen if you are trying to open a pipe to a command that takes a |
| 6885 | 9787 | list of arguments, but have forgotten to specify a piped open mode. |
| 6886 | 9788 | See L<perlfunc/open> for details. |
| 6887 | 9789 | |
| 6888 | 9790 | =end original |
| 6889 | 9791 | |
| 6890 | 9792 | (F) C<open> 関数に、複数のファイルを開くように指定されました。 |
| 6891 | 9793 | これは引数のリストを取るコマンドへのパイプを開こうとしたときに、パイプ |
| 6892 | 9794 | オープンモードを指定するのを忘れた時に起きます。 |
| 6893 | 9795 | 詳細は L<perlfunc/open> を参照してください。 |
| 6894 | 9796 | |
| 9797 | =item mprotect for COW string %p %u failed with %d | |
| 9798 | ||
| 9799 | =begin original | |
| 9800 | ||
| 9801 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_COW (see | |
| 9802 | L<perlguts/"Copy on Write">), but a shared string buffer | |
| 9803 | could not be made read-only. | |
| 9804 | ||
| 9805 | =end original | |
| 9806 | ||
| 9807 | (S) perl を B<-D>PERL_DEBUG_READONLY_COW (L<perlguts/"Copy on Write"> 参照) で | |
| 9808 | コンパイルしましたが、共有文字列バッファを読み込み専用にできませんでした。 | |
| 9809 | ||
| 9810 | =item mprotect for %p %u failed with %d | |
| 9811 | ||
| 9812 | =begin original | |
| 9813 | ||
| 9814 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_OPS (see L<perlhacktips>), | |
| 9815 | but an op tree could not be made read-only. | |
| 9816 | ||
| 9817 | =end original | |
| 9818 | ||
| 9819 | (S) perl が B<-D>PERL_DEBUG_READONLY_OPS (L<perlhacktips> 参照) で | |
| 9820 | コンパイルされましたが、op 木を読み込み専用にできませんでした。 | |
| 9821 | ||
| 9822 | =item mprotect RW for COW string %p %u failed with %d | |
| 9823 | ||
| 9824 | =begin original | |
| 9825 | ||
| 9826 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_COW (see | |
| 9827 | L<perlguts/"Copy on Write">), but a read-only shared string | |
| 9828 | buffer could not be made mutable. | |
| 9829 | ||
| 9830 | =end original | |
| 9831 | ||
| 9832 | (S) perl を B<-D>PERL_DEBUG_READONLY_COW (L<perlguts/"Copy on Write"> 参照) で | |
| 9833 | コンパイルしましたが、読み込み専用共有文字列バッファを変更可能に | |
| 9834 | できませんでした。 | |
| 9835 | ||
| 9836 | =item mprotect RW for %p %u failed with %d | |
| 9837 | ||
| 9838 | =begin original | |
| 9839 | ||
| 9840 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_OPS (see | |
| 9841 | L<perlhacktips>), but a read-only op tree could not be made | |
| 9842 | mutable before freeing the ops. | |
| 9843 | ||
| 9844 | =end original | |
| 9845 | ||
| 9846 | (S) perl が B<-D>PERL_DEBUG_READONLY_OPS (L<perlhacktips> 参照) で | |
| 9847 | コンパイルされましたが、読み込み専用の op 木を、op を解放する前に | |
| 9848 | ミュータブルにできませんでした。 | |
| 9849 | ||
| 6895 | 9850 | =item msg%s not implemented |
| 6896 | 9851 | |
| 6897 | 9852 | =begin original |
| 6898 | 9853 | |
| 6899 | 9854 | (F) You don't have System V message IPC on your system. |
| 6900 | 9855 | |
| 6901 | 9856 | =end original |
| 6902 | 9857 | |
| 6903 | 9858 | (F) このシステムでは、System V メッセージ IPC は使えません。 |
| 6904 | 9859 | |
| 9860 | =item Multidimensional hash lookup is disabled | |
| 9861 | ||
| 9862 | =begin original | |
| 9863 | ||
| 9864 | (F) You supplied a list of subscripts to a hash lookup under | |
| 9865 | C<< no feature "multidimensional"; >>, eg: | |
| 9866 | ||
| 9867 | =end original | |
| 9868 | ||
| 9869 | (F) You supplied a list of subscripts to a hash lookup under | |
| 9870 | C<< no feature "multidimensional"; >> の下でハッシュ検索のために | |
| 9871 | 添え字のリストを指定しました; 例えば: | |
| 9872 | ||
| 9873 | $z = $foo{$x, $y}; | |
| 9874 | ||
| 9875 | =begin original | |
| 9876 | ||
| 9877 | which by default acts like: | |
| 9878 | ||
| 9879 | =end original | |
| 9880 | ||
| 9881 | これはデフォルトでは次のように振る舞います: | |
| 9882 | ||
| 9883 | $z = $foo{join($;, $x, $y)}; | |
| 9884 | ||
| 6905 | 9885 | =item Multidimensional syntax %s not supported |
| 6906 | 9886 | |
| 6907 | 9887 | =begin original |
| 6908 | 9888 | |
| 6909 | 9889 | (W syntax) Multidimensional arrays aren't written like C<$foo[1,2,3]>. |
| 6910 | 9890 | They're written like C<$foo[1][2][3]>, as in C. |
| 6911 | 9891 | |
| 6912 | 9892 | =end original |
| 6913 | 9893 | |
| 6914 | 9894 | (W syntax) 多次元配列は、C<$foo[1,2,3]> のようには書けません。 |
| 6915 | 9895 | これは、C のように C<$foo[1][2][3]> のように書きます。 |
| 6916 | 9896 | |
| 9897 | =item Multiple slurpy parameters not allowed | |
| 9898 | ||
| 9899 | =begin original | |
| 9900 | ||
| 9901 | (F) In subroutine signatures, a slurpy parameter (C<@> or C<%>) must be | |
| 9902 | the last parameter, and there must not be more than one of them; for | |
| 9903 | example: | |
| 9904 | ||
| 9905 | =end original | |
| 9906 | ||
| 9907 | (F) サブルーチンシグネチャで、吸い込みパラメータ (C<@> または C<%>) は | |
| 9908 | 最後のパラメータでなければならず、複数あってはなりません; 例えば: | |
| 9909 | ||
| 9910 | sub foo ($x, @y) {} # legal | |
| 9911 | sub foo ($x, @y, %) {} # invalid | |
| 9912 | ||
| 6917 | 9913 | =item '/' must follow a numeric type in unpack |
| 6918 | 9914 | |
| 6919 | 9915 | =begin original |
| 6920 | 9916 | |
| 6921 | 9917 | (F) You had an unpack template that contained a '/', but this did not |
| 6922 | 9918 | follow some unpack specification producing a numeric value. |
| 6923 | 9919 | See L<perlfunc/pack>. |
| 6924 | 9920 | |
| 6925 | 9921 | =end original |
| 6926 | 9922 | |
| 6927 | 9923 | (F) '/' を含む unpack テンプレートがありますが、これがなんらかの |
| 6928 | 9924 | 数値を生成する unpack 指定に引き続いていません。 |
| 6929 | 9925 | L<perlfunc/pack> を参照してください。 |
| 6930 | 9926 | |
| 9927 | =item %s must not be a named sequence in transliteration operator | |
| 9928 | ||
| 9929 | =begin original | |
| 9930 | ||
| 9931 | (F) Transliteration (C<tr///> and C<y///>) transliterates individual | |
| 9932 | characters. But a named sequence by definition is more than an | |
| 9933 | individual character, and hence doing this operation on it doesn't make | |
| 9934 | sense. | |
| 9935 | ||
| 9936 | =end original | |
| 9937 | ||
| 9938 | (F) 文字変換 (C<tr///> と C<y///>) は個々の文字を変換します。 | |
| 9939 | しかし、定義による名前付き並びは個々の文字以上のものがあるので、 | |
| 9940 | それに対してこの操作をするのは意味がありません。 | |
| 9941 | ||
| 6931 | 9942 | =item "my sub" not yet implemented |
| 6932 | 9943 | |
| 6933 | 9944 | =begin original |
| 6934 | 9945 | |
| 6935 | 9946 | (F) Lexically scoped subroutines are not yet implemented. Don't try |
| 6936 | 9947 | that yet. |
| 6937 | 9948 | |
| 6938 | 9949 | =end original |
| 6939 | 9950 | |
| 6940 | 9951 | (F) レキシカルスコープのサブルーチンはまだ実装されていません。 |
| 6941 | 9952 | まだ試さないでください。 |
| 6942 | 9953 | |
| 6943 | =item "my" | |
| 9954 | =item "my" subroutine %s can't be in a package | |
| 6944 | 9955 | |
| 6945 | 9956 | =begin original |
| 6946 | 9957 | |
| 6947 | (F) Lexically scoped | |
| 9958 | (F) Lexically scoped subroutines aren't in a package, so it doesn't make | |
| 6948 | sense to try to declare one with a package qualifier on the front. | |
| 9959 | sense to try to declare one with a package qualifier on the front. | |
| 6949 | local() if you want to localize a package variable. | |
| 6950 | 9960 | |
| 6951 | 9961 | =end original |
| 6952 | 9962 | |
| 6953 | (F) | |
| 9963 | (F) レキシカルスコープサブルーチンはパッケージ内にないので、 | |
| 6954 | 9964 | 頭にパッケージ名を付けて宣言することは、無意味です。 |
| 6955 | パッケージ変数をローカル化したい場合には、local() を使ってください。 | |
| 6956 | 9965 | |
| 6957 | =item | |
| 9966 | =item "my %s" used in sort comparison | |
| 6958 | 9967 | |
| 6959 | 9968 | =begin original |
| 6960 | 9969 | |
| 6961 | (W | |
| 9970 | (W syntax) The package variables $a and $b are used for sort comparisons. | |
| 6962 | ||
| 9971 | You used $a or $b in as an operand to the C<< <=> >> or C<cmp> operator inside a | |
| 6963 | ||
| 9972 | sort comparison block, and the variable had earlier been declared as a | |
| 6964 | ||
| 9973 | lexical variable. Either qualify the sort variable with the package | |
| 9974 | name, or rename the lexical variable. | |
| 6965 | 9975 | |
| 6966 | 9976 | =end original |
| 6967 | 9977 | |
| 6968 | (W | |
| 9978 | (W syntax) パッケージ変数 $a と $b はソート比較のために使われます。 | |
| 6969 | ||
| 9979 | $a または $b をソート比較ブロックの中の C<< <=> >> または C<cmp> 演算子の | |
| 6970 | この | |
| 9980 | オペランドとして使いましたが、この変数はその前にレキシカル変数として | |
| 6971 | ||
| 9981 | 宣言されています。 | |
| 9982 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を変えてください。 | |
| 6972 | 9983 | |
| 6973 | = | |
| 9984 | =item "my" variable %s can't be in a package | |
| 6974 | 9985 | |
| 6975 | NOTE: This warning detects symbols that have been used only once so $c, @c, | |
| 6976 | %c, *c, &c, sub c{}, c(), and c (the filehandle or format) are considered | |
| 6977 | the same; if a program uses $c only once but also uses any of the others it | |
| 6978 | will not trigger this warning. | |
| 6979 | ||
| 6980 | =end original | |
| 6981 | ||
| 6982 | 注意: この警告はシンボルが一度だけしか使われていないことを検出するので、 | |
| 6983 | $c, @c, %c, *c, &c, sub c{}, c(), c(ファイルハンドルかフォーマット)は | |
| 6984 | 全て同じ物として扱われます; もしプログラムで $c を一度しか使っていなくても | |
| 6985 | その他のものが使われている場合、警告は発生しません。 | |
| 6986 | ||
| 6987 | =item \N in a character class must be a named character: \N{...} | |
| 6988 | ||
| 6989 | 9986 | =begin original |
| 6990 | 9987 | |
| 6991 | (F) | |
| 9988 | (F) Lexically scoped variables aren't in a package, so it doesn't make | |
| 6992 | ||
| 9989 | sense to try to declare one with a package qualifier on the front. Use | |
| 6993 | ||
| 9990 | local() if you want to localize a package variable. | |
| 6994 | what you want. | |
| 6995 | 9991 | |
| 6996 | 9992 | =end original |
| 6997 | 9993 | |
| 6998 | (F) | |
| 9994 | (F) レキシカルスコープサブルーチンはパッケージ内にないので、 | |
| 6999 | ||
| 9995 | 頭にパッケージ名を付けて宣言することは、無意味です。 | |
| 7000 | ||
| 9996 | パッケージ変数をローカル化したい場合には、local() を使ってください。 | |
| 7001 | ないでしょう。 | |
| 7002 | 9997 | |
| 7003 | =item | |
| 9998 | =item Name "%s::%s" used only once: possible typo | |
| 7004 | 9999 | |
| 7005 | 10000 | =begin original |
| 7006 | 10001 | |
| 7007 | ( | |
| 10002 | (W once) Typographical errors often show up as unique variable | |
| 7008 | ||
| 10003 | names. If you had a good reason for having a unique name, then | |
| 7009 | ||
| 10004 | just mention it again somehow to suppress the message. The C<our> | |
| 7010 | ||
| 10005 | declaration is also provided for this purpose. | |
| 7011 | 10006 | |
| 7012 | 10007 | =end original |
| 7013 | 10008 | |
| 7014 | ( | |
| 10009 | (W once) しばしばタイプミスによってユニークな変数名として表示されます。 | |
| 7015 | ||
| 10010 | ユニークな名前をを使う理由があるのなら、もう一度どこかで参照することで | |
| 7016 | こ | |
| 10011 | このメッセージを抑制できます。 | |
| 7017 | ||
| 10012 | C<our> 宣言もこの目的のために提供されています。 | |
| 7018 | 起こります: | |
| 7019 | 10013 | |
| 7020 | $re = '\N{SPACE}'; # Wrong! | |
| 7021 | $re = "\\N{SPACE}"; # Wrong! | |
| 7022 | /$re/; | |
| 7023 | ||
| 7024 | 10014 | =begin original |
| 7025 | 10015 | |
| 7026 | ||
| 10016 | NOTE: This warning detects package symbols that have been used | |
| 10017 | only once. This means lexical variables will never trigger this | |
| 10018 | warning. It also means that all of the package variables $c, @c, | |
| 10019 | %c, as well as *c, &c, sub c{}, c(), and c (the filehandle or | |
| 10020 | format) are considered the same; if a program uses $c only once | |
| 10021 | but also uses any of the others it will not trigger this warning. | |
| 10022 | Symbols beginning with an underscore and symbols using special | |
| 10023 | identifiers (q.v. L<perldata>) are exempt from this warning. | |
| 7027 | 10024 | |
| 7028 | 10025 | =end original |
| 7029 | 10026 | |
| 7030 | ||
| 10027 | 注意: この警告は一度しか使われていないパッケージシンボルを検出します。 | |
| 10028 | つまり、レキシカル変数はこの警告を引き起こさないと言うことです。 | |
| 10029 | また、パッケージ変数 $c, @c, %c および | |
| 10030 | *c, &c, sub c{}, c(), c (ファイルハンドルまたはフォーマット) は | |
| 10031 | 同じであると考えます; プログラムが $c を一度だけ使っている蹴れどっも | |
| 10032 | その他のものも使っている場合、この警告は引き起こされません。 | |
| 10033 | 下線で始まるシンボルと特殊識別子 | |
| 10034 | (L<perldata> 参照) を使ったシンボルはこの警告を免れます。 | |
| 7031 | 10035 | |
| 7032 | | |
| 10036 | =item Need exactly 3 octal digits in regex; marked by S<<-- HERE> in m/%s/ | |
| 7033 | /$re/; | |
| 7034 | 10037 | |
| 7035 | 10038 | =begin original |
| 7036 | 10039 | |
| 7037 | ||
| 10040 | (F) Within S<C<(?[ ])>>, all constants interpreted as octal need to be | |
| 7038 | co | |
| 10041 | exactly 3 digits long. This helps catch some ambiguities. If your | |
| 10042 | constant is too short, add leading zeros, like | |
| 7039 | 10043 | |
| 7040 | 10044 | =end original |
| 7041 | 10045 | |
| 7042 | ||
| 10046 | (F) S<C<(?[ ])>> の中で、8 進数として解釈される全ての定数は正確に 3 桁である | |
| 10047 | 必要があります。 | |
| 10048 | これはある種の曖昧さを捕まえる助けになります。 | |
| 10049 | 定数が短い場合は、以下のように先頭に 0 を追加してください | |
| 7043 | 10050 | |
| 7044 | | |
| 10051 | (?[ [ \078 ] ]) # Syntax error! | |
| 7045 | | |
| 10052 | (?[ [ \0078 ] ]) # Works | |
| 10053 | (?[ [ \007 8 ] ]) # Clearer | |
| 7046 | 10054 | |
| 7047 | 10055 | =begin original |
| 7048 | 10056 | |
| 7049 | ||
| 10057 | The maximum number this construct can express is C<\777>. If you | |
| 7050 | doe | |
| 10058 | need a larger one, you need to use L<\o{}|perlrebackslash/Octal escapes> instead. If you meant | |
| 10059 | two separate things, you need to separate them: | |
| 7051 | 10060 | |
| 7052 | 10061 | =end original |
| 7053 | 10062 | |
| 7054 | この | |
| 10063 | この構文が表現できる最大数は C<\777> です。 | |
| 7055 | 代わりに | |
| 10064 | より大きな値が必要なときは、代わりに L<\o{}|perlrebackslash/Octal escapes> を | |
| 10065 | 使う必要があります。 | |
| 10066 | 二つの別々のものを意味しているなら、分ける必要があります: | |
| 7056 | 10067 | |
| 7057 | ||
| 10068 | (?[ [ \7776 ] ]) # Syntax error! | |
| 10069 | (?[ [ \o{7776} ] ]) # One meaning | |
| 10070 | (?[ [ \777 6 ] ]) # Another meaning | |
| 10071 | (?[ [ \777 \006 ] ]) # Still another | |
| 7058 | 10072 | |
| 7059 | Finally, the message also can happen under the C</x> regex modifier when the | |
| 7060 | C<\N> is separated by spaces from the C<{>, in which case, remove the spaces. | |
| 7061 | ||
| 7062 | =end original | |
| 7063 | ||
| 7064 | 最後に、このメッセージは C</x> 正規表現修飾子 が有効の時に C<\N> が C<{> と | |
| 7065 | 空白で区切られているときにもでます; この場合、空白を削除します。 | |
| 7066 | ||
| 7067 | /\N {SPACE}/x; # Wrong! | |
| 7068 | /\N{SPACE}/x; # ok | |
| 7069 | ||
| 7070 | 10073 | =item Negative '/' count in unpack |
| 7071 | 10074 | |
| 7072 | 10075 | =begin original |
| 7073 | 10076 | |
| 7074 | 10077 | (F) The length count obtained from a length/code unpack operation was |
| 7075 | 10078 | negative. See L<perlfunc/pack>. |
| 7076 | 10079 | |
| 7077 | 10080 | =end original |
| 7078 | 10081 | |
| 7079 | 10082 | (F) 長さ/コード unpack 操作で得られた長さカウントが負数でした。 |
| 7080 | 10083 | L<perlfunc/pack> を参照してください。 |
| 7081 | 10084 | |
| 7082 | 10085 | =item Negative length |
| 7083 | 10086 | |
| 7084 | 10087 | =begin original |
| 7085 | 10088 | |
| 7086 | 10089 | (F) You tried to do a read/write/send/recv operation with a buffer |
| 7087 | 10090 | length that is less than 0. This is difficult to imagine. |
| 7088 | 10091 | |
| 7089 | 10092 | =end original |
| 7090 | 10093 | |
| 7091 | 10094 | (F) ゼロより短い長さのバッファで、読み込み、書き込み、送信、受信を |
| 7092 | 10095 | 行なおうとしました。 |
| 7093 | 10096 | これは想像しにくいことです。 |
| 7094 | 10097 | |
| 7095 | 10098 | =item Negative offset to vec in lvalue context |
| 7096 | 10099 | |
| 7097 | 10100 | =begin original |
| 7098 | 10101 | |
| 7099 | 10102 | (F) When C<vec> is called in an lvalue context, the second argument must be |
| 7100 | 10103 | greater than or equal to zero. |
| 7101 | 10104 | |
| 7102 | 10105 | =end original |
| 7103 | 10106 | |
| 7104 | 10107 | (F) 左辺値コンテキストで C<vec> が呼び出されたとき、 |
| 7105 | 10108 | 二つ目の引数は 0 以上でなければなりません。 |
| 7106 | 10109 | |
| 7107 | =item Ne | |
| 10110 | =item Negative repeat count does nothing | |
| 7108 | 10111 | |
| 7109 | 10112 | =begin original |
| 7110 | 10113 | |
| 10114 | (W numeric) You tried to execute the | |
| 10115 | L<C<x>|perlop/Multiplicative Operators> repetition operator fewer than 0 | |
| 10116 | times, which doesn't make sense. | |
| 10117 | ||
| 10118 | =end original | |
| 10119 | ||
| 10120 | (W numeric) L<C<x>|perlop/Multiplicative Operators> 繰り返し演算子を | |
| 10121 | 0 より小さい回数実行しようとしました; これは無意味です。 | |
| 10122 | ||
| 10123 | =item Nested quantifiers in regex; marked by S<<-- HERE> in m/%s/ | |
| 10124 | ||
| 10125 | =begin original | |
| 10126 | ||
| 7111 | 10127 | (F) You can't quantify a quantifier without intervening parentheses. |
| 7112 | So things like ** or +* or ?* are illegal. The <-- HERE shows | |
| 10128 | So things like ** or +* or ?* are illegal. The S<<-- HERE> shows | |
| 7113 | regular expression | |
| 10129 | whereabouts in the regular expression the problem was discovered. | |
| 7114 | 10130 | |
| 7115 | 10131 | =end original |
| 7116 | 10132 | |
| 7117 | 10133 | (F) かっこを挟まないで、数量子を数量子で修飾することはできません。 |
| 7118 | 10134 | つまり、** や +* や ?* といったものは、正しくありません。 |
| 7119 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 10135 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 7120 | 10136 | |
| 7121 | 10137 | =begin original |
| 7122 | 10138 | |
| 7123 | 10139 | Note that the minimal matching quantifiers, C<*?>, C<+?>, and |
| 7124 | 10140 | C<??> appear to be nested quantifiers, but aren't. See L<perlre>. |
| 7125 | 10141 | |
| 7126 | 10142 | =end original |
| 7127 | 10143 | |
| 7128 | 10144 | 最短一致数量子の C<*?>、C<+?>、C<??> は、ネストした数量子のように |
| 7129 | 10145 | 見えますが、そうではありません。 |
| 7130 | 10146 | L<perlre> を参照してください。 |
| 7131 | 10147 | |
| 7132 | 10148 | =item %s never introduced |
| 7133 | 10149 | |
| 7134 | 10150 | =begin original |
| 7135 | 10151 | |
| 7136 | 10152 | (S internal) The symbol in question was declared but somehow went out of |
| 7137 | 10153 | scope before it could possibly have been used. |
| 7138 | 10154 | |
| 7139 | 10155 | =end original |
| 7140 | 10156 | |
| 7141 | 10157 | (S internal) 問題のシンボルは、宣言されましたが、使われる前にスコープから |
| 7142 | 10158 | 外れてしまいました。 |
| 7143 | 10159 | |
| 7144 | 10160 | =item next::method/next::can/maybe::next::method cannot find enclosing method |
| 7145 | 10161 | |
| 7146 | 10162 | =begin original |
| 7147 | 10163 | |
| 7148 | 10164 | (F) C<next::method> needs to be called within the context of a |
| 7149 | 10165 | real method in a real package, and it could not find such a context. |
| 7150 | 10166 | See L<mro>. |
| 7151 | 10167 | |
| 7152 | 10168 | =end original |
| 7153 | 10169 | |
| 7154 | 10170 | (F) C<next::method> は実パッケージの実メソッドのコンテキストの中で呼ばれる |
| 7155 | 10171 | 必要がありますが、そのようなコンテキストが見つけられませんでした。 |
| 7156 | 10172 | L<mro> を参照してください。 |
| 7157 | 10173 | |
| 10174 | =item \N in a character class must be a named character: \N{...} in regex; | |
| 10175 | marked by S<<-- HERE> in m/%s/ | |
| 10176 | ||
| 10177 | =begin original | |
| 10178 | ||
| 10179 | (F) The new (as of Perl 5.12) meaning of C<\N> as C<[^\n]> is not valid in a | |
| 10180 | bracketed character class, for the same reason that C<.> in a character | |
| 10181 | class loses its specialness: it matches almost everything, which is | |
| 10182 | probably not what you want. | |
| 10183 | ||
| 10184 | =end original | |
| 10185 | ||
| 10186 | (F) C<[^\n]> という新しい (5.12 からの) C<\N> の意味は大かっこ文字クラスでは | |
| 10187 | 妥当ではありません; 文字クラス内の C<.> がその特殊性を失うのと同じ理由です: | |
| 10188 | これはほとんど何にでもマッチングし、これはおそらくあなたの求めているものでは | |
| 10189 | ないでしょう。 | |
| 10190 | ||
| 10191 | =item \N{} here is restricted to one character in regex; marked by <-- HERE in m/%s/ | |
| 10192 | ||
| 10193 | =begin original | |
| 10194 | ||
| 10195 | (F) Named Unicode character escapes (C<\N{...}>) may return a | |
| 10196 | multi-character sequence. Even though a character class is | |
| 10197 | supposed to match just one character of input, perl will match the | |
| 10198 | whole thing correctly, except under certain conditions. These currently | |
| 10199 | are | |
| 10200 | ||
| 10201 | =end original | |
| 10202 | ||
| 10203 | (F) 名前付き Unicode 文字エスケープ (C<(\N{...})>) は複数文字並びを | |
| 10204 | 返すことがあります。 | |
| 10205 | 文字クラスは入力のただ一つの文字にマッチングすることを想定していますが、 | |
| 10206 | perl は全体を正しくマッチングします; 但しいくつかの場合は例外です。 | |
| 10207 | それは今のところ: | |
| 10208 | ||
| 10209 | =over 4 | |
| 10210 | ||
| 10211 | =item When the class is inverted (C<[^...]>) | |
| 10212 | ||
| 10213 | (クラスが反転された場合 (C<[^...]>)) | |
| 10214 | ||
| 10215 | =begin original | |
| 10216 | ||
| 10217 | The mathematically logical behavior for what matches when inverting | |
| 10218 | is very different from what people expect, so we have decided to | |
| 10219 | forbid it. | |
| 10220 | ||
| 10221 | =end original | |
| 10222 | ||
| 10223 | 反転したときに何にマッチングするかに関する厳密に論理的な振る舞いは | |
| 10224 | 人々が想定するものと大きく異なっているので、これは禁止することにしました。 | |
| 10225 | ||
| 10226 | =item The escape is the beginning or final end point of a range | |
| 10227 | ||
| 10228 | (エスケープが範囲の始点か終点の場合) | |
| 10229 | ||
| 10230 | =begin original | |
| 10231 | ||
| 10232 | Similarly unclear is what should be generated when the | |
| 10233 | C<\N{...}> is used as one of the end points of the range, such as in | |
| 10234 | ||
| 10235 | =end original | |
| 10236 | ||
| 10237 | 同様に不明確なものは、次のように、範囲の端点として C<\N{...}> が | |
| 10238 | 使われたときに何が生成されるべきかということです: | |
| 10239 | ||
| 10240 | [\x{41}-\N{ARABIC SEQUENCE YEH WITH HAMZA ABOVE WITH AE}] | |
| 10241 | ||
| 10242 | =begin original | |
| 10243 | ||
| 10244 | What is meant here is unclear, as the C<\N{...}> escape is a sequence | |
| 10245 | of code points, so this is made an error. | |
| 10246 | ||
| 10247 | =end original | |
| 10248 | ||
| 10249 | ここで意味しているものは不明確です; C<\N{...}> エスケープは | |
| 10250 | 符号位置の並びだからです; 従ってこれはエラーを発生させます。 | |
| 10251 | ||
| 10252 | =item In a regex set | |
| 10253 | ||
| 10254 | (正規表現集合の中の場合) | |
| 10255 | ||
| 10256 | =begin original | |
| 10257 | ||
| 10258 | The syntax S<C<(?[ ])>> in a regular expression yields a list of | |
| 10259 | single code points, none can be a sequence. | |
| 10260 | ||
| 10261 | =end original | |
| 10262 | ||
| 10263 | 正規表現の中の S<C<(?[ ])>> 構文は単一の符号位置のリストになり、 | |
| 10264 | 並びにはなりません。 | |
| 10265 | ||
| 10266 | =back | |
| 10267 | ||
| 7158 | 10268 | =item No %s allowed while running setuid |
| 7159 | 10269 | |
| 7160 | 10270 | =begin original |
| 7161 | 10271 | |
| 7162 | 10272 | (F) Certain operations are deemed to be too insecure for a setuid or |
| 7163 | 10273 | setgid script to even be allowed to attempt. Generally speaking there |
| 7164 | 10274 | will be another way to do what you want that is, if not secure, at least |
| 7165 | 10275 | securable. See L<perlsec>. |
| 7166 | 10276 | |
| 7167 | 10277 | =end original |
| 7168 | 10278 | |
| 7169 | 10279 | (F) ある種の操作は、setuid や setgid スクリプトにとって、 |
| 7170 | 10280 | やってみることはできても、とても安全なものとは考えられないものです。 |
| 7171 | 10281 | 一般に言って、安全ではなくても、安全にしうる、別の方法があるはずです。 |
| 7172 | 10282 | L<perlsec> を参照してください。 |
| 7173 | 10283 | |
| 7174 | 10284 | =item No code specified for -%c |
| 7175 | 10285 | |
| 7176 | 10286 | =begin original |
| 7177 | 10287 | |
| 7178 | 10288 | (F) Perl's B<-e> and B<-E> command-line options require an argument. If |
| 7179 | 10289 | you want to run an empty program, pass the empty string as a separate |
| 7180 | 10290 | argument or run a program consisting of a single 0 or 1: |
| 7181 | 10291 | |
| 7182 | 10292 | =end original |
| 7183 | 10293 | |
| 7184 | 10294 | (F) Perl の B<-e> と B<-E> のコマンドラインオプションは引数が必要です。 |
| 7185 | 10295 | 空のプログラムを実行したい場合は、空文字列を別の引数として渡すか、単一の |
| 7186 | 10296 | 0 または 1 からなるプログラムを実行してください: |
| 7187 | 10297 | |
| 7188 | 10298 | perl -e "" |
| 7189 | 10299 | perl -e0 |
| 7190 | 10300 | perl -e1 |
| 7191 | 10301 | |
| 7192 | 10302 | =item No comma allowed after %s |
| 7193 | 10303 | |
| 7194 | 10304 | =begin original |
| 7195 | 10305 | |
| 7196 | 10306 | (F) A list operator that has a filehandle or "indirect object" is |
| 7197 | 10307 | not allowed to have a comma between that and the following arguments. |
| 7198 | 10308 | Otherwise it'd be just another one of the arguments. |
| 7199 | 10309 | |
| 7200 | 10310 | =end original |
| 7201 | 10311 | |
| 7202 | 10312 | (F) ファイルハンドルや「間接オブジェクト」を伴うリスト演算子では、 |
| 7203 | 10313 | それらとそれ以降の引数の間にコンマを入れることはできません。 |
| 7204 | 10314 | そのようにした場合には、引数の一つとなってしまいます。 |
| 7205 | 10315 | |
| 7206 | 10316 | =begin original |
| 7207 | 10317 | |
| 7208 | 10318 | One possible cause for this is that you expected to have imported |
| 7209 | 10319 | a constant to your name space with B<use> or B<import> while no such |
| 7210 | 10320 | importing took place, it may for example be that your operating |
| 7211 | 10321 | system does not support that particular constant. Hopefully you did |
| 7212 | 10322 | use an explicit import list for the constants you expect to see; |
| 7213 | 10323 | please see L<perlfunc/use> and L<perlfunc/import>. While an |
| 7214 | 10324 | explicit import list would probably have caught this error earlier |
| 7215 | 10325 | it naturally does not remedy the fact that your operating system |
| 7216 | 10326 | still does not support that constant. Maybe you have a typo in |
| 7217 | 10327 | the constants of the symbol import list of B<use> or B<import> or in the |
| 7218 | 10328 | constant name at the line where this error was triggered? |
| 7219 | 10329 | |
| 7220 | 10330 | =end original |
| 7221 | 10331 | |
| 7222 | 10332 | これの原因としてあり得るものの一つは、B<use> や B<import> を使って |
| 7223 | 10333 | 名前空間にインポートしたつもりの定数が実際にはインポートされていなかった |
| 7224 | 10334 | 場合です; |
| 7225 | 10335 | 例えば OS が特定の定数に対応していない場合などです。 |
| 7226 | 10336 | できればインポートしたい定数のリストを明示的に使ってください; |
| 7227 | 10337 | L<perlfunc/use> と L<perlfunc/import> を参照して下さい。 |
| 7228 | 10338 | 明示的なインポートリストでおそらくこのエラーをより早く知ることができますが、 |
| 7229 | 10339 | そもそも OS がその定数に対応していないという問題を解決はしません。 |
| 7230 | 10340 | おそらく B<use> や B<import> のシンボルインポートリストの定数か、 |
| 7231 | 10341 | エラーを引き起こした行の定数名をタイプミスしたのでは? |
| 7232 | 10342 | |
| 7233 | 10343 | =item No command into which to pipe on command line |
| 7234 | 10344 | |
| 7235 | 10345 | =begin original |
| 7236 | 10346 | |
| 7237 | 10347 | (F) An error peculiar to VMS. Perl handles its own command line |
| 7238 | 10348 | redirection, and found a '|' at the end of the command line, so it |
| 7239 | 10349 | doesn't know where you want to pipe the output from this command. |
| 7240 | 10350 | |
| 7241 | 10351 | =end original |
| 7242 | 10352 | |
| 7243 | 10353 | (F) VMS に固有のエラーです。 |
| 7244 | 10354 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
| 7245 | 10355 | コマンドラインの最後にに '|' を発見しましたが、 |
| 7246 | 10356 | このコマンドから出力をどこにパイプしたいのかがわかりませんでした。 |
| 7247 | 10357 | |
| 7248 | 10358 | =item No DB::DB routine defined |
| 7249 | 10359 | |
| 7250 | 10360 | =begin original |
| 7251 | 10361 | |
| 7252 | 10362 | (F) The currently executing code was compiled with the B<-d> switch, but |
| 7253 | 10363 | for some reason the current debugger (e.g. F<perl5db.pl> or a C<Devel::> |
| 7254 | 10364 | module) didn't define a routine to be called at the beginning of each |
| 7255 | 10365 | statement. |
| 7256 | 10366 | |
| 7257 | 10367 | =end original |
| 7258 | 10368 | |
| 7259 | 10369 | (F) 現在実行中のコードは、B<-d> スイッチを付けてコンパイルされましたが、 |
| 7260 | 10370 | 何らかの理由により、現在のデバッガ(F<perl5db.pl> か C<Devel::> モジュール) |
| 7261 | 10371 | が各実行文の頭で呼び出すルーティンを定義していません。 |
| 7262 | 10372 | |
| 7263 | 10373 | =item No dbm on this machine |
| 7264 | 10374 | |
| 7265 | 10375 | =begin original |
| 7266 | 10376 | |
| 7267 | 10377 | (P) This is counted as an internal error, because every machine should |
| 7268 | 10378 | supply dbm nowadays, because Perl comes with SDBM. See L<SDBM_File>. |
| 7269 | 10379 | |
| 7270 | 10380 | =end original |
| 7271 | 10381 | |
| 7272 | 10382 | (P) これは、内部エラーとして扱われます; Perl に SDBM が付いてくるので、 |
| 7273 | 10383 | どのマシンでも dbm が使えるはずだからです。 |
| 7274 | 10384 | L<SDBM_File> を参照してください。 |
| 7275 | 10385 | |
| 7276 | 10386 | =item No DB::sub routine defined |
| 7277 | 10387 | |
| 7278 | 10388 | =begin original |
| 7279 | 10389 | |
| 7280 | 10390 | (F) The currently executing code was compiled with the B<-d> switch, but |
| 7281 | 10391 | for some reason the current debugger (e.g. F<perl5db.pl> or a C<Devel::> |
| 7282 | 10392 | module) didn't define a C<DB::sub> routine to be called at the beginning |
| 7283 | 10393 | of each ordinary subroutine call. |
| 7284 | 10394 | |
| 7285 | 10395 | =end original |
| 7286 | 10396 | |
| 7287 | 10397 | (F) 現在実行中のコードは、B<-d> スイッチを付けてコンパイルされましたが、 |
| 7288 | 10398 | 何らかの理由により、現在のデバッガ(F<perl5db.pl> か C<Devel::> モジュール)が |
| 7289 | 10399 | 各サブルーチン呼び出しの頭で呼び出す C<DB::sub> ルーティンを |
| 7290 | 10400 | 定義していませんでした。 |
| 7291 | 10401 | |
| 10402 | =item No digits found for %s literal | |
| 10403 | ||
| 10404 | =begin original | |
| 10405 | ||
| 10406 | (F) No hexadecimal digits were found following C<0x> or no binary digits | |
| 10407 | were found following C<0b>. | |
| 10408 | ||
| 10409 | =end original | |
| 10410 | ||
| 10411 | (F) C<0x> に 16 進数が引き続かなかったり C<0b> に 2 進数が | |
| 10412 | 引き続かなかったりしました。 | |
| 10413 | ||
| 7292 | 10414 | =item No directory specified for -I |
| 7293 | 10415 | |
| 7294 | 10416 | =begin original |
| 7295 | 10417 | |
| 7296 | 10418 | (F) The B<-I> command-line switch requires a directory name as part of the |
| 7297 | 10419 | I<same> argument. Use B<-Ilib>, for instance. B<-I lib> won't work. |
| 7298 | 10420 | |
| 7299 | 10421 | =end original |
| 7300 | 10422 | |
| 7301 | 10423 | (F) B<-I> コマンドラインオプションは I<同じ> 引数の一部としてディレクトリ名が |
| 7302 | 10424 | 必要です。 |
| 7303 | 10425 | 例えば、B<-Ilib> としてください。 |
| 7304 | 10426 | B<-I lib> は動作しません。 |
| 7305 | 10427 | |
| 7306 | 10428 | =item No error file after 2> or 2>> on command line |
| 7307 | 10429 | |
| 7308 | 10430 | =begin original |
| 7309 | 10431 | |
| 7310 | 10432 | (F) An error peculiar to VMS. Perl handles its own command line |
| 7311 | 10433 | redirection, and found a '2>' or a '2>>' on the command line, but can't |
| 7312 | 10434 | find the name of the file to which to write data destined for stderr. |
| 7313 | 10435 | |
| 7314 | 10436 | =end original |
| 7315 | 10437 | |
| 7316 | 10438 | (F) VMS に固有のエラーです。 |
| 7317 | 10439 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
| 7318 | 10440 | コマンドラインに '2>' や '2>>' を発見しましたが、 |
| 7319 | 10441 | 標準エラーとしてデータを書き込むファイル名が見つかりませんでした。 |
| 7320 | 10442 | |
| 7321 | 10443 | =item No group ending character '%c' found in template |
| 7322 | 10444 | |
| 7323 | 10445 | =begin original |
| 7324 | 10446 | |
| 7325 | 10447 | (F) A pack or unpack template has an opening '(' or '[' without its |
| 7326 | 10448 | matching counterpart. See L<perlfunc/pack>. |
| 7327 | 10449 | |
| 7328 | 10450 | =end original |
| 7329 | 10451 | |
| 7330 | 10452 | (F) pack や unpack のテンプレートに開きかっこの '(' や '[' がありますが、 |
| 7331 | 10453 | 対応する閉じかっこがありません。 |
| 7332 | 10454 | L<perlfunc/pack> を参照してください。 |
| 7333 | 10455 | |
| 7334 | 10456 | =item No input file after < on command line |
| 7335 | 10457 | |
| 7336 | 10458 | =begin original |
| 7337 | 10459 | |
| 7338 | 10460 | (F) An error peculiar to VMS. Perl handles its own command line |
| 7339 | 10461 | redirection, and found a '<' on the command line, but can't find the |
| 7340 | 10462 | name of the file from which to read data for stdin. |
| 7341 | 10463 | |
| 7342 | 10464 | =end original |
| 7343 | 10465 | |
| 7344 | 10466 | (F) VMS に固有のエラーです。 |
| 7345 | 10467 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインに |
| 7346 | 10468 | '<' を発見しましたが、標準入力として読み込むためのファイル名が |
| 7347 | 10469 | 見つかりませんでした。 |
| 7348 | 10470 | |
| 7349 | 10471 | =item No next::method '%s' found for %s |
| 7350 | 10472 | |
| 7351 | 10473 | =begin original |
| 7352 | 10474 | |
| 7353 | 10475 | (F) C<next::method> found no further instances of this method name |
| 7354 | 10476 | in the remaining packages of the MRO of this class. If you don't want |
| 7355 | 10477 | it throwing an exception, use C<maybe::next::method> |
| 7356 | 10478 | or C<next::can>. See L<mro>. |
| 7357 | 10479 | |
| 7358 | 10480 | =end original |
| 7359 | 10481 | |
| 7360 | 10482 | (F) C<next::method> で、このクラスの MRO で残っているパッケージの中で、この |
| 7361 | メソッド名の | |
| 10483 | メソッド名の実体がもうありません。 | |
| 7362 | 10484 | もし例外を投げたくないなら、C<maybe::next::method> か C<next::can> を |
| 7363 | 10485 | 使ってください。 |
| 7364 | 10486 | L<mro> を参照してください。 |
| 7365 | 10487 | |
| 10488 | =item Non-finite repeat count does nothing | |
| 10489 | ||
| 10490 | =begin original | |
| 10491 | ||
| 10492 | (W numeric) You tried to execute the | |
| 10493 | L<C<x>|perlop/Multiplicative Operators> repetition operator C<Inf> (or | |
| 10494 | C<-Inf>) or C<NaN> times, which doesn't make sense. | |
| 10495 | ||
| 10496 | =end original | |
| 10497 | ||
| 10498 | (W numeric) L<C<x>|perlop/Multiplicative Operators> 繰り返し演算子を | |
| 10499 | C<Inf> (または C<-Inf>) 回、または C<NaN> 回実行しようとしました; | |
| 10500 | これは意味がありません。 | |
| 10501 | ||
| 10502 | =item Non-hex character in regex; marked by S<<-- HERE> in m/%s/ | |
| 10503 | ||
| 10504 | =begin original | |
| 10505 | ||
| 10506 | (F) In a regular expression, there was a non-hexadecimal character where | |
| 10507 | a hex one was expected, like | |
| 10508 | ||
| 10509 | =end original | |
| 10510 | ||
| 10511 | (F) 正規表現で、次のように 16 進文字が想定されるところで非 16 進文字がありました | |
| 10512 | ||
| 10513 | (?[ [ \xDG ] ]) | |
| 10514 | (?[ [ \x{DEKA} ] ]) | |
| 10515 | ||
| 10516 | =item Non-hex character '%c' terminates \x early. Resolved as "%s" | |
| 10517 | ||
| 10518 | =begin original | |
| 10519 | ||
| 10520 | (W digit) In parsing a hexadecimal numeric constant, a character was | |
| 10521 | unexpectedly encountered that isn't hexadecimal. The resulting value | |
| 10522 | is as indicated. | |
| 10523 | ||
| 10524 | =end original | |
| 10525 | ||
| 10526 | (W digit) 16 進数定数をパースするときに、16 進数でない文字に | |
| 10527 | 想定外に遭遇しました。 | |
| 10528 | 結果の値は示している通りになります。 | |
| 10529 | ||
| 10530 | =begin original | |
| 10531 | ||
| 10532 | Note that, within braces, every character starting with the first | |
| 10533 | non-hexadecimal up to the ending brace is ignored. | |
| 10534 | ||
| 10535 | =end original | |
| 10536 | ||
| 10537 | 中かっこの中では、最初に現れた非 16 進数文字から中かっこの終わりまでは | |
| 10538 | 無視されることに注意してください。 | |
| 10539 | ||
| 10540 | =item Non-octal character in regex; marked by S<<-- HERE> in m/%s/ | |
| 10541 | ||
| 10542 | =begin original | |
| 10543 | ||
| 10544 | (F) In a regular expression, there was a non-octal character where | |
| 10545 | an octal one was expected, like | |
| 10546 | ||
| 10547 | =end original | |
| 10548 | ||
| 10549 | (F) 正規表現で、次のように 8 進文字が想定されるところで非 8 進文字がありました | |
| 10550 | ||
| 10551 | (?[ [ \o{1278} ] ]) | |
| 10552 | ||
| 10553 | =item Non-octal character '%c' terminates \o early. Resolved as "%s" | |
| 10554 | ||
| 10555 | =begin original | |
| 10556 | ||
| 10557 | (W digit) In parsing an octal numeric constant, a character was | |
| 10558 | unexpectedly encountered that isn't octal. The resulting value | |
| 10559 | is as indicated. | |
| 10560 | ||
| 10561 | =end original | |
| 10562 | ||
| 10563 | (W digit) 8 進数定数をパースするときに、8 進数でない文字に遭遇しました。 | |
| 10564 | 結果の値は示している通りになります。 | |
| 10565 | ||
| 10566 | =begin original | |
| 10567 | ||
| 10568 | When not using C<\o{...}>, you wrote something like C<\08>, or C<\179> | |
| 10569 | in a double-quotish string. The resolution is as indicated, with all | |
| 10570 | but the last digit treated as a single character, specified in octal. | |
| 10571 | The last digit is the next character in the string. To tell Perl that | |
| 10572 | this is indeed what you want, you can use the C<\o{ }> syntax, or use | |
| 10573 | exactly three digits to specify the octal for the character. | |
| 10574 | ||
| 10575 | =end original | |
| 10576 | ||
| 10577 | When not using | |
| 10578 | C<\o{...}> を使っていないときに、C<\08> のようなものか、 | |
| 10579 | あるいはダブルクォート風文字列の中で C<\179> のようなものを書きました。 | |
| 10580 | 結果は示している通りになり、最後以外の数字は 8 進数で指定された | |
| 10581 | 単一の文字として扱われます。 | |
| 10582 | 最後の数字は文字列中の次の文字です。 | |
| 10583 | これが確かに望んだものであることを Perl に伝えるには、 | |
| 10584 | C<\o{ }> 構文を使うか、その文字を 8 進数で指定するために | |
| 10585 | 正確に 3 文字の数字を使ってください。 | |
| 10586 | ||
| 10587 | =begin original | |
| 10588 | ||
| 10589 | Note that, within braces, every character starting with the first | |
| 10590 | non-octal up to the ending brace is ignored. | |
| 10591 | ||
| 10592 | =end original | |
| 10593 | ||
| 10594 | 中かっこの中では、最初に現れた非 8 進数文字から中かっこの終わりまでは | |
| 10595 | 無視されることに注意してください。 | |
| 10596 | ||
| 7366 | 10597 | =item "no" not allowed in expression |
| 7367 | 10598 | |
| 7368 | 10599 | =begin original |
| 7369 | 10600 | |
| 7370 | 10601 | (F) The "no" keyword is recognized and executed at compile time, and |
| 7371 | 10602 | returns no useful value. See L<perlmod>. |
| 7372 | 10603 | |
| 7373 | 10604 | =end original |
| 7374 | 10605 | |
| 7375 | 10606 | (F) "no" キーワードは、コンパイル時に認識され、実行されるもので、 |
| 7376 | 10607 | 意味のある値を返しません。 |
| 7377 | 10608 | L<perlmod> を参照してください。 |
| 7378 | 10609 | |
| 10610 | =item Non-string passed as bitmask | |
| 10611 | ||
| 10612 | =begin original | |
| 10613 | ||
| 10614 | (W misc) A number has been passed as a bitmask argument to select(). | |
| 10615 | Use the vec() function to construct the file descriptor bitmasks for | |
| 10616 | select. See L<perlfunc/select>. | |
| 10617 | ||
| 10618 | =end original | |
| 10619 | ||
| 10620 | (W misc) select() のビットマスク引数として数値が渡されました。 | |
| 10621 | select のためのファイル記述子のビットマスクを構成するには、 | |
| 10622 | vec() 関数を使ってください。 | |
| 10623 | L<perlfunc/select> を参照してください。 | |
| 10624 | ||
| 7379 | 10625 | =item No output file after > on command line |
| 7380 | 10626 | |
| 7381 | 10627 | =begin original |
| 7382 | 10628 | |
| 7383 | 10629 | (F) An error peculiar to VMS. Perl handles its own command line |
| 7384 | 10630 | redirection, and found a lone '>' at the end of the command line, so it |
| 7385 | 10631 | doesn't know where you wanted to redirect stdout. |
| 7386 | 10632 | |
| 7387 | 10633 | =end original |
| 7388 | 10634 | |
| 7389 | 10635 | (F) VMS に固有のエラーです。 |
| 7390 | 10636 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインの |
| 7391 | 10637 | 最後に単独の '>' を発見したので、stdout をどこにリダイレクトしたいのかが |
| 7392 | 10638 | わかりませんでした。 |
| 7393 | 10639 | |
| 7394 | 10640 | =item No output file after > or >> on command line |
| 7395 | 10641 | |
| 7396 | 10642 | =begin original |
| 7397 | 10643 | |
| 7398 | 10644 | (F) An error peculiar to VMS. Perl handles its own command line |
| 7399 | 10645 | redirection, and found a '>' or a '>>' on the command line, but can't |
| 7400 | 10646 | find the name of the file to which to write data destined for stdout. |
| 7401 | 10647 | |
| 7402 | 10648 | =end original |
| 7403 | 10649 | |
| 7404 | 10650 | (F) VMS に固有のエラーです。 |
| 7405 | 10651 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインに |
| 7406 | 10652 | '>' や '>>' を発見しましたが、stdout を書き込むためのファイル名が |
| 7407 | 10653 | 見つかりませんでした。 |
| 7408 | 10654 | |
| 10655 | =item No package name allowed for subroutine %s in "our" | |
| 10656 | ||
| 7409 | 10657 | =item No package name allowed for variable %s in "our" |
| 7410 | 10658 | |
| 7411 | 10659 | =begin original |
| 7412 | 10660 | |
| 7413 | (F) Fully qualified variable names are not allowed in "our" | |
| 10661 | (F) Fully qualified subroutine and variable names are not allowed in "our" | |
| 7414 | declarations, because that doesn't make much sense under existing | |
| 10662 | declarations, because that doesn't make much sense under existing rules. | |
| 7415 | ||
| 10663 | Such syntax is reserved for future extensions. | |
| 7416 | 10664 | |
| 7417 | 10665 | =end original |
| 7418 | 10666 | |
| 7419 | (F) 完全修飾変数名は "our" 宣言では使えません; | |
| 10667 | (F) 完全修飾されたサブルーチン名や変数名は "our" 宣言では使えません; | |
| 7420 | 10668 | なぜなら現在の動作ではほとんど意味がないからです。 |
| 7421 | 10669 | そのような文法は将来の拡張に予約されています。 |
| 7422 | 10670 | |
| 7423 | 10671 | =item No Perl script found in input |
| 7424 | 10672 | |
| 7425 | 10673 | =begin original |
| 7426 | 10674 | |
| 7427 | 10675 | (F) You called C<perl -x>, but no line was found in the file beginning |
| 7428 | 10676 | with #! and containing the word "perl". |
| 7429 | 10677 | |
| 7430 | 10678 | =end original |
| 7431 | 10679 | |
| 7432 | 10680 | (F) C<perl -x> を呼び出しましたが、そのファイルに #! で始まり、 |
| 7433 | 10681 | "perl" という語を含む行が見つかりませんでした。 |
| 7434 | 10682 | |
| 7435 | 10683 | =item No setregid available |
| 7436 | 10684 | |
| 7437 | 10685 | =begin original |
| 7438 | 10686 | |
| 7439 | 10687 | (F) Configure didn't find anything resembling the setregid() call for |
| 7440 | 10688 | your system. |
| 7441 | 10689 | |
| 7442 | 10690 | =end original |
| 7443 | 10691 | |
| 7444 | 10692 | (F) Configure が、システム上に setregid() のような関数を |
| 7445 | 10693 | 見つけられませんでした。 |
| 7446 | 10694 | |
| 7447 | 10695 | =item No setreuid available |
| 7448 | 10696 | |
| 7449 | 10697 | =begin original |
| 7450 | 10698 | |
| 7451 | 10699 | (F) Configure didn't find anything resembling the setreuid() call for |
| 7452 | 10700 | your system. |
| 7453 | 10701 | |
| 7454 | 10702 | =end original |
| 7455 | 10703 | |
| 7456 | 10704 | (F) Configure が、システム上に setreuid() のような関数を |
| 7457 | 10705 | 見つけられませんでした。 |
| 7458 | 10706 | |
| 10707 | =item No such class %s | |
| 10708 | ||
| 10709 | =begin original | |
| 10710 | ||
| 10711 | (F) You provided a class qualifier in a "my", "our" or "state" | |
| 10712 | declaration, but this class doesn't exist at this point in your program. | |
| 10713 | ||
| 10714 | =end original | |
| 10715 | ||
| 10716 | (F) "my", "our", "state" の宣言でクラス修飾子が指定されましたが、指定された | |
| 10717 | クラスは現時点では存在しません。 | |
| 10718 | ||
| 7459 | 10719 | =item No such class field "%s" in variable %s of type %s |
| 7460 | 10720 | |
| 7461 | 10721 | =begin original |
| 7462 | 10722 | |
| 7463 | 10723 | (F) You tried to access a key from a hash through the indicated typed |
| 7464 | 10724 | variable but that key is not allowed by the package of the same type. |
| 7465 | 10725 | The indicated package has restricted the set of allowed keys using the |
| 7466 | 10726 | L<fields> pragma. |
| 7467 | 10727 | |
| 7468 | 10728 | =end original |
| 7469 | 10729 | |
| 7470 | 10730 | (F) 示されている型の変数を通してハッシュのキーにアクセスしようとしましたが、 |
| 7471 | 10731 | そのキーは同じ型のパッケージによって許可されていません。 |
| 7472 | 10732 | 示されているパッケージは L<fields> プラグマによって許可されるキーの集合が |
| 7473 | 10733 | 制限されています。 |
| 7474 | 10734 | |
| 7475 | =item No such class %s | |
| 7476 | ||
| 7477 | =begin original | |
| 7478 | ||
| 7479 | (F) You provided a class qualifier in a "my", "our" or "state" | |
| 7480 | declaration, but this class doesn't exist at this point in your program. | |
| 7481 | ||
| 7482 | =end original | |
| 7483 | ||
| 7484 | (F) "my", "our", "state" の宣言でクラス修飾子が指定されましたが、指定された | |
| 7485 | クラスは現時点では存在しません。 | |
| 7486 | ||
| 7487 | 10735 | =item No such hook: %s |
| 7488 | 10736 | |
| 7489 | 10737 | =begin original |
| 7490 | 10738 | |
| 7491 | 10739 | (F) You specified a signal hook that was not recognized by Perl. |
| 7492 | 10740 | Currently, Perl accepts C<__DIE__> and C<__WARN__> as valid signal hooks. |
| 7493 | 10741 | |
| 7494 | 10742 | =end original |
| 7495 | 10743 | |
| 7496 | 10744 | (F) Perl が認識できないシグナルフックを指定しました。 |
| 7497 | 10745 | 現在のところ、Perl は有効なシグナルフックとして |
| 7498 | 10746 | C<__DIE__> と C<__WARN__> を受け付けます。 |
| 7499 | 10747 | |
| 7500 | 10748 | =item No such pipe open |
| 7501 | 10749 | |
| 7502 | 10750 | =begin original |
| 7503 | 10751 | |
| 7504 | 10752 | (P) An error peculiar to VMS. The internal routine my_pclose() tried to |
| 7505 | 10753 | close a pipe which hadn't been opened. This should have been caught |
| 7506 | 10754 | earlier as an attempt to close an unopened filehandle. |
| 7507 | 10755 | |
| 7508 | 10756 | =end original |
| 7509 | 10757 | |
| 7510 | 10758 | (P) VMS に固有のエラーです。 |
| 7511 | 10759 | 内部ルーチンである my_pclose() が、開いていないパイプを閉じようとしました。 |
| 7512 | 10760 | これは開いていないファイルハンドルを閉じようとしたとしてもっと早くに |
| 7513 | 10761 | 捕捉されるべきものです。 |
| 7514 | 10762 | |
| 7515 | 10763 | =item No such signal: SIG%s |
| 7516 | 10764 | |
| 7517 | 10765 | =begin original |
| 7518 | 10766 | |
| 7519 | 10767 | (W signal) You specified a signal name as a subscript to %SIG that was |
| 7520 | 10768 | not recognized. Say C<kill -l> in your shell to see the valid signal |
| 7521 | 10769 | names on your system. |
| 7522 | 10770 | |
| 7523 | 10771 | =end original |
| 7524 | 10772 | |
| 7525 | 10773 | (W signal) %SIG の添字として認識できないシグナル名を指定しました。 |
| 7526 | 10774 | お使いのシステムで使用可能なシグナル名を調べるには、 |
| 7527 | 10775 | シェル上で C<kill -l> などとしてください。 |
| 7528 | 10776 | |
| 10777 | =item No Unicode property value wildcard matches: | |
| 10778 | ||
| 10779 | =begin original | |
| 10780 | ||
| 10781 | (W regexp) You specified a wildcard for a Unicode property value, but | |
| 10782 | there is no property value in the current Unicode release that matches | |
| 10783 | it. Check your spelling. | |
| 10784 | ||
| 10785 | =end original | |
| 10786 | ||
| 10787 | (W regexp) Unicode 特性値にワイルドカードを指定しましたが、 | |
| 10788 | 現在の Unicode リリースにはそれにマッチングする特性値はありません。 | |
| 10789 | 綴りを確認してください。 | |
| 10790 | ||
| 7529 | 10791 | =item Not a CODE reference |
| 7530 | 10792 | |
| 7531 | 10793 | =begin original |
| 7532 | 10794 | |
| 7533 | 10795 | (F) Perl was trying to evaluate a reference to a code value (that is, a |
| 7534 | 10796 | subroutine), but found a reference to something else instead. You can |
| 7535 | 10797 | use the ref() function to find out what kind of ref it really was. See |
| 7536 | 10798 | also L<perlref>. |
| 7537 | 10799 | |
| 7538 | 10800 | =end original |
| 7539 | 10801 | |
| 7540 | 10802 | (F) Perl がコード値 (サブルーチン) へのリファレンスを |
| 7541 | 10803 | 評価しようとしましたが、別のものへのリファレンスでした。 |
| 7542 | 10804 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
| 7543 | 10805 | 使うことができます。 |
| 7544 | 10806 | L<perlref> も参照してください。 |
| 7545 | 10807 | |
| 7546 | =item Not a format reference | |
| 7547 | ||
| 7548 | =begin original | |
| 7549 | ||
| 7550 | (F) I'm not sure how you managed to generate a reference to an anonymous | |
| 7551 | format, but this indicates you did, and that it didn't exist. | |
| 7552 | ||
| 7553 | =end original | |
| 7554 | ||
| 7555 | (F) どのように無名のフォーマットへのリファレンスを生成したのかは | |
| 7556 | わかりませんが、このメッセージは、それが指定されて、 | |
| 7557 | 存在しなかったことを示します。 | |
| 7558 | ||
| 7559 | 10808 | =item Not a GLOB reference |
| 7560 | 10809 | |
| 7561 | 10810 | =begin original |
| 7562 | 10811 | |
| 7563 | 10812 | (F) Perl was trying to evaluate a reference to a "typeglob" (that is, a |
| 7564 | 10813 | symbol table entry that looks like C<*foo>), but found a reference to |
| 7565 | 10814 | something else instead. You can use the ref() function to find out what |
| 7566 | 10815 | kind of ref it really was. See L<perlref>. |
| 7567 | 10816 | |
| 7568 | 10817 | =end original |
| 7569 | 10818 | |
| 7570 | 10819 | (F) Perl が「型グロブ」(これは、C<*foo> のような |
| 7571 | 10820 | シンボルテーブルエントリです) へのリファレンスを評価しようとしましたが、 |
| 7572 | 10821 | 別のものへのリファレンスでした。 |
| 7573 | 10822 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
| 7574 | 10823 | 使うことができます。 |
| 7575 | 10824 | L<perlref> を参照してください。 |
| 7576 | 10825 | |
| 7577 | 10826 | =item Not a HASH reference |
| 7578 | 10827 | |
| 7579 | 10828 | =begin original |
| 7580 | 10829 | |
| 7581 | 10830 | (F) Perl was trying to evaluate a reference to a hash value, but found a |
| 7582 | 10831 | reference to something else instead. You can use the ref() function to |
| 7583 | 10832 | find out what kind of ref it really was. See L<perlref>. |
| 7584 | 10833 | |
| 7585 | 10834 | =end original |
| 7586 | 10835 | |
| 7587 | 10836 | (F) Perl がハッシュ値へのリファレンスを評価しようとしましたが、 |
| 7588 | 10837 | 別のものへのリファレンスでした。 |
| 7589 | 10838 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
| 7590 | 10839 | 使うことができます。 |
| 7591 | 10840 | L<perlref> を参照してください。 |
| 7592 | 10841 | |
| 10842 | =item '#' not allowed immediately following a sigil in a subroutine signature | |
| 10843 | ||
| 10844 | =begin original | |
| 10845 | ||
| 10846 | (F) In a subroutine signature definition, a comment following a sigil | |
| 10847 | (C<$>, C<@> or C<%>), needs to be separated by whitespace or a comma etc., in | |
| 10848 | particular to avoid confusion with the C<$#> variable. For example: | |
| 10849 | ||
| 10850 | =end original | |
| 10851 | ||
| 10852 | (F) サブルーチンシグネチャ定義で、印 (C<$>, C<@>, C<%>) に引き続く | |
| 10853 | コメントは、特に C<$#> 変数との混乱を避けるために、 | |
| 10854 | 空白やカンマなどで分ける必要があります。 | |
| 10855 | 例えば: | |
| 10856 | ||
| 10857 | # bad | |
| 10858 | sub f ($# ignore first arg | |
| 10859 | , $y) {} | |
| 10860 | # good | |
| 10861 | sub f ($, # ignore first arg | |
| 10862 | $y) {} | |
| 10863 | ||
| 7593 | 10864 | =item Not an ARRAY reference |
| 7594 | 10865 | |
| 7595 | 10866 | =begin original |
| 7596 | 10867 | |
| 7597 | 10868 | (F) Perl was trying to evaluate a reference to an array value, but found |
| 7598 | 10869 | a reference to something else instead. You can use the ref() function |
| 7599 | 10870 | to find out what kind of ref it really was. See L<perlref>. |
| 7600 | 10871 | |
| 7601 | 10872 | =end original |
| 7602 | 10873 | |
| 7603 | 10874 | (F) Perl が配列値へのリファレンスを評価しようとしましたが、 |
| 7604 | 10875 | 別のものへのリファレンスでした。 |
| 7605 | 10876 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
| 7606 | 10877 | 使うことができます。 |
| 7607 | 10878 | L<perlref> を参照してください。 |
| 7608 | 10879 | |
| 7609 | =item Not an unblessed ARRAY reference | |
| 7610 | ||
| 7611 | =begin original | |
| 7612 | ||
| 7613 | (F) You passed a reference to a blessed array to C<push>, C<shift> or | |
| 7614 | another array function. These only accept unblessed array references | |
| 7615 | or arrays beginning explicitly with C<@>. | |
| 7616 | ||
| 7617 | =end original | |
| 7618 | ||
| 7619 | (F) C<push>, C<shift> やその他の配列関数に bless された配列へのリファレンスを | |
| 7620 | 渡しました。 | |
| 7621 | これらは bless されていない配列リファレンスか明示的に C<@> で始まる | |
| 7622 | 配列のみを受け付けます。 | |
| 7623 | ||
| 7624 | 10880 | =item Not a SCALAR reference |
| 7625 | 10881 | |
| 7626 | 10882 | =begin original |
| 7627 | 10883 | |
| 7628 | 10884 | (F) Perl was trying to evaluate a reference to a scalar value, but found |
| 7629 | 10885 | a reference to something else instead. You can use the ref() function |
| 7630 | 10886 | to find out what kind of ref it really was. See L<perlref>. |
| 7631 | 10887 | |
| 7632 | 10888 | =end original |
| 7633 | 10889 | |
| 7634 | 10890 | (F) Perl がスカラ値へのリファレンスを評価しようとしましたが、 |
| 7635 | 10891 | 別のものへのリファレンスでした。 |
| 7636 | 10892 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
| 7637 | 10893 | 使うことができます。 |
| 7638 | 10894 | L<perlref> を参照してください。 |
| 7639 | 10895 | |
| 7640 | 10896 | =item Not a subroutine reference |
| 7641 | 10897 | |
| 7642 | 10898 | =begin original |
| 7643 | 10899 | |
| 7644 | 10900 | (F) Perl was trying to evaluate a reference to a code value (that is, a |
| 7645 | 10901 | subroutine), but found a reference to something else instead. You can |
| 7646 | 10902 | use the ref() function to find out what kind of ref it really was. See |
| 7647 | 10903 | also L<perlref>. |
| 7648 | 10904 | |
| 7649 | 10905 | =end original |
| 7650 | 10906 | |
| 7651 | 10907 | (F) Perl がコード値 (サブルーチン) へのリファレンスを |
| 7652 | 10908 | 評価しようとしましたが、別のものへのリファレンスでした。 |
| 7653 | 10909 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
| 7654 | 10910 | 使うことができます。 |
| 7655 | 10911 | L<perlref> も参照してください。 |
| 7656 | 10912 | |
| 7657 | 10913 | =item Not a subroutine reference in overload table |
| 7658 | 10914 | |
| 7659 | 10915 | =begin original |
| 7660 | 10916 | |
| 7661 | 10917 | (F) An attempt was made to specify an entry in an overloading table that |
| 7662 | 10918 | doesn't somehow point to a valid subroutine. See L<overload>. |
| 7663 | 10919 | |
| 7664 | 10920 | =end original |
| 7665 | 10921 | |
| 7666 | 10922 | (F) 多重定義テーブルで、有効なサブルーチンを指していないエントリを |
| 7667 | 10923 | 指定しようとしました。 |
| 7668 | 10924 | L<overload> を参照してください。 |
| 7669 | 10925 | |
| 7670 | 10926 | =item Not enough arguments for %s |
| 7671 | 10927 | |
| 7672 | 10928 | =begin original |
| 7673 | 10929 | |
| 7674 | 10930 | (F) The function requires more arguments than you specified. |
| 7675 | 10931 | |
| 7676 | 10932 | =end original |
| 7677 | 10933 | |
| 7678 | 10934 | (F) この関数は、指定したよりも多くの引数を必要とします。 |
| 7679 | 10935 | |
| 7680 | 10936 | =item Not enough format arguments |
| 7681 | 10937 | |
| 7682 | 10938 | =begin original |
| 7683 | 10939 | |
| 7684 | 10940 | (W syntax) A format specified more picture fields than the next line |
| 7685 | 10941 | supplied. See L<perlform>. |
| 7686 | 10942 | |
| 7687 | 10943 | =end original |
| 7688 | 10944 | |
| 7689 | 10945 | (W syntax) 指定したフォーマットに、次の行で指定したより多くの |
| 7690 | 10946 | ピクチャフィールドがあります。 |
| 7691 | 10947 | L<perlform> を参照してください。 |
| 7692 | 10948 | |
| 7693 | 10949 | =item %s: not found |
| 7694 | 10950 | |
| 7695 | 10951 | =begin original |
| 7696 | 10952 | |
| 7697 | 10953 | (A) You've accidentally run your script through the Bourne shell instead |
| 7698 | 10954 | of Perl. Check the #! line, or manually feed your script into Perl |
| 7699 | 10955 | yourself. |
| 7700 | 10956 | |
| 7701 | 10957 | =end original |
| 7702 | 10958 | |
| 7703 | 10959 | (A) スクリプトを perl ではなく Bourne shell で実行しようとしました。 |
| 7704 | #! 行を | |
| 10960 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
| 7705 | 10961 | |
| 7706 | 10962 | =item no UTC offset information; assuming local time is UTC |
| 7707 | 10963 | |
| 7708 | 10964 | =begin original |
| 7709 | 10965 | |
| 7710 | 10966 | (S) A warning peculiar to VMS. Perl was unable to find the local |
| 7711 | 10967 | timezone offset, so it's assuming that local system time is equivalent |
| 7712 | 10968 | to UTC. If it's not, define the logical name |
| 7713 | 10969 | F<SYS$TIMEZONE_DIFFERENTIAL> to translate to the number of seconds which |
| 7714 | 10970 | need to be added to UTC to get local time. |
| 7715 | 10971 | |
| 7716 | 10972 | =end original |
| 7717 | 10973 | |
| 7718 | 10974 | (S) VMS に固有の警告です。 |
| 7719 | 10975 | Perl はローカルタイムゾーンオフセットを見つけることができなかったので、 |
| 7720 | 10976 | ローカルシステムタイムは UTC と等価であると仮定します。 |
| 7721 | 10977 | もし違うなら、論理名 F<SYS$TIMEZONE_DIFFERENTIAL> に、UTC からローカル |
| 7722 | 10978 | 時刻を得るために加える必要がある秒数を定義してください。 |
| 7723 | 10979 | |
| 7724 | =item Non-octal character '%c'. Resolved as "%s" | |
| 7725 | ||
| 7726 | =begin original | |
| 7727 | ||
| 7728 | (W digit) In parsing an octal numeric constant, a character was | |
| 7729 | unexpectedly encountered that isn't octal. The resulting value | |
| 7730 | is as indicated. | |
| 7731 | ||
| 7732 | =end original | |
| 7733 | ||
| 7734 | (W digit) 8 進数定数をパースするときに、8 進数でない文字に遭遇しました。 | |
| 7735 | 結果の値は示された通りになります。 | |
| 7736 | ||
| 7737 | =item Non-string passed as bitmask | |
| 7738 | ||
| 7739 | =begin original | |
| 7740 | ||
| 7741 | (W misc) A number has been passed as a bitmask argument to select(). | |
| 7742 | Use the vec() function to construct the file descriptor bitmasks for | |
| 7743 | select. See L<perlfunc/select>. | |
| 7744 | ||
| 7745 | =end original | |
| 7746 | ||
| 7747 | (W misc) select() のビットマスク引数として数値が渡されました。 | |
| 7748 | select のためのファイル記述子のビットマスクを構成するには、 | |
| 7749 | vec() 関数を使ってください。 | |
| 7750 | L<perlfunc/select> を参照してください。 | |
| 7751 | ||
| 7752 | =item Null filename used | |
| 7753 | ||
| 7754 | =begin original | |
| 7755 | ||
| 7756 | (F) You can't require the null filename, especially because on many | |
| 7757 | machines that means the current directory! See L<perlfunc/require>. | |
| 7758 | ||
| 7759 | =end original | |
| 7760 | ||
| 7761 | (F) 特に、多くのマシンでカレントディレクトリを意味するため、 | |
| 7762 | 空のファイル名は require できません! | |
| 7763 | L<perlfunc/require> を参照してください。 | |
| 7764 | ||
| 7765 | 10980 | =item NULL OP IN RUN |
| 7766 | 10981 | |
| 7767 | 10982 | =begin original |
| 7768 | 10983 | |
| 7769 | 10984 | (S debugging) Some internal routine called run() with a null opcode |
| 7770 | 10985 | pointer. |
| 7771 | 10986 | |
| 7772 | 10987 | =end original |
| 7773 | 10988 | |
| 7774 | 10989 | (S debugging) 内部ルーティンで、ヌル opcode ポインタで run() を |
| 7775 | 10990 | 呼んだものがあります。 |
| 7776 | 10991 | |
| 7777 | 10992 | =item Null picture in formline |
| 7778 | 10993 | |
| 7779 | 10994 | =begin original |
| 7780 | 10995 | |
| 7781 | 10996 | (F) The first argument to formline must be a valid format picture |
| 7782 | 10997 | specification. It was found to be empty, which probably means you |
| 7783 | 10998 | supplied it an uninitialized value. See L<perlform>. |
| 7784 | 10999 | |
| 7785 | 11000 | =end original |
| 7786 | 11001 | |
| 7787 | 11002 | (F) formline の第 1 引数は有効なフォーマットピクチャー指定でなければ |
| 7788 | 11003 | なりません。 |
| 7789 | 11004 | これが空でした; おそらく初期化していない値を指定したのでしょう。 |
| 7790 | 11005 | L<perlform> を参照してください。 |
| 7791 | 11006 | |
| 7792 | =item Null realloc | |
| 7793 | ||
| 7794 | =begin original | |
| 7795 | ||
| 7796 | (P) An attempt was made to realloc NULL. | |
| 7797 | ||
| 7798 | =end original | |
| 7799 | ||
| 7800 | (P) realloc NULL を行なおうとしました。 | |
| 7801 | ||
| 7802 | =item NULL regexp argument | |
| 7803 | ||
| 7804 | =begin original | |
| 7805 | ||
| 7806 | (P) The internal pattern matching routines blew it big time. | |
| 7807 | ||
| 7808 | =end original | |
| 7809 | ||
| 7810 | (P) 内部パターンマッチルーティンが、大当たりです。 | |
| 7811 | ||
| 7812 | 11007 | =item NULL regexp parameter |
| 7813 | 11008 | |
| 7814 | 11009 | =begin original |
| 7815 | 11010 | |
| 7816 | 11011 | (P) The internal pattern matching routines are out of their gourd. |
| 7817 | 11012 | |
| 7818 | 11013 | =end original |
| 7819 | 11014 | |
| 7820 | 11015 | (P) 内部パターンマッチルーティンが、狂っています。 |
| 7821 | 11016 | |
| 7822 | 11017 | =item Number too long |
| 7823 | 11018 | |
| 7824 | 11019 | =begin original |
| 7825 | 11020 | |
| 7826 | 11021 | (F) Perl limits the representation of decimal numbers in programs to |
| 7827 | 11022 | about 250 characters. You've exceeded that length. Future |
| 7828 | 11023 | versions of Perl are likely to eliminate this arbitrary limitation. In |
| 7829 | 11024 | the meantime, try using scientific notation (e.g. "1e6" instead of |
| 7830 | 11025 | "1_000_000"). |
| 7831 | 11026 | |
| 7832 | 11027 | =end original |
| 7833 | 11028 | |
| 7834 | 11029 | Perl はプログラム中での十進数の表現を 250 文字に制限しています。 |
| 7835 | 11030 | この制限を越えました。 |
| 7836 | 11031 | Perl の将来のバージョンではこの恣意的な制限は除去されるでしょう。 |
| 7837 | 11032 | それまでの間は、科学的な記述法("1_000_000" ではなく "1e6")を |
| 7838 | 11033 | 使用してください。 |
| 7839 | 11034 | |
| 7840 | 11035 | =item Number with no digits |
| 7841 | 11036 | |
| 7842 | 11037 | =begin original |
| 7843 | 11038 | |
| 7844 | 11039 | (F) Perl was looking for a number but found nothing that looked like |
| 7845 | 11040 | a number. This happens, for example with C<\o{}>, with no number between |
| 7846 | 11041 | the braces. |
| 7847 | 11042 | |
| 7848 | 11043 | =end original |
| 7849 | 11044 | |
| 7850 | 11045 | (F) Perl は数字を探していましたが数字に見えないものが見つかりました。 |
| 7851 | 11046 | これは、例えば C<\o{}> では、中かっこの中に数字がないときに起こります。 |
| 7852 | 11047 | |
| 11048 | =item Numeric format result too large | |
| 11049 | ||
| 11050 | =begin original | |
| 11051 | ||
| 11052 | (F) The length of the result of a numeric format supplied to sprintf() | |
| 11053 | or printf() would have been too large for the underlying C function to | |
| 11054 | report. This limit is typically 2GB. | |
| 11055 | ||
| 11056 | =end original | |
| 11057 | ||
| 11058 | (F) sprintf() や printf() に与えられた数値フォーマットの結果の長さは、 | |
| 11059 | 報告するための基礎となる C 関数にとって大きすぎました。 | |
| 11060 | この制限は典型的には 2GB です。 | |
| 11061 | ||
| 11062 | =item Numeric variables with more than one digit may not start with '0' | |
| 11063 | ||
| 11064 | =begin original | |
| 11065 | ||
| 11066 | (F) The only numeric variable which is allowed to start with a 0 is C<$0>, | |
| 11067 | and you mentioned a variable that starts with 0 that has more than one | |
| 11068 | digit. You probably want to remove the leading 0, or if the intent was | |
| 11069 | to express a variable name in octal you should convert to decimal. | |
| 11070 | ||
| 11071 | =end original | |
| 11072 | ||
| 11073 | (F) 0 で始まることが許されている唯一の数値変数は C<$0> で、 | |
| 11074 | 0 で始まり複数桁ある変数に言及しました。 | |
| 11075 | おそらく先頭の 0 を削除したいか、変数名を 8 進数で表現したい場合は、 | |
| 11076 | 10 進数に変換する必要があります。 | |
| 11077 | ||
| 7853 | 11078 | =item Octal number > 037777777777 non-portable |
| 7854 | 11079 | |
| 7855 | 11080 | =begin original |
| 7856 | 11081 | |
| 7857 | 11082 | (W portable) The octal number you specified is larger than 2**32-1 |
| 7858 | 11083 | (4294967295) and therefore non-portable between systems. See |
| 7859 | 11084 | L<perlport> for more on portability concerns. |
| 7860 | 11085 | |
| 7861 | 11086 | =end original |
| 7862 | 11087 | |
| 7863 | 11088 | (W portable) 指定した 8 進数が 2**32-1 (4294967295) より大きいので、 |
| 7864 | 11089 | システム間で移植性がありません。 |
| 7865 | 11090 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
| 7866 | 11091 | |
| 11092 | =item Odd name/value argument for subroutine '%s' | |
| 11093 | ||
| 11094 | =begin original | |
| 11095 | ||
| 11096 | (F) A subroutine using a slurpy hash parameter in its signature | |
| 11097 | received an odd number of arguments to populate the hash. It requires | |
| 11098 | the arguments to be paired, with the same number of keys as values. | |
| 11099 | The caller of the subroutine is presumably at fault. | |
| 11100 | ||
| 11101 | =end original | |
| 11102 | ||
| 11103 | (F) シグネチャで吸い込みハッシュ引数を使っているサブルーチンが、 | |
| 11104 | ハッシュに展開するために奇数の数の引数を受け取りました。 | |
| 11105 | 引数は、同じ数のキーと値のペアになっていることが必要です。 | |
| 11106 | おそらくサブルーチンの呼び出し元が間違っています。 | |
| 11107 | ||
| 11108 | =begin original | |
| 11109 | ||
| 11110 | The message attempts to include the name of the called subroutine. If the | |
| 11111 | subroutine has been aliased, the subroutine's original name will be shown, | |
| 11112 | regardless of what name the caller used. | |
| 11113 | ||
| 11114 | =end original | |
| 11115 | ||
| 11116 | このメッセージは呼び出されたサブルーチン名を含めようとします。 | |
| 11117 | サブルーチンが別名化されている場合、どの名前で呼びされたかに関わらず | |
| 11118 | サブルーチンの元の名前が表示されます。 | |
| 11119 | ||
| 7867 | 11120 | =item Odd number of arguments for overload::constant |
| 7868 | 11121 | |
| 7869 | 11122 | =begin original |
| 7870 | 11123 | |
| 7871 | 11124 | (W overload) The call to overload::constant contained an odd number of |
| 7872 | 11125 | arguments. The arguments should come in pairs. |
| 7873 | 11126 | |
| 7874 | 11127 | =end original |
| 7875 | 11128 | |
| 7876 | 11129 | (W overload) 奇数の数の引数で overload::constant を呼び出しました。 |
| 7877 | 11130 | 引数はペアになっている必要があります。 |
| 7878 | 11131 | |
| 11132 | =item Odd number of arguments passed to "%s" constructor | |
| 11133 | ||
| 11134 | =begin original | |
| 11135 | ||
| 11136 | (S) The constructor for the given class was called with an odd | |
| 11137 | number of arguments. | |
| 11138 | ||
| 11139 | =end original | |
| 11140 | ||
| 11141 | (S) 指定されたクラスのコンストラクタが奇数個の引数で呼び出されました。 | |
| 11142 | ||
| 11143 | =begin original | |
| 11144 | ||
| 11145 | Class constructors accept named arguments as a list and expect pairs | |
| 11146 | of name followed by value as if you were initialising a hash. | |
| 11147 | ||
| 11148 | =end original | |
| 11149 | ||
| 11150 | クラスコンストラクタは、名前付き引数をリストとして受け入れ、ハッシュを | |
| 11151 | 初期化するかのように、名前と値の組を期待します。 | |
| 11152 | ||
| 7879 | 11153 | =item Odd number of elements in anonymous hash |
| 7880 | 11154 | |
| 7881 | 11155 | =begin original |
| 7882 | 11156 | |
| 7883 | 11157 | (W misc) You specified an odd number of elements to initialize a hash, |
| 7884 | 11158 | which is odd, because hashes come in key/value pairs. |
| 7885 | 11159 | |
| 7886 | 11160 | =end original |
| 7887 | 11161 | |
| 7888 | 11162 | (W misc) ハッシュリストへの要素の数が奇数でした; ハッシュリストは、 |
| 7889 | 11163 | key/value のペアで与えられますから、これは奇妙なことです。 |
| 7890 | 11164 | |
| 11165 | =item Odd number of elements in export_lexically | |
| 11166 | ||
| 11167 | =begin original | |
| 11168 | ||
| 11169 | (F) A call to L<builtin/export_lexically> contained an odd number of | |
| 11170 | arguments. This is not permitted, because each name must be paired with a | |
| 11171 | valid reference value. | |
| 11172 | ||
| 11173 | =end original | |
| 11174 | ||
| 11175 | (F) 奇数個の引数で L<builtin/export_lexically> を呼び出しました。 | |
| 11176 | それぞれの名前は正当な参照値と組になっていなければならないので、 | |
| 11177 | これは許されていません。 | |
| 11178 | ||
| 7891 | 11179 | =item Odd number of elements in hash assignment |
| 7892 | 11180 | |
| 7893 | 11181 | =begin original |
| 7894 | 11182 | |
| 7895 | 11183 | (W misc) You specified an odd number of elements to initialize a hash, |
| 7896 | 11184 | which is odd, because hashes come in key/value pairs. |
| 7897 | 11185 | |
| 7898 | 11186 | =end original |
| 7899 | 11187 | |
| 7900 | 11188 | (W misc) ハッシュリストへの要素の数が奇数でした; ハッシュリストは、 |
| 7901 | 11189 | key/value のペアで与えられますから、これは奇妙なことです。 |
| 7902 | 11190 | |
| 11191 | =item Odd number of elements in hash field initialization | |
| 11192 | ||
| 11193 | =begin original | |
| 11194 | ||
| 11195 | (W misc) You specified an odd number of elements to initialise a hash | |
| 11196 | field of an object. Hashes are initialised from a list of key/value | |
| 11197 | pairs so there must be a corresponding value to every key. The final | |
| 11198 | missing value will be filled in with undef instead. | |
| 11199 | ||
| 11200 | =end original | |
| 11201 | ||
| 11202 | (W misc) オブジェクトのハッシュフィールドを初期化するために、 | |
| 11203 | 奇数個の要素を指定しました。 | |
| 11204 | ハッシュはキー/値の組のリストから初期化されるので、 | |
| 11205 | それぞれのキーに対して対応する値がなければなりません。 | |
| 11206 | 最後の欠けた値は代わりに undef で埋められます。 | |
| 11207 | ||
| 7903 | 11208 | =item Offset outside string |
| 7904 | 11209 | |
| 7905 | 11210 | =begin original |
| 7906 | 11211 | |
| 7907 | ( | |
| 11212 | (W layer) You tried to do a read/write/send/recv/seek operation | |
| 7908 | 11213 | with an offset pointing outside the buffer. This is difficult to |
| 7909 | 11214 | imagine. The sole exceptions to this are that zero padding will |
| 7910 | 11215 | take place when going past the end of the string when either |
| 7911 | 11216 | C<sysread()>ing a file, or when seeking past the end of a scalar opened |
| 7912 | for I/O (in anticipation of future reads and to imitate the behavio | |
| 11217 | for I/O (in anticipation of future reads and to imitate the behavior | |
| 7913 | 11218 | with real files). |
| 7914 | 11219 | |
| 7915 | 11220 | =end original |
| 7916 | 11221 | |
| 7917 | ( | |
| 11222 | (W layer) バッファの外を指すオフセットで read/write/send/recv/seek 操作を | |
| 7918 | 11223 | しようとしました。 |
| 7919 | 11224 | これは想像しにくいことです。 |
| 7920 | 11225 | 唯一の例外は、ファイルを C<sysread()> するときに 文字列の最後を越えたか、 |
| 7921 | 11226 | (将来の読み込みと実際のファイルの振る舞いを模倣することを期待して) |
| 7922 | 11227 | I/O のためにオープンされているスカラの最後を越えてシークしたときに、 |
| 7923 | 11228 | 0 でパッディングされたときです。 |
| 7924 | 11229 | |
| 11230 | =item Old package separator "'" deprecated | |
| 11231 | ||
| 11232 | =begin original | |
| 11233 | ||
| 11234 | (D deprecated::apostrophe_as_package_separator, syntax) You used the old package | |
| 11235 | separator "'" in a variable, subroutine or package name. Support for the | |
| 11236 | old package separator will be removed in Perl 5.42. | |
| 11237 | ||
| 11238 | =end original | |
| 11239 | ||
| 11240 | (D deprecated::apostrophe_as_package_separator, syntax) | |
| 11241 | 変数、サブルーチン、パッケージ名に古いパッケージ区切り文字 "'" を使いました。 | |
| 11242 | 古いパッケージ区切り文字対応は Perl 5.42 で削除される予定です。 | |
| 11243 | ||
| 11244 | =item Old package separator used in string | |
| 11245 | ||
| 11246 | =begin original | |
| 11247 | ||
| 11248 | (D deprecated::apostrophe_as_package_separator, syntax) You used the old package | |
| 11249 | separator, "'", in a variable named inside a double-quoted string; e.g., | |
| 11250 | C<"In $name's house">. This is equivalent to C<"In $name::s house">. If | |
| 11251 | you meant the former, put a backslash before the apostrophe | |
| 11252 | (C<"In $name\'s house">). | |
| 11253 | ||
| 11254 | =end original | |
| 11255 | ||
| 11256 | (D deprecated::apostrophe_as_package_separator, syntax) | |
| 11257 | ダブルクォートされた文字列の中の変数名で、C<"In $name's house"> のように、 | |
| 11258 | 古いパッケージ区切り文字である "'" を使いました。 | |
| 11259 | これは C<"In $name::s house"> と等価です。 | |
| 11260 | 前者の意味なら、アポストロフィの前に逆スラッシュを置いてください | |
| 11261 | (C<"In $name\'s house">)。 | |
| 11262 | ||
| 11263 | =begin original | |
| 11264 | ||
| 11265 | Support for the old package separator will be removed in Perl 5.42. | |
| 11266 | ||
| 11267 | =end original | |
| 11268 | ||
| 11269 | 古いパッケージ区切り文字の対応は Perl 5.42 に削除される予定です。 | |
| 11270 | ||
| 11271 | =item Only scalar fields can take a :param attribute | |
| 11272 | ||
| 11273 | =begin original | |
| 11274 | ||
| 11275 | (F) You tried to apply the C<:param> attribute to an array or hash field. | |
| 11276 | Currently this is not permitted. | |
| 11277 | ||
| 11278 | =end original | |
| 11279 | ||
| 11280 | (F) 配列またはハッシュフィールドに C<:param> 属性を適用しようとしました。 | |
| 11281 | 現在のところこれは許されていません。 | |
| 11282 | ||
| 7925 | 11283 | =item %s() on unopened %s |
| 7926 | 11284 | |
| 7927 | 11285 | =begin original |
| 7928 | 11286 | |
| 7929 | 11287 | (W unopened) An I/O operation was attempted on a filehandle that was |
| 7930 | 11288 | never initialized. You need to do an open(), a sysopen(), or a socket() |
| 7931 | 11289 | call, or call a constructor from the FileHandle package. |
| 7932 | 11290 | |
| 7933 | 11291 | =end original |
| 7934 | 11292 | |
| 7935 | 11293 | (W unopened) 初期化していないファイルハンドルに I/O 操作をしようとしました。 |
| 7936 | 11294 | open(), sysopen(), socket() を呼び出すか、FileHandle パッケージの |
| 7937 | 11295 | コンストラクタを呼び出す必要があります。 |
| 7938 | 11296 | |
| 7939 | 11297 | =item -%s on unopened filehandle %s |
| 7940 | 11298 | |
| 7941 | 11299 | =begin original |
| 7942 | 11300 | |
| 7943 | 11301 | (W unopened) You tried to invoke a file test operator on a filehandle |
| 7944 | 11302 | that isn't open. Check your control flow. See also L<perlfunc/-X>. |
| 7945 | 11303 | |
| 7946 | 11304 | =end original |
| 7947 | 11305 | |
| 7948 | 11306 | (W unopened) 開いていないファイルハンドルに対してファイルテスト演算子を |
| 7949 | 11307 | 使おうとしました。 |
| 7950 | 11308 | 制御フローをチェックしてください。 |
| 7951 | 11309 | L<perlfunc/-X> も参照してください。 |
| 7952 | 11310 | |
| 7953 | 11311 | =item oops: oopsAV |
| 7954 | 11312 | |
| 7955 | 11313 | =begin original |
| 7956 | 11314 | |
| 7957 | 11315 | (S internal) An internal warning that the grammar is screwed up. |
| 7958 | 11316 | |
| 7959 | 11317 | =end original |
| 7960 | 11318 | |
| 7961 | 11319 | (S internal) 文法がおかしくなったことを示す内部警告です。 |
| 7962 | 11320 | |
| 7963 | 11321 | =item oops: oopsHV |
| 7964 | 11322 | |
| 7965 | 11323 | =begin original |
| 7966 | 11324 | |
| 7967 | 11325 | (S internal) An internal warning that the grammar is screwed up. |
| 7968 | 11326 | |
| 7969 | 11327 | =end original |
| 7970 | 11328 | |
| 7971 | 11329 | (S internal) 文法がおかしくなったことを示す内部警告です。 |
| 7972 | 11330 | |
| 7973 | =item Openin | |
| 11331 | =item Operand with no preceding operator in regex; marked by S<<-- HERE> in | |
| 11332 | m/%s/ | |
| 7974 | 11333 | |
| 7975 | 11334 | =begin original |
| 7976 | 11335 | |
| 7977 | ( | |
| 11336 | (F) You wrote something like | |
| 7978 | a symbol (glob or scalar) that already holds a dirhandle. | |
| 7979 | Although legal, this idiom might render your code confusing | |
| 7980 | and is deprecated. | |
| 7981 | 11337 | |
| 7982 | 11338 | =end original |
| 7983 | 11339 | |
| 7984 | ( | |
| 11340 | (F) 次のようなものを書きました: | |
| 7985 | (グロブまたはスカラ)にファイルハンドルを関連付けようとしました。 | |
| 7986 | これは不正ではありませんが、この用法はコードを間違えて解釈する可能性が | |
| 7987 | あるので非推奨です。 | |
| 7988 | 11341 | |
| 7989 | ||
| 11342 | (?[ \p{Digit} \p{Thai} ]) | |
| 7990 | 11343 | |
| 7991 | 11344 | =begin original |
| 7992 | 11345 | |
| 7993 | ||
| 11346 | There are two operands, but no operator giving how you want to combine | |
| 7994 | ||
| 11347 | them. | |
| 7995 | Although legal, this idiom might render your code confusing | |
| 7996 | and is deprecated. | |
| 7997 | 11348 | |
| 7998 | 11349 | =end original |
| 7999 | 11350 | |
| 8000 | ||
| 11351 | 二つのオペランドがありますが、それをどのように結びつけたいかを指定する | |
| 8001 | ||
| 11352 | 演算子がありません。 | |
| 8002 | opendir() を使いました。 | |
| 8003 | これは不正ではありませんが、この用法はコードを間違えて解釈する可能性が | |
| 8004 | あるので非推奨です。 | |
| 8005 | 11353 | |
| 8006 | 11354 | =item Operation "%s": no method found, %s |
| 8007 | 11355 | |
| 8008 | 11356 | =begin original |
| 8009 | 11357 | |
| 8010 | 11358 | (F) An attempt was made to perform an overloaded operation for which no |
| 8011 | 11359 | handler was defined. While some handlers can be autogenerated in terms |
| 8012 | 11360 | of other handlers, there is no default handler for any operation, unless |
| 8013 | 11361 | the C<fallback> overloading key is specified to be true. See L<overload>. |
| 8014 | 11362 | |
| 8015 | 11363 | =end original |
| 8016 | 11364 | |
| 8017 | 11365 | (F) ハンドラが定義されていないオーバーロード操作が行われました。 |
| 8018 | 11366 | 一部のハンドラは他のハンドラから自動生成されますが、C<fallback> |
| 8019 | 11367 | オーバーロードキーが真に指定されていない限り、どの動作にも |
| 8020 | 11368 | デフォルトのハンドラはありません。 |
| 8021 | 11369 | L<overload> を参照してください。 |
| 8022 | 11370 | |
| 8023 | 11371 | =item Operation "%s" returns its argument for non-Unicode code point 0x%X |
| 8024 | 11372 | |
| 8025 | 11373 | =begin original |
| 8026 | 11374 | |
| 8027 | ( | |
| 11375 | (S non_unicode) You performed an operation requiring Unicode rules | |
| 8028 | ||
| 11376 | on a code point that is not in Unicode, so what it should do is not | |
| 8029 | ||
| 11377 | defined. Perl has chosen to have it do nothing, and warn you. | |
| 8030 | 11378 | |
| 8031 | 11379 | =end original |
| 8032 | 11380 | |
| 8033 | ( | |
| 11381 | (S non_unicode) Unicode ではない符号位置に対して、Unicode の規則が | |
| 8034 | 11382 | 必要な操作を実行しました; 何をするべきかは未定義です。 |
| 8035 | 11383 | Perl は何もしないことを選択し、警告を出します。 |
| 8036 | 11384 | |
| 8037 | 11385 | =begin original |
| 8038 | 11386 | |
| 8039 | 11387 | If the operation shown is "ToFold", it means that case-insensitive |
| 8040 | 11388 | matching in a regular expression was done on the code point. |
| 8041 | 11389 | |
| 8042 | 11390 | =end original |
| 8043 | 11391 | |
| 8044 | 11392 | 示された操作が "ToFold" なら、正規表現での大文字小文字を無視したマッチングが |
| 8045 | 11393 | その符号位置に対して行われたということです。 |
| 8046 | 11394 | |
| 8047 | 11395 | =begin original |
| 8048 | 11396 | |
| 8049 | 11397 | If you know what you are doing you can turn off this warning by |
| 8050 | 11398 | C<no warnings 'non_unicode';>. |
| 8051 | 11399 | |
| 8052 | 11400 | =end original |
| 8053 | 11401 | |
| 8054 | 11402 | 自分で何をしているのかが分かっているなら、 |
| 8055 | 11403 | C<no warnings 'non_unicode';> とすることでこの警告をオフにできます。 |
| 8056 | 11404 | |
| 8057 | 11405 | =item Operation "%s" returns its argument for UTF-16 surrogate U+%X |
| 8058 | 11406 | |
| 8059 | 11407 | =begin original |
| 8060 | 11408 | |
| 8061 | ( | |
| 11409 | (S surrogate) You performed an operation requiring Unicode | |
| 8062 | ||
| 11410 | rules on a Unicode surrogate. Unicode frowns upon the use | |
| 8063 | surrogates for anything but storing strings in UTF-16, but | |
| 11411 | of surrogates for anything but storing strings in UTF-16, but | |
| 8064 | are (reluctantly) defined for the surrogates, and | |
| 11412 | rules are (reluctantly) defined for the surrogates, and | |
| 8065 | nothing for this operation. Because the use of | |
| 11413 | they are to do nothing for this operation. Because the use of | |
| 8066 | dangerous, Perl warns. | |
| 11414 | surrogates can be dangerous, Perl warns. | |
| 8067 | 11415 | |
| 8068 | 11416 | =end original |
| 8069 | 11417 | |
| 8070 | ( | |
| 11418 | (S surrogate) Unicode サロゲートに対して Unicode の規則が必要な | |
| 8071 | 11419 | 操作を実行しました。 |
| 8072 | 11420 | Unicode は文字列を UTF-16 で保管する以外のことでサロゲートを使うことに |
| 8073 | 難色を示しますが、 | |
| 11421 | 難色を示しますが、規則は(渋々)サロゲートのために定義されていて、それは | |
| 8074 | 11422 | この操作に対して何もしないことです。 |
| 8075 | 11423 | サロゲートの使用は危険かも知れないので、Perl は警告します。 |
| 8076 | 11424 | |
| 8077 | 11425 | =begin original |
| 8078 | 11426 | |
| 8079 | 11427 | If the operation shown is "ToFold", it means that case-insensitive |
| 8080 | 11428 | matching in a regular expression was done on the code point. |
| 8081 | 11429 | |
| 8082 | 11430 | =end original |
| 8083 | 11431 | |
| 8084 | 11432 | 示された操作が "ToFold" なら、正規表現での大文字小文字を無視したマッチングが |
| 8085 | 11433 | その符号位置に対して行われたということです。 |
| 8086 | 11434 | |
| 8087 | 11435 | =begin original |
| 8088 | 11436 | |
| 8089 | 11437 | If you know what you are doing you can turn off this warning by |
| 8090 | 11438 | C<no warnings 'surrogate';>. |
| 8091 | 11439 | |
| 8092 | 11440 | =end original |
| 8093 | 11441 | |
| 8094 | 11442 | 自分で何をしているのかが分かっているなら、 |
| 8095 | 11443 | C<no warnings 'surrogate';> とすることでこの警告をオフにできます。 |
| 8096 | 11444 | |
| 8097 | 11445 | =item Operator or semicolon missing before %s |
| 8098 | 11446 | |
| 8099 | 11447 | =begin original |
| 8100 | 11448 | |
| 8101 | 11449 | (S ambiguous) You used a variable or subroutine call where the parser |
| 8102 | 11450 | was expecting an operator. The parser has assumed you really meant to |
| 8103 | 11451 | use an operator, but this is highly likely to be incorrect. For |
| 8104 | 11452 | example, if you say "*foo *foo" it will be interpreted as if you said |
| 8105 | 11453 | "*foo * 'foo'". |
| 8106 | 11454 | |
| 8107 | 11455 | =end original |
| 8108 | 11456 | |
| 8109 | 11457 | (S ambiguous) パーサーが演算子を装置している場所で変数やサブルーチン |
| 8110 | 11458 | 呼び出しが使われました。 |
| 8111 | 11459 | パーサーはあなたが本当に演算子を使おうとしていると仮定しますが、 |
| 8112 | 11460 | これは大抵正しくありません。 |
| 8113 | 11461 | 例えば、"*foo *foo" とすると、"*foo * 'foo'" としたとして解釈されます。 |
| 8114 | 11462 | |
| 11463 | =item Optional parameter lacks default expression | |
| 11464 | ||
| 11465 | =begin original | |
| 11466 | ||
| 11467 | (F) In a subroutine signature, you wrote something like "$x =", making a | |
| 11468 | named optional parameter without a default value. A nameless optional | |
| 11469 | parameter is permitted to have no default value, but a named one must | |
| 11470 | have a specific default. You probably want "$x = undef". | |
| 11471 | ||
| 11472 | =end original | |
| 11473 | ||
| 11474 | (F) サブルーチンシグネチャで、"$a =" のような、デフォルト値のない名前付き | |
| 11475 | オプション引数を書きました。 | |
| 11476 | 無名オプション引数はデフォルト値を持たないことを許されていますが、 | |
| 11477 | 名前付きのものはデフォルトを指定しなければなりません。 | |
| 11478 | おそらく "$x = undef" としたかったのでしょう。 | |
| 11479 | ||
| 8115 | 11480 | =item "our" variable %s redeclared |
| 8116 | 11481 | |
| 8117 | 11482 | =begin original |
| 8118 | 11483 | |
| 8119 | (W | |
| 11484 | (W shadow) You seem to have already declared the same global once before | |
| 8120 | 11485 | in the current lexical scope. |
| 8121 | 11486 | |
| 8122 | 11487 | =end original |
| 8123 | 11488 | |
| 8124 | (W | |
| 11489 | (W shadow) 現在のレキシカルスコープで、既に同じ名前のグローバル変数を | |
| 8125 | 11490 | 宣言しているようです。 |
| 8126 | 11491 | |
| 8127 | 11492 | =item Out of memory! |
| 8128 | 11493 | |
| 8129 | 11494 | =begin original |
| 8130 | 11495 | |
| 8131 | 11496 | (X) The malloc() function returned 0, indicating there was insufficient |
| 8132 | 11497 | remaining memory (or virtual memory) to satisfy the request. Perl has |
| 8133 | 11498 | no option but to exit immediately. |
| 8134 | 11499 | |
| 8135 | 11500 | =end original |
| 8136 | 11501 | |
| 8137 | 11502 | (X) 要求を満たすだけの、十分な残メモリ (または、仮想メモリ) が |
| 8138 | 11503 | 取得できないことを示す、0 を malloc() 関数が返しました。 |
| 8139 | 11504 | Perl は直ちに終了するしかありませんでした。 |
| 8140 | 11505 | |
| 8141 | 11506 | =begin original |
| 8142 | 11507 | |
| 8143 | 11508 | At least in Unix you may be able to get past this by increasing your |
| 8144 | 11509 | process datasize limits: in csh/tcsh use C<limit> and |
| 8145 | 11510 | C<limit datasize n> (where C<n> is the number of kilobytes) to check |
| 8146 | 11511 | the current limits and change them, and in ksh/bash/zsh use C<ulimit -a> |
| 8147 | 11512 | and C<ulimit -d n>, respectively. |
| 8148 | 11513 | |
| 8149 | 11514 | =end original |
| 8150 | 11515 | |
| 8151 | 11516 | 少なくとも Unix ではプロセスのデータサイズ制限を増やすことによって |
| 8152 | 11517 | これを回避することが可能です: |
| 8153 | 11518 | csh/tcsh では現在の制限を調べるのに C<limit> を、これを変更するには |
| 8154 | 11519 | C<limit datasize n> (ここで C<n> はキロバイト単位) を使ってください; |
| 8155 | 11520 | ksh/bash/zsh ではそれぞれ C<ulimit -a> と C<ulimit -d n> を使ってください。 |
| 8156 | 11521 | |
| 8157 | 11522 | =item Out of memory during %s extend |
| 8158 | 11523 | |
| 8159 | 11524 | =begin original |
| 8160 | 11525 | |
| 8161 | 11526 | (X) An attempt was made to extend an array, a list, or a string beyond |
| 8162 | 11527 | the largest possible memory allocation. |
| 8163 | 11528 | |
| 8164 | 11529 | =end original |
| 8165 | 11530 | |
| 8166 | 11531 | (X) 確保可能な最大メモリを越えて配列、リスト、文字列を拡張しようとしました。 |
| 8167 | 11532 | |
| 8168 | 11533 | =item Out of memory during "large" request for %s |
| 8169 | 11534 | |
| 8170 | 11535 | =begin original |
| 8171 | 11536 | |
| 8172 | 11537 | (F) The malloc() function returned 0, indicating there was insufficient |
| 8173 | 11538 | remaining memory (or virtual memory) to satisfy the request. However, |
| 8174 | 11539 | the request was judged large enough (compile-time default is 64K), so a |
| 8175 | 11540 | possibility to shut down by trapping this error is granted. |
| 8176 | 11541 | |
| 8177 | 11542 | =end original |
| 8178 | 11543 | |
| 8179 | 11544 | (F) malloc() 関数が 0 を返しました; これは要求を満たすメモリ |
| 8180 | 11545 | (または仮想メモリ)が不十分であることを示しています。 |
| 8181 | 11546 | しかし、要求が十分大きい(コンパイル時のデフォルトは 64K)ので、 |
| 8182 | 11547 | このエラーをトラップすることでシャットダウンできる可能性があります。 |
| 8183 | 11548 | |
| 8184 | 11549 | =item Out of memory during request for %s |
| 8185 | 11550 | |
| 8186 | 11551 | =begin original |
| 8187 | 11552 | |
| 8188 | 11553 | (X)(F) The malloc() function returned 0, indicating there was |
| 8189 | 11554 | insufficient remaining memory (or virtual memory) to satisfy the |
| 8190 | 11555 | request. |
| 8191 | 11556 | |
| 8192 | 11557 | =end original |
| 8193 | 11558 | |
| 8194 | 11559 | (X)(F) malloc() 関数が 0 を返しました; これは要求を満たすメモリ |
| 8195 | 11560 | (または仮想メモリ)が不十分であることを示しています。 |
| 8196 | 11561 | |
| 8197 | 11562 | =begin original |
| 8198 | 11563 | |
| 8199 | 11564 | The request was judged to be small, so the possibility to trap it |
| 8200 | 11565 | depends on the way perl was compiled. By default it is not trappable. |
| 8201 | 11566 | However, if compiled for this, Perl may use the contents of C<$^M> as an |
| 8202 | 11567 | emergency pool after die()ing with this message. In this case the error |
| 8203 | 11568 | is trappable I<once>, and the error message will include the line and file |
| 8204 | 11569 | where the failed request happened. |
| 8205 | 11570 | |
| 8206 | 11571 | =end original |
| 8207 | 11572 | |
| 8208 | 11573 | 要求は小さいものと判定されたので、これをトラップできる確率は perl が |
| 8209 | 11574 | どのようにコンパイルされたかに依存します。 |
| 8210 | 11575 | デフォルトではこれはトラップできません。 |
| 8211 | 11576 | しかし、もしこのためにコンパイルすると、Perl はこのメッセージと共に |
| 8212 | 11577 | die() した後の非常用エリアとして C<$^M> の内容を使います。 |
| 8213 | 11578 | この場合エラーは I<一度だけ> トラップ可能で、エラーメッセージは失敗した |
| 8214 | 11579 | 要求が起きたファイルと行番号を含んでいます。 |
| 8215 | 11580 | |
| 8216 | 11581 | =item Out of memory during ridiculously large request |
| 8217 | 11582 | |
| 8218 | 11583 | =begin original |
| 8219 | 11584 | |
| 8220 | 11585 | (F) You can't allocate more than 2^31+"small amount" bytes. This error |
| 8221 | 11586 | is most likely to be caused by a typo in the Perl program. e.g., |
| 8222 | 11587 | C<$arr[time]> instead of C<$arr[$time]>. |
| 8223 | 11588 | |
| 8224 | 11589 | =end original |
| 8225 | 11590 | |
| 8226 | 11591 | (F) 2^31+「少量」バイト以上割り当てることはできません。 |
| 8227 | 11592 | このエラーはほとんどの場合 Perl プログラムのタイプミスが原因です。 |
| 8228 | 11593 | 例えば、C<$arr[$time]> の代わりに C<$arr[time]> のような。 |
| 8229 | 11594 | |
| 11595 | =item Out of memory during vec in lvalue context | |
| 11596 | ||
| 11597 | =begin original | |
| 11598 | ||
| 11599 | (F) An attempt was made to extend a string beyond the largest possible memory | |
| 11600 | allocation by assigning to C<vec()> called with a large second argument. | |
| 11601 | ||
| 11602 | =end original | |
| 11603 | ||
| 11604 | (F) 大きな 2 番目の引数で呼び出された C<vec()> に代入することによって、 | |
| 11605 | 可能な最大のメモリ割り当てを超えて文字列を拡張しようとしました。 | |
| 11606 | ||
| 8230 | 11607 | =item Out of memory for yacc stack |
| 8231 | 11608 | |
| 8232 | 11609 | =begin original |
| 8233 | 11610 | |
| 8234 | 11611 | (F) The yacc parser wanted to grow its stack so it could continue |
| 8235 | 11612 | parsing, but realloc() wouldn't give it more memory, virtual or |
| 8236 | 11613 | otherwise. |
| 8237 | 11614 | |
| 8238 | 11615 | =end original |
| 8239 | 11616 | |
| 8240 | 11617 | (F) yacc パーサーが解析を続けるために、スタックを広げようとしましたが、 |
| 8241 | 11618 | realloc() が仮想やその他のメモリを確保できませんでした。 |
| 8242 | 11619 | |
| 11620 | =item Out of memory in perl:%s | |
| 11621 | ||
| 11622 | =begin original | |
| 11623 | ||
| 11624 | (X) A low-level memory allocation routine failed, indicating there was | |
| 11625 | insufficient remaining (virtual) memory to satisfy the request. Perl has no | |
| 11626 | option but to exit immediately. | |
| 11627 | ||
| 11628 | =end original | |
| 11629 | ||
| 11630 | (X) 低レベルのメモリ割り当てルーチンが失敗しました; | |
| 11631 | これは、要求を満たすのに十分な(仮想)メモリが残っていないことを | |
| 11632 | 示しています。 | |
| 11633 | Perl には、すぐに終了する以外の選択肢はありません。 | |
| 11634 | ||
| 11635 | =begin original | |
| 11636 | ||
| 11637 | At least in Unix you may be able to get past this by increasing your process | |
| 11638 | datasize limits: in csh/tcsh use C<limit> and C<limit datasize n> (where C<n> | |
| 11639 | is the number of kilobytes) to check the current limits and change them, and in | |
| 11640 | ksh/bash/zsh use C<ulimit -a> and C<ulimit -d n>, respectively. | |
| 11641 | ||
| 11642 | =end original | |
| 11643 | ||
| 11644 | 少なくとも Unix では、プロセスのデータサイズの制限を増やすことでこの問題を | |
| 11645 | 解決できるかもしれません: | |
| 11646 | csh/tcsh では現在の制限のチェックと変更に C<limit> と C<limit datasize n> | |
| 11647 | (C<n> はキロバイト数)を使い、ksh/bash/zshではそれぞれC<ulimit -a> と | |
| 11648 | C<ulimit -d n> を使います。 | |
| 11649 | ||
| 8243 | 11650 | =item '.' outside of string in pack |
| 8244 | 11651 | |
| 8245 | 11652 | =begin original |
| 8246 | 11653 | |
| 8247 | 11654 | (F) The argument to a '.' in your template tried to move the working |
| 8248 | 11655 | position to before the start of the packed string being built. |
| 8249 | 11656 | |
| 8250 | 11657 | =end original |
| 8251 | 11658 | |
| 8252 | 11659 | (F) テンプレートでの '.' の引数として、pack された文字列が構築されたよりも |
| 8253 | 11660 | 前に作業位置を移動しようとしました。 |
| 8254 | 11661 | |
| 8255 | 11662 | =item '@' outside of string in unpack |
| 8256 | 11663 | |
| 8257 | 11664 | =begin original |
| 8258 | 11665 | |
| 8259 | 11666 | (F) You had a template that specified an absolute position outside |
| 8260 | 11667 | the string being unpacked. See L<perlfunc/pack>. |
| 8261 | 11668 | |
| 8262 | 11669 | =end original |
| 8263 | 11670 | |
| 8264 | 11671 | (F) unpack される文字列の外に絶対位置指定している、 |
| 8265 | 11672 | テンプレートを指定しました。 |
| 8266 | 11673 | L<perlfunc/pack> を参照してください。 |
| 8267 | 11674 | |
| 8268 | 11675 | =item '@' outside of string with malformed UTF-8 in unpack |
| 8269 | 11676 | |
| 8270 | 11677 | =begin original |
| 8271 | 11678 | |
| 8272 | 11679 | (F) You had a template that specified an absolute position outside |
| 8273 | 11680 | the string being unpacked. The string being unpacked was also invalid |
| 8274 | 11681 | UTF-8. See L<perlfunc/pack>. |
| 8275 | 11682 | |
| 8276 | 11683 | =end original |
| 8277 | 11684 | |
| 8278 | 11685 | (F) unpack される文字列の外に絶対位置指定している、 |
| 8279 | 11686 | テンプレートを指定しました。 |
| 8280 | 11687 | unpack された文字列は不正な UTF-8 でもあります。 |
| 8281 | 11688 | L<perlfunc/pack> を参照してください。 |
| 8282 | 11689 | |
| 8283 | 11690 | =item overload arg '%s' is invalid |
| 8284 | 11691 | |
| 8285 | 11692 | =begin original |
| 8286 | 11693 | |
| 8287 | 11694 | (W overload) The L<overload> pragma was passed an argument it did not |
| 8288 | 11695 | recognize. Did you mistype an operator? |
| 8289 | 11696 | |
| 8290 | 11697 | =end original |
| 8291 | 11698 | |
| 8292 | 11699 | (W overload) L<overload> プラグマに、認識できない引数が渡されました。 |
| 8293 | 11700 | 演算子をタイプミスしましたか? |
| 8294 | 11701 | |
| 8295 | 11702 | =item Overloaded dereference did not return a reference |
| 8296 | 11703 | |
| 8297 | 11704 | =begin original |
| 8298 | 11705 | |
| 8299 | 11706 | (F) An object with an overloaded dereference operator was dereferenced, |
| 8300 | 11707 | but the overloaded operation did not return a reference. See |
| 8301 | 11708 | L<overload>. |
| 8302 | 11709 | |
| 8303 | 11710 | =end original |
| 8304 | 11711 | |
| 8305 | 11712 | (F) オーバーロードされたデリファレンス演算子のオブジェクトが |
| 8306 | 11713 | デリファレンスされましたが、オーバーロード演算がリファレンスを |
| 8307 | 11714 | 返しませんでした。 |
| 8308 | 11715 | L<overload> を参照してください。 |
| 8309 | 11716 | |
| 8310 | 11717 | =item Overloaded qr did not return a REGEXP |
| 8311 | 11718 | |
| 8312 | 11719 | =begin original |
| 8313 | 11720 | |
| 8314 | 11721 | (F) An object with a C<qr> overload was used as part of a match, but the |
| 8315 | 11722 | overloaded operation didn't return a compiled regexp. See L<overload>. |
| 8316 | 11723 | |
| 8317 | 11724 | =end original |
| 8318 | 11725 | |
| 8319 | 11726 | (F) C<qr> をオーバーロードしたオブジェクトがマッチングの一部として |
| 8320 | 11727 | 使われましたが、オーバーロード演算がコンパイルされた正規表現を |
| 8321 | 11728 | 返しませんでした。 |
| 8322 | 11729 | L<overload> を参照してください。 |
| 8323 | 11730 | |
| 8324 | 11731 | =item %s package attribute may clash with future reserved word: %s |
| 8325 | 11732 | |
| 8326 | 11733 | =begin original |
| 8327 | 11734 | |
| 8328 | 11735 | (W reserved) A lowercase attribute name was used that had a |
| 8329 | 11736 | package-specific handler. That name might have a meaning to Perl itself |
| 8330 | 11737 | some day, even though it doesn't yet. Perhaps you should use a |
| 8331 | 11738 | mixed-case attribute name, instead. See L<attributes>. |
| 8332 | 11739 | |
| 8333 | 11740 | =end original |
| 8334 | 11741 | |
| 8335 | 11742 | (W reserved) パッケージ固有のハンドラが、小文字の属性名を使っています。 |
| 8336 | 11743 | この名前は、たとえ今は使っていなくても、 Perl 自身がいつか使うかもしれません。 |
| 8337 | 11744 | おそらく代わりに大文字小文字の混じった属性名を使うべきでしょう。 |
| 8338 | 11745 | L<attributes> を参照してください。 |
| 8339 | 11746 | |
| 8340 | 11747 | =item pack/unpack repeat count overflow |
| 8341 | 11748 | |
| 8342 | 11749 | =begin original |
| 8343 | 11750 | |
| 8344 | 11751 | (F) You can't specify a repeat count so large that it overflows your |
| 8345 | 11752 | signed integers. See L<perlfunc/pack>. |
| 8346 | 11753 | |
| 8347 | 11754 | =end original |
| 8348 | 11755 | |
| 8349 | 11756 | (F) 繰り返し回数として符号付き整数をオーバーフローするような |
| 8350 | 11757 | 値は指定できません。 |
| 8351 | 11758 | L<perlfunc/pack> を参照してください。 |
| 8352 | 11759 | |
| 8353 | 11760 | =item page overflow |
| 8354 | 11761 | |
| 8355 | 11762 | =begin original |
| 8356 | 11763 | |
| 8357 | 11764 | (W io) A single call to write() produced more lines than can fit on a |
| 8358 | 11765 | page. See L<perlform>. |
| 8359 | 11766 | |
| 8360 | 11767 | =end original |
| 8361 | 11768 | |
| 8362 | 11769 | (W io) write() の 1 度の呼び出しで、1 ページに収まるより多くの行が |
| 8363 | 11770 | できました。 |
| 8364 | 11771 | L<perlform> を参照してください。 |
| 8365 | 11772 | |
| 8366 | 11773 | =item panic: %s |
| 8367 | 11774 | |
| 8368 | 11775 | =begin original |
| 8369 | 11776 | |
| 8370 | 11777 | (P) An internal error. |
| 8371 | 11778 | |
| 8372 | 11779 | =end original |
| 8373 | 11780 | |
| 8374 | 11781 | (P) 内部エラーです。 |
| 8375 | 11782 | |
| 8376 | 11783 | =item panic: attempt to call %s in %s |
| 8377 | 11784 | |
| 8378 | 11785 | =begin original |
| 8379 | 11786 | |
| 8380 | 11787 | (P) One of the file test operators entered a code branch that calls |
| 8381 | 11788 | an ACL related-function, but that function is not available on this |
| 8382 | 11789 | platform. Earlier checks mean that it should not be possible to |
| 8383 | 11790 | enter this branch on this platform. |
| 8384 | 11791 | |
| 8385 | 11792 | =end original |
| 8386 | 11793 | |
| 8387 | 11794 | (P) ファイルテスト演算子の一つが ACL 関連関数を呼び出すコード分岐に |
| 8388 | 11795 | 入りましたが、この関数はこのプラットフォームでは利用できません。 |
| 8389 | 11796 | より早いチェックは、このプラットフォームのこの分岐に入ることがないように |
| 8390 | 11797 | するべきことを意味します。 |
| 8391 | 11798 | |
| 8392 | =item panic: c | |
| 11799 | =item panic: child pseudo-process was never scheduled | |
| 8393 | 11800 | |
| 8394 | 11801 | =begin original |
| 8395 | 11802 | |
| 8396 | (P) | |
| 11803 | (P) A child pseudo-process in the ithreads implementation on Windows | |
| 11804 | was not scheduled within the time period allowed and therefore was not | |
| 11805 | able to initialize properly. | |
| 8397 | 11806 | |
| 8398 | 11807 | =end original |
| 8399 | 11808 | |
| 8400 | (P) | |
| 11809 | (P) Windowsでのiスレッド実装の子疑似プロセスが許された時間間隔の間に | |
| 8401 | ||
| 11810 | スケジューリングされなかったので、適切に初期化されなかった可能性があります。 | |
| 8402 | 11811 | |
| 8403 | =item panic: ck_ | |
| 11812 | =item panic: ck_grep, type=%u | |
| 8404 | 11813 | |
| 8405 | 11814 | =begin original |
| 8406 | 11815 | |
| 8407 | (P) Failed an internal consistency check trying to compile a | |
| 11816 | (P) Failed an internal consistency check trying to compile a grep. | |
| 8408 | 11817 | |
| 8409 | 11818 | =end original |
| 8410 | 11819 | |
| 8411 | (P) | |
| 11820 | (P) grep をコンパイルしようとして、内部の一貫性チェックに | |
| 8412 | 11821 | 引っ掛かりました。 |
| 8413 | 11822 | |
| 8414 | 11823 | =item panic: corrupt saved stack index %ld |
| 8415 | 11824 | |
| 8416 | 11825 | =begin original |
| 8417 | 11826 | |
| 8418 | 11827 | (P) The savestack was requested to restore more localized values than |
| 8419 | 11828 | there are in the savestack. |
| 8420 | 11829 | |
| 8421 | 11830 | =end original |
| 8422 | 11831 | |
| 8423 | 11832 | (P) セーブスタックにある以上のローカル化した値を元に戻す |
| 8424 | 11833 | 要求がありました。 |
| 8425 | 11834 | |
| 8426 | 11835 | =item panic: del_backref |
| 8427 | 11836 | |
| 8428 | 11837 | =begin original |
| 8429 | 11838 | |
| 8430 | 11839 | (P) Failed an internal consistency check while trying to reset a weak |
| 8431 | 11840 | reference. |
| 8432 | 11841 | |
| 8433 | 11842 | =end original |
| 8434 | 11843 | |
| 8435 | 11844 | (P) 弱いリファレンスをリセットしようとしたときに内部の |
| 8436 | 11845 | 一貫性チェックに引っ掛かりました。 |
| 8437 | 11846 | |
| 8438 | =item panic: die %s | |
| 8439 | ||
| 8440 | =begin original | |
| 8441 | ||
| 8442 | (P) We popped the context stack to an eval context, and then discovered | |
| 8443 | it wasn't an eval context. | |
| 8444 | ||
| 8445 | =end original | |
| 8446 | ||
| 8447 | (P) eval コンテキストへコンテキストスタックをポップしたあと、 | |
| 8448 | eval コンテキストでないことがわかりました。 | |
| 8449 | ||
| 8450 | =item panic: do_subst | |
| 8451 | ||
| 8452 | =begin original | |
| 8453 | ||
| 8454 | (P) The internal pp_subst() routine was called with invalid operational | |
| 8455 | data. | |
| 8456 | ||
| 8457 | =end original | |
| 8458 | ||
| 8459 | (P) 内部の pp_subst() ルーティンが、無効な省略可能データを | |
| 8460 | 付けて呼ばれました。 | |
| 8461 | ||
| 8462 | =item panic: do_trans_%s | |
| 8463 | ||
| 8464 | =begin original | |
| 8465 | ||
| 8466 | (P) The internal do_trans routines were called with invalid operational | |
| 8467 | data. | |
| 8468 | ||
| 8469 | =end original | |
| 8470 | ||
| 8471 | (P) 内部の pp_trans ルーティンが、無効な省略可能データを | |
| 8472 | 付けて呼ばれました。 | |
| 8473 | ||
| 8474 | 11847 | =item panic: fold_constants JMPENV_PUSH returned %d |
| 8475 | 11848 | |
| 8476 | 11849 | =begin original |
| 8477 | 11850 | |
| 8478 | 11851 | (P) While attempting folding constants an exception other than an C<eval> |
| 8479 | 11852 | failure was caught. |
| 8480 | 11853 | |
| 8481 | 11854 | =end original |
| 8482 | 11855 | |
| 8483 | 11856 | (P) 定数の畳み込みを実行中に C<eval> 失敗以外の例外が捕捉されました。 |
| 8484 | 11857 | |
| 8485 | =item panic: frexp | |
| 11858 | =item panic: frexp: %f | |
| 8486 | 11859 | |
| 8487 | 11860 | =begin original |
| 8488 | 11861 | |
| 8489 | 11862 | (P) The library function frexp() failed, making printf("%f") impossible. |
| 8490 | 11863 | |
| 8491 | 11864 | =end original |
| 8492 | 11865 | |
| 8493 | 11866 | (P) ライブラリ関数 frexp() が失敗したので、printf("%f") ができません。 |
| 8494 | 11867 | |
| 8495 | 11868 | =item panic: goto, type=%u, ix=%ld |
| 8496 | 11869 | |
| 8497 | 11870 | =begin original |
| 8498 | 11871 | |
| 8499 | 11872 | (P) We popped the context stack to a context with the specified label, |
| 8500 | 11873 | and then discovered it wasn't a context we know how to do a goto in. |
| 8501 | 11874 | |
| 8502 | 11875 | =end original |
| 8503 | 11876 | |
| 8504 | 11877 | (P) 指定したラベルを伴うコンテキストへコンテキストスタックを |
| 8505 | 11878 | ポップしたあと、どのように goto するかがわかっている |
| 8506 | 11879 | コンテキストでないことがわかりました。 |
| 8507 | 11880 | |
| 8508 | 11881 | =item panic: gp_free failed to free glob pointer |
| 8509 | 11882 | |
| 8510 | 11883 | =begin original |
| 8511 | 11884 | |
| 8512 | 11885 | (P) The internal routine used to clear a typeglob's entries tried |
| 8513 | 11886 | repeatedly, but each time something re-created entries in the glob. |
| 8514 | 11887 | Most likely the glob contains an object with a reference back to |
| 8515 | 11888 | the glob and a destructor that adds a new object to the glob. |
| 8516 | 11889 | |
| 8517 | 11890 | =end original |
| 8518 | 11891 | |
| 8519 | 11892 | (P) 型グロブのエントリをクリアするために使われる内部ルーチンが複数回 |
| 8520 | 11893 | 試しましたが、毎回何かがグロブにエントリを再作成しました。 |
| 8521 | 11894 | おそらくグロブにそのグロブへのリファレンスと、グロブへの新しいオブジェクトを |
| 8522 | 11895 | 追加するデストラクタを持つオブジェクトが含まれています。 |
| 8523 | 11896 | |
| 8524 | 11897 | =item panic: INTERPCASEMOD, %s |
| 8525 | 11898 | |
| 8526 | 11899 | =begin original |
| 8527 | 11900 | |
| 8528 | 11901 | (P) The lexer got into a bad state at a case modifier. |
| 8529 | 11902 | |
| 8530 | 11903 | =end original |
| 8531 | 11904 | |
| 8532 | 11905 | (P) 大文字小文字修飾子のところで、字句解析部がおかしな状態に陥りました。 |
| 8533 | 11906 | |
| 8534 | 11907 | =item panic: INTERPCONCAT, %s |
| 8535 | 11908 | |
| 8536 | 11909 | =begin original |
| 8537 | 11910 | |
| 8538 | 11911 | (P) The lexer got into a bad state parsing a string with brackets. |
| 8539 | 11912 | |
| 8540 | 11913 | =end original |
| 8541 | 11914 | |
| 8542 | 11915 | (P) 中かっこを伴う文字列を解析中に、字句解析部がおかしな状態に陥りました。 |
| 8543 | 11916 | |
| 8544 | 11917 | =item panic: kid popen errno read |
| 8545 | 11918 | |
| 8546 | 11919 | =begin original |
| 8547 | 11920 | |
| 8548 | (F) forked child returned an incomprehensible message about its errno. | |
| 11921 | (F) A forked child returned an incomprehensible message about its errno. | |
| 8549 | 11922 | |
| 8550 | 11923 | =end original |
| 8551 | 11924 | |
| 8552 | 11925 | (F) fork した子プロセスが errno に関して不完全なメッセージを返しました。 |
| 8553 | 11926 | |
| 8554 | =item panic: last, type=%u | |
| 8555 | ||
| 8556 | =begin original | |
| 8557 | ||
| 8558 | (P) We popped the context stack to a block context, and then discovered | |
| 8559 | it wasn't a block context. | |
| 8560 | ||
| 8561 | =end original | |
| 8562 | ||
| 8563 | (P) block コンテキストへコンテキストスタックをポップしたあと、 | |
| 8564 | block コンテキストでないことがわかりました。 | |
| 8565 | ||
| 8566 | =item panic: leave_scope clearsv | |
| 8567 | ||
| 8568 | =begin original | |
| 8569 | ||
| 8570 | (P) A writable lexical variable became read-only somehow within the | |
| 8571 | scope. | |
| 8572 | ||
| 8573 | =end original | |
| 8574 | ||
| 8575 | (P) 書き込み可能な字句スコープ変数が、どういうわけか、スコープ内で | |
| 8576 | リードオンリーになりました。 | |
| 8577 | ||
| 8578 | 11927 | =item panic: leave_scope inconsistency %u |
| 8579 | 11928 | |
| 8580 | 11929 | =begin original |
| 8581 | 11930 | |
| 8582 | 11931 | (P) The savestack probably got out of sync. At least, there was an |
| 8583 | 11932 | invalid enum on the top of it. |
| 8584 | 11933 | |
| 8585 | 11934 | =end original |
| 8586 | 11935 | |
| 8587 | 11936 | (P) おそらく、セーブスタックの同期がとれていません。 |
| 8588 | 11937 | 少なくとも、トップに不正な enum がありました。 |
| 8589 | 11938 | |
| 8590 | 11939 | =item panic: magic_killbackrefs |
| 8591 | 11940 | |
| 8592 | 11941 | =begin original |
| 8593 | 11942 | |
| 8594 | 11943 | (P) Failed an internal consistency check while trying to reset all weak |
| 8595 | 11944 | references to an object. |
| 8596 | 11945 | |
| 8597 | 11946 | =end original |
| 8598 | 11947 | |
| 8599 | 11948 | (P) あるオブジェクトへの全ての弱い参照をリセットしようとした時に内部の |
| 8600 | 11949 | 一貫性チェックに引っ掛かりました。 |
| 8601 | 11950 | |
| 8602 | 11951 | =item panic: malloc, %s |
| 8603 | 11952 | |
| 8604 | 11953 | =begin original |
| 8605 | 11954 | |
| 8606 | 11955 | (P) Something requested a negative number of bytes of malloc. |
| 8607 | 11956 | |
| 8608 | 11957 | =end original |
| 8609 | 11958 | |
| 8610 | 11959 | (P) malloc に負のバイト数で要求が行なわれました。 |
| 8611 | 11960 | |
| 8612 | 11961 | =item panic: memory wrap |
| 8613 | 11962 | |
| 8614 | 11963 | =begin original |
| 8615 | 11964 | |
| 8616 | (P) Something tried to allocate more memory than possible | |
| 11965 | (P) Something tried to allocate either more memory than possible or a | |
| 11966 | negative amount. | |
| 8617 | 11967 | |
| 8618 | 11968 | =end original |
| 8619 | 11969 | |
| 8620 | (P) 何かが、確保可能な量を超えるメモリを確保しようとしました。 | |
| 11970 | (P) 何かが、確保可能な量を超える、または負の量のメモリを確保しようとしました。 | |
| 8621 | 11971 | |
| 11972 | =item panic: newFORLOOP, %s | |
| 11973 | ||
| 11974 | =begin original | |
| 11975 | ||
| 11976 | (P) The parser failed an internal consistency check while trying to parse | |
| 11977 | a C<foreach> loop. | |
| 11978 | ||
| 11979 | =end original | |
| 11980 | ||
| 11981 | (P) The parser failed an internal consistency check while trying to parse | |
| 11982 | a | |
| 11983 | パーサは、C<foreach> ループをパースしようとするときに、内部の | |
| 11984 | 一貫性チェックに失敗しました。 | |
| 11985 | ||
| 8622 | 11986 | =item panic: pad_alloc, %p!=%p |
| 8623 | 11987 | |
| 8624 | 11988 | =begin original |
| 8625 | 11989 | |
| 8626 | 11990 | (P) The compiler got confused about which scratch pad it was allocating |
| 8627 | 11991 | and freeing temporaries and lexicals from. |
| 8628 | 11992 | |
| 8629 | 11993 | =end original |
| 8630 | 11994 | |
| 8631 | 11995 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
| 8632 | 11996 | スクラッチパッドについて混乱しました。 |
| 8633 | 11997 | |
| 8634 | 11998 | =item panic: pad_free curpad, %p!=%p |
| 8635 | 11999 | |
| 8636 | 12000 | =begin original |
| 8637 | 12001 | |
| 8638 | 12002 | (P) The compiler got confused about which scratch pad it was allocating |
| 8639 | 12003 | and freeing temporaries and lexicals from. |
| 8640 | 12004 | |
| 8641 | 12005 | =end original |
| 8642 | 12006 | |
| 8643 | 12007 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
| 8644 | 12008 | スクラッチパッドについて混乱しました。 |
| 8645 | 12009 | |
| 8646 | 12010 | =item panic: pad_free po |
| 8647 | 12011 | |
| 8648 | 12012 | =begin original |
| 8649 | 12013 | |
| 8650 | (P) A | |
| 12014 | (P) A zero scratch pad offset was detected internally. An attempt was | |
| 12015 | made to free a target that had not been allocated to begin with. | |
| 8651 | 12016 | |
| 8652 | 12017 | =end original |
| 8653 | 12018 | |
| 8654 | (P) | |
| 12019 | (P) スクラッチパッドのオフセット 0 が、内部的に検出されました。 | |
| 12020 | 始めるために割り当てられていないターゲットを解放しようとしました。 | |
| 8655 | 12021 | |
| 8656 | 12022 | =item panic: pad_reset curpad, %p!=%p |
| 8657 | 12023 | |
| 8658 | 12024 | =begin original |
| 8659 | 12025 | |
| 8660 | 12026 | (P) The compiler got confused about which scratch pad it was allocating |
| 8661 | 12027 | and freeing temporaries and lexicals from. |
| 8662 | 12028 | |
| 8663 | 12029 | =end original |
| 8664 | 12030 | |
| 8665 | 12031 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
| 8666 | 12032 | スクラッチパッドについて混乱しました。 |
| 8667 | 12033 | |
| 8668 | 12034 | =item panic: pad_sv po |
| 8669 | 12035 | |
| 8670 | 12036 | =begin original |
| 8671 | 12037 | |
| 8672 | (P) A | |
| 12038 | (P) A zero scratch pad offset was detected internally. Most likely | |
| 12039 | an operator needed a target but that target had not been allocated | |
| 12040 | for whatever reason. | |
| 8673 | 12041 | |
| 8674 | 12042 | =end original |
| 8675 | 12043 | |
| 8676 | (P) | |
| 12044 | (P) スクラッチパッドのオフセット 0 が、内部的に検出されました。 | |
| 12045 | おそらく演算子がターゲットを必要としたけれどもターゲットが何らかの理由で | |
| 12046 | 割り当てられていません。 | |
| 8677 | 12047 | |
| 8678 | 12048 | =item panic: pad_swipe curpad, %p!=%p |
| 8679 | 12049 | |
| 8680 | 12050 | =begin original |
| 8681 | 12051 | |
| 8682 | 12052 | (P) The compiler got confused about which scratch pad it was allocating |
| 8683 | 12053 | and freeing temporaries and lexicals from. |
| 8684 | 12054 | |
| 8685 | 12055 | =end original |
| 8686 | 12056 | |
| 8687 | 12057 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
| 8688 | 12058 | スクラッチパッドについて混乱しました。 |
| 8689 | 12059 | |
| 8690 | 12060 | =item panic: pad_swipe po |
| 8691 | 12061 | |
| 8692 | 12062 | =begin original |
| 8693 | 12063 | |
| 8694 | 12064 | (P) An invalid scratch pad offset was detected internally. |
| 8695 | 12065 | |
| 8696 | 12066 | =end original |
| 8697 | 12067 | |
| 8698 | 12068 | (P) 不正なスクラッチパッドのオフセットが、内部的に検出されました。 |
| 8699 | 12069 | |
| 8700 | 12070 | =item panic: pp_iter, type=%u |
| 8701 | 12071 | |
| 8702 | 12072 | =begin original |
| 8703 | 12073 | |
| 8704 | 12074 | (P) The foreach iterator got called in a non-loop context frame. |
| 8705 | 12075 | |
| 8706 | 12076 | =end original |
| 8707 | 12077 | |
| 8708 | 12078 | (P) foreach の繰返し子が、ループ文脈以外のところで呼ばれました。 |
| 8709 | 12079 | |
| 8710 | 12080 | =item panic: pp_match%s |
| 8711 | 12081 | |
| 8712 | 12082 | =begin original |
| 8713 | 12083 | |
| 8714 | 12084 | (P) The internal pp_match() routine was called with invalid operational |
| 8715 | 12085 | data. |
| 8716 | 12086 | |
| 8717 | 12087 | =end original |
| 8718 | 12088 | |
| 8719 | 12089 | (P) 内部の pp_match() ルーティンが、無効な省略可能データを |
| 8720 | 12090 | 付けて呼ばれました。 |
| 8721 | 12091 | |
| 8722 | =item panic: pp_split, pm=%p, s=%p | |
| 8723 | ||
| 8724 | =begin original | |
| 8725 | ||
| 8726 | (P) Something terrible went wrong in setting up for the split. | |
| 8727 | ||
| 8728 | =end original | |
| 8729 | ||
| 8730 | (P) split の準備中に何かまずいことが起こってしまいました。 | |
| 8731 | ||
| 8732 | 12092 | =item panic: realloc, %s |
| 8733 | 12093 | |
| 8734 | 12094 | =begin original |
| 8735 | 12095 | |
| 8736 | 12096 | (P) Something requested a negative number of bytes of realloc. |
| 8737 | 12097 | |
| 8738 | 12098 | =end original |
| 8739 | 12099 | |
| 8740 | 12100 | (P) 何か、realloc に負のバイト数を要求したものがあります。 |
| 8741 | 12101 | |
| 8742 | 12102 | =item panic: reference miscount on nsv in sv_replace() (%d != 1) |
| 8743 | 12103 | |
| 8744 | 12104 | =begin original |
| 8745 | 12105 | |
| 8746 | 12106 | (P) The internal sv_replace() function was handed a new SV with a |
| 8747 | 12107 | reference count other than 1. |
| 8748 | 12108 | |
| 8749 | 12109 | =end original |
| 8750 | 12110 | |
| 8751 | 12111 | (P) 内部の sv_replace() 関数は、参照カウントが 1 でない新しい SV を |
| 8752 | 12112 | 扱いました。 |
| 8753 | 12113 | |
| 8754 | 12114 | =item panic: restartop in %s |
| 8755 | 12115 | |
| 8756 | 12116 | =begin original |
| 8757 | 12117 | |
| 8758 | 12118 | (P) Some internal routine requested a goto (or something like it), and |
| 8759 | 12119 | didn't supply the destination. |
| 8760 | 12120 | |
| 8761 | 12121 | =end original |
| 8762 | 12122 | |
| 8763 | 12123 | (P) 内部ルーティンから goto (または、同じようなもの) が |
| 8764 | 12124 | 要求されましたが、飛び先が与えれていません。 |
| 8765 | 12125 | |
| 8766 | 12126 | =item panic: return, type=%u |
| 8767 | 12127 | |
| 8768 | 12128 | =begin original |
| 8769 | 12129 | |
| 8770 | 12130 | (P) We popped the context stack to a subroutine or eval context, and |
| 8771 | 12131 | then discovered it wasn't a subroutine or eval context. |
| 8772 | 12132 | |
| 8773 | 12133 | =end original |
| 8774 | 12134 | |
| 8775 | 12135 | (P) サブルーチンコンテキストや eval コンテキストへ、 |
| 8776 | 12136 | コンテキストスタックをポップしたあと、サブルーチンコンテキストや |
| 8777 | 12137 | eval コンテキストでないことがわかりました。 |
| 8778 | 12138 | |
| 8779 | 12139 | =item panic: scan_num, %s |
| 8780 | 12140 | |
| 8781 | 12141 | =begin original |
| 8782 | 12142 | |
| 8783 | 12143 | (P) scan_num() got called on something that wasn't a number. |
| 8784 | 12144 | |
| 8785 | 12145 | =end original |
| 8786 | 12146 | |
| 8787 | 12147 | (P) scan_num() が、何か数字でないものに対して呼ばれました。 |
| 8788 | 12148 | |
| 12149 | =item panic: Sequence (?{...}): no code block found in regex m/%s/ | |
| 12150 | ||
| 12151 | =begin original | |
| 12152 | ||
| 12153 | (P) While compiling a pattern that has embedded (?{}) or (??{}) code | |
| 12154 | blocks, perl couldn't locate the code block that should have already been | |
| 12155 | seen and compiled by perl before control passed to the regex compiler. | |
| 12156 | ||
| 12157 | =end original | |
| 12158 | ||
| 12159 | (P) 組み込みの (?{}) や (??{}) コードブロックを持つパターンをコンパイル中に、 | |
| 12160 | 既に現れていて、正規表現コンパイラに制御を渡す前に perl によって | |
| 12161 | コンパイルされているコードブロックを発見できませんでした。 | |
| 12162 | ||
| 8789 | 12163 | =item panic: sv_chop %s |
| 8790 | 12164 | |
| 8791 | 12165 | =begin original |
| 8792 | 12166 | |
| 8793 | 12167 | (P) The sv_chop() routine was passed a position that is not within the |
| 8794 | 12168 | scalar's string buffer. |
| 8795 | 12169 | |
| 8796 | 12170 | =end original |
| 8797 | 12171 | |
| 8798 | 12172 | (P) sv_chop() ルーチンは、スカラの文字列バッファ内でない位置を |
| 8799 | 12173 | 渡されました。 |
| 8800 | 12174 | |
| 8801 | 12175 | =item panic: sv_insert, midend=%p, bigend=%p |
| 8802 | 12176 | |
| 8803 | 12177 | =begin original |
| 8804 | 12178 | |
| 8805 | 12179 | (P) The sv_insert() routine was told to remove more string than there |
| 8806 | 12180 | was string. |
| 8807 | 12181 | |
| 8808 | 12182 | =end original |
| 8809 | 12183 | |
| 8810 | 12184 | (P) sv_insert() ルーティンが、存在する以上の文字列を削除するように |
| 8811 | 12185 | 指示されました。 |
| 8812 | 12186 | |
| 8813 | =item panic: | |
| 12187 | =item panic: top_env | |
| 8814 | 12188 | |
| 8815 | 12189 | =begin original |
| 8816 | 12190 | |
| 8817 | (P) The i | |
| 12191 | (P) The compiler attempted to do a goto, or something weird like that. | |
| 8818 | In your current locale the returned transformation of the string "ab" is | |
| 8819 | shorter than that of the string "a", which makes no sense. | |
| 8820 | 12192 | |
| 8821 | 12193 | =end original |
| 8822 | 12194 | |
| 8823 | (P) | |
| 12195 | (P) コンパイラが、goto など妙なことを行なおうとしました。 | |
| 8824 | 現在のロケールでは、文字列 "ab" の変換で返されたものは 文字列 "a" の | |
| 8825 | 変換で返されたものよりも短いので、おかしいです。 | |
| 8826 | 12196 | |
| 8827 | =item panic: to | |
| 12197 | =item panic: unexpected constant lvalue entersub entry via type/targ %d:%d | |
| 8828 | 12198 | |
| 8829 | 12199 | =begin original |
| 8830 | 12200 | |
| 8831 | (P) | |
| 12201 | (P) When compiling a subroutine call in lvalue context, Perl failed an | |
| 12202 | internal consistency check. It encountered a malformed op tree. | |
| 8832 | 12203 | |
| 8833 | 12204 | =end original |
| 8834 | 12205 | |
| 8835 | (P) コンパイ | |
| 12206 | (P) 左辺値コンテキストでのサブルーチン呼び出しをコンパイルするときに、Perl は | |
| 12207 | 内部一貫性チェックに失敗しました。 | |
| 12208 | 不正な構文木に遭遇しました。 | |
| 8836 | 12209 | |
| 8837 | 12210 | =item panic: unimplemented op %s (#%d) called |
| 8838 | 12211 | |
| 8839 | 12212 | =begin original |
| 8840 | 12213 | |
| 8841 | 12214 | (P) The compiler is screwed up and attempted to use an op that isn't |
| 8842 | 12215 | permitted at run time. |
| 8843 | 12216 | |
| 8844 | 12217 | =end original |
| 8845 | 12218 | |
| 8846 | 12219 | (P) コンパイラがおかしくなって、実行時に許可されていない op を |
| 8847 | 12220 | しようとしました。 |
| 8848 | 12221 | |
| 12222 | =item panic: unknown OA_*: %x | |
| 12223 | ||
| 12224 | =begin original | |
| 12225 | ||
| 12226 | (P) The internal routine that handles arguments to C<&CORE::foo()> | |
| 12227 | subroutine calls was unable to determine what type of arguments | |
| 12228 | were expected. | |
| 12229 | ||
| 12230 | =end original | |
| 12231 | ||
| 12232 | (P) C<&CORE::foo()> サブルーチン呼び出しの引数を扱う内部ルーチンは、 | |
| 12233 | どの種類の引数が想定されているかを決定できませんでした。 | |
| 12234 | ||
| 8849 | 12235 | =item panic: utf16_to_utf8: odd bytelen |
| 8850 | 12236 | |
| 8851 | 12237 | =begin original |
| 8852 | 12238 | |
| 8853 | 12239 | (P) Something tried to call utf16_to_utf8 with an odd (as opposed |
| 8854 | 12240 | to even) byte length. |
| 8855 | 12241 | |
| 8856 | 12242 | =end original |
| 8857 | 12243 | |
| 8858 | 12244 | (P) 何かが(偶数ではなく)奇数のバイト長で utf16_to_utf8 を |
| 8859 | 12245 | 呼び出そうとしました。 |
| 8860 | 12246 | |
| 8861 | 12247 | =item panic: utf16_to_utf8_reversed: odd bytelen |
| 8862 | 12248 | |
| 8863 | 12249 | =begin original |
| 8864 | 12250 | |
| 8865 | 12251 | (P) Something tried to call utf16_to_utf8_reversed with an odd (as opposed |
| 8866 | 12252 | to even) byte length. |
| 8867 | 12253 | |
| 8868 | 12254 | =end original |
| 8869 | 12255 | |
| 8870 | 12256 | (P) 何かが utf16_to_utf8_reversed を奇数バイト長で呼び出そうとしました。 |
| 8871 | 12257 | |
| 8872 | 12258 | =item panic: yylex, %s |
| 8873 | 12259 | |
| 8874 | 12260 | =begin original |
| 8875 | 12261 | |
| 8876 | 12262 | (P) The lexer got into a bad state while processing a case modifier. |
| 8877 | 12263 | |
| 8878 | 12264 | =end original |
| 8879 | 12265 | |
| 8880 | 12266 | (P) 大文字小文字修飾子を処理中に、字句解析部がおかしな状態に陥りました。 |
| 8881 | 12267 | |
| 8882 | =item Par | |
| 12268 | =item Parentheses missing around "%s" list | |
| 8883 | 12269 | |
| 8884 | 12270 | =begin original |
| 8885 | 12271 | |
| 8886 | ( | |
| 12272 | (W parenthesis) You said something like | |
| 8887 | a detectable way. | |
| 8888 | 12273 | |
| 8889 | 12274 | =end original |
| 8890 | 12275 | |
| 8891 | ( | |
| 12276 | (W parenthesis) おそらく以下のようにしたのでしょう: | |
| 8892 | パーサの API に違反しています。 | |
| 8893 | 12277 | |
| 8894 | ||
| 12278 | my $foo, $bar = @_; | |
| 8895 | 12279 | |
| 8896 | 12280 | =begin original |
| 8897 | 12281 | |
| 8898 | ||
| 12282 | when you meant | |
| 8899 | consuming any text. Restructure the pattern so text is consumed before | |
| 8900 | the nesting limit is exceeded. | |
| 8901 | 12283 | |
| 8902 | 12284 | =end original |
| 8903 | 12285 | |
| 8904 | ||
| 12286 | 以下のようにすべきです: | |
| 8905 | パターンを使いました。 | |
| 8906 | ネストの制限を越える前にテキストを消費するようにパターンを | |
| 8907 | 再構成してください。 | |
| 8908 | 12287 | |
| 8909 | ||
| 12288 | my ($foo, $bar) = @_; | |
| 8910 | 12289 | |
| 8911 | The <-- HERE shows in the regular expression about where the problem was | |
| 8912 | discovered. | |
| 8913 | ||
| 8914 | =end original | |
| 8915 | ||
| 8916 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 8917 | ||
| 8918 | =item Parentheses missing around "%s" list | |
| 8919 | ||
| 8920 | 12290 | =begin original |
| 8921 | 12291 | |
| 8922 | ||
| 12292 | Remember that "my", "our", "local" and "state" bind tighter than comma. | |
| 8923 | 12293 | |
| 8924 | 12294 | =end original |
| 8925 | 12295 | |
| 8926 | ||
| 12296 | "my", "our", "local", "state" は、コンマよりも強く結合することを | |
| 12297 | 忘れないでください。 | |
| 8927 | 12298 | |
| 8928 | ||
| 12299 | =item Parsing code internal error (%s) | |
| 8929 | 12300 | |
| 8930 | 12301 | =begin original |
| 8931 | 12302 | |
| 8932 | ||
| 12303 | (F) Parsing code supplied by an extension violated the parser's API in | |
| 12304 | a detectable way. | |
| 8933 | 12305 | |
| 8934 | 12306 | =end original |
| 8935 | 12307 | |
| 8936 | ||
| 12308 | (F) エクステンションによって供給されたパースコードが、検出できる形で | |
| 12309 | パーサの API に違反しています。 | |
| 8937 | 12310 | |
| 8938 | | |
| 12311 | =item Pattern subroutine nesting without pos change exceeded limit in regex | |
| 8939 | 12312 | |
| 8940 | 12313 | =begin original |
| 8941 | 12314 | |
| 8942 | ||
| 12315 | (F) You used a pattern that uses too many nested subpattern calls without | |
| 12316 | consuming any text. Restructure the pattern so text is consumed before | |
| 12317 | the nesting limit is exceeded. | |
| 8943 | 12318 | |
| 8944 | 12319 | =end original |
| 8945 | 12320 | |
| 8946 | ||
| 12321 | (F) テキストを全く消費することなく、あまりに多くネストした副パターンを使う | |
| 8947 | ||
| 12322 | パターンを使いました。 | |
| 12323 | ネストの制限を越える前にテキストを消費するようにパターンを | |
| 12324 | 再構成してください。 | |
| 8948 | 12325 | |
| 8949 | 12326 | =item C<-p> destination: %s |
| 8950 | 12327 | |
| 8951 | 12328 | =begin original |
| 8952 | 12329 | |
| 8953 | 12330 | (F) An error occurred during the implicit output invoked by the C<-p> |
| 8954 | 12331 | command-line switch. (This output goes to STDOUT unless you've |
| 8955 | 12332 | redirected it with select().) |
| 8956 | 12333 | |
| 8957 | 12334 | =end original |
| 8958 | 12335 | |
| 8959 | 12336 | (F) C<-p> コマンドラインオプションで起動された |
| 8960 | 12337 | 暗黙の出力中にエラーが発生しました。 |
| 8961 | 12338 | (この出力は select() でリダイレクトしていない限り STDOUT に出力されます。) |
| 8962 | 12339 | |
| 8963 | =item | |
| 12340 | =item Perl API version %s of %s does not match %s | |
| 8964 | 12341 | |
| 8965 | 12342 | =begin original |
| 8966 | 12343 | |
| 8967 | (F) Th | |
| 12344 | (F) The XS module in question was compiled against a different incompatible | |
| 8968 | ||
| 12345 | version of Perl than the one that has loaded the XS module. | |
| 8969 | that a method requires a package that has not been loaded. | |
| 8970 | 12346 | |
| 8971 | 12347 | =end original |
| 8972 | 12348 | |
| 8973 | (F) こ | |
| 12349 | (F) この XS モジュールは、これを読み込んだ Perl とは互換性のないバージョンの | |
| 8974 | ||
| 12350 | Perl 用にコンパイルされたものです。 | |
| 8975 | これはしばしばメソッドがまだロードされていないパッケージを | |
| 8976 | 要求していることを意味します。 | |
| 8977 | 12351 | |
| 8978 | =item Perl folding rules are not up-to-date for 0x% | |
| 12352 | =item Perl folding rules are not up-to-date for 0x%X; please use the perlbug | |
| 12353 | utility to report; in regex; marked by S<<-- HERE> in m/%s/ | |
| 8979 | 12354 | |
| 8980 | 12355 | =begin original |
| 8981 | 12356 | |
| 8982 | ( | |
| 12357 | (S regexp) You used a regular expression with case-insensitive matching, | |
| 8983 | ||
| 12358 | and there is a bug in Perl in which the built-in regular expression | |
| 8984 | ||
| 12359 | folding rules are not accurate. This may lead to incorrect results. | |
| 8985 | ||
| 12360 | Please report this as a bug to L<https://github.com/Perl/perl5/issues/new/choose>. | |
| 8986 | "perlbug" utility. (This message is marked deprecated, so that it by | |
| 8987 | default will be turned-on.) | |
| 8988 | 12361 | |
| 8989 | 12362 | =end original |
| 8990 | 12363 | |
| 8991 | ( | |
| 12364 | (S regexp) 大文字小文字を無視するマッチングを行う正規表現を使いました; そして | |
| 8992 | ||
| 12365 | 組み込みの正規表現畳み込み規則が正確でないという Perl のバグがありました。 | |
| 8993 | Perl のバグがありました。 | |
| 8994 | 12366 | これは間違った結果を引き起こします。 |
| 8995 | どうか | |
| 12367 | どうか L<https://github.com/Perl/perl5/issues/new/choose> に | |
| 8996 | ||
| 12368 | バグとして報告してください。 | |
| 8997 | オンになっています。) | |
| 8998 | 12369 | |
| 8999 | 12370 | =item Perl_my_%s() not available |
| 9000 | 12371 | |
| 9001 | 12372 | =begin original |
| 9002 | 12373 | |
| 9003 | 12374 | (F) Your platform has very uncommon byte-order and integer size, |
| 9004 | 12375 | so it was not possible to set up some or all fixed-width byte-order |
| 9005 | 12376 | conversion functions. This is only a problem when you're using the |
| 9006 | 12377 | '<' or '>' modifiers in (un)pack templates. See L<perlfunc/pack>. |
| 9007 | 12378 | |
| 9008 | 12379 | =end original |
| 9009 | 12380 | |
| 9010 | 12381 | (F) あなたのプラットフォームはとても珍しいバイト順と整数サイズを |
| 9011 | 12382 | 使っているので、固定長バイト順変換関数の一部または全部を使うことができません。 |
| 9012 | 12383 | これは (un)pack テンプレートの中で |
| 9013 | 12384 | '<' か '>' の修飾子を使った場合にのみ問題となります。 |
| 9014 | 12385 | L<perlfunc/pack> を参照してください。 |
| 9015 | 12386 | |
| 9016 | 12387 | =item Perl %s required (did you mean %s?)--this is only %s, stopped |
| 9017 | 12388 | |
| 9018 | 12389 | =begin original |
| 9019 | 12390 | |
| 9020 | 12391 | (F) The code you are trying to run has asked for a newer version of |
| 9021 | 12392 | Perl than you are running. Perhaps C<use 5.10> was written instead |
| 9022 | 12393 | of C<use 5.010> or C<use v5.10>. Without the leading C<v>, the number is |
| 9023 | 12394 | interpreted as a decimal, with every three digits after the |
| 9024 | 12395 | decimal point representing a part of the version number. So 5.10 |
| 9025 | 12396 | is equivalent to v5.100. |
| 9026 | 12397 | |
| 9027 | 12398 | =end original |
| 9028 | 12399 | |
| 9029 | 12400 | (F) 実行しようとしたコードは、実行している Perl のバージョンよりも高いものを |
| 9030 | 12401 | 尋ねました。 |
| 9031 | 12402 | おそらく C<use 5.010> or C<use v5.10> ではなく C<use 5.10> と |
| 9032 | 12403 | 書かれているのでしょう。 |
| 9033 | 12404 | 先頭の C<v> がないと、数値は 10 進数で、小数点の後の 3 桁毎にバージョン番号の |
| 9034 | 12405 | 部分を表現していると解釈されます。 |
| 9035 | 12406 | それで、5.10 は v5.100 と等価です。 |
| 9036 | 12407 | |
| 9037 | =item Perl %s required--this is only | |
| 12408 | =item Perl %s required--this is only %s, stopped | |
| 9038 | 12409 | |
| 9039 | 12410 | =begin original |
| 9040 | 12411 | |
| 9041 | 12412 | (F) The module in question uses features of a version of Perl more |
| 9042 | 12413 | recent than the currently running version. How long has it been since |
| 9043 | 12414 | you upgraded, anyway? See L<perlfunc/require>. |
| 9044 | 12415 | |
| 9045 | 12416 | =end original |
| 9046 | 12417 | |
| 9047 | 12418 | (F) 問題のモジュールは、現在実行中の Perl よりも最近のバージョンの |
| 9048 | 12419 | 機能を使っています。 |
| 9049 | 12420 | ところで、いつからアップグレードしていないのですか? |
| 9050 | 12421 | L<perlfunc/require> を参照してください。 |
| 9051 | 12422 | |
| 9052 | 12423 | =item PERL_SH_DIR too long |
| 9053 | 12424 | |
| 9054 | 12425 | =begin original |
| 9055 | 12426 | |
| 9056 | 12427 | (F) An error peculiar to OS/2. PERL_SH_DIR is the directory to find the |
| 9057 | 12428 | C<sh>-shell in. See "PERL_SH_DIR" in L<perlos2>. |
| 9058 | 12429 | |
| 9059 | 12430 | =end original |
| 9060 | 12431 | |
| 9061 | 12432 | (F) OS/2 固有のエラーです。 |
| 9062 | 12433 | PERL_SH_DIR は C<sh>-shell を見つけるためのディレクトリです。 |
| 9063 | 12434 | L<perlos2> の "PERL_SH_DIR" を参照してください。 |
| 9064 | 12435 | |
| 9065 | 12436 | =item PERL_SIGNALS illegal: "%s" |
| 9066 | 12437 | |
| 9067 | 12438 | =begin original |
| 9068 | 12439 | |
| 9069 | See L<perlrun/PERL_SIGNALS> for legal values. | |
| 12440 | (X) See L<perlrun/PERL_SIGNALS> for legal values. | |
| 9070 | 12441 | |
| 9071 | 12442 | =end original |
| 9072 | 12443 | |
| 9073 | 有効な値については L<perlrun/PERL_SIGNALS> を参照してください。 | |
| 12444 | (X) 有効な値については L<perlrun/PERL_SIGNALS> を参照してください。 | |
| 9074 | 12445 | |
| 9075 | 12446 | =item Perls since %s too modern--this is %s, stopped |
| 9076 | 12447 | |
| 9077 | 12448 | =begin original |
| 9078 | 12449 | |
| 9079 | 12450 | (F) The code you are trying to run claims it will not run |
| 9080 | 12451 | on the version of Perl you are using because it is too new. |
| 9081 | 12452 | Maybe the code needs to be updated, or maybe it is simply |
| 9082 | 12453 | wrong and the version check should just be removed. |
| 9083 | 12454 | |
| 9084 | 12455 | =end original |
| 9085 | 12456 | |
| 9086 | 12457 | (F) 実行しようとしているコードは、使っている Perl のバージョンが新しすぎると |
| 9087 | 12458 | 主張しています。 |
| 9088 | 12459 | コードを更新する必要があるかもしれませんし、単に間違っていて単純に |
| 9089 | 12460 | バージョンチェックを削除するべきかもしれません。 |
| 9090 | 12461 | |
| 12462 | =item perl: warning: Non hex character in '$ENV{PERL_HASH_SEED}', seed only partially set | |
| 12463 | ||
| 12464 | =begin original | |
| 12465 | ||
| 12466 | (S) PERL_HASH_SEED should match /^\s*(?:0x)?[0-9a-fA-F]+\s*\z/ but it | |
| 12467 | contained a non hex character. This could mean you are not using the | |
| 12468 | hash seed you think you are. | |
| 12469 | ||
| 12470 | =end original | |
| 12471 | ||
| 12472 | (S) PERL_HASH_SEED は /^\s*(?:0x)?[0-9a-fA-F]+\s*\z/ にマッチングするけれども | |
| 12473 | 非 16 進数文字を含む必要があります。 | |
| 12474 | これは、考えているようなハッシュの種が使われないことを | |
| 12475 | 意味しているかもしれません。 | |
| 12476 | ||
| 9091 | 12477 | =item perl: warning: Setting locale failed. |
| 9092 | 12478 | |
| 9093 | 12479 | =begin original |
| 9094 | 12480 | |
| 9095 | 12481 | (S) The whole warning message will look something like: |
| 9096 | 12482 | |
| 9097 | 12483 | =end original |
| 9098 | 12484 | |
| 9099 | 12485 | (S) 警告全体は以下のような形になります: |
| 9100 | 12486 | |
| 9101 | 12487 | perl: warning: Setting locale failed. |
| 9102 | 12488 | perl: warning: Please check that your locale settings: |
| 9103 | 12489 | LC_ALL = "En_US", |
| 9104 | 12490 | LANG = (unset) |
| 9105 | 12491 | are supported and installed on your system. |
| 9106 | 12492 | perl: warning: Falling back to the standard locale ("C"). |
| 9107 | 12493 | |
| 9108 | 12494 | =begin original |
| 9109 | 12495 | |
| 9110 | 12496 | Exactly what were the failed locale settings varies. In the above the |
| 9111 | 12497 | settings were that the LC_ALL was "En_US" and the LANG had no value. |
| 9112 | 12498 | This error means that Perl detected that you and/or your operating |
| 9113 | 12499 | system supplier and/or system administrator have set up the so-called |
| 9114 | 12500 | locale system but Perl could not use those settings. This was not |
| 9115 | 12501 | dead serious, fortunately: there is a "default locale" called "C" that |
| 9116 | 12502 | Perl can and will use, and the script will be run. Before you really |
| 9117 | 12503 | fix the problem, however, you will get the same error message each |
| 9118 | 12504 | time you run Perl. How to really fix the problem can be found in |
| 9119 | 12505 | L<perllocale> section B<LOCALE PROBLEMS>. |
| 9120 | 12506 | |
| 9121 | 12507 | =end original |
| 9122 | 12508 | |
| 9123 | 12509 | 正確にどのロケール設定が失敗したのかは様々です。 |
| 9124 | 12510 | 上記では設定は LC_ALL は "En_US" で、LANG は空でした。 |
| 9125 | 12511 | このエラーは、あなたや OS 供給者やシステム管理者がロケールシステムと呼ばれる |
| 9126 | 12512 | ものをセットアップしましたが、Perl がこれらの設定を使えないことを |
| 9127 | 12513 | 検出したことを意味します。 |
| 9128 | 12514 | これは幸いにして致命的ではありません; Perl が使用できる "C" と呼ばれる |
| 9129 | 12515 | 「デフォルトロケール」が存在するので、スクリプトは実行されます。 |
| 9130 | 12516 | しかし、本当にこの問題を解決するまでは、Perl を実行する毎に同じエラー |
| 9131 | 12517 | メッセージが表示されます。 |
| 9132 | 12518 | 本当にこの問題を修正する方法は L<perllocale> の B<LOCALE PROBLEMS> の |
| 9133 | 12519 | 章にあります。 |
| 9134 | 12520 | |
| 12521 | =item perl: warning: strange setting in '$ENV{PERL_PERTURB_KEYS}': '%s' | |
| 12522 | ||
| 12523 | =begin original | |
| 12524 | ||
| 12525 | (S) Perl was run with the environment variable PERL_PERTURB_KEYS defined | |
| 12526 | but containing an unexpected value. The legal values of this setting | |
| 12527 | are as follows. | |
| 12528 | ||
| 12529 | =end original | |
| 12530 | ||
| 12531 | (S) 環境変数 PERL_PERTURB_KEYS が定義されている環境で Perl が実行されましたが | |
| 12532 | 想定外の値でした。 | |
| 12533 | この設定の正当な値は以下のものです。 | |
| 12534 | ||
| 12535 | Numeric | String | Result | |
| 12536 | --------+---------------+----------------------------------------- | |
| 12537 | 0 | NO | Disables key traversal randomization | |
| 12538 | 1 | RANDOM | Enables full key traversal randomization | |
| 12539 | 2 | DETERMINISTIC | Enables repeatable key traversal | |
| 12540 | | | randomization | |
| 12541 | ||
| 12542 | =begin original | |
| 12543 | ||
| 12544 | Both numeric and string values are accepted, but note that string values are | |
| 12545 | case sensitive. The default for this setting is "RANDOM" or 1. | |
| 12546 | ||
| 12547 | =end original | |
| 12548 | ||
| 12549 | 数値と文字列の値の両方が受け入れられますが、文字列の値は大文字小文字を | |
| 12550 | 区別することに注意してください。 | |
| 12551 | この設定のデフォルトは "RANDOM"、つまり 1 です。 | |
| 12552 | ||
| 9135 | 12553 | =item pid %x not a child |
| 9136 | 12554 | |
| 9137 | 12555 | =begin original |
| 9138 | 12556 | |
| 9139 | 12557 | (W exec) A warning peculiar to VMS. Waitpid() was asked to wait for a |
| 9140 | 12558 | process which isn't a subprocess of the current process. While this is |
| 9141 | 12559 | fine from VMS' perspective, it's probably not what you intended. |
| 9142 | 12560 | |
| 9143 | 12561 | =end original |
| 9144 | 12562 | |
| 9145 | 12563 | (W exec) VMS に固有の警告です。 |
| 9146 | 12564 | 現在のプロセスのサブプロセスでないプロセスに Waitpid() を使いました。 |
| 9147 | 12565 | これは VMS の観点からは問題ありませんが、おそらくあなたの望んでいることでは |
| 9148 | 12566 | ないでしょう。 |
| 9149 | 12567 | |
| 9150 | 12568 | =item 'P' must have an explicit size in unpack |
| 9151 | 12569 | |
| 9152 | 12570 | =begin original |
| 9153 | 12571 | |
| 9154 | 12572 | (F) The unpack format P must have an explicit size, not "*". |
| 9155 | 12573 | |
| 9156 | 12574 | =end original |
| 9157 | 12575 | |
| 9158 | 12576 | (F) unpack フォーマット P は "*" ではなく、明示的なサイズを |
| 9159 | 12577 | 指定しなければなりません。 |
| 9160 | 12578 | |
| 9161 | =item POSIX class [:%s:] unknown in regex; marked by <-- HERE in m/%s/ | |
| 12579 | =item POSIX class [:%s:] unknown in regex; marked by S<<-- HERE> in m/%s/ | |
| 9162 | 12580 | |
| 9163 | 12581 | =begin original |
| 9164 | 12582 | |
| 9165 | (F) The class in the character class [: :] syntax is unknown. The <-- HERE | |
| 12583 | (F) The class in the character class [: :] syntax is unknown. The S<<-- HERE> | |
| 9166 | shows in the regular expression | |
| 12584 | shows whereabouts in the regular expression the problem was discovered. | |
| 9167 | 12585 | Note that the POSIX character classes do B<not> have the C<is> prefix |
| 9168 | 12586 | the corresponding C interfaces have: in other words, it's C<[[:print:]]>, |
| 9169 | 12587 | not C<isprint>. See L<perlre>. |
| 9170 | 12588 | |
| 9171 | 12589 | =end original |
| 9172 | 12590 | |
| 9173 | 12591 | (F) 文字クラス [: :] 文法の中のクラスは不明です。 |
| 9174 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 12592 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 9175 | 12593 | POSIX 文字クラスは、対応する C インターフェースが持っている C<is> 接頭辞が |
| 9176 | 12594 | B<付かない> ことに注意してください: 言い換えると、C<[[:print:]]> であり、 |
| 9177 | 12595 | C<isprint> ではありません。 |
| 9178 | 12596 | L<perlre> を参照してください。 |
| 9179 | 12597 | |
| 9180 | 12598 | =item POSIX getpgrp can't take an argument |
| 9181 | 12599 | |
| 9182 | 12600 | =begin original |
| 9183 | 12601 | |
| 9184 | 12602 | (F) Your system has POSIX getpgrp(), which takes no argument, unlike |
| 9185 | 12603 | the BSD version, which takes a pid. |
| 9186 | 12604 | |
| 9187 | 12605 | =end original |
| 9188 | 12606 | |
| 9189 | 12607 | (F) お使いのシステムは、引数に pid をとる BSD バージョンの |
| 9190 | 12608 | getpgrp() と違って、引数をとらない POSIX のものを使っています。 |
| 9191 | 12609 | |
| 9192 | =item POSIX syntax [% | |
| 12610 | =item POSIX syntax [%c %c] belongs inside character classes%s in regex; marked by | |
| 12611 | S<<-- HERE> in m/%s/ | |
| 9193 | 12612 | |
| 9194 | 12613 | =begin original |
| 9195 | 12614 | |
| 9196 | (W regexp) | |
| 12615 | (W regexp) Perl thinks that you intended to write a POSIX character | |
| 9197 | ||
| 12616 | class, but didn't use enough brackets. These POSIX class constructs [: | |
| 9198 | ||
| 12617 | :], [= =], and [. .] go I<inside> character classes, the [] are part of | |
| 9199 | ||
| 12618 | the construct, for example: C<qr/[012[:alpha:]345]/>. What the regular | |
| 9200 | ||
| 12619 | expression pattern compiled to is probably not what you were intending. | |
| 9201 | ||
| 12620 | For example, C<qr/[:alpha:]/> compiles to a regular bracketed character | |
| 12621 | class consisting of the four characters C<":">, C<"a">, C<"l">, | |
| 12622 | C<"h">, and C<"p">. To specify the POSIX class, it should have been | |
| 12623 | written C<qr/[[:alpha:]]/>. | |
| 9202 | 12624 | |
| 9203 | 12625 | =end original |
| 9204 | 12626 | |
| 9205 | (W regexp) | |
| 12627 | (W regexp) Perl は、あなたが POSIX 文字クラスを書くことを意図していると | |
| 9206 | ||
| 12628 | 考えましたが、大かっこが足りませんでした。 | |
| 12629 | 例えば C<qr/[012[:alpha:]345]/> のように、POSIX クラス構造 | |
| 12630 | [: :], [= =], [. .] が文字クラスの I<内側> にあり、[] は構文の一部です。 | |
| 12631 | コンパイルされた正規表現パターンはおそらくあなたが意図したものでは | |
| 12632 | ないでしょう。 | |
| 12633 | 例えば、C<qr/[:alpha:]/> は、C<":">, C<"a">, C<"l">, C<"h">, C<"p"> の | |
| 12634 | 四つの文字からなる 正規表現大かっこ文字クラスにコンパイルされます。 | |
| 12635 | POSIX クラスを指定するには、C<qr/[[:alpha:]]/> と書く必要があります。 | |
| 12636 | ||
| 12637 | =begin original | |
| 12638 | ||
| 12639 | Note that [= =] and [. .] are not currently | |
| 12640 | implemented; they are simply placeholders for future extensions and | |
| 12641 | will cause fatal errors. The S<<-- HERE> shows whereabouts in the regular | |
| 12642 | expression the problem was discovered. See L<perlre>. | |
| 12643 | ||
| 12644 | =end original | |
| 12645 | ||
| 9207 | 12646 | [= =] と [. .] は現在のところ実装されていないことに注意してください; |
| 9208 | 12647 | これらは単に将来の拡張のためのプレースホルダであり、致命的エラーを |
| 9209 | 12648 | 生成します。 |
| 9210 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 12649 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 9211 | 12650 | L<perlre> を参照してください。 |
| 9212 | 12651 | |
| 9213 | = | |
| 12652 | =begin original | |
| 9214 | 12653 | |
| 12654 | If the specification of the class was not completely valid, the message | |
| 12655 | indicates that. | |
| 12656 | ||
| 12657 | =end original | |
| 12658 | ||
| 12659 | このクラスの仕様が完全に正当出ない場合、このメッセージはそれを示しています。 | |
| 12660 | ||
| 12661 | =item POSIX syntax [. .] is reserved for future extensions in regex; marked by | |
| 12662 | S<<-- HERE> in m/%s/ | |
| 12663 | ||
| 9215 | 12664 | =begin original |
| 9216 | 12665 | |
| 9217 | (F | |
| 12666 | (F) Within regular expression character classes ([]) the syntax beginning | |
| 9218 | ||
| 12667 | with "[." and ending with ".]" is reserved for future extensions. If you | |
| 9219 | ||
| 12668 | need to represent those character sequences inside a regular expression | |
| 9220 | ||
| 12669 | character class, just quote the square brackets with the backslash: "\[." | |
| 9221 | ||
| 12670 | and ".\]". The S<<-- HERE> shows whereabouts in the regular expression the | |
| 9222 | ||
| 12671 | problem was discovered. See L<perlre>. | |
| 9223 | 12672 | |
| 9224 | 12673 | =end original |
| 9225 | 12674 | |
| 9226 | (F | |
| 12675 | (F) 正規表現文字クラス ([]) の中では、"[." で始まる文法と ".]" で | |
| 9227 | 12676 | 終わる文法は将来の拡張のために予約されます。 |
| 9228 | 12677 | 正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある |
| 9229 | 12678 | 場合には、"\[." と ".\]" のように、大かっこをバックスラッシュで |
| 9230 | 12679 | クォートしてください。 |
| 9231 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 12680 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 9232 | 12681 | L<perlre> を参照してください。 |
| 9233 | 12682 | |
| 9234 | =item POSIX syntax [= =] is reserved for future extensions in regex; marked by | |
| 12683 | =item POSIX syntax [= =] is reserved for future extensions in regex; marked by | |
| 12684 | S<<-- HERE> in m/%s/ | |
| 9235 | 12685 | |
| 9236 | 12686 | =begin original |
| 9237 | 12687 | |
| 9238 | 12688 | (F) Within regular expression character classes ([]) the syntax beginning |
| 9239 | 12689 | with "[=" and ending with "=]" is reserved for future extensions. If you |
| 9240 | 12690 | need to represent those character sequences inside a regular expression |
| 9241 | 12691 | character class, just quote the square brackets with the backslash: "\[=" |
| 9242 | and "=\]". The <-- HERE shows in the regular expression | |
| 12692 | and "=\]". The S<<-- HERE> shows whereabouts in the regular expression the | |
| 9243 | 12693 | problem was discovered. See L<perlre>. |
| 9244 | 12694 | |
| 9245 | 12695 | =end original |
| 9246 | 12696 | |
| 9247 | 12697 | (F) 正規表現文字クラス ([]) の中では、"[=" で始まる文法と "=]" で |
| 9248 | 12698 | 終わる文法は将来の拡張のために予約されます。 |
| 9249 | 12699 | 正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある |
| 9250 | 12700 | 場合には、"\[=" と "=\]" のように、大かっこをバックスラッシュで |
| 9251 | 12701 | クォートしてください。 |
| 9252 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 12702 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 9253 | 12703 | L<perlre> を参照してください。 |
| 9254 | 12704 | |
| 9255 | 12705 | =item Possible attempt to put comments in qw() list |
| 9256 | 12706 | |
| 9257 | 12707 | =begin original |
| 9258 | 12708 | |
| 9259 | 12709 | (W qw) qw() lists contain items separated by whitespace; as with literal |
| 9260 | 12710 | strings, comment characters are not ignored, but are instead treated as |
| 9261 | 12711 | literal data. (You may have used different delimiters than the |
| 9262 | 12712 | parentheses shown here; braces are also frequently used.) |
| 9263 | 12713 | |
| 9264 | 12714 | =end original |
| 9265 | 12715 | |
| 9266 | 12716 | (W qw) qw() リストは空白で分割されたアイテムを含んでいます; |
| 9267 | 12717 | リテラル文字列では、コメント文字無視されず、リテラルデータとして扱われます。 |
| 9268 | 12718 | (ここで使われているのと違うデリミタを用いているかもしれません; |
| 9269 | 12719 | 大かっこもよく使われます。) |
| 9270 | 12720 | |
| 9271 | 12721 | =begin original |
| 9272 | 12722 | |
| 9273 | 12723 | You probably wrote something like this: |
| 9274 | 12724 | |
| 9275 | 12725 | =end original |
| 9276 | 12726 | |
| 9277 | 12727 | おそらく以下のように書いたのでしょう: |
| 9278 | 12728 | |
| 9279 | 12729 | @list = qw( |
| 9280 | 12730 | a # a comment |
| 9281 | 12731 | b # another comment |
| 9282 | 12732 | ); |
| 9283 | 12733 | |
| 9284 | 12734 | =begin original |
| 9285 | 12735 | |
| 9286 | 12736 | when you should have written this: |
| 9287 | 12737 | |
| 9288 | 12738 | =end original |
| 9289 | 12739 | |
| 9290 | 12740 | 以下のように書くべきです: |
| 9291 | 12741 | |
| 9292 | 12742 | @list = qw( |
| 9293 | 12743 | a |
| 9294 | 12744 | b |
| 9295 | 12745 | ); |
| 9296 | 12746 | |
| 9297 | 12747 | =begin original |
| 9298 | 12748 | |
| 9299 | 12749 | If you really want comments, build your list the |
| 9300 | 12750 | old-fashioned way, with quotes and commas: |
| 9301 | 12751 | |
| 9302 | 12752 | =end original |
| 9303 | 12753 | |
| 9304 | 12754 | 本当にコメントをつけたいのなら、 |
| 9305 | 12755 | リストを昔のクォートとカンマの形で書いてください。 |
| 9306 | 12756 | |
| 9307 | 12757 | @list = ( |
| 9308 | 12758 | 'a', # a comment |
| 9309 | 12759 | 'b', # another comment |
| 9310 | 12760 | ); |
| 9311 | 12761 | |
| 9312 | 12762 | =item Possible attempt to separate words with commas |
| 9313 | 12763 | |
| 9314 | 12764 | =begin original |
| 9315 | 12765 | |
| 9316 | 12766 | (W qw) qw() lists contain items separated by whitespace; therefore |
| 9317 | 12767 | commas aren't needed to separate the items. (You may have used |
| 9318 | 12768 | different delimiters than the parentheses shown here; braces are also |
| 9319 | 12769 | frequently used.) |
| 9320 | 12770 | |
| 9321 | 12771 | =end original |
| 9322 | 12772 | |
| 9323 | 12773 | (W qw) qw() リストに空白で分割された項目があります; |
| 9324 | 12774 | そのため、カンマは項目を分割する必要がありません。 |
| 9325 | 12775 | (ここで使われているのと違うデリミタを用いているかもしれません; |
| 9326 | 12776 | 大かっこもよく使われます。) |
| 9327 | 12777 | |
| 9328 | 12778 | =begin original |
| 9329 | 12779 | |
| 9330 | 12780 | You probably wrote something like this: |
| 9331 | 12781 | |
| 9332 | 12782 | =end original |
| 9333 | 12783 | |
| 9334 | 12784 | おそらく以下のように書いたのでしょう: |
| 9335 | 12785 | |
| 9336 | 12786 | qw! a, b, c !; |
| 9337 | 12787 | |
| 9338 | 12788 | =begin original |
| 9339 | 12789 | |
| 9340 | 12790 | which puts literal commas into some of the list items. Write it without |
| 9341 | 12791 | commas if you don't want them to appear in your data: |
| 9342 | 12792 | |
| 9343 | 12793 | =end original |
| 9344 | 12794 | |
| 9345 | 12795 | リスト要素の中にリテラルのカンマを書いています。 |
| 9346 | 12796 | データの中にカンマを出したくないなら、カンマなしで書きます: |
| 9347 | 12797 | |
| 9348 | 12798 | qw! a b c !; |
| 9349 | 12799 | |
| 9350 | 12800 | =item Possible memory corruption: %s overflowed 3rd argument |
| 9351 | 12801 | |
| 9352 | 12802 | =begin original |
| 9353 | 12803 | |
| 9354 | 12804 | (F) An ioctl() or fcntl() returned more than Perl was bargaining for. |
| 9355 | 12805 | Perl guesses a reasonable buffer size, but puts a sentinel byte at the |
| 9356 | 12806 | end of the buffer just in case. This sentinel byte got clobbered, and |
| 9357 | 12807 | Perl assumes that memory is now corrupted. See L<perlfunc/ioctl>. |
| 9358 | 12808 | |
| 9359 | 12809 | =end original |
| 9360 | 12810 | |
| 9361 | 12811 | (F) ioctl() や fcntl() が、Perl が求めていた以上のものを返してきました。 |
| 9362 | 12812 | Perl は、適量のバッファサイズを見積もりますが、念のためにバッファの |
| 9363 | 12813 | 最後に目印を付けています。 |
| 9364 | 12814 | この目印が壊されたため、Perl はメモリの破壊が起こったと判断しました。 |
| 9365 | 12815 | L<perlfunc/ioctl> を参照してください。 |
| 9366 | 12816 | |
| 9367 | =item Possible precedence | |
| 12817 | =item Possible precedence issue with control flow operator (%s) | |
| 9368 | 12818 | |
| 9369 | 12819 | =begin original |
| 9370 | 12820 | |
| 12821 | (W syntax) There is a possible problem with the mixing of a control | |
| 12822 | flow operator (e.g. C<return>) and a low-precedence operator like | |
| 12823 | C<or>. Consider: | |
| 12824 | ||
| 12825 | =end original | |
| 12826 | ||
| 12827 | (W syntax) フロー制御演算子 (例えば C<return>) と、C<or> のような | |
| 12828 | 低優先順位演算子を混ぜると問題が起きることがあります。 | |
| 12829 | 次を考えると: | |
| 12830 | ||
| 12831 | sub { return $x or $y; } | |
| 12832 | ||
| 12833 | =begin original | |
| 12834 | ||
| 12835 | This is parsed as: | |
| 12836 | ||
| 12837 | =end original | |
| 12838 | ||
| 12839 | これは次のようにパースされます: | |
| 12840 | ||
| 12841 | sub { (return $x) or $y; } | |
| 12842 | ||
| 12843 | =begin original | |
| 12844 | ||
| 12845 | Which is effectively just: | |
| 12846 | ||
| 12847 | =end original | |
| 12848 | ||
| 12849 | これは事実上次のものです: | |
| 12850 | ||
| 12851 | sub { return $x; } | |
| 12852 | ||
| 12853 | =begin original | |
| 12854 | ||
| 12855 | Either use parentheses or the high-precedence variant of the operator. | |
| 12856 | ||
| 12857 | =end original | |
| 12858 | ||
| 12859 | かっこか、高優先順位版の演算子を使ってください。 | |
| 12860 | ||
| 12861 | =begin original | |
| 12862 | ||
| 12863 | Note this may be also triggered for constructs like: | |
| 12864 | ||
| 12865 | =end original | |
| 12866 | ||
| 12867 | これは次のような構文でも引き起こされることに注意してください: | |
| 12868 | ||
| 12869 | sub { 1 if die; } | |
| 12870 | ||
| 12871 | =item Possible precedence problem on bitwise %s operator | |
| 12872 | ||
| 12873 | =begin original | |
| 12874 | ||
| 9371 | 12875 | (W precedence) Your program uses a bitwise logical operator in conjunction |
| 9372 | 12876 | with a numeric comparison operator, like this : |
| 9373 | 12877 | |
| 9374 | 12878 | =end original |
| 9375 | 12879 | |
| 9376 | 12880 | (W precedence) 以下のように、ビット単位の論理演算子を数値比較演算子と |
| 9377 | 12881 | 結合して使用しています: |
| 9378 | 12882 | |
| 9379 | 12883 | if ($x & $y == 0) { ... } |
| 9380 | 12884 | |
| 9381 | 12885 | =begin original |
| 9382 | 12886 | |
| 9383 | 12887 | This expression is actually equivalent to C<$x & ($y == 0)>, due to the |
| 9384 | 12888 | higher precedence of C<==>. This is probably not what you want. (If you |
| 9385 | 12889 | really meant to write this, disable the warning, or, better, put the |
| 9386 | 12890 | parentheses explicitly and write C<$x & ($y == 0)>). |
| 9387 | 12891 | |
| 9388 | 12892 | =end original |
| 9389 | 12893 | |
| 9390 | 12894 | この式は、C<==> の優先順位の方が高いので、C<$x & ($y == 0)> と |
| 9391 | 12895 | 等価になります。 |
| 9392 | 12896 | これはおそらく望んでいるものではないでしょう。 |
| 9393 | 12897 | (もし本当にこのように書きたいのなら、警告を無効にするか、あるいは |
| 9394 | 12898 | よりよいのはかっこを明示的に使って C<$x & ($y == 0)> と書きます)。 |
| 9395 | 12899 | |
| 9396 | 12900 | =item Possible unintended interpolation of $\ in regex |
| 9397 | 12901 | |
| 9398 | 12902 | =begin original |
| 9399 | 12903 | |
| 9400 | 12904 | (W ambiguous) You said something like C<m/$\/> in a regex. |
| 9401 | 12905 | The regex C<m/foo$\s+bar/m> translates to: match the word 'foo', the output |
| 9402 | 12906 | record separator (see L<perlvar/$\>) and the letter 's' (one time or more) |
| 9403 | 12907 | followed by the word 'bar'. |
| 9404 | 12908 | |
| 9405 | 12909 | =end original |
| 9406 | 12910 | |
| 9407 | 12911 | (W ambiguous) 正規表現で C<m/$\/> のようなことをしました。 |
| 9408 | 12912 | 正規表現 C<m/foo$\s+bar/m> は以下のように翻訳されます: 単語 'foo'、出力 |
| 9409 | 12913 | レコードセパレータ (L<perlvar/$\> 参照)、文字 's' (1 回以上)、単語 |
| 9410 | 12914 | 'bar' にマッチングします。 |
| 9411 | 12915 | |
| 9412 | 12916 | =begin original |
| 9413 | 12917 | |
| 9414 | 12918 | If this is what you intended then you can silence the warning by using |
| 9415 | 12919 | C<m/${\}/> (for example: C<m/foo${\}s+bar/>). |
| 9416 | 12920 | |
| 9417 | 12921 | =end original |
| 9418 | 12922 | |
| 9419 | 12923 | これがあなたのしたいことなら、C<m/${\}/> を使うことで警告を抑制できます |
| 9420 | 12924 | (例えば: C<m/foo${\}s+bar/>)。 |
| 9421 | 12925 | |
| 9422 | 12926 | =begin original |
| 9423 | 12927 | |
| 9424 | 12928 | If instead you intended to match the word 'foo' at the end of the line |
| 9425 | 12929 | followed by whitespace and the word 'bar' on the next line then you can use |
| 9426 | 12930 | C<m/$(?)\/> (for example: C<m/foo$(?)\s+bar/>). |
| 9427 | 12931 | |
| 9428 | 12932 | =end original |
| 9429 | 12933 | |
| 9430 | 12934 | そうではなく、行末の単語 'foo' に引き続いて、次の行で空白と単語 'bar' に |
| 9431 | 12935 | マッチングしたいなら、C<m/$(?)\/> を使ってください (例えば: |
| 9432 | 12936 | C<m/foo$(?)\s+bar/>)。 |
| 9433 | 12937 | |
| 9434 | 12938 | =item Possible unintended interpolation of %s in string |
| 9435 | 12939 | |
| 9436 | 12940 | =begin original |
| 9437 | 12941 | |
| 9438 | 12942 | (W ambiguous) You said something like '@foo' in a double-quoted string |
| 9439 | 12943 | but there was no array C<@foo> in scope at the time. If you wanted a |
| 9440 | 12944 | literal @foo, then write it as \@foo; otherwise find out what happened |
| 9441 | 12945 | to the array you apparently lost track of. |
| 9442 | 12946 | |
| 9443 | 12947 | =end original |
| 9444 | 12948 | |
| 9445 | 12949 | (W ambiguous) 「@foo」のようなものをダブルクォート文字列の中に書きましたが、 |
| 9446 | 12950 | 現在のスコープ内に C<@foo> という配列はありません。 |
| 9447 | 12951 | リテラルな @foo を指定したい場合は、\@foo と書いてください; |
| 9448 | 12952 | そうでなければ、どうやら見失ってしまったらしい配列に何が起こったを |
| 9449 | 12953 | 調べてください。 |
| 9450 | 12954 | |
| 9451 | 12955 | =item Precedence problem: open %s should be open(%s) |
| 9452 | 12956 | |
| 9453 | 12957 | =begin original |
| 9454 | 12958 | |
| 9455 | 12959 | (S precedence) The old irregular construct |
| 9456 | 12960 | |
| 9457 | 12961 | =end original |
| 9458 | 12962 | |
| 9459 | 12963 | (S precedence) 古い変則的な構文 |
| 9460 | 12964 | |
| 9461 | 12965 | open FOO || die; |
| 9462 | 12966 | |
| 9463 | 12967 | =begin original |
| 9464 | 12968 | |
| 9465 | 12969 | is now misinterpreted as |
| 9466 | 12970 | |
| 9467 | 12971 | =end original |
| 9468 | 12972 | |
| 9469 | 12973 | は現在は、Perl 5 の文法の厳しい正規化の結果、単項演算子か |
| 9470 | 12974 | リスト演算子と解釈されますので、 |
| 9471 | 12975 | |
| 9472 | 12976 | open(FOO || die); |
| 9473 | 12977 | |
| 9474 | 12978 | =begin original |
| 9475 | 12979 | |
| 9476 | 12980 | because of the strict regularization of Perl 5's grammar into unary and |
| 9477 | 12981 | list operators. (The old open was a little of both.) You must put |
| 9478 | 12982 | parentheses around the filehandle, or use the new "or" operator instead |
| 9479 | 12983 | of "||". |
| 9480 | 12984 | |
| 9481 | 12985 | =end original |
| 9482 | 12986 | |
| 9483 | 12987 | という風に誤った解釈がなされます。 |
| 9484 | 12988 | (古い open は、単項演算子とリスト演算子の中間のようなものでした。) |
| 9485 | 12989 | ファイルハンドルの前後をかっこで囲むか、"||" 演算子の代わりに |
| 9486 | 12990 | "or" 演算子を使わなくてはなりません。 |
| 9487 | 12991 | |
| 9488 | 12992 | =item Premature end of script headers |
| 9489 | 12993 | |
| 9490 | 12994 | =begin original |
| 9491 | 12995 | |
| 9492 | See Server error. | |
| 12996 | See L</500 Server error>. | |
| 9493 | 12997 | |
| 9494 | 12998 | =end original |
| 9495 | 12999 | |
| 9496 | ||
| 13000 | L</500 Server error> を参照してください。 | |
| 9497 | 13001 | |
| 9498 | 13002 | =item printf() on closed filehandle %s |
| 9499 | 13003 | |
| 9500 | 13004 | =begin original |
| 9501 | 13005 | |
| 9502 | 13006 | (W closed) The filehandle you're writing to got itself closed sometime |
| 9503 | 13007 | before now. Check your control flow. |
| 9504 | 13008 | |
| 9505 | 13009 | =end original |
| 9506 | 13010 | |
| 9507 | 13011 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既に閉じられています。 |
| 9508 | 13012 | 制御フローをチェックしてください。 |
| 9509 | 13013 | |
| 9510 | 13014 | =item print() on closed filehandle %s |
| 9511 | 13015 | |
| 9512 | 13016 | =begin original |
| 9513 | 13017 | |
| 9514 | 13018 | (W closed) The filehandle you're printing on got itself closed sometime |
| 9515 | 13019 | before now. Check your control flow. |
| 9516 | 13020 | |
| 9517 | 13021 | =end original |
| 9518 | 13022 | |
| 9519 | 13023 | (W closed) print を行なおうとしたファイルハンドルは、既に閉じられています。 |
| 9520 | 13024 | 制御フローをチェックしてください。 |
| 9521 | 13025 | |
| 9522 | 13026 | =item Process terminated by SIG%s |
| 9523 | 13027 | |
| 9524 | 13028 | =begin original |
| 9525 | 13029 | |
| 9526 | 13030 | (W) This is a standard message issued by OS/2 applications, while *nix |
| 9527 | 13031 | applications die in silence. It is considered a feature of the OS/2 |
| 9528 | 13032 | port. One can easily disable this by appropriate sighandlers, see |
| 9529 | 13033 | L<perlipc/"Signals">. See also "Process terminated by SIGTERM/SIGINT" |
| 9530 | 13034 | in L<perlos2>. |
| 9531 | 13035 | |
| 9532 | 13036 | =end original |
| 9533 | 13037 | |
| 9534 | 13038 | (W) *nix アプリケーションは何も出力せずに終了しますが、 |
| 9535 | 13039 | OS/2 アプリケーションはこれを標準メッセージとして出力します。 |
| 9536 | 13040 | これは OS/2 版の仕様とみなされています。 |
| 9537 | 13041 | 適切なシグナルハンドラによって簡単に無効にできます; |
| 9538 | 13042 | L<perlipc/"Signals"> を参照してください。 |
| 9539 | 13043 | L<perlos2> の "Process terminated by SIGTERM/SIGINT" も参照してください。 |
| 9540 | 13044 | |
| 9541 | 13045 | =item Prototype after '%c' for %s : %s |
| 9542 | 13046 | |
| 9543 | 13047 | =begin original |
| 9544 | 13048 | |
| 9545 | 13049 | (W illegalproto) A character follows % or @ in a prototype. This is |
| 9546 | 13050 | useless, since % and @ gobble the rest of the subroutine arguments. |
| 9547 | 13051 | |
| 9548 | 13052 | =end original |
| 9549 | 13053 | |
| 9550 | 13054 | (W illegalproto) プロトタイプで % または @ に文字が引き続いています。 |
| 9551 | 13055 | これは無意味です; % と @ は残りのサブルーチン引数を全て飲み込むからです。 |
| 9552 | 13056 | |
| 9553 | 13057 | =item Prototype mismatch: %s vs %s |
| 9554 | 13058 | |
| 9555 | 13059 | =begin original |
| 9556 | 13060 | |
| 9557 | 13061 | (S prototype) The subroutine being declared or defined had previously been |
| 9558 | 13062 | declared or defined with a different function prototype. |
| 9559 | 13063 | |
| 9560 | 13064 | =end original |
| 9561 | 13065 | |
| 9562 | 13066 | (S prototype) 以前異なる関数プロトタイプで宣言または定義された |
| 9563 | 13067 | サブルーチンが宣言または定義されました。 |
| 9564 | 13068 | |
| 9565 | 13069 | =item Prototype not terminated |
| 9566 | 13070 | |
| 9567 | 13071 | =begin original |
| 9568 | 13072 | |
| 9569 | 13073 | (F) You've omitted the closing parenthesis in a function prototype |
| 9570 | 13074 | definition. |
| 9571 | 13075 | |
| 9572 | 13076 | =end original |
| 9573 | 13077 | |
| 9574 | 13078 | (F) 関数プロトタイプ宣言で、閉じかっこがありませんでした。 |
| 9575 | 13079 | |
| 9576 | =item | |
| 13080 | =item Prototype '%s' overridden by attribute 'prototype(%s)' in %s | |
| 9577 | 13081 | |
| 9578 | 13082 | =begin original |
| 9579 | 13083 | |
| 9580 | (W | |
| 13084 | (W prototype) A prototype was declared in both the parentheses after | |
| 9581 | ||
| 13085 | the sub name and via the prototype attribute. The prototype in | |
| 9582 | ||
| 13086 | parentheses is useless, since it will be replaced by the prototype | |
| 9583 | ||
| 13087 | from the attribute before it's ever used. | |
| 9584 | (See L<perlrecharclass/POSIX Character Classes>.) | |
| 9585 | 13088 | |
| 9586 | 13089 | =end original |
| 9587 | 13090 | |
| 9588 | (W | |
| 13091 | (W prototype) サブルーチン名の後のかっことプロトタイプ属性の両方で | |
| 9589 | ||
| 13092 | プロトタイプが宣言されました。 | |
| 9590 | ||
| 13093 | 先に宣言されていたプロトタイプは属性で置き換えられるので、かっこ内の | |
| 9591 | ||
| 13094 | プロトタイプは無駄です。 | |
| 9592 | (L<perlrecharclass/POSIX Character Classes> を参照してください。) | |
| 9593 | 13095 | |
| 9594 | = | |
| 13096 | =item %s on BEGIN block ignored | |
| 9595 | 13097 | |
| 9596 | Even if the run-time locale is ISO 8859-1 (Latin1), which is a subset of | |
| 9597 | Unicode, some properties will give results that are not valid for that | |
| 9598 | subset. | |
| 9599 | ||
| 9600 | =end original | |
| 9601 | ||
| 9602 | たとえ実行時ロケールが Unicode のサブセットである ISO 8859-1 (Latin1) でも、 | |
| 9603 | 一部の特性はサブセットに対しては不正であるという結果を返します。 | |
| 9604 | ||
| 9605 | 13098 | =begin original |
| 9606 | 13099 | |
| 9607 | ||
| 13100 | (W syntax) C<BEGIN> blocks are executed immediately after they are parsed | |
| 9608 | ||
| 13101 | and then thrown away. Any prototypes or attributes are therefore | |
| 9609 | ||
| 13102 | meaningless and are ignored. You should remove them from the C<BEGIN> block. | |
| 9610 | ||
| 13103 | Note this also means you cannot create a constant called C<BEGIN>. | |
| 9611 | meaning. That means that C<\p{Alpha}> won't match, but C<[[:alpha:]]> | |
| 9612 | should. Only in the Latin1 locale are all the characters in the same | |
| 9613 | positions as they are in Unicode. But, even here, some properties give | |
| 9614 | incorrect results. An example is C<\p{Changes_When_Uppercased}> which | |
| 9615 | is true for "LATIN SMALL LETTER Y WITH DIAERESIS", but since the upper | |
| 9616 | case of that character is not in Latin1, in that locale it doesn't | |
| 9617 | change when upper cased. | |
| 9618 | 13104 | |
| 9619 | 13105 | =end original |
| 9620 | 13106 | |
| 9621 | ||
| 13107 | (W syntax) C<BEGIN> ブロックは、パースされた直後に実行され、 | |
| 9622 | ||
| 13108 | それから捨てられます。 | |
| 9623 | です。 | |
| 13109 | 従って、プロトタイプや属性は無意味で、無視されます。 | |
| 9624 | ||
| 13110 | それらは C<BEGIN> ブロックから削除されるべきです。 | |
| 9625 | C< | |
| 13111 | C<BEGIN> と呼ばれる定数を作ることもできないことに注意してください。 | |
| 9626 | これは、C<\p{Alpha}> にはマッチングしませんが、C<[[:alpha:]]> には | |
| 9627 | マッチングするということです。 | |
| 9628 | Latin1 ロケールのみが、全ての文字について Unicode と同じ位置を持ちます。 | |
| 9629 | しかし、それでも、一部の特性は正しくない結果となります。 | |
| 9630 | 例えば、C<\p{Changes_When_Uppercased}> は "LATIN SMALL LETTER Y WITH | |
| 9631 | DIAERESIS" では真ですが、この文字の大文字は Latin1 にはないので、 | |
| 9632 | 大文字にしたときにこの文字は変更されません。 | |
| 9633 | 13112 | |
| 9634 | =item Quantifier follows nothing in regex; marked by <-- HERE in m/%s/ | |
| 13113 | =item Quantifier follows nothing in regex; marked by S<<-- HERE> in m/%s/ | |
| 9635 | 13114 | |
| 9636 | 13115 | =begin original |
| 9637 | 13116 | |
| 9638 | 13117 | (F) You started a regular expression with a quantifier. Backslash it if |
| 9639 | you meant it literally. The <-- HERE shows in the regular | |
| 13118 | you meant it literally. The S<<-- HERE> shows whereabouts in the regular | |
| 9640 | ||
| 13119 | expression the problem was discovered. See L<perlre>. | |
| 9641 | 13120 | |
| 9642 | 13121 | =end original |
| 9643 | 13122 | |
| 9644 | 13123 | (F) 正規表現を量指定子で開始しています。 |
| 9645 | 13124 | もしそれをリテラルに使いたいなら、バックスラッシュでクォートしてください。 |
| 9646 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 13125 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 9647 | 13126 | L<perlre> を参照してください。 |
| 9648 | 13127 | |
| 9649 | =item Quantifier in {,} bigger than %d in regex; marked by <-- HERE in m/%s/ | |
| 13128 | =item Quantifier in {,} bigger than %d in regex; marked by S<<-- HERE> in m/%s/ | |
| 9650 | 13129 | |
| 9651 | 13130 | =begin original |
| 9652 | 13131 | |
| 9653 | 13132 | (F) There is currently a limit to the size of the min and max values of |
| 9654 | the {min,max} construct. The <-- HERE shows in the regular | |
| 13133 | the {min,max} construct. The S<<-- HERE> shows whereabouts in the regular | |
| 9655 | ||
| 13134 | expression the problem was discovered. See L<perlre>. | |
| 9656 | 13135 | |
| 9657 | 13136 | =end original |
| 9658 | 13137 | |
| 9659 | 13138 | 現在のところ、{min,max} 構造の最大値と最小値には制限があります。 |
| 9660 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 13139 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 9661 | 13140 | L<perlre> を参照してください。 |
| 9662 | 13141 | |
| 9663 | =item Quantifier | |
| 13142 | =item Quantifier {n,m} with n > m can't match in regex | |
| 9664 | 13143 | |
| 13144 | =item Quantifier {n,m} with n > m can't match in regex; marked by | |
| 13145 | S<<-- HERE> in m/%s/ | |
| 13146 | ||
| 9665 | 13147 | =begin original |
| 9666 | 13148 | |
| 13149 | (W regexp) Minima should be less than or equal to maxima. If you really | |
| 13150 | want your regexp to match something 0 times, just put {0}. | |
| 13151 | ||
| 13152 | =end original | |
| 13153 | ||
| 13154 | (W regexp) 最小値は最大値以下である必要があります。 | |
| 13155 | 本当に 0 回マッチングする正規表現がほしいなら、単に {0} を指定してください。 | |
| 13156 | ||
| 13157 | =item Quantifier unexpected on zero-length expression in regex m/%s/ | |
| 13158 | ||
| 13159 | =begin original | |
| 13160 | ||
| 9667 | 13161 | (W regexp) You applied a regular expression quantifier in a place where |
| 9668 | 13162 | it makes no sense, such as on a zero-width assertion. Try putting the |
| 9669 | 13163 | quantifier inside the assertion instead. For example, the way to match |
| 9670 | 13164 | "abc" provided that it is followed by three repetitions of "xyz" is |
| 9671 | 13165 | C</abc(?=(?:xyz){3})/>, not C</abc(?=xyz){3}/>. |
| 9672 | 13166 | |
| 9673 | 13167 | =end original |
| 9674 | 13168 | |
| 9675 | 13169 | (W regexp) 正規表現量指定子をゼロ幅アサーションのような意味のない場所に |
| 9676 | 13170 | 適用しました。 |
| 9677 | 13171 | 代わりにアサーションの中に量指定子を置いてください。 |
| 9678 | 13172 | 例えば、"xyz" を 3 回繰り返した後の "abc" にマッチングさせるには、 |
| 9679 | 13173 | C</abc(?=xyz){3}/> ではなく C</abc(?=(?:xyz){3})/> としてください。 |
| 9680 | 13174 | |
| 9681 | =begin original | |
| 9682 | ||
| 9683 | The <-- HERE shows in the regular expression about where the problem was | |
| 9684 | discovered. | |
| 9685 | ||
| 9686 | =end original | |
| 9687 | ||
| 9688 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 9689 | ||
| 9690 | 13175 | =item Range iterator outside integer range |
| 9691 | 13176 | |
| 9692 | 13177 | =begin original |
| 9693 | 13178 | |
| 9694 | 13179 | (F) One (or both) of the numeric arguments to the range operator ".." |
| 9695 | 13180 | are outside the range which can be represented by integers internally. |
| 9696 | 13181 | One possible workaround is to force Perl to use magical string increment |
| 9697 | 13182 | by prepending "0" to your numbers. |
| 9698 | 13183 | |
| 9699 | 13184 | =end original |
| 9700 | 13185 | |
| 9701 | 13186 | (F) 範囲演算子 ".." の一つ(または両方)の数値引数が、内部で整数として |
| 9702 | 13187 | 表現できる範囲を越えています。 |
| 9703 | 13188 | 回避方法のひとつとしては、数値の頭に "0" を付けることで Perl に |
| 9704 | 13189 | マジカル文字列インクリメントの使用を強制させることです。 |
| 9705 | 13190 | |
| 13191 | =item Ranges of ASCII printables should be some subset of "0-9", "A-Z", or | |
| 13192 | "a-z" in regex; marked by S<<-- HERE> in m/%s/ | |
| 13193 | ||
| 13194 | =begin original | |
| 13195 | ||
| 13196 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
| 13197 | ||
| 13198 | =end original | |
| 13199 | ||
| 13200 | (W regexp) (C<S<use re 'strict'>> の下か C<(?[...])> の内側のみ) | |
| 13201 | ||
| 13202 | =begin original | |
| 13203 | ||
| 13204 | Stricter rules help to find typos and other errors. Perhaps you didn't | |
| 13205 | even intend a range here, if the C<"-"> was meant to be some other | |
| 13206 | character, or should have been escaped (like C<"\-">). If you did | |
| 13207 | intend a range, the one that was used is not portable between ASCII and | |
| 13208 | EBCDIC platforms, and doesn't have an obvious meaning to a casual | |
| 13209 | reader. | |
| 13210 | ||
| 13211 | =end original | |
| 13212 | ||
| 13213 | より厳密な規則はタイプミスやその他のエラーを見つける助けになります。 | |
| 13214 | おそらくそもそもここで範囲を意図していないか、C<"-"> が他の文字の | |
| 13215 | つもりだったか、(C<"\-"> のように)エスケープされるべきだったのでしょう。 | |
| 13216 | 範囲を意図していたのなら、使われているものは ASCII と EBCDIC | |
| 13217 | プラットフォームの間で移植性がなく、カジュアルな読者には不明確な | |
| 13218 | 意味になります。 | |
| 13219 | ||
| 13220 | [3-7] # OK; Obvious and portable | |
| 13221 | [d-g] # OK; Obvious and portable | |
| 13222 | [A-Y] # OK; Obvious and portable | |
| 13223 | [A-z] # WRONG; Not portable; not clear what is meant | |
| 13224 | [a-Z] # WRONG; Not portable; not clear what is meant | |
| 13225 | [%-.] # WRONG; Not portable; not clear what is meant | |
| 13226 | [\x41-Z] # WRONG; Not portable; not obvious to non-geek | |
| 13227 | ||
| 13228 | =begin original | |
| 13229 | ||
| 13230 | (You can force portability by specifying a Unicode range, which means that | |
| 13231 | the endpoints are specified by | |
| 13232 | L<C<\N{...}>|perlrecharclass/Character Ranges>, but the meaning may | |
| 13233 | still not be obvious.) | |
| 13234 | The stricter rules require that ranges that start or stop with an ASCII | |
| 13235 | character that is not a control have all their endpoints be the literal | |
| 13236 | character, and not some escape sequence (like C<"\x41">), and the ranges | |
| 13237 | must be all digits, or all uppercase letters, or all lowercase letters. | |
| 13238 | ||
| 13239 | =end original | |
| 13240 | ||
| 13241 | (Unicode の範囲を指定することで移植性を共生することができます; | |
| 13242 | これは端点を L<C<\N{...}>|perlrecharclass/Character Ranges> で | |
| 13243 | 指定するということですが、意味はやはり明確ではないかもしれません。) | |
| 13244 | より厳密な規則は、制御文字でなく、全てリテラルな文字で、 | |
| 13245 | (C<"\x41"> のような)一部のエスケープシーケンスでない | |
| 13246 | ASCII 文字で開始および終了することを要求し、 | |
| 13247 | 範囲は全て数字か、全て大文字か、全て小文字でなければなりません。 | |
| 13248 | ||
| 13249 | =item Ranges of digits should be from the same group in regex; marked by | |
| 13250 | S<<-- HERE> in m/%s/ | |
| 13251 | ||
| 13252 | =begin original | |
| 13253 | ||
| 13254 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
| 13255 | ||
| 13256 | =end original | |
| 13257 | ||
| 13258 | (W regexp) (C<S<use re 'strict'>> の下か C<(?[...])> の内側のみ) | |
| 13259 | ||
| 13260 | =begin original | |
| 13261 | ||
| 13262 | Stricter rules help to find typos and other errors. You included a | |
| 13263 | range, and at least one of the end points is a decimal digit. Under the | |
| 13264 | stricter rules, when this happens, both end points should be digits in | |
| 13265 | the same group of 10 consecutive digits. | |
| 13266 | ||
| 13267 | =end original | |
| 13268 | ||
| 13269 | より厳密な規則はタイプミスやその他のエラーを見つける助けになります。 | |
| 13270 | 範囲を含んでいて、少なくとも片方の端は数字です。 | |
| 13271 | より厳密な規則では、これが起きたときは、両端が 10 連続した数字の同じ | |
| 13272 | グループに属する符号位置である必要があります。 | |
| 13273 | ||
| 9706 | 13274 | =item readdir() attempted on invalid dirhandle %s |
| 9707 | 13275 | |
| 9708 | 13276 | =begin original |
| 9709 | 13277 | |
| 9710 | 13278 | (W io) The dirhandle you're reading from is either closed or not really |
| 9711 | 13279 | a dirhandle. Check your control flow. |
| 9712 | 13280 | |
| 9713 | 13281 | =end original |
| 9714 | 13282 | |
| 9715 | 13283 | (W io) 読み込もうとしたディレクトリハンドルは既に閉じられているか、 |
| 9716 | 13284 | 実際にはディレクトリハンドルではありません。 |
| 9717 | 13285 | 制御フローをチェックしてください。 |
| 9718 | 13286 | |
| 9719 | 13287 | =item readline() on closed filehandle %s |
| 9720 | 13288 | |
| 9721 | 13289 | =begin original |
| 9722 | 13290 | |
| 9723 | 13291 | (W closed) The filehandle you're reading from got itself closed sometime |
| 9724 | 13292 | before now. Check your control flow. |
| 9725 | 13293 | |
| 9726 | 13294 | =end original |
| 9727 | 13295 | |
| 9728 | 13296 | (W closed) 読み込もうとしたファイルハンドルは、既に閉じられています。 |
| 9729 | 13297 | 制御フローをチェックしてください。 |
| 9730 | 13298 | |
| 9731 | =item read() on | |
| 13299 | =item readline() on unopened filehandle %s | |
| 9732 | 13300 | |
| 9733 | 13301 | =begin original |
| 9734 | 13302 | |
| 9735 | (W | |
| 13303 | (W unopened) The filehandle you're reading from was never opened. Check your | |
| 13304 | control flow. | |
| 9736 | 13305 | |
| 9737 | 13306 | =end original |
| 9738 | 13307 | |
| 9739 | (W | |
| 13308 | (W unopened) 読み込もうとしたファイルハンドルは開かれていません。 | |
| 13309 | 制御フローをチェックしてください。 | |
| 9740 | 13310 | |
| 9741 | =item read() on | |
| 13311 | =item read() on closed filehandle %s | |
| 9742 | 13312 | |
| 9743 | 13313 | =begin original |
| 9744 | 13314 | |
| 9745 | (W | |
| 13315 | (W closed) You tried to read from a closed filehandle. | |
| 9746 | 13316 | |
| 9747 | 13317 | =end original |
| 9748 | 13318 | |
| 9749 | (W | |
| 13319 | (W closed) 閉じたファイルハンドルから読み込もうとしました。 | |
| 9750 | 13320 | |
| 9751 | =item | |
| 13321 | =item read() on unopened filehandle %s | |
| 9752 | 13322 | |
| 9753 | 13323 | =begin original |
| 9754 | 13324 | |
| 9755 | ( | |
| 13325 | (W unopened) You tried to read from a filehandle that was never opened. | |
| 9756 | 13326 | |
| 9757 | 13327 | =end original |
| 9758 | 13328 | |
| 9759 | ( | |
| 13329 | (W unopened) 開いていないファイルハンドルから読み込もうとしました。 | |
| 9760 | 13330 | |
| 9761 | 13331 | =item realloc() of freed memory ignored |
| 9762 | 13332 | |
| 9763 | 13333 | =begin original |
| 9764 | 13334 | |
| 9765 | 13335 | (S malloc) An internal routine called realloc() on something that had |
| 9766 | 13336 | already been freed. |
| 9767 | 13337 | |
| 9768 | 13338 | =end original |
| 9769 | 13339 | |
| 9770 | 13340 | 内部ルーチンが、何か既に解放されているものに対して realloc() を |
| 9771 | 13341 | 呼び出しました。 |
| 9772 | 13342 | |
| 9773 | 13343 | =item Recompile perl with B<-D>DEBUGGING to use B<-D> switch |
| 9774 | 13344 | |
| 9775 | 13345 | =begin original |
| 9776 | 13346 | |
| 9777 | ( | |
| 13347 | (S debugging) You can't use the B<-D> option unless the code to produce | |
| 9778 | 13348 | the desired output is compiled into Perl, which entails some overhead, |
| 9779 | 13349 | which is why it's currently left out of your copy. |
| 9780 | 13350 | |
| 9781 | 13351 | =end original |
| 9782 | 13352 | |
| 9783 | ( | |
| 13353 | (S debugging) Perl のコンパイル時に、適切な出力ルーティンが | |
| 9784 | 13354 | 組み込まれていなければ、B<-D> スイッチを使うことはできません; |
| 9785 | 13355 | これは、多少のオーバヘッドがかかるもので、それが現在使っている |
| 9786 | 13356 | Perl に組み込んでない理由でしょう。 |
| 9787 | 13357 | |
| 9788 | 13358 | =item Recursive call to Perl_load_module in PerlIO_find_layer |
| 9789 | 13359 | |
| 9790 | 13360 | =begin original |
| 9791 | 13361 | |
| 9792 | 13362 | (P) It is currently not permitted to load modules when creating |
| 9793 | 13363 | a filehandle inside an %INC hook. This can happen with C<open my |
| 9794 | 13364 | $fh, '<', \$scalar>, which implicitly loads PerlIO::scalar. Try |
| 9795 | 13365 | loading PerlIO::scalar explicitly first. |
| 9796 | 13366 | |
| 9797 | 13367 | =end original |
| 9798 | 13368 | |
| 9799 | 13369 | (P) %INC フックの内側でファイルハンドルを作る時にモジュールを読み込むのは |
| 9800 | 13370 | 現在のところ許されていません。 |
| 9801 | 13371 | これは、C<open my $fh, '<', \$scalar> で暗黙に PerlIO::scalar を読み込むときに |
| 9802 | 13372 | 起こることがあります。 |
| 9803 | 13373 | 最初に PerlIO::scalar を明示的に読み込むことを試してください。 |
| 9804 | 13374 | |
| 9805 | 13375 | =item Recursive inheritance detected in package '%s' |
| 9806 | 13376 | |
| 9807 | 13377 | =begin original |
| 9808 | 13378 | |
| 9809 | 13379 | (F) While calculating the method resolution order (MRO) of a package, Perl |
| 9810 | 13380 | believes it found an infinite loop in the C<@ISA> hierarchy. This is a |
| 9811 | 13381 | crude check that bails out after 100 levels of C<@ISA> depth. |
| 9812 | 13382 | |
| 9813 | 13383 | =end original |
| 9814 | 13384 | |
| 9815 | 13385 | (F) パッケージのメソッド解決順序 (MRO) の計算中に、C<@ISA> 構造に |
| 9816 | 13386 | 無限ループがあると判断しました。 |
| 9817 | 13387 | これは、C<@ISA> を 100 階層探索した後に起きる荒いチェックです。 |
| 9818 | 13388 | |
| 13389 | =item Redundant argument in %s | |
| 13390 | ||
| 13391 | =begin original | |
| 13392 | ||
| 13393 | (W redundant) You called a function with more arguments than other | |
| 13394 | arguments you supplied indicated would be needed. Currently only | |
| 13395 | emitted when a printf-type format required fewer arguments than were | |
| 13396 | supplied, but might be used in the future for e.g. L<perlfunc/pack>. | |
| 13397 | ||
| 13398 | =end original | |
| 13399 | ||
| 13400 | (W redundant) 関数を呼び出すときに、ある引数が示している必要数より | |
| 13401 | 多くの引数を指定しました。 | |
| 13402 | 現在のところ、printf 型のフォーマットが指定されたものより少ない数の | |
| 13403 | 引数しか必要としていない場合にのみ発生しますが、将来は | |
| 13404 | 例えば L<perlfunc/pack> で使われるかもしれません。 | |
| 13405 | ||
| 9819 | 13406 | =item refcnt_dec: fd %d%s |
| 9820 | 13407 | |
| 9821 | 13408 | =item refcnt: fd %d%s |
| 9822 | 13409 | |
| 9823 | 13410 | =item refcnt_inc: fd %d%s |
| 9824 | 13411 | |
| 9825 | 13412 | =begin original |
| 9826 | 13413 | |
| 9827 | 13414 | (P) Perl's I/O implementation failed an internal consistency check. If |
| 9828 | 13415 | you see this message, something is very wrong. |
| 9829 | 13416 | |
| 9830 | 13417 | =end original |
| 9831 | 13418 | |
| 9832 | 13419 | (P) Perl の I/O 実装は内部の一貫性チェックに失敗しました。 |
| 9833 | 13420 | このメッセージを見たなら、何かがすごく悪いです。 |
| 9834 | 13421 | |
| 9835 | 13422 | =item Reference found where even-sized list expected |
| 9836 | 13423 | |
| 9837 | 13424 | =begin original |
| 9838 | 13425 | |
| 9839 | 13426 | (W misc) You gave a single reference where Perl was expecting a list |
| 9840 | 13427 | with an even number of elements (for assignment to a hash). This |
| 9841 | 13428 | usually means that you used the anon hash constructor when you meant |
| 9842 | 13429 | to use parens. In any case, a hash requires key/value B<pairs>. |
| 9843 | 13430 | |
| 9844 | 13431 | =end original |
| 9845 | 13432 | |
| 9846 | 13433 | (W misc) Perl が(ハッシュへの代入のために)偶数の数の要素のリストを |
| 9847 | 13434 | 想定しているところに 一つのリファレンスを渡しました。 |
| 9848 | 13435 | これは普通かっこを使うべきところで無名ハッシュコンストラクタを使ったことを |
| 9849 | 13436 | 意味します。 |
| 9850 | 13437 | とにかく、ハッシュはキー/値の B<組> を要求します。 |
| 9851 | 13438 | |
| 9852 | 13439 | %hash = { one => 1, two => 2, }; # WRONG |
| 9853 | 13440 | %hash = [ qw/ an anon array / ]; # WRONG |
| 9854 | 13441 | %hash = ( one => 1, two => 2, ); # right |
| 9855 | 13442 | %hash = qw( one 1 two 2 ); # also fine |
| 9856 | 13443 | |
| 9857 | 13444 | =item Reference is already weak |
| 9858 | 13445 | |
| 9859 | 13446 | =begin original |
| 9860 | 13447 | |
| 9861 | 13448 | (W misc) You have attempted to weaken a reference that is already weak. |
| 9862 | 13449 | Doing so has no effect. |
| 9863 | 13450 | |
| 9864 | 13451 | =end original |
| 9865 | 13452 | |
| 9866 | 13453 | (W misc) 既に弱いリファレンスを弱めようとしました。 |
| 9867 | 13454 | そうしても何の効果もありません。 |
| 9868 | 13455 | |
| 9869 | =item Reference | |
| 13456 | =item Reference is not weak | |
| 9870 | 13457 | |
| 9871 | 13458 | =begin original |
| 9872 | 13459 | |
| 13460 | (W misc) You have attempted to unweaken a reference that is not weak. | |
| 13461 | Doing so has no effect. | |
| 13462 | ||
| 13463 | =end original | |
| 13464 | ||
| 13465 | (W misc) 現在弱くないリファレンスを弱くないリファレンスにしようとしました。 | |
| 13466 | そうしても何の効果もありません。 | |
| 13467 | ||
| 13468 | =item Reference to invalid group 0 in regex; marked by S<<-- HERE> in m/%s/ | |
| 13469 | ||
| 13470 | =begin original | |
| 13471 | ||
| 9873 | 13472 | (F) You used C<\g0> or similar in a regular expression. You may refer |
| 9874 | 13473 | to capturing parentheses only with strictly positive integers |
| 9875 | 13474 | (normal backreferences) or with strictly negative integers (relative |
| 9876 | 13475 | backreferences). Using 0 does not make sense. |
| 9877 | 13476 | |
| 9878 | 13477 | =end original |
| 9879 | 13478 | |
| 9880 | 13479 | (F) 正規表現で C<\g0> のようなものを使いました。 |
| 9881 | 13480 | 捕捉用のかっこへの参照は、正数(通常の後方参照)か、負数(相対後方参照) |
| 9882 | 13481 | のみです。 |
| 9883 | 13482 | 0 は意味を成しません。 |
| 9884 | 13483 | |
| 9885 | =item Reference to nonexistent group in regex; marked by <-- HERE in | |
| 13484 | =item Reference to nonexistent group in regex; marked by S<<-- HERE> in | |
| 13485 | m/%s/ | |
| 9886 | 13486 | |
| 9887 | 13487 | =begin original |
| 9888 | 13488 | |
| 9889 | 13489 | (F) You used something like C<\7> in your regular expression, but there are |
| 9890 | 13490 | not at least seven sets of capturing parentheses in the expression. If |
| 9891 | 13491 | you wanted to have the character with ordinal 7 inserted into the regular |
| 9892 | 13492 | expression, prepend zeroes to make it three digits long: C<\007> |
| 9893 | 13493 | |
| 9894 | 13494 | =end original |
| 9895 | 13495 | |
| 9896 | 13496 | 正規表現の中で C<\7> のような記述がありますが、 |
| 9897 | 13497 | 正規表現の中に値を捕らえるかっこが 7 つありません。 |
| 9898 | 13498 | 正規表現の中に値 7 を持つ文字を挿入したい場合、 |
| 9899 | 13499 | ゼロをつけて最低 3 桁の数値にする必要があります: C<\007> |
| 9900 | 13500 | |
| 9901 | 13501 | =begin original |
| 9902 | 13502 | |
| 9903 | The <-- HERE shows in the regular expression | |
| 13503 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
| 9904 | 13504 | discovered. |
| 9905 | 13505 | |
| 9906 | 13506 | =end original |
| 9907 | 13507 | |
| 9908 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 13508 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 9909 | 13509 | |
| 9910 | =item Reference to nonexistent named group in regex; marked by <-- HERE | |
| 13510 | =item Reference to nonexistent named group in regex; marked by S<<-- HERE> | |
| 13511 | in m/%s/ | |
| 9911 | 13512 | |
| 9912 | 13513 | =begin original |
| 9913 | 13514 | |
| 9914 | 13515 | (F) You used something like C<\k'NAME'> or C<< \k<NAME> >> in your regular |
| 9915 | 13516 | expression, but there is no corresponding named capturing parentheses |
| 9916 | 13517 | such as C<(?'NAME'...)> or C<< (?<NAME>...) >>. Check if the name has been |
| 9917 | 13518 | spelled correctly both in the backreference and the declaration. |
| 9918 | 13519 | |
| 9919 | 13520 | =end original |
| 9920 | 13521 | |
| 9921 | 13522 | (F) 正規表現中に C<\k'NAME'> や C<< \k<NAME> >> のようなものを使いましたが、 |
| 9922 | 13523 | C<(?'NAME'...)> や C<< (?<NAME>...) >> のような、対応する名前付き捕捉かっこが |
| 9923 | 13524 | ありません。 |
| 9924 | 13525 | 前方参照と定義の両方において、名前のスペルが正しいかどうか |
| 9925 | 13526 | チェックしてください。 |
| 9926 | 13527 | |
| 9927 | 13528 | =begin original |
| 9928 | 13529 | |
| 9929 | The <-- HERE shows in the regular expression | |
| 13530 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
| 9930 | 13531 | discovered. |
| 9931 | 13532 | |
| 9932 | 13533 | =end original |
| 9933 | 13534 | |
| 9934 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 13535 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 9935 | 13536 | |
| 9936 | =item Reference to nonexistent or unclosed group in regex; marked by | |
| 13537 | =item Reference to nonexistent or unclosed group in regex; marked by | |
| 13538 | S<<-- HERE> in m/%s/ | |
| 9937 | 13539 | |
| 9938 | 13540 | =begin original |
| 9939 | 13541 | |
| 9940 | 13542 | (F) You used something like C<\g{-7}> in your regular expression, but there |
| 9941 | 13543 | are not at least seven sets of closed capturing parentheses in the |
| 9942 | 13544 | expression before where the C<\g{-7}> was located. |
| 9943 | 13545 | |
| 9944 | 13546 | =end original |
| 9945 | 13547 | |
| 9946 | 13548 | (F) 正規表現で C<\g{-7}> のようなものを使いましたが、式中で C<\g{-7}> の |
| 9947 | 13549 | 位置より前に少なくとも 7 組の捕捉用のかっこの組がありません。 |
| 9948 | 13550 | |
| 9949 | 13551 | =begin original |
| 9950 | 13552 | |
| 9951 | The <-- HERE shows in the regular expression | |
| 13553 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
| 9952 | 13554 | discovered. |
| 9953 | 13555 | |
| 9954 | 13556 | =end original |
| 9955 | 13557 | |
| 9956 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 13558 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 9957 | 13559 | |
| 9958 | 13560 | =item regexp memory corruption |
| 9959 | 13561 | |
| 9960 | 13562 | =begin original |
| 9961 | 13563 | |
| 9962 | 13564 | (P) The regular expression engine got confused by what the regular |
| 9963 | 13565 | expression compiler gave it. |
| 9964 | 13566 | |
| 9965 | 13567 | =end original |
| 9966 | 13568 | |
| 9967 | 13569 | (P) 正規表現コンパイラが渡したもので、正規表現エンジンが |
| 9968 | 13570 | 処理できなくなりました。 |
| 9969 | 13571 | |
| 9970 | 13572 | =item Regexp modifier "/%c" may appear a maximum of twice |
| 9971 | 13573 | |
| 9972 | =item Regexp modifier " | |
| 13574 | =item Regexp modifier "%c" may appear a maximum of twice in regex; marked | |
| 13575 | by S<<-- HERE> in m/%s/ | |
| 9973 | 13576 | |
| 9974 | 13577 | =begin original |
| 9975 | 13578 | |
| 9976 | (F | |
| 13579 | (F) The regular expression pattern had too many occurrences | |
| 9977 | 13580 | of the specified modifier. Remove the extraneous ones. |
| 9978 | 13581 | |
| 9979 | 13582 | =end original |
| 9980 | 13583 | |
| 9981 | (F | |
| 13584 | (F) 正規表現パターンに指定された修飾子が多すぎます。 | |
| 9982 | 13585 | 余分なものを削除してください。 |
| 9983 | 13586 | |
| 9984 | =item Regexp modifier "%c" may not appear after the "-" | |
| 13587 | =item Regexp modifier "%c" may not appear after the "-" in regex; marked by <-- | |
| 13588 | HERE in m/%s/ | |
| 9985 | 13589 | |
| 9986 | 13590 | =begin original |
| 9987 | 13591 | |
| 9988 | (F | |
| 13592 | (F) Turning off the given modifier has the side effect of turning on | |
| 9989 | ||
| 13593 | another one. Perl currently doesn't allow this. Reword the regular | |
| 9990 | 13594 | expression to use the modifier you want to turn on (and place it before |
| 9991 | 13595 | the minus), instead of the one you want to turn off. |
| 9992 | 13596 | |
| 9993 | 13597 | =end original |
| 9994 | 13598 | |
| 9995 | 13599 | (F regexp) 指定された修飾子をオフにするのは他の修飾子をオンにするという |
| 9996 | 13600 | 副作用があります。 |
| 9997 | 13601 | Perl は現在のところこれを受け入れません。 |
| 9998 | 13602 | オフにしたいものではなく、オンにしたい修飾子を使う(そしてマイナスの |
| 9999 | 13603 | 前に置く)ように正規表現を書き直してください。 |
| 10000 | 13604 | |
| 13605 | =item Regexp modifier "/%c" may not appear twice | |
| 13606 | ||
| 13607 | =item Regexp modifier "%c" may not appear twice in regex; marked by <-- | |
| 13608 | HERE in m/%s/ | |
| 13609 | ||
| 13610 | =begin original | |
| 13611 | ||
| 13612 | (F) The regular expression pattern had too many occurrences | |
| 13613 | of the specified modifier. Remove the extraneous ones. | |
| 13614 | ||
| 13615 | =end original | |
| 13616 | ||
| 13617 | (F) 正規表現パターンに指定された修飾子が多すぎます。 | |
| 13618 | 余分なものを削除してください。 | |
| 13619 | ||
| 10001 | 13620 | =item Regexp modifiers "/%c" and "/%c" are mutually exclusive |
| 10002 | 13621 | |
| 13622 | =item Regexp modifiers "%c" and "%c" are mutually exclusive in regex; | |
| 13623 | marked by S<<-- HERE> in m/%s/ | |
| 13624 | ||
| 10003 | 13625 | =begin original |
| 10004 | 13626 | |
| 10005 | (F | |
| 13627 | (F) The regular expression pattern had more than one of these | |
| 10006 | 13628 | mutually exclusive modifiers. Retain only the modifier that is |
| 10007 | 13629 | supposed to be there. |
| 10008 | 13630 | |
| 10009 | 13631 | =end original |
| 10010 | 13632 | |
| 10011 | (F | |
| 13633 | (F) 正規表現パターンに相互に排他的な修飾子が複数あります。 | |
| 10012 | 13634 | ここで使うであろう修飾子のみを保持します。 |
| 10013 | 13635 | |
| 10014 | =item Regexp out of space | |
| 13636 | =item Regexp out of space in regex m/%s/ | |
| 10015 | 13637 | |
| 10016 | 13638 | =begin original |
| 10017 | 13639 | |
| 10018 | 13640 | (P) A "can't happen" error, because safemalloc() should have caught it |
| 10019 | 13641 | earlier. |
| 10020 | 13642 | |
| 10021 | 13643 | =end original |
| 10022 | 13644 | |
| 10023 | 13645 | (P) safemalloc() が見つけるはずなので、「起こるはずのない」エラーです。 |
| 10024 | 13646 | |
| 10025 | =item Repeated format line will never terminate (~~ and @<#del> incompatible) | |
| 13647 | =item Repeated format line will never terminate (~~ and @#) | |
| 10026 | 13648 | |
| 10027 | 13649 | =begin original |
| 10028 | 13650 | |
| 10029 | 13651 | (F) Your format contains the ~~ repeat-until-blank sequence and a |
| 10030 | 13652 | numeric field that will never go blank so that the repetition never |
| 10031 | 13653 | terminates. You might use ^# instead. See L<perlform>. |
| 10032 | 13654 | |
| 10033 | 13655 | =end original |
| 10034 | 13656 | |
| 10035 | 13657 | (F) フォーマットに ~~ (空白まで繰り返し)シーケンスと決して空白にならない |
| 10036 | 13658 | スウチフィールドが含まれているので、無限ループになります。 |
| 10037 | 13659 | 代わりに ^# を使うべきでしょう。 |
| 10038 | 13660 | L<perlform> を参照してください。 |
| 10039 | 13661 | |
| 10040 | 13662 | =item Replacement list is longer than search list |
| 10041 | 13663 | |
| 10042 | 13664 | =begin original |
| 10043 | 13665 | |
| 10044 | 13666 | (W misc) You have used a replacement list that is longer than the |
| 10045 | 13667 | search list. So the additional elements in the replacement list |
| 10046 | 13668 | are meaningless. |
| 10047 | 13669 | |
| 10048 | 13670 | =end original |
| 10049 | 13671 | |
| 10050 | 13672 | (W misc) 検索リストよりも長い置換リストを使いました。 |
| 10051 | 13673 | 長い分の置換リストは無意味です。 |
| 10052 | 13674 | |
| 13675 | =item Required parameter '%s' is missing for %s constructor | |
| 13676 | ||
| 13677 | =begin original | |
| 13678 | ||
| 13679 | (F) You called the constructor for a class that has a required named | |
| 13680 | parameter, but did not pass that parameter at all. | |
| 13681 | ||
| 13682 | =end original | |
| 13683 | ||
| 13684 | (F) 引数を指定することが必要なクラスのコンストラクタを呼び出しましたが、 | |
| 13685 | 引数を何も渡しませんでした。 | |
| 13686 | ||
| 13687 | =item '(*%s' requires a terminating ':' in regex; marked by <-- HERE in m/%s/ | |
| 13688 | ||
| 13689 | =begin original | |
| 13690 | ||
| 13691 | (F) You used a construct that needs a colon and pattern argument. | |
| 13692 | Supply these or check that you are using the right construct. | |
| 13693 | ||
| 13694 | =end original | |
| 13695 | ||
| 13696 | (F) コロンとパターン引数を必要とする構文を使いました。 | |
| 13697 | これらを補うか、正しい構文を使っているか確認してください。 | |
| 13698 | ||
| 13699 | =item '%s' resolved to '\o{%s}%d' | |
| 13700 | ||
| 13701 | =begin original | |
| 13702 | ||
| 13703 | As of Perl 5.32, this message is no longer generated. Instead, see | |
| 13704 | L</Non-octal character '%c' terminates \o early. Resolved as "%s">. | |
| 13705 | (W misc, regexp) You wrote something like C<\08>, or C<\179> in a | |
| 13706 | double-quotish string. All but the last digit is treated as a single | |
| 13707 | character, specified in octal. The last digit is the next character in | |
| 13708 | the string. To tell Perl that this is indeed what you want, you can use | |
| 13709 | the C<\o{ }> syntax, or use exactly three digits to specify the octal | |
| 13710 | for the character. | |
| 13711 | ||
| 13712 | =end original | |
| 13713 | ||
| 13714 | Perl 5.32 から、もはやこのメッセージは出力されません。 | |
| 13715 | 代わりに、 | |
| 13716 | L</Non-octal character '%c' terminates \o early. Resolved as "%s"> | |
| 13717 | を見てください。 | |
| 13718 | (W misc, regexp) ダブルクォート風の文字列の中で C<\08> や C<\179> のような | |
| 13719 | ものを書きました。 | |
| 13720 | 最後以外の数字は、8 進数で指定された単一の文字として扱われます。 | |
| 13721 | 最後の数字は文字列中の次の文字です。 | |
| 13722 | これが確かに望んだものであることを Perl に伝えるには、 | |
| 13723 | C<\o{ }> 構文を使うか、その文字を 8 進数で指定するために | |
| 13724 | 正確に 3 文字の数字を使ってください。 | |
| 13725 | ||
| 10053 | 13726 | =item Reversed %s= operator |
| 10054 | 13727 | |
| 10055 | 13728 | =begin original |
| 10056 | 13729 | |
| 10057 | 13730 | (W syntax) You wrote your assignment operator backwards. The = must |
| 10058 | 13731 | always come last, to avoid ambiguity with subsequent unary operators. |
| 10059 | 13732 | |
| 10060 | 13733 | =end original |
| 10061 | 13734 | |
| 10062 | 13735 | (W syntax) 代入演算子を逆順に書いています。 |
| 10063 | 13736 | 等号の後に単項演算子が続くときに、曖昧になるのを避けるため、 |
| 10064 | 13737 | 代入演算子では、等号 = が、最後にこないといけません。 |
| 10065 | 13738 | |
| 10066 | 13739 | =item rewinddir() attempted on invalid dirhandle %s |
| 10067 | 13740 | |
| 10068 | 13741 | =begin original |
| 10069 | 13742 | |
| 10070 | (W io) The dirhandle you tried to do a rewinddir() on is either closed | |
| 13743 | (W io) The dirhandle you tried to do a rewinddir() on is either closed | |
| 10071 | really a dirhandle. Check your control flow. | |
| 13744 | or not really a dirhandle. Check your control flow. | |
| 10072 | 13745 | |
| 10073 | 13746 | =end original |
| 10074 | 13747 | |
| 10075 | 13748 | (W io) rewinddir() しようとしたディレクトリハンドルは既に閉じられているか、 |
| 10076 | 13749 | 実際にはディレクトリハンドルではありません。 |
| 10077 | 13750 | 制御フローをチェックしてください。 |
| 10078 | 13751 | |
| 10079 | 13752 | =item Scalars leaked: %d |
| 10080 | 13753 | |
| 10081 | 13754 | =begin original |
| 10082 | 13755 | |
| 10083 | ( | |
| 13756 | (S internal) Something went wrong in Perl's internal bookkeeping | |
| 10084 | not all scalar variables were deallocated by the time | |
| 13757 | of scalars: not all scalar variables were deallocated by the time | |
| 10085 | What this usually indicates is a memory leak, which | |
| 13758 | Perl exited. What this usually indicates is a memory leak, which | |
| 10086 | especially if the Perl program is intended to be | |
| 13759 | is of course bad, especially if the Perl program is intended to be | |
| 13760 | long-running. | |
| 10087 | 13761 | |
| 10088 | 13762 | =end original |
| 10089 | 13763 | |
| 10090 | 13764 | (P) Perl 内部のスカラ管理で何かがおかしくなりました: |
| 10091 | 13765 | Perl 終了時に全てのスカラ変数が解放されませんでした。 |
| 10092 | 13766 | これは普通メモリリークを示していて、これはもちろん悪いことですが、 |
| 10093 | 13767 | Perl プログラムが長い間動作する場合には特にそうです。 |
| 10094 | 13768 | |
| 10095 | 13769 | =item Scalar value @%s[%s] better written as $%s[%s] |
| 10096 | 13770 | |
| 10097 | 13771 | =begin original |
| 10098 | 13772 | |
| 10099 | 13773 | (W syntax) You've used an array slice (indicated by @) to select a |
| 10100 | 13774 | single element of an array. Generally it's better to ask for a scalar |
| 10101 | 13775 | value (indicated by $). The difference is that C<$foo[&bar]> always |
| 10102 | 13776 | behaves like a scalar, both when assigning to it and when evaluating its |
| 10103 | 13777 | argument, while C<@foo[&bar]> behaves like a list when you assign to it, |
| 10104 | 13778 | and provides a list context to its subscript, which can do weird things |
| 10105 | 13779 | if you're expecting only one subscript. |
| 10106 | 13780 | |
| 10107 | 13781 | =end original |
| 10108 | 13782 | |
| 10109 | 13783 | (W syntax) 配列の一つの要素を選ぶのに、(@ で示される) 配列 |
| 10110 | 13784 | スライスを用いました。 |
| 10111 | 一般には | |
| 13785 | 一般的には($ で示される)スカラ値を取得した方がよいです。 | |
| 10112 | 13786 | 違いは、C<$foo[&bar]> とした場合、代入の対象としたときにも、 |
| 10113 | 13787 | 添字を評価するときにも、常にスカラとして振る舞うのに対し、 |
| 10114 | 13788 | C<@foo[&bar]> の場合には、代入の対象としてもリストとして振る舞い、 |
| 10115 | 13789 | 添字にもリストコンテキストを与えることになります; |
| 10116 | 13790 | これは、一つの添字だけを期待するときには、おかしなこととなるでしょう。 |
| 10117 | 13791 | |
| 10118 | 13792 | =begin original |
| 10119 | 13793 | |
| 10120 | 13794 | On the other hand, if you were actually hoping to treat the array |
| 10121 | 13795 | element as a list, you need to look into how references work, because |
| 10122 | 13796 | Perl will not magically convert between scalars and lists for you. See |
| 10123 | 13797 | L<perlref>. |
| 10124 | 13798 | |
| 10125 | 13799 | =end original |
| 10126 | 13800 | |
| 10127 | 13801 | 一方、もし本当に配列要素をリストとして扱いたい場合、リファレンスが |
| 10128 | 13802 | どのように働くかについて詳しく知る必要があります; なぜなら |
| 10129 | 13803 | Perl はスカラとリストを自動的に変換したりはしないからです。 |
| 10130 | 13804 | L<perlref> を参照してください。 |
| 10131 | 13805 | |
| 10132 | 13806 | =item Scalar value @%s{%s} better written as $%s{%s} |
| 10133 | 13807 | |
| 10134 | 13808 | =begin original |
| 10135 | 13809 | |
| 10136 | 13810 | (W syntax) You've used a hash slice (indicated by @) to select a single |
| 10137 | 13811 | element of a hash. Generally it's better to ask for a scalar value |
| 10138 | 13812 | (indicated by $). The difference is that C<$foo{&bar}> always behaves |
| 10139 | 13813 | like a scalar, both when assigning to it and when evaluating its |
| 10140 | 13814 | argument, while C<@foo{&bar}> behaves like a list when you assign to it, |
| 10141 | 13815 | and provides a list context to its subscript, which can do weird things |
| 10142 | 13816 | if you're expecting only one subscript. |
| 10143 | 13817 | |
| 10144 | 13818 | =end original |
| 10145 | 13819 | |
| 10146 | 13820 | (W syntax) ハッシュの一つの要素を選ぶのに、(@ で示される) ハッシュ |
| 10147 | 13821 | スライスを用いました。 |
| 10148 | 一般には | |
| 13822 | 一般的には($ で示される)スカラ値を取得した方がよいです。 | |
| 10149 | 13823 | 違いは、C<$foo{&bar}> とした場合、代入の対象としたときにも、 |
| 10150 | 13824 | 添字を評価するときにも、常にスカラとして振る舞うのに対し、 |
| 10151 | 13825 | C<@foo{&bar}> の場合には、代入の対象としてもリストとして振る舞い、 |
| 10152 | 13826 | 添字にもリストコンテキストを与えることになります; |
| 10153 | 13827 | これは、一つの添字だけを期待するときには、おかしなこととなるでしょう。 |
| 10154 | 13828 | |
| 10155 | 13829 | =begin original |
| 10156 | 13830 | |
| 10157 | 13831 | On the other hand, if you were actually hoping to treat the hash element |
| 10158 | 13832 | as a list, you need to look into how references work, because Perl will |
| 10159 | 13833 | not magically convert between scalars and lists for you. See |
| 10160 | 13834 | L<perlref>. |
| 10161 | 13835 | |
| 10162 | 13836 | =end original |
| 10163 | 13837 | |
| 10164 | 13838 | 一方、もし本当にハッシュ要素をリストとして扱いたい場合、リファレンスが |
| 10165 | 13839 | どのように働くかについて詳しく知る必要があります; なぜなら |
| 10166 | 13840 | Perl はスカラとリストを自動的に変換したりはしないからです。 |
| 10167 | 13841 | L<perlref> を参照してください。 |
| 10168 | 13842 | |
| 10169 | 13843 | =item Search pattern not terminated |
| 10170 | 13844 | |
| 10171 | 13845 | =begin original |
| 10172 | 13846 | |
| 10173 | 13847 | (F) The lexer couldn't find the final delimiter of a // or m{} |
| 10174 | 13848 | construct. Remember that bracketing delimiters count nesting level. |
| 10175 | 13849 | Missing the leading C<$> from a variable C<$m> may cause this error. |
| 10176 | 13850 | |
| 10177 | 13851 | =end original |
| 10178 | 13852 | |
| 10179 | 13853 | (F) // もしくは m{} 構文の最後の区切り文字が見つかりませんでした。 |
| 10180 | 13854 | かっこ類の区切り文字では、ネストを数えることを忘れないでください。 |
| 10181 | 13855 | C<$m> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 |
| 10182 | 13856 | |
| 10183 | 13857 | =begin original |
| 10184 | 13858 | |
| 10185 | Note that since Perl 5. | |
| 13859 | Note that since Perl 5.10.0 a // can also be the I<defined-or> | |
| 10186 | 13860 | construct, not just the empty search pattern. Therefore code written |
| 10187 | in Perl 5. | |
| 13861 | in Perl 5.10.0 or later that uses the // as the I<defined-or> can be | |
| 10188 | misparsed by pre-5. | |
| 13862 | misparsed by pre-5.10.0 Perls as a non-terminated search pattern. | |
| 10189 | 13863 | |
| 10190 | 13864 | =end original |
| 10191 | 13865 | |
| 10192 | Perl 5. | |
| 13866 | Perl 5.10.0 から、// は I<defined-or> 構文として扱われ、単なる | |
| 10193 | 13867 | 空検索パターンではありません。 |
| 10194 | 従って、Perl 5. | |
| 13868 | 従って、Perl 5.10.0 以降で書かれた、// を I<defined-or> として使っている | |
| 10195 | コードは、5. | |
| 13869 | コードは、5.10.0 以前の Perl では、終端していない検索パターンとして | |
| 10196 | 13870 | 誤パースされるかもしれません。 |
| 10197 | 13871 | |
| 10198 | =item Search pattern not terminated or ternary operator parsed as search pattern | |
| 10199 | ||
| 10200 | =begin original | |
| 10201 | ||
| 10202 | (F) The lexer couldn't find the final delimiter of a C<?PATTERN?> | |
| 10203 | construct. | |
| 10204 | ||
| 10205 | =end original | |
| 10206 | ||
| 10207 | (F) 構文解析器が C<?PATTERN?> 構造の最後のデリミタを見つけられませんでした。 | |
| 10208 | ||
| 10209 | =begin original | |
| 10210 | ||
| 10211 | The question mark is also used as part of the ternary operator (as in | |
| 10212 | C<foo ? 0 : 1>) leading to some ambiguous constructions being wrongly | |
| 10213 | parsed. One way to disambiguate the parsing is to put parentheses around | |
| 10214 | the conditional expression, i.e. C<(foo) ? 0 : 1>. | |
| 10215 | ||
| 10216 | =end original | |
| 10217 | ||
| 10218 | クエスチョンマークは (C<foo ? 0 : 1> のような) 3 項演算子の一部としても | |
| 10219 | 使われるので、紛らわしい構造の場合は間違ってパースされることがあります。 | |
| 10220 | パースのあいまいさをなくすための一つの方法は、C<(foo) ? 0 : 1> のように | |
| 10221 | 条件式をかっこで括ることです。 | |
| 10222 | ||
| 10223 | 13872 | =item seekdir() attempted on invalid dirhandle %s |
| 10224 | 13873 | |
| 10225 | 13874 | =begin original |
| 10226 | 13875 | |
| 10227 | 13876 | (W io) The dirhandle you are doing a seekdir() on is either closed or not |
| 10228 | 13877 | really a dirhandle. Check your control flow. |
| 10229 | 13878 | |
| 10230 | 13879 | =end original |
| 10231 | 13880 | |
| 10232 | 13881 | (W io) seekdir() しようとしたディレクトリハンドルは閉じられているか、 |
| 10233 | 13882 | 実際にはディレクトリハンドルではありません。 |
| 10234 | 13883 | 制御フローをチェックしてください。 |
| 10235 | 13884 | |
| 10236 | 13885 | =item %sseek() on unopened filehandle |
| 10237 | 13886 | |
| 10238 | 13887 | =begin original |
| 10239 | 13888 | |
| 10240 | 13889 | (W unopened) You tried to use the seek() or sysseek() function on a |
| 10241 | 13890 | filehandle that was either never opened or has since been closed. |
| 10242 | 13891 | |
| 10243 | 13892 | =end original |
| 10244 | 13893 | |
| 10245 | 13894 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
| 10246 | 13895 | ファイルハンドルに対して、seek() 関数や sysseek() 関数を使おうとしました。 |
| 10247 | 13896 | |
| 10248 | 13897 | =item select not implemented |
| 10249 | 13898 | |
| 10250 | 13899 | =begin original |
| 10251 | 13900 | |
| 10252 | 13901 | (F) This machine doesn't implement the select() system call. |
| 10253 | 13902 | |
| 10254 | 13903 | =end original |
| 10255 | 13904 | |
| 10256 | 13905 | (F) このマシンでは、select() システムコールは実装されていません。 |
| 10257 | 13906 | |
| 10258 | 13907 | =item Self-ties of arrays and hashes are not supported |
| 10259 | 13908 | |
| 10260 | 13909 | =begin original |
| 10261 | 13910 | |
| 10262 | 13911 | (F) Self-ties are of arrays and hashes are not supported in |
| 10263 | 13912 | the current implementation. |
| 10264 | 13913 | |
| 10265 | 13914 | =end original |
| 10266 | 13915 | |
| 10267 | 13916 | (F) 配列やハッシュの自己 tie は現在の実装では対応していません。 |
| 10268 | 13917 | |
| 10269 | 13918 | =item Semicolon seems to be missing |
| 10270 | 13919 | |
| 10271 | 13920 | =begin original |
| 10272 | 13921 | |
| 10273 | 13922 | (W semicolon) A nearby syntax error was probably caused by a missing |
| 10274 | 13923 | semicolon, or possibly some other missing operator, such as a comma. |
| 10275 | 13924 | |
| 10276 | 13925 | =end original |
| 10277 | 13926 | |
| 10278 | 13927 | (W semicolon) この付近の構文エラーは、おそらくセミコロンか、コンマなどの |
| 10279 | 13928 | 演算子がなかったために起こったものと考えられます。 |
| 10280 | 13929 | |
| 10281 | 13930 | =item semi-panic: attempt to dup freed string |
| 10282 | 13931 | |
| 10283 | 13932 | =begin original |
| 10284 | 13933 | |
| 10285 | 13934 | (S internal) The internal newSVsv() routine was called to duplicate a |
| 10286 | 13935 | scalar that had previously been marked as free. |
| 10287 | 13936 | |
| 10288 | 13937 | =end original |
| 10289 | 13938 | |
| 10290 | 13939 | (S internal) 既に解放と印を付けたスカラを複製するために、内部の |
| 10291 | 13940 | newSVsv() ルーティンが呼ばれました。 |
| 10292 | 13941 | |
| 10293 | 13942 | =item sem%s not implemented |
| 10294 | 13943 | |
| 10295 | 13944 | =begin original |
| 10296 | 13945 | |
| 10297 | 13946 | (F) You don't have System V semaphore IPC on your system. |
| 10298 | 13947 | |
| 10299 | 13948 | =end original |
| 10300 | 13949 | |
| 10301 | 13950 | (F) このシステムでは、System V セマフォ IPC は使えません。 |
| 10302 | 13951 | |
| 10303 | 13952 | =item send() on closed socket %s |
| 10304 | 13953 | |
| 10305 | 13954 | =begin original |
| 10306 | 13955 | |
| 10307 | 13956 | (W closed) The socket you're sending to got itself closed sometime |
| 10308 | 13957 | before now. Check your control flow. |
| 10309 | 13958 | |
| 10310 | 13959 | =end original |
| 10311 | 13960 | |
| 10312 | 13961 | (W closed) 送信を行なおうとしたソケットは、既に閉じられています。 |
| 10313 | 13962 | 制御フローをチェックしてください。 |
| 10314 | 13963 | |
| 10315 | =item Sequence | |
| 13964 | =item Sequence "\c{" invalid | |
| 10316 | 13965 | |
| 10317 | 13966 | =begin original |
| 10318 | 13967 | |
| 13968 | (F) These three characters may not appear in sequence in a | |
| 13969 | double-quotish context. This message is raised only on non-ASCII | |
| 13970 | platforms (a different error message is output on ASCII ones). If you | |
| 13971 | were intending to specify a control character with this sequence, you'll | |
| 13972 | have to use a different way to specify it. | |
| 13973 | ||
| 13974 | =end original | |
| 13975 | ||
| 13976 | (F) これら三つの文字の並びはダブルクォート風のコンテキストでは | |
| 13977 | 使えません。 | |
| 13978 | このメッセージは非 ASCII プラットフォームでのみ発生します | |
| 13979 | (ASCII では異なったえらメッセージが出力されます)。 | |
| 13980 | この並びの制御文字を指定することを意図している場合は、指定するために | |
| 13981 | 異なる方法を使う必要があります。 | |
| 13982 | ||
| 13983 | =item Sequence (? incomplete in regex; marked by S<<-- HERE> in m/%s/ | |
| 13984 | ||
| 13985 | =begin original | |
| 13986 | ||
| 10319 | 13987 | (F) A regular expression ended with an incomplete extension (?. The |
| 10320 | <-- HERE shows in the regular expression | |
| 13988 | S<<-- HERE> shows whereabouts in the regular expression the problem was | |
| 10321 | 13989 | discovered. See L<perlre>. |
| 10322 | 13990 | |
| 10323 | 13991 | =end original |
| 10324 | 13992 | |
| 10325 | 13993 | (F) 正規表現が不完全な拡張 (? で終わっています。 |
| 10326 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 13994 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 10327 | 13995 | L<perlre> を参照してください。 |
| 10328 | 13996 | |
| 10329 | =item Sequence (?% | |
| 13997 | =item Sequence (?%c...) not implemented in regex; marked by S<<-- HERE> in | |
| 13998 | m/%s/ | |
| 10330 | 13999 | |
| 10331 | 14000 | =begin original |
| 10332 | 14001 | |
| 10333 | 14002 | (F) A proposed regular expression extension has the character reserved |
| 10334 | but has not yet been written. The <-- HERE shows in the | |
| 14003 | but has not yet been written. The S<<-- HERE> shows whereabouts in the | |
| 10335 | expression | |
| 14004 | regular expression the problem was discovered. See L<perlre>. | |
| 10336 | 14005 | |
| 10337 | 14006 | =end original |
| 10338 | 14007 | |
| 10339 | 14008 | (F) 使おうとした正規表現の拡張は、予約された文字ですが、 |
| 10340 | 14009 | まだ実装されていません。 |
| 10341 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 14010 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 10342 | 14011 | L<perlre> を参照してください。 |
| 10343 | 14012 | |
| 10344 | =item Sequence (?%s...) not recognized in regex; marked by <-- HERE in | |
| 14013 | =item Sequence (?%s...) not recognized in regex; marked by S<<-- HERE> in | |
| 14014 | m/%s/ | |
| 10345 | 14015 | |
| 10346 | 14016 | =begin original |
| 10347 | 14017 | |
| 10348 | (F) You used a regular expression extension that doesn't make sense. | |
| 14018 | (F) You used a regular expression extension that doesn't make sense. | |
| 10349 | <-- HERE shows in the regular expression | |
| 14019 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
| 10350 | discovered. This happen | |
| 14020 | discovered. This may happen when using the C<(?^...)> construct to tell | |
| 10351 | 14021 | Perl to use the default regular expression modifiers, and you |
| 10352 | 14022 | redundantly specify a default modifier. For other |
| 10353 | 14023 | causes, see L<perlre>. |
| 10354 | 14024 | |
| 10355 | 14025 | =end original |
| 10356 | 14026 | |
| 10357 | 14027 | (F) お使いになった正規表現の拡張は、意味をなしません。 |
| 10358 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 14028 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 10359 | 14029 | これは、 Perl にデフォルトの正規表現修飾子を使うように知らせるために |
| 10360 | 14030 | C<(?^...)> 構文を使ったときや、デフォルトの演算子を冗長に指定しています。 |
| 10361 | 14031 | その他の理由については、L<perlre> を参照してください。 |
| 10362 | 14032 | |
| 10363 | =item Sequence | |
| 14033 | =item Sequence (?#... not terminated in regex m/%s/ | |
| 10364 | 14034 | |
| 10365 | 14035 | =begin original |
| 10366 | 14036 | |
| 14037 | (F) A regular expression comment must be terminated by a closing | |
| 14038 | parenthesis. Embedded parentheses aren't allowed. See | |
| 14039 | L<perlre>. | |
| 14040 | ||
| 14041 | =end original | |
| 14042 | ||
| 14043 | (F) 正規表現のコメントは閉じかっこで終わらなければなりません。 | |
| 14044 | 組み込みのかっこは許可されません。 | |
| 14045 | L<perlre> を参照してください。 | |
| 14046 | ||
| 14047 | =item Sequence (?&... not terminated in regex; marked by S<<-- HERE> in | |
| 14048 | m/%s/ | |
| 14049 | ||
| 14050 | =begin original | |
| 14051 | ||
| 14052 | (F) A named reference of the form C<(?&...)> was missing the final | |
| 14053 | closing parenthesis after the name. The S<<-- HERE> shows whereabouts | |
| 14054 | in the regular expression the problem was discovered. | |
| 14055 | ||
| 14056 | =end original | |
| 14057 | ||
| 14058 | (F) C<(?&...)> の形式の名前付きリファレンスで、名前の後の最後の閉じかっこが | |
| 14059 | ありません。 | |
| 14060 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 14061 | ||
| 14062 | =item Sequence (?%c... not terminated in regex; marked by S<<-- HERE> | |
| 14063 | in m/%s/ | |
| 14064 | ||
| 14065 | =begin original | |
| 14066 | ||
| 14067 | (F) A named group of the form C<(?'...')> or C<< (?<...>) >> was missing the final | |
| 14068 | closing quote or angle bracket. The S<<-- HERE> shows whereabouts in the | |
| 14069 | regular expression the problem was discovered. | |
| 14070 | ||
| 14071 | =end original | |
| 14072 | ||
| 14073 | (F) C<(?'...')> または C<< (?<...>) >> の形式の名前付きグループで、名前の後の | |
| 14074 | 最後の閉じクォートまたは山かっこがありません。 | |
| 14075 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 14076 | ||
| 14077 | =item Sequence (%s... not terminated in regex; marked by S<<-- HERE> | |
| 14078 | in m/%s/ | |
| 14079 | ||
| 14080 | =begin original | |
| 14081 | ||
| 14082 | (F) A lookahead assertion C<(?=...)> or C<(?!...)> or lookbehind | |
| 14083 | assertion C<< (?<=...) >> or C<< (?<!...) >> was missing the final | |
| 14084 | closing parenthesis. The S<<-- HERE> shows whereabouts in the | |
| 14085 | regular expression the problem was discovered. | |
| 14086 | ||
| 14087 | =end original | |
| 14088 | ||
| 14089 | (F) 先読み表明 C<(?=...)> および C<(?!...)> や | |
| 14090 | 後読み表明 C<< (?<=...) >> および C<< (?<!...) >> は | |
| 14091 | 最後の閉じかっこがありませんでした。 | |
| 14092 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 14093 | ||
| 14094 | =item Sequence (?(%c... not terminated in regex; marked by S<<-- HERE> | |
| 14095 | in m/%s/ | |
| 14096 | ||
| 14097 | =begin original | |
| 14098 | ||
| 14099 | (F) A named reference of the form C<(?('...')...)> or C<< (?(<...>)...) >> was | |
| 14100 | missing the final closing quote or angle bracket after the name. The | |
| 14101 | S<<-- HERE> shows whereabouts in the regular expression the problem was | |
| 14102 | discovered. | |
| 14103 | ||
| 14104 | =end original | |
| 14105 | ||
| 14106 | (F) C<(?('...')...)> または C<< (?(<...>)...) >> の形式の名前付き | |
| 14107 | リファレンスで、名前の後の最後の閉じクォートまたは山かっこがありません。 | |
| 14108 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 14109 | ||
| 14110 | =item Sequence (?... not terminated in regex; marked by S<<-- HERE> in | |
| 14111 | m/%s/ | |
| 14112 | ||
| 14113 | =begin original | |
| 14114 | ||
| 14115 | (F) There was no matching closing parenthesis for the '('. The | |
| 14116 | S<<-- HERE> shows whereabouts in the regular expression the problem was | |
| 14117 | discovered. | |
| 14118 | ||
| 14119 | =end original | |
| 14120 | ||
| 14121 | (F) '(' に対応する閉じかっこがありません。 | |
| 14122 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 14123 | ||
| 14124 | =item Sequence \%s... not terminated in regex; marked by S<<-- HERE> in | |
| 14125 | m/%s/ | |
| 14126 | ||
| 14127 | =begin original | |
| 14128 | ||
| 10367 | 14129 | (F) The regular expression expects a mandatory argument following the escape |
| 10368 | 14130 | sequence and this has been omitted or incorrectly written. |
| 10369 | 14131 | |
| 10370 | 14132 | =end original |
| 10371 | 14133 | |
| 10372 | 14134 | (F) 正規表現でエスケープシーケンスの後に必須の引き数を想定しましたが、 |
| 10373 | 14135 | それが省略されているか適切に書かれていません。 |
| 10374 | 14136 | |
| 10375 | =item Sequence (? | |
| 14137 | =item Sequence (?{...}) not terminated with ')' | |
| 10376 | 14138 | |
| 10377 | 14139 | =begin original |
| 10378 | 14140 | |
| 10379 | (F) | |
| 14141 | (F) The end of the perl code contained within the {...} must be | |
| 10380 | ||
| 14142 | followed immediately by a ')'. | |
| 10381 | the regular expression about where the problem was discovered. See | |
| 10382 | L<perlre>. | |
| 10383 | 14143 | |
| 10384 | 14144 | =end original |
| 10385 | 14145 | |
| 10386 | (F) | |
| 14146 | (F) {} の中に含まれている perl コードの末尾は直後に ')' が | |
| 10387 | ||
| 14147 | 引き続かなければなりません。 | |
| 10388 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 10389 | L<perlre> を参照してください。 | |
| 10390 | 14148 | |
| 10391 | =item Sequence (? | |
| 14149 | =item Sequence (?PE<gt>... not terminated in regex; marked by S<<-- HERE> in m/%s/ | |
| 10392 | 14150 | |
| 10393 | 14151 | =begin original |
| 10394 | 14152 | |
| 10395 | (F) | |
| 14153 | (F) A named reference of the form C<(?PE<gt>...)> was missing the final | |
| 10396 | ||
| 14154 | closing parenthesis after the name. The S<<-- HERE> shows whereabouts | |
| 10397 | ||
| 14155 | in the regular expression the problem was discovered. | |
| 10398 | problem was discovered. See L<perlre>. | |
| 10399 | 14156 | |
| 10400 | 14157 | =end original |
| 10401 | 14158 | |
| 10402 | (F) (? | |
| 14159 | (F) C<(?PE<gt>...)> 形式の名前付き参照で、名前の後の最後の閉じかっこが | |
| 10403 | ||
| 14160 | ありません。 | |
| 10404 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 14161 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 10405 | L<perlre> を参照してください。 | |
| 10406 | 14162 | |
| 10407 | =item | |
| 14163 | =item Sequence (?PE<lt>... not terminated in regex; marked by S<<-- HERE> in m/%s/ | |
| 10408 | 14164 | |
| 10409 | 14165 | =begin original |
| 10410 | 14166 | |
| 10411 | ||
| 14167 | (F) A named group of the form C<(?PE<lt>...E<gt>')> was missing the final | |
| 14168 | closing angle bracket. The S<<-- HERE> shows whereabouts in the | |
| 14169 | regular expression the problem was discovered. | |
| 10412 | 14170 | |
| 10413 | 14171 | =end original |
| 10414 | 14172 | |
| 10415 | ||
| 14173 | (F) C<(?PE<lt>...E<gt>')> 形式の名前付きグループで、 | |
| 14174 | 最後の閉じ山かっこがありません。 | |
| 14175 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 10416 | 14176 | |
| 10417 | =item Se | |
| 14177 | =item Sequence ?P=... not terminated in regex; marked by S<<-- HERE> in | |
| 14178 | m/%s/ | |
| 10418 | 14179 | |
| 10419 | 14180 | =begin original |
| 10420 | 14181 | |
| 14182 | (F) A named reference of the form C<(?P=...)> was missing the final | |
| 14183 | closing parenthesis after the name. The S<<-- HERE> shows whereabouts | |
| 14184 | in the regular expression the problem was discovered. | |
| 14185 | ||
| 14186 | =end original | |
| 14187 | ||
| 14188 | (F) C<(?P=...)> の形式の名前付きリファレンスで、名前の後の最後の | |
| 14189 | 閉じかっこがありません。 | |
| 14190 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 14191 | ||
| 14192 | =item Sequence (?R) not terminated in regex m/%s/ | |
| 14193 | ||
| 14194 | =begin original | |
| 14195 | ||
| 14196 | (F) An C<(?R)> or C<(?0)> sequence in a regular expression was missing the | |
| 14197 | final parenthesis. | |
| 14198 | ||
| 14199 | =end original | |
| 14200 | ||
| 14201 | (F) 正規表現中の C<(?R)> または C<(?0)> で最後のかっこがありません。 | |
| 14202 | ||
| 14203 | =item Z<>500 Server error | |
| 14204 | ||
| 14205 | =begin original | |
| 14206 | ||
| 10421 | 14207 | (A) This is the error message generally seen in a browser window |
| 10422 | 14208 | when trying to run a CGI program (including SSI) over the web. The |
| 10423 | 14209 | actual error text varies widely from server to server. The most |
| 10424 | 14210 | frequently-seen variants are "500 Server error", "Method (something) |
| 10425 | 14211 | not permitted", "Document contains no data", "Premature end of script |
| 10426 | 14212 | headers", and "Did not produce a valid header". |
| 10427 | 14213 | |
| 10428 | 14214 | =end original |
| 10429 | 14215 | |
| 10430 | 14216 | (A) これは、一般的には CGI (SSI を含みます)プログラムを WWW 越しに |
| 10431 | 14217 | 実行しようとしたときにブラウザのウィンドウに表示されるメッセージです。 |
| 10432 | 14218 | 実際のエラーテキストはサーバーによって大きく異なります。 |
| 10433 | 14219 | もっともよく見られるものとしては、"500 Server error", |
| 10434 | 14220 | "Method (something) not permitted", "Document contains no data", |
| 10435 | 14221 | "Premature end of script headers", "Did not produce a valid header" が |
| 10436 | 14222 | あります。 |
| 10437 | 14223 | |
| 10438 | 14224 | =begin original |
| 10439 | 14225 | |
| 10440 | 14226 | B<This is a CGI error, not a Perl error>. |
| 10441 | 14227 | |
| 10442 | 14228 | =end original |
| 10443 | 14229 | |
| 10444 | 14230 | B<これは CGI のエラーであり、Perl のエラーではありません>. |
| 10445 | 14231 | |
| 10446 | 14232 | =begin original |
| 10447 | 14233 | |
| 10448 | 14234 | You need to make sure your script is executable, is accessible by |
| 10449 | 14235 | the user CGI is running the script under (which is probably not the |
| 10450 | 14236 | user account you tested it under), does not rely on any environment |
| 10451 | 14237 | variables (like PATH) from the user it isn't running under, and isn't |
| 10452 | 14238 | in a location where the CGI server can't find it, basically, more or |
| 10453 | 14239 | less. Please see the following for more information: |
| 10454 | 14240 | |
| 10455 | 14241 | =end original |
| 10456 | 14242 | |
| 10457 | 14243 | まずはあなたのスクリプトが実行可能か、CGI を実行するユーザー(これはおそらく |
| 10458 | 14244 | あなたがテストしたユーザーではありません)で読み込み可能か、実行しているのとは |
| 10459 | 14245 | 異なるユーザーの環境変数(PATH など)に依存していないか、CGI サーバーが |
| 10460 | 14246 | 見つけられない場所に置いていないか、といったことを確認する必要があるでしょう。 |
| 10461 | 14247 | さらなる情報については以下を参照してください。 |
| 10462 | 14248 | |
| 10463 | http://www.perl.org/CGI_MetaFAQ.html | |
| 14249 | https://www.perl.org/CGI_MetaFAQ.html | |
| 10464 | 14250 | http://www.htmlhelp.org/faq/cgifaq.html |
| 10465 | 14251 | http://www.w3.org/Security/Faq/ |
| 10466 | 14252 | |
| 10467 | 14253 | =begin original |
| 10468 | 14254 | |
| 10469 | 14255 | You should also look at L<perlfaq9>. |
| 10470 | 14256 | |
| 10471 | 14257 | =end original |
| 10472 | 14258 | |
| 10473 | 14259 | L<perlfaq9> も見るべきでしょう。 |
| 10474 | 14260 | |
| 10475 | 14261 | =item setegid() not implemented |
| 10476 | 14262 | |
| 10477 | 14263 | =begin original |
| 10478 | 14264 | |
| 10479 | 14265 | (F) You tried to assign to C<$)>, and your operating system doesn't |
| 10480 | 14266 | support the setegid() system call (or equivalent), or at least Configure |
| 10481 | 14267 | didn't think so. |
| 10482 | 14268 | |
| 10483 | 14269 | =end original |
| 10484 | 14270 | |
| 10485 | 14271 | (F) C<$)> へ代入を行なおうとしましたが、この OS では、setegid() |
| 10486 | 14272 | システムコール (または、同等のもの) がサポートされていません; |
| 10487 | 14273 | 少なくとも Configure では、そう判断されました。 |
| 10488 | 14274 | |
| 10489 | 14275 | =item seteuid() not implemented |
| 10490 | 14276 | |
| 10491 | 14277 | =begin original |
| 10492 | 14278 | |
| 10493 | 14279 | (F) You tried to assign to C<< $> >>, and your operating system doesn't |
| 10494 | 14280 | support the seteuid() system call (or equivalent), or at least Configure |
| 10495 | 14281 | didn't think so. |
| 10496 | 14282 | |
| 10497 | 14283 | =end original |
| 10498 | 14284 | |
| 10499 | 14285 | (F) C<< $> >> へ代入を行なおうとしましたが、この OS では、seteuid() |
| 10500 | 14286 | システムコール (または、同等のもの) がサポートされていません; |
| 10501 | 14287 | 少なくとも Configure では、そう判断されました。 |
| 10502 | 14288 | |
| 10503 | 14289 | =item setpgrp can't take arguments |
| 10504 | 14290 | |
| 10505 | 14291 | =begin original |
| 10506 | 14292 | |
| 10507 | 14293 | (F) Your system has the setpgrp() from BSD 4.2, which takes no |
| 10508 | 14294 | arguments, unlike POSIX setpgid(), which takes a process ID and process |
| 10509 | 14295 | group ID. |
| 10510 | 14296 | |
| 10511 | 14297 | =end original |
| 10512 | 14298 | |
| 10513 | 14299 | (F) このシステムの setpgrp() は BSD 4.2 由来のもので、引数がありません; |
| 10514 | 14300 | POSIX setpgid() はプロセス ID とプロセスグループ ID を引数にとります。 |
| 10515 | 14301 | |
| 10516 | 14302 | =item setrgid() not implemented |
| 10517 | 14303 | |
| 10518 | 14304 | =begin original |
| 10519 | 14305 | |
| 10520 | 14306 | (F) You tried to assign to C<$(>, and your operating system doesn't |
| 10521 | 14307 | support the setrgid() system call (or equivalent), or at least Configure |
| 10522 | 14308 | didn't think so. |
| 10523 | 14309 | |
| 10524 | 14310 | =end original |
| 10525 | 14311 | |
| 10526 | 14312 | (F) C<$(> へ代入を行なおうとしましたが、この OS では、setrgid() |
| 10527 | 14313 | システムコール (または、同等のもの) がサポートされていません; |
| 10528 | 14314 | 少なくとも Configure では、そう判断されました。 |
| 10529 | 14315 | |
| 10530 | 14316 | =item setruid() not implemented |
| 10531 | 14317 | |
| 10532 | 14318 | =begin original |
| 10533 | 14319 | |
| 10534 | 14320 | (F) You tried to assign to C<$<>, and your operating system doesn't |
| 10535 | 14321 | support the setruid() system call (or equivalent), or at least Configure |
| 10536 | 14322 | didn't think so. |
| 10537 | 14323 | |
| 10538 | 14324 | =end original |
| 10539 | 14325 | |
| 10540 | 14326 | (F) C<$<> へ代入を行なおうとしましたが、この OS では、setruid() |
| 10541 | 14327 | システムコール (または、同等のもの) がサポートされていません; |
| 10542 | 14328 | 少なくとも Configure では、そう判断されました。 |
| 10543 | 14329 | |
| 10544 | 14330 | =item setsockopt() on closed socket %s |
| 10545 | 14331 | |
| 10546 | 14332 | =begin original |
| 10547 | 14333 | |
| 10548 | 14334 | (W closed) You tried to set a socket option on a closed socket. Did you |
| 10549 | 14335 | forget to check the return value of your socket() call? See |
| 10550 | 14336 | L<perlfunc/setsockopt>. |
| 10551 | 14337 | |
| 10552 | 14338 | =end original |
| 10553 | 14339 | |
| 10554 | 14340 | (W closed) 閉じているソケットにソケットオプションを設定しようとしました。 |
| 10555 | 14341 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか? |
| 10556 | 14342 | L<perlfunc/setsockopt> を参照してください。 |
| 10557 | 14343 | |
| 14344 | =item Setting $/ to a reference to %s is forbidden | |
| 14345 | ||
| 14346 | =begin original | |
| 14347 | ||
| 14348 | (F) You assigned a reference to a scalar to C<$/> where the referenced item is | |
| 14349 | not a positive integer. In older perls this B<appeared> to work the same as | |
| 14350 | setting it to C<undef> but was in fact internally different, less efficient | |
| 14351 | and with very bad luck could have resulted in your file being split by a | |
| 14352 | stringified form of the reference. | |
| 14353 | ||
| 14354 | =end original | |
| 14355 | ||
| 14356 | (F) リファレンス先のアイテムが正の整数でないときに、 | |
| 14357 | C<$/> にスカラへの整数を代入しました。 | |
| 14358 | 以前の perl ではこれは C<undef> を設定するのと同じように B<見えました> が、 | |
| 14359 | 内部的には異なっていて、より非効率で、とても運が悪い場合はファイルが | |
| 14360 | このリファレンスの文字列化形式で split されることになっていました。 | |
| 14361 | ||
| 14362 | =begin original | |
| 14363 | ||
| 14364 | In Perl 5.20.0 this was changed so that it would be B<exactly> the same as | |
| 14365 | setting C<$/> to undef, with the exception that this warning would be thrown. | |
| 14366 | ||
| 14367 | =end original | |
| 14368 | ||
| 14369 | Perl 5.20.0 でこれは変更され、これはこの警告が投げられることを除いては | |
| 14370 | C<$/> に undef を設定するのと B<正確に> 同じになりました。 | |
| 14371 | ||
| 14372 | =begin original | |
| 14373 | ||
| 14374 | You are recommended to change your code to set C<$/> to C<undef> explicitly if | |
| 14375 | you wish to slurp the file. As of Perl 5.28 assigning C<$/> to a reference | |
| 14376 | to an integer which isn't positive is a fatal error. | |
| 14377 | ||
| 14378 | =end original | |
| 14379 | ||
| 14380 | ファイル全体を読み込みたい場合は、明示的に C<$/> に C<undef> を | |
| 14381 | 設定するようにコードを変更することを勧めます。 | |
| 14382 | Perl 5.28 から、C<$/> への正でない整数へのリファレンスの代入は | |
| 14383 | 致命的エラーです。 | |
| 14384 | ||
| 14385 | =item Setting $/ to %s reference is forbidden | |
| 14386 | ||
| 14387 | =begin original | |
| 14388 | ||
| 14389 | (F) You tried to assign a reference to a non integer to C<$/>. In older | |
| 14390 | Perls this would have behaved similarly to setting it to a reference to | |
| 14391 | a positive integer, where the integer was the address of the reference. | |
| 14392 | As of Perl 5.20.0 this is a fatal error, to allow future versions of Perl | |
| 14393 | to use non-integer refs for more interesting purposes. | |
| 14394 | ||
| 14395 | =end original | |
| 14396 | ||
| 14397 | (F) 非整数へのリファレンスを C<$/> に代入しようとしました。 | |
| 14398 | 以前の Perl ではこれは正の整数(リファレンスのアドレス)へのリファレンスを | |
| 14399 | 設定するのと似たように振る舞っていました。 | |
| 14400 | 将来のバージョンの Perl で非整数リファレンスをより興味深い目的に使えるように | |
| 14401 | Perl 5.20.0 から、これは致命的エラーになりました。 | |
| 14402 | ||
| 10558 | 14403 | =item shm%s not implemented |
| 10559 | 14404 | |
| 10560 | 14405 | =begin original |
| 10561 | 14406 | |
| 10562 | 14407 | (F) You don't have System V shared memory IPC on your system. |
| 10563 | 14408 | |
| 10564 | 14409 | =end original |
| 10565 | 14410 | |
| 10566 | 14411 | (F) このシステムでは、System V 共有メモリ IPC は使えません。 |
| 10567 | 14412 | |
| 10568 | 14413 | =item !=~ should be !~ |
| 10569 | 14414 | |
| 10570 | 14415 | =begin original |
| 10571 | 14416 | |
| 10572 | 14417 | (W syntax) The non-matching operator is !~, not !=~. !=~ will be |
| 10573 | 14418 | interpreted as the != (numeric not equal) and ~ (1's complement) |
| 10574 | 14419 | operators: probably not what you intended. |
| 10575 | 14420 | |
| 10576 | 14421 | =end original |
| 10577 | 14422 | |
| 10578 | 14423 | (W syntax) 非マッチ演算子は !=~ ではなく !~ です。 |
| 10579 | 14424 | !=~ は != (数値の不一致) と ~ (1 の補数) 演算子と解釈されます: |
| 10580 | 14425 | おそらくあなたの意図していることではないでしょう。 |
| 10581 | 14426 | |
| 10582 | =item <> should be quotes | |
| 10583 | ||
| 10584 | =begin original | |
| 10585 | ||
| 10586 | (F) You wrote C<< require <file> >> when you should have written | |
| 10587 | C<require 'file'>. | |
| 10588 | ||
| 10589 | =end original | |
| 10590 | ||
| 10591 | (F) C<require 'file'> と書くべきところで C<< require <file> >> と | |
| 10592 | 書いています。 | |
| 10593 | ||
| 10594 | 14427 | =item /%s/ should probably be written as "%s" |
| 10595 | 14428 | |
| 10596 | 14429 | =begin original |
| 10597 | 14430 | |
| 10598 | 14431 | (W syntax) You have used a pattern where Perl expected to find a string, |
| 10599 | 14432 | as in the first argument to C<join>. Perl will treat the true or false |
| 10600 | 14433 | result of matching the pattern against $_ as the string, which is |
| 10601 | 14434 | probably not what you had in mind. |
| 10602 | 14435 | |
| 10603 | 14436 | =end original |
| 10604 | 14437 | |
| 10605 | 14438 | (W syntax) C<join> の最初の引数として、Perl が文字列を想定しているところに |
| 10606 | 14439 | パターンを使いました。 |
| 10607 | 14440 | Perl は $_ をパターンマッチングした結果の真か偽の値を文字列として |
| 10608 | 14441 | 扱いますが、これはおそらく望んでいることではないでしょう。 |
| 10609 | 14442 | |
| 10610 | 14443 | =item shutdown() on closed socket %s |
| 10611 | 14444 | |
| 10612 | 14445 | =begin original |
| 10613 | 14446 | |
| 10614 | 14447 | (W closed) You tried to do a shutdown on a closed socket. Seems a bit |
| 10615 | 14448 | superfluous. |
| 10616 | 14449 | |
| 10617 | 14450 | =end original |
| 10618 | 14451 | |
| 10619 | 14452 | (W closed) クローズされたソケットに shutdown を行なおうとしました。 |
| 10620 | 14453 | 多少、無駄のように思われます。 |
| 10621 | 14454 | |
| 10622 | 14455 | =item SIG%s handler "%s" not defined |
| 10623 | 14456 | |
| 10624 | 14457 | =begin original |
| 10625 | 14458 | |
| 10626 | 14459 | (W signal) The signal handler named in %SIG doesn't, in fact, exist. |
| 10627 | 14460 | Perhaps you put it into the wrong package? |
| 10628 | 14461 | |
| 10629 | 14462 | =end original |
| 10630 | 14463 | |
| 10631 | 14464 | (W signal) %SIG 内で指定したシグナルハンドラが、存在しません。 |
| 10632 | 14465 | 間違ったパッケージで、設定を行なっているのかもしれません。 |
| 10633 | 14466 | |
| 14467 | =item Slab leaked from cv %p | |
| 14468 | ||
| 14469 | =begin original | |
| 14470 | ||
| 14471 | (S) If you see this message, then something is seriously wrong with the | |
| 14472 | internal bookkeeping of op trees. An op tree needed to be freed after | |
| 14473 | a compilation error, but could not be found, so it was leaked instead. | |
| 14474 | ||
| 14475 | =end original | |
| 14476 | ||
| 14477 | (S) このメッセージが出た場合、構文木の内部管理で何かひどく | |
| 14478 | 悪いことになっています。 | |
| 14479 | ある構文木がコンパイルエラーの後で解放される必要がありますが、 | |
| 14480 | 見つからないので、リークしています。 | |
| 14481 | ||
| 14482 | =item sleep(%u) too large | |
| 14483 | ||
| 14484 | =begin original | |
| 14485 | ||
| 14486 | (W overflow) You called C<sleep> with a number that was larger than | |
| 14487 | it can reliably handle and C<sleep> probably slept for less time than | |
| 14488 | requested. | |
| 14489 | ||
| 14490 | =end original | |
| 14491 | ||
| 14492 | (W overflow) 確実に扱えるよりも大きな値で C<sleep> を呼び出したので、 | |
| 14493 | C<sleep> はおそらく指定されたより短い時間だけスリープします。 | |
| 14494 | ||
| 14495 | =item Slurpy parameter not last | |
| 14496 | ||
| 14497 | =begin original | |
| 14498 | ||
| 14499 | (F) In a subroutine signature, you put something after a slurpy (array or | |
| 14500 | hash) parameter. The slurpy parameter takes all the available arguments, | |
| 14501 | so there can't be any left to fill later parameters. | |
| 14502 | ||
| 14503 | =end original | |
| 14504 | ||
| 14505 | (F) サブルーチンシグネチャの中で、吸い込み(配列またはハッシュ)パラメータの後に | |
| 14506 | 何かを起きました。 | |
| 14507 | 吸い込みパラメータは利用可能な全ての引数を取るので、その後のパラメータに | |
| 14508 | 対応するものを残しません。 | |
| 14509 | ||
| 10634 | 14510 | =item Smart matching a non-overloaded object breaks encapsulation |
| 10635 | 14511 | |
| 10636 | 14512 | =begin original |
| 10637 | 14513 | |
| 10638 | 14514 | (F) You should not use the C<~~> operator on an object that does not |
| 10639 | overload it: Perl refuses to use the object's underlying structure | |
| 14515 | overload it: Perl refuses to use the object's underlying structure | |
| 10640 | the smart match. | |
| 14516 | for the smart match. | |
| 10641 | 14517 | |
| 10642 | 14518 | =end original |
| 10643 | 14519 | |
| 10644 | 14520 | (F) オーバーロードしていないオブジェクトに対して C<~~> 演算子を |
| 10645 | 14521 | 使うべきではありません: Perl はスマートマッチング時にオブジェクトの |
| 10646 | 14522 | 基礎となる構造を使うことを拒否します。 |
| 10647 | 14523 | |
| 10648 | =item | |
| 14524 | =item Smartmatch is deprecated | |
| 10649 | 14525 | |
| 10650 | 14526 | =begin original |
| 10651 | 14527 | |
| 10652 | ( | |
| 14528 | (D deprecated::smartmatch) This warning is emitted if you | |
| 10653 | ||
| 14529 | use the smartmatch (C<~~>) operator. This is a deprecated | |
| 14530 | feature. Particularly, its behavior is noticed for being | |
| 14531 | unnecessarily complex and unintuitive, and it will be removed | |
| 14532 | in Perl 5.42. | |
| 10654 | 14533 | |
| 10655 | 14534 | =end original |
| 10656 | 14535 | |
| 10657 | ( | |
| 14536 | (D deprecated::smartmatch) この警告は、スマートマッチング (C<~~>) 演算子を | |
| 10658 | た | |
| 14537 | 使ったときに出力されます。 | |
| 10659 | ||
| 14538 | これは廃止予定の機能です。 | |
| 14539 | 特に、この実装は不必要に複雑かつ直感的でないとされており、 | |
| 14540 | Perl 5.42 で削除される予定です。 | |
| 10660 | 14541 | |
| 10661 | =item Sor | |
| 14542 | =item Sorry, hash keys must be smaller than 2**31 bytes | |
| 10662 | 14543 | |
| 10663 | 14544 | =begin original |
| 10664 | 14545 | |
| 10665 | (F) | |
| 14546 | (F) You tried to create a hash containing a very large key, where "very | |
| 10666 | ||
| 14547 | large" means that it needs at least 2 gigabytes to store. Unfortunately, | |
| 14548 | Perl doesn't yet handle such large hash keys. You should | |
| 14549 | reconsider your design to avoid hashing such a long string directly. | |
| 10667 | 14550 | |
| 10668 | 14551 | =end original |
| 10669 | 14552 | |
| 10670 | (F) | |
| 14553 | (F) とても大きなキーを含むハッシュを作ろうとしました; | |
| 10671 | ||
| 14554 | ここで「とても大きな」とは、保管に最低 2 ギガバイト必要なものです。 | |
| 10672 | ||
| 14555 | 残念ながら、Perl はまだそのような大きなハッシュキーを扱えません。 | |
| 14556 | そのような長い文字列で直接ハッシュを作るのを避けるように、 | |
| 14557 | 設計を再考する必要があります。 | |
| 10673 | 14558 | |
| 14559 | =item sort is now a reserved word | |
| 14560 | ||
| 14561 | =begin original | |
| 14562 | ||
| 14563 | (F) An ancient error message that almost nobody ever runs into anymore. | |
| 14564 | But before sort was a keyword, people sometimes used it as a filehandle. | |
| 14565 | ||
| 14566 | =end original | |
| 14567 | ||
| 14568 | (F) もはや、誰もお目にかかることのない、旧世代のエラーメッセージです。 | |
| 14569 | ただ、sort がキーワードとなる前には、これをファイルハンドルとして | |
| 14570 | 使う方がいました。 | |
| 14571 | ||
| 10674 | 14572 | =item Source filters apply only to byte streams |
| 10675 | 14573 | |
| 10676 | 14574 | =begin original |
| 10677 | 14575 | |
| 10678 | 14576 | (F) You tried to activate a source filter (usually by loading a |
| 10679 | 14577 | source filter module) within a string passed to C<eval>. This is |
| 10680 | 14578 | not permitted under the C<unicode_eval> feature. Consider using |
| 10681 | 14579 | C<evalbytes> instead. See L<feature>. |
| 10682 | 14580 | |
| 10683 | 14581 | =end original |
| 10684 | 14582 | |
| 10685 | 14583 | (F) C<eval> に渡された文字列の中で(通常はソースフィルタモジュールを |
| 10686 | 14584 | 読み込むことで)ソースフィルタを有効にしようとしました。 |
| 10687 | 14585 | これは C<unicode_eval> 機能が有効の場合は許されていません。 |
| 10688 | 14586 | 代わりに C<evalbytes> を使うことを検討してください。 |
| 10689 | 14587 | L<feature> を参照してください。 |
| 10690 | 14588 | |
| 10691 | 14589 | =item splice() offset past end of array |
| 10692 | 14590 | |
| 10693 | 14591 | =begin original |
| 10694 | 14592 | |
| 10695 | 14593 | (W misc) You attempted to specify an offset that was past the end of |
| 10696 | 14594 | the array passed to splice(). Splicing will instead commence at the |
| 10697 | 14595 | end of the array, rather than past it. If this isn't what you want, |
| 10698 | 14596 | try explicitly pre-extending the array by assigning $#array = $offset. |
| 10699 | 14597 | See L<perlfunc/splice>. |
| 10700 | 14598 | |
| 10701 | 14599 | =end original |
| 10702 | 14600 | |
| 10703 | 14601 | (W misc) splice() で渡された配列の末尾より後ろのオフセットを指定しました。 |
| 10704 | 14602 | splice は配列の末尾ではなく、配列の最後の位置に対して実行されます。 |
| 10705 | 14603 | これが望んでいることではないなら、$#array = $offset と代入することで |
| 10706 | 14604 | 明示的に事前に配列を拡張してください。 |
| 10707 | 14605 | L<perlfunc/splice> を参照してください。 |
| 10708 | 14606 | |
| 10709 | 14607 | =item Split loop |
| 10710 | 14608 | |
| 10711 | 14609 | =begin original |
| 10712 | 14610 | |
| 10713 | 14611 | (P) The split was looping infinitely. (Obviously, a split shouldn't |
| 10714 | 14612 | iterate more times than there are characters of input, which is what |
| 10715 | 14613 | happened.) See L<perlfunc/split>. |
| 10716 | 14614 | |
| 10717 | 14615 | =end original |
| 10718 | 14616 | |
| 10719 | 14617 | (P) split が無限ループに陥りました。 |
| 10720 | 14618 | (明らかに、split は、入力文字数以上にはできないはずですが、 |
| 10721 | 14619 | そうなってしまいました。) |
| 10722 | 14620 | L<perlfunc/split> を参照してください。 |
| 10723 | 14621 | |
| 10724 | 14622 | =item Statement unlikely to be reached |
| 10725 | 14623 | |
| 10726 | 14624 | =begin original |
| 10727 | 14625 | |
| 10728 | 14626 | (W exec) You did an exec() with some statement after it other than a |
| 10729 | 14627 | die(). This is almost always an error, because exec() never returns |
| 10730 | 14628 | unless there was a failure. You probably wanted to use system() |
| 10731 | 14629 | instead, which does return. To suppress this warning, put the exec() in |
| 10732 | 14630 | a block by itself. |
| 10733 | 14631 | |
| 10734 | 14632 | =end original |
| 10735 | 14633 | |
| 10736 | 14634 | (W exec) exec() の後に、die() 以外の実行文があります。 |
| 10737 | 14635 | 失敗したとき以外は、exec() から戻ってくることはありませんから、 |
| 10738 | 14636 | ほとんどの場合には誤りでしょう。 |
| 10739 | 14637 | 戻ってくるsystem() に置き換える必要があるかもしれません。 |
| 10740 | 14638 | この警告を止めるには、ブロック内に exec() だけを記述してください。 |
| 10741 | 14639 | |
| 14640 | =item "state" subroutine %s can't be in a package | |
| 14641 | ||
| 14642 | =begin original | |
| 14643 | ||
| 14644 | (F) Lexically scoped subroutines aren't in a package, so it doesn't make | |
| 14645 | sense to try to declare one with a package qualifier on the front. | |
| 14646 | ||
| 14647 | =end original | |
| 14648 | ||
| 14649 | (F) レキシカルスコープサブルーチンはパッケージ内にないので、 | |
| 14650 | 頭にパッケージ名を付けて宣言することは、無意味です。 | |
| 14651 | ||
| 14652 | =item "state %s" used in sort comparison | |
| 14653 | ||
| 14654 | =begin original | |
| 14655 | ||
| 14656 | (W syntax) The package variables $a and $b are used for sort comparisons. | |
| 14657 | You used $a or $b in as an operand to the C<< <=> >> or C<cmp> operator inside a | |
| 14658 | sort comparison block, and the variable had earlier been declared as a | |
| 14659 | lexical variable. Either qualify the sort variable with the package | |
| 14660 | name, or rename the lexical variable. | |
| 14661 | ||
| 14662 | =end original | |
| 14663 | ||
| 14664 | (W syntax) パッケージ変数 $a と $b はソート比較のために使われます。 | |
| 14665 | $a または $b をソート比較ブロックの中の C<< <=> >> または C<cmp> 演算子の | |
| 14666 | オペランドとして使いましたが、この変数はその前にレキシカル変数として | |
| 14667 | 宣言されています。 | |
| 14668 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を変えてください。 | |
| 14669 | ||
| 10742 | 14670 | =item "state" variable %s can't be in a package |
| 10743 | 14671 | |
| 10744 | 14672 | =begin original |
| 10745 | 14673 | |
| 10746 | 14674 | (F) Lexically scoped variables aren't in a package, so it doesn't make |
| 10747 | 14675 | sense to try to declare one with a package qualifier on the front. Use |
| 10748 | 14676 | local() if you want to localize a package variable. |
| 10749 | 14677 | |
| 10750 | 14678 | =end original |
| 10751 | 14679 | |
| 10752 | (F) | |
| 14680 | (F) レキシカルスコープサブルーチンはパッケージ内にないので、 | |
| 10753 | 14681 | 頭にパッケージ名を付けて宣言することは、無意味です。 |
| 10754 | 14682 | パッケージ変数をローカル化したい場合には、local() を使ってください。 |
| 10755 | 14683 | |
| 10756 | 14684 | =item stat() on unopened filehandle %s |
| 10757 | 14685 | |
| 10758 | 14686 | =begin original |
| 10759 | 14687 | |
| 10760 | 14688 | (W unopened) You tried to use the stat() function on a filehandle that |
| 10761 | 14689 | was either never opened or has since been closed. |
| 10762 | 14690 | |
| 10763 | 14691 | =end original |
| 10764 | 14692 | |
| 10765 | 14693 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
| 10766 | 14694 | ファイルハンドルに対して、stat() 関数を使おうとしました。 |
| 10767 | 14695 | |
| 14696 | =item Strings with code points over 0xFF may not be mapped into in-memory file handles | |
| 14697 | ||
| 14698 | =begin original | |
| 14699 | ||
| 14700 | (W utf8) You tried to open a reference to a scalar for read or append | |
| 14701 | where the scalar contained code points over 0xFF. In-memory files | |
| 14702 | model on-disk files and can only contain bytes. | |
| 14703 | ||
| 14704 | =end original | |
| 14705 | ||
| 14706 | (W utf8) 0xFF を超える符号位置を含むスカラに対して、読み込みや追加で | |
| 14707 | スカラへのリファレンスを開こうとしました。 | |
| 14708 | インメモリファイルはディスクのファイルをモデル化していて、バイトのみが | |
| 14709 | 使えます。 | |
| 14710 | ||
| 10768 | 14711 | =item Stub found while resolving method "%s" overloading "%s" in package "%s" |
| 10769 | 14712 | |
| 10770 | 14713 | =begin original |
| 10771 | 14714 | |
| 10772 | 14715 | (P) Overloading resolution over @ISA tree may be broken by importation |
| 10773 | 14716 | stubs. Stubs should never be implicitly created, but explicit calls to |
| 10774 | 14717 | C<can> may break this. |
| 10775 | 14718 | |
| 10776 | 14719 | =end original |
| 10777 | 14720 | |
| 10778 | 14721 | (P) @ISA ツリーでのオーバーロードの解決がインポートのスタブで壊されました。 |
| 10779 | 14722 | スタブは暗黙に作られることはありませんが、明示的に C<can> を呼び出すと |
| 10780 | 14723 | これを破壊することがあります。 |
| 10781 | 14724 | |
| 14725 | =item Subroutine attributes must come before the signature | |
| 14726 | ||
| 14727 | =begin original | |
| 14728 | ||
| 14729 | (F) When subroutine signatures are enabled, any subroutine attributes must | |
| 14730 | come before the signature. Note that this order was the opposite in | |
| 14731 | versions 5.22..5.26. So: | |
| 14732 | ||
| 14733 | =end original | |
| 14734 | ||
| 14735 | (F) サブルーチンシグネチャが有効の場合、サブルーチン属性は | |
| 14736 | シグネチャの前に来なければなりません。 | |
| 14737 | この順序はバージョン 5.22..5.26 と反対であることに注意してください。 | |
| 14738 | 従って: | |
| 14739 | ||
| 14740 | sub foo :lvalue ($x, $y) { ... } # 5.20 and 5.28 + | |
| 14741 | sub foo ($x, $y) :lvalue { ... } # 5.22 .. 5.26 | |
| 14742 | ||
| 14743 | =item Subroutine "&%s" is not available | |
| 14744 | ||
| 14745 | =begin original | |
| 14746 | ||
| 14747 | (W closure) During compilation, an inner named subroutine or eval is | |
| 14748 | attempting to capture an outer lexical subroutine that is not currently | |
| 14749 | available. This can happen for one of two reasons. First, the lexical | |
| 14750 | subroutine may be declared in an outer anonymous subroutine that has | |
| 14751 | not yet been created. (Remember that named subs are created at compile | |
| 14752 | time, while anonymous subs are created at run-time.) For example, | |
| 14753 | ||
| 14754 | =end original | |
| 14755 | ||
| 14756 | (W closure) コンパイル時に、内部の名前付きサブルーチンや eval が、現在 | |
| 14757 | 利用できない外側のレキシカルサブルーチンを捕捉しようとしました。 | |
| 14758 | これは二つの理由で起こります。 | |
| 14759 | まず、レキシカルサブルーチンが、まだ作成されていない外側の無名サブルーチンで | |
| 14760 | 宣言されたときです。 | |
| 14761 | (名前付きサブルーチンはコンパイル時に作成されますが、無名サブルーチンは | |
| 14762 | 実行時に作成されることを思い出してください。) | |
| 14763 | 例えば、 | |
| 14764 | ||
| 14765 | sub { my sub a {...} sub f { \&a } } | |
| 14766 | ||
| 14767 | =begin original | |
| 14768 | ||
| 14769 | At the time that f is created, it can't capture the current "a" sub, | |
| 14770 | since the anonymous subroutine hasn't been created yet. Conversely, the | |
| 14771 | following won't give a warning since the anonymous subroutine has by now | |
| 14772 | been created and is live: | |
| 14773 | ||
| 14774 | =end original | |
| 14775 | ||
| 14776 | f が作成された時点で、現在の "a" サブルーチンは捕捉できません; なぜなら | |
| 14777 | 無名サブルーチンはまだ作成されていないからです。 | |
| 14778 | 逆に、以下のものは警告されません; 無名サブルーチンはこの時点で作成されていて | |
| 14779 | 生きているからです: | |
| 14780 | ||
| 14781 | sub { my sub a {...} eval 'sub f { \&a }' }->(); | |
| 14782 | ||
| 14783 | =begin original | |
| 14784 | ||
| 14785 | The second situation is caused by an eval accessing a lexical subroutine | |
| 14786 | that has gone out of scope, for example, | |
| 14787 | ||
| 14788 | =end original | |
| 14789 | ||
| 14790 | 2 番目の状況は eval がスコープ外となったレキシカルサブルーチンに | |
| 14791 | アクセスすることで起こります; 例えば: | |
| 14792 | ||
| 14793 | sub f { | |
| 14794 | my sub a {...} | |
| 14795 | sub { eval '\&a' } | |
| 14796 | } | |
| 14797 | f()->(); | |
| 14798 | ||
| 14799 | =begin original | |
| 14800 | ||
| 14801 | Here, when the '\&a' in the eval is being compiled, f() is not currently | |
| 14802 | being executed, so its &a is not available for capture. | |
| 14803 | ||
| 14804 | =end original | |
| 14805 | ||
| 14806 | ここで、eval の中の '\&a' がコンパイルされるとき、f() はこの時点では | |
| 14807 | 実行されていないので、&a は捕捉として利用できません。 | |
| 14808 | ||
| 14809 | =item "%s" subroutine &%s masks earlier declaration in same %s | |
| 14810 | ||
| 14811 | =begin original | |
| 14812 | ||
| 14813 | (W shadow) A "my" or "state" subroutine has been redeclared in the | |
| 14814 | current scope or statement, effectively eliminating all access to | |
| 14815 | the previous instance. This is almost always a typographical error. | |
| 14816 | Note that the earlier subroutine will still exist until the end of | |
| 14817 | the scope or until all closure references to it are destroyed. | |
| 14818 | ||
| 14819 | =end original | |
| 14820 | ||
| 14821 | (W shadow) "my" または "state" サブルーチンは現在のスコープまたは文で | |
| 14822 | 再定義されたため、事実上以前の実体への全てのアクセスが取り除かれます。 | |
| 14823 | これはほとんど常にタイプミスです。 | |
| 14824 | 最初のサブルーチンはスコープの末尾に到達するか、これを参照している | |
| 14825 | 全てのクロージャが破壊されるまで存在したままであることに注意してください。 | |
| 14826 | ||
| 10782 | 14827 | =item Subroutine %s redefined |
| 10783 | 14828 | |
| 10784 | 14829 | =begin original |
| 10785 | 14830 | |
| 10786 | 14831 | (W redefine) You redefined a subroutine. To suppress this warning, say |
| 10787 | 14832 | |
| 10788 | 14833 | =end original |
| 10789 | 14834 | |
| 10790 | 14835 | (W redefine) サブルーチンを再定義しました。 |
| 10791 | 14836 | この警告を止めるには以下のようにしてください: |
| 10792 | 14837 | |
| 10793 | 14838 | { |
| 10794 | 14839 | no warnings 'redefine'; |
| 10795 | 14840 | eval "sub name { ... }"; |
| 10796 | 14841 | } |
| 10797 | 14842 | |
| 14843 | =item Subroutine "%s" will not stay shared | |
| 14844 | ||
| 14845 | =begin original | |
| 14846 | ||
| 14847 | (W closure) An inner (nested) I<named> subroutine is referencing a "my" | |
| 14848 | subroutine defined in an outer named subroutine. | |
| 14849 | ||
| 14850 | =end original | |
| 14851 | ||
| 14852 | (W closure) 内側の (ネストした) I<名前付き> サブルーチンが、 | |
| 14853 | 外側の名前付きサブルーチンで定義された "my" サブルーチンを参照しています。 | |
| 14854 | ||
| 14855 | =begin original | |
| 14856 | ||
| 14857 | When the inner subroutine is called, it will see the value of the outer | |
| 14858 | subroutine's lexical subroutine as it was before and during the *first* | |
| 14859 | call to the outer subroutine; in this case, after the first call to the | |
| 14860 | outer subroutine is complete, the inner and outer subroutines will no | |
| 14861 | longer share a common value for the lexical subroutine. In other words, | |
| 14862 | it will no longer be shared. This will especially make a difference | |
| 14863 | if the lexical subroutines accesses lexical variables declared in its | |
| 14864 | surrounding scope. | |
| 14865 | ||
| 14866 | =end original | |
| 14867 | ||
| 14868 | 内側のサブルーチンが呼び出されるとき、 | |
| 14869 | 外側のサブルーチンのレキシカルサブルーチンの値は、 | |
| 14870 | 外側のサブルーチンの「最初の」呼び出し前と呼び出し中のものになります; | |
| 14871 | この場合、外側のサブルーチンへの最初の呼び出しが終了した後、 | |
| 14872 | 内側と外側のサブルーチンはもはやレキシカルサブルーチンについて | |
| 14873 | 共通の値を共有しません。 | |
| 14874 | 言い換えると、これはもはや共有されません。 | |
| 14875 | これは特に、レキシカルサブルーチンがその周りのスコープで宣言された | |
| 14876 | レキシカル変数にアクセスしたときに違いがあります。 | |
| 14877 | ||
| 14878 | =begin original | |
| 14879 | ||
| 14880 | This problem can usually be solved by making the inner subroutine | |
| 14881 | anonymous, using the C<sub {}> syntax. When inner anonymous subs that | |
| 14882 | reference lexical subroutines in outer subroutines are created, they | |
| 14883 | are automatically rebound to the current values of such lexical subs. | |
| 14884 | ||
| 14885 | =end original | |
| 14886 | ||
| 14887 | この問題は普通、C<sub {}> 構文を使って内側のサブルーチンを無名にすることで | |
| 14888 | 解決します。 | |
| 14889 | 外側のサブルーチンのレキシカルサブルーチンを参照する内側の | |
| 14890 | 無名サブルーチンが作成されたとき、そのレキシカルサブルーチンの現在の値に | |
| 14891 | 自動的に回復します。 | |
| 14892 | ||
| 10798 | 14893 | =item Substitution loop |
| 10799 | 14894 | |
| 10800 | 14895 | =begin original |
| 10801 | 14896 | |
| 10802 | 14897 | (P) The substitution was looping infinitely. (Obviously, a substitution |
| 10803 | 14898 | shouldn't iterate more times than there are characters of input, which |
| 10804 | 14899 | is what happened.) See the discussion of substitution in |
| 10805 | 14900 | L<perlop/"Regexp Quote-Like Operators">. |
| 10806 | 14901 | |
| 10807 | 14902 | =end original |
| 10808 | 14903 | |
| 10809 | 14904 | (P) 置換が無限ループに陥りました。 |
| 10810 | 14905 | (明らかに、置換は入力文字数以上には起こらないはずですが、 |
| 10811 | 14906 | それが起こってしまいました。) |
| 10812 | 14907 | L<perlop/"Quote and Quote-Like Operators"> を参照してください。 |
| 10813 | 14908 | |
| 10814 | 14909 | =item Substitution pattern not terminated |
| 10815 | 14910 | |
| 10816 | 14911 | =begin original |
| 10817 | 14912 | |
| 10818 | 14913 | (F) The lexer couldn't find the interior delimiter of an s/// or s{}{} |
| 10819 | 14914 | construct. Remember that bracketing delimiters count nesting level. |
| 10820 | 14915 | Missing the leading C<$> from variable C<$s> may cause this error. |
| 10821 | 14916 | |
| 10822 | 14917 | =end original |
| 10823 | 14918 | |
| 10824 | 14919 | (F) s/// もしくは s{}{} 構文の真ん中の区切り文字が見つかりませんでした。 |
| 10825 | 14920 | かっこ類の区切り文字では、ネストを数えることを忘れないでください。 |
| 10826 | 14921 | C<$s> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 |
| 10827 | 14922 | |
| 10828 | 14923 | =item Substitution replacement not terminated |
| 10829 | 14924 | |
| 10830 | 14925 | =begin original |
| 10831 | 14926 | |
| 10832 | 14927 | (F) The lexer couldn't find the final delimiter of an s/// or s{}{} |
| 10833 | 14928 | construct. Remember that bracketing delimiters count nesting level. |
| 10834 | 14929 | Missing the leading C<$> from variable C<$s> may cause this error. |
| 10835 | 14930 | |
| 10836 | 14931 | =end original |
| 10837 | 14932 | |
| 10838 | 14933 | (F) s/// もしくは s{}{} 構文の最後の区切り文字が見つかりませんでした。 |
| 10839 | 14934 | かっこ類の区切り文字では、ネストを数えることを忘れないでください。 |
| 10840 | 14935 | C<$s> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 |
| 10841 | 14936 | |
| 10842 | 14937 | =item substr outside of string |
| 10843 | 14938 | |
| 10844 | 14939 | =begin original |
| 10845 | 14940 | |
| 10846 | 14941 | (W substr)(F) You tried to reference a substr() that pointed outside of |
| 10847 | 14942 | a string. That is, the absolute value of the offset was larger than the |
| 10848 | 14943 | length of the string. See L<perlfunc/substr>. This warning is fatal if |
| 10849 | 14944 | substr is used in an lvalue context (as the left hand side of an |
| 10850 | 14945 | assignment or as a subroutine argument for example). |
| 10851 | 14946 | |
| 10852 | 14947 | =end original |
| 10853 | 14948 | |
| 10854 | 14949 | (W substr)(F) 文字列の外を指す substr() を参照しようとしました。 |
| 10855 | 14950 | つまり、オフセットの絶対値が、文字列の長さより大きくなっています。 |
| 10856 | 14951 | L<perlfunc/substr> を参照してください。 |
| 10857 | 14952 | この警告は、substr が(代入の左側やサブルーチンの引数といった) |
| 10858 | 14953 | 左辺値として使われた場合は致命的となります。 |
| 10859 | 14954 | |
| 10860 | 14955 | =item sv_upgrade from type %d down to type %d |
| 10861 | 14956 | |
| 10862 | 14957 | =begin original |
| 10863 | 14958 | |
| 10864 | 14959 | (P) Perl tried to force the upgrade of an SV to a type which was actually |
| 10865 | 14960 | inferior to its current type. |
| 10866 | 14961 | |
| 10867 | 14962 | =end original |
| 10868 | 14963 | |
| 10869 | 14964 | (P) Perl は SV を、実際には現在の型より下位の型への昇格を |
| 10870 | 14965 | 強制しようとしました。 |
| 10871 | 14966 | |
| 10872 | =item Switch (?(condition)... contains too many branches in regex; marked by | |
| 14967 | =item Switch (?(condition)... contains too many branches in regex; marked by | |
| 14968 | S<<-- HERE> in m/%s/ | |
| 10873 | 14969 | |
| 10874 | 14970 | =begin original |
| 10875 | 14971 | |
| 10876 | 14972 | (F) A (?(condition)if-clause|else-clause) construct can have at most |
| 10877 | 14973 | two branches (the if-clause and the else-clause). If you want one or |
| 10878 | 14974 | both to contain alternation, such as using C<this|that|other>, enclose |
| 10879 | 14975 | it in clustering parentheses: |
| 10880 | 14976 | |
| 10881 | 14977 | =end original |
| 10882 | 14978 | |
| 10883 | 14979 | (F) (?(condition)if-clause|else-clause) 構造は最大で二つの分岐 |
| 10884 | 14980 | (if-clause と else-clause) を持つことができます。 |
| 10885 | 14981 | 片方、または両方に選択肢を含めたいときは、それをかっこで囲んでください: |
| 10886 | 14982 | |
| 10887 | 14983 | (?(condition)(?:this|that|other)|else-clause) |
| 10888 | 14984 | |
| 10889 | 14985 | =begin original |
| 10890 | 14986 | |
| 10891 | The <-- HERE shows in the regular expression | |
| 14987 | The S<<-- HERE> shows whereabouts in the regular expression the problem | |
| 10892 | 14988 | was discovered. See L<perlre>. |
| 10893 | 14989 | |
| 10894 | 14990 | =end original |
| 10895 | 14991 | |
| 10896 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 14992 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 10897 | 14993 | L<perlre> を参照してください。 |
| 10898 | 14994 | |
| 10899 | =item Switch condition not recognized in regex; marked by <-- HERE in | |
| 14995 | =item Switch condition not recognized in regex; marked by S<<-- HERE> in | |
| 14996 | m/%s/ | |
| 10900 | 14997 | |
| 10901 | 14998 | =begin original |
| 10902 | 14999 | |
| 10903 | (F) | |
| 15000 | (F) The condition part of a (?(condition)if-clause|else-clause) construct | |
| 10904 | ||
| 15001 | is not known. The condition must be one of the following: | |
| 10905 | expression about where the problem was discovered. See L<perlre>. | |
| 10906 | 15002 | |
| 10907 | 15003 | =end original |
| 10908 | 15004 | |
| 10909 | (?(...)if-clause|else-clause) 構造の | |
| 15005 | (?(...)if-clause|else-clause) 構造の条件部が不明です。 | |
| 10910 | ||
| 15006 | 条件は以下のいずれかでなければなりません。 | |
| 15007 | ||
| 15008 | (1) (2) ... true if 1st, 2nd, etc., capture matched | |
| 15009 | (<NAME>) ('NAME') true if named capture matched | |
| 15010 | (?=...) (?<=...) true if subpattern matches | |
| 15011 | (?!...) (?<!...) true if subpattern fails to match | |
| 15012 | (?{ CODE }) true if code returns a true value | |
| 15013 | (R) true if evaluating inside recursion | |
| 15014 | (R1) (R2) ... true if directly inside capture group 1, 2, etc. | |
| 15015 | (R&NAME) true if directly inside named capture | |
| 15016 | (DEFINE) always false; for defining named subpatterns | |
| 15017 | ||
| 15018 | =begin original | |
| 15019 | ||
| 15020 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
| 15021 | discovered. See L<perlre>. | |
| 15022 | ||
| 15023 | =end original | |
| 15024 | ||
| 15025 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 10911 | 15026 | L<perlre> を参照してください。 |
| 10912 | 15027 | |
| 10913 | =item | |
| 15028 | =item Switch (?(condition)... not terminated in regex; marked by | |
| 15029 | S<<-- HERE> in m/%s/ | |
| 10914 | 15030 | |
| 10915 | 15031 | =begin original |
| 10916 | 15032 | |
| 10917 | (F) | |
| 15033 | (F) You omitted to close a (?(condition)...) block somewhere | |
| 10918 | ||
| 15034 | in the pattern. Add a closing parenthesis in the appropriate | |
| 15035 | position. See L<perlre>. | |
| 10919 | 15036 | |
| 10920 | 15037 | =end original |
| 10921 | 15038 | |
| 10922 | (F) | |
| 15039 | (F) パターン中のどこかで (?(condition)...) ブロックを閉じるのを省略しました。 | |
| 10923 | ||
| 15040 | 適切な位置に閉じかっこを追加してください。 | |
| 15041 | L<perlre> を参照してください。 | |
| 10924 | 15042 | |
| 10925 | =item %s s | |
| 15043 | =item switching effective %s is not implemented | |
| 10926 | 15044 | |
| 10927 | 15045 | =begin original |
| 10928 | 15046 | |
| 10929 | (F) | |
| 15047 | (F) While under the C<use filetest> pragma, we cannot switch the real | |
| 15048 | and effective uids or gids. | |
| 10930 | 15049 | |
| 10931 | 15050 | =end original |
| 10932 | 15051 | |
| 10933 | (F) C< | |
| 15052 | (F) C<use filetest> プラグマを使っている間に、 | |
| 15053 | 実と実効の UID や GID の切り替えに失敗しました。 | |
| 10934 | 15054 | |
| 10935 | 15055 | =item syntax error |
| 10936 | 15056 | |
| 10937 | 15057 | =begin original |
| 10938 | 15058 | |
| 10939 | 15059 | (F) Probably means you had a syntax error. Common reasons include: |
| 10940 | 15060 | |
| 10941 | 15061 | =end original |
| 10942 | 15062 | |
| 10943 | 15063 | (F) おそらく、構文エラーが起こっています。 |
| 10944 | 15064 | よくある原因としては以下のことが考えられます: |
| 10945 | 15065 | |
| 10946 | 15066 | =begin original |
| 10947 | 15067 | |
| 10948 | 15068 | A keyword is misspelled. |
| 10949 | 15069 | A semicolon is missing. |
| 10950 | 15070 | A comma is missing. |
| 10951 | 15071 | An opening or closing parenthesis is missing. |
| 10952 | 15072 | An opening or closing brace is missing. |
| 10953 | 15073 | A closing quote is missing. |
| 10954 | 15074 | |
| 10955 | 15075 | =end original |
| 10956 | 15076 | |
| 10957 | 15077 | キーワードのスペルミス。 |
| 10958 | 15078 | セミコロンを忘れた。 |
| 10959 | 15079 | コンマを忘れた。 |
| 10960 | 15080 | 開きかっこ、閉じかっこを忘れた。 |
| 10961 | 15081 | 開き中かっこ、閉じ中かっこを忘れた。 |
| 10962 | 15082 | クォートの閉じ忘れ。 |
| 10963 | 15083 | |
| 10964 | 15084 | =begin original |
| 10965 | 15085 | |
| 10966 | 15086 | Often there will be another error message associated with the syntax |
| 10967 | 15087 | error giving more information. (Sometimes it helps to turn on B<-w>.) |
| 10968 | 15088 | The error message itself often tells you where it was in the line when |
| 10969 | 15089 | it decided to give up. Sometimes the actual error is several tokens |
| 10970 | 15090 | before this, because Perl is good at understanding random input. |
| 10971 | 15091 | Occasionally the line number may be misleading, and once in a blue moon |
| 10972 | 15092 | the only way to figure out what's triggering the error is to call |
| 10973 | 15093 | C<perl -c> repeatedly, chopping away half the program each time to see |
| 10974 | 15094 | if the error went away. Sort of the cybernetic version of S<20 questions>. |
| 10975 | 15095 | |
| 10976 | 15096 | =end original |
| 10977 | 15097 | |
| 10978 | 15098 | 多くの場合、構文エラーと一緒に、別のエラーメッセージが出て、 |
| 10979 | 15099 | 情報を与えてくれます。(-w を付けることが、助けになることもあります。) |
| 10980 | 15100 | エラーメッセージ自身には、何行目まで行って、諦めたのかということも |
| 10981 | 15101 | 含まれています。 |
| 10982 | 15102 | Perl はでたらめな入力を理解するのが得意なので、実際のエラーはもう少し前に |
| 10983 | 15103 | 在ることもあります。 |
| 10984 | 15104 | ときには、行番号が全く役に立たないこともあり、はまってしまったなら、 |
| 10985 | 15105 | エラーのきっかけが何かを見つける唯一の手段は、プログラムを寸断して、 |
| 10986 | 15106 | エラーがなくなるまで、perl -c を繰り返すしかありません。 |
| 10987 | 15107 | S<頭の体操 20 問>だと思ってください。 |
| 10988 | 15108 | |
| 10989 | 15109 | =item syntax error at line %d: '%s' unexpected |
| 10990 | 15110 | |
| 10991 | 15111 | =begin original |
| 10992 | 15112 | |
| 10993 | 15113 | (A) You've accidentally run your script through the Bourne shell instead |
| 10994 | 15114 | of Perl. Check the #! line, or manually feed your script into Perl |
| 10995 | 15115 | yourself. |
| 10996 | 15116 | |
| 10997 | 15117 | =end original |
| 10998 | 15118 | |
| 10999 | 15119 | (A) スクリプトを perl ではなく Bourne shell で実行しようとしました。 |
| 11000 | #! 行を | |
| 15120 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
| 11001 | 15121 | |
| 11002 | 15122 | =item syntax error in file %s at line %d, next 2 tokens "%s" |
| 11003 | 15123 | |
| 11004 | 15124 | =begin original |
| 11005 | 15125 | |
| 11006 | 15126 | (F) This error is likely to occur if you run a perl5 script through |
| 11007 | 15127 | a perl4 interpreter, especially if the next 2 tokens are "use strict" |
| 11008 | 15128 | or "my $var" or "our $var". |
| 11009 | 15129 | |
| 11010 | 15130 | =end original |
| 11011 | 15131 | |
| 11012 | 15132 | (F) このエラーは、perl5 のスクリプトを perl4 インタプリタで実行したときに |
| 11013 | 15133 | おきそうなものです; 特に次の二つのトークンが "use strict" か |
| 11014 | 15134 | "my $var" か "our $var" の場合はそうです。 |
| 11015 | 15135 | |
| 15136 | =item Syntax error in (?[...]) in regex; marked by <-- HERE in m/%s/ | |
| 15137 | ||
| 15138 | =begin original | |
| 15139 | ||
| 15140 | (F) Perl could not figure out what you meant inside this construct; this | |
| 15141 | notifies you that it is giving up trying. | |
| 15142 | ||
| 15143 | =end original | |
| 15144 | ||
| 15145 | (F) Perl はこの構文の中で何を意味しようとしているのかが分かりませんでした; | |
| 15146 | これは試すのを諦めたことを知らせます。 | |
| 15147 | ||
| 15148 | =item %s syntax OK | |
| 15149 | ||
| 15150 | =begin original | |
| 15151 | ||
| 15152 | (F) The final summary message when a C<perl -c> succeeds. | |
| 15153 | ||
| 15154 | =end original | |
| 15155 | ||
| 15156 | (F) C<perl -c> が成功したときの最終まとめメッセージです。 | |
| 15157 | ||
| 11016 | 15158 | =item sysread() on closed filehandle %s |
| 11017 | 15159 | |
| 11018 | 15160 | =begin original |
| 11019 | 15161 | |
| 11020 | 15162 | (W closed) You tried to read from a closed filehandle. |
| 11021 | 15163 | |
| 11022 | 15164 | =end original |
| 11023 | 15165 | |
| 11024 | 15166 | (W closed) 閉じたファイルハンドルから読み込もうとしました。 |
| 11025 | 15167 | |
| 11026 | 15168 | =item sysread() on unopened filehandle %s |
| 11027 | 15169 | |
| 11028 | 15170 | =begin original |
| 11029 | 15171 | |
| 11030 | 15172 | (W unopened) You tried to read from a filehandle that was never opened. |
| 11031 | 15173 | |
| 11032 | 15174 | =end original |
| 11033 | 15175 | |
| 11034 | 15176 | (W unopened) 開いていないファイルハンドルから読み込もうとしました。 |
| 11035 | 15177 | |
| 11036 | 15178 | =item System V %s is not implemented on this machine |
| 11037 | 15179 | |
| 11038 | 15180 | =begin original |
| 11039 | 15181 | |
| 11040 | 15182 | (F) You tried to do something with a function beginning with "sem", |
| 11041 | 15183 | "shm", or "msg" but that System V IPC is not implemented in your |
| 11042 | 15184 | machine. In some machines the functionality can exist but be |
| 11043 | 15185 | unconfigured. Consult your system support. |
| 11044 | 15186 | |
| 11045 | 15187 | =end original |
| 11046 | 15188 | |
| 11047 | 15189 | (F) 何か、名前が "sem"、"shm"、"msg" で始まる関数を実行しようとしましたが、 |
| 11048 | 15190 | あなたのマシンには System V IPC が実装されていません。 |
| 11049 | 15191 | 機能はあっても設定されていない場合もあります。 |
| 11050 | 15192 | システムサポートに相談してください。 |
| 11051 | 15193 | |
| 11052 | 15194 | =item syswrite() on closed filehandle %s |
| 11053 | 15195 | |
| 11054 | 15196 | =begin original |
| 11055 | 15197 | |
| 11056 | 15198 | (W closed) The filehandle you're writing to got itself closed sometime |
| 11057 | 15199 | before now. Check your control flow. |
| 11058 | 15200 | |
| 11059 | 15201 | =end original |
| 11060 | 15202 | |
| 11061 | 15203 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既に閉じられています。 |
| 11062 | 15204 | 制御フローをチェックしてください。 |
| 11063 | 15205 | |
| 11064 | 15206 | =item C<-T> and C<-B> not implemented on filehandles |
| 11065 | 15207 | |
| 11066 | 15208 | =begin original |
| 11067 | 15209 | |
| 11068 | 15210 | (F) Perl can't peek at the stdio buffer of filehandles when it doesn't |
| 11069 | 15211 | know about your kind of stdio. You'll have to use a filename instead. |
| 11070 | 15212 | |
| 11071 | 15213 | =end original |
| 11072 | 15214 | |
| 11073 | 15215 | (F) Perl が、お使いの stdio のことをよく知らないとき、 |
| 11074 | 15216 | ファイルハンドルの stdio バッファを覗くことはできません。 |
| 11075 | 15217 | 代わりにファイル名を使わなければなりません。 |
| 11076 | 15218 | |
| 11077 | 15219 | =item Target of goto is too deeply nested |
| 11078 | 15220 | |
| 11079 | 15221 | =begin original |
| 11080 | 15222 | |
| 11081 | 15223 | (F) You tried to use C<goto> to reach a label that was too deeply nested |
| 11082 | 15224 | for Perl to reach. Perl is doing you a favor by refusing. |
| 11083 | 15225 | |
| 11084 | 15226 | =end original |
| 11085 | 15227 | |
| 11086 | 15228 | (F) C<goto> で、Perl が届かないほど深くネストしたラベルに移動しようとしました。 |
| 11087 | 15229 | Perl は親切にもこれを拒否します。 |
| 11088 | 15230 | |
| 11089 | 15231 | =item telldir() attempted on invalid dirhandle %s |
| 11090 | 15232 | |
| 11091 | 15233 | =begin original |
| 11092 | 15234 | |
| 11093 | 15235 | (W io) The dirhandle you tried to telldir() is either closed or not really |
| 11094 | 15236 | a dirhandle. Check your control flow. |
| 11095 | 15237 | |
| 11096 | 15238 | =end original |
| 11097 | 15239 | |
| 11098 | 15240 | (W io) telldir() しようとしたディレクトリハンドルは既に閉じられているか、 |
| 11099 | 15241 | 実際にはディレクトリハンドルではありません。 |
| 11100 | 15242 | 制御フローをチェックしてください。 |
| 11101 | 15243 | |
| 11102 | 15244 | =item tell() on unopened filehandle |
| 11103 | 15245 | |
| 11104 | 15246 | =begin original |
| 11105 | 15247 | |
| 11106 | 15248 | (W unopened) You tried to use the tell() function on a filehandle that |
| 11107 | 15249 | was either never opened or has since been closed. |
| 11108 | 15250 | |
| 11109 | 15251 | =end original |
| 11110 | 15252 | |
| 11111 | 15253 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
| 11112 | 15254 | ファイルハンドルに対して、tell() 関数を使おうとしました。 |
| 11113 | 15255 | |
| 11114 | =item Th | |
| 15256 | =item The crypt() function is unimplemented due to excessive paranoia. | |
| 11115 | 15257 | |
| 11116 | 15258 | =begin original |
| 11117 | 15259 | |
| 11118 | (F) | |
| 15260 | (F) Configure couldn't find the crypt() function on your machine, | |
| 11119 | a | |
| 15261 | probably because your vendor didn't supply it, probably because they | |
| 15262 | think the U.S. Government thinks it's a secret, or at least that they | |
| 15263 | will continue to pretend that it is. And if you quote me on that, I | |
| 15264 | will deny it. | |
| 11120 | 15265 | |
| 11121 | 15266 | =end original |
| 11122 | 15267 | |
| 11123 | (F) | |
| 15268 | (F) Configure は、マシン上で crypt() 関数を見つけられませんでした; | |
| 11124 | ||
| 15269 | おそらく、ベンダからの供給がなかったからで、おそらく、ベンダは | |
| 15270 | アメリカ政府がそれを秘密だとしていると思っているか、 | |
| 15271 | 少なくとも思っているというふりをしているのでしょう。 | |
| 15272 | 私を引き合いに出したところで、それは否定されることでしょう。 | |
| 11125 | 15273 | |
| 11126 | | |
| 15274 | =item The experimental declared_refs feature is not enabled | |
| 11127 | $[ = 1; | |
| 11128 | ... | |
| 11129 | local $[ = 0; | |
| 11130 | local $[ = 1; | |
| 11131 | ... | |
| 11132 | 15275 | |
| 11133 | 15276 | =begin original |
| 11134 | 15277 | |
| 11135 | ||
| 15278 | (F) To declare references to variables, as in C<my \%x>, you must first enable | |
| 11136 | ||
| 15279 | the feature: | |
| 11137 | 15280 | |
| 11138 | 15281 | =end original |
| 11139 | 15282 | |
| 11140 | ||
| 15283 | (F) C<my \%x> のように、変数へのリファレンスを定義するには、 | |
| 11141 | ||
| 15284 | 最初にこの機能を有効にしなければなりません: | |
| 11142 | L<perlvar/$[> と L<arybase> を参照してください。 | |
| 11143 | 15285 | |
| 11144 | ||
| 15286 | no warnings "experimental::declared_refs"; | |
| 15287 | use feature "declared_refs"; | |
| 11145 | 15288 | |
| 15289 | =item The %s function is unimplemented | |
| 15290 | ||
| 11146 | 15291 | =begin original |
| 11147 | 15292 | |
| 11148 | (F) | |
| 15293 | (F) The function indicated isn't implemented on this architecture, | |
| 11149 | ||
| 15294 | according to the probings of Configure. | |
| 11150 | think the U.S. Government thinks it's a secret, or at least that they | |
| 11151 | will continue to pretend that it is. And if you quote me on that, I | |
| 11152 | will deny it. | |
| 11153 | 15295 | |
| 11154 | 15296 | =end original |
| 11155 | 15297 | |
| 11156 | (F) Configure | |
| 15298 | (F) この関数は、Configure の調査によると、このアーキテクチャでは、 | |
| 11157 | ||
| 15299 | 実装されていないようです。 | |
| 11158 | アメリカ政府がそれを秘密だとしていると思っているか、 | |
| 11159 | 少なくとも思っているというふりをしているのでしょう。 | |
| 11160 | 私を引き合いに出したところで、それは否定されることでしょう。 | |
| 11161 | 15300 | |
| 11162 | =item The | |
| 15301 | =item The private_use feature is experimental | |
| 11163 | 15302 | |
| 11164 | 15303 | =begin original |
| 11165 | 15304 | |
| 11166 | ( | |
| 15305 | (S experimental::private_use) This feature is actually a hook for future | |
| 11167 | ||
| 15306 | use. | |
| 11168 | 15307 | |
| 11169 | 15308 | =end original |
| 11170 | 15309 | |
| 11171 | ( | |
| 15310 | (S experimental::private_use) この機能は実際には将来の使用のための | |
| 11172 | ||
| 15311 | フックです。 | |
| 11173 | 15312 | |
| 11174 | 15313 | =item The stat preceding %s wasn't an lstat |
| 11175 | 15314 | |
| 11176 | 15315 | =begin original |
| 11177 | 15316 | |
| 11178 | 15317 | (F) It makes no sense to test the current stat buffer for symbolic |
| 11179 | 15318 | linkhood if the last stat that wrote to the stat buffer already went |
| 11180 | 15319 | past the symlink to get to the real file. Use an actual filename |
| 11181 | 15320 | instead. |
| 11182 | 15321 | |
| 11183 | 15322 | =end original |
| 11184 | 15323 | |
| 11185 | 15324 | (F) 過去の stat がシンボリックリンクを通り過ぎた、実際のファイルの |
| 11186 | 15325 | 情報を取って、stat バッファに入れているときに、シンボリックタイプの |
| 11187 | 15326 | stat をカレント stat バッファに対して行なっても意味がありません。 |
| 11188 | 15327 | 実際のファイル名を使ってください。 |
| 11189 | 15328 | |
| 15329 | =item The Unicode property wildcards feature is experimental | |
| 15330 | ||
| 15331 | =begin original | |
| 15332 | ||
| 15333 | (S experimental::uniprop_wildcards) This feature is experimental | |
| 15334 | and its behavior may in any future release of perl. See | |
| 15335 | L<perlunicode/Wildcards in Property Values>. | |
| 15336 | ||
| 15337 | =end original | |
| 15338 | ||
| 15339 | (S experimental::uniprop_wildcards) この機能は実験的で、 | |
| 15340 | その振る舞いは将来のリリースの perl で変わるかもしれません。 | |
| 15341 | L<perlunicode/Wildcards in Property Values> を参照してください。 | |
| 15342 | ||
| 11190 | 15343 | =item The 'unique' attribute may only be applied to 'our' variables |
| 11191 | 15344 | |
| 11192 | 15345 | =begin original |
| 11193 | 15346 | |
| 11194 | 15347 | (F) This attribute was never supported on C<my> or C<sub> declarations. |
| 11195 | 15348 | |
| 11196 | 15349 | =end original |
| 11197 | 15350 | |
| 11198 | 15351 | (F) この属性は C<my> や C<sub> の宣言では対応していません。 |
| 11199 | 15352 | |
| 11200 | 15353 | =item This Perl can't reset CRTL environ elements (%s) |
| 11201 | 15354 | |
| 11202 | 15355 | =item This Perl can't set CRTL environ elements (%s=%s) |
| 11203 | 15356 | |
| 11204 | 15357 | =begin original |
| 11205 | 15358 | |
| 11206 | 15359 | (W internal) Warnings peculiar to VMS. You tried to change or delete an |
| 11207 | 15360 | element of the CRTL's internal environ array, but your copy of Perl |
| 11208 | 15361 | wasn't built with a CRTL that contained the setenv() function. You'll |
| 11209 | 15362 | need to rebuild Perl with a CRTL that does, or redefine |
| 11210 | 15363 | F<PERL_ENV_TABLES> (see L<perlvms>) so that the environ array isn't the |
| 11211 | 15364 | target of the change to |
| 11212 | 15365 | %ENV which produced the warning. |
| 11213 | 15366 | |
| 11214 | 15367 | =end original |
| 11215 | 15368 | |
| 11216 | 15369 | (W internal) VMS に固有の警告です。 |
| 11217 | 15370 | CRTL の内部環境配列を変更または削除しようとしましたが、この Perl は |
| 11218 | 15371 | setenv() 関数を含んだ CRTL でビルドされていません。 |
| 11219 | 15372 | これを含む CRTL を使って Perl を再ビルドするか、環境配列がこの警告を |
| 11220 | 15373 | 出力している %ENV を変更するターゲットとならないように |
| 11221 | 15374 | F<PERL_ENV_TABLES> (L<perlvms> を参照してください) を再定義してください。 |
| 11222 | 15375 | |
| 11223 | =item | |
| 15376 | =item This Perl has not been built with support for randomized hash key traversal but something called Perl_hv_rand_set(). | |
| 11224 | 15377 | |
| 11225 | 15378 | =begin original |
| 11226 | 15379 | |
| 11227 | ( | |
| 15380 | (F) Something has attempted to use an internal API call which | |
| 15381 | depends on Perl being compiled with the default support for randomized hash | |
| 15382 | key traversal, but this Perl has been compiled without it. You should | |
| 15383 | report this warning to the relevant upstream party, or recompile perl | |
| 15384 | with default options. | |
| 11228 | 15385 | |
| 11229 | 15386 | =end original |
| 11230 | 15387 | |
| 11231 | ( | |
| 15388 | (F) 何かが、Perl がデフォルトで対応しているランダム化されたハッシュキー検索に | |
| 11232 | ||
| 15389 | 依存した 内部 API 呼び出しを使おうとしましたが、この Perl はそれなしで | |
| 15390 | コンパイルされていました。 | |
| 15391 | この警告を関係する上流グループに報告するか、デフォルトオプションで perl を | |
| 15392 | 再コンパイルしてください。 | |
| 11233 | 15393 | |
| 15394 | =item This use of my() in false conditional is no longer allowed | |
| 15395 | ||
| 15396 | =begin original | |
| 15397 | ||
| 15398 | (F) You used a declaration similar to C<my $x if 0>. There | |
| 15399 | has been a long-standing bug in Perl that causes a lexical variable | |
| 15400 | not to be cleared at scope exit when its declaration includes a false | |
| 15401 | conditional. Some people have exploited this bug to achieve a kind of | |
| 15402 | static variable. Since we intend to fix this bug, we don't want people | |
| 15403 | relying on this behavior. You can achieve a similar static effect by | |
| 15404 | declaring the variable in a separate block outside the function, eg | |
| 15405 | ||
| 15406 | =end original | |
| 15407 | ||
| 15408 | (F) C<my $x if 0> のような千眼を使いました。 | |
| 15409 | 宣言が偽の条件のとき、スコープを抜けてもレキシカル変数がクリアされないという | |
| 15410 | 長年のバグが Perl にはありました。 | |
| 15411 | 一部の人々は、ある種の静的変数を実現するためにこのバグを悪用してきました。 | |
| 15412 | 私たちはこのバグを修正したいので、人々にこの振る舞いに | |
| 15413 | 依存してほしくありません。 | |
| 15414 | 関数の外側の独立したブロックで変数を宣言することで、同様の静的な効果を | |
| 15415 | 得られます; 例えば: | |
| 15416 | ||
| 15417 | sub f { my $x if 0; return $x++ } | |
| 15418 | ||
| 15419 | =begin original | |
| 15420 | ||
| 15421 | becomes | |
| 15422 | ||
| 15423 | =end original | |
| 15424 | ||
| 15425 | これは次のようになります: | |
| 15426 | ||
| 15427 | { my $x; sub f { return $x++ } } | |
| 15428 | ||
| 15429 | =begin original | |
| 15430 | ||
| 15431 | Beginning with perl 5.10.0, you can also use C<state> variables to have | |
| 15432 | lexicals that are initialized only once (see L<feature>): | |
| 15433 | ||
| 15434 | =end original | |
| 15435 | ||
| 15436 | perl 5.10.0 から、一度だけ初期化されるレキシカルとして C<state> 変数も | |
| 15437 | 使えます (L<feature> を参照してください): | |
| 15438 | ||
| 15439 | sub f { state $x; return $x++ } | |
| 15440 | ||
| 15441 | =begin original | |
| 15442 | ||
| 15443 | This use of C<my()> in a false conditional was deprecated beginning in | |
| 15444 | Perl 5.10 and became a fatal error in Perl 5.30. | |
| 15445 | ||
| 15446 | =end original | |
| 15447 | ||
| 15448 | 偽の条件での C<my()> のこの使用法は Perl 5.10 から廃止予定になり、 | |
| 15449 | Perl 5.30 で致命的エラーになりました。 | |
| 15450 | ||
| 15451 | =item Timeout waiting for another thread to define \p{%s} | |
| 15452 | ||
| 15453 | =begin original | |
| 15454 | ||
| 15455 | (F) The first time a user-defined property | |
| 15456 | (L<perlunicode/User-Defined Character Properties>) is used, its | |
| 15457 | definition is looked up and converted into an internal form for more | |
| 15458 | efficient handling in subsequent uses. There could be a race if two or | |
| 15459 | more threads tried to do this processing nearly simultaneously. | |
| 15460 | Instead, a critical section is created around this task, locking out all | |
| 15461 | but one thread from doing it. This message indicates that the thread | |
| 15462 | that is doing the conversion is taking an unexpectedly long time. The | |
| 15463 | timeout exists solely to prevent deadlock; it's long enough that the | |
| 15464 | system was likely thrashing and about to crash. There is no real remedy but | |
| 15465 | rebooting. | |
| 15466 | ||
| 15467 | =end original | |
| 15468 | ||
| 15469 | (F) ユーザー定義属性 (L<perlunicode/User-Defined Character Properties>) が | |
| 15470 | 最初に使われるとき、その定義は検索され、引き続く使用時により効率的に | |
| 15471 | 扱えるように内部形式に変換されます。 | |
| 15472 | 複数のスレッドがこれをほぼ同時に実行しようとすると、競合が | |
| 15473 | 発生することがあります。 | |
| 15474 | その代わりに、このタスクの周りにクリティカルセクションが作られ、 | |
| 15475 | 一つのスレッド以外がこれをすることを締め出します。 | |
| 15476 | このメッセージは、変換を行うスレッドが想定外に長い時間が掛かっていることを | |
| 15477 | 示しています。 | |
| 15478 | 時間切れはデッドロックを防ぐためだけに存在しています; | |
| 15479 | これは十分に長いので、システムはおそらくスラッシングを起こしていて、 | |
| 15480 | クラッシュ寸前です。 | |
| 15481 | 再起動以外に実際の解決策はありません。 | |
| 15482 | ||
| 11234 | 15483 | =item times not implemented |
| 11235 | 15484 | |
| 11236 | 15485 | =begin original |
| 11237 | 15486 | |
| 11238 | 15487 | (F) Your version of the C library apparently doesn't do times(). I |
| 11239 | 15488 | suspect you're not running on Unix. |
| 11240 | 15489 | |
| 11241 | 15490 | =end original |
| 11242 | 15491 | |
| 11243 | 15492 | (F) お使いの C ライブラリでは、times() を行わないようです。 |
| 11244 | 15493 | UNIX ではない環境でしょうか。 |
| 11245 | 15494 | |
| 11246 | 15495 | =item "-T" is on the #! line, it must also be used on the command line |
| 11247 | 15496 | |
| 11248 | 15497 | =begin original |
| 11249 | 15498 | |
| 11250 | 15499 | (X) The #! line (or local equivalent) in a Perl script contains |
| 11251 | 15500 | the B<-T> option (or the B<-t> option), but Perl was not invoked with |
| 11252 | 15501 | B<-T> in its command line. This is an error because, by the time |
| 11253 | 15502 | Perl discovers a B<-T> in a script, it's too late to properly taint |
| 11254 | 15503 | everything from the environment. So Perl gives up. |
| 11255 | 15504 | |
| 11256 | 15505 | =end original |
| 11257 | 15506 | |
| 11258 | 15507 | (X) Perl スクリプトの #! 行(あるいはローカルで等価なもの)に B<-T> |
| 11259 | 15508 | オプション (または B<-t> オプション) が含まれていますが、Perl は |
| 11260 | 15509 | コマンドラインで B<-T> 付きで起動されていません。 |
| 11261 | 15510 | Perl がスクリプトの中で B<-T> を発見した時点では、環境からの全てを |
| 11262 | 15511 | 汚染チェックするには遅すぎるので、これはエラーになります。 |
| 11263 | 15512 | それで Perl は諦めます。 |
| 11264 | 15513 | |
| 11265 | 15514 | =begin original |
| 11266 | 15515 | |
| 11267 | 15516 | If the Perl script is being executed as a command using the #! |
| 11268 | 15517 | mechanism (or its local equivalent), this error can usually be |
| 11269 | 15518 | fixed by editing the #! line so that the B<-%c> option is a part of |
| 11270 | 15519 | Perl's first argument: e.g. change C<perl -n -%c> to C<perl -%c -n>. |
| 11271 | 15520 | |
| 11272 | 15521 | =end original |
| 11273 | 15522 | |
| 11274 | 15523 | perl スクリプトが #! 機構(またはローカルな等価な機構)を使ってコマンドとして |
| 11275 | 15524 | 実行される場合、このエラーは普通 B<-%c> オプションを Perl の最初の引数に |
| 11276 | 15525 | 変更する(C<perl -n -%c> を C<perl -%c -n> に変更する)ことで修正されます。 |
| 11277 | 15526 | |
| 11278 | 15527 | =begin original |
| 11279 | 15528 | |
| 11280 | 15529 | If the Perl script is being executed as C<perl scriptname>, then the |
| 11281 | 15530 | B<-%c> option must appear on the command line: C<perl -%c scriptname>. |
| 11282 | 15531 | |
| 11283 | 15532 | =end original |
| 11284 | 15533 | |
| 11285 | 15534 | Perl スクリプトが C<perl scriptname> として起動される場合、B<-T> オプションは |
| 11286 | 15535 | コマンドラインに書かなければなりません: C<perl -%c scriptname> |
| 11287 | 15536 | |
| 11288 | 15537 | =item To%s: illegal mapping '%s' |
| 11289 | 15538 | |
| 11290 | 15539 | =begin original |
| 11291 | 15540 | |
| 11292 | 15541 | (F) You tried to define a customized To-mapping for lc(), lcfirst, |
| 11293 | 15542 | uc(), or ucfirst() (or their string-inlined versions), but you |
| 11294 | 15543 | specified an illegal mapping. |
| 11295 | 15544 | See L<perlunicode/"User-Defined Character Properties">. |
| 11296 | 15545 | |
| 11297 | 15546 | =end original |
| 11298 | 15547 | |
| 11299 | 15548 | (F) lc(), lcfirst, uc(), or ucfirst() (またはこれらの文字列組み込み版)の |
| 11300 | 15549 | ためのカスタマイズされた変換先マッピングを定義しようとしましたが、 |
| 11301 | 15550 | 不正なマッピングを指定しました。 |
| 11302 | 15551 | L<perlunicode/"User-Defined Character Properties"> を参照してください。 |
| 11303 | 15552 | |
| 11304 | 15553 | =item Too deeply nested ()-groups |
| 11305 | 15554 | |
| 11306 | 15555 | =begin original |
| 11307 | 15556 | |
| 11308 | 15557 | (F) Your template contains ()-groups with a ridiculously deep nesting level. |
| 11309 | 15558 | |
| 11310 | 15559 | =end original |
| 11311 | 15560 | |
| 11312 | 15561 | (F) テンプレートに、おかしいぐらいネストした () グループがあります。 |
| 11313 | 15562 | |
| 11314 | 15563 | =item Too few args to syscall |
| 11315 | 15564 | |
| 11316 | 15565 | =begin original |
| 11317 | 15566 | |
| 11318 | 15567 | (F) There has to be at least one argument to syscall() to specify the |
| 11319 | 15568 | system call to call, silly dilly. |
| 11320 | 15569 | |
| 11321 | 15570 | =end original |
| 11322 | 15571 | |
| 11323 | 15572 | (F) syscall() には、最低限でも呼び出すシステムコールを示す、 |
| 11324 | 15573 | 引数が一つ必要です。 |
| 11325 | 15574 | |
| 15575 | =item Too few arguments for subroutine '%s' (got %d; expected %d) | |
| 15576 | ||
| 15577 | =begin original | |
| 15578 | ||
| 15579 | (F) A subroutine using a signature fewer arguments than required by the | |
| 15580 | signature. The caller of the subroutine is presumably at fault. | |
| 15581 | ||
| 15582 | =end original | |
| 15583 | ||
| 15584 | (F) シグネチャを使っているサブルーチンが、シグネチャが要求しているよりも | |
| 15585 | 少ない引数を受け取りました。 | |
| 15586 | おそらくサブルーチンの呼び出し元が間違っています。 | |
| 15587 | ||
| 15588 | =begin original | |
| 15589 | ||
| 15590 | The message attempts to include the name of the called subroutine. If | |
| 15591 | the subroutine has been aliased, the subroutine's original name will be | |
| 15592 | shown, regardless of what name the caller used. It will also indicate the | |
| 15593 | number of arguments given and the number expected. | |
| 15594 | ||
| 15595 | =end original | |
| 15596 | ||
| 15597 | このメッセージは呼び出されたサブルーチン名を含めようとします。 | |
| 15598 | サブルーチンが別名化されている場合、どの名前で呼びされたかに関わらず | |
| 15599 | サブルーチンの元の名前が表示されます。 | |
| 15600 | 指定された引数の数と想定された数も示されます。 | |
| 15601 | ||
| 15602 | =item Too few arguments for subroutine '%s' (got %d; expected at least %d) | |
| 15603 | ||
| 15604 | =begin original | |
| 15605 | ||
| 15606 | Similar to the previous message but for subroutines that accept a variable | |
| 15607 | number of arguments. | |
| 15608 | ||
| 15609 | =end original | |
| 15610 | ||
| 15611 | 以前のメッセージと似ていますが、可変数引数を受け入れるサブルーチン向けです。 | |
| 15612 | ||
| 11326 | 15613 | =item Too late for "-%s" option |
| 11327 | 15614 | |
| 11328 | 15615 | =begin original |
| 11329 | 15616 | |
| 11330 | 15617 | (X) The #! line (or local equivalent) in a Perl script contains the |
| 11331 | 15618 | B<-M>, B<-m> or B<-C> option. |
| 11332 | 15619 | |
| 11333 | 15620 | =end original |
| 11334 | 15621 | |
| 11335 | 15622 | (X) Perl スクリプトの #! 行(またはローカルな等価な機構)に B<-M>, B<-m>, |
| 11336 | 15623 | B<-C> オプションが含まれています。 |
| 11337 | 15624 | |
| 11338 | 15625 | =begin original |
| 11339 | 15626 | |
| 11340 | 15627 | In the case of B<-M> and B<-m>, this is an error because those options |
| 11341 | 15628 | are not intended for use inside scripts. Use the C<use> pragma instead. |
| 11342 | 15629 | |
| 11343 | 15630 | =end original |
| 11344 | 15631 | |
| 11345 | 15632 | B<-M> と B<-m> に関しては、スクリプト内部で使うためのものではないので、 |
| 11346 | 15633 | これはエラーになります。 |
| 11347 | 15634 | 代わりに C<use> プラグマを使ってください。 |
| 11348 | 15635 | |
| 11349 | 15636 | =begin original |
| 11350 | 15637 | |
| 11351 | 15638 | The B<-C> option only works if it is specified on the command line as |
| 11352 | 15639 | well (with the same sequence of letters or numbers following). Either |
| 11353 | 15640 | specify this option on the command line, or, if your system supports |
| 11354 | 15641 | it, make your script executable and run it directly instead of passing |
| 11355 | 15642 | it to perl. |
| 11356 | 15643 | |
| 11357 | 15644 | =end original |
| 11358 | 15645 | |
| 11359 | 15646 | B<-C> オプションは、コマンドラインも (以下と同じ文字と数値の並びで) |
| 11360 | 15647 | 指定されたときにのみ動作します。 |
| 11361 | 15648 | このオプションをコマンドラインで指定するか、もしシステムが対応しているなら、 |
| 11362 | 15649 | スクリプトを perl に渡すのではなく、スクリプトを実行可能にして |
| 11363 | 15650 | 直接実行してください。 |
| 11364 | 15651 | |
| 11365 | 15652 | =item Too late to run %s block |
| 11366 | 15653 | |
| 11367 | 15654 | =begin original |
| 11368 | 15655 | |
| 11369 | 15656 | (W void) A CHECK or INIT block is being defined during run time proper, |
| 11370 | 15657 | when the opportunity to run them has already passed. Perhaps you are |
| 11371 | 15658 | loading a file with C<require> or C<do> when you should be using C<use> |
| 11372 | 15659 | instead. Or perhaps you should put the C<require> or C<do> inside a |
| 11373 | 15660 | BEGIN block. |
| 11374 | 15661 | |
| 11375 | 15662 | =end original |
| 11376 | 15663 | |
| 11377 | 15664 | (W void) CHECK か INIT のブロックが、それが実行される機会が過ぎてから |
| 11378 | 15665 | 実行時に定義されました。 |
| 11379 | 15666 | おそらく C<use> を使うべきときに C<require> か C<do> を使ってファイルを |
| 11380 | 15667 | 読み込んでいます。 |
| 11381 | 15668 | あるいはおそらく BEGIN ブロックの中に C<require> か C<do> を |
| 11382 | 15669 | 書いたのでしょう。 |
| 11383 | 15670 | |
| 11384 | 15671 | =item Too many args to syscall |
| 11385 | 15672 | |
| 11386 | 15673 | =begin original |
| 11387 | 15674 | |
| 11388 | 15675 | (F) Perl supports a maximum of only 14 args to syscall(). |
| 11389 | 15676 | |
| 11390 | 15677 | =end original |
| 11391 | 15678 | |
| 11392 | 15679 | (F) Perl では、syscall() に最大 14 までしか、引数を渡すことができません。 |
| 11393 | 15680 | |
| 11394 | 15681 | =item Too many arguments for %s |
| 11395 | 15682 | |
| 11396 | 15683 | =begin original |
| 11397 | 15684 | |
| 11398 | 15685 | (F) The function requires fewer arguments than you specified. |
| 11399 | 15686 | |
| 11400 | 15687 | =end original |
| 11401 | 15688 | |
| 11402 | 15689 | (F) 関数が要求する以上の引数を指定しました。 |
| 11403 | 15690 | |
| 15691 | =item Too many arguments for subroutine '%s' (got %d; expected %d) | |
| 15692 | ||
| 15693 | =begin original | |
| 15694 | ||
| 15695 | (F) A subroutine using a signature received more arguments than permitted | |
| 15696 | by the signature. The caller of the subroutine is presumably at fault. | |
| 15697 | ||
| 15698 | =end original | |
| 15699 | ||
| 15700 | (F) シグネチャを使っているサブルーチンが、シグネチャで許されているよりも | |
| 15701 | 多い引数を受け取りました。 | |
| 15702 | おそらくサブルーチンの呼び出し元が間違っています。 | |
| 15703 | ||
| 15704 | =begin original | |
| 15705 | ||
| 15706 | The message attempts to include the name of the called subroutine. If the | |
| 15707 | subroutine has been aliased, the subroutine's original name will be shown, | |
| 15708 | regardless of what name the caller used. It will also indicate the number | |
| 15709 | of arguments given and the number expected. | |
| 15710 | ||
| 15711 | =end original | |
| 15712 | ||
| 15713 | このメッセージは呼び出されたサブルーチン名を含めようとします。 | |
| 15714 | サブルーチンが別名化されている場合、どの名前で呼びされたかに関わらず | |
| 15715 | サブルーチンの元の名前が表示されます。 | |
| 15716 | 指定された引数の数と想定された数も示されます。 | |
| 15717 | ||
| 15718 | =item Too many arguments for subroutine '%s' (got %d; expected at most %d) | |
| 15719 | ||
| 15720 | =begin original | |
| 15721 | ||
| 15722 | Similar to the previous message but for subroutines that accept a variable | |
| 15723 | number of arguments. | |
| 15724 | ||
| 15725 | =end original | |
| 15726 | ||
| 15727 | 以前のメッセージと似ていますが、可変数引数を受け入れるサブルーチン向けです。 | |
| 15728 | ||
| 15729 | =item Too many nested open parens in regex; marked by <-- HERE in m/%s/ | |
| 15730 | ||
| 15731 | =begin original | |
| 15732 | ||
| 15733 | (F) You have exceeded the number of open C<"("> parentheses that haven't | |
| 15734 | been matched by corresponding closing ones. This limit prevents eating | |
| 15735 | up too much memory. It is initially set to 1000, but may be changed by | |
| 15736 | setting C<${^RE_COMPILE_RECURSION_LIMIT}> to some other value. This may | |
| 15737 | need to be done in a BEGIN block before the regular expression pattern | |
| 15738 | is compiled. | |
| 15739 | ||
| 15740 | =end original | |
| 15741 | ||
| 15742 | (F) 対応する閉じかっこのない開き C<"("> かっこの数が制限を超えました。 | |
| 15743 | この制限は、あまりに多くのメモリを食べ尽くすことを防ぎます。 | |
| 15744 | これは 1000 に初期化されていますが、 | |
| 15745 | C<${^RE_COMPILE_RECURSION_LIMIT}> に他の値を設定することで変更されます。 | |
| 15746 | これは正規表現パターンがコンパイルされる前に BEGIN ブロックの中で | |
| 15747 | 行われる必要があります。 | |
| 15748 | ||
| 15749 | =item Too many nested BEGIN blocks, maximum of %d allowed | |
| 15750 | ||
| 15751 | =begin original | |
| 15752 | ||
| 15753 | (F) You have executed code that nests too many BEGIN blocks inside of | |
| 15754 | each other, either explicitly as BEGIN{} or implicitly as use statements. | |
| 15755 | This limit defaults to a rather high number which should not be exceeded | |
| 15756 | in normal circumstances, and triggering likely indicates something is | |
| 15757 | very wrong in your code. For instance infinite recursion of eval and | |
| 15758 | BEGIN blocks is known to trigger this error. | |
| 15759 | ||
| 15760 | =end original | |
| 15761 | ||
| 15762 | (F) BEGIN{} として明示的に、あるいは use 文として暗黙的に、 | |
| 15763 | あまりにも多くネストした BEGIN ブロックのコードを実行しました。 | |
| 15764 | 制限のデフォルトは、通常の状況では超えるはずのないかなり大きな数で、 | |
| 15765 | これが引き起こされたのは、おそらくコードがとても悪いことを示しています。 | |
| 15766 | 例えば、eval と BEGIN ブロックの無限ループはこのエラーを引き起こすことが | |
| 15767 | 知られています。 | |
| 15768 | ||
| 15769 | =begin original | |
| 15770 | ||
| 15771 | If you know that you have good reason to exceed the limit you can change | |
| 15772 | it by setting C<${^MAX_NESTED_EVAL_BEGIN_BLOCKS}> to a different value from | |
| 15773 | the default of 1000. | |
| 15774 | ||
| 15775 | =end original | |
| 15776 | ||
| 15777 | 制限を超える良い理由が分かっている場合、 | |
| 15778 | C<${^MAX_NESTED_EVAL_BEGIN_BLOCKS}> にデフォルトの 1000 以外の値に | |
| 15779 | 設定することで、制限を変更できます。 | |
| 15780 | ||
| 15781 | =item Too many capture groups (limit is %d) in regex m/%s/ | |
| 15782 | ||
| 15783 | =begin original | |
| 15784 | ||
| 15785 | (F) You have too many capture groups in your regex pattern. You need to rework | |
| 15786 | your pattern to use less capture groups. | |
| 15787 | ||
| 15788 | =end original | |
| 15789 | ||
| 15790 | (F) 正規表現パターンに多くの捕捉グループを書きすぎました。 | |
| 15791 | より少ない捕捉グループを使うようにパターンを作り直す必要があります。 | |
| 15792 | ||
| 11404 | 15793 | =item Too many )'s |
| 11405 | 15794 | |
| 11406 | 15795 | =begin original |
| 11407 | 15796 | |
| 11408 | 15797 | (A) You've accidentally run your script through B<csh> instead of Perl. |
| 11409 | 15798 | Check the #! line, or manually feed your script into Perl yourself. |
| 11410 | 15799 | |
| 11411 | 15800 | =end original |
| 11412 | 15801 | |
| 11413 | 15802 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
| 11414 | #! 行を | |
| 15803 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
| 11415 | 15804 | |
| 11416 | 15805 | =item Too many ('s |
| 11417 | 15806 | |
| 11418 | 15807 | =begin original |
| 11419 | 15808 | |
| 11420 | 15809 | (A) You've accidentally run your script through B<csh> instead of Perl. |
| 11421 | 15810 | Check the #! line, or manually feed your script into Perl yourself. |
| 11422 | 15811 | |
| 11423 | 15812 | =end original |
| 11424 | 15813 | |
| 11425 | 15814 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
| 11426 | #! 行を | |
| 15815 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
| 11427 | 15816 | |
| 11428 | 15817 | =item Trailing \ in regex m/%s/ |
| 11429 | 15818 | |
| 11430 | 15819 | =begin original |
| 11431 | 15820 | |
| 11432 | 15821 | (F) The regular expression ends with an unbackslashed backslash. |
| 11433 | 15822 | Backslash it. See L<perlre>. |
| 11434 | 15823 | |
| 11435 | 15824 | =end original |
| 11436 | 15825 | |
| 11437 | 15826 | (F) 正規表現が、バックスラッシュを付けていないバックスラッシュで |
| 11438 | 15827 | 終了しました。バックスラッシュを付けてください。 |
| 11439 | 15828 | L<perlre> を参照してください。 |
| 11440 | 15829 | |
| 11441 | 15830 | =item Transliteration pattern not terminated |
| 11442 | 15831 | |
| 11443 | 15832 | =begin original |
| 11444 | 15833 | |
| 11445 | 15834 | (F) The lexer couldn't find the interior delimiter of a tr/// or tr[][] |
| 11446 | 15835 | or y/// or y[][] construct. Missing the leading C<$> from variables |
| 11447 | 15836 | C<$tr> or C<$y> may cause this error. |
| 11448 | 15837 | |
| 11449 | 15838 | =end original |
| 11450 | 15839 | |
| 11451 | (F) tr///, tr[][], y///, y[][] | |
| 15840 | (F) tr///, tr[][], y///, y[][] 構文の真ん中の区切り文字が | |
| 11452 | 15841 | 見つかりませんでした。 |
| 11453 | 15842 | C<$tr> 変数 や C<$y> 変数の前に C<$> をつけるのを忘れると |
| 11454 | 15843 | このエラーが出ることがあります。 |
| 11455 | 15844 | |
| 11456 | 15845 | =item Transliteration replacement not terminated |
| 11457 | 15846 | |
| 11458 | 15847 | =begin original |
| 11459 | 15848 | |
| 11460 | 15849 | (F) The lexer couldn't find the final delimiter of a tr///, tr[][], |
| 11461 | 15850 | y/// or y[][] construct. |
| 11462 | 15851 | |
| 11463 | 15852 | =end original |
| 11464 | 15853 | |
| 11465 | 15854 | (F) tr///, tr[][], y///, y[][] 構文の最後の区切り文字が |
| 11466 | 15855 | 見つかりませんでした。 |
| 11467 | 15856 | |
| 15857 | =item Treating %s::INIT block as BEGIN block as workaround | |
| 15858 | ||
| 15859 | =begin original | |
| 15860 | ||
| 15861 | (S) A package is using an old version of C<Module::Install::DSL> to | |
| 15862 | install, which makes unsafe assumptions about when INIT blocks will be | |
| 15863 | called. Because C<Module::Install::DSL> is used to install other modules | |
| 15864 | and is difficult to upgrade we have a special workaround in place to | |
| 15865 | deal with this. Unless you are a maintainer of an affected module you | |
| 15866 | can ignore this warning. We emit it only as a sanity check. | |
| 15867 | ||
| 15868 | =end original | |
| 15869 | ||
| 15870 | (S) パッケージがインストールするのに古いバージョンの | |
| 15871 | C<Module::Install::DSL> を使っています; | |
| 15872 | これは INIT ブロックが呼び出されるときに安全でない仮定をしています。 | |
| 15873 | C<Module::Install::DSL> は他のモジュールをインストールするのに使われていて、 | |
| 15874 | 更新するのは困難ですが、これに対処するための特別な回避策があります。 | |
| 15875 | あなたが影響したモジュールの保守者でない限り、この警告は無視できます。 | |
| 15876 | これは健全性チェックのためだけに出力されています。 | |
| 15877 | ||
| 11468 | 15878 | =item '%s' trapped by operation mask |
| 11469 | 15879 | |
| 11470 | 15880 | =begin original |
| 11471 | 15881 | |
| 11472 | 15882 | (F) You tried to use an operator from a Safe compartment in which it's |
| 11473 | 15883 | disallowed. See L<Safe>. |
| 11474 | 15884 | |
| 11475 | 15885 | =end original |
| 11476 | 15886 | |
| 11477 | 15887 | (F) Safe 区画の中で、許されていない演算子を使おうとしました。 |
| 11478 | 15888 | L<Safe> を参照してください。 |
| 11479 | 15889 | |
| 11480 | 15890 | =item truncate not implemented |
| 11481 | 15891 | |
| 11482 | 15892 | =begin original |
| 11483 | 15893 | |
| 11484 | 15894 | (F) Your machine doesn't implement a file truncation mechanism that |
| 11485 | 15895 | Configure knows about. |
| 11486 | 15896 | |
| 11487 | 15897 | =end original |
| 11488 | 15898 | |
| 11489 | 15899 | (F) このマシンでは、Configure が知りうる、ファイルの切り詰めの機能が |
| 11490 | 15900 | 実装されていません。 |
| 11491 | 15901 | |
| 15902 | =item try/catch/finally is experimental | |
| 15903 | ||
| 15904 | =begin original | |
| 15905 | ||
| 15906 | (S experimental::try) This warning is emitted if you use the C<try> and | |
| 15907 | C<catch> syntax with a C<finally> block. This syntax is currently experimental | |
| 15908 | and its behaviour may change in future releases of Perl. | |
| 15909 | ||
| 15910 | =end original | |
| 15911 | ||
| 15912 | (S experimental::try) この警告は、C<try> と C<catch> 構文と | |
| 15913 | C<finally> ブロックを使うと発生します。 | |
| 15914 | この構文は現在のところ実験的で、Perl の将来のリリースでは変更される | |
| 15915 | 可能性があります。 | |
| 15916 | ||
| 11492 | 15917 | =item Type of arg %d to &CORE::%s must be %s |
| 11493 | 15918 | |
| 11494 | 15919 | =begin original |
| 11495 | 15920 | |
| 11496 | 15921 | (F) The subroutine in question in the CORE package requires its argument |
| 11497 | 15922 | to be a hard reference to data of the specified type. Overloading is |
| 11498 | 15923 | ignored, so a reference to an object that is not the specified type, but |
| 11499 | 15924 | nonetheless has overloading to handle it, will still not be accepted. |
| 11500 | 15925 | |
| 11501 | 15926 | =end original |
| 11502 | 15927 | |
| 11503 | 15928 | (F) CORE パッケージにある問題のサブルーチンは、引数に特定の型のデータへの |
| 11504 | 15929 | ハードリファレンスを要求しています。 |
| 11505 | 15930 | オーバーロードは無視されるので、指定された型ではないけれども、それを |
| 11506 | 15931 | 扱えるようにオーバーロードされたオブジェクトへのリファレンスでも |
| 11507 | 15932 | 受け付けられません。 |
| 11508 | 15933 | |
| 11509 | 15934 | =item Type of arg %d to %s must be %s (not %s) |
| 11510 | 15935 | |
| 11511 | 15936 | =begin original |
| 11512 | 15937 | |
| 11513 | 15938 | (F) This function requires the argument in that position to be of a |
| 11514 | 15939 | certain type. Arrays must be @NAME or C<@{EXPR}>. Hashes must be |
| 11515 | 15940 | %NAME or C<%{EXPR}>. No implicit dereferencing is allowed--use the |
| 11516 | 15941 | {EXPR} forms as an explicit dereference. See L<perlref>. |
| 11517 | 15942 | |
| 11518 | 15943 | =end original |
| 11519 | 15944 | |
| 11520 | 15945 | (F) この関数は、その位置に決まった型の引数を必要とします。 |
| 11521 | 15946 | 配列は、@NAME もしくは C<@{EXPR}> でなりません。 |
| 11522 | 15947 | ハッシュは、%NAME もしくは C<%{EXPR}> でなければなりません。 |
| 11523 | 15948 | 暗黙の被参照は許されませんので、明示的な被参照として、 |
| 11524 | 15949 | {EXPR} 形式を使ってください。 |
| 11525 | 15950 | L<perlref> を参照してください。 |
| 11526 | 15951 | |
| 11527 | =item Type of argument to %s must be unblessed hashref or arrayref | |
| 11528 | ||
| 11529 | =begin original | |
| 11530 | ||
| 11531 | (F) You called C<keys>, C<values> or C<each> with a scalar argument that | |
| 11532 | was not a reference to an unblessed hash or array. | |
| 11533 | ||
| 11534 | =end original | |
| 11535 | ||
| 11536 | (F) bless されていないハッシュや配列へのリファレンスでないスカラ引数を使って | |
| 11537 | C<keys>, C<values>, C<each> を呼び出しました。 | |
| 11538 | ||
| 11539 | 15952 | =item umask not implemented |
| 11540 | 15953 | |
| 11541 | 15954 | =begin original |
| 11542 | 15955 | |
| 11543 | 15956 | (F) Your machine doesn't implement the umask function and you tried to |
| 11544 | 15957 | use it to restrict permissions for yourself (EXPR & 0700). |
| 11545 | 15958 | |
| 11546 | 15959 | =end original |
| 11547 | 15960 | |
| 11548 | 15961 | (F) umask 関数が実装されていないマシンで、自分自身の権限を制限する |
| 11549 | 15962 | (EXPR & 0700) ためにこれを使おうとしました。 |
| 11550 | 15963 | |
| 11551 | =item U | |
| 15964 | =item UNIVERSAL does not export anything | |
| 11552 | 15965 | |
| 11553 | 15966 | =begin original |
| 11554 | 15967 | |
| 11555 | (F) You a | |
| 15968 | (F) You asked UNIVERSAL to export something, but UNIVERSAL is the | |
| 15969 | base class for all classes and contains no exportable symbols. | |
| 11556 | 15970 | |
| 11557 | 15971 | =end original |
| 11558 | 15972 | |
| 11559 | (F) | |
| 15973 | (F) UNIVERSAL に何かをエクスポートするように要求しましたが、UNIVERSAL は | |
| 15974 | すべてのクラスの基本クラスであり、エクスポート可能なシンボルを | |
| 15975 | 含んでいません。 | |
| 11560 | 15976 | |
| 11561 | 15977 | =item Unbalanced context: %d more PUSHes than POPs |
| 11562 | 15978 | |
| 11563 | 15979 | =begin original |
| 11564 | 15980 | |
| 11565 | ( | |
| 15981 | (S internal) The exit code detected an internal inconsistency in how | |
| 11566 | 15982 | many execution contexts were entered and left. |
| 11567 | 15983 | |
| 11568 | 15984 | =end original |
| 11569 | 15985 | |
| 11570 | ( | |
| 15986 | (S internal) いくつの実行コンテキストに入って、出たかということの | |
| 11571 | 15987 | 内部矛盾が exit コードで発見されました。 |
| 11572 | 15988 | |
| 11573 | 15989 | =item Unbalanced saves: %d more saves than restores |
| 11574 | 15990 | |
| 11575 | 15991 | =begin original |
| 11576 | 15992 | |
| 11577 | ( | |
| 15993 | (S internal) The exit code detected an internal inconsistency in how | |
| 11578 | 15994 | many values were temporarily localized. |
| 11579 | 15995 | |
| 11580 | 15996 | =end original |
| 11581 | 15997 | |
| 11582 | ( | |
| 15998 | (S internal) いくつの値が、一時的にローカル化されたかということの | |
| 11583 | 15999 | 内部矛盾が exit コードで発見されました。 |
| 11584 | 16000 | |
| 11585 | 16001 | =item Unbalanced scopes: %d more ENTERs than LEAVEs |
| 11586 | 16002 | |
| 11587 | 16003 | =begin original |
| 11588 | 16004 | |
| 11589 | ( | |
| 16005 | (S internal) The exit code detected an internal inconsistency in how | |
| 11590 | 16006 | many blocks were entered and left. |
| 11591 | 16007 | |
| 11592 | 16008 | =end original |
| 11593 | 16009 | |
| 11594 | ( | |
| 16010 | (S internal) いくつのブロックに入って、出たかということの | |
| 11595 | 16011 | 内部矛盾が exit コードで発見されました。 |
| 11596 | 16012 | |
| 11597 | 16013 | =item Unbalanced string table refcount: (%d) for "%s" |
| 11598 | 16014 | |
| 11599 | 16015 | =begin original |
| 11600 | 16016 | |
| 11601 | ( | |
| 16017 | (S internal) On exit, Perl found some strings remaining in the shared | |
| 11602 | 16018 | string table used for copy on write and for hash keys. The entries |
| 11603 | 16019 | should have been freed, so this indicates a bug somewhere. |
| 11604 | 16020 | |
| 11605 | 16021 | =end original |
| 11606 | 16022 | |
| 11607 | ( | |
| 16023 | (S internal) 終了時に、ハッシュキーのためのコピーオンライトのための | |
| 11608 | 16024 | 共有文字列テーブルに文字列が残っていることを Perl が発見しました。 |
| 11609 | 16025 | エントリは開放されている必要があるので、これはどこかにバグがあることを |
| 11610 | 16026 | 示しています。 |
| 11611 | 16027 | |
| 11612 | 16028 | =item Unbalanced tmps: %d more allocs than frees |
| 11613 | 16029 | |
| 11614 | 16030 | =begin original |
| 11615 | 16031 | |
| 11616 | ( | |
| 16032 | (S internal) The exit code detected an internal inconsistency in how | |
| 11617 | 16033 | many mortal scalars were allocated and freed. |
| 11618 | 16034 | |
| 11619 | 16035 | =end original |
| 11620 | 16036 | |
| 11621 | ( | |
| 16037 | (S internal) いくつの揮発性スカラの割り当てを行ない、解放したかと | |
| 11622 | 16038 | いうことの内部矛盾が exit コードで発見されました。 |
| 11623 | 16039 | |
| 11624 | 16040 | =item Undefined format "%s" called |
| 11625 | 16041 | |
| 11626 | 16042 | =begin original |
| 11627 | 16043 | |
| 11628 | 16044 | (F) The format indicated doesn't seem to exist. Perhaps it's really in |
| 11629 | 16045 | another package? See L<perlform>. |
| 11630 | 16046 | |
| 11631 | 16047 | =end original |
| 11632 | 16048 | |
| 11633 | 16049 | (F) 示されたフォーマットが存在しないようです。 |
| 11634 | 16050 | おそらく本当は他のパッケージにあるのでは? |
| 11635 | 16051 | L<perlform> を参照してください。 |
| 11636 | 16052 | |
| 11637 | 16053 | =item Undefined sort subroutine "%s" called |
| 11638 | 16054 | |
| 11639 | 16055 | =begin original |
| 11640 | 16056 | |
| 11641 | 16057 | (F) The sort comparison routine specified doesn't seem to exist. |
| 11642 | 16058 | Perhaps it's in a different package? See L<perlfunc/sort>. |
| 11643 | 16059 | |
| 11644 | 16060 | =end original |
| 11645 | 16061 | |
| 11646 | 16062 | (F) 指定された sort の比較ルーティンは存在していないように思われます。 |
| 11647 | 16063 | おそらく、別のパッケージに存在するのではないでしょうか。 |
| 11648 | 16064 | L<perlfunc/sort> を参照してください。 |
| 11649 | 16065 | |
| 11650 | 16066 | =item Undefined subroutine &%s called |
| 11651 | 16067 | |
| 11652 | 16068 | =begin original |
| 11653 | 16069 | |
| 11654 | 16070 | (F) The subroutine indicated hasn't been defined, or if it was, it has |
| 11655 | 16071 | since been undefined. |
| 11656 | 16072 | |
| 11657 | 16073 | =end original |
| 11658 | 16074 | |
| 11659 | 16075 | (F) 指定されたサブルーチンが定義されていません; 定義されていたとしても、 |
| 11660 | 16076 | 既に未定義になっています。 |
| 11661 | 16077 | |
| 11662 | 16078 | =item Undefined subroutine called |
| 11663 | 16079 | |
| 11664 | 16080 | =begin original |
| 11665 | 16081 | |
| 11666 | 16082 | (F) The anonymous subroutine you're trying to call hasn't been defined, |
| 11667 | 16083 | or if it was, it has since been undefined. |
| 11668 | 16084 | |
| 11669 | 16085 | =end original |
| 11670 | 16086 | |
| 11671 | 16087 | (F) 呼びだそうとしている無名のサブルーチンは、定義されていません; |
| 11672 | 16088 | 定義されていたとしても、既に未定義になっています。 |
| 11673 | 16089 | |
| 11674 | 16090 | =item Undefined subroutine in sort |
| 11675 | 16091 | |
| 11676 | 16092 | =begin original |
| 11677 | 16093 | |
| 11678 | 16094 | (F) The sort comparison routine specified is declared but doesn't seem |
| 11679 | 16095 | to have been defined yet. See L<perlfunc/sort>. |
| 11680 | 16096 | |
| 11681 | 16097 | =end original |
| 11682 | 16098 | |
| 11683 | 16099 | (F) 指定された sort の比較ルーティンは宣言されましたが、 |
| 11684 | 16100 | 定義されていないようです。 |
| 11685 | 16101 | L<perlfunc/sort> を参照してください。 |
| 11686 | 16102 | |
| 11687 | 16103 | =item Undefined top format "%s" called |
| 11688 | 16104 | |
| 11689 | 16105 | =begin original |
| 11690 | 16106 | |
| 11691 | 16107 | (F) The format indicated doesn't seem to exist. Perhaps it's really in |
| 11692 | 16108 | another package? See L<perlform>. |
| 11693 | 16109 | |
| 11694 | 16110 | =end original |
| 11695 | 16111 | |
| 11696 | 16112 | (F) 示されたフォーマットが存在しないようです。 |
| 11697 | 16113 | おそらく本当は他のパッケージにあるのでは? |
| 11698 | 16114 | L<perlform> を参照してください。 |
| 11699 | 16115 | |
| 11700 | 16116 | =item Undefined value assigned to typeglob |
| 11701 | 16117 | |
| 11702 | 16118 | =begin original |
| 11703 | 16119 | |
| 11704 | 16120 | (W misc) An undefined value was assigned to a typeglob, a la |
| 11705 | 16121 | C<*foo = undef>. This does nothing. It's possible that you really mean |
| 11706 | 16122 | C<undef *foo>. |
| 11707 | 16123 | |
| 11708 | 16124 | =end original |
| 11709 | 16125 | |
| 11710 | 16126 | (W misc) C<*foo = undef> のように、未定義値を型グロブに代入しました。 |
| 11711 | 16127 | これは何もしません。 |
| 11712 | 16128 | 本当は C<undef *foo> としたかったのかもしれません。 |
| 11713 | 16129 | |
| 11714 | 16130 | =item %s: Undefined variable |
| 11715 | 16131 | |
| 11716 | 16132 | =begin original |
| 11717 | 16133 | |
| 11718 | 16134 | (A) You've accidentally run your script through B<csh> instead of Perl. |
| 11719 | 16135 | Check the #! line, or manually feed your script into Perl yourself. |
| 11720 | 16136 | |
| 11721 | 16137 | =end original |
| 11722 | 16138 | |
| 11723 | 16139 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
| 11724 | #! 行を | |
| 16140 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
| 11725 | 16141 | |
| 16142 | =item Unescaped left brace in regex is illegal here in regex; | |
| 16143 | marked by S<<-- HERE> in m/%s/ | |
| 16144 | ||
| 16145 | =begin original | |
| 16146 | ||
| 16147 | (F) The simple rule to remember, if you want to | |
| 16148 | match a literal C<"{"> character (U+007B C<LEFT CURLY BRACKET>) in a | |
| 16149 | regular expression pattern, is to escape each literal instance of it in | |
| 16150 | some way. Generally easiest is to precede it with a backslash, like | |
| 16151 | C<"\{"> or enclose it in square brackets (C<"[{]">). If the pattern | |
| 16152 | delimiters are also braces, any matching right brace (C<"}">) should | |
| 16153 | also be escaped to avoid confusing the parser, for example, | |
| 16154 | ||
| 16155 | =end original | |
| 16156 | ||
| 16157 | (F) 正規表現中で | |
| 16158 | リテラルな C<"{"> 文字 (U+007B C<LEFT CURLY BRACKET>) にマッチングしたいときに | |
| 16159 | 覚えておくべき単純な規則は、何らかの方法で | |
| 16160 | それぞれのリテラルな実体をエスケープすることです。 | |
| 16161 | 一般的に一番簡単なのは、C<"\{"> のように逆スラッシュを前置するか、 | |
| 16162 | かっこでかこむ (C<"[{]">) ことです。 | |
| 16163 | パターン区切り文字も中かっこの場合、マッチングする右中かっこ | |
| 16164 | (C<"}">) も、パーサーの混乱を避けるためにエスケープするべきです; 例えば: | |
| 16165 | ||
| 16166 | qr{abc\{def\}ghi} | |
| 16167 | ||
| 16168 | =begin original | |
| 16169 | ||
| 16170 | Forcing literal C<"{"> characters to be escaped enables the Perl | |
| 16171 | language to be extended in various ways in future releases. To avoid | |
| 16172 | needlessly breaking existing code, the restriction is not enforced in | |
| 16173 | contexts where there are unlikely to ever be extensions that could | |
| 16174 | conflict with the use there of C<"{"> as a literal. Those that are | |
| 16175 | not potentially ambiguous do not warn; those that are do raise a | |
| 16176 | non-deprecation warning. | |
| 16177 | ||
| 16178 | =end original | |
| 16179 | ||
| 16180 | リテラルな C<"{"> 文字にエスケープを強制することにより、 | |
| 16181 | 将来のリリースで様々な方法で Perl 言語を拡張できるようになります。 | |
| 16182 | 既存のコードを不必要に壊すことを避けるために、 | |
| 16183 | 拡張が C<"{"> をリテラルとして使うことと競合しそうにない文脈では | |
| 16184 | 制限は強制されません。 | |
| 16185 | 潜在的にあいまいでないものは警告されません; あいまいなものは | |
| 16186 | 廃止予定でない警告が発生します。 | |
| 16187 | ||
| 16188 | =begin original | |
| 16189 | ||
| 16190 | The contexts where no warnings or errors are raised are: | |
| 16191 | ||
| 16192 | =end original | |
| 16193 | ||
| 16194 | 警告やエラーが出ない文脈は: | |
| 16195 | ||
| 16196 | =over 4 | |
| 16197 | ||
| 16198 | =item * | |
| 16199 | ||
| 16200 | =begin original | |
| 16201 | ||
| 16202 | as the first character in a pattern, or following C<"^"> indicating to | |
| 16203 | anchor the match to the beginning of a line. | |
| 16204 | ||
| 16205 | =end original | |
| 16206 | ||
| 16207 | パターンの最初の文字、あるいは行頭にマッチングすることを示す | |
| 16208 | C<"^"> に引き続いている場合。 | |
| 16209 | ||
| 16210 | =item * | |
| 16211 | ||
| 16212 | =begin original | |
| 16213 | ||
| 16214 | as the first character following a C<"|"> indicating alternation. | |
| 16215 | ||
| 16216 | =end original | |
| 16217 | ||
| 16218 | 代替を示す C<"|"> に引き続く最初の文字の場合。 | |
| 16219 | ||
| 16220 | =item * | |
| 16221 | ||
| 16222 | =begin original | |
| 16223 | ||
| 16224 | as the first character in a parenthesized grouping like | |
| 16225 | ||
| 16226 | =end original | |
| 16227 | ||
| 16228 | 次のようなかっこ付きグループの最初の文字の場合: | |
| 16229 | ||
| 16230 | /foo({bar)/ | |
| 16231 | /foo(?:{bar)/ | |
| 16232 | ||
| 16233 | =item * | |
| 16234 | ||
| 16235 | =begin original | |
| 16236 | ||
| 16237 | as the first character following a quantifier | |
| 16238 | ||
| 16239 | =end original | |
| 16240 | ||
| 16241 | 量指定子に引き続く最初の文字の場合 | |
| 16242 | ||
| 16243 | /\s*{/ | |
| 16244 | ||
| 16245 | =back | |
| 16246 | ||
| 16247 | =for comment | |
| 16248 | The text of the message above is mostly duplicated below (with changes) | |
| 16249 | to allow splain (and 'use diagnostics') to work. Since one is fatal, | |
| 16250 | and one not, they can't be combined as one message. Perhaps perldiag | |
| 16251 | could be enhanced to handle this case. | |
| 16252 | ||
| 16253 | =item Unescaped left brace in regex is passed through in regex; marked by S<<-- HERE> in m/%s/ | |
| 16254 | ||
| 16255 | =begin original | |
| 16256 | ||
| 16257 | (W regexp) The simple rule to remember, if you want to | |
| 16258 | match a literal C<"{"> character (U+007B C<LEFT CURLY BRACKET>) in a | |
| 16259 | regular expression pattern, is to escape each literal instance of it in | |
| 16260 | some way. Generally easiest is to precede it with a backslash, like | |
| 16261 | C<"\{"> or enclose it in square brackets (C<"[{]">). If the pattern | |
| 16262 | delimiters are also braces, any matching right brace (C<"}">) should | |
| 16263 | also be escaped to avoid confusing the parser, for example, | |
| 16264 | ||
| 16265 | =end original | |
| 16266 | ||
| 16267 | (W regexp) 正規表現中で | |
| 16268 | リテラルな C<"{"> 文字 (U+007B C<LEFT CURLY BRACKET>) にマッチングしたいときに | |
| 16269 | 覚えておくべき単純な規則は、何らかの方法で | |
| 16270 | それぞれのリテラルな実体をエスケープすることです。 | |
| 16271 | 一般的に一番簡単なのは、C<"\{"> のように逆スラッシュを前置するか、 | |
| 16272 | かっこでかこむ (C<"[{]">) ことです。 | |
| 16273 | パターン区切り文字も中かっこの場合、マッチングする右中かっこ | |
| 16274 | (C<"}">) も、パーサーの混乱を避けるためにエスケープするべきです; 例えば: | |
| 16275 | ||
| 16276 | qr{abc\{def\}ghi} | |
| 16277 | ||
| 16278 | =begin original | |
| 16279 | ||
| 16280 | Forcing literal C<"{"> characters to be escaped enables the Perl | |
| 16281 | language to be extended in various ways in future releases. To avoid | |
| 16282 | needlessly breaking existing code, the restriction is not enforced in | |
| 16283 | contexts where there are unlikely to ever be extensions that could | |
| 16284 | conflict with the use there of C<"{"> as a literal. Those that are | |
| 16285 | not potentially ambiguous do not warn; those that are raise this | |
| 16286 | warning. This makes sure that an inadvertent typo doesn't silently | |
| 16287 | cause the pattern to compile to something unintended. | |
| 16288 | ||
| 16289 | =end original | |
| 16290 | ||
| 16291 | リテラルな C<"{"> 文字にエスケープを強制することにより、 | |
| 16292 | 将来のリリースで様々な方法で Perl 言語を拡張できるようになります。 | |
| 16293 | 既存のコードを不必要に壊すことを避けるために、 | |
| 16294 | 拡張が C<"{"> をリテラルとして使うことと競合しそうにない文脈では | |
| 16295 | 制限は強制されません。 | |
| 16296 | 潜在的にあいまいでないものは警告されません; あいまいなものは | |
| 16297 | この警告が発生します。 | |
| 16298 | これは、不注意によるタイプミスによって、パターンが何か想定外のものに | |
| 16299 | 黙ってコンパイルされないことを確実にします。 | |
| 16300 | ||
| 16301 | =begin original | |
| 16302 | ||
| 16303 | The contexts where no warnings or errors are raised are: | |
| 16304 | ||
| 16305 | =end original | |
| 16306 | ||
| 16307 | 警告やエラーが出ない文脈は: | |
| 16308 | ||
| 16309 | =over 4 | |
| 16310 | ||
| 16311 | =item * | |
| 16312 | ||
| 16313 | =begin original | |
| 16314 | ||
| 16315 | as the first character in a pattern, or following C<"^"> indicating to | |
| 16316 | anchor the match to the beginning of a line. | |
| 16317 | ||
| 16318 | =end original | |
| 16319 | ||
| 16320 | パターンの最初の文字、あるいは行頭にマッチングすることを示す | |
| 16321 | C<"^"> に引き続いている場合。 | |
| 16322 | ||
| 16323 | =item * | |
| 16324 | ||
| 16325 | =begin original | |
| 16326 | ||
| 16327 | as the first character following a C<"|"> indicating alternation. | |
| 16328 | ||
| 16329 | =end original | |
| 16330 | ||
| 16331 | 代替を示す C<"|"> に引き続く最初の文字の場合。 | |
| 16332 | ||
| 16333 | =item * | |
| 16334 | ||
| 16335 | =begin original | |
| 16336 | ||
| 16337 | as the first character in a parenthesized grouping like | |
| 16338 | ||
| 16339 | =end original | |
| 16340 | ||
| 16341 | 次のようなかっこ付きグループの最初の文字の場合: | |
| 16342 | ||
| 16343 | /foo({bar)/ | |
| 16344 | /foo(?:{bar)/ | |
| 16345 | ||
| 16346 | =item * | |
| 16347 | ||
| 16348 | =begin original | |
| 16349 | ||
| 16350 | as the first character following a quantifier | |
| 16351 | ||
| 16352 | =end original | |
| 16353 | ||
| 16354 | 量指定子に引き続く最初の文字の場合 | |
| 16355 | ||
| 16356 | /\s*{/ | |
| 16357 | ||
| 16358 | =back | |
| 16359 | ||
| 16360 | =item Unescaped literal '%c' in regex; marked by <-- HERE in m/%s/ | |
| 16361 | ||
| 16362 | =begin original | |
| 16363 | ||
| 16364 | (W regexp) (only under C<S<use re 'strict'>>) | |
| 16365 | ||
| 16366 | =end original | |
| 16367 | ||
| 16368 | (W regexp) (C<S<use re 'strict'>> の下のみ) | |
| 16369 | ||
| 16370 | =begin original | |
| 16371 | ||
| 16372 | Within the scope of C<S<use re 'strict'>> in a regular expression | |
| 16373 | pattern, you included an unescaped C<}> or C<]> which was interpreted | |
| 16374 | literally. These two characters are sometimes metacharacters, and | |
| 16375 | sometimes literals, depending on what precedes them in the | |
| 16376 | pattern. This is unlike the similar C<)> which is always a | |
| 16377 | metacharacter unless escaped. | |
| 16378 | ||
| 16379 | =end original | |
| 16380 | ||
| 16381 | C<S<use re 'strict'>> スコープでの正規表現パターンの中で、 | |
| 16382 | リテラルとして解釈される、エスケープされない C<}> や C<]> を置きました。 | |
| 16383 | これらの二つの文字は時にはメタ文字で、ときにはリテラルです; | |
| 16384 | パターン中で何が前に置かれるかによります。 | |
| 16385 | これは、エスケープされない限り常にメタ文字である C<)> に似ていますが | |
| 16386 | 異なります。 | |
| 16387 | ||
| 16388 | =begin original | |
| 16389 | ||
| 16390 | This action at a distance, perhaps a large distance, can lead to Perl | |
| 16391 | silently misinterpreting what you meant, so when you specify that you | |
| 16392 | want extra checking by C<S<use re 'strict'>>, this warning is generated. | |
| 16393 | If you meant the character as a literal, simply confirm that to Perl by | |
| 16394 | preceding the character with a backslash, or make it into a bracketed | |
| 16395 | character class (like C<[}]>). If you meant it as closing a | |
| 16396 | corresponding C<[> or C<{>, you'll need to look back through the pattern | |
| 16397 | to find out why that isn't happening. | |
| 16398 | ||
| 16399 | =end original | |
| 16400 | ||
| 16401 | 遠くで、おそらくはとても遠くでこの動作をすると、Perl は暗黙のままで | |
| 16402 | あなたの意図を間違って解釈するかもしれないので、 | |
| 16403 | C<S<use re 'strict'>> で追加のチェックを求めるように指定すると、 | |
| 16404 | この警告が出力されます。 | |
| 16405 | この文字がリテラルであるなら、文字の前に逆スラッシュを置くか、 | |
| 16406 | (C<[}]> のように)大かっこ文字クラスの中に入れることで、Perl に | |
| 16407 | はっきりさせてください。 | |
| 16408 | これが対応する C<[> や C<{> を閉じるものなら、 | |
| 16409 | なぜそれが起きないかを見つけるためにパターン全体を見直してください。 | |
| 16410 | ||
| 11726 | 16411 | =item unexec of %s into %s failed! |
| 11727 | 16412 | |
| 11728 | 16413 | =begin original |
| 11729 | 16414 | |
| 11730 | 16415 | (F) The unexec() routine failed for some reason. See your local FSF |
| 11731 | 16416 | representative, who probably put it there in the first place. |
| 11732 | 16417 | |
| 11733 | 16418 | =end original |
| 11734 | 16419 | |
| 11735 | 16420 | (F) unexec() ルーティンが何らかの理由によって失敗しました。 |
| 11736 | 16421 | 最初にインストールしたであろう、サイトの FSF 代表者にたずねてみてください。 |
| 11737 | 16422 | |
| 11738 | =item Unexpected | |
| 16423 | =item Unexpected binary operator '%c' with no preceding operand in regex; | |
| 16424 | marked by S<<-- HERE> in m/%s/ | |
| 11739 | 16425 | |
| 11740 | 16426 | =begin original |
| 11741 | 16427 | |
| 11742 | ( | |
| 16428 | (F) You had something like this: | |
| 11743 | internal consistency check. It encountered a malformed op tree. | |
| 11744 | 16429 | |
| 11745 | 16430 | =end original |
| 11746 | 16431 | |
| 11747 | ( | |
| 16432 | (F) 以下のようなものを書きました: | |
| 11748 | 内部一貫性チェックに失敗しました。 | |
| 11749 | 不正な構文木に遭遇しました。 | |
| 11750 | 16433 | |
| 11751 | ||
| 16434 | (?[ | \p{Digit} ]) | |
| 11752 | 16435 | |
| 11753 | 16436 | =begin original |
| 11754 | 16437 | |
| 11755 | ||
| 16438 | where the C<"|"> is a binary operator with an operand on the right, but | |
| 11756 | ||
| 16439 | no operand on the left. | |
| 11757 | legal codepoints, but are reserved for internal use; so, applications | |
| 11758 | shouldn't attempt to exchange them. If you know what you are doing | |
| 11759 | you can turn off this warning by C<no warnings 'nonchar';>. | |
| 11760 | 16440 | |
| 11761 | 16441 | =end original |
| 11762 | 16442 | |
| 11763 | ||
| 16443 | ここで C<"|"> は右側にはオペランドがありますが、左側にはオペランドがない | |
| 16444 | 2 項演算子です。 | |
| 16445 | ||
| 16446 | =item Unexpected character in regex; marked by S<<-- HERE> in m/%s/ | |
| 16447 | ||
| 16448 | =begin original | |
| 16449 | ||
| 16450 | (F) You had something like this: | |
| 16451 | ||
| 16452 | =end original | |
| 16453 | ||
| 16454 | (F) 以下のようなものを書きました: | |
| 16455 | ||
| 16456 | (?[ z ]) | |
| 16457 | ||
| 16458 | =begin original | |
| 16459 | ||
| 16460 | Within C<(?[ ])>, no literal characters are allowed unless they are | |
| 16461 | within an inner pair of square brackets, like | |
| 16462 | ||
| 16463 | =end original | |
| 16464 | ||
| 16465 | C<(?[ ])> の中では、次のようにさらに内側の大かっこの内側でない限り | |
| 16466 | リテラル文字は許されません | |
| 16467 | ||
| 16468 | (?[ [ z ] ]) | |
| 16469 | ||
| 16470 | =begin original | |
| 16471 | ||
| 16472 | Another possibility is that you forgot a backslash. Perl isn't smart | |
| 16473 | enough to figure out what you really meant. | |
| 16474 | ||
| 16475 | =end original | |
| 16476 | ||
| 16477 | もう一つの可能性は、逆スラッシュを忘れたことです。 | |
| 16478 | Perl はあなたが何を意味しているのかを見つけ出せるほど賢くはありませんでした。 | |
| 16479 | ||
| 16480 | =item Unexpected characters while parsing class :isa attribute: %s | |
| 16481 | ||
| 16482 | =begin original | |
| 16483 | ||
| 16484 | (F) You tried to specify something other than a single class name with an | |
| 16485 | optional trailing verison number as the value for a C<class> C<:isa> | |
| 16486 | attribute. This confused the parser. | |
| 16487 | ||
| 16488 | =end original | |
| 16489 | ||
| 16490 | (F) C<class> C<:isa> 属性に、単一のクラス名に加えて末尾のバージョン番号 | |
| 16491 | (オプション)以外のものを指定しようとしました。 | |
| 16492 | これはパーサを混乱させます。 | |
| 16493 | ||
| 16494 | =item Unexpected exit %u | |
| 16495 | ||
| 16496 | =begin original | |
| 16497 | ||
| 16498 | (S) exit() was called or the script otherwise finished gracefully when | |
| 16499 | C<PERL_EXIT_WARN> was set in C<PL_exit_flags>. | |
| 16500 | ||
| 16501 | =end original | |
| 16502 | ||
| 16503 | (S) C<PL_exit_flags> に C<PERL_EXIT_WARN> が設定されているときに exit() が | |
| 16504 | 呼び出されたりその他の理由で通常終了しました。 | |
| 16505 | ||
| 16506 | =item Unexpected exit failure %d | |
| 16507 | ||
| 16508 | =begin original | |
| 16509 | ||
| 16510 | (S) An uncaught die() was called when C<PERL_EXIT_WARN> was set in | |
| 16511 | C<PL_exit_flags>. | |
| 16512 | ||
| 16513 | =end original | |
| 16514 | ||
| 16515 | (S) C<PL_exit_flags> に C<PERL_EXIT_WARN> が設定されているときに | |
| 16516 | 捕らえられていない die() が呼び出されました。 | |
| 16517 | ||
| 16518 | =item Unexpected ')' in regex; marked by S<<-- HERE> in m/%s/ | |
| 16519 | ||
| 16520 | =begin original | |
| 16521 | ||
| 16522 | (F) You had something like this: | |
| 16523 | ||
| 16524 | =end original | |
| 16525 | ||
| 16526 | (F) 以下のようなものを書きました: | |
| 16527 | ||
| 16528 | (?[ ( \p{Digit} + ) ]) | |
| 16529 | ||
| 16530 | =begin original | |
| 16531 | ||
| 16532 | The C<")"> is out-of-place. Something apparently was supposed to | |
| 16533 | be combined with the digits, or the C<"+"> shouldn't be there, or | |
| 16534 | something like that. Perl can't figure out what was intended. | |
| 16535 | ||
| 16536 | =end original | |
| 16537 | ||
| 16538 | C<")"> の場所がおかしいです。 | |
| 16539 | 何かを数値と結合しようとしていたのか、C<"+"> があるべきでないのか、あるいは | |
| 16540 | 似たような何かです。 | |
| 16541 | Perl は何を意図しているのかが分かりませんでした。 | |
| 16542 | ||
| 16543 | =item Unexpected ']' with no following ')' in (?[... in regex; marked by | |
| 16544 | <-- HERE in m/%s/ | |
| 16545 | ||
| 16546 | =begin original | |
| 16547 | ||
| 16548 | (F) While parsing an extended character class a ']' character was | |
| 16549 | encountered at a point in the definition where the only legal use of | |
| 16550 | ']' is to close the character class definition as part of a '])', you | |
| 16551 | may have forgotten the close paren, or otherwise confused the parser. | |
| 16552 | ||
| 16553 | =end original | |
| 16554 | ||
| 16555 | (F) 拡張文字クラスのパース中、'])' の一部として文字クラス定義を | |
| 16556 | 閉じることが唯一の有効な ']' の使い方である位置で ']' に遭遇しました; | |
| 16557 | 閉じかっこを忘れているか、さもなければパーサが混乱しています。 | |
| 16558 | ||
| 16559 | =item Unexpected '(' with no preceding operator in regex; marked by | |
| 16560 | S<<-- HERE> in m/%s/ | |
| 16561 | ||
| 16562 | =begin original | |
| 16563 | ||
| 16564 | (F) You had something like this: | |
| 16565 | ||
| 16566 | =end original | |
| 16567 | ||
| 16568 | (F) 以下のようなものを書きました: | |
| 16569 | ||
| 16570 | (?[ \p{Digit} ( \p{Lao} + \p{Thai} ) ]) | |
| 16571 | ||
| 16572 | =begin original | |
| 16573 | ||
| 16574 | There should be an operator before the C<"(">, as there's | |
| 16575 | no indication as to how the digits are to be combined | |
| 16576 | with the characters in the Lao and Thai scripts. | |
| 16577 | ||
| 16578 | =end original | |
| 16579 | ||
| 16580 | これらは C<"("> の前の演算子であるべきです; ラオ語やタイ語で数字とこれらの | |
| 16581 | 文字がどのように結びつくかの指示がないからです。 | |
| 16582 | ||
| 16583 | =item Unicode non-character U+%X is not recommended for open interchange | |
| 16584 | ||
| 16585 | =begin original | |
| 16586 | ||
| 16587 | (S nonchar) Certain codepoints, such as U+FFFE and U+FFFF, are | |
| 16588 | defined by the Unicode standard to be non-characters. Those | |
| 16589 | are legal codepoints, but are reserved for internal use; so, | |
| 16590 | applications shouldn't attempt to exchange them. An application | |
| 16591 | may not be expecting any of these characters at all, and receiving | |
| 16592 | them may lead to bugs. If you know what you are doing you can | |
| 16593 | turn off this warning by C<no warnings 'nonchar';>. | |
| 16594 | ||
| 16595 | =end original | |
| 16596 | ||
| 16597 | (S nonchar) U+FFFE や U+FFFF のようないくつかの符号位置は | |
| 11764 | 16598 | Unicode 標準によって非文字として指定されています。 |
| 11765 | 16599 | これらは有効な符号位置ですが、内部使用のために予約されています; 従って、 |
| 11766 | 16600 | アプリケーションはこれを交換しようとするべきではありません。 |
| 16601 | アプリケーションは、これらの文字を想定するべきではなく、これらを | |
| 16602 | 受け取るとバグを引き起こすことがあります。 | |
| 11767 | 16603 | もし自分が何をしているかを理解しているなら、C<no warnings 'nonchar';> で |
| 11768 | 16604 | 警告を無効にできます。 |
| 11769 | 16605 | |
| 16606 | =begin original | |
| 16607 | ||
| 16608 | This is not really a "severe" error, but it is supposed to be | |
| 16609 | raised by default even if warnings are not enabled, and currently | |
| 16610 | the only way to do that in Perl is to mark it as serious. | |
| 16611 | ||
| 16612 | =end original | |
| 16613 | ||
| 16614 | これは実際には「重大な」エラーではありませんが、例え警告が有効でなくても | |
| 16615 | デフォルトで発生させることになっていて、今のところ Perl で出来る唯一のことは | |
| 16616 | これを重大なものとして扱うことです。 | |
| 16617 | ||
| 16618 | =item Unicode property wildcard not terminated | |
| 16619 | ||
| 16620 | =begin original | |
| 16621 | ||
| 16622 | (F) A Unicode property wildcard looks like a delimited regular | |
| 16623 | expression pattern (all within the braces of the enclosing C<\p{...}>. | |
| 16624 | The closing delimtter to match the opening one was not found. If the | |
| 16625 | opening one is escaped by preceding it with a backslash, the closing one | |
| 16626 | must also be so escaped. | |
| 16627 | ||
| 16628 | =end original | |
| 16629 | ||
| 16630 | (F) Unicode 特性ワイルドカードは区切られた正規表現パターン | |
| 16631 | (C<\p{...}> を囲む中かっこの中に全てがある) のように見えます。 | |
| 16632 | 開き区切り文字に対応する閉じ区切り文字が見つかりませんでした。 | |
| 16633 | 前に逆スラッシュを置くことで開き文字がエスケープされている場合、 | |
| 16634 | 閉じ文字もエスケープされていなければなりません。 | |
| 16635 | ||
| 16636 | =item Unicode string properties are not implemented in (?[...]) in | |
| 16637 | regex; marked by <-- HERE in m/%s/ | |
| 16638 | ||
| 16639 | =begin original | |
| 16640 | ||
| 16641 | (F) A Unicode string property is one which expands to a sequence of | |
| 16642 | multiple characters. An example is C<\p{name=KATAKANA LETTER AINU P}>, | |
| 16643 | which consists of the sequence C<\N{KATAKANA LETTER SMALL H}> | |
| 16644 | followed by C<\N{COMBINING KATAKANA-HIRAGANA SEMI-VOICED SOUND MARK}>. | |
| 16645 | Extended character classes, C<(?[...])> currently cannot handle these. | |
| 16646 | ||
| 16647 | =end original | |
| 16648 | ||
| 16649 | (F) A Unicode 文字列特性は、複数の文字の並びに拡張するものです。 | |
| 16650 | 例は C<\p{name=KATAKANA LETTER AINU P}> で、これは | |
| 16651 | C<\N{KATAKANA LETTER SMALL H}> に | |
| 16652 | C<\N{COMBINING KATAKANA-HIRAGANA SEMI-VOICED SOUND MARK}> が引き続く | |
| 16653 | 並びからなります。 | |
| 16654 | 拡張文字クラス C<(?[...])> は現在の所これらを扱えません。 | |
| 16655 | ||
| 11770 | 16656 | =item Unicode surrogate U+%X is illegal in UTF-8 |
| 11771 | 16657 | |
| 11772 | 16658 | =begin original |
| 11773 | 16659 | |
| 11774 | ( | |
| 16660 | (S surrogate) You had a UTF-16 surrogate in a context where they are | |
| 11775 | 16661 | not considered acceptable. These code points, between U+D800 and |
| 11776 | 16662 | U+DFFF (inclusive), are used by Unicode only for UTF-16. However, Perl |
| 11777 | 16663 | internally allows all unsigned integer code points (up to the size limit |
| 11778 | 16664 | available on your platform), including surrogates. But these can cause |
| 11779 | 16665 | problems when being input or output, which is likely where this message |
| 11780 | 16666 | came from. If you really really know what you are doing you can turn |
| 11781 | 16667 | off this warning by C<no warnings 'surrogate';>. |
| 11782 | 16668 | |
| 11783 | 16669 | =end original |
| 11784 | 16670 | |
| 11785 | ( | |
| 16671 | (S surrogate) 受け付けられないと考えられる場所に UTF-16 サロゲートを | |
| 11786 | 16672 | 使いました。 |
| 11787 | 16673 | これらの符号位置、U+D800 から U+DFFF (両端含む) は UTF-16 のためだけに |
| 11788 | 16674 | Unicode によって使われます。 |
| 11789 | 16675 | しかし Perl は、サロゲートを含む、内部で全ての符号なし整数の符号位置(最大値は |
| 11790 | 16676 | プラットフォームで利用可能なサイズ上限)を受け付けます。 |
| 11791 | 16677 | しかし、これらは入力や出力になるときに問題を引き起こします; それは |
| 11792 | 16678 | おそらくこのメッセージが出た場所です。 |
| 11793 | 16679 | 自分で何をしているのかが本当に本当に分かっているなら、 |
| 11794 | 16680 | C<no warnings 'surrogate';> とすることでこの警告をオフにできます。 |
| 11795 | 16681 | |
| 11796 | =item Un | |
| 16682 | =item Unimplemented | |
| 11797 | 16683 | |
| 11798 | 16684 | =begin original |
| 11799 | 16685 | |
| 11800 | (F) | |
| 16686 | (F) In Perl 5.12 and above, you have executed an | |
| 11801 | ||
| 16687 | L<ellipsis statement|perlsyn/"The Ellipsis Statement">. This is a | |
| 16688 | bare C<...;>, meant to be used to allow you to outline code that | |
| 16689 | is to be written, but is not complete, similar to the following: | |
| 11802 | 16690 | |
| 11803 | 16691 | =end original |
| 11804 | 16692 | |
| 11805 | (F) | |
| 16693 | (F) Perl 5.12 以降で、 | |
| 16694 | L<省略文|perlsyn/"The Ellipsis Statement"> を実行しました。 | |
| 16695 | これは生の C<...;> です; | |
| 16696 | これによって、次のように、書かれる必要があるが完全ではない | |
| 16697 | コードの概要を書けるようになります: | |
| 11806 | 16698 | |
| 16699 | sub not_done_yet { | |
| 16700 | my($self, $arg1, $arg2) = @_; | |
| 16701 | ... | |
| 16702 | } | |
| 16703 | ||
| 16704 | =begin original | |
| 16705 | ||
| 16706 | If C<not_done_yet()> is called, Perl will die with an C<Unimplemented> error | |
| 16707 | at the line containing C<...>. | |
| 16708 | ||
| 16709 | =end original | |
| 16710 | ||
| 16711 | C<not_done_yet()> が呼び出されると、Perl は C<...> を含む行で | |
| 16712 | C<Unimplemented> エラーで die します。 | |
| 16713 | ||
| 16714 | =item Unknown charname '%s' | |
| 16715 | ||
| 16716 | =begin original | |
| 16717 | ||
| 16718 | (F) The name you used inside C<\N{}> is unknown to Perl. Check the | |
| 16719 | spelling. You can say C<use charnames ":loose"> to not have to be | |
| 16720 | so precise about spaces, hyphens, and capitalization on standard Unicode | |
| 16721 | names. (Any custom aliases that have been created must be specified | |
| 16722 | exactly, regardless of whether C<:loose> is used or not.) This error may | |
| 16723 | also happen if the C<\N{}> is not in the scope of the corresponding | |
| 16724 | C<S<use charnames>>. | |
| 16725 | ||
| 16726 | =end original | |
| 16727 | ||
| 16728 | (F) C<\N{}> の内側で使った名前は Perl が知らないものでした。 | |
| 16729 | 綴りを確認してください。 | |
| 16730 | C<use charnames ":loose"> と指定することで、標準 Unicode 名の空白、ハイフン、 | |
| 16731 | 大文字小文字についてはそれほど正確でなくてもいいようになります。 | |
| 16732 | (作成されたカスタム別名は、C<:loose> のありなしに関わらず正確に | |
| 16733 | 指定されなければなりません。) | |
| 16734 | このエラーは、C<\N{}> が、対応する C<S<use charnames>> のスコープ内に | |
| 16735 | ないときにも起こることがあります。 | |
| 16736 | ||
| 16737 | =item Unknown '(*...)' construct '%s' in regex; marked by <-- HERE in m/%s/ | |
| 16738 | ||
| 16739 | =begin original | |
| 16740 | ||
| 16741 | (F) The C<(*> was followed by something that the regular expression | |
| 16742 | compiler does not recognize. Check your spelling. | |
| 16743 | ||
| 16744 | =end original | |
| 16745 | ||
| 16746 | (F) C<(*> に、何か正規表現コンパイラが理解できないものが | |
| 16747 | 引き続いていました。 | |
| 16748 | 綴りを確認してください。 | |
| 16749 | ||
| 11807 | 16750 | =item Unknown error |
| 11808 | 16751 | |
| 11809 | 16752 | =begin original |
| 11810 | 16753 | |
| 11811 | 16754 | (P) Perl was about to print an error message in C<$@>, but the C<$@> variable |
| 11812 | 16755 | did not exist, even after an attempt to create it. |
| 11813 | 16756 | |
| 11814 | 16757 | =end original |
| 11815 | 16758 | |
| 11816 | 16759 | (P) Perl は C<$@> のエラーメッセージを表示しようとしましたが、C<$@> 変数が |
| 11817 | 16760 | (たとえ作ろうとした後でも) 存在しませんでした。 |
| 11818 | 16761 | |
| 16762 | =item Unknown locale category %d | |
| 16763 | ||
| 16764 | =item Unknown locale category %d; can't set it to %s | |
| 16765 | ||
| 16766 | =begin original | |
| 16767 | ||
| 16768 | (W locale) You used a locale category that perl doesn't recognize, so it | |
| 16769 | cannot carry out your request. Check that you are using a valid | |
| 16770 | category. If so, see L<perllocale/Multi-threaded> for advice on | |
| 16771 | reporting this as a bug, and for modifying perl locally to accommodate | |
| 16772 | your needs. | |
| 16773 | ||
| 16774 | =end original | |
| 16775 | ||
| 16776 | (W locale) perl が認識できないロケールカテゴリを使ったので、 | |
| 16777 | 要求を実行することができません。 | |
| 16778 | 正しいカテゴリを使っているかチェックしてください。 | |
| 16779 | もしそうなら、これをバグとして報告する助言や、必要性に対応するために | |
| 16780 | perl をローカルで修正する方法について L<perllocale/Multi-threaded> を | |
| 16781 | 参照してください。 | |
| 16782 | ||
| 11819 | 16783 | =item Unknown open() mode '%s' |
| 11820 | 16784 | |
| 11821 | 16785 | =begin original |
| 11822 | 16786 | |
| 11823 | 16787 | (F) The second argument of 3-argument open() is not among the list |
| 11824 | 16788 | of valid modes: C<< < >>, C<< > >>, C<<< >> >>>, C<< +< >>, |
| 11825 | 16789 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|->, C<< <& >>, C<< >& >>. |
| 11826 | 16790 | |
| 11827 | 16791 | =end original |
| 11828 | 16792 | |
| 11829 | 16793 | (F) 3 引数 open() の 第 2 引数が以下の有効なモードの |
| 11830 | 16794 | どれでもありませんでした: |
| 11831 | 16795 | C<< < >>, C<< > >>, C<<< >> >>>, C<< +< >>, |
| 11832 | 16796 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|->, C<< <& >>, C<< >& >> |
| 11833 | 16797 | |
| 11834 | 16798 | =item Unknown PerlIO layer "%s" |
| 11835 | 16799 | |
| 11836 | 16800 | =begin original |
| 11837 | 16801 | |
| 11838 | 16802 | (W layer) An attempt was made to push an unknown layer onto the Perl I/O |
| 11839 | 16803 | system. (Layers take care of transforming data between external and |
| 11840 | 16804 | internal representations.) Note that some layers, such as C<mmap>, |
| 11841 | 16805 | are not supported in all environments. If your program didn't |
| 11842 | 16806 | explicitly request the failing operation, it may be the result of the |
| 11843 | 16807 | value of the environment variable PERLIO. |
| 11844 | 16808 | |
| 11845 | 16809 | =end original |
| 11846 | 16810 | |
| 11847 | 16811 | (W layer) 不明な層をPerl I/O システムに追加しようとしました。 |
| 11848 | 16812 | (層はデータの外部表現と内部表現の変換を扱います。) |
| 11849 | 16813 | C<mmap> のような層は、全ての環境で対応しているわけではないことに |
| 11850 | 16814 | 注意してください。 |
| 11851 | 16815 | 明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の |
| 11852 | 16816 | 値が原因かもしれません。 |
| 11853 | 16817 | |
| 11854 | 16818 | =item Unknown process %x sent message to prime_env_iter: %s |
| 11855 | 16819 | |
| 11856 | 16820 | =begin original |
| 11857 | 16821 | |
| 11858 | 16822 | (P) An error peculiar to VMS. Perl was reading values for %ENV before |
| 11859 | 16823 | iterating over it, and someone else stuck a message in the stream of |
| 11860 | 16824 | data Perl expected. Someone's very confused, or perhaps trying to |
| 11861 | 16825 | subvert Perl's population of %ENV for nefarious purposes. |
| 11862 | 16826 | |
| 11863 | 16827 | =end original |
| 11864 | 16828 | |
| 11865 | 16829 | (P) VMS に固有のエラーです。 |
| 11866 | 16830 | Perl は %ENV を反復する前に %ENV から値を読み込み、Perl が想定している |
| 11867 | 16831 | データストリームの中に誰かがメッセージを差し込みました。 |
| 11868 | 16832 | 誰かはとても混乱しているか、邪悪な目的のために %ENV の Perl の集団を |
| 11869 | 16833 | 滅亡させようとしています。 |
| 11870 | 16834 | |
| 16835 | =item Unknown regexp modifier "/%s" | |
| 16836 | ||
| 16837 | =begin original | |
| 16838 | ||
| 16839 | (F) Alphanumerics immediately following the closing delimiter | |
| 16840 | of a regular expression pattern are interpreted by Perl as modifier | |
| 16841 | flags for the regex. One of the ones you specified is invalid. One way | |
| 16842 | this can happen is if you didn't put in white space between the end of | |
| 16843 | the regex and a following alphanumeric operator: | |
| 16844 | ||
| 16845 | =end original | |
| 16846 | ||
| 16847 | (F) 正規表現で、閉じデリミタの直後の英数字は Perl によって正規表現への | |
| 16848 | 修飾子フラグと解釈されます。 | |
| 16849 | その一つが不正でした。 | |
| 16850 | これが起きる一つの可能性は、正規表現の終わりと引き続く英数字演算子の間に | |
| 16851 | 空白を置いていない場合です: | |
| 16852 | ||
| 16853 | if ($x =~ /foo/and $bar == 3) { ... } | |
| 16854 | ||
| 16855 | =begin original | |
| 16856 | ||
| 16857 | The C<"a"> is a valid modifier flag, but the C<"n"> is not, and raises | |
| 16858 | this error. Likely what was meant instead was: | |
| 16859 | ||
| 16860 | =end original | |
| 16861 | ||
| 16862 | C<"a"> は正当な修飾子フラグですが、C<"n"> は違うので、このエラーが起こります。 | |
| 16863 | おそらくしたかったのは以下のようなことでしょう: | |
| 16864 | ||
| 16865 | if ($x =~ /foo/ and $bar == 3) { ... } | |
| 16866 | ||
| 11871 | 16867 | =item Unknown "re" subpragma '%s' (known ones are: %s) |
| 11872 | 16868 | |
| 11873 | 16869 | =begin original |
| 11874 | 16870 | |
| 11875 | 16871 | (W) You tried to use an unknown subpragma of the "re" pragma. |
| 11876 | 16872 | |
| 11877 | 16873 | =end original |
| 11878 | 16874 | |
| 11879 | 16875 | (W) "re" プラグマの、不明なサブプラグマを使おうとしました。 |
| 11880 | 16876 | |
| 11881 | =item Unknown switch condition (?( | |
| 16877 | =item Unknown switch condition (?(...)) in regex; marked by S<<-- HERE> in | |
| 16878 | m/%s/ | |
| 11882 | 16879 | |
| 11883 | 16880 | =begin original |
| 11884 | 16881 | |
| 11885 | 16882 | (F) The condition part of a (?(condition)if-clause|else-clause) construct |
| 11886 | 16883 | is not known. The condition must be one of the following: |
| 11887 | 16884 | |
| 11888 | 16885 | =end original |
| 11889 | 16886 | |
| 11890 | ( | |
| 16887 | (?(...)if-clause|else-clause) 構造の条件部が不明です。 | |
| 11891 | 条件は以下の | |
| 16888 | 条件は以下のいずれかでなければなりません。 | |
| 11892 | 16889 | |
| 11893 | (1) (2) ... true if 1st, 2nd, etc., capture matched | |
| 16890 | (1) (2) ... true if 1st, 2nd, etc., capture matched | |
| 11894 | (<NAME>) ('NAME') true if named capture matched | |
| 16891 | (<NAME>) ('NAME') true if named capture matched | |
| 11895 | (?=...) (?<=...) true if subpattern matches | |
| 16892 | (?=...) (?<=...) true if subpattern matches | |
| 11896 | ( | |
| 16893 | (*pla:...) (*plb:...) true if subpattern matches; also | |
| 11897 | | |
| 16894 | (*positive_lookahead:...) | |
| 11898 | | |
| 16895 | (*positive_lookbehind:...) | |
| 11899 | ( | |
| 16896 | (*nla:...) (*nlb:...) true if subpattern fails to match; also | |
| 11900 | | |
| 16897 | (*negative_lookahead:...) | |
| 11901 | | |
| 16898 | (*negative_lookbehind:...) | |
| 16899 | (?{ CODE }) true if code returns a true value | |
| 16900 | (R) true if evaluating inside recursion | |
| 16901 | (R1) (R2) ... true if directly inside capture group 1, 2, | |
| 16902 | etc. | |
| 16903 | (R&NAME) true if directly inside named capture | |
| 16904 | (DEFINE) always false; for defining named subpatterns | |
| 11902 | 16905 | |
| 11903 | 16906 | =begin original |
| 11904 | 16907 | |
| 11905 | The <-- HERE shows in the regular expression | |
| 16908 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
| 11906 | 16909 | discovered. See L<perlre>. |
| 11907 | 16910 | |
| 11908 | 16911 | =end original |
| 11909 | 16912 | |
| 11910 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 16913 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 11911 | 16914 | L<perlre> を参照してください。 |
| 11912 | 16915 | |
| 11913 | 16916 | =item Unknown Unicode option letter '%c' |
| 11914 | 16917 | |
| 11915 | 16918 | =begin original |
| 11916 | 16919 | |
| 11917 | (F) You specified an unknown Unicode option. See | |
| 16920 | (F) You specified an unknown Unicode option. See | |
| 11918 | ||
| 16921 | L<perlrun|perlrun/-C [numberE<sol>list]> documentation of the C<-C> switch | |
| 16922 | for the list of known options. | |
| 11919 | 16923 | |
| 11920 | 16924 | =end original |
| 11921 | 16925 | |
| 11922 | 16926 | (F) 不明な Unicode オプションを指定しました。 |
| 11923 | オプションの一覧については、L<perlrun | |
| 16927 | オプションの一覧については、L<perlrun|perlrun/-C [numberE<sol>list]> 文書の | |
| 11924 | 参照してください。 | |
| 16928 | C<-C> オプションを参照してください。 | |
| 11925 | 16929 | |
| 11926 | =item Unknown Unicode option value % | |
| 16930 | =item Unknown Unicode option value %d | |
| 11927 | 16931 | |
| 11928 | 16932 | =begin original |
| 11929 | 16933 | |
| 11930 | (F) You specified an unknown Unicode option. See | |
| 16934 | (F) You specified an unknown Unicode option. See | |
| 11931 | ||
| 16935 | L<perlrun|perlrun/-C [numberE<sol>list]> documentation of the C<-C> switch | |
| 16936 | for the list of known options. | |
| 11932 | 16937 | |
| 11933 | 16938 | =end original |
| 11934 | 16939 | |
| 11935 | 16940 | (F) 不明な Unicode オプションを指定しました。 |
| 11936 | オプションの一覧については、L<perlrun | |
| 16941 | オプションの一覧については、L<perlrun|perlrun/-C [numberE<sol>list]> 文書の | |
| 11937 | 参照してください。 | |
| 16942 | C<-C> オプションを参照してください。 | |
| 11938 | 16943 | |
| 11939 | =item Unknown | |
| 16944 | =item Unknown user-defined property name \p{%s} | |
| 11940 | 16945 | |
| 11941 | 16946 | =begin original |
| 11942 | 16947 | |
| 16948 | (F) You specified to use a property within the C<\p{...}> which was a | |
| 16949 | syntactically valid user-defined property, but no definition was found | |
| 16950 | for it by the time one was required to proceed. Check your spelling. | |
| 16951 | See L<perlunicode/User-Defined Character Properties>. | |
| 16952 | ||
| 16953 | =end original | |
| 16954 | ||
| 16955 | (F) 文法的に正当なユーザー定義特性である C<\p{...}> の中で特性を使うように | |
| 16956 | 指定しましたが、進行するためにこれが必要な必要な時点までに、 | |
| 16957 | このための定義が見つかりませんでした。 | |
| 16958 | 綴りを確認してください。 | |
| 16959 | L<perlunicode/User-Defined Character Properties> を参照してください。 | |
| 16960 | ||
| 16961 | =item Unknown verb pattern '%s' in regex; marked by S<<-- HERE> in m/%s/ | |
| 16962 | ||
| 16963 | =begin original | |
| 16964 | ||
| 11943 | 16965 | (F) You either made a typo or have incorrectly put a C<*> quantifier |
| 11944 | 16966 | after an open brace in your pattern. Check the pattern and review |
| 11945 | 16967 | L<perlre> for details on legal verb patterns. |
| 11946 | 16968 | |
| 11947 | 16969 | =end original |
| 11948 | 16970 | |
| 11949 | 16971 | (F) タイプミスをしたか、間違ってパターン中の開き大かっこの後に |
| 11950 | 16972 | C<*> 量指定子を書いたかどちらかです。 |
| 11951 | 16973 | パターンをチェックして、有効な動詞パターンの詳細については |
| 11952 | 16974 | L<perlre> を再チェックしてください。 |
| 11953 | 16975 | |
| 11954 | 16976 | =item Unknown warnings category '%s' |
| 11955 | 16977 | |
| 11956 | 16978 | =begin original |
| 11957 | 16979 | |
| 11958 | 16980 | (F) An error issued by the C<warnings> pragma. You specified a warnings |
| 11959 | 16981 | category that is unknown to perl at this point. |
| 11960 | 16982 | |
| 11961 | 16983 | =end original |
| 11962 | 16984 | |
| 11963 | 16985 | (F) C<warnings> プラグマによるエラーです。 |
| 11964 | 16986 | 現在のところ perl が知らない警告カテゴリを指定しました。 |
| 11965 | 16987 | |
| 11966 | 16988 | =begin original |
| 11967 | 16989 | |
| 11968 | 16990 | Note that if you want to enable a warnings category registered by a |
| 11969 | 16991 | module (e.g. C<use warnings 'File::Find'>), you must have loaded this |
| 11970 | 16992 | module first. |
| 11971 | 16993 | |
| 11972 | 16994 | =end original |
| 11973 | 16995 | |
| 11974 | 16996 | (C<use warnings 'File::Find'> のように)モジュールによって登録される |
| 11975 | 16997 | 警告カテゴリを有効にしたい場合、このモジュールを先に読み込む必要が |
| 11976 | 16998 | あることに注意してください。 |
| 11977 | 16999 | |
| 11978 | =item | |
| 17000 | =item Unmatched [ in regex; marked by S<<-- HERE> in m/%s/ | |
| 11979 | 17001 | |
| 11980 | 17002 | =begin original |
| 11981 | 17003 | |
| 11982 | 17004 | (F) The brackets around a character class must match. If you wish to |
| 11983 | 17005 | include a closing bracket in a character class, backslash it or put it |
| 11984 | first. The <-- HERE shows in the regular expression | |
| 17006 | first. The S<<-- HERE> shows whereabouts in the regular expression the | |
| 11985 | 17007 | problem was discovered. See L<perlre>. |
| 11986 | 17008 | |
| 11987 | 17009 | =end original |
| 11988 | 17010 | |
| 11989 | 17011 | (F) 文字クラスの周りの大かっこが一致していません。 |
| 11990 | 17012 | 文字クラスに閉じ大かっこを含めたい場合は、バックスラッシュをつけるか |
| 11991 | 17013 | 先頭に置いてください。 |
| 11992 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 17014 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 11993 | 17015 | L<perlre> を参照してください。 |
| 11994 | 17016 | |
| 11995 | =item | |
| 17017 | =item Unmatched ( in regex; marked by S<<-- HERE> in m/%s/ | |
| 11996 | 17018 | |
| 17019 | =item Unmatched ) in regex; marked by S<<-- HERE> in m/%s/ | |
| 17020 | ||
| 11997 | 17021 | =begin original |
| 11998 | 17022 | |
| 11999 | 17023 | (F) Unbackslashed parentheses must always be balanced in regular |
| 12000 | 17024 | expressions. If you're a vi user, the % key is valuable for finding |
| 12001 | the matching parenthesis. The <-- HERE shows | |
| 17025 | the matching parenthesis. The S<<-- HERE> shows whereabouts in the | |
| 12002 | ||
| 17026 | regular expression the problem was discovered. See L<perlre>. | |
| 12003 | 17027 | |
| 12004 | 17028 | =end original |
| 12005 | 17029 | |
| 12006 | 17030 | (F) 正規表現の中ではバックスラッシュのついていないかっこは常に |
| 12007 | 17031 | 対応していなければなりません。 |
| 12008 | 17032 | vi ユーザーであれば、% キーが対応するかっこの発見に有用です。 |
| 12009 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 17033 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 12010 | 17034 | L<perlre> を参照してください。 |
| 12011 | 17035 | |
| 12012 | 17036 | =item Unmatched right %s bracket |
| 12013 | 17037 | |
| 12014 | 17038 | =begin original |
| 12015 | 17039 | |
| 12016 | 17040 | (F) The lexer counted more closing curly or square brackets than opening |
| 12017 | 17041 | ones, so you're probably missing a matching opening bracket. As a |
| 12018 | 17042 | general rule, you'll find the missing one (so to speak) near the place |
| 12019 | 17043 | you were last editing. |
| 12020 | 17044 | |
| 12021 | 17045 | =end original |
| 12022 | 17046 | |
| 12023 | 17047 | (F) 文法解析器が、閉じ中かっこや大かっこが開きかっこよりも多いことを |
| 12024 | 17048 | 見つけました; おそらく対応する開きかっこを忘れたのでしょう。 |
| 12025 | 17049 | 一般的な規則として、忘れたかっこ(そう呼ぶなら)はあなたが最後に編集した |
| 12026 | 17050 | 場所の近くにあります。 |
| 12027 | 17051 | |
| 12028 | 17052 | =item Unquoted string "%s" may clash with future reserved word |
| 12029 | 17053 | |
| 12030 | 17054 | =begin original |
| 12031 | 17055 | |
| 12032 | 17056 | (W reserved) You used a bareword that might someday be claimed as a |
| 12033 | 17057 | reserved word. It's best to put such a word in quotes, or capitalize it |
| 12034 | 17058 | somehow, or insert an underbar into it. You might also declare it as a |
| 12035 | 17059 | subroutine. |
| 12036 | 17060 | |
| 12037 | 17061 | =end original |
| 12038 | 17062 | |
| 12039 | 17063 | (W) いつの日にか、予約語とかち合うかもしれない、裸の単語を使用しています。 |
| 12040 | 17064 | そのような単語は、クォートするか、大文字を入れるか、アンダーバー (_) を |
| 12041 | 17065 | いれるかしてください。 |
| 12042 | 17066 | その裸の単語は、サブルーチンとして宣言することも可能です。 |
| 12043 | 17067 | |
| 12044 | =item Unrecognized character %s; marked by <-- HERE after %s near column | |
| 17068 | =item Unrecognized character %s; marked by S<<-- HERE> after %s near column | |
| 17069 | %d | |
| 12045 | 17070 | |
| 12046 | 17071 | =begin original |
| 12047 | 17072 | |
| 12048 | 17073 | (F) The Perl parser has no idea what to do with the specified character |
| 12049 | in your Perl script (or eval) near the specified column. Perhaps you | |
| 17074 | in your Perl script (or eval) near the specified column. Perhaps you | |
| 12050 | to run a compressed script, a binary program, or a directory as | |
| 17075 | tried to run a compressed script, a binary program, or a directory as | |
| 17076 | a Perl program. | |
| 12051 | 17077 | |
| 12052 | 17078 | =end original |
| 12053 | 17079 | |
| 12054 | 17080 | (F) Perl パーサーは、Perl スクリプト(または eval) で指定された桁数あたりに |
| 12055 | 17081 | 出てきた文字に対してどうすればよいか分かりませんでした。 |
| 12056 | 17082 | おそらく圧縮したスクリプト、バイナリプログラム、ディレクトリといったものを |
| 12057 | 17083 | Perl プログラムとして実行しようとしたのでしょう。 |
| 12058 | 17084 | |
| 12059 | =item Unrecognized | |
| 17085 | =item Unrecognized class attribute %s | |
| 12060 | 17086 | |
| 12061 | 17087 | =begin original |
| 12062 | 17088 | |
| 17089 | (F) You attempted to add a named attribute to a C<class> definition, but | |
| 17090 | perl does not recognise the name of the requested attribute. | |
| 17091 | ||
| 17092 | =end original | |
| 17093 | ||
| 17094 | (F) C<class> 定義に名前付きの属性を追加しようとしましたが、 | |
| 17095 | perl は要求された属性の名前を認識できませんでした。 | |
| 17096 | ||
| 17097 | =item Unrecognized escape \%c in character class in regex; marked by | |
| 17098 | S<<-- HERE> in m/%s/ | |
| 17099 | ||
| 17100 | =begin original | |
| 17101 | ||
| 17102 | (F) You used a backslash-character combination which is not | |
| 17103 | recognized by Perl inside character classes. This is a fatal | |
| 17104 | error when the character class is used within C<(?[ ])>. | |
| 17105 | ||
| 17106 | =end original | |
| 17107 | ||
| 17108 | (F) Perl の内部文字クラスとして認識されない逆スラッシュ文字並びを使いました。 | |
| 17109 | これは文字クラスが C<(?[ ])> の中で使われた時は致命的エラーです。 | |
| 17110 | ||
| 17111 | =item Unrecognized escape \%c in character class passed through in regex; | |
| 17112 | marked by S<<-- HERE> in m/%s/ | |
| 17113 | ||
| 17114 | =begin original | |
| 17115 | ||
| 12063 | 17116 | (W regexp) You used a backslash-character combination which is not |
| 12064 | 17117 | recognized by Perl inside character classes. The character was |
| 12065 | 17118 | understood literally, but this may change in a future version of Perl. |
| 12066 | The <-- HERE shows in the regular expression | |
| 17119 | The S<<-- HERE> shows whereabouts in the regular expression the | |
| 12067 | 17120 | escape was discovered. |
| 12068 | 17121 | |
| 12069 | 17122 | =end original |
| 12070 | 17123 | |
| 12071 | 17124 | (W regexp) Perl 内部文字クラスで認識できない、バックスラッシュ-文字の |
| 12072 | 17125 | 組み合わせを使いました。 |
| 12073 | 17126 | 文字はリテラルに処理されますが、将来のバージョンの Perl では |
| 12074 | 17127 | 変更されるかもしれません。 |
| 12075 | <-- HERE で正規表現のどこにエスケープが発見されたかを示しています。 | |
| 17128 | S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。 | |
| 12076 | 17129 | |
| 12077 | 17130 | =item Unrecognized escape \%c passed through |
| 12078 | 17131 | |
| 12079 | 17132 | =begin original |
| 12080 | 17133 | |
| 12081 | 17134 | (W misc) You used a backslash-character combination which is not |
| 12082 | 17135 | recognized by Perl. The character was understood literally, but this may |
| 12083 | 17136 | change in a future version of Perl. |
| 12084 | 17137 | |
| 12085 | 17138 | =end original |
| 12086 | 17139 | |
| 12087 | 17140 | (W misc) Perl が理解できないバックスラッシュ-文字の組み合わせが |
| 12088 | 17141 | 使われています。 |
| 12089 | 17142 | 文字はリテラルに処理されますが、将来のバージョンの Perl では |
| 12090 | 17143 | 変更されるかもしれません。 |
| 12091 | 17144 | |
| 12092 | =item Unrecognized escape \%s passed through in regex; marked by | |
| 17145 | =item Unrecognized escape \%s passed through in regex; marked by | |
| 17146 | S<<-- HERE> in m/%s/ | |
| 12093 | 17147 | |
| 12094 | 17148 | =begin original |
| 12095 | 17149 | |
| 12096 | 17150 | (W regexp) You used a backslash-character combination which is not |
| 12097 | 17151 | recognized by Perl. The character(s) were understood literally, but |
| 12098 | this may change in a future version of Perl. The <-- HERE shows | |
| 17152 | this may change in a future version of Perl. The S<<-- HERE> shows | |
| 12099 | the regular expression | |
| 17153 | whereabouts in the regular expression the escape was discovered. | |
| 12100 | 17154 | |
| 12101 | 17155 | =end original |
| 12102 | 17156 | |
| 12103 | 17157 | (W regexp) Perl が認識できない、バックスラッシュ-文字の組み合わせが |
| 12104 | 17158 | 使われています。 |
| 12105 | 17159 | 文字はリテラルに処理されますが、将来のバージョンの Perl では |
| 12106 | 17160 | 変更されるかもしれません。 |
| 12107 | <-- HERE で正規表現のどこにエスケープが発見されたかを示しています。 | |
| 17161 | S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。 | |
| 12108 | 17162 | |
| 17163 | =item Unrecognized field attribute %s | |
| 17164 | ||
| 17165 | =begin original | |
| 17166 | ||
| 17167 | (F) You attempted to add a named attribute to a C<field> definition, but | |
| 17168 | perl does not recognise the name of the requested attribute. | |
| 17169 | ||
| 17170 | =end original | |
| 17171 | ||
| 17172 | (F) C<class> 定義に名前付きの属性を追加しようとしましたが、 | |
| 17173 | perl は要求された属性の名前を認識できませんでした。 | |
| 17174 | ||
| 17175 | =item Unrecognised parameters for "%s" constructor: %s | |
| 17176 | ||
| 17177 | =begin original | |
| 17178 | ||
| 17179 | (F) You called new on a class but supplied a parameter name that | |
| 17180 | didn't match a class field name. | |
| 17181 | ||
| 17182 | =end original | |
| 17183 | ||
| 17184 | (F) クラスに対して new を呼び出しましたが、クラスのフィールド名と | |
| 17185 | 一致しないパラメータ名を指定しました。 | |
| 17186 | ||
| 12109 | 17187 | =item Unrecognized signal name "%s" |
| 12110 | 17188 | |
| 12111 | 17189 | =begin original |
| 12112 | 17190 | |
| 12113 | 17191 | (F) You specified a signal name to the kill() function that was not |
| 12114 | 17192 | recognized. Say C<kill -l> in your shell to see the valid signal names |
| 12115 | 17193 | on your system. |
| 12116 | 17194 | |
| 12117 | 17195 | =end original |
| 12118 | 17196 | |
| 12119 | 17197 | (F) kill() 関数に、認識できないシグナル名を指定しました。 |
| 12120 | 17198 | お使いのシステムで使用可能なシグナル名を調べるには、 |
| 12121 | 17199 | シェル上で C<kill -l> などとしてください。 |
| 12122 | 17200 | |
| 12123 | 17201 | =item Unrecognized switch: -%s (-h will show valid options) |
| 12124 | 17202 | |
| 12125 | 17203 | =begin original |
| 12126 | 17204 | |
| 12127 | 17205 | (F) You specified an illegal option to Perl. Don't do that. (If you |
| 12128 | 17206 | think you didn't do that, check the #! line to see if it's supplying the |
| 12129 | 17207 | bad switch on your behalf.) |
| 12130 | 17208 | |
| 12131 | 17209 | =end original |
| 12132 | 17210 | |
| 12133 | 17211 | (F) Perl に間違ったオプションを指定しました。 |
| 12134 | 17212 | これを行なってはいけません。 |
| 12135 | 17213 | (指定したつもりがないのであれば、#! 行に間違ったオプションが |
| 12136 | 17214 | スイッチが指定されていないかをチェックしてください。) |
| 12137 | 17215 | |
| 12138 | 17216 | =item Unsuccessful %s on filename containing newline |
| 12139 | 17217 | |
| 12140 | 17218 | =begin original |
| 12141 | 17219 | |
| 12142 | 17220 | (W newline) A file operation was attempted on a filename, and that |
| 12143 | 17221 | operation failed, PROBABLY because the filename contained a newline, |
| 12144 | 17222 | PROBABLY because you forgot to chomp() it off. See L<perlfunc/chomp>. |
| 12145 | 17223 | |
| 12146 | 17224 | =end original |
| 12147 | 17225 | |
| 12148 | 17226 | (W newline) あるファイル名に対して、ファイル操作を行ないましたが、 |
| 12149 | 17227 | 失敗しました; 「おそらく」ファイル名に改行文字がついていたからで、 |
| 12150 | 17228 | 「おそらく」 chomp() するのを忘れたのでしょう。 |
| 12151 | 17229 | L<perlfunc/chomp> を参照してください。 |
| 12152 | 17230 | |
| 12153 | 17231 | =item Unsupported directory function "%s" called |
| 12154 | 17232 | |
| 12155 | 17233 | =begin original |
| 12156 | 17234 | |
| 12157 | 17235 | (F) Your machine doesn't support opendir() and readdir(). |
| 12158 | 17236 | |
| 12159 | 17237 | =end original |
| 12160 | 17238 | |
| 12161 | 17239 | (F) このマシンでは、opendir() や readdir() がサポートされていません。 |
| 12162 | 17240 | |
| 12163 | 17241 | =item Unsupported function %s |
| 12164 | 17242 | |
| 12165 | 17243 | =begin original |
| 12166 | 17244 | |
| 12167 | 17245 | (F) This machine doesn't implement the indicated function, apparently. |
| 12168 | 17246 | At least, Configure doesn't think so. |
| 12169 | 17247 | |
| 12170 | 17248 | =end original |
| 12171 | 17249 | |
| 12172 | 17250 | (F) このマシンでは、表示した関数は実装されていません。 |
| 12173 | 17251 | 少なくとも、Configure はそう判断しました。 |
| 12174 | 17252 | |
| 12175 | 17253 | =item Unsupported function fork |
| 12176 | 17254 | |
| 12177 | 17255 | =begin original |
| 12178 | 17256 | |
| 12179 | 17257 | (F) Your version of executable does not support forking. |
| 12180 | 17258 | |
| 12181 | 17259 | =end original |
| 12182 | 17260 | |
| 12183 | 17261 | (F) この実行ファイルは fork に対応していません。 |
| 12184 | 17262 | |
| 12185 | 17263 | =begin original |
| 12186 | 17264 | |
| 12187 | 17265 | Note that under some systems, like OS/2, there may be different flavors |
| 12188 | 17266 | of Perl executables, some of which may support fork, some not. Try |
| 12189 | 17267 | changing the name you call Perl by to C<perl_>, C<perl__>, and so on. |
| 12190 | 17268 | |
| 12191 | 17269 | =end original |
| 12192 | 17270 | |
| 12193 | 17271 | OS/2 のようなシステムには、Perl 実行ファイルにいくつかの種類があり、 |
| 12194 | 17272 | fork に対応しているものとしていないものがあります。 |
| 12195 | 17273 | Perl を呼び出す時の名前を C<perl_>, C<perl__> のように |
| 12196 | 17274 | 変えてみてください。 |
| 12197 | 17275 | |
| 12198 | 17276 | =item Unsupported script encoding %s |
| 12199 | 17277 | |
| 12200 | 17278 | =begin original |
| 12201 | 17279 | |
| 12202 | 17280 | (F) Your program file begins with a Unicode Byte Order Mark (BOM) which |
| 12203 | 17281 | declares it to be in a Unicode encoding that Perl cannot read. |
| 12204 | 17282 | |
| 12205 | 17283 | =end original |
| 12206 | 17284 | |
| 12207 | 17285 | (F) プログラムファイルが、Perl が読み込めない Unicode エンコーディングを |
| 12208 | 17286 | 宣言する Unicode Byte Order Mark (BOM) で始まっています。 |
| 12209 | 17287 | |
| 12210 | 17288 | =item Unsupported socket function "%s" called |
| 12211 | 17289 | |
| 12212 | 17290 | =begin original |
| 12213 | 17291 | |
| 12214 | 17292 | (F) Your machine doesn't support the Berkeley socket mechanism, or at |
| 12215 | 17293 | least that's what Configure thought. |
| 12216 | 17294 | |
| 12217 | 17295 | =end original |
| 12218 | 17296 | |
| 12219 | 17297 | (F) このマシンでは、Berkeley ソケット機構がサポートされていないか、 |
| 12220 | 17298 | 少なくとも Configure がそう判断しました。 |
| 12221 | 17299 | |
| 17300 | =item Unterminated '(*...' argument in regex; marked by <-- HERE in m/%s/ | |
| 17301 | ||
| 17302 | =begin original | |
| 17303 | ||
| 17304 | (F) You used a pattern of the form C<(*...:...)> but did not terminate | |
| 17305 | the pattern with a C<)>. Fix the pattern and retry. | |
| 17306 | ||
| 17307 | =end original | |
| 17308 | ||
| 17309 | (F) C<(*...:...)> 形式のパターンを使いましたが、パターンが | |
| 17310 | C<)> で終端されていません。 | |
| 17311 | パターンを修正して再挑戦してください。 | |
| 17312 | ||
| 12222 | 17313 | =item Unterminated attribute list |
| 12223 | 17314 | |
| 12224 | 17315 | =begin original |
| 12225 | 17316 | |
| 12226 | 17317 | (F) The lexer found something other than a simple identifier at the |
| 12227 | 17318 | start of an attribute, and it wasn't a semicolon or the start of a |
| 12228 | 17319 | block. Perhaps you terminated the parameter list of the previous |
| 12229 | 17320 | attribute too soon. See L<attributes>. |
| 12230 | 17321 | |
| 12231 | 17322 | =end original |
| 12232 | 17323 | |
| 12233 | 17324 | (F) 字句解析器が、属性の先頭として単純な識別子やセミコロンやブロックの |
| 12234 | 17325 | 開始でないものを発見しました。 |
| 12235 | 17326 | おそらく以前の属性のパラメータリストを早く終端しすぎたのでしょう。 |
| 12236 | 17327 | L<attributes> を参照してください。 |
| 12237 | 17328 | |
| 12238 | 17329 | =item Unterminated attribute parameter in attribute list |
| 12239 | 17330 | |
| 12240 | 17331 | =begin original |
| 12241 | 17332 | |
| 12242 | 17333 | (F) The lexer saw an opening (left) parenthesis character while parsing |
| 12243 | 17334 | an attribute list, but the matching closing (right) parenthesis |
| 12244 | 17335 | character was not found. You may need to add (or remove) a backslash |
| 12245 | 17336 | character to get your parentheses to balance. See L<attributes>. |
| 12246 | 17337 | |
| 12247 | 17338 | =end original |
| 12248 | 17339 | |
| 12249 | 17340 | (F) 字句解析器が、属性リストをパースしているときに開き(左)かっこを |
| 12250 | 17341 | 発見しましたが、対応する閉じ(右)かっこが見つかりませんでした。 |
| 12251 | 17342 | かっこのバランスを取るために、バックスラッシュを追加(または削除)する |
| 12252 | 17343 | 必要があるでしょう。 |
| 12253 | 17344 | L<attributes> を参照してください。 |
| 12254 | 17345 | |
| 12255 | 17346 | =item Unterminated compressed integer |
| 12256 | 17347 | |
| 12257 | 17348 | =begin original |
| 12258 | 17349 | |
| 12259 | 17350 | (F) An argument to unpack("w",...) was incompatible with the BER |
| 12260 | 17351 | compressed integer format and could not be converted to an integer. |
| 12261 | 17352 | See L<perlfunc/pack>. |
| 12262 | 17353 | |
| 12263 | 17354 | =end original |
| 12264 | 17355 | |
| 12265 | 17356 | (F) unpack("w",...) の引数が BER 圧縮整数フォーマットと互換性がなく、 |
| 12266 | 17357 | 整数に変換できませんでした。 |
| 12267 | 17358 | L<perlfunc/pack> を参照してください。 |
| 12268 | 17359 | |
| 12269 | =item Unterminated | |
| 17360 | =item Unterminated '(*...' construct in regex; marked by <-- HERE in m/%s/ | |
| 12270 | 17361 | |
| 12271 | 17362 | =begin original |
| 12272 | 17363 | |
| 12273 | (F) You | |
| 17364 | (F) You used a pattern of the form C<(*...)> but did not terminate | |
| 12274 | ||
| 17365 | the pattern with a C<)>. Fix the pattern and retry. | |
| 12275 | 17366 | |
| 12276 | 17367 | =end original |
| 12277 | 17368 | |
| 12278 | (F) | |
| 17369 | (F) C<(*...)> 形式のパターンを使いましたが、パターンが | |
| 17370 | C<)> で終端されていません。 | |
| 12279 | 17371 | パターンを修正して再挑戦してください。 |
| 12280 | 17372 | |
| 17373 | =item Unterminated delimiter for here document | |
| 17374 | ||
| 17375 | =begin original | |
| 17376 | ||
| 17377 | (F) This message occurs when a here document label has an initial | |
| 17378 | quotation mark but the final quotation mark is missing. Perhaps | |
| 17379 | you wrote: | |
| 17380 | ||
| 17381 | =end original | |
| 17382 | ||
| 17383 | (F) このメッセージは、ヒヤドキュメントのラベルがクォートで始まっているけれども | |
| 17384 | 末尾のクォートがありません。 | |
| 17385 | おそらく以下のように書いたのでしょう: | |
| 17386 | ||
| 17387 | <<"foo | |
| 17388 | ||
| 17389 | =begin original | |
| 17390 | ||
| 17391 | instead of: | |
| 17392 | ||
| 17393 | =end original | |
| 17394 | ||
| 17395 | 次のように書いてください: | |
| 17396 | ||
| 17397 | <<"foo" | |
| 17398 | ||
| 17399 | =item Unterminated \g... pattern in regex; marked by S<<-- HERE> in m/%s/ | |
| 17400 | ||
| 17401 | =item Unterminated \g{...} pattern in regex; marked by S<<-- HERE> in m/%s/ | |
| 17402 | ||
| 17403 | =begin original | |
| 17404 | ||
| 17405 | (F) In a regular expression, you had a C<\g> that wasn't followed by a | |
| 17406 | proper group reference. In the case of C<\g{>, the closing brace is | |
| 17407 | missing; otherwise the C<\g> must be followed by an integer. Fix the | |
| 17408 | pattern and retry. | |
| 17409 | ||
| 17410 | =end original | |
| 17411 | ||
| 17412 | (F) 正規表現の中で、適切なグループ参照が引き続かない C<\g> を使いました。 | |
| 17413 | C<\g{> の場合、閉じ中かっこがありません; さもなければ、C<\g> には整数が | |
| 17414 | 引き続かなければ鳴りません。 | |
| 17415 | パターンを修正して再挑戦してください。 | |
| 17416 | ||
| 12281 | 17417 | =item Unterminated <> operator |
| 12282 | 17418 | |
| 12283 | 17419 | =begin original |
| 12284 | 17420 | |
| 12285 | 17421 | (F) The lexer saw a left angle bracket in a place where it was expecting |
| 12286 | 17422 | a term, so it's looking for the corresponding right angle bracket, and |
| 12287 | 17423 | not finding it. Chances are you left some needed parentheses out |
| 12288 | 17424 | earlier in the line, and you really meant a "less than". |
| 12289 | 17425 | |
| 12290 | 17426 | =end original |
| 12291 | 17427 | |
| 12292 | 17428 | (F) 項が必要とされるところで、開き山かっこが見つけたため、 |
| 12293 | 17429 | 対応する閉じ山かっこを探しましたが、見つかりませんでした。 |
| 12294 | 17430 | 可能性としては、必要なかっこを省いてしまい、本当は、「小なり記号」を |
| 12295 | 17431 | 表したかった場合が考えられます。 |
| 12296 | 17432 | |
| 12297 | =item Unterminated verb pattern argument in regex; marked by <-- HERE in | |
| 17433 | =item Unterminated verb pattern argument in regex; marked by S<<-- HERE> in | |
| 17434 | m/%s/ | |
| 12298 | 17435 | |
| 12299 | 17436 | =begin original |
| 12300 | 17437 | |
| 12301 | 17438 | (F) You used a pattern of the form C<(*VERB:ARG)> but did not terminate |
| 12302 | 17439 | the pattern with a C<)>. Fix the pattern and retry. |
| 12303 | 17440 | |
| 12304 | 17441 | =end original |
| 12305 | 17442 | |
| 12306 | 17443 | (F) C<(*VERB:ARG)> の形のパターンを使いましたが、パターンが C<)> で |
| 12307 | 17444 | 終わっていません。 |
| 12308 | 17445 | パターンを修正して再挑戦してください。 |
| 12309 | 17446 | |
| 12310 | =item Unterminated verb pattern in regex; marked by <-- HERE in m/%s/ | |
| 17447 | =item Unterminated verb pattern in regex; marked by S<<-- HERE> in m/%s/ | |
| 12311 | 17448 | |
| 12312 | 17449 | =begin original |
| 12313 | 17450 | |
| 12314 | 17451 | (F) You used a pattern of the form C<(*VERB)> but did not terminate |
| 12315 | 17452 | the pattern with a C<)>. Fix the pattern and retry. |
| 12316 | 17453 | |
| 12317 | 17454 | =end original |
| 12318 | 17455 | |
| 12319 | 17456 | (F) C<(*VERB)> の形のパターンを使いましたが、パターンが C<)> で |
| 12320 | 17457 | 終わっていません。 |
| 12321 | 17458 | パターンを修正して再挑戦してください。 |
| 12322 | 17459 | |
| 12323 | 17460 | =item untie attempted while %d inner references still exist |
| 12324 | 17461 | |
| 12325 | 17462 | =begin original |
| 12326 | 17463 | |
| 12327 | 17464 | (W untie) A copy of the object returned from C<tie> (or C<tied>) was |
| 12328 | 17465 | still valid when C<untie> was called. |
| 12329 | 17466 | |
| 12330 | 17467 | =end original |
| 12331 | 17468 | |
| 12332 | 17469 | (W untie) C<tie> (または C<tied>) から返されたオブジェクトが、 |
| 12333 | 17470 | C<untie> が呼び出されたときにまだ有効でした。 |
| 12334 | 17471 | |
| 12335 | 17472 | =item Usage: POSIX::%s(%s) |
| 12336 | 17473 | |
| 12337 | 17474 | =begin original |
| 12338 | 17475 | |
| 12339 | 17476 | (F) You called a POSIX function with incorrect arguments. |
| 12340 | 17477 | See L<POSIX/FUNCTIONS> for more information. |
| 12341 | 17478 | |
| 12342 | 17479 | =end original |
| 12343 | 17480 | |
| 12344 | 17481 | (F) POSIX 関数を間違った引数で呼び出しました。 |
| 12345 | 17482 | さらなる情報については L<POSIX/FUNCTIONS> を参照してください。 |
| 12346 | 17483 | |
| 12347 | 17484 | =item Usage: Win32::%s(%s) |
| 12348 | 17485 | |
| 12349 | 17486 | =begin original |
| 12350 | 17487 | |
| 12351 | 17488 | (F) You called a Win32 function with incorrect arguments. |
| 12352 | 17489 | See L<Win32> for more information. |
| 12353 | 17490 | |
| 12354 | 17491 | =end original |
| 12355 | 17492 | |
| 12356 | 17493 | (F) Win32 関数を間違った引数で呼び出しました。 |
| 12357 | 17494 | 更なる情報については L<Win32> を参照してください。 |
| 12358 | 17495 | |
| 12359 | 17496 | =item $[ used in %s (did you mean $] ?) |
| 12360 | 17497 | |
| 12361 | 17498 | =begin original |
| 12362 | 17499 | |
| 12363 | 17500 | (W syntax) You used C<$[> in a comparison, such as: |
| 12364 | 17501 | |
| 12365 | 17502 | =end original |
| 12366 | 17503 | |
| 12367 | 17504 | (W syntax) 以下のように、比較で C<$[> を使いました: |
| 12368 | 17505 | |
| 12369 | 17506 | if ($[ > 5.006) { |
| 12370 | 17507 | ... |
| 12371 | 17508 | } |
| 12372 | 17509 | |
| 12373 | 17510 | =begin original |
| 12374 | 17511 | |
| 12375 | 17512 | You probably meant to use C<$]> instead. C<$[> is the base for indexing |
| 12376 | 17513 | arrays. C<$]> is the Perl version number in decimal. |
| 12377 | 17514 | |
| 12378 | 17515 | =end original |
| 12379 | 17516 | |
| 12380 | 17517 | おそらく C<$]> を使いたかったのでしょう。 |
| 12381 | 17518 | C<$[> は配列の基数です。 |
| 12382 | 17519 | C<$]> は Perl のバージョン番号の 10 進数です。 |
| 12383 | 17520 | |
| 17521 | =item Use "%s" instead of "%s" | |
| 17522 | ||
| 17523 | =begin original | |
| 17524 | ||
| 17525 | (F) The second listed construct is no longer legal. Use the first one | |
| 17526 | instead. | |
| 17527 | ||
| 17528 | =end original | |
| 17529 | ||
| 17530 | (F) 2 番目に挙げられた構文はもはや有効ではありません。 | |
| 17531 | 代わりに 1 番目のものを使ってください。 | |
| 17532 | ||
| 12384 | 17533 | =item Useless assignment to a temporary |
| 12385 | 17534 | |
| 12386 | 17535 | =begin original |
| 12387 | 17536 | |
| 12388 | 17537 | (W misc) You assigned to an lvalue subroutine, but what |
| 12389 | 17538 | the subroutine returned was a temporary scalar about to |
| 12390 | 17539 | be discarded, so the assignment had no effect. |
| 12391 | 17540 | |
| 12392 | 17541 | =end original |
| 12393 | 17542 | |
| 12394 | 17543 | (W misc) 左辺値サブルーチンに代入しましたが、サブルーチンが返したものは |
| 12395 | 17544 | 捨てられようとする一時的なスカラなので、代入は向こうです。 |
| 12396 | 17545 | |
| 12397 | =item Useless (?-%s) - don't use /%s modifier in regex; marked by | |
| 17546 | =item Useless (?-%s) - don't use /%s modifier in regex; marked by | |
| 17547 | S<<-- HERE> in m/%s/ | |
| 12398 | 17548 | |
| 12399 | 17549 | =begin original |
| 12400 | 17550 | |
| 12401 | 17551 | (W regexp) You have used an internal modifier such as (?-o) that has no |
| 12402 | 17552 | meaning unless removed from the entire regexp: |
| 12403 | 17553 | |
| 12404 | 17554 | =end original |
| 12405 | 17555 | |
| 12406 | 17556 | (W regexp) (?-o) のような内部修飾子は、正規表現全体から除去されなければ |
| 12407 | 17557 | 意味がありません: |
| 12408 | 17558 | |
| 12409 | 17559 | if ($string =~ /(?-o)$pattern/o) { ... } |
| 12410 | 17560 | |
| 12411 | 17561 | =begin original |
| 12412 | 17562 | |
| 12413 | 17563 | must be written as |
| 12414 | 17564 | |
| 12415 | 17565 | =end original |
| 12416 | 17566 | |
| 12417 | 17567 | これは以下のように書かなければなりません: |
| 12418 | 17568 | |
| 12419 | 17569 | if ($string =~ /$pattern/) { ... } |
| 12420 | 17570 | |
| 12421 | 17571 | =begin original |
| 12422 | 17572 | |
| 12423 | The <-- HERE shows in the regular expression | |
| 17573 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
| 12424 | ||
| 17574 | discovered. See L<perlre>. | |
| 12425 | 17575 | |
| 12426 | 17576 | =end original |
| 12427 | 17577 | |
| 12428 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 17578 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 12429 | 17579 | L<perlre> を参照してください。 |
| 12430 | 17580 | |
| 12431 | 17581 | =item Useless localization of %s |
| 12432 | 17582 | |
| 12433 | 17583 | =begin original |
| 12434 | 17584 | |
| 12435 | 17585 | (W syntax) The localization of lvalues such as C<local($x=10)> is legal, |
| 12436 | 17586 | but in fact the local() currently has no effect. This may change at |
| 12437 | 17587 | some point in the future, but in the meantime such code is discouraged. |
| 12438 | 17588 | |
| 12439 | 17589 | =end original |
| 12440 | 17590 | |
| 12441 | 17591 | (W syntax) C<local($x=10)> のような左辺値のローカル化は有効ですが、 |
| 12442 | 17592 | 実際のところ local() は現在のところ何の効果もありません。 |
| 12443 | 17593 | これは将来変更されるかもしれませんが、今のところはこのようなコードは |
| 12444 | 17594 | 勧められません。 |
| 12445 | 17595 | |
| 12446 | =item Useless (?%s) - use /%s modifier in regex; marked by <-- HERE in | |
| 17596 | =item Useless (?%s) - use /%s modifier in regex; marked by S<<-- HERE> in | |
| 17597 | m/%s/ | |
| 12447 | 17598 | |
| 12448 | 17599 | =begin original |
| 12449 | 17600 | |
| 12450 | 17601 | (W regexp) You have used an internal modifier such as (?o) that has no |
| 12451 | 17602 | meaning unless applied to the entire regexp: |
| 12452 | 17603 | |
| 12453 | 17604 | =end original |
| 12454 | 17605 | |
| 12455 | 17606 | (W regexp) (?o) のような内部修飾子は、正規表現全体に適用されなければ |
| 12456 | 17607 | 意味がありません: |
| 12457 | 17608 | |
| 12458 | 17609 | if ($string =~ /(?o)$pattern/) { ... } |
| 12459 | 17610 | |
| 12460 | 17611 | =begin original |
| 12461 | 17612 | |
| 12462 | 17613 | must be written as |
| 12463 | 17614 | |
| 12464 | 17615 | =end original |
| 12465 | 17616 | |
| 12466 | 17617 | これは以下のように書かなければなりません: |
| 12467 | 17618 | |
| 12468 | 17619 | if ($string =~ /$pattern/o) { ... } |
| 12469 | 17620 | |
| 12470 | 17621 | =begin original |
| 12471 | 17622 | |
| 12472 | The <-- HERE shows in the regular expression | |
| 17623 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
| 12473 | ||
| 17624 | discovered. See L<perlre>. | |
| 12474 | 17625 | |
| 12475 | 17626 | =end original |
| 12476 | 17627 | |
| 12477 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 17628 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 12478 | 17629 | L<perlre> を参照してください。 |
| 12479 | 17630 | |
| 17631 | =item Useless use of attribute "const" | |
| 17632 | ||
| 17633 | =begin original | |
| 17634 | ||
| 17635 | (W misc) The C<const> attribute has no effect except | |
| 17636 | on anonymous closure prototypes. You applied it to | |
| 17637 | a subroutine via L<attributes.pm|attributes>. This is only useful | |
| 17638 | inside an attribute handler for an anonymous subroutine. | |
| 17639 | ||
| 17640 | =end original | |
| 17641 | ||
| 17642 | (W misc) C<const> 属性は、無名クロージャプロトタイプ以外では効果がありません。 | |
| 17643 | あなたはこれを L<attributes.pm|attributes> 経由でサブルーチンに適用しました。 | |
| 17644 | これは無名サブルーチンのための属性ハンドラの中でしか有用ではありません。 | |
| 17645 | ||
| 12480 | 17646 | =item Useless use of /d modifier in transliteration operator |
| 12481 | 17647 | |
| 12482 | 17648 | =begin original |
| 12483 | 17649 | |
| 12484 | 17650 | (W misc) You have used the /d modifier where the searchlist has the |
| 12485 | 17651 | same length as the replacelist. See L<perlop> for more information |
| 12486 | 17652 | about the /d modifier. |
| 12487 | 17653 | |
| 12488 | 17654 | =end original |
| 12489 | 17655 | |
| 12490 | 17656 | (W misc) 検索リストが置換リストと同じ長さの時に /d 修飾子を使いました。 |
| 12491 | 17657 | /d 修飾子に関するさらなる情報については L<perlop> を参照してください。 |
| 12492 | 17658 | |
| 12493 | 17659 | =item Useless use of \E |
| 12494 | 17660 | |
| 12495 | 17661 | =begin original |
| 12496 | 17662 | |
| 12497 | 17663 | (W misc) You have a \E in a double-quotish string without a C<\U>, |
| 12498 | 17664 | C<\L> or C<\Q> preceding it. |
| 12499 | 17665 | |
| 12500 | 17666 | =end original |
| 12501 | 17667 | |
| 12502 | 17668 | (W misc) ダブルクォート風文字列の中で C<\U>, C<\L>, C<\Q> を前置することなく |
| 12503 | 17669 | \E を書きました。 |
| 12504 | 17670 | |
| 17671 | =item Useless use of greediness modifier '%c' in regex; marked by S<<-- HERE> in m/%s/ | |
| 17672 | ||
| 17673 | =begin original | |
| 17674 | ||
| 17675 | (W regexp) You specified something like these: | |
| 17676 | ||
| 17677 | =end original | |
| 17678 | ||
| 17679 | (W regexp) 次のようなものを指定しました: | |
| 17680 | ||
| 17681 | qr/a{3}?/ | |
| 17682 | qr/b{1,1}+/ | |
| 17683 | ||
| 17684 | =begin original | |
| 17685 | ||
| 17686 | The C<"?"> and C<"+"> don't have any effect, as they modify whether to | |
| 17687 | match more or fewer when there is a choice, and by specifying to match | |
| 17688 | exactly a given number, there is no room left for a choice. | |
| 17689 | ||
| 17690 | =end original | |
| 17691 | ||
| 17692 | C<"?"> と C<"+"> は何の効果もありません; これはマッチングする数に幅がある時に | |
| 17693 | より多くまたは少なく変更します; | |
| 17694 | そして指定された数に正確にマッチングすることを指定されているので、 | |
| 17695 | 選択の余地はありません。 | |
| 17696 | ||
| 17697 | =item Useless use of %s in scalar context | |
| 17698 | ||
| 17699 | =begin original | |
| 17700 | ||
| 17701 | (W scalar) You did something whose only interesting return value is a | |
| 17702 | list without a side effect in scalar context, which does not accept a | |
| 17703 | list. | |
| 17704 | ||
| 17705 | =end original | |
| 17706 | ||
| 17707 | (W scalar) スカラコンテキストでの副作用のない、興味深い返り値が | |
| 17708 | リストだけである何かを、リストを受け入れない状態で行いました。 | |
| 17709 | ||
| 17710 | =begin original | |
| 17711 | ||
| 17712 | For example | |
| 17713 | ||
| 17714 | =end original | |
| 17715 | ||
| 17716 | 例えば: | |
| 17717 | ||
| 17718 | my $x = sort @y; | |
| 17719 | ||
| 17720 | =begin original | |
| 17721 | ||
| 17722 | This is not very useful, and perl currently optimizes this away. | |
| 17723 | ||
| 17724 | =end original | |
| 17725 | ||
| 17726 | これは全く便利ではないので、perl は現在のところ最適化して取り除きます。 | |
| 17727 | ||
| 12505 | 17728 | =item Useless use of %s in void context |
| 12506 | 17729 | |
| 12507 | 17730 | =begin original |
| 12508 | 17731 | |
| 12509 | 17732 | (W void) You did something without a side effect in a context that does |
| 12510 | 17733 | nothing with the return value, such as a statement that doesn't return a |
| 12511 | 17734 | value from a block, or the left side of a scalar comma operator. Very |
| 12512 | 17735 | often this points not to stupidity on your part, but a failure of Perl |
| 12513 | 17736 | to parse your program the way you thought it would. For example, you'd |
| 12514 | 17737 | get this if you mixed up your C precedence with Python precedence and |
| 12515 | 17738 | said |
| 12516 | 17739 | |
| 12517 | 17740 | =end original |
| 12518 | 17741 | |
| 12519 | 17742 | (W void) ブロックの値を返さない文や、スカラのコンマ演算子の左側のように |
| 12520 | 17743 | 返却値の無い文脈で、副作用のないことを行ないました。 |
| 12521 | 17744 | 多くは、みなさんの間違いを指摘するものではなく、Perl がみなさんの |
| 12522 | 17745 | 意向を汲み取った解釈ができないことで起こります。 |
| 12523 | 17746 | たとえば、みなさんが C の優先順位を Python の優先順位と混同して |
| 12524 | 17747 | 以下のようにした場合です: |
| 12525 | 17748 | |
| 12526 | 17749 | $one, $two = 1, 2; |
| 12527 | 17750 | |
| 12528 | 17751 | =begin original |
| 12529 | 17752 | |
| 12530 | 17753 | when you meant to say |
| 12531 | 17754 | |
| 12532 | 17755 | =end original |
| 12533 | 17756 | |
| 12534 | 17757 | 以下のようにするべきです。 |
| 12535 | 17758 | |
| 12536 | 17759 | ($one, $two) = (1, 2); |
| 12537 | 17760 | |
| 12538 | 17761 | =begin original |
| 12539 | 17762 | |
| 12540 | 17763 | Another common error is to use ordinary parentheses to construct a list |
| 12541 | 17764 | reference when you should be using square or curly brackets, for |
| 12542 | 17765 | example, if you say |
| 12543 | 17766 | |
| 12544 | 17767 | =end original |
| 12545 | 17768 | |
| 12546 | 17769 | その他の良くあるエラーとしては、リストを作るのに中かっこや大かっこを |
| 12547 | 17770 | 使うべきところで普通のかっこを使うことです; 例えば、以下のように書いた |
| 12548 | 17771 | 場合です: |
| 12549 | 17772 | |
| 12550 | 17773 | $array = (1,2); |
| 12551 | 17774 | |
| 12552 | 17775 | =begin original |
| 12553 | 17776 | |
| 12554 | 17777 | when you should have said |
| 12555 | 17778 | |
| 12556 | 17779 | =end original |
| 12557 | 17780 | |
| 12558 | 17781 | 以下のように書くべきです: |
| 12559 | 17782 | |
| 12560 | 17783 | $array = [1,2]; |
| 12561 | 17784 | |
| 12562 | 17785 | =begin original |
| 12563 | 17786 | |
| 12564 | 17787 | The square brackets explicitly turn a list value into a scalar value, |
| 12565 | 17788 | while parentheses do not. So when a parenthesized list is evaluated in |
| 12566 | 17789 | a scalar context, the comma is treated like C's comma operator, which |
| 12567 | 17790 | throws away the left argument, which is not what you want. See |
| 12568 | 17791 | L<perlref> for more on this. |
| 12569 | 17792 | |
| 12570 | 17793 | =end original |
| 12571 | 17794 | |
| 12572 | 17795 | 角かっこはリスト値を明示的にスカラ値に変換しますが、かっこは変換しません。 |
| 12573 | 17796 | そのため、かっこで括られたリストをスカラコンテキストで評価すると、 |
| 12574 | 17797 | カンマは C のカンマ演算子のように扱われ、左側の引数は捨てられます; |
| 12575 | 17798 | これは望んでいることではないでしょう。 |
| 12576 | 17799 | これに関するさらなる情報については L<perlref> を参照してください。 |
| 12577 | 17800 | |
| 12578 | 17801 | =begin original |
| 12579 | 17802 | |
| 12580 | 17803 | This warning will not be issued for numerical constants equal to 0 or 1 |
| 12581 | 17804 | since they are often used in statements like |
| 12582 | 17805 | |
| 12583 | 17806 | =end original |
| 12584 | 17807 | |
| 12585 | 17808 | この警告は、0 か 1 と等しい数値定数では起きません; なぜなら、 |
| 12586 | 17809 | しばしば以下のような文で使われるからです: |
| 12587 | 17810 | |
| 12588 | 17811 | 1 while sub_with_side_effects(); |
| 12589 | 17812 | |
| 12590 | 17813 | =begin original |
| 12591 | 17814 | |
| 12592 | 17815 | String constants that would normally evaluate to 0 or 1 are warned |
| 12593 | 17816 | about. |
| 12594 | 17817 | |
| 12595 | 17818 | =end original |
| 12596 | 17819 | |
| 12597 | 17820 | 通常 0 か 1 に評価される文字列定数は警告されます。 |
| 12598 | 17821 | |
| 12599 | =item Useless use of | |
| 17822 | =item Useless use of (?-p) in regex; marked by S<<-- HERE> in m/%s/ | |
| 12600 | 17823 | |
| 12601 | 17824 | =begin original |
| 12602 | 17825 | |
| 12603 | (W) | |
| 17826 | (W regexp) The C<p> modifier cannot be turned off once set. Trying to do | |
| 17827 | so is futile. | |
| 12604 | 17828 | |
| 12605 | 17829 | =end original |
| 12606 | 17830 | |
| 12607 | (W | |
| 17831 | (W regexp) | |
| 17832 | C<p> 修飾子は、一度設定したものをオフにはできません。 | |
| 17833 | そうしようとしても無効です。 | |
| 12608 | 17834 | |
| 12609 | =item Useless use of | |
| 17835 | =item Useless use of "re" pragma | |
| 12610 | 17836 | |
| 12611 | 17837 | =begin original |
| 12612 | 17838 | |
| 12613 | (W | |
| 17839 | (W) You did C<use re;> without any arguments. That isn't very useful. | |
| 12614 | 17840 | |
| 12615 | 17841 | =end original |
| 12616 | 17842 | |
| 12617 | (W | |
| 17843 | (W) C<use re;> プラグマを引数なしで指定しました。これは無意味です。 | |
| 12618 | 17844 | |
| 12619 | my $x = sort @y; | |
| 12620 | ||
| 12621 | =begin original | |
| 12622 | ||
| 12623 | This is not very useful, and perl currently optimizes this away. | |
| 12624 | ||
| 12625 | =end original | |
| 12626 | ||
| 12627 | これは全く便利ではないので、perl は現在のところ最適化して取り除きます。 | |
| 12628 | ||
| 12629 | 17845 | =item Useless use of %s with no values |
| 12630 | 17846 | |
| 12631 | 17847 | =begin original |
| 12632 | 17848 | |
| 12633 | 17849 | (W syntax) You used the push() or unshift() function with no arguments |
| 12634 | 17850 | apart from the array, like C<push(@x)> or C<unshift(@foo)>. That won't |
| 12635 | 17851 | usually have any effect on the array, so is completely useless. It's |
| 12636 | 17852 | possible in principle that push(@tied_array) could have some effect |
| 12637 | 17853 | if the array is tied to a class which implements a PUSH method. If so, |
| 12638 | 17854 | you can write it as C<push(@tied_array,())> to avoid this warning. |
| 12639 | 17855 | |
| 12640 | 17856 | =end original |
| 12641 | 17857 | |
| 12642 | 17858 | (W syntax) C<push(@x)> や C<unshift(@foo)> のようにして、push() 関数や |
| 12643 | 17859 | unshift() 関数を、配列以外の引数なしで使いました。 |
| 12644 | 17860 | これは普通は配列に何の影響も与えないので、完全に無意味です。 |
| 12645 | 17861 | 理論的には、配列が tie されているクラスの PUSH メソッドの実装によっては |
| 12646 | 17862 | push(@tied_array) が何らかの効果を持つ可能性はあります。 |
| 12647 | 17863 | もしそうなら、これを C<push(@tied_array,())> のように書くことで警告を |
| 12648 | 17864 | 回避できます。 |
| 12649 | 17865 | |
| 12650 | 17866 | =item "use" not allowed in expression |
| 12651 | 17867 | |
| 12652 | 17868 | =begin original |
| 12653 | 17869 | |
| 12654 | 17870 | (F) The "use" keyword is recognized and executed at compile time, and |
| 12655 | 17871 | returns no useful value. See L<perlmod>. |
| 12656 | 17872 | |
| 12657 | 17873 | =end original |
| 12658 | 17874 | |
| 12659 | 17875 | (F) "use" キーワードは、コンパイル時に認識され、実行されるもので、 |
| 12660 | 17876 | 意味のある値を返しません。 |
| 12661 | 17877 | L<perlmod> を参照してください。 |
| 12662 | 17878 | |
| 12663 | =item Use of | |
| 17879 | =item Use of @_ in %s with signatured subroutine is experimental | |
| 12664 | 17880 | |
| 12665 | 17881 | =begin original |
| 12666 | 17882 | |
| 12667 | ( | |
| 17883 | (S experimental::args_array_with_signatures) An expression involving the | |
| 12668 | ||
| 17884 | C<@_> arguments array was found in a subroutine that uses a signature. | |
| 17885 | This is experimental because the interaction between the arguments | |
| 17886 | array and parameter handling via signatures is not guaranteed to remain | |
| 17887 | stable in any future version of Perl, and such code should be avoided. | |
| 12669 | 17888 | |
| 12670 | 17889 | =end original |
| 12671 | 17890 | |
| 12672 | ( | |
| 17891 | (S experimental::args_array_with_signatures) | |
| 12673 | ||
| 17892 | C<@_> 引数配列が関係する式が | |
| 17893 | シグネチャを使ったサブルーチンの中に見つかりました。 | |
| 17894 | 引数の配列とシグネチャ経由での引数の操作はの間の相互作用は、 | |
| 17895 | 将来のバージョンの Perl でも安定なままであることが保証されておらず、 | |
| 17896 | そのようなコードは避けるべきなため、これは実験的です。 | |
| 12674 | 17897 | |
| 12675 | =item Use of bare << to mean <<"" is | |
| 17898 | =item Use of bare << to mean <<"" is forbidden | |
| 12676 | 17899 | |
| 12677 | 17900 | =begin original |
| 12678 | 17901 | |
| 12679 | ( | |
| 17902 | (F) You are now required to use the explicitly quoted form if you wish | |
| 12680 | ||
| 17903 | to use an empty line as the terminator of the here-document. | |
| 12681 | 17904 | |
| 12682 | 17905 | =end original |
| 12683 | 17906 | |
| 12684 | ( | |
| 17907 | (F) ヒアドキュメントの終端子として空行を使いたいときには、明示的に | |
| 12685 | ||
| 17908 | クォートされた形を使うことが必要になりました。 | |
| 12686 | 17909 | |
| 12687 | = | |
| 17910 | =begin original | |
| 12688 | 17911 | |
| 17912 | Use of a bare terminator was deprecated in Perl 5.000, and is a fatal | |
| 17913 | error as of Perl 5.28. | |
| 17914 | ||
| 17915 | =end original | |
| 17916 | ||
| 17917 | 裸の終端子は Perl 5.000 で廃止予定になっていて、 | |
| 17918 | Perl 5.28 から致命的エラーです。 | |
| 17919 | ||
| 17920 | =item Use of /c modifier is meaningless in s/// | |
| 17921 | ||
| 12689 | 17922 | =begin original |
| 12690 | 17923 | |
| 12691 | ( | |
| 17924 | (W regexp) You used the /c modifier in a substitution. The /c | |
| 12692 | ||
| 17925 | modifier is not presently meaningful in substitutions. | |
| 12693 | 17926 | |
| 12694 | 17927 | =end original |
| 12695 | 17928 | |
| 12696 | ( | |
| 17929 | (W regexp) 置換で /c 修飾子を使いました。 | |
| 12697 | ||
| 17930 | /c は置換では現在のところ無意味です。 | |
| 12698 | 17931 | |
| 12699 | =item Use of c | |
| 17932 | =item Use of /c modifier is meaningless without /g | |
| 12700 | 17933 | |
| 12701 | 17934 | =begin original |
| 12702 | 17935 | |
| 12703 | ( | |
| 17936 | (W regexp) You used the /c modifier with a regex operand, but didn't | |
| 12704 | ||
| 17937 | use the /g modifier. Currently, /c is meaningful only when /g is | |
| 12705 | ||
| 17938 | used. (This may change in the future.) | |
| 12706 | will simply fail. | |
| 12707 | 17939 | |
| 12708 | 17940 | =end original |
| 12709 | 17941 | |
| 12710 | ( | |
| 17942 | (W regexp) 正規表現オペランドに /c 修飾子を使いましたが、/g 修飾子は | |
| 12711 | ||
| 17943 | 使いませんでした。 | |
| 12712 | c | |
| 17944 | 現在のところ、/c は /g が使われたときにのみ有効です。 | |
| 12713 | 将来 | |
| 17945 | (これは将来変更されるかもしれません。) | |
| 12714 | 17946 | |
| 17947 | =item Use of code point 0x%s is not allowed; the permissible max is 0x%X | |
| 17948 | ||
| 17949 | =item Use of code point 0x%s is not allowed; the permissible max is 0x%X | |
| 17950 | in regex; marked by <-- HERE in m/%s/ | |
| 17951 | ||
| 12715 | 17952 | =begin original |
| 12716 | 17953 | |
| 12717 | ||
| 17954 | (F) You used a code point that is not allowed, because it is too large. | |
| 12718 | ||
| 17955 | Unicode only allows code points up to 0x10FFFF, but Perl allows much | |
| 17956 | larger ones. Earlier versions of Perl allowed code points above IV_MAX | |
| 17957 | (0x7FFFFFF on 32-bit platforms, 0x7FFFFFFFFFFFFFFF on 64-bit platforms), | |
| 17958 | however, this could possibly break the perl interpreter in some constructs, | |
| 17959 | including causing it to hang in a few cases. | |
| 12719 | 17960 | |
| 12720 | 17961 | =end original |
| 12721 | 17962 | |
| 12722 | ||
| 17963 | (F) 大きすぎるので許されない符号位置を使いました。 | |
| 12723 | ||
| 17964 | Unicode は 0x10FFFF までだけの符号位置を許していますが、 | |
| 12724 | ||
| 17965 | Perl は遙かに大きいものを許します。 | |
| 17966 | 以前のバージョンの Perl は | |
| 17967 | IV_MAX (32 ビットシステムでは 0x7FFFFFF、64 ビットシステムでは | |
| 17968 | 0x7FFFFFFFFFFFFFFF) を超えた符号位置を許していましたが、 | |
| 17969 | これは一部の構文で perl インタプリタを壊すことがあり、 | |
| 17970 | 場合によってはハングアップすることがありました。 | |
| 12725 | 17971 | |
| 12726 | = | |
| 17972 | =begin original | |
| 12727 | 17973 | |
| 17974 | If your code is to run on various platforms, keep in mind that the upper | |
| 17975 | limit depends on the platform. It is much larger on 64-bit word sizes | |
| 17976 | than 32-bit ones. | |
| 17977 | ||
| 17978 | =end original | |
| 17979 | ||
| 17980 | コードが様々なプラットフォームで実行するためのものなら、 | |
| 17981 | 上限がプラットフォームに依存していることを心に留めておいてください。 | |
| 17982 | 64 ビットワードサイズは 32 ビットよりも遙かに大きいです。 | |
| 17983 | ||
| 12728 | 17984 | =begin original |
| 12729 | 17985 | |
| 12730 | ||
| 17986 | The use of out of range code points was deprecated in Perl 5.24, and | |
| 12731 | m | |
| 17987 | became a fatal error in Perl 5.28. | |
| 12732 | 17988 | |
| 12733 | 17989 | =end original |
| 12734 | 17990 | |
| 12735 | ||
| 17991 | 範囲外の符号位置の使用は Perl 5.24 で廃止予定になり、 | |
| 12736 | ||
| 17992 | Perl 5.28 で致命的エラーになりました。 | |
| 12737 | 17993 | |
| 12738 | =item Use of | |
| 17994 | =item Use of each() on hash after insertion without resetting hash iterator results in undefined behavior | |
| 12739 | 17995 | |
| 12740 | 17996 | =begin original |
| 12741 | 17997 | |
| 12742 | ( | |
| 17998 | (S internal) The behavior of C<each()> after insertion is undefined; | |
| 12743 | ||
| 17999 | it may skip items, or visit items more than once. Consider using | |
| 12744 | ||
| 18000 | C<keys()> instead of C<each()>. | |
| 12745 | 18001 | |
| 12746 | 18002 | =end original |
| 12747 | 18003 | |
| 12748 | ( | |
| 18004 | (S internal) 挿入の後の C<each()> の振る舞いは未定義です; アイテムを | |
| 12749 | ||
| 18005 | 読み飛ばしたり、複数回読んだりします。 | |
| 12750 | ||
| 18006 | C<each()> の代わりに C<keys()> を使うことを検討してください。 | |
| 12751 | (これは将来変更されるかもしれません。) | |
| 12752 | 18007 | |
| 12753 | 18008 | =item Use of := for an empty attribute list is not allowed |
| 12754 | 18009 | |
| 12755 | 18010 | =begin original |
| 12756 | 18011 | |
| 12757 | 18012 | (F) The construction C<my $x := 42> used to parse as equivalent to |
| 12758 | 18013 | C<my $x : = 42> (applying an empty attribute list to C<$x>). |
| 12759 | 18014 | This construct was deprecated in 5.12.0, and has now been made a syntax |
| 12760 | 18015 | error, so C<:=> can be reclaimed as a new operator in the future. |
| 12761 | 18016 | |
| 12762 | 18017 | =end original |
| 12763 | 18018 | |
| 12764 | 18019 | (F) 構文 C<my $x := 42> は C<my $x : = 42> と等価にパースされていました |
| 12765 | 18020 | (C<$x> に空の属性リストを適用する)。 |
| 12766 | 18021 | この構文は 5.12.0 に廃止予定となり、今回文法エラーとなったので、 |
| 12767 | 18022 | C<:=> は将来新しい演算子として再利用できます。 |
| 12768 | 18023 | |
| 12769 | 18024 | =begin original |
| 12770 | 18025 | |
| 12771 | 18026 | If you need an empty attribute list, for example in a code generator, add |
| 12772 | 18027 | a space before the C<=>. |
| 12773 | 18028 | |
| 12774 | 18029 | =end original |
| 12775 | 18030 | |
| 12776 | 18031 | 例えばコードジェネレータのために、空属性リストが必要なら、C<=> の前に |
| 12777 | 18032 | スペースを加えてください。 |
| 12778 | 18033 | |
| 18034 | =item Use of %s for non-UTF-8 locale is wrong. Assuming a UTF-8 locale | |
| 18035 | ||
| 18036 | =begin original | |
| 18037 | ||
| 18038 | (W locale) You are matching a regular expression using locale rules, | |
| 18039 | and the specified construct was encountered. This construct is only | |
| 18040 | valid for UTF-8 locales, which the current locale isn't. This doesn't | |
| 18041 | make sense. Perl will continue, assuming a Unicode (UTF-8) locale, but | |
| 18042 | the results are likely to be wrong. | |
| 18043 | ||
| 18044 | =end original | |
| 18045 | ||
| 18046 | (W locale) ロケールの規則を使って正規表現のマッチングを行い、 | |
| 18047 | 指定した構文が出現しました。 | |
| 18048 | この構文は UTF-8 ロケールでのみ有効ですが、現在のロケールは異なります。 | |
| 18049 | これは意味がありません。 | |
| 18050 | Perl は Unicode (UTF-8) ロケールを仮定して動作を続けますが、 | |
| 18051 | 結果はおそらく間違ったものです。 | |
| 18052 | ||
| 12779 | 18053 | =item Use of freed value in iteration |
| 12780 | 18054 | |
| 12781 | 18055 | =begin original |
| 12782 | 18056 | |
| 12783 | 18057 | (F) Perhaps you modified the iterated array within the loop? |
| 12784 | 18058 | This error is typically caused by code like the following: |
| 12785 | 18059 | |
| 12786 | 18060 | =end original |
| 12787 | 18061 | |
| 12788 | 18062 | (F) おそらくループの中で反復される配列を変更したのでは? |
| 12789 | 18063 | このエラーは典型的には以下のようなコードで発生します: |
| 12790 | 18064 | |
| 12791 | 18065 | @a = (3,4); |
| 12792 | 18066 | @a = () for (1,2,@a); |
| 12793 | 18067 | |
| 12794 | 18068 | =begin original |
| 12795 | 18069 | |
| 12796 | 18070 | You are not supposed to modify arrays while they are being iterated over. |
| 12797 | 18071 | For speed and efficiency reasons, Perl internally does not do full |
| 12798 | 18072 | reference-counting of iterated items, hence deleting such an item in the |
| 12799 | 18073 | middle of an iteration causes Perl to see a freed value. |
| 12800 | 18074 | |
| 12801 | 18075 | =end original |
| 12802 | 18076 | |
| 12803 | 18077 | 反復中の配列は変更してはいけないことになっています。 |
| 12804 | 18078 | 速度と効率上の理由から、Perl 内部では反復されたアイテムの参照カウントを |
| 12805 | 18079 | 完全には数えていません; 従って反復中のアイテムのを削除すると Perl は |
| 12806 | 18080 | 解放された値を見ることになります。 |
| 12807 | 18081 | |
| 12808 | =item Use of *glob{FILEHANDLE} is deprecated | |
| 12809 | ||
| 12810 | =begin original | |
| 12811 | ||
| 12812 | (D deprecated) You are now encouraged to use the shorter *glob{IO} form | |
| 12813 | to access the filehandle slot within a typeglob. | |
| 12814 | ||
| 12815 | =end original | |
| 12816 | ||
| 12817 | (D deprecated) 型グロブの中のファイルハンドルスロットにアクセスするには、 | |
| 12818 | より短い *glob{IO} の形を使うことを推奨されています。 | |
| 12819 | ||
| 12820 | 18082 | =item Use of /g modifier is meaningless in split |
| 12821 | 18083 | |
| 12822 | 18084 | =begin original |
| 12823 | 18085 | |
| 12824 | 18086 | (W regexp) You used the /g modifier on the pattern for a C<split> |
| 12825 | 18087 | operator. Since C<split> always tries to match the pattern |
| 12826 | 18088 | repeatedly, the C</g> has no effect. |
| 12827 | 18089 | |
| 12828 | 18090 | =end original |
| 12829 | 18091 | |
| 12830 | 18092 | (W regexp) C<split> 演算子のパターンで /g 修飾子を使いました。 |
| 12831 | 18093 | C<split> は常にパターンを繰り返しマッチングしようとするので、 |
| 12832 | 18094 | C</g> は効果がありません。 |
| 12833 | 18095 | |
| 12834 | 18096 | =item Use of "goto" to jump into a construct is deprecated |
| 12835 | 18097 | |
| 12836 | 18098 | =begin original |
| 12837 | 18099 | |
| 12838 | (D deprecated) Using C<goto> to jump from an outer scope into an inner | |
| 18100 | (D deprecated::goto_construct) Using C<goto> to jump from an outer scope into an inner | |
| 12839 | scope is deprecated and | |
| 18101 | scope is deprecated and will be removed completely in Perl 5.42. | |
| 12840 | 18102 | |
| 12841 | 18103 | =end original |
| 12842 | 18104 | |
| 12843 | (D deprecated) 外側のスコープから内側のスコープに | |
| 18105 | (D deprecated::goto_construct) 外側のスコープから内側のスコープに | |
| 12844 | 使うことは廃止予定であり、 | |
| 18106 | 飛び込むために C<goto> を使うことは廃止予定であり、 | |
| 18107 | Perl 5.42 で完全に削除される予定です。 | |
| 12845 | 18108 | |
| 12846 | =item Use of inherited AUTOLOAD for non-method %s() is deprecated | |
| 12847 | ||
| 12848 | 18109 | =begin original |
| 12849 | 18110 | |
| 12850 | ||
| 18111 | This was deprecated in Perl 5.12. | |
| 12851 | subroutines are looked up as methods (using the C<@ISA> hierarchy) | |
| 12852 | even when the subroutines to be autoloaded were called as plain | |
| 12853 | functions (e.g. C<Foo::bar()>), not as methods (e.g. C<< Foo->bar() >> or | |
| 12854 | C<< $obj->bar() >>). | |
| 12855 | 18112 | |
| 12856 | 18113 | =end original |
| 12857 | 18114 | |
| 12858 | ||
| 18115 | これは Perl 5.12 で廃止予定になりました。 | |
| 12859 | autoload されるサブルーチンがメソッド (C<< Foo->bar() >> や | |
| 12860 | C<< $obj->bar() >>) ではなく、普通の関数 (C<Foo::bar()>) として | |
| 12861 | 呼び出された場合にも、(C<@ISA> 階層を使って) メソッドとして検索します。 | |
| 12862 | 18116 | |
| 18117 | =item Use of '%s' in \p{} or \P{} is deprecated because: %s | |
| 18118 | ||
| 12863 | 18119 | =begin original |
| 12864 | 18120 | |
| 12865 | ||
| 18121 | (D deprecated::unicode_property_name) Certain properties are deprecated | |
| 12866 | ||
| 18122 | by Unicode, and may eventually be removed from the Standard, at which | |
| 12867 | ||
| 18123 | time Perl will follow along. In the meantime, this message is raised to | |
| 12868 | ||
| 18124 | notify you. | |
| 12869 | C<AUTOLOAD>s. | |
| 12870 | 18125 | |
| 12871 | 18126 | =end original |
| 12872 | 18127 | |
| 12873 | ||
| 18128 | (D deprecated::unicode_property_name) 一部の特性は | |
| 12874 | ||
| 18129 | Unicode によって廃止予定とされており、 | |
| 12875 | ||
| 18130 | 最終的に標準から削除されるかもしれません; その時点で Perl も追随します。 | |
| 12876 | ||
| 18131 | 今のところは、通知のためにこのメッセージが発生します。 | |
| 12877 | メソッド以外が継承されたC<AUTOLOAD> を使うときにオプションの警告を | |
| 12878 | 発生させます。 | |
| 12879 | 18132 | |
| 18133 | =item Use of inherited AUTOLOAD for non-method %s::%s() is no longer allowed | |
| 18134 | ||
| 12880 | 18135 | =begin original |
| 12881 | 18136 | |
| 12882 | ||
| 18137 | (F) As an accidental feature, C<AUTOLOAD> subroutines were looked up as | |
| 12883 | ||
| 18138 | methods (using the C<@ISA> hierarchy), even when the subroutines to be | |
| 12884 | to | |
| 18139 | autoloaded were called as plain functions (e.g. C<Foo::bar()>), not as | |
| 12885 | ||
| 18140 | methods (e.g. C<< Foo->bar() >> or C<< $obj->bar() >>). | |
| 12886 | startup. | |
| 12887 | 18141 | |
| 12888 | 18142 | =end original |
| 12889 | 18143 | |
| 12890 | ||
| 18144 | (F) 偶発的な仕様によって、C<AUTOLOAD> サブルーチンは、 | |
| 12891 | ||
| 18145 | autoload されるサブルーチンがメソッド (C<< Foo->bar() >> や | |
| 12892 | ||
| 18146 | C<< $obj->bar() >>) ではなく、普通の関数 (C<Foo::bar()>) として | |
| 12893 | ||
| 18147 | 呼び出された場合にも、(C<@ISA> 階層を使って) メソッドとして検索していました。 | |
| 12894 | 18148 | |
| 12895 | 18149 | =begin original |
| 12896 | 18150 | |
| 12897 | ||
| 18151 | This was deprecated in Perl 5.004, and was made fatal in Perl 5.28. | |
| 12898 | you should remove AutoLoader from @ISA and change C<use AutoLoader;> to | |
| 12899 | C<use AutoLoader 'AUTOLOAD';>. | |
| 12900 | 18152 | |
| 12901 | 18153 | =end original |
| 12902 | 18154 | |
| 12903 | ||
| 18155 | この機能は Perl 5.004 で廃止予定になり、Perl 5.28 で致命的エラーになりました。 | |
| 12904 | @ISA から AutoLoader を取り除いて、C<use AutoLoader;> を | |
| 12905 | C<use AutoLoader 'AUTOLOAD';> に変更するべきです。 | |
| 12906 | 18156 | |
| 12907 | 18157 | =item Use of %s in printf format not supported |
| 12908 | 18158 | |
| 12909 | 18159 | =begin original |
| 12910 | 18160 | |
| 12911 | 18161 | (F) You attempted to use a feature of printf that is accessible from |
| 12912 | 18162 | only C. This usually means there's a better way to do it in Perl. |
| 12913 | 18163 | |
| 12914 | 18164 | =end original |
| 12915 | 18165 | |
| 12916 | 18166 | (F) C でのみアクセス可能な printf の機能を使おうとしました。 |
| 12917 | 18167 | これは普通 Perl で行うより良い方法があります。 |
| 12918 | 18168 | |
| 12919 | =item Use of %s is deprecated | |
| 18169 | =item Use of '%s' is deprecated as a string delimiter | |
| 12920 | 18170 | |
| 12921 | 18171 | =begin original |
| 12922 | 18172 | |
| 12923 | (D deprecated | |
| 18173 | (D deprecated::delimiter_will_be_paired) You used the given character as | |
| 12924 | ||
| 18174 | a starting delimiter of a string outside the scope of | |
| 12925 | ||
| 18175 | S<C<use feature 'extra_paired_delimiters'>>. This character is the | |
| 18176 | mirror image of another Unicode character; within the scope of that | |
| 18177 | feature, the two are considered a pair for delimitting strings. It is | |
| 18178 | planned to make that feature the default, at which point this usage | |
| 18179 | would become illegal; hence this warning. | |
| 12926 | 18180 | |
| 12927 | 18181 | =end original |
| 12928 | 18182 | |
| 12929 | (D deprecated) | |
| 18183 | (D deprecated::delimiter_will_be_paired) | |
| 12930 | ||
| 18184 | S<C<use feature 'extra_paired_delimiters'>> のスコープの外側で、 | |
| 18185 | 指定された文字を文字列の区切りの開始として使いました。 | |
| 18186 | この文字はもう一つの Unicode 文字の鏡像です; | |
| 18187 | この機能のスコープ内では、この二つは文字列を区切るための組と | |
| 18188 | 考えられます。 | |
| 18189 | この機能はデフォルトにすることが計画されていて、その時点で | |
| 18190 | この使用法は不正になります; 従ってこれを警告しています。 | |
| 12931 | 18191 | |
| 12932 | =item Use of -l on filehandle %s | |
| 12933 | ||
| 12934 | 18192 | =begin original |
| 12935 | 18193 | |
| 12936 | ||
| 18194 | For now, you may live with this warning, or turn it off, but this code | |
| 12937 | i | |
| 18195 | will no longer compile in a future version of Perl. Or you can turn on | |
| 12938 | ||
| 18196 | S<C<use feature 'extra_paired_delimiters'>> and use the character that | |
| 18197 | is the mirror image of this one for the closing string delimiter. | |
| 12939 | 18198 | |
| 12940 | 18199 | =end original |
| 12941 | 18200 | |
| 12942 | ||
| 18201 | 今のところ、この警告と共に生活するか、あるいはオフにできますが、 | |
| 12943 | ||
| 18202 | このコードは将来のバージョンの Perl でもはやコンパイルできなくなります。 | |
| 12944 | ||
| 18203 | あるいは S<C<use feature 'extra_paired_delimiters'>> を有効にして、 | |
| 12945 | この | |
| 18204 | この鏡像を閉じ文字列区切り文字としてこの文字を使えます。 | |
| 12946 | 代わりにファイル名を使ってください。 | |
| 12947 | 18205 | |
| 12948 | =item Use of %s | |
| 18206 | =item Use of '%s' is experimental as a string delimiter | |
| 12949 | 18207 | |
| 12950 | 18208 | =begin original |
| 12951 | 18209 | |
| 12952 | ( | |
| 18210 | (S experimental::extra_paired_delimiters) This warning is emitted if | |
| 12953 | ||
| 18211 | you use as a string delimiter one of the non-ASCII mirror image ones | |
| 12954 | ||
| 18212 | enabled by S<C<use feature 'extra_paired_delimiters'>>. Simply suppress | |
| 18213 | the warning if you want to use the feature, but know that in doing so | |
| 18214 | you are taking the risk of using an experimental feature which may | |
| 18215 | change or be removed in a future Perl version: | |
| 12955 | 18216 | |
| 12956 | 18217 | =end original |
| 12957 | 18218 | |
| 12958 | ( | |
| 18219 | (S experimental::extra_paired_delimiters) この警告は、 | |
| 12959 | ||
| 18220 | S<C<use feature 'extra_paired_delimiters'>> で有効になる、 | |
| 12960 | ||
| 18221 | 非 ASCII 鏡像の一つを文字列の区切り文字として使うと出力されます。 | |
| 12961 | ||
| 18222 | この機能を使いたい場合は単にこの警告を抑制してください; ただし | |
| 12962 | ||
| 18223 | そうすることによってあなたは将来のバージョンの Perl で変更したり | |
| 18224 | 削除されたりするかもしれない実験的な機能を使うというリスクを | |
| 18225 | 取っていると言うことを知っておいてください: | |
| 12963 | 18226 | |
| 12964 | = | |
| 18227 | =item Use of %s is not allowed in Unicode property wildcard | |
| 18228 | subpatterns in regex; marked by S<<-- HERE> in m/%s/ | |
| 12965 | 18229 | |
| 12966 | This was a long-standing bug that was removed in Perl 5.16, as there was | |
| 12967 | no way to tie the scalar itself when it held a typeglob, and no way to | |
| 12968 | untie a scalar that had had a typeglob assigned to it. If you see this | |
| 12969 | message, you must be using an older version. | |
| 12970 | ||
| 12971 | =end original | |
| 12972 | ||
| 12973 | これは Perl 5.16 で取り除かれた長年残っていたバグで、 | |
| 12974 | 型グロブを保持しているスカラ自身を tie する方法がなく、また型グロブが | |
| 12975 | 代入されているスカラを untie する方法がないというものでした。 | |
| 12976 | このメッセージを見たなら、古いバージョンを使わなければなりません。 | |
| 12977 | ||
| 12978 | =item Use of ?PATTERN? without explicit operator is deprecated | |
| 12979 | ||
| 12980 | 18230 | =begin original |
| 12981 | 18231 | |
| 12982 | ( | |
| 18232 | (F) You were using a wildcard subpattern a Unicode property value, and | |
| 12983 | ||
| 18233 | the subpattern contained something that is illegal. Not all regular | |
| 12984 | ||
| 18234 | expression capabilities are legal in such subpatterns, and this is one. | |
| 12985 | wi | |
| 18235 | Rewrite your subppattern to not use the offending construct. | |
| 12986 | ||
| 18236 | See L<perlunicode/Wildcards in Property Values>. | |
| 12987 | still invokes match-once behaviour. | |
| 12988 | 18237 | |
| 12989 | 18238 | =end original |
| 12990 | 18239 | |
| 12991 | ( | |
| 18240 | (F) Unicode 特性値にワイルドカード部分パターンを使い、その部分パターンには何か | |
| 12992 | ||
| 18241 | 不正なものが含まれていました。 | |
| 12993 | ||
| 18242 | このような部分パターンでは全ての正規表現機能が正当というわけではなく、 | |
| 12994 | ||
| 18243 | これはその一つです。 | |
| 12995 | ||
| 18244 | 問題となっている構文を使わないように部分パターンを書き換えてください。 | |
| 12996 | ||
| 18245 | L<perlunicode/Wildcards in Property Values> を参照してください。 | |
| 12997 | 18246 | |
| 12998 | =item Use of | |
| 18247 | =item Use of -l on filehandle%s | |
| 12999 | 18248 | |
| 13000 | 18249 | =begin original |
| 13001 | 18250 | |
| 13002 | ( | |
| 18251 | (W io) A filehandle represents an opened file, and when you opened the file | |
| 13003 | ||
| 18252 | it already went past any symlink you are presumably trying to look for. | |
| 13004 | e | |
| 18253 | The operation returned C<undef>. Use a filename instead. | |
| 13005 | C<qw(...)> literals were always enclosed in parentheses, and as a result | |
| 13006 | you could sometimes omit parentheses around them. (You could never do | |
| 13007 | the C<foreach qw(a b c) {...}> that you might have expected, though.) | |
| 13008 | The parser no longer lies to itself in this way. Wrap the list literal | |
| 13009 | in parentheses, like C<foreach $x (qw(a b c)) {...}>. | |
| 13010 | 18254 | |
| 13011 | 18255 | =end original |
| 13012 | 18256 | |
| 13013 | ( | |
| 18257 | (F) ファイルはオープンされたファイルを表わすものであり、 | |
| 13014 | ||
| 18258 | ファイルをオープンしたときには、探しているシンボリックリンクは、 | |
| 13015 | ||
| 18259 | 既に通り過ぎた後です。 | |
| 13016 | ||
| 18260 | この操作は C<undef> を返します。 | |
| 13017 | ||
| 18261 | 代わりにファイル名を使ってください。 | |
| 13018 | (しかし、予想するかも知れませんが C<foreach qw(a b c) {...}> とすることは | |
| 13019 | できません。) | |
| 13020 | パーサはもはやこの方法でだまされません。 | |
| 13021 | C<foreach $x (qw(a b c)) {...}> のようにして、リストリテラルをかっこで | |
| 13022 | 囲んでください。 | |
| 13023 | 18262 | |
| 13024 | 18263 | =item Use of reference "%s" as array index |
| 13025 | 18264 | |
| 13026 | 18265 | =begin original |
| 13027 | 18266 | |
| 13028 | 18267 | (W misc) You tried to use a reference as an array index; this probably |
| 13029 | 18268 | isn't what you mean, because references in numerical context tend |
| 13030 | 18269 | to be huge numbers, and so usually indicates programmer error. |
| 13031 | 18270 | |
| 13032 | 18271 | =end original |
| 13033 | 18272 | |
| 13034 | 18273 | (W misc) リファレンスを配列の添え字として使おうとしました; これはおそらく |
| 13035 | 18274 | 望んでいることではないでしょう; なぜなら数値コンテキストでの |
| 13036 | 18275 | リファレンスはとても大きな数になることが多いので、普通はプログラマの |
| 13037 | 18276 | ミスを意味しています。 |
| 13038 | 18277 | |
| 13039 | 18278 | =begin original |
| 13040 | 18279 | |
| 13041 | 18280 | If you really do mean it, explicitly numify your reference, like so: |
| 13042 | 18281 | C<$array[0+$ref]>. This warning is not given for overloaded objects, |
| 13043 | 18282 | however, because you can overload the numification and stringification |
| 13044 | 18283 | operators and then you presumably know what you are doing. |
| 13045 | 18284 | |
| 13046 | 18285 | =end original |
| 13047 | 18286 | |
| 13048 | 18287 | 本当にそうしたい場合は、C<$array[0+$ref]> のように、リファレンスを明示的に |
| 13049 | 18288 | 数値化してください。 |
| 13050 | 18289 | しかし、この警告はオーバーロードされたオブジェクトでは発生しません; |
| 13051 | 18290 | 数値化と文字列化の演算子をオーバーロードして、何をしているかをわかっていると |
| 13052 | 18291 | 仮定できるからです。 |
| 13053 | 18292 | |
| 13054 | =item Use of | |
| 18293 | =item Use of strings with code points over 0xFF as arguments to %s | |
| 18294 | operator is not allowed | |
| 13055 | 18295 | |
| 13056 | 18296 | =begin original |
| 13057 | 18297 | |
| 13058 | ( | |
| 18298 | (F) You tried to use one of the string bitwise operators (C<&> or C<|> or C<^> or | |
| 13059 | ||
| 18299 | C<~>) on a string containing a code point over 0xFF. The string bitwise | |
| 13060 | ||
| 18300 | operators treat their operands as strings of bytes, and values beyond | |
| 13061 | ||
| 18301 | 0xFF are nonsensical in this context. | |
| 13062 | suppressed for subroutine names by either adding a C<&> prefix, or using | |
| 13063 | a package qualifier, e.g. C<&our()>, or C<Foo::our()>. | |
| 13064 | 18302 | |
| 13065 | 18303 | =end original |
| 13066 | 18304 | |
| 13067 | ( | |
| 18305 | (F) 文字列ビット単位演算子 (C<&> や C<|> や C<^> や C<~>) の一つを | |
| 13068 | ||
| 18306 | 0xFF を超える符号位置を含む文字列に使おうとしました。 | |
| 13069 | ||
| 18307 | ビット単位文字列演算子はオペランドをバイト文字列として扱い、 | |
| 13070 | ||
| 18308 | 0xFF を超える値はこの文脈では無意味です。 | |
| 13071 | この警告は、サブルーチン名の前に C<&> を付ける(C<&our()>)か、 | |
| 13072 | パッケージ修飾子を付ける(C<Foo::our()>)ことで消すことができます。 | |
| 13073 | 18309 | |
| 18310 | =begin original | |
| 18311 | ||
| 18312 | Certain instances became fatal in Perl 5.28; others in perl 5.32. | |
| 18313 | ||
| 18314 | =end original | |
| 18315 | ||
| 18316 | 一部は Perl 5.28 で致命的エラーになりました; 残りは perl 5.32 です。 | |
| 18317 | ||
| 18318 | =item Use of strings with code points over 0xFF as arguments to vec is forbidden | |
| 18319 | ||
| 18320 | =begin original | |
| 18321 | ||
| 18322 | (F) You tried to use L<C<vec>|perlfunc/vec EXPR,OFFSET,BITS> | |
| 18323 | on a string containing a code point over 0xFF, which is nonsensical here. | |
| 18324 | ||
| 18325 | =end original | |
| 18326 | ||
| 18327 | (F) 0xFF を超える符号位置を含む文字列に対して | |
| 18328 | L<C<vec>|perlfunc/vec EXPR,OFFSET,BITS> を使おうとしました; | |
| 18329 | これはここでは意味がありません。 | |
| 18330 | ||
| 18331 | =begin original | |
| 18332 | ||
| 18333 | This became fatal in Perl 5.32. | |
| 18334 | ||
| 18335 | =end original | |
| 18336 | ||
| 18337 | これは Perl 5.32 で致命的エラーになりました。 | |
| 18338 | ||
| 13074 | 18339 | =item Use of tainted arguments in %s is deprecated |
| 13075 | 18340 | |
| 13076 | 18341 | =begin original |
| 13077 | 18342 | |
| 13078 | 18343 | (W taint, deprecated) You have supplied C<system()> or C<exec()> with multiple |
| 13079 | 18344 | arguments and at least one of them is tainted. This used to be allowed |
| 13080 | 18345 | but will become a fatal error in a future version of perl. Untaint your |
| 13081 | 18346 | arguments. See L<perlsec>. |
| 13082 | 18347 | |
| 13083 | 18348 | =end original |
| 13084 | 18349 | |
| 13085 | 18350 | (W taint, deprecated) C<system()> や C<exec()> に複数の引数を与えましたが、 |
| 13086 | 18351 | そのうち少なくとも一つが汚染されています。 |
| 13087 | 18352 | これは許されていましたが、将来のバージョンの perl では致命的エラーに |
| 13088 | 18353 | なるでしょう。 |
| 13089 | 18354 | 引数を浄化してください。 |
| 13090 | 18355 | L<perlsec> を参照してください。 |
| 13091 | 18356 | |
| 18357 | =item Use of unassigned code point or non-standalone grapheme for a | |
| 18358 | delimiter is not allowed | |
| 18359 | ||
| 18360 | =begin original | |
| 18361 | ||
| 18362 | (F) | |
| 18363 | A grapheme is what appears to a native-speaker of a language to be a | |
| 18364 | character. In Unicode (and hence Perl) a grapheme may actually be | |
| 18365 | several adjacent characters that together form a complete grapheme. For | |
| 18366 | example, there can be a base character, like "R" and an accent, like a | |
| 18367 | circumflex "^", that appear when displayed to be a single character with | |
| 18368 | the circumflex hovering over the "R". Perl currently allows things like | |
| 18369 | that circumflex to be delimiters of strings, patterns, I<etc>. When | |
| 18370 | displayed, the circumflex would look like it belongs to the character | |
| 18371 | just to the left of it. In order to move the language to be able to | |
| 18372 | accept graphemes as delimiters, we cannot allow the use of | |
| 18373 | delimiters which aren't graphemes by themselves. Also, a delimiter must | |
| 18374 | already be assigned (or known to be never going to be assigned) to try | |
| 18375 | to future-proof code, for otherwise code that works today would fail to | |
| 18376 | compile if the currently unassigned delimiter ends up being something | |
| 18377 | that isn't a stand-alone grapheme. Because Unicode is never going to | |
| 18378 | assign | |
| 18379 | L<non-character code points|perlunicode/Noncharacter code points>, nor | |
| 18380 | L<code points that are above the legal Unicode maximum| | |
| 18381 | perlunicode/Beyond Unicode code points>, those can be delimiters, and | |
| 18382 | their use is legal. | |
| 18383 | ||
| 18384 | =end original | |
| 18385 | ||
| 18386 | (F) | |
| 18387 | 書記素は言語のネイティブスピーカーにとって文字のように見えるものです。 | |
| 18388 | Unicode (従って Perl) では、 | |
| 18389 | 書記素は実際には互いに完全な書記素を形成するいくつかの隣接する | |
| 18390 | 文字かもしれません。 | |
| 18391 | 例えば、"R" のような基底文字と曲折アクセント "^" のような | |
| 18392 | アクセントかもしれません; これは表示されるときには | |
| 18393 | "R" の上に曲折アクセントがある単一の文字となります。 | |
| 18394 | Perl は現在の所曲折アクセントのようなものを文字列、パターンなどの | |
| 18395 | 区切り文字にすることを許しています。 | |
| 18396 | 表示されるとき、曲折アクセントは、 | |
| 18397 | そのすぐ左にある文字に付属するかのように見えます。 | |
| 18398 | 言語が書記素を区切り文字として受けいられられるようにするために、 | |
| 18399 | それ自体が書記素でない区切り文字の使用は認められません。 | |
| 18400 | また、区切り文字は将来も動作するコードであり続けるために、 | |
| 18401 | 既に割り当てられている(または決して割り当てられないと分かっている) | |
| 18402 | ものでなければなりません; | |
| 18403 | さもなければ、もし現在割り当てられていない書記素が単体の書記素でないものに | |
| 18404 | なった場合、今日動作しているコードがコンパイルに失敗することになります。 | |
| 18405 | Unicode は決して | |
| 18406 | L<非文字符号位置|perlunicode/Noncharacter code points> や | |
| 18407 | L<正当な Unicode の最大値より大きな符号位置| | |
| 18408 | perlunicode/Beyond Unicode code points> を割り当てないので、 | |
| 18409 | これらは区切り文字になることができ、これらの使用は正当です。 | |
| 18410 | ||
| 13092 | 18411 | =item Use of uninitialized value%s |
| 13093 | 18412 | |
| 13094 | 18413 | =begin original |
| 13095 | 18414 | |
| 13096 | 18415 | (W uninitialized) An undefined value was used as if it were already |
| 13097 | 18416 | defined. It was interpreted as a "" or a 0, but maybe it was a mistake. |
| 13098 | 18417 | To suppress this warning assign a defined value to your variables. |
| 13099 | 18418 | |
| 13100 | 18419 | =end original |
| 13101 | 18420 | |
| 13102 | 18421 | (W uninitialized) 未定義値を、あたかも既に定義されているかのように |
| 13103 | 18422 | 使用しました。 |
| 13104 | 18423 | これは、"" か 0 と解釈されますが、間違いの可能性があります。 |
| 13105 | 18424 | この警告を止めるには、変数に定義された値を代入してください。 |
| 13106 | 18425 | |
| 13107 | 18426 | =begin original |
| 13108 | 18427 | |
| 13109 | 18428 | To help you figure out what was undefined, perl will try to tell you |
| 13110 | 18429 | the name of the variable (if any) that was undefined. In some cases |
| 13111 | 18430 | it cannot do this, so it also tells you what operation you used the |
| 13112 | 18431 | undefined value in. Note, however, that perl optimizes your program |
| 13113 | an | |
| 18432 | and the operation displayed in the warning may not necessarily appear | |
| 13114 | 18433 | literally in your program. For example, C<"that $foo"> is usually |
| 13115 | 18434 | optimized into C<"that " . $foo>, and the warning will refer to the |
| 13116 | 18435 | C<concatenation (.)> operator, even though there is no C<.> in |
| 13117 | 18436 | your program. |
| 13118 | 18437 | |
| 13119 | 18438 | =end original |
| 13120 | 18439 | |
| 13121 | 18440 | 何が未定義なのかを見つけ出す助けにするために、perl は(あれば)未定義である |
| 13122 | 18441 | 変数名を示します。 |
| 13123 | 18442 | それができないような場合では、未定義値を使った操作を示します。 |
| 13124 | 18443 | しかし、perl がプログラムを最適化するので、文字通りにはプログラム中に |
| 13125 | 18444 | 現れない操作についての警告が表示されるかもしれないことに注意してください。 |
| 13126 | 18445 | 例えば、C<"that $foo"> は C<"that " . $foo> に最適化されるので、 |
| 13127 | 18446 | たとえプログラム中に C<連結 (.)> 演算子がなくても C<.> に関する警告が |
| 13128 | 18447 | 出ます。 |
| 13129 | 18448 | |
| 13130 | =item | |
| 18449 | =item "use re 'strict'" is experimental | |
| 13131 | 18450 | |
| 13132 | 18451 | =begin original |
| 13133 | 18452 | |
| 13134 | ( | |
| 18453 | (S experimental::re_strict) The things that are different when a regular | |
| 13135 | ||
| 18454 | expression pattern is compiled under C<'strict'> are subject to change | |
| 13136 | use | |
| 18455 | in future Perl releases in incompatible ways. This means that a pattern | |
| 13137 | ||
| 18456 | that compiles today may not in a future Perl release. This warning is | |
| 18457 | to alert you to that risk. | |
| 13138 | 18458 | |
| 13139 | 18459 | =end original |
| 13140 | 18460 | |
| 13141 | ( | |
| 18461 | (S experimental::re_strict) 正規表現が C<'strict'> の基で | |
| 13142 | ||
| 18462 | コンパイルされたときに何が異なるかは、 | |
| 13143 | ||
| 18463 | 将来の Perl のリリースで互換性のない形で変更される予定です。 | |
| 13144 | ||
| 18464 | つまり、今日コンパイルしたパターンは将来の Perl リリースのものとは | |
| 13145 | ||
| 18465 | 違うかもしれません。 | |
| 18466 | この警告はそのリスクを知らせるためのものです。 | |
| 13146 | 18467 | |
| 13147 | =item | |
| 18468 | =item use VERSION is not permitted while another use VERSION of 5.39 or above is in scope | |
| 13148 | 18469 | |
| 13149 | 18470 | =begin original |
| 13150 | 18471 | |
| 13151 | ( | |
| 18472 | (F) Once you have a C<use VERSION> declaration that calls for a Perl version | |
| 13152 | ||
| 18473 | of at least 5.39, you cannot have a subsequent one while the first is visible, | |
| 13153 | ||
| 18474 | even if it requests a later version. | |
| 13154 | and will be removed in a future version. | |
| 13155 | 18475 | |
| 13156 | 18476 | =end original |
| 13157 | 18477 | |
| 13158 | ( | |
| 18478 | (F) 一旦 5.39 以上の Perl バージョンを要求する C<use VERSION> を宣言すると、 | |
| 13159 | ||
| 18479 | 例えより新しいバージョンを要求する場合でも、 | |
| 13160 | ||
| 18480 | 最初の宣言が有効の間は引き続いて宣言することはできません。 | |
| 13161 | そうするべきではありません。 | |
| 13162 | これは今では非推奨であり、将来のバージョンでは削除されるでしょう。 | |
| 13163 | 18481 | |
| 13164 | =item | |
| 18482 | =item use VERSION of 5.39 or above is not permitted while another use VERSION is in scope | |
| 13165 | 18483 | |
| 13166 | 18484 | =begin original |
| 13167 | 18485 | |
| 13168 | ( | |
| 18486 | (F) Once you have a C<use VERSION> declaration in scope, you cannot have a | |
| 13169 | ||
| 18487 | subsequent one that calls for a Perl version of at least 5.39 while the first | |
| 13170 | ||
| 18488 | is visible. | |
| 13171 | 18489 | |
| 13172 | 18490 | =end original |
| 13173 | 18491 | |
| 13174 | ( | |
| 18492 | (F) 一旦スコープ内で C<use VERSION> を宣言すると、最初の宣言が有効の間は、 | |
| 13175 | ||
| 18493 | 引き続いて 5.39 以上の Perl バージョンを要求する宣言はできません。 | |
| 13176 | 最初のもの以外は捨てられます。 | |
| 13177 | 18494 | |
| 18495 | =item Use \x{...} for more than two hex characters in regex; marked by | |
| 18496 | S<<-- HERE> in m/%s/ | |
| 18497 | ||
| 18498 | =begin original | |
| 18499 | ||
| 18500 | (F) In a regular expression, you said something like | |
| 18501 | ||
| 18502 | =end original | |
| 18503 | ||
| 18504 | (F) 正規表現で、以下のようなことをしました | |
| 18505 | ||
| 18506 | (?[ [ \xBEEF ] ]) | |
| 18507 | ||
| 18508 | =begin original | |
| 18509 | ||
| 18510 | Perl isn't sure if you meant this | |
| 18511 | ||
| 18512 | =end original | |
| 18513 | ||
| 18514 | Perl は、これが以下のものを意味しているのか | |
| 18515 | ||
| 18516 | (?[ [ \x{BEEF} ] ]) | |
| 18517 | ||
| 18518 | =begin original | |
| 18519 | ||
| 18520 | or if you meant this | |
| 18521 | ||
| 18522 | =end original | |
| 18523 | ||
| 18524 | それとも次のものかがわかりません。 | |
| 18525 | ||
| 18526 | (?[ [ \x{BE} E F ] ]) | |
| 18527 | ||
| 18528 | =begin original | |
| 18529 | ||
| 18530 | You need to add either braces or blanks to disambiguate. | |
| 18531 | ||
| 18532 | =end original | |
| 18533 | ||
| 18534 | 明確にするために大かっこか空白を追加する必要があります。 | |
| 18535 | ||
| 18536 | =item Using just the first character returned by \N{} in character class in | |
| 18537 | regex; marked by S<<-- HERE> in m/%s/ | |
| 18538 | ||
| 18539 | =begin original | |
| 18540 | ||
| 18541 | (W regexp) Named Unicode character escapes C<(\N{...})> may return | |
| 18542 | a multi-character sequence. Even though a character class is | |
| 18543 | supposed to match just one character of input, perl will match | |
| 18544 | the whole thing correctly, except when the class is inverted | |
| 18545 | (C<[^...]>), or the escape is the beginning or final end point of | |
| 18546 | a range. For these, what should happen isn't clear at all. In | |
| 18547 | these circumstances, Perl discards all but the first character | |
| 18548 | of the returned sequence, which is not likely what you want. | |
| 18549 | ||
| 18550 | =end original | |
| 18551 | ||
| 18552 | (W regexp) 名前付き Unicode 文字エスケープ C<(\N{...})> は | |
| 18553 | 複数文字並びを返すことがあります。 | |
| 18554 | 文字クラスは入力のただ一つの文字にマッチングすることを想定していますが、 | |
| 18555 | perl は全体を正しくマッチングします; 但し例外は、 | |
| 18556 | クラスが反転された場合 (C<[^...]>) と、 | |
| 18557 | エスケープが範囲の始点か終点の場合です。 | |
| 18558 | これらの場合、何をするべきかは全く明らかではありません。 | |
| 18559 | このため、Perl は返された並びの最初以外の文字を捨てます; | |
| 18560 | おそらくこれはあなたが求めているものではないでしょう。 | |
| 18561 | ||
| 18562 | =item Using just the single character results returned by \p{} in | |
| 18563 | (?[...]) in regex; marked by S<<-- HERE> in m/%s/ | |
| 18564 | ||
| 18565 | =begin original | |
| 18566 | ||
| 18567 | (W regexp) Extended character classes currently cannot handle operands | |
| 18568 | that evaluate to more than one character. These are removed from the | |
| 18569 | results of the expansion of the C<\p{}>. | |
| 18570 | ||
| 18571 | =end original | |
| 18572 | ||
| 18573 | (W regexp) 拡張文字クラスは、現在の所、複数の文字に評価されるオペランドを | |
| 18574 | 扱うことは出来ません。 | |
| 18575 | これらは C<\p{}> の拡張の結果から取り除かれました。 | |
| 18576 | ||
| 18577 | =begin original | |
| 18578 | ||
| 18579 | This situation can happen, for example, in | |
| 18580 | ||
| 18581 | =end original | |
| 18582 | ||
| 18583 | この状況は、例えば次の場合に起こります: | |
| 18584 | ||
| 18585 | (?[ \p{name=/KATAKANA/} ]) | |
| 18586 | ||
| 18587 | =begin original | |
| 18588 | ||
| 18589 | "KATAKANA LETTER AINU P" is a legal Unicode name (technically a "named | |
| 18590 | sequence"), but it is actually two characters. The above expression | |
| 18591 | with match only the Unicode names containing KATAKANA that represent | |
| 18592 | single characters. | |
| 18593 | ||
| 18594 | =end original | |
| 18595 | ||
| 18596 | "KATAKANA LETTER AINU P" は正当な Unicode 名 (技術的には「名前付き並び」)ですが、 | |
| 18597 | 実際には二つの文字です。 | |
| 18598 | 前述の式は、単一の文字を表現する KATAKANA を含む Unicode 名のみに | |
| 18599 | マッチングします。 | |
| 18600 | ||
| 18601 | =item Using /u for '%s' instead of /%s in regex; marked by S<<-- HERE> in m/%s/ | |
| 18602 | ||
| 18603 | =begin original | |
| 18604 | ||
| 18605 | (W regexp) You used a Unicode boundary (C<\b{...}> or C<\B{...}>) in a | |
| 18606 | portion of a regular expression where the character set modifiers C</a> | |
| 18607 | or C</aa> are in effect. These two modifiers indicate an ASCII | |
| 18608 | interpretation, and this doesn't make sense for a Unicode definition. | |
| 18609 | The generated regular expression will compile so that the boundary uses | |
| 18610 | all of Unicode. No other portion of the regular expression is affected. | |
| 18611 | ||
| 18612 | =end original | |
| 18613 | ||
| 18614 | (W regexp) 文字集合修飾子 C</a> または C</aa> が有効の場合に正規表現の一部で | |
| 18615 | Unicode 境界 (C<\b{...}> または C<\B{...}>) を使いました。 | |
| 18616 | これら二つの修飾子は ASCII での解釈を示していて、これは | |
| 18617 | Unicode の定義では意味がありません。 | |
| 18618 | 生成された正規表現は、境界は全て Unicode としてコンパイルします。 | |
| 18619 | 正規表現のその他の部分は影響を受けません。 | |
| 18620 | ||
| 13178 | 18621 | =item Using !~ with %s doesn't make sense |
| 13179 | 18622 | |
| 13180 | 18623 | =begin original |
| 13181 | 18624 | |
| 13182 | 18625 | (F) Using the C<!~> operator with C<s///r>, C<tr///r> or C<y///r> is |
| 13183 | currently reserved for future use, as the exact behavio | |
| 18626 | currently reserved for future use, as the exact behavior has not | |
| 13184 | 18627 | been decided. (Simply returning the boolean opposite of the |
| 13185 | 18628 | modified string is usually not particularly useful.) |
| 13186 | 18629 | |
| 13187 | 18630 | =end original |
| 13188 | 18631 | |
| 13189 | 18632 | (F) C<s///r>, C<tr///r>, C<y///r> での C<!~> 演算子の使用は、正確な振る舞いが |
| 13190 | 18633 | まだ決定されていないので、将来の使用のために予約されています。 |
| 13191 | 18634 | (単に修正された文字列の真偽値としての逆を返すのは普通特に |
| 13192 | 18635 | 有用ではありません。) |
| 13193 | 18636 | |
| 13194 | 18637 | =item UTF-16 surrogate U+%X |
| 13195 | 18638 | |
| 13196 | 18639 | =begin original |
| 13197 | 18640 | |
| 13198 | ( | |
| 18641 | (S surrogate) You had a UTF-16 surrogate in a context where they are | |
| 13199 | 18642 | not considered acceptable. These code points, between U+D800 and |
| 13200 | 18643 | U+DFFF (inclusive), are used by Unicode only for UTF-16. However, Perl |
| 13201 | 18644 | internally allows all unsigned integer code points (up to the size limit |
| 13202 | 18645 | available on your platform), including surrogates. But these can cause |
| 13203 | 18646 | problems when being input or output, which is likely where this message |
| 13204 | 18647 | came from. If you really really know what you are doing you can turn |
| 13205 | 18648 | off this warning by C<no warnings 'surrogate';>. |
| 13206 | 18649 | |
| 13207 | 18650 | =end original |
| 13208 | 18651 | |
| 13209 | ( | |
| 18652 | (S surrogate) 受け付けられないと考えられる場所に UTF-16 サロゲートを | |
| 13210 | 18653 | 使いました。 |
| 13211 | 18654 | これらの符号位置、U+D800 から U+DFFF (両端含む) は UTF-16 のためだけに |
| 13212 | 18655 | Unicode によって使われます。 |
| 13213 | 18656 | しかし Perl は、サロゲートを含む、内部で全ての符号なし整数の符号位置(最大値は |
| 13214 | 18657 | プラットフォームで利用可能なサイズ上限)を受け付けます。 |
| 13215 | 18658 | しかし、これらは入力や出力になるときに問題を引き起こします; それは |
| 13216 | 18659 | おそらくこのメッセージが出た場所です。 |
| 13217 | 18660 | 自分で何をしているのかが本当に本当に分かっているなら、 |
| 13218 | 18661 | C<no warnings 'surrogate';> とすることでこの警告をオフにできます。 |
| 13219 | 18662 | |
| 13220 | 18663 | =item Value of %s can be "0"; test with defined() |
| 13221 | 18664 | |
| 13222 | 18665 | =begin original |
| 13223 | 18666 | |
| 13224 | 18667 | (W misc) In a conditional expression, you used <HANDLE>, <*> (glob), |
| 13225 | 18668 | C<each()>, or C<readdir()> as a boolean value. Each of these constructs |
| 13226 | 18669 | can return a value of "0"; that would make the conditional expression |
| 13227 | 18670 | false, which is probably not what you intended. When using these |
| 13228 | 18671 | constructs in conditional expressions, test their values with the |
| 13229 | 18672 | C<defined> operator. |
| 13230 | 18673 | |
| 13231 | 18674 | =end original |
| 13232 | 18675 | |
| 13233 | 18676 | (W misc) 条件式の中で、<HANDLE>, <*> (グロブ), C<each()>, C<readdir()> を |
| 13234 | 18677 | 真偽値として使いました。 |
| 13235 | 18678 | これらの構文は値 "0" を返すことがあります; これは条件式では偽を示しますが、 |
| 13236 | 18679 | これはおそらく望んでいることではないでしょう。 |
| 13237 | 18680 | これらの構文を条件式の中で使うときは、その値を C<defined> 演算子で |
| 13238 | 18681 | テストしてください。 |
| 13239 | 18682 | |
| 13240 | 18683 | =item Value of CLI symbol "%s" too long |
| 13241 | 18684 | |
| 13242 | 18685 | =begin original |
| 13243 | 18686 | |
| 13244 | 18687 | (W misc) A warning peculiar to VMS. Perl tried to read the value of an |
| 13245 | 18688 | %ENV element from a CLI symbol table, and found a resultant string |
| 13246 | 18689 | longer than 1024 characters. The return value has been truncated to |
| 13247 | 18690 | 1024 characters. |
| 13248 | 18691 | |
| 13249 | 18692 | =end original |
| 13250 | 18693 | |
| 13251 | 18694 | (W misc) VMS に固有の警告です。 |
| 13252 | 18695 | Perl は CLI シンボルテーブルから %ENV 要素の値を読み込もうとしましたが、 |
| 13253 | 18696 | 結果の文字列が 1024 文字を越えました。 |
| 13254 | 18697 | 返り値は 1024 文字に切り詰められます。 |
| 13255 | 18698 | |
| 13256 | 18699 | =item Variable "%s" is not available |
| 13257 | 18700 | |
| 13258 | 18701 | =begin original |
| 13259 | 18702 | |
| 13260 | 18703 | (W closure) During compilation, an inner named subroutine or eval is |
| 13261 | 18704 | attempting to capture an outer lexical that is not currently available. |
| 13262 | 18705 | This can happen for one of two reasons. First, the outer lexical may be |
| 13263 | 18706 | declared in an outer anonymous subroutine that has not yet been created. |
| 13264 | 18707 | (Remember that named subs are created at compile time, while anonymous |
| 13265 | 18708 | subs are created at run-time.) For example, |
| 13266 | 18709 | |
| 13267 | 18710 | =end original |
| 13268 | 18711 | |
| 13269 | 18712 | (W closure) コンパイル中に、内側の名前付きサブルーチンや eval が |
| 13270 | 18713 | まだ利用可能でない外側のレキシカルを捕捉しようとしました。 |
| 13271 | これは二つの理由 | |
| 18714 | これは二つの理由で起こります。 | |
| 13272 | 18715 | まず、外側のレキシカルが、まだ作成されていない外側の無名サブルーチンで |
| 13273 | 18716 | 定義されている場合です。 |
| 13274 | 18717 | (名前付きサブルーチンはコンパイル時に作成されますが、無名サブルーチンは |
| 13275 | 18718 | 実行時に作成されることを思い出してください。) |
| 13276 | 18719 | 例えば、 |
| 13277 | 18720 | |
| 13278 | sub { my $ | |
| 18721 | sub { my $x; sub f { $x } } | |
| 13279 | 18722 | |
| 13280 | 18723 | =begin original |
| 13281 | 18724 | |
| 13282 | At the time that f is created, it can't capture the current value of $ | |
| 18725 | At the time that f is created, it can't capture the current value of $x, | |
| 13283 | 18726 | since the anonymous subroutine hasn't been created yet. Conversely, |
| 13284 | 18727 | the following won't give a warning since the anonymous subroutine has by |
| 13285 | 18728 | now been created and is live: |
| 13286 | 18729 | |
| 13287 | 18730 | =end original |
| 13288 | 18731 | |
| 13289 | f が作成された時点で、$ | |
| 18732 | f が作成された時点で、$x の現在の値を捕捉できません; | |
| 13290 | 18733 | なぜなら無名サブルーチンはまだ作成されていないからです。 |
| 13291 | 逆に、以下のものは | |
| 18734 | 逆に、以下のものは警告されません; 無名サブルーチンはこの時点で作成されていて | |
| 13292 | ||
| 18735 | 生きているからです: | |
| 13293 | 18736 | |
| 13294 | sub { my $ | |
| 18737 | sub { my $x; eval 'sub f { $x }' }->(); | |
| 13295 | 18738 | |
| 13296 | 18739 | =begin original |
| 13297 | 18740 | |
| 13298 | 18741 | The second situation is caused by an eval accessing a variable that has |
| 13299 | 18742 | gone out of scope, for example, |
| 13300 | 18743 | |
| 13301 | 18744 | =end original |
| 13302 | 18745 | |
| 13303 | 18746 | 2 番目の状況は eval がスコープ外となった変数にアクセスすることで起こります; |
| 13304 | 18747 | 例えば: |
| 13305 | 18748 | |
| 13306 | 18749 | sub f { |
| 13307 | my $ | |
| 18750 | my $x; | |
| 13308 | sub { eval '$ | |
| 18751 | sub { eval '$x' } | |
| 13309 | 18752 | } |
| 13310 | 18753 | f()->(); |
| 13311 | 18754 | |
| 13312 | 18755 | =begin original |
| 13313 | 18756 | |
| 13314 | Here, when the '$ | |
| 18757 | Here, when the '$x' in the eval is being compiled, f() is not currently | |
| 13315 | executed, so its $ | |
| 18758 | being executed, so its $x is not available for capture. | |
| 13316 | 18759 | |
| 13317 | 18760 | =end original |
| 13318 | 18761 | |
| 13319 | ここで、eval の中の '$ | |
| 18762 | ここで、eval の中の '$x' がコンパイルされるとき、f() はまだ | |
| 13320 | 実行されていないので、この $ | |
| 18763 | 実行されていないので、この $x は捕捉出来ません。 | |
| 13321 | 18764 | |
| 13322 | 18765 | =item Variable "%s" is not imported%s |
| 13323 | 18766 | |
| 13324 | 18767 | =begin original |
| 13325 | 18768 | |
| 13326 | ( | |
| 18769 | (S misc) With "use strict" in effect, you referred to a global variable | |
| 13327 | 18770 | that you apparently thought was imported from another module, because |
| 13328 | 18771 | something else of the same name (usually a subroutine) is exported by |
| 13329 | 18772 | that module. It usually means you put the wrong funny character on the |
| 13330 | front of your variable. | |
| 18773 | front of your variable. It is also possible you used an "our" variable | |
| 18774 | whose scope has ended. | |
| 13331 | 18775 | |
| 13332 | 18776 | =end original |
| 13333 | 18777 | |
| 13334 | ( | |
| 18778 | (S misc) "use strict" が有効のときに、見たところ他のモジュールから | |
| 13335 | 18779 | インポートされたとあなたが考えたグローバル変数を参照しました; |
| 13336 | 18780 | なぜなら同じ名前の何か他のもの(通常はサブルーチン)がそのモジュールから |
| 13337 | 18781 | エクスポートされています。 |
| 13338 | 18782 | これは普通は変数の前に間違ったおかしな文字を置いたことを意味します。 |
| 18783 | スコープが終わっている "our" 変数を使った可能性もあります。 | |
| 13339 | 18784 | |
| 13340 | =item Variable length lookbehind not implemented in m/%s/ | |
| 18785 | =item Variable length lookbehind not implemented in regex m/%s/ | |
| 13341 | 18786 | |
| 13342 | 18787 | =begin original |
| 13343 | 18788 | |
| 13344 | (F) | |
| 18789 | (F) B<This message no longer should be raised as of Perl 5.30.> It is | |
| 13345 | ||
| 18790 | retained in this document as a convenience for people using an earlier | |
| 18791 | Perl version. | |
| 13346 | 18792 | |
| 13347 | 18793 | =end original |
| 13348 | 18794 | |
| 13349 | (F) | |
| 18795 | (F) B<このメッセージは Perl 5.30 からもはや発生しません。> | |
| 13350 | ||
| 18796 | これはより古いバージョンの Perl を使っている人々が便利なように | |
| 18797 | この文書に残しています。 | |
| 13351 | 18798 | |
| 18799 | =begin original | |
| 18800 | ||
| 18801 | In Perl 5.30 and earlier, lookbehind is allowed | |
| 18802 | only for subexpressions whose length is fixed and | |
| 18803 | known at compile time. For positive lookbehind, you can use the C<\K> | |
| 18804 | regex construct as a way to get the equivalent functionality. See | |
| 18805 | L<(?<=pattern) and \K in perlre|perlre/\K>. | |
| 18806 | ||
| 18807 | =end original | |
| 18808 | ||
| 18809 | Perl 5.30 以前では、後方参照は長さが固定で、 | |
| 18810 | コンパイル時に確定している副式に対してのみ可能です。 | |
| 18811 | 正の後方参照では、等価な機能を得るために C<\K> 正規表現構文が使えます。 | |
| 18812 | L<(?<=pattern) and \K in perlre|perlre/\K> を参照してください。 | |
| 18813 | ||
| 18814 | =begin original | |
| 18815 | ||
| 18816 | Starting in Perl 5.18, there are non-obvious Unicode rules under C</i> | |
| 18817 | that can match variably, but which you might not think could. For | |
| 18818 | example, the substring C<"ss"> can match the single character LATIN | |
| 18819 | SMALL LETTER SHARP S. Here's a complete list of the current ones | |
| 18820 | affecting ASCII characters: | |
| 18821 | ||
| 18822 | =end original | |
| 18823 | ||
| 18824 | Perl 5.18 から、C</i> の下では、おそらくあなたが考えていないような | |
| 18825 | 種類のものにマッチングするという、明確でない Unicode の規則があります。 | |
| 18826 | 例えば、部分文字列 C<"ss"> は単一文字 LATIN SMALL LETTER SHARP S に | |
| 18827 | マッチングします。 | |
| 18828 | 以下は ASCII 文字に影響を与える現在のものの完全な一覧です: | |
| 18829 | ||
| 18830 | ASCII | |
| 18831 | sequence Matches single letter under /i | |
| 18832 | FF U+FB00 LATIN SMALL LIGATURE FF | |
| 18833 | FFI U+FB03 LATIN SMALL LIGATURE FFI | |
| 18834 | FFL U+FB04 LATIN SMALL LIGATURE FFL | |
| 18835 | FI U+FB01 LATIN SMALL LIGATURE FI | |
| 18836 | FL U+FB02 LATIN SMALL LIGATURE FL | |
| 18837 | SS U+00DF LATIN SMALL LETTER SHARP S | |
| 18838 | U+1E9E LATIN CAPITAL LETTER SHARP S | |
| 18839 | ST U+FB06 LATIN SMALL LIGATURE ST | |
| 18840 | U+FB05 LATIN SMALL LIGATURE LONG S T | |
| 18841 | ||
| 18842 | =begin original | |
| 18843 | ||
| 18844 | This list is subject to change, but is quite unlikely to. | |
| 18845 | Each ASCII sequence can be any combination of upper- and lowercase. | |
| 18846 | ||
| 18847 | =end original | |
| 18848 | ||
| 18849 | この一覧は変更されるかもしれませんが、かなり起こりにくいです。 | |
| 18850 | それぞれの ASCII 並びは大文字と小文字が組み合わさっている場合もあります。 | |
| 18851 | ||
| 18852 | =begin original | |
| 18853 | ||
| 18854 | You can avoid this by using a bracketed character class in the | |
| 18855 | lookbehind assertion, like | |
| 18856 | ||
| 18857 | =end original | |
| 18858 | ||
| 18859 | 次のように、後読み言明で大かっこ文字クラスを使うことでこれを防げます: | |
| 18860 | ||
| 18861 | (?<![sS]t) | |
| 18862 | (?<![fF]f[iI]) | |
| 18863 | ||
| 18864 | =begin original | |
| 18865 | ||
| 18866 | This fools Perl into not matching the ligatures. | |
| 18867 | ||
| 18868 | =end original | |
| 18869 | ||
| 18870 | これは合字にマッチングしないように Perl を騙します。 | |
| 18871 | ||
| 18872 | =begin original | |
| 18873 | ||
| 18874 | Another option for Perls starting with 5.16, if you only care about | |
| 18875 | ASCII matches, is to add the C</aa> modifier to the regex. This will | |
| 18876 | exclude all these non-obvious matches, thus getting rid of this message. | |
| 18877 | You can also say | |
| 18878 | ||
| 18879 | =end original | |
| 18880 | ||
| 18881 | Perl v5.16 からのもう一つの選択肢は、 | |
| 18882 | もし ASCII のマッチングにだけ関心があるのなら、 | |
| 18883 | 正規表現に C</aa> を追加することです。 | |
| 18884 | これにより、明確でないマッチングを全て | |
| 18885 | 除くことができるので、このメッセージを避けられます。 | |
| 18886 | また、次のようにすることで: | |
| 18887 | ||
| 18888 | use if $] ge 5.016, re => '/aa'; | |
| 18889 | ||
| 18890 | =begin original | |
| 18891 | ||
| 18892 | to apply C</aa> to all regular expressions compiled within its scope. | |
| 18893 | See L<re>. | |
| 18894 | ||
| 18895 | =end original | |
| 18896 | ||
| 18897 | スコープ内でコンパイルされた全ての正規表現に対して C</aa> を適用します。 | |
| 18898 | L<re> を参照してください。 | |
| 18899 | ||
| 18900 | =item Variable length positive lookbehind with capturing is experimental in regex m/%s/ | |
| 18901 | ||
| 18902 | =begin original | |
| 18903 | ||
| 18904 | (W) Variable length positive lookbehind with capturing is not well defined. This | |
| 18905 | warning alerts you to the fact that you are using a construct which may | |
| 18906 | change in a future version of perl. See the | |
| 18907 | L<< documentation of Positive Lookbehind in perlre|perlre/"C<(?<=I<pattern>)>" >> | |
| 18908 | for details. You may silence this warning with the following: | |
| 18909 | ||
| 18910 | =end original | |
| 18911 | ||
| 18912 | (W) 捕捉バッファ付きの正の可変長後読みは未定義です。 | |
| 18913 | この警告は、将来のバージョンの perl で変更されるかも知れない構文を | |
| 18914 | 使っているという事実を警告します。 | |
| 18915 | 詳しくは | |
| 18916 | L<< documentation of Positive Lookbehind in perlre|perlre/"C<(?<=I<pattern>)>" >> | |
| 18917 | を参照してください。 | |
| 18918 | 次のようにすることでこの警告を消せます: | |
| 18919 | ||
| 18920 | no warnings 'experimental::vlb'; | |
| 18921 | ||
| 18922 | =item Variable length negative lookbehind with capturing is experimental in regex m/%s/ | |
| 18923 | ||
| 18924 | =begin original | |
| 18925 | ||
| 18926 | (W) Variable length negative lookbehind with capturing is not well defined. This | |
| 18927 | warning alerts you to the fact that you are using a construct which may | |
| 18928 | change in a future version of perl. See the | |
| 18929 | L<< documentation of Negative Lookbehind in perlre|perlre/"C<(?<!I<pattern>)>" >> | |
| 18930 | for details. You may silence this warning with the following: | |
| 18931 | ||
| 18932 | =end original | |
| 18933 | ||
| 18934 | (W) 捕捉バッファ付きの負の可変長後読みは未定義です。 | |
| 18935 | この警告は、将来のバージョンの perl で変更されるかも知れない構文を | |
| 18936 | 使っているという事実を警告します。 | |
| 18937 | 詳しくは | |
| 18938 | L<< documentation of Negative Lookbehind in perlre|perlre/"C<(?<!I<pattern>)>" >> | |
| 18939 | を参照してください。 | |
| 18940 | 次のようにすることでこの警告を消せます: | |
| 18941 | ||
| 18942 | no warnings 'experimental::vlb'; | |
| 18943 | ||
| 13352 | 18944 | =item "%s" variable %s masks earlier declaration in same %s |
| 13353 | 18945 | |
| 13354 | 18946 | =begin original |
| 13355 | 18947 | |
| 13356 | (W | |
| 18948 | (W shadow) A "my", "our", "state" or "field" variable has been redeclared in | |
| 13357 | current scope or statement, effectively eliminating all access to the | |
| 18949 | the current scope or statement, effectively eliminating all access to the | |
| 13358 | 18950 | previous instance. This is almost always a typographical error. Note |
| 13359 | 18951 | that the earlier variable will still exist until the end of the scope |
| 13360 | or until all closure referen | |
| 18952 | or until all closure references to it are destroyed. | |
| 13361 | 18953 | |
| 13362 | 18954 | =end original |
| 13363 | 18955 | |
| 13364 | (W | |
| 18956 | (W shadow) 現在のスコープや文で "my", "our", "state", "field" 変数が | |
| 13365 | 以前の実体への全てのアクセスができなくなりました。 | |
| 18957 | 再宣言されたので、以前の実体への全てのアクセスができなくなりました。 | |
| 13366 | これはほとんど | |
| 18958 | これはほとんど常にタイプミスです。 | |
| 13367 | 18959 | 以前の変数は、スコープが終わるか、それを参照している全てのクロージャが |
| 13368 | 18960 | 破壊されるまでは存在し続けることに注意してください。 |
| 13369 | 18961 | |
| 13370 | 18962 | =item Variable syntax |
| 13371 | 18963 | |
| 13372 | 18964 | =begin original |
| 13373 | 18965 | |
| 13374 | 18966 | (A) You've accidentally run your script through B<csh> instead |
| 13375 | 18967 | of Perl. Check the #! line, or manually feed your script into |
| 13376 | 18968 | Perl yourself. |
| 13377 | 18969 | |
| 13378 | 18970 | =end original |
| 13379 | 18971 | |
| 13380 | 18972 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
| 13381 | #! 行を | |
| 18973 | #! 行を確認するか、スクリプトを手動で Perl に渡してください。 | |
| 13382 | 18974 | |
| 13383 | 18975 | =item Variable "%s" will not stay shared |
| 13384 | 18976 | |
| 13385 | 18977 | =begin original |
| 13386 | 18978 | |
| 13387 | 18979 | (W closure) An inner (nested) I<named> subroutine is referencing a |
| 13388 | 18980 | lexical variable defined in an outer named subroutine. |
| 13389 | 18981 | |
| 13390 | 18982 | =end original |
| 13391 | 18983 | |
| 13392 | 18984 | (W closure) 内部の(ネストした) I<名前付き> サブルーチンが、 |
| 13393 | 18985 | 外側の名前付きサブルーチンで定義したレキシカル変数を参照しています。 |
| 13394 | 18986 | |
| 13395 | 18987 | =begin original |
| 13396 | 18988 | |
| 13397 | 18989 | When the inner subroutine is called, it will see the value of |
| 13398 | 18990 | the outer subroutine's variable as it was before and during the *first* |
| 13399 | 18991 | call to the outer subroutine; in this case, after the first call to the |
| 13400 | 18992 | outer subroutine is complete, the inner and outer subroutines will no |
| 13401 | 18993 | longer share a common value for the variable. In other words, the |
| 13402 | 18994 | variable will no longer be shared. |
| 13403 | 18995 | |
| 13404 | 18996 | =end original |
| 13405 | 18997 | |
| 13406 | 内側のサブルーチンが呼び出され | |
| 18998 | 内側のサブルーチンが呼び出されるとき、 | |
| 13407 | サブルーチン | |
| 18999 | 外側のサブルーチンの変数の値は、 | |
| 13408 | ||
| 19000 | 「最初の」外側のサブルーチンへの呼び出し前および呼び出し中のものになります; | |
| 13409 | 外側のサブルーチン | |
| 19001 | この場合、外側のサブルーチンへの最初の呼び出しが終了した後、 | |
| 13410 | ||
| 19002 | 内側と外側のサブルーチンはこの変数に関して同じ値を共有しなくなります。 | |
| 19003 | 言い換えると、この変数はもはや共有されません。 | |
| 13411 | 19004 | |
| 13412 | 19005 | =begin original |
| 13413 | 19006 | |
| 13414 | 19007 | This problem can usually be solved by making the inner subroutine |
| 13415 | 19008 | anonymous, using the C<sub {}> syntax. When inner anonymous subs that |
| 13416 | 19009 | reference variables in outer subroutines are created, they |
| 13417 | 19010 | are automatically rebound to the current values of such variables. |
| 13418 | 19011 | |
| 13419 | 19012 | =end original |
| 13420 | 19013 | |
| 13421 | 19014 | この問題は普通、C<sub {}> 構文を使って内側のサブルーチンを無名にすることで |
| 13422 | 19015 | 解決します。 |
| 13423 | 19016 | 外側のサブルーチンの変数を参照している内側の無名サブルーチンが |
| 13424 | 19017 | 作成されたとき、これらはそのような変数の現在の値に自動的に回復します。 |
| 13425 | 19018 | |
| 13426 | 19019 | =item vector argument not supported with alpha versions |
| 13427 | 19020 | |
| 13428 | 19021 | =begin original |
| 13429 | 19022 | |
| 13430 | ( | |
| 19023 | (S printf) The %vd (s)printf format does not support version objects | |
| 13431 | 19024 | with alpha parts. |
| 13432 | 19025 | |
| 13433 | 19026 | =end original |
| 13434 | 19027 | |
| 13435 | ( | |
| 19028 | (S printf) %vd (s)printf フォーマットはアルファ部分のある | |
| 13436 | 19029 | バージョンオブジェクトに対応していません。 |
| 13437 | 19030 | |
| 13438 | =item Verb pattern '%s' has a mandatory argument in regex; marked by | |
| 19031 | =item Verb pattern '%s' has a mandatory argument in regex; marked by | |
| 19032 | S<<-- HERE> in m/%s/ | |
| 13439 | 19033 | |
| 13440 | 19034 | =begin original |
| 13441 | 19035 | |
| 13442 | 19036 | (F) You used a verb pattern that requires an argument. Supply an |
| 13443 | 19037 | argument or check that you are using the right verb. |
| 13444 | 19038 | |
| 13445 | 19039 | =end original |
| 13446 | 19040 | |
| 13447 | 19041 | (F) 引き数が必要な動詞パターンを使いました。 |
| 13448 | 19042 | 引き数を追加するか、正しい動詞を使ってください。 |
| 13449 | 19043 | |
| 13450 | =item Verb pattern '%s' may not have an argument in regex; marked by | |
| 19044 | =item Verb pattern '%s' may not have an argument in regex; marked by | |
| 19045 | S<<-- HERE> in m/%s/ | |
| 13451 | 19046 | |
| 13452 | 19047 | =begin original |
| 13453 | 19048 | |
| 13454 | 19049 | (F) You used a verb pattern that is not allowed an argument. Remove the |
| 13455 | 19050 | argument or check that you are using the right verb. |
| 13456 | 19051 | |
| 13457 | 19052 | =end original |
| 13458 | 19053 | |
| 13459 | 19054 | (F) 引き数が認められていない動詞パターンを使いました。 |
| 13460 | 19055 | 引き数を削除するか、正しい動詞を使ってください。 |
| 13461 | 19056 | |
| 19057 | =item Version control conflict marker | |
| 19058 | ||
| 19059 | =begin original | |
| 19060 | ||
| 19061 | (F) The parser found a line starting with C<E<lt><<<<<<>, | |
| 19062 | C<E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>>, or C<=======>. These may be left by a | |
| 19063 | version control system to mark conflicts after a failed merge operation. | |
| 19064 | ||
| 19065 | =end original | |
| 19066 | ||
| 19067 | (F) パーサは C<E<lt><<<<<<>, | |
| 19068 | C<E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>>, C<=======> で始まる行を発見しました。 | |
| 19069 | これらはマージ操作に失敗したあと衝突を記録するために | |
| 19070 | バージョン制御システムによって残されたものかもしれません。 | |
| 19071 | ||
| 13462 | 19072 | =item Version number must be a constant number |
| 13463 | 19073 | |
| 13464 | 19074 | =begin original |
| 13465 | 19075 | |
| 13466 | 19076 | (P) The attempt to translate a C<use Module n.n LIST> statement into |
| 13467 | 19077 | its equivalent C<BEGIN> block found an internal inconsistency with |
| 13468 | 19078 | the version number. |
| 13469 | 19079 | |
| 13470 | 19080 | =end original |
| 13471 | 19081 | |
| 13472 | 19082 | (P) C<use Module n.n LIST> 文を等価な C<BEGIN> ブロックに変換しようと |
| 13473 | 19083 | したときに、バージョン番号について内部の不整合を発見しました。 |
| 13474 | 19084 | |
| 13475 | 19085 | =item Version string '%s' contains invalid data; ignoring: '%s' |
| 13476 | 19086 | |
| 13477 | 19087 | =begin original |
| 13478 | 19088 | |
| 13479 | 19089 | (W misc) The version string contains invalid characters at the end, which |
| 13480 | 19090 | are being ignored. |
| 13481 | 19091 | |
| 13482 | 19092 | =end original |
| 13483 | 19093 | |
| 13484 | 19094 | (W misc) バージョン文字列の末尾に不正な文字が含まれていたので、その文字は |
| 13485 | 19095 | 無視されます。 |
| 13486 | 19096 | |
| 13487 | 19097 | =item Warning: something's wrong |
| 13488 | 19098 | |
| 13489 | 19099 | =begin original |
| 13490 | 19100 | |
| 13491 | 19101 | (W) You passed warn() an empty string (the equivalent of C<warn "">) or |
| 13492 | 19102 | you called it with no args and C<$@> was empty. |
| 13493 | 19103 | |
| 13494 | 19104 | =end original |
| 13495 | 19105 | |
| 13496 | 19106 | (W) warn() に空文字列を渡した (C<warn ""> と透過です) か、 |
| 13497 | 19107 | 引数なしで呼び出され、C<$@> も空でした。 |
| 13498 | 19108 | |
| 13499 | 19109 | =item Warning: unable to close filehandle %s properly |
| 13500 | 19110 | |
| 13501 | 19111 | =begin original |
| 13502 | 19112 | |
| 13503 | 19113 | (S) The implicit close() done by an open() got an error indication on |
| 13504 | 19114 | the close(). This usually indicates your file system ran out of disk |
| 13505 | 19115 | space. |
| 13506 | 19116 | |
| 13507 | 19117 | =end original |
| 13508 | 19118 | |
| 13509 | 19119 | (S) open() によって暗黙のうちに行なわれる close() が、 |
| 13510 | 19120 | close() のエラーとなりました。 |
| 13511 | 19121 | 通常、ファイルシステムがいっぱいであることを示します。 |
| 13512 | 19122 | |
| 19123 | =item Warning: unable to close filehandle properly: %s | |
| 19124 | ||
| 19125 | =item Warning: unable to close filehandle %s properly: %s | |
| 19126 | ||
| 19127 | =begin original | |
| 19128 | ||
| 19129 | (S io) There were errors during the implicit close() done on a filehandle | |
| 19130 | when its reference count reached zero while it was still open, e.g.: | |
| 19131 | ||
| 19132 | =end original | |
| 19133 | ||
| 19134 | (S io) まだ開いているけれども参照カウントがゼロになったときに | |
| 19135 | ファイルハンドルに対して行われる暗黙の close() 中にエラーが起きました; | |
| 19136 | 例えば: | |
| 19137 | ||
| 19138 | { | |
| 19139 | open my $fh, '>', $file or die "open: '$file': $!\n"; | |
| 19140 | print $fh $data or die "print: $!"; | |
| 19141 | } # implicit close here | |
| 19142 | ||
| 19143 | =begin original | |
| 19144 | ||
| 19145 | Because various errors may only be detected by close() (e.g. buffering could | |
| 19146 | allow the C<print> in this example to return true even when the disk is full), | |
| 19147 | it is dangerous to ignore its result. So when it happens implicitly, perl | |
| 19148 | will signal errors by warning. | |
| 19149 | ||
| 19150 | =end original | |
| 19151 | ||
| 19152 | 様々なエラーは close() によってのみ検出される | |
| 19153 | (バッファリングによって、この例の C<print> はディスクフルの場合でも | |
| 19154 | 真を返すことが可能です)ので、 | |
| 19155 | その結果を無視するのは危険です。 | |
| 19156 | 従って、それが暗黙に起きたとき、perl は警告によってエラーを知らせます。 | |
| 19157 | ||
| 19158 | =begin original | |
| 19159 | ||
| 19160 | B<Prior to version 5.22.0, perl ignored such errors>, so the common idiom shown | |
| 19161 | above was liable to cause B<silent data loss>. | |
| 19162 | ||
| 19163 | =end original | |
| 19164 | ||
| 19165 | B<バージョン 5.22.0 より前では、perl はこのようなエラーを無視していました>; | |
| 19166 | 従って、前述のような一般的な慣用句は | |
| 19167 | B<暗黙なデータの損失> を引き起こすことがありました。 | |
| 19168 | ||
| 13513 | 19169 | =item Warning: Use of "%s" without parentheses is ambiguous |
| 13514 | 19170 | |
| 13515 | 19171 | =begin original |
| 13516 | 19172 | |
| 13517 | 19173 | (S ambiguous) You wrote a unary operator followed by something that |
| 13518 | 19174 | looks like a binary operator that could also have been interpreted as a |
| 13519 | 19175 | term or unary operator. For instance, if you know that the rand |
| 13520 | 19176 | function has a default argument of 1.0, and you write |
| 13521 | 19177 | |
| 13522 | 19178 | =end original |
| 13523 | 19179 | |
| 13524 | 19180 | (S ambiguous) 単項演算子の後に、何か項にも単項演算子にも解釈できる、 |
| 13525 | 19181 | 二項演算子のようなものが置かれました。 |
| 13526 | 19182 | たとえば、rand 関数がデフォルトの引数として、1.0 をとることを知って |
| 13527 | 19183 | いれば、以下のように書いて: |
| 13528 | 19184 | |
| 13529 | 19185 | rand + 5; |
| 13530 | 19186 | |
| 13531 | 19187 | =begin original |
| 13532 | 19188 | |
| 13533 | 19189 | you may THINK you wrote the same thing as |
| 13534 | 19190 | |
| 13535 | 19191 | =end original |
| 13536 | 19192 | |
| 13537 | 19193 | 以下の同じことと思うかもしれませんが: |
| 13538 | 19194 | |
| 13539 | 19195 | rand() + 5; |
| 13540 | 19196 | |
| 13541 | 19197 | =begin original |
| 13542 | 19198 | |
| 13543 | 19199 | but in actual fact, you got |
| 13544 | 19200 | |
| 13545 | 19201 | =end original |
| 13546 | 19202 | |
| 13547 | 19203 | 実際には以下のようになります: |
| 13548 | 19204 | |
| 13549 | 19205 | rand(+5); |
| 13550 | 19206 | |
| 13551 | 19207 | =begin original |
| 13552 | 19208 | |
| 13553 | 19209 | So put in parentheses to say what you really mean. |
| 13554 | 19210 | |
| 13555 | 19211 | =end original |
| 13556 | 19212 | |
| 13557 | 19213 | したがって、思うように解釈させるには、かっこが必要になります。 |
| 13558 | 19214 | |
| 19215 | =item when is deprecated | |
| 19216 | ||
| 19217 | =begin original | |
| 19218 | ||
| 19219 | (D deprecated::smartmatch) C<when> depends on smartmatch, which is | |
| 19220 | deprecated. Additionally, it has several special cases that may | |
| 19221 | not be immediately obvious, and it will be removed in Perl 5.42. | |
| 19222 | See the explanation | |
| 19223 | under L<perlsyn/Experimental Details on given and when>. | |
| 19224 | ||
| 19225 | =end original | |
| 19226 | ||
| 19227 | (D deprecated::smartmatch) C<when> は、廃止予定である | |
| 19228 | スマートマッチングに依存しています。 | |
| 19229 | さらに、完全に明らかとは言えないいくつかの特殊なケースがあるので、 | |
| 19230 | Perl 5.42 で削除される予定です。 | |
| 19231 | L<perlsyn/Experimental Details on given and when> の説明を参照してください。 | |
| 19232 | ||
| 13559 | 19233 | =item Wide character in %s |
| 13560 | 19234 | |
| 13561 | 19235 | =begin original |
| 13562 | 19236 | |
| 13563 | (S utf8) Perl met a wide character (>255) when it wasn't | |
| 19237 | (S utf8) Perl met a wide character (ordinal >255) when it wasn't | |
| 13564 | one. This warning is by default on for I/O (like print). | |
| 19238 | expecting one. This warning is by default on for I/O (like print). | |
| 13565 | ||
| 13566 | ||
| 19240 | =end original | |
| 13567 | ||
| 19242 | (S utf8) Perl が(想定していないところで)ワイド文字(値が >255)に遭遇しました。 | |
| 19243 | この警告は、(print のような) I/O に対してはデフォルトでオンです。 | |
| 19244 | ||
| 19245 | =begin original | |
| 19246 | ||
| 19247 | If this warning does come from I/O, the easiest | |
| 19248 | way to quiet it is simply to add the C<:utf8> layer, I<e.g.>, | |
| 19249 | S<C<binmode STDOUT, ':utf8'>>. Another way to turn off the warning is | |
| 19250 | to add S<C<no warnings 'utf8';>> but that is often closer to | |
| 13568 | 19251 | cheating. In general, you are supposed to explicitly mark the |
| 13569 | 19252 | filehandle with an encoding, see L<open> and L<perlfunc/binmode>. |
| 13570 | 19253 | |
| 13571 | 19254 | =end original |
| 13572 | 19255 | |
| 13573 | ||
| 19256 | この警告が I/O からのものなら、これを黙らせる最も簡単な方法は、 | |
| 13574 | ||
| 19257 | S<C<binmode STDOUT, ':utf8'>> のように | |
| 13575 | この警告を黙らせる最も簡単な方法は、C<binmode STDOUT, ':utf8'> のように | |
| 13576 | 19258 | 出力に単に C<:utf8> 層を追加することです。 |
| 13577 | もう一つの方法は C<no warnings 'utf8';> を追加することですが、これは | |
| 19259 | もう一つの方法は S<C<no warnings 'utf8';>> を追加することですが、これは | |
| 13578 | 19260 | しばしばいかさまに近い方法です。 |
| 13579 | 19261 | 一般的に、ファイルハンドルにはエンコーディングを明示的に指定することに |
| 13580 | 19262 | なっています; L<open> と L<perlfunc/binmode> を参照してください。 |
| 13581 | 19263 | |
| 19264 | =begin original | |
| 19265 | ||
| 19266 | If the warning comes from other than I/O, this diagnostic probably | |
| 19267 | indicates that incorrect results are being obtained. You should examine | |
| 19268 | your code to determine how a wide character is getting to an operation | |
| 19269 | that doesn't handle them. | |
| 19270 | ||
| 19271 | =end original | |
| 19272 | ||
| 19273 | この警告が I/O 以外からのものなら、この診断メッセージは | |
| 19274 | おそらく正しくない結果が得られたことを意味しています。 | |
| 19275 | どのようにしてワイド文字が、それを扱えない操作に渡されたのかを | |
| 19276 | 決定するために、ソースコードを調べる必要があります。 | |
| 19277 | ||
| 19278 | =item Wide character (U+%X) in %s | |
| 19279 | ||
| 19280 | =begin original | |
| 19281 | ||
| 19282 | (W locale) While in a single-byte locale (I<i.e.>, a non-UTF-8 | |
| 19283 | one), a multi-byte character was encountered. Perl considers this | |
| 19284 | character to be the specified Unicode code point. Combining non-UTF-8 | |
| 19285 | locales and Unicode is dangerous. Almost certainly some characters | |
| 19286 | will have two different representations. For example, in the ISO 8859-7 | |
| 19287 | (Greek) locale, the code point 0xC3 represents a Capital Gamma. But so | |
| 19288 | also does 0x393. This will make string comparisons unreliable. | |
| 19289 | ||
| 19290 | =end original | |
| 19291 | ||
| 19292 | (W locale) 単一バイトロケール (つまり非 UTF-8 のもの)で、 | |
| 19293 | 複数バイト文字に遭遇しました。 | |
| 19294 | Perl はこの文字を指定された Unicode 符号位置として扱います。 | |
| 19295 | 非 UTF-8 ロケールと Unicode を結合するのは危険です。 | |
| 19296 | ほとんど確実に一部の文字は複数の異なる表現を持ちます。 | |
| 19297 | 例えば、ISO 8859-7 (ギリシャ語) ロケールでは、 | |
| 19298 | 符号位置 0xC3 は Capital Gamma を表現します。 | |
| 19299 | しかし 0x393 も同じです。 | |
| 19300 | これは文字列比較を信頼できないものにします。 | |
| 19301 | ||
| 19302 | =begin original | |
| 19303 | ||
| 19304 | You likely need to figure out how this multi-byte character got mixed up | |
| 19305 | with your single-byte locale (or perhaps you thought you had a UTF-8 | |
| 19306 | locale, but Perl disagrees). | |
| 19307 | ||
| 19308 | =end original | |
| 19309 | ||
| 19310 | おそらくどうしてこのマルチバイト文字が単一バイトロケールで混ざったかを | |
| 19311 | 見つける必要があるでしょう(あるいはおそらくあなたは UTF-8 ロケールを | |
| 19312 | 使っていると考えているけれども Perl は同意していないのでしょう)。 | |
| 19313 | ||
| 13582 | 19314 | =item Within []-length '%c' not allowed |
| 13583 | 19315 | |
| 13584 | 19316 | =begin original |
| 13585 | 19317 | |
| 13586 | 19318 | (F) The count in the (un)pack template may be replaced by C<[TEMPLATE]> |
| 13587 | 19319 | only if C<TEMPLATE> always matches the same amount of packed bytes that |
| 13588 | 19320 | can be determined from the template alone. This is not possible if |
| 13589 | 19321 | it contains any of the codes @, /, U, u, w or a *-length. Redesign |
| 13590 | 19322 | the template. |
| 13591 | 19323 | |
| 13592 | 19324 | =end original |
| 13593 | 19325 | |
| 13594 | 19326 | (F) (un)pack テンプレートの繰り返し数は、C<TEMPLATE> が常に |
| 13595 | 19327 | テンプレートだけから決定される同じサイズの pack されたバイト列と一致する |
| 13596 | 19328 | 場合にのみ C<[TEMPLATE]> によって置き換えられます。 |
| 13597 | 19329 | これは、コード @, /, U, u, w や、長さ * が含まれていると不可能です。 |
| 13598 | 19330 | テンプレートを再設計してください。 |
| 13599 | 19331 | |
| 19332 | =item While trying to resolve method call %s->%s() can not locate package "%s" yet it is mentioned in @%s::ISA (perhaps you forgot to load "%s"?) | |
| 19333 | ||
| 19334 | =begin original | |
| 19335 | ||
| 19336 | (W syntax) It is possible that the C<@ISA> contains a misspelled or never loaded | |
| 19337 | package name, which can result in perl choosing an unexpected parent | |
| 19338 | class's method to resolve the method call. If this is deliberate you | |
| 19339 | can do something like | |
| 19340 | ||
| 19341 | =end original | |
| 19342 | ||
| 19343 | (W syntax) C<@ISA> にタイプミスか読み込まれていないパッケージ名があり、 | |
| 19344 | 結果として perl がメソッド呼び出しの解決に想定外の親クラスのメソッドを | |
| 19345 | 選んだ可能性があります。 | |
| 19346 | これが意図的な場合は、次のようにして: | |
| 19347 | ||
| 19348 | @Missing::Package::ISA = (); | |
| 19349 | ||
| 19350 | =begin original | |
| 19351 | ||
| 19352 | to silence the warnings, otherwise you should correct the package name, or | |
| 19353 | ensure that the package is loaded prior to the method call. | |
| 19354 | ||
| 19355 | =end original | |
| 19356 | ||
| 19357 | この警告を黙らせられます; さもなければパッケージ名を修正するか、 | |
| 19358 | パッケージがメソッド呼び出しの前に読み込まれるようにする必要があります。 | |
| 19359 | ||
| 19360 | =item %s() with negative argument | |
| 19361 | ||
| 19362 | =begin original | |
| 19363 | ||
| 19364 | (S misc) Certain operations make no sense with negative arguments. | |
| 19365 | Warning is given and the operation is not done. | |
| 19366 | ||
| 19367 | =end original | |
| 19368 | ||
| 19369 | (S misc) 一部の操作は負の引数は意味がありません。 | |
| 19370 | 警告が出力され、操作は行われません。 | |
| 19371 | ||
| 13600 | 19372 | =item write() on closed filehandle %s |
| 13601 | 19373 | |
| 13602 | 19374 | =begin original |
| 13603 | 19375 | |
| 13604 | 19376 | (W closed) The filehandle you're writing to got itself closed sometime |
| 13605 | 19377 | before now. Check your control flow. |
| 13606 | 19378 | |
| 13607 | 19379 | =end original |
| 13608 | 19380 | |
| 13609 | 19381 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既に閉じられています。 |
| 13610 | 19382 | 制御フローをチェックしてください。 |
| 13611 | 19383 | |
| 13612 | 19384 | =item %s "\x%X" does not map to Unicode |
| 13613 | 19385 | |
| 13614 | 19386 | =begin original |
| 13615 | 19387 | |
| 13616 | ( | |
| 19388 | (S utf8) When reading in different encodings, Perl tries to | |
| 13617 | into Unicode characters. The bytes you read | |
| 19389 | map everything into Unicode characters. The bytes you read | |
| 13618 | this encoding | |
| 19390 | in are not legal in this encoding. For example | |
| 13619 | 19391 | |
| 13620 | 19392 | =end original |
| 13621 | 19393 | |
| 13622 | ( | |
| 19394 | (S utf8) 異なったエンコーディングを読み込むとき、Perl は全てを Unicode 文字に | |
| 13623 | 19395 | マッピングしようとします。 |
| 13624 | 読み込んだバイトはこのエンコーディングでは不正でした | |
| 19396 | 読み込んだバイトはこのエンコーディングでは不正でした。 | |
| 19397 | 例えば: | |
| 13625 | 19398 | |
| 13626 | 19399 | utf8 "\xE4" does not map to Unicode |
| 13627 | 19400 | |
| 13628 | 19401 | =begin original |
| 13629 | 19402 | |
| 13630 | 19403 | if you try to read in the a-diaereses Latin-1 as UTF-8. |
| 13631 | 19404 | |
| 13632 | 19405 | =end original |
| 13633 | 19406 | |
| 13634 | 19407 | というのは、Latin-1 の a 分節を UTF-8 として読み込もうとした場合です。 |
| 13635 | 19408 | |
| 13636 | 19409 | =item 'X' outside of string |
| 13637 | 19410 | |
| 13638 | 19411 | =begin original |
| 13639 | 19412 | |
| 13640 | 19413 | (F) You had a (un)pack template that specified a relative position before |
| 13641 | 19414 | the beginning of the string being (un)packed. See L<perlfunc/pack>. |
| 13642 | 19415 | |
| 13643 | 19416 | =end original |
| 13644 | 19417 | |
| 13645 | 19418 | (F) (un)pack している文字列の最後より後の相対位置を示している |
| 13646 | 19419 | (un)pack テンプレートを指定しました。 |
| 13647 | 19420 | L<perlfunc/pack> を参照してください。 |
| 13648 | 19421 | |
| 13649 | 19422 | =item 'x' outside of string in unpack |
| 13650 | 19423 | |
| 13651 | 19424 | =begin original |
| 13652 | 19425 | |
| 13653 | (F) You had a pack template that specified a relative position after | |
| 19426 | (F) You had an unpack template that specified a relative position after | |
| 13654 | 19427 | the end of the string being unpacked. See L<perlfunc/pack>. |
| 13655 | 19428 | |
| 13656 | 19429 | =end original |
| 13657 | 19430 | |
| 13658 | 19431 | (F) unpack している文字列の最後より後の相対位置を示している |
| 13659 | 19432 | pack テンプレートを指定しました。 |
| 13660 | 19433 | L<perlfunc/pack> を参照してください。 |
| 13661 | 19434 | |
| 13662 | 19435 | =item YOU HAVEN'T DISABLED SET-ID SCRIPTS IN THE KERNEL YET! |
| 13663 | 19436 | |
| 13664 | 19437 | =begin original |
| 13665 | 19438 | |
| 13666 | 19439 | (F) And you probably never will, because you probably don't have the |
| 13667 | 19440 | sources to your kernel, and your vendor probably doesn't give a rip |
| 13668 | about what you want. | |
| 19441 | about what you want. There is a vulnerability anywhere that you have a | |
| 13669 | your s | |
| 19442 | set-id script, and to close it you need to remove the set-id bit from | |
| 19443 | the script that you're attempting to run. To actually run the script | |
| 19444 | set-id, your best bet is to put a set-id C wrapper around your script. | |
| 13670 | 19445 | |
| 13671 | 19446 | =end original |
| 13672 | 19447 | |
| 13673 | 19448 | (F) そして、そうすることはできないでしょう; カーネルのソースは |
| 13674 | 19449 | お持ちではないでしょうし、ベンダも欲しいものを提供しては |
| 13675 | 19450 | くれないでしょうから。 |
| 13676 | ||
| 19451 | set-id スクリプトのあちこちには脆弱性があり、 | |
| 19452 | それを閉じるためには実行しようとしているスクリプトから | |
| 19453 | set-id ビットを削除する必要があります。 | |
| 19454 | 実際にスクリプトを set-id で実行するために | |
| 19455 | もっとも良いのは、スクリプトに set-id C ラッパーを被せることです。 | |
| 13677 | 19456 | |
| 13678 | 19457 | =item You need to quote "%s" |
| 13679 | 19458 | |
| 13680 | 19459 | =begin original |
| 13681 | 19460 | |
| 13682 | (W syntax) You assigned a bareword as a signal handler name | |
| 19461 | (W syntax) You assigned a bareword as a signal handler name: | |
| 13683 | Unfortunately, you already have a subroutine of that name declared, | |
| 13684 | which means that Perl 5 will try to call the subroutine when the | |
| 13685 | assignment is executed, which is probably not what you want. (If it IS | |
| 13686 | what you want, put an & in front.) | |
| 13687 | 19462 | |
| 13688 | 19463 | =end original |
| 13689 | 19464 | |
| 13690 | (W syntax) シグナルハンドラ名 | |
| 19465 | (W syntax) シグナルハンドラ名として裸の単語を割り当てました: | |
| 13691 | 残念ながら、そのサブルーチンは既に宣言されていて、Perl 5 では、 | |
| 13692 | おそらく思惑とは違って、代入の実行時にサブルーチンの呼び出しが起こります。 | |
| 13693 | (もし、本当にそうしたいのであれば、サブルーチン名に & を付けてください。) | |
| 13694 | 19466 | |
| 19467 | $SIG{...} = foo; | |
| 19468 | ||
| 19469 | =begin original | |
| 19470 | ||
| 19471 | However, this will not make C<sub foo> the signal handler. Instead, Perl | |
| 19472 | will call the subroutine when the assignment is executed and use the | |
| 19473 | returned value as the signal handler, which is probably not what you want. | |
| 19474 | (If it I<is> what you want, put C<()> after the subroutine name to avoid | |
| 19475 | the warning.) | |
| 19476 | ||
| 19477 | =end original | |
| 19478 | ||
| 19479 | しかし、これによって C<sub foo> がシグナルハンドラになるわけではありません。 | |
| 19480 | 代わりに、Perl は代入が実行されたときにサブルーチンを呼び出し、返された値を | |
| 19481 | シグナルハンドラとして使用します; | |
| 19482 | これはおそらくあなたが望むものではありません (もし I<これ> があなたが | |
| 19483 | 望むものである場合は、警告を避けるためにサブルーチン名の後に | |
| 19484 | C<()> を付けてください)。 | |
| 19485 | ||
| 19486 | =begin original | |
| 19487 | ||
| 19488 | To register the subroutine as the signal handler, take a reference to it: | |
| 19489 | ||
| 19490 | =end original | |
| 19491 | ||
| 19492 | サブルーチンをシグナルハンドラとして登録するには、サブルーチンへの | |
| 19493 | リファレンスを取ります: | |
| 19494 | ||
| 19495 | $SIG{...} = \&foo; | |
| 19496 | ||
| 13695 | 19497 | =item Your random numbers are not that random |
| 13696 | 19498 | |
| 13697 | 19499 | =begin original |
| 13698 | 19500 | |
| 13699 | (F) When trying to initiali | |
| 19501 | (F) When trying to initialize the random seed for hashes, Perl could | |
| 13700 | 19502 | not get any randomness out of your system. This usually indicates |
| 13701 | 19503 | Something Very Wrong. |
| 13702 | 19504 | |
| 13703 | 19505 | =end original |
| 13704 | 19506 | |
| 13705 | 19507 | (F) ハッシュのための乱数の種を初期化しようとしたとき、Perl はシステムから |
| 13706 | 19508 | 何の乱数性も得られませんでした。 |
| 13707 | 19509 | これは普通「何かとても具合が悪い」ことを示しています。 |
| 13708 | 19510 | |
| 19511 | =item Zero length \N{} in regex; marked by S<<-- HERE> in m/%s/ | |
| 19512 | ||
| 19513 | =begin original | |
| 19514 | ||
| 19515 | (F) Named Unicode character escapes (C<\N{...}>) may return a zero-length | |
| 19516 | sequence. Such an escape was used in an extended character class, i.e. | |
| 19517 | C<(?[...])>, or under C<use re 'strict'>, which is not permitted. Check | |
| 19518 | that the correct escape has been used, and the correct charnames handler | |
| 19519 | is in scope. The S<<-- HERE> shows whereabouts in the regular | |
| 19520 | expression the problem was discovered. | |
| 19521 | ||
| 19522 | =end original | |
| 19523 | ||
| 19524 | (F) 名前付き Unicode 文字エスケープ (C<(\N{...})>) はゼロ幅並びを | |
| 19525 | 返すことがあります。 | |
| 19526 | このようなエスケープが拡張文字クラス、つまり C<(?[...])> の中、 | |
| 19527 | あるいは C<use re 'strict'> の基で使われました; | |
| 19528 | これは認められていません。 | |
| 19529 | 正しいエスケープを使っているか、および正しい文字名ハンドラがスコープ内に | |
| 19530 | あるかをチェックしてください。 | |
| 19531 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 19532 | ||
| 13709 | 19533 | =back |
| 13710 | 19534 | |
| 13711 | 19535 | =head1 SEE ALSO |
| 13712 | 19536 | |
| 13713 | L<warnings>, L< | |
| 19537 | L<warnings>, L<diagnostics>. | |
| 13714 | 19538 | |
| 13715 | 19539 | =cut |
| 13716 | 19540 | |
| 13717 | 19541 | =begin meta |
| 13718 | 19542 | |
| 13719 | 19543 | Translate: 吉村 寿人 <JAE00534@niftyserve.or.jp> (5.000) |
| 13720 | 19544 | Update: SHIRAKATA Kentaro <argrath@ub32.org> (5.6.1-) |
| 13721 | 19545 | Status: completed |
| 13722 | 19546 | |
| 13723 | 19547 | =end meta |