perldiag >
5.30.0
との差分
perldiag 5.30.0 と 5.6.1 の差分
| 1 | 1 | |
| 2 | 2 | =encoding euc-jp |
| 3 | 3 | |
| 4 | 4 | =head1 NAME |
| 5 | 5 | |
| 6 | 6 | =begin original |
| 7 | 7 | |
| 8 | 8 | perldiag - various Perl diagnostics |
| 9 | 9 | |
| 10 | 10 | =end original |
| 11 | 11 | |
| 12 | 12 | perldiag - さまざまな Perl 診断メッセージ |
| 13 | 13 | |
| 14 | 14 | =head1 DESCRIPTION |
| 15 | 15 | |
| 16 | 16 | =begin original |
| 17 | 17 | |
| 18 | 18 | These messages are classified as follows (listed in increasing order of |
| 19 | 19 | desperation): |
| 20 | 20 | |
| 21 | 21 | =end original |
| 22 | 22 | |
| 23 | 23 | これらのメッセージは以下のように分類されます (重要度が増す順に |
| 24 | 24 | 並べてあります): |
| 25 | 25 | |
| 26 | 26 | =begin original |
| 27 | 27 | |
| 28 | 28 | (W) A warning (optional). |
| 29 | (D) A deprecation ( | |
| 29 | (D) A deprecation (optional). | |
| 30 | (S) A severe warning ( | |
| 30 | (S) A severe warning (default). | |
| 31 | 31 | (F) A fatal error (trappable). |
| 32 | 32 | (P) An internal error you should never see (trappable). |
| 33 | 33 | (X) A very fatal error (nontrappable). |
| 34 | 34 | (A) An alien error message (not generated by Perl). |
| 35 | 35 | |
| 36 | 36 | =end original |
| 37 | 37 | |
| 38 | (W) 警告 (オプション) | |
| 38 | (W) 警告 (オプション) | |
| 39 | (D) 非推奨 ( | |
| 39 | (D) 非推奨 (オプション) | |
| 40 | (S) 重大な警告 (デフォルト | |
| 40 | (S) 重大な警告 (デフォルト) | |
| 41 | (F) 致命的エラー (トラップ可能) | |
| 41 | (F) 致命的エラー (トラップ可能) | |
| 42 | (P) 起こるはずのない内部エラー (トラップ可能) | |
| 42 | (P) 起こるはずのない内部エラー (トラップ可能) | |
| 43 | (X) 重大致命的エラー (トラップ不可能) | |
| 43 | (X) 重大致命的エラー (トラップ不可能) | |
| 44 | (A) 外部エラーメッセージ (Perl 以外で生成されたもの) | |
| 44 | (A) 外部エラーメッセージ (Perl 以外で生成されたもの) | |
| 45 | 45 | |
| 46 | 46 | =begin original |
| 47 | 47 | |
| 48 | 48 | The majority of messages from the first three classifications above |
| 49 | (W, D & S) can be controlled using the C<warnings> pragma. | |
| 49 | (W, D & S) can be controlled using the C<warnings> pragma. | |
| 50 | 50 | |
| 51 | 51 | =end original |
| 52 | 52 | |
| 53 | 53 | 上記のうち、最初の三つ (W, D, S) に分類されるメッセージの大部分は |
| 54 | 54 | C<warings> プラグマで制御できます。 |
| 55 | 55 | |
| 56 | 56 | =begin original |
| 57 | 57 | |
| 58 | 58 | If a message can be controlled by the C<warnings> pragma, its warning |
| 59 | 59 | category is included with the classification letter in the description |
| 60 | below. | |
| 60 | below. | |
| 61 | 61 | |
| 62 | 62 | =end original |
| 63 | 63 | |
| 64 | メッセージが C<warnings> プラグマで制御できる場合、 | |
| 64 | メッセージが C<warnings> プラグマで制御できる場合、 | |
| 65 | 説明で分類文字と共に記されています。 | |
| 65 | 警告カテゴリは以下の説明で分類文字と共に記されています。 | |
| 66 | 例えば、C<(W closed)> は C<closed> カテゴリの警告を意味します。 | |
| 67 | 66 | |
| 68 | 67 | =begin original |
| 69 | 68 | |
| 70 | 69 | Optional warnings are enabled by using the C<warnings> pragma or the B<-w> |
| 71 | and B<-W> switches. | |
| 70 | and B<-W> switches. Warnings may be captured by setting C<$SIG{__WARN__}> | |
| 72 | 71 | to a reference to a routine that will be called on each warning instead |
| 73 | 72 | of printing it. See L<perlvar>. |
| 74 | 73 | |
| 75 | 74 | =end original |
| 76 | 75 | |
| 77 | 76 | C<warnings> プラグマか B<-w> と B<-W> のオプションを使うと追加の警告が |
| 78 | 77 | 有効になります。 |
| 79 | 78 | 警告は、表示する変わりに警告が出るたびに呼び出されるサブルーチンへの |
| 80 | 79 | リファレンスを C<$SIG{__WARN__}> にセットすることで捕捉できます。 |
| 81 | 80 | L<perlvar> を参照してください。 |
| 82 | 81 | |
| 83 | 82 | =begin original |
| 84 | 83 | |
| 85 | ||
| 84 | Default warnings are always enabled unless they are explicitly disabled | |
| 86 | 85 | with the C<warnings> pragma or the B<-X> switch. |
| 87 | 86 | |
| 88 | 87 | =end original |
| 89 | 88 | |
| 90 | C<warnings> プラグマか B<-X> オプションで明示的に | |
| 89 | デフォルトでは C<warnings> プラグマか B<-X> オプションで明示的に | |
| 91 | ||
| 90 | 無効にされない限り、警告は常に有効です。 | |
| 92 | 91 | |
| 93 | 92 | =begin original |
| 94 | 93 | |
| 95 | 94 | Trappable errors may be trapped using the eval operator. See |
| 96 | 95 | L<perlfunc/eval>. In almost all cases, warnings may be selectively |
| 97 | 96 | disabled or promoted to fatal errors using the C<warnings> pragma. |
| 98 | 97 | See L<warnings>. |
| 99 | 98 | |
| 100 | 99 | =end original |
| 101 | 100 | |
| 102 | 101 | トラップ可能なエラーは評価演算子を使ってトラップできます。 |
| 103 | 102 | L<perlfunc/eval> を参照してください。 |
| 104 | ほとんど全ての場合、警告は C<warnings> プラグマを使うことで | |
| 103 | ほとんど全ての場合、警告は C<warnings> プラグマを使うことで | |
| 105 | 無効にしたり致命的エラーに昇格させたりできます。 | |
| 104 | 選択的に無効にしたり致命的エラーに昇格させたりできます。 | |
| 106 | 105 | L<warnings> を参照してください。 |
| 107 | 106 | |
| 108 | 107 | =begin original |
| 109 | 108 | |
| 110 | 109 | The messages are in alphabetical order, without regard to upper or |
| 111 | 110 | lower-case. Some of these messages are generic. Spots that vary are |
| 112 | 111 | denoted with a %s or other printf-style escape. These escapes are |
| 113 | 112 | ignored by the alphabetical order, as are all characters other than |
| 114 | 113 | letters. To look up your message, just ignore anything that is not a |
| 115 | 114 | letter. |
| 116 | 115 | |
| 117 | 116 | =end original |
| 118 | 117 | |
| 119 | 118 | メッセージは大文字小文字を無視してアルファベット順に並んでいます。 |
| 120 | 119 | これらの中には一般的なものもあります。 |
| 121 | 120 | 変化する部分は %s またはその他の printf スタイルの表記をしています。 |
| 122 | 121 | これらの表記や、その他の英文字以外の文字は並び順に関しては |
| 123 | 122 | 無視されています。 |
| 124 | 123 | メッセージを探すには、英文字以外は無視してください。 |
| 125 | 124 | |
| 126 | 125 | =over 4 |
| 127 | 126 | |
| 128 | 127 | =item accept() on closed socket %s |
| 129 | 128 | |
| 130 | 129 | =begin original |
| 131 | 130 | |
| 132 | 131 | (W closed) You tried to do an accept on a closed socket. Did you forget |
| 133 | 132 | to check the return value of your socket() call? See |
| 134 | 133 | L<perlfunc/accept>. |
| 135 | 134 | |
| 136 | 135 | =end original |
| 137 | 136 | |
| 138 | 137 | (W closed) クローズされたソケットに accept を行なおうとしました。 |
| 139 | 138 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
| 140 | 139 | L<perlfunc/accept> を参照してください。 |
| 141 | 140 | |
| 142 | =item Al | |
| 141 | =item Allocation too large: %lx | |
| 143 | 142 | |
| 144 | 143 | =begin original |
| 145 | 144 | |
| 146 | (S experimental::refaliasing) This warning is emitted if you use | |
| 147 | a reference constructor on the left-hand side of an assignment to | |
| 148 | alias one variable to another. Simply suppress the warning if you | |
| 149 | want to use the feature, but know that in doing so you are taking | |
| 150 | the risk of using an experimental feature which may change or be | |
| 151 | removed in a future Perl version: | |
| 152 | ||
| 153 | =end original | |
| 154 | ||
| 155 | (S experimental::refaliasing) この警告は、ある変数を別の変数の別名とする代入の | |
| 156 | 左側でリファレンスコンストラクタを使うと出力されます。 | |
| 157 | この機能を使いたいけれども、そうすることで将来の Perl バージョンで | |
| 158 | 変更されるかもしれない実験的機能を使うリスクを取ることを分かっている場合は、 | |
| 159 | 単に警告を抑制してください: | |
| 160 | ||
| 161 | no warnings "experimental::refaliasing"; | |
| 162 | use feature "refaliasing"; | |
| 163 | \$x = \$y; | |
| 164 | ||
| 165 | =item Allocation too large: %x | |
| 166 | ||
| 167 | =begin original | |
| 168 | ||
| 169 | 145 | (X) You can't allocate more than 64K on an MS-DOS machine. |
| 170 | 146 | |
| 171 | 147 | =end original |
| 172 | 148 | |
| 173 | 149 | (X) MS-DOS マシンでは、64K を越えるメモリアロケートをおこなえません。 |
| 174 | 150 | |
| 175 | =item ' | |
| 151 | =item '!' allowed only after types %s | |
| 176 | 152 | |
| 177 | 153 | =begin original |
| 178 | 154 | |
| 179 | (F) The | |
| 155 | (F) The '!' is allowed in pack() and unpack() only after certain types. | |
| 180 | ||
| 156 | See L<perlfunc/pack>. | |
| 181 | 157 | |
| 182 | 158 | =end original |
| 183 | 159 | |
| 184 | (F) pack() や unpack() での '!' | |
| 160 | (F) pack() や unpack() での '!' は特定のタイプの後にのみ | |
| 185 | ||
| 161 | つけることができます。 | |
| 186 | 162 | L<perlfunc/pack> を参照してください。 |
| 187 | 163 | |
| 188 | =item alpha->numify() is lossy | |
| 189 | ||
| 190 | =begin original | |
| 191 | ||
| 192 | (W numeric) An alpha version can not be numified without losing | |
| 193 | information. | |
| 194 | ||
| 195 | =end original | |
| 196 | ||
| 197 | (W numeric) アルファバージョンは、情報を失うことなく数値化できません。 | |
| 198 | ||
| 199 | 164 | =item Ambiguous call resolved as CORE::%s(), qualify as such or use & |
| 200 | 165 | |
| 201 | 166 | =begin original |
| 202 | 167 | |
| 203 | 168 | (W ambiguous) A subroutine you have declared has the same name as a Perl |
| 204 | 169 | keyword, and you have used the name without qualification for calling |
| 205 | 170 | one or the other. Perl decided to call the builtin because the |
| 206 | 171 | subroutine is not imported. |
| 207 | 172 | |
| 208 | 173 | =end original |
| 209 | 174 | |
| 210 | 175 | (W ambiguous) 定義したサブルーチンの名前が Perl のキーワードと同じで、 |
| 211 | 176 | どちらかを呼び出すために修飾なしで名前を使っています。 |
| 212 | Perl は、サブルーチンがインポートされたものではないので、 | |
| 177 | Perl は、サブルーチンがインポートされたものではないので、 | |
| 213 | 呼び出すことにしました。 | |
| 178 | 組み込みのものを呼び出すことにしました。 | |
| 214 | 179 | |
| 215 | 180 | =begin original |
| 216 | 181 | |
| 217 | 182 | To force interpretation as a subroutine call, either put an ampersand |
| 218 | 183 | before the subroutine name, or qualify the name with its package. |
| 219 | 184 | Alternatively, you can import the subroutine (or pretend that it's |
| 220 | 185 | imported with the C<use subs> pragma). |
| 221 | 186 | |
| 222 | 187 | =end original |
| 223 | 188 | |
| 224 | サブルーチン呼び出しとして解釈することを強制させるためには、 | |
| 189 | サブルーチン呼び出しとして解釈することを強制させるためには、 | |
| 225 | 前にアンパサンドをつけるか、名前をパッケージ名で | |
| 190 | サブルーチン名の前にアンパサンドをつけるか、名前をパッケージ名で | |
| 191 | 修飾してください。 | |
| 226 | 192 | 他の方法として、サブルーチンをインポートする(あるいは C<use subs> |
| 227 | 193 | プラグマを使ってインポートされたふりをする)方法もあります。 |
| 228 | 194 | |
| 229 | 195 | =begin original |
| 230 | 196 | |
| 231 | 197 | To silently interpret it as the Perl operator, use the C<CORE::> prefix |
| 232 | on the operator (e.g. C<CORE::log($x)>) or declar | |
| 198 | on the operator (e.g. C<CORE::log($x)>) or by declaring the subroutine | |
| 233 | 199 | to be an object method (see L<perlsub/"Subroutine Attributes"> or |
| 234 | 200 | L<attributes>). |
| 235 | 201 | |
| 236 | 202 | =end original |
| 237 | 203 | |
| 238 | 204 | 警告なしに Perl 演算子として解釈させるためには、(C<CORE::log($x)> のように) |
| 239 | 205 | 演算子に C<CORE::> 接頭辞をつけるか、サブルーチンをオブジェクト |
| 240 | 206 | メソッド(L<perlsub/"Subroutine Attributes"> や L<attributes> を |
| 241 | 207 | 参照してください)として定義してください。 |
| 242 | 208 | |
| 243 | =item Ambiguous range in transliteration operator | |
| 244 | ||
| 245 | =begin original | |
| 246 | ||
| 247 | (F) You wrote something like C<tr/a-z-0//> which doesn't mean anything at | |
| 248 | all. To include a C<-> character in a transliteration, put it either | |
| 249 | first or last. (In the past, C<tr/a-z-0//> was synonymous with | |
| 250 | C<tr/a-y//>, which was probably not what you would have expected.) | |
| 251 | ||
| 252 | =end original | |
| 253 | ||
| 254 | (F) C<tr/a-z-0//> のような、何の意味もないことをしようとしました。 | |
| 255 | 文字変換の文字に C<-> を加える時は、最初か最後に置いてください。 | |
| 256 | (以前は C<tr/a-z-0//> は C<tr/a-y//> と同義でしたが、これはおそらく | |
| 257 | 予想していたものと違うでしょう。) | |
| 258 | ||
| 259 | 209 | =item Ambiguous use of %s resolved as %s |
| 260 | 210 | |
| 261 | 211 | =begin original |
| 262 | 212 | |
| 263 | ( | |
| 213 | (W ambiguous)(S) You said something that may not be interpreted the way | |
| 264 | 214 | you thought. Normally it's pretty easy to disambiguate it by supplying |
| 265 | 215 | a missing quote, operator, parenthesis pair or declaration. |
| 266 | 216 | |
| 267 | 217 | =end original |
| 268 | 218 | |
| 269 | ( | |
| 219 | (W ambiguous)(S) 何か、あなたが考えているようには解釈できないものが | |
| 270 | ||
| 220 | ありました。 | |
| 271 | ||
| 221 | 普通は、不足しているクォート、演算子、かっこ、宣言を追加することで | |
| 222 | かなり簡単にあいまいさを解消できます。 | |
| 272 | 223 | |
| 273 | =item Ambiguous use of -%s resolved as -&%s() | |
| 274 | ||
| 275 | =begin original | |
| 276 | ||
| 277 | (S ambiguous) You wrote something like C<-foo>, which might be the | |
| 278 | string C<"-foo">, or a call to the function C<foo>, negated. If you meant | |
| 279 | the string, just write C<"-foo">. If you meant the function call, | |
| 280 | write C<-foo()>. | |
| 281 | ||
| 282 | =end original | |
| 283 | ||
| 284 | (S ambiguous) C<-foo> のようなものを書きました; これは文字列 C<"-foo"> かも | |
| 285 | 知れませんし、関数 C<foo> を呼び出してその否定かも知れません。 | |
| 286 | 文字列のつもりなら、単に C<"-foo"> と書いてください。 | |
| 287 | 関数呼び出しのつもりなら、C<-foo()> と書いてください。 | |
| 288 | ||
| 289 | =item Ambiguous use of %c resolved as operator %c | |
| 290 | ||
| 291 | =begin original | |
| 292 | ||
| 293 | (S ambiguous) C<%>, C<&>, and C<*> are both infix operators (modulus, | |
| 294 | bitwise and, and multiplication) I<and> initial special characters | |
| 295 | (denoting hashes, subroutines and typeglobs), and you said something | |
| 296 | like C<*foo * foo> that might be interpreted as either of them. We | |
| 297 | assumed you meant the infix operator, but please try to make it more | |
| 298 | clear -- in the example given, you might write C<*foo * foo()> if you | |
| 299 | really meant to multiply a glob by the result of calling a function. | |
| 300 | ||
| 301 | =end original | |
| 302 | ||
| 303 | (S ambiguous) C<%>, C<&>, C<*> は、中置演算子(剰余、ビット単位論理和、乗算) | |
| 304 | I<および> 初期特殊文字(ハッシュ、サブルーチン、型グロブを示す)の | |
| 305 | 両方に使われますが、どちらとも解釈できる C<*foo * foo> のようなものが | |
| 306 | 書かれました。 | |
| 307 | これは中置演算子を意味していると仮定しますが、どうかより明確にするように | |
| 308 | してください -- 上述の例では、もし本当にグロブと関数呼び出しの結果の | |
| 309 | 積を意味しているなら、C<*foo * foo()> と書けます。 | |
| 310 | ||
| 311 | =item Ambiguous use of %c{%s} resolved to %c%s | |
| 312 | ||
| 313 | =begin original | |
| 314 | ||
| 315 | (W ambiguous) You wrote something like C<@{foo}>, which might be | |
| 316 | asking for the variable C<@foo>, or it might be calling a function | |
| 317 | named foo, and dereferencing it as an array reference. If you wanted | |
| 318 | the variable, you can just write C<@foo>. If you wanted to call the | |
| 319 | function, write C<@{foo()}> ... or you could just not have a variable | |
| 320 | and a function with the same name, and save yourself a lot of trouble. | |
| 321 | ||
| 322 | =end original | |
| 323 | ||
| 324 | (W ambiguous) C<@{foo}> のようなものを書きました; これは変数 C<@foo> のこと | |
| 325 | かもしれませんし、foo という名前の関数を呼び出して、それを配列 | |
| 326 | リファレンスとしてデリファレンスするかもしれません。 | |
| 327 | もし変数がほしいなら、単に C<@foo> と書いてください。 | |
| 328 | 関数を呼び出したいなら、C<@{foo()}> と書いてください…あるいは単に | |
| 329 | 変数と関数で同じ名前を使わないでください; これにより多くの問題から身を | |
| 330 | 守れます。 | |
| 331 | ||
| 332 | =item Ambiguous use of %c{%s[...]} resolved to %c%s[...] | |
| 333 | ||
| 334 | =item Ambiguous use of %c{%s{...}} resolved to %c%s{...} | |
| 335 | ||
| 336 | =begin original | |
| 337 | ||
| 338 | (W ambiguous) You wrote something like C<${foo[2]}> (where foo represents | |
| 339 | the name of a Perl keyword), which might be looking for element number | |
| 340 | 2 of the array named C<@foo>, in which case please write C<$foo[2]>, or you | |
| 341 | might have meant to pass an anonymous arrayref to the function named | |
| 342 | foo, and then do a scalar deref on the value it returns. If you meant | |
| 343 | that, write C<${foo([2])}>. | |
| 344 | ||
| 345 | =end original | |
| 346 | ||
| 347 | (W ambiguous) C<${foo[2]}> のようなものを書きました (ここで foo は Perl の | |
| 348 | キーワード名を表します); これは C<@foo> という名前の配列の要素番号 2 を | |
| 349 | 探しているのかも知れません(その場合は C<$foo[2]> と書いてください)し、 | |
| 350 | foo という名前の関数に無名配列リファレンスを渡して、返り値をスカラ | |
| 351 | デリファレンスしているのかも知れません。 | |
| 352 | それを意味しているなら、C<${foo([2])}> と書いてください。 | |
| 353 | ||
| 354 | =begin original | |
| 355 | ||
| 356 | In regular expressions, the C<${foo[2]}> syntax is sometimes necessary | |
| 357 | to disambiguate between array subscripts and character classes. | |
| 358 | C</$length[2345]/>, for instance, will be interpreted as C<$length> followed | |
| 359 | by the character class C<[2345]>. If an array subscript is what you | |
| 360 | want, you can avoid the warning by changing C</${length[2345]}/> to the | |
| 361 | unsightly C</${\$length[2345]}/>, by renaming your array to something | |
| 362 | that does not coincide with a built-in keyword, or by simply turning | |
| 363 | off warnings with C<no warnings 'ambiguous';>. | |
| 364 | ||
| 365 | =end original | |
| 366 | ||
| 367 | 正規表現の中で、C<${foo[2]}> 文法は配列添え字と文字クラスを区別するために | |
| 368 | 必要になります。 | |
| 369 | 例えば、C</$length[2345]/> は、C<$length> に文字クラス C<[2345]> が | |
| 370 | 引き続くと解釈されます。 | |
| 371 | 配列添え字が求めているものなら、C</${length[2345]}/> を | |
| 372 | (見にくい) C</${\$length[2345]}/>と変更する、配列の名前を組み込みキーワードと | |
| 373 | 衝突しないものに変える、単に C<no warnings 'ambiguous';> として | |
| 374 | 警告をオフにする、のいずれかで警告を回避できます。 | |
| 375 | ||
| 376 | 224 | =item '|' and '<' may not both be specified on command line |
| 377 | 225 | |
| 378 | 226 | =begin original |
| 379 | 227 | |
| 380 | 228 | (F) An error peculiar to VMS. Perl does its own command line |
| 381 | 229 | redirection, and found that STDIN was a pipe, and that you also tried to |
| 382 | 230 | redirect STDIN using '<'. Only one STDIN stream to a customer, please. |
| 383 | 231 | |
| 384 | 232 | =end original |
| 385 | 233 | |
| 386 | (F) VMS | |
| 234 | (F) VMS 特有のエラーです。 | |
| 387 | 235 | Perl は独自にコマンドラインのリダイレクトを扱っていて、STDIN がパイプで |
| 388 | 236 | あることを発見しましたが、さらに '<' を使って STDIN をリダイレクトしようと |
| 389 | 237 | しました。 |
| 390 | STDIN ストリームは一つだけにしてください | |
| 238 | STDIN ストリームは一つだけにしてください。 | |
| 239 | お願いします。 | |
| 391 | 240 | |
| 392 | 241 | =item '|' and '>' may not both be specified on command line |
| 393 | 242 | |
| 394 | 243 | =begin original |
| 395 | 244 | |
| 396 | 245 | (F) An error peculiar to VMS. Perl does its own command line |
| 397 | 246 | redirection, and thinks you tried to redirect stdout both to a file and |
| 398 | 247 | into a pipe to another command. You need to choose one or the other, |
| 399 | 248 | though nothing's stopping you from piping into a program or Perl script |
| 400 | 249 | which 'splits' output into two streams, such as |
| 401 | 250 | |
| 402 | 251 | =end original |
| 403 | 252 | |
| 404 | (F) VMS | |
| 253 | (F) VMS 特有のエラーです。 | |
| 405 | 254 | Perl は独自にコマンドラインのリダイレクトを扱っていて、STDOUT を |
| 406 | 255 | ファイルと他のコマンドへのパイプと両方にリダイレクトしようとしていると |
| 407 | 256 | 判断しました。 |
| 408 | 257 | どちらかを選ぶ必要がありますが、以下のように出力を二つのストリームに |
| 409 | 258 | 「分割」するプログラムや Perl スクリプトにパイプすることを止めるものは |
| 410 | 259 | 何もありません。 |
| 411 | 260 | |
| 412 | 261 | open(OUT,">$ARGV[0]") or die "Can't write to $ARGV[0]: $!"; |
| 413 | 262 | while (<STDIN>) { |
| 414 | 263 | print; |
| 415 | 264 | print OUT; |
| 416 | 265 | } |
| 417 | 266 | close OUT; |
| 418 | 267 | |
| 419 | 268 | =item Applying %s to %s will act on scalar(%s) |
| 420 | 269 | |
| 421 | 270 | =begin original |
| 422 | 271 | |
| 423 | (W misc) The pattern match ( | |
| 272 | (W misc) The pattern match (//), substitution (s///), and | |
| 424 | transliteration ( | |
| 273 | transliteration (tr///) operators work on scalar values. If you apply | |
| 425 | 274 | one of them to an array or a hash, it will convert the array or hash to |
| 426 | a scalar value | |
| 275 | a scalar value -- the length of an array, or the population info of a | |
| 427 | hash | |
| 276 | hash -- and then work on that scalar value. This is probably not what | |
| 428 | 277 | you meant to do. See L<perlfunc/grep> and L<perlfunc/map> for |
| 429 | 278 | alternatives. |
| 430 | 279 | |
| 431 | 280 | =end original |
| 432 | 281 | |
| 433 | (W misc) パターンマッチ ( | |
| 282 | (W misc) パターンマッチ (//), 置換 (s///), 文字置換 | |
| 434 | ( | |
| 283 | (tr///) 演算子はスカラ値に対して動作します。 | |
| 435 | これらを配列やハッシュに適用すると、配列やハッシュをスカラ値 | |
| 284 | これらを配列やハッシュに適用すると、配列やハッシュをスカラ値 -- | |
| 436 | ハッシュの大きさの情報 | |
| 285 | 配列の長さかハッシュの大きさの情報 -- に変換し、そのスカラ値に対して | |
| 286 | 動作します。 | |
| 437 | 287 | これはおそらくしたいこととは違うでしょう。 |
| 438 | 288 | 代替案については L<perlfunc/grep> と L<perlfunc/map> を参照してください。 |
| 439 | 289 | |
| 440 | =item Arg t | |
| 290 | =item Args must match #! line | |
| 441 | 291 | |
| 442 | 292 | =begin original |
| 443 | 293 | |
| 444 | (F) | |
| 294 | (F) The setuid emulator requires that the arguments Perl was invoked | |
| 295 | with match the arguments specified on the #! line. Since some systems | |
| 296 | impose a one-argument limit on the #! line, try combining switches; | |
| 297 | for example, turn C<-w -U> into C<-wU>. | |
| 445 | 298 | |
| 446 | 299 | =end original |
| 447 | 300 | |
| 448 | (F) | |
| 301 | (F) setuid エミュレータでは、Perl を起動したときの引数と、 | |
| 302 | #! の行で指定された引数はマッチすることが要求されます。 | |
| 303 | #! 行の 1 引数制限があるシステムがあるので、 | |
| 304 | 組み合わせスイッチを試してみてください; | |
| 305 | 例えば、C<-w -U> を C<-wU> にしてください。 | |
| 449 | 306 | |
| 450 | =item Arg | |
| 307 | =item Arg too short for msgsnd | |
| 451 | 308 | |
| 452 | 309 | =begin original |
| 453 | 310 | |
| 454 | ( | |
| 311 | (F) msgsnd() requires a string at least as long as sizeof(long). | |
| 455 | that expected a numeric value instead. If you're fortunate the message | |
| 456 | will identify which operator was so unfortunate. | |
| 457 | 312 | |
| 458 | 313 | =end original |
| 459 | 314 | |
| 460 | ( | |
| 315 | (F) msgsnd() に渡す文字列は、少なくとも sizeof(long) の | |
| 461 | ||
| 316 | 長さが必要です。 | |
| 462 | 運がよければ、このメッセージによって、どの演算子が問題となったかが | |
| 463 | わかります。 | |
| 464 | 317 | |
| 465 | = | |
| 318 | =item %s argument is not a HASH or ARRAY element | |
| 466 | 319 | |
| 467 | Note that for the C<Inf> and C<NaN> (infinity and not-a-number) the | |
| 468 | definition of "numeric" is somewhat unusual: the strings themselves | |
| 469 | (like "Inf") are considered numeric, and anything following them is | |
| 470 | considered non-numeric. | |
| 471 | ||
| 472 | =end original | |
| 473 | ||
| 474 | Note that for the | |
| 475 | C<Inf> と C<NaN> (無限と非数) については、「数値」の定義が少し | |
| 476 | 変わっていることに注意してください: | |
| 477 | ("Inf" のような) これらの文字列自身は数値として扱われますが、それに | |
| 478 | 何かが引き続いている場合は非数値として扱われます。 | |
| 479 | ||
| 480 | =item Argument list not closed for PerlIO layer "%s" | |
| 481 | ||
| 482 | 320 | =begin original |
| 483 | 321 | |
| 484 | ( | |
| 322 | (F) The argument to exists() must be a hash or array element, such as: | |
| 485 | system you forgot the ) that closes the argument list. (Layers | |
| 486 | take care of transforming data between external and internal | |
| 487 | representations.) Perl stopped parsing the layer list at this | |
| 488 | point and did not attempt to push this layer. If your program | |
| 489 | didn't explicitly request the failing operation, it may be the | |
| 490 | result of the value of the environment variable PERLIO. | |
| 491 | 323 | |
| 492 | 324 | =end original |
| 493 | 325 | |
| 494 | ( | |
| 326 | (F) exists() の引数は、 | |
| 495 | ||
| 327 | 以下のようなハッシュの要素でなければなりません。 | |
| 496 | (層はデータの外部表現と内部表現の変換を扱います。) | |
| 497 | Perl はここで層のリストのパースを中止し、この層の追加は行われませんでした。 | |
| 498 | 明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の | |
| 499 | 値が原因かもしれません。 | |
| 500 | 328 | |
| 501 | ||
| 329 | $foo{$bar} | |
| 330 | $ref->{"susie"}[12] | |
| 502 | 331 | |
| 503 | = | |
| 332 | =item %s argument is not a HASH or ARRAY element or slice | |
| 504 | 333 | |
| 505 | (W numeric) The indicated string was fed as an argument to the C<++> | |
| 506 | operator which expects either a number or a string matching | |
| 507 | C</^[a-zA-Z]*[0-9]*\z/>. See L<perlop/Auto-increment and | |
| 508 | Auto-decrement> for details. | |
| 509 | ||
| 510 | =end original | |
| 511 | ||
| 512 | (W numeric) 数値または C</^[a-zA-Z]*[0-9]*\z/> にマッチングする文字列を | |
| 513 | 想定しているC<++> 演算子に、示された文字列が指定されました。 | |
| 514 | 詳しくは L<perlop/Auto-increment and Auto-decrement> を参照してください。 | |
| 515 | ||
| 516 | =item Array passed to stat will be coerced to a scalar%s | |
| 517 | ||
| 518 | 334 | =begin original |
| 519 | 335 | |
| 520 | ( | |
| 336 | (F) The argument to delete() must be either a hash or array element, | |
| 521 | ||
| 337 | such as: | |
| 522 | 338 | |
| 523 | 339 | =end original |
| 524 | 340 | |
| 525 | ( | |
| 341 | (F) delete() の引数は以下のようにハッシュか配列の要素であるか: | |
| 526 | スカラ - 配列の要素数 - に強制されました。 | |
| 527 | 342 | |
| 528 | ||
| 343 | $foo{$bar} | |
| 344 | $ref->{"susie"}[12] | |
| 529 | 345 | |
| 530 | 346 | =begin original |
| 531 | 347 | |
| 532 | ||
| 348 | or a hash or array slice, such as: | |
| 533 | sigil; for example: | |
| 534 | 349 | |
| 535 | 350 | =end original |
| 536 | 351 | |
| 537 | ||
| 352 | あるいは以下のようにハッシュか配列のスライスでなければなりません: | |
| 538 | 始まらなければなりません; 例えば: | |
| 539 | 353 | |
| 540 | | |
| 354 | @foo[$bar, $baz, $xyzzy] | |
| 355 | @{$ref->[12]}{"susie", "queue"} | |
| 541 | 356 | |
| 542 | =item | |
| 357 | =item %s argument is not a subroutine name | |
| 543 | 358 | |
| 544 | 359 | =begin original |
| 545 | 360 | |
| 546 | (F) | |
| 361 | (F) The argument to exists() for C<exists &sub> must be a subroutine | |
| 547 | ||
| 362 | name, and not a subroutine call. C<exists &sub()> will generate this | |
| 363 | error. | |
| 548 | 364 | |
| 549 | 365 | =end original |
| 550 | 366 | |
| 551 | (F) | |
| 367 | (F) C<exists &sub> の形の exists() の引数はサブルーチン呼び出しではなく、 | |
| 552 | ||
| 368 | サブルーチン名でなければなりません。 | |
| 369 | C<exists &sub()> とするとこのエラーが生成されます。 | |
| 553 | 370 | |
| 554 | | |
| 371 | =item Argument "%s" isn't numeric%s | |
| 555 | sub foo (@a = (1)) {} # invalid | |
| 556 | sub foo (%a = (a => b)) {} # invalid | |
| 557 | 372 | |
| 558 | =item assertion botched: %s | |
| 559 | ||
| 560 | 373 | =begin original |
| 561 | 374 | |
| 562 | ( | |
| 375 | (W numeric) The indicated string was fed as an argument to an operator | |
| 376 | that expected a numeric value instead. If you're fortunate the message | |
| 377 | will identify which operator was so unfortunate. | |
| 563 | 378 | |
| 564 | 379 | =end original |
| 565 | 380 | |
| 566 | ( | |
| 381 | (W numeric) ここに示した文字列は、数値が必要な演算子の引数として、 | |
| 382 | 与えられました。 | |
| 383 | 運がよければ、このメッセージによって、どの演算子が | |
| 384 | 問題となったかがわかります。 | |
| 567 | 385 | |
| 568 | =item A | |
| 386 | =item Array @%s missing the @ in argument %d of %s() | |
| 569 | 387 | |
| 570 | 388 | =begin original |
| 571 | 389 | |
| 572 | ( | |
| 390 | (D deprecated) Really old Perl let you omit the @ on array names in some | |
| 391 | spots. This is now heavily deprecated. | |
| 573 | 392 | |
| 574 | 393 | =end original |
| 575 | 394 | |
| 576 | ( | |
| 395 | (D deprecated) 本当に古い Perl では、場所によっては、配列名の @ を | |
| 577 | ||
| 396 | 省略できました。 | |
| 397 | この省略は、止めてください。 | |
| 578 | 398 | |
| 579 | =item | |
| 399 | =item assertion botched: %s | |
| 580 | 400 | |
| 581 | 401 | =begin original |
| 582 | 402 | |
| 583 | ( | |
| 403 | (P) The malloc package that comes with Perl had an internal failure. | |
| 584 | reference (e.g., C<\$x = $y>). If you meant to make $x an alias to $y, use | |
| 585 | C<\$x = \$y>. | |
| 586 | 404 | |
| 587 | 405 | =end original |
| 588 | 406 | |
| 589 | ( | |
| 407 | (P) Perl に付属の malloc ルーティンが内部エラーを起こしました。 | |
| 590 | (例: C<\$x = $y>)。 | |
| 591 | $x を $y の別名にすることを意図しているなら、C<\$x = \$y> を使ってください。 | |
| 592 | 408 | |
| 593 | =item Assi | |
| 409 | =item Assertion failed: file "%s" | |
| 594 | 410 | |
| 595 | 411 | =begin original |
| 596 | 412 | |
| 597 | ( | |
| 413 | (P) A general assertion failed. The file in question must be examined. | |
| 598 | two references were not of the same type. You cannot alias a scalar to | |
| 599 | an array, or an array to a hash; the two types must match. | |
| 600 | 414 | |
| 601 | 415 | =end original |
| 602 | 416 | |
| 603 | ( | |
| 417 | (P) 一般的なアサーションが失敗しました。 | |
| 604 | ||
| 418 | 問題の file を調べる必要があります。 | |
| 605 | スカラから配列への別名や配列からハッシュへの別名はできません; | |
| 606 | 二つの型は一致していなければなりません。 | |
| 607 | 419 | |
| 608 | \$x = \@y; # error | |
| 609 | \@x = \%y; # error | |
| 610 | $y = []; | |
| 611 | \$x = $y; # error; did you mean \$y? | |
| 612 | ||
| 613 | =item Assigning non-zero to $[ is no longer possible | |
| 614 | ||
| 615 | =begin original | |
| 616 | ||
| 617 | (F) When the "array_base" feature is disabled | |
| 618 | (e.g., and under C<use v5.16;>, and as of Perl 5.30) | |
| 619 | the special variable C<$[>, which is deprecated, is now a fixed zero value. | |
| 620 | ||
| 621 | =end original | |
| 622 | ||
| 623 | (F) (C<use v5.16;> のように、そして Perl 5.30 から) "array_base" 機能が | |
| 624 | 無効の場合、廃止予定である特殊変数 C<$[> は 0 固定です。 | |
| 625 | ||
| 626 | 420 | =item Assignment to both a list and a scalar |
| 627 | 421 | |
| 628 | 422 | =begin original |
| 629 | 423 | |
| 630 | 424 | (F) If you assign to a conditional operator, the 2nd and 3rd arguments |
| 631 | 425 | must either both be scalars or both be lists. Otherwise Perl won't |
| 632 | 426 | know which context to supply to the right side. |
| 633 | 427 | |
| 634 | 428 | =end original |
| 635 | 429 | |
| 636 | (F) 条件演算子へ代入を行なう場合には、 | |
| 430 | (F) 条件演算子へ代入を行なう場合には、2 つめの引数と、3 つめの引数は、 | |
| 637 | 431 | ともにスカラか、ともにリストでなければなりません。 |
| 638 | 432 | そうでないと、Perl は右辺のコンテキストを決めることができません。 |
| 639 | 433 | |
| 640 | =item | |
| 434 | =item Negative offset to vec in lvalue context | |
| 641 | 435 | |
| 642 | 436 | =begin original |
| 643 | 437 | |
| 644 | (W | |
| 438 | (F) When vec is called in an lvalue context, the second argument must be | |
| 439 | greater than or equal to zero. | |
| 645 | 440 | |
| 646 | 441 | =end original |
| 647 | 442 | |
| 648 | ( | |
| 443 | (F) 左辺値コンテキストで vec が呼び出されたとき、 | |
| 444 | 二つ目の引数は 0 以上でなければなりません。 | |
| 649 | 445 | |
| 650 | | |
| 446 | =item Attempt to free non-arena SV: 0x%lx | |
| 651 | [[:digit:xyz] | |
| 652 | 447 | |
| 653 | 448 | =begin original |
| 654 | 449 | |
| 655 | ||
| 450 | (P internal) All SV objects are supposed to be allocated from arenas | |
| 656 | C<[:alnum:]> or C<[:digit:]>. If so, they should be written: | |
| 657 | ||
| 658 | =end original | |
| 659 | ||
| 660 | これらは、POSIX クラス C<[:alnum:]> や C<[:digit:]> を意味しようと | |
| 661 | していたように見えます。 | |
| 662 | もしそうなら、次のように書くべきです: | |
| 663 | ||
| 664 | [[:alnum:]] | |
| 665 | [[:digit:]xyz] | |
| 666 | ||
| 667 | =begin original | |
| 668 | ||
| 669 | Since these aren't legal POSIX class specifications, but are legal | |
| 670 | bracketed character classes, Perl treats them as the latter. In the | |
| 671 | first example, it matches the characters C<":">, C<"[">, C<"a">, C<"l">, | |
| 672 | C<"m">, C<"n">, and C<"u">. | |
| 673 | ||
| 674 | =end original | |
| 675 | ||
| 676 | これらは有効な POSIX クラスしようではありませんが、有効な | |
| 677 | 大かっこ文字クラスなので、Perl これらを後者として扱います。 | |
| 678 | 一つ目の例では、これは C<":">, C<"[">, C<"a">, C<"l">, | |
| 679 | C<"m">, C<"n">, C<"u"> にマッチングします。 | |
| 680 | ||
| 681 | =begin original | |
| 682 | ||
| 683 | If these weren't meant to be POSIX classes, this warning message is | |
| 684 | spurious, and can be suppressed by reordering things, such as | |
| 685 | ||
| 686 | =end original | |
| 687 | ||
| 688 | これらが POSIX クラスを意味していないなら、この警告は誤りで、 | |
| 689 | 次のように文字を入れ替えることで抑制できます: | |
| 690 | ||
| 691 | [[al:num]] | |
| 692 | ||
| 693 | =begin original | |
| 694 | ||
| 695 | or | |
| 696 | ||
| 697 | =end original | |
| 698 | ||
| 699 | または | |
| 700 | ||
| 701 | [[:munla]] | |
| 702 | ||
| 703 | =item <> at require-statement should be quotes | |
| 704 | ||
| 705 | =begin original | |
| 706 | ||
| 707 | (F) You wrote C<< require <file> >> when you should have written | |
| 708 | C<require 'file'>. | |
| 709 | ||
| 710 | =end original | |
| 711 | ||
| 712 | (F) C<require 'file'> と書くべきところで C<< require <file> >> と | |
| 713 | 書いています。 | |
| 714 | ||
| 715 | =item Attempt to access disallowed key '%s' in a restricted hash | |
| 716 | ||
| 717 | =begin original | |
| 718 | ||
| 719 | (F) The failing code has attempted to get or set a key which is not in | |
| 720 | the current set of allowed keys of a restricted hash. | |
| 721 | ||
| 722 | =end original | |
| 723 | ||
| 724 | (F) 制限ハッシュで許されているキーの集合に含まれていないキーに対して | |
| 725 | 取得または設定しようとして失敗しました。 | |
| 726 | ||
| 727 | =item Attempt to bless into a freed package | |
| 728 | ||
| 729 | =begin original | |
| 730 | ||
| 731 | (F) You wrote C<bless $foo> with one argument after somehow causing | |
| 732 | the current package to be freed. Perl cannot figure out what to | |
| 733 | do, so it throws up its hands in despair. | |
| 734 | ||
| 735 | =end original | |
| 736 | ||
| 737 | (F) 現在のパッケージが解放されるような何かが起きた後で 1 引数の | |
| 738 | C<bless $foo> を書きました。 | |
| 739 | 何がしたいのかが分からないので Perl はお手上げになりました。 | |
| 740 | ||
| 741 | =item Attempt to bless into a reference | |
| 742 | ||
| 743 | =begin original | |
| 744 | ||
| 745 | (F) The CLASSNAME argument to the bless() operator is expected to be | |
| 746 | the name of the package to bless the resulting object into. You've | |
| 747 | supplied instead a reference to something: perhaps you wrote | |
| 748 | ||
| 749 | =end original | |
| 750 | ||
| 751 | (F) bless() 演算子の CLASSNAME 引数は結果のオブジェクトに bless する | |
| 752 | パッケージ名を想定しています。 | |
| 753 | そこに何かへのリファレンスが与えられました: | |
| 754 | おそらく以下のようにしたのでしょう: | |
| 755 | ||
| 756 | bless $self, $proto; | |
| 757 | ||
| 758 | =begin original | |
| 759 | ||
| 760 | when you intended | |
| 761 | ||
| 762 | =end original | |
| 763 | ||
| 764 | 以下を意図していたはずです: | |
| 765 | ||
| 766 | bless $self, ref($proto) || $proto; | |
| 767 | ||
| 768 | =begin original | |
| 769 | ||
| 770 | If you actually want to bless into the stringified version | |
| 771 | of the reference supplied, you need to stringify it yourself, for | |
| 772 | example by: | |
| 773 | ||
| 774 | =end original | |
| 775 | ||
| 776 | 実際に与えられたリファレンスを文字列化したものに bless したい場合は、 | |
| 777 | 以下のようにして自分で文字列化する必要があります: | |
| 778 | ||
| 779 | bless $self, "$proto"; | |
| 780 | ||
| 781 | =item Attempt to clear deleted array | |
| 782 | ||
| 783 | =begin original | |
| 784 | ||
| 785 | (S debugging) An array was assigned to when it was being freed. | |
| 786 | Freed values are not supposed to be visible to Perl code. This | |
| 787 | can also happen if XS code calls C<av_clear> from a custom magic | |
| 788 | callback on the array. | |
| 789 | ||
| 790 | =end original | |
| 791 | ||
| 792 | (S debugging) 配列が、解放されるときに代入されました。 | |
| 793 | 解放された値は Perl コードからは見えないはずです。 | |
| 794 | これはまた、XS コードが配列のカスタムマジックコールバックから | |
| 795 | C<av_clear> を呼び出したときにも起こります。 | |
| 796 | ||
| 797 | =item Attempt to delete disallowed key '%s' from a restricted hash | |
| 798 | ||
| 799 | =begin original | |
| 800 | ||
| 801 | (F) The failing code attempted to delete from a restricted hash a key | |
| 802 | which is not in its key set. | |
| 803 | ||
| 804 | =end original | |
| 805 | ||
| 806 | (F) 制限ハッシュで、キー集合に含まれていないキーから削除しようとしました。 | |
| 807 | ||
| 808 | =item Attempt to delete readonly key '%s' from a restricted hash | |
| 809 | ||
| 810 | =begin original | |
| 811 | ||
| 812 | (F) The failing code attempted to delete a key whose value has been | |
| 813 | declared readonly from a restricted hash. | |
| 814 | ||
| 815 | =end original | |
| 816 | ||
| 817 | (F) 制限ハッシュで、読み込み専用として宣言されている値のキーを | |
| 818 | 削除しようとしました。 | |
| 819 | ||
| 820 | =item Attempt to free non-arena SV: 0x%x | |
| 821 | ||
| 822 | =begin original | |
| 823 | ||
| 824 | (S internal) All SV objects are supposed to be allocated from arenas | |
| 825 | 451 | that will be garbage collected on exit. An SV was discovered to be |
| 826 | 452 | outside any of those arenas. |
| 827 | 453 | |
| 828 | 454 | =end original |
| 829 | 455 | |
| 830 | ( | |
| 456 | (P internal) すべての SV オブジェクトは、exit 時にガーベジコレクションが | |
| 831 | 457 | 行なわれるアリーナに割り当てるようになっています。 |
| 832 | 458 | ある SV が、そういったアリーナに入っていないことが、見つかりました。 |
| 833 | 459 | |
| 834 | =item Attempt to free nonexistent shared string | |
| 460 | =item Attempt to free nonexistent shared string | |
| 835 | 461 | |
| 836 | 462 | =begin original |
| 837 | 463 | |
| 838 | ( | |
| 464 | (P internal) Perl maintains a reference counted internal table of | |
| 839 | 465 | strings to optimize the storage and access of hash keys and other |
| 840 | 466 | strings. This indicates someone tried to decrement the reference count |
| 841 | 467 | of a string that can no longer be found in the table. |
| 842 | 468 | |
| 843 | 469 | =end original |
| 844 | 470 | |
| 845 | ( | |
| 471 | (P internal) Perl はストレージおよびハッシュキーとその他の | |
| 846 | アクセスを最適化するために、文字列の参照数テーブルを | |
| 472 | 文字列へのアクセスを最適化するために、文字列の参照数テーブルを | |
| 847 | ||
| 473 | 管理しています。 | |
| 848 | ||
| 474 | これは誰かがもうテーブルにない文字列の参照カウントを減らそうと | |
| 475 | したことを示します。 | |
| 849 | 476 | |
| 850 | =item Attempt to free temp prematurely | |
| 477 | =item Attempt to free temp prematurely | |
| 851 | 478 | |
| 852 | 479 | =begin original |
| 853 | 480 | |
| 854 | ( | |
| 481 | (W debugging) Mortalized values are supposed to be freed by the | |
| 855 | 482 | free_tmps() routine. This indicates that something else is freeing the |
| 856 | 483 | SV before the free_tmps() routine gets a chance, which means that the |
| 857 | 484 | free_tmps() routine will be freeing an unreferenced scalar when it does |
| 858 | 485 | try to free it. |
| 859 | 486 | |
| 860 | 487 | =end original |
| 861 | 488 | |
| 862 | ( | |
| 489 | (W debugging) 消滅する値は、free_tmps() ルーティンで解放されるように | |
| 863 | 490 | なっています。 |
| 864 | 491 | このメッセージは、free_tmps() ルーティンの前に何ものかが、SV を |
| 865 | 492 | 解放しようとしていることを示していて、これは、free_tmps() が |
| 866 | 493 | 解放しようとしたときには、どこからも参照されていないスカラを |
| 867 | 494 | 解放することになるということです。 |
| 868 | 495 | |
| 869 | 496 | =item Attempt to free unreferenced glob pointers |
| 870 | 497 | |
| 871 | 498 | =begin original |
| 872 | 499 | |
| 873 | ( | |
| 500 | (P internal) The reference counts got screwed up on symbol aliases. | |
| 874 | 501 | |
| 875 | 502 | =end original |
| 876 | 503 | |
| 877 | ( | |
| 504 | (P internal) シンボルのエイリアスについて、参照カウントの値がおかしな | |
| 878 | 505 | 状態になりました。 |
| 879 | 506 | |
| 880 | =item Attempt to free unreferenced scalar | |
| 507 | =item Attempt to free unreferenced scalar | |
| 881 | 508 | |
| 882 | 509 | =begin original |
| 883 | 510 | |
| 884 | ( | |
| 511 | (W internal) Perl went to decrement the reference count of a scalar to | |
| 885 | 512 | see if it would go to 0, and discovered that it had already gone to 0 |
| 886 | 513 | earlier, and should have been freed, and in fact, probably was freed. |
| 887 | 514 | This could indicate that SvREFCNT_dec() was called too many times, or |
| 888 | 515 | that SvREFCNT_inc() was called too few times, or that the SV was |
| 889 | 516 | mortalized when it shouldn't have been, or that memory has been |
| 890 | 517 | corrupted. |
| 891 | 518 | |
| 892 | 519 | =end original |
| 893 | 520 | |
| 894 | ( | |
| 521 | (W) Perl がスカラの参照カウントをデクリメントしようとして、0 に | |
| 895 | なるかを見たところ、既に 0 になっていることがわかりました | |
| 522 | なるかを見たところ、既に 0 になっていることがわかりました。 | |
| 896 | 523 | これは、既に解放されているべきものであり、実際は、おそらく、 |
| 897 | 524 | 解放されたものでしょう。 |
| 898 | 525 | これは、SvREFCNT_dec() が必要以上に呼ばれたか、SvREFCNT_inc() が必要な |
| 899 | 526 | ときに呼ばれなかったか、SV が消滅すべきで無いときに消滅してしまったか、 |
| 900 | 527 | メモリ異常になったことが考えられます。 |
| 901 | 528 | |
| 529 | =item Attempt to join self | |
| 530 | ||
| 531 | =begin original | |
| 532 | ||
| 533 | (F) You tried to join a thread from within itself, which is an | |
| 534 | impossible task. You may be joining the wrong thread, or you may need | |
| 535 | to move the join() to some other thread. | |
| 536 | ||
| 537 | =end original | |
| 538 | ||
| 539 | (F) スレッドをそれ自身の中から join しようとしました。 | |
| 540 | これは不可能な動作です。 | |
| 541 | 間違ったスレッドに join しようとしているか、 | |
| 542 | あるいは join() を他のスレッドに移動させる必要があります。 | |
| 543 | ||
| 902 | 544 | =item Attempt to pack pointer to temporary value |
| 903 | 545 | |
| 904 | 546 | =begin original |
| 905 | 547 | |
| 906 | 548 | (W pack) You tried to pass a temporary value (like the result of a |
| 907 | 549 | function, or a computed expression) to the "p" pack() template. This |
| 908 | 550 | means the result contains a pointer to a location that could become |
| 909 | 551 | invalid anytime, even before the end of the current statement. Use |
| 910 | 552 | literals or global values as arguments to the "p" pack() template to |
| 911 | 553 | avoid this warning. |
| 912 | 554 | |
| 913 | 555 | =end original |
| 914 | 556 | |
| 915 | 557 | (W pack) (関数の結果や計算された式といった)一時的な値を pack() の |
| 916 | 558 | "p" テンプレートに渡そうとしました。 |
| 917 | 559 | これは、たとえ現在の文の終了前でも、不正な値となり得ます。 |
| 918 | この警告を避けるためには、pack テンプレート "p" の引数として、 | |
| 560 | この警告を避けるためには、pack テンプレート "p" の引数として、 | |
| 919 | グローバルな値を使ってください。 | |
| 561 | リテラルかグローバルな値を使ってください。 | |
| 920 | 562 | |
| 921 | =item Attempt to reload %s aborted. | |
| 922 | ||
| 923 | =begin original | |
| 924 | ||
| 925 | (F) You tried to load a file with C<use> or C<require> that failed to | |
| 926 | compile once already. Perl will not try to compile this file again | |
| 927 | unless you delete its entry from %INC. See L<perlfunc/require> and | |
| 928 | L<perlvar/%INC>. | |
| 929 | ||
| 930 | =end original | |
| 931 | ||
| 932 | (F) 既に一度コンパイルに失敗しているファイルを C<use> や C<require> で | |
| 933 | 読み込もうとしました。 | |
| 934 | Perl は %INC からこのファイルのエントリを削除するまで再びファイルを | |
| 935 | コンパイルしようとはしません。 | |
| 936 | L<perlfunc/require> と L<perlvar/%INC> を参照してください。 | |
| 937 | ||
| 938 | =item Attempt to set length of freed array | |
| 939 | ||
| 940 | =begin original | |
| 941 | ||
| 942 | (W misc) You tried to set the length of an array which has | |
| 943 | been freed. You can do this by storing a reference to the | |
| 944 | scalar representing the last index of an array and later | |
| 945 | assigning through that reference. For example | |
| 946 | ||
| 947 | =end original | |
| 948 | ||
| 949 | (W misc) 既に解放された配列の長さを設定しようとしました。 | |
| 950 | 配列の最後のインデックスを表現するスカラをリファレンスに保存して、 | |
| 951 | 後でこのリファレンスを通して代入することでこれを行えます。 | |
| 952 | 例えば: | |
| 953 | ||
| 954 | $r = do {my @a; \$#a}; | |
| 955 | $$r = 503 | |
| 956 | ||
| 957 | 563 | =item Attempt to use reference as lvalue in substr |
| 958 | 564 | |
| 959 | 565 | =begin original |
| 960 | 566 | |
| 961 | 567 | (W substr) You supplied a reference as the first argument to substr() |
| 962 | 568 | used as an lvalue, which is pretty strange. Perhaps you forgot to |
| 963 | 569 | dereference it first. See L<perlfunc/substr>. |
| 964 | 570 | |
| 965 | 571 | =end original |
| 966 | 572 | |
| 967 | 573 | (W substr) 左辺値として使われる substr() の 1 番目の引数としてリファレンスを |
| 968 | 574 | 渡しました; これはやや奇妙なことです。 |
| 969 | 575 | おそらくはまずデリファレンスするのを忘れたのでしょう。 |
| 970 | 576 | L<perlfunc/substr> を参照してください。 |
| 971 | 577 | |
| 972 | =item | |
| 578 | =item Bad arg length for %s, is %d, should be %d | |
| 973 | 579 | |
| 974 | 580 | =begin original |
| 975 | 581 | |
| 976 | (W misc) A sub was declared as sub foo : prototype(A) : prototype(B) {}, for | |
| 977 | example. Since each sub can only have one prototype, the earlier | |
| 978 | declaration(s) are discarded while the last one is applied. | |
| 979 | ||
| 980 | =end original | |
| 981 | ||
| 982 | (W misc) あるサブルーチンが、例えば | |
| 983 | sub foo : prototype(A) : prototype(B) {} のように宣言されました。 | |
| 984 | それぞれのサブルーチンは一つのプロトタイプしか持てないので、先に | |
| 985 | 宣言されたものは破棄され、最後のものが適用されます。 | |
| 986 | ||
| 987 | =item av_reify called on tied array | |
| 988 | ||
| 989 | =begin original | |
| 990 | ||
| 991 | (S debugging) This indicates that something went wrong and Perl got I<very> | |
| 992 | confused about C<@_> or C<@DB::args> being tied. | |
| 993 | ||
| 994 | =end original | |
| 995 | ||
| 996 | (S debugging) これは、C<@_> や C<@DB::args> が tie されたことに関して何かが | |
| 997 | うまくいかなくて Perl が I<とても> 混乱したことを示しています。 | |
| 998 | ||
| 999 | =item Bad arg length for %s, is %u, should be %d | |
| 1000 | ||
| 1001 | =begin original | |
| 1002 | ||
| 1003 | 582 | (F) You passed a buffer of the wrong size to one of msgctl(), semctl() |
| 1004 | 583 | or shmctl(). In C parlance, the correct sizes are, respectively, |
| 1005 | 584 | S<sizeof(struct msqid_ds *)>, S<sizeof(struct semid_ds *)>, and |
| 1006 | 585 | S<sizeof(struct shmid_ds *)>. |
| 1007 | 586 | |
| 1008 | 587 | =end original |
| 1009 | 588 | |
| 1010 | 589 | (F) msgctl()、semctl()、shmctl() のいずれかに、間違ったサイズのバッファを |
| 1011 | 590 | 渡してしまいました。 |
| 1012 | 591 | C の言い方で書くと、正しいサイズはそれぞれ、sizeof(struct msqid_ds *)、 |
| 1013 | 592 | sizeof(struct semid_ds *)、sizeof(struct shmid_ds *) です。 |
| 1014 | 593 | |
| 1015 | 594 | =item Bad evalled substitution pattern |
| 1016 | 595 | |
| 1017 | 596 | =begin original |
| 1018 | 597 | |
| 1019 | (F) You've used the | |
| 598 | (F) You've used the /e switch to evaluate the replacement for a | |
| 1020 | 599 | substitution, but perl found a syntax error in the code to evaluate, |
| 1021 | 600 | most likely an unexpected right brace '}'. |
| 1022 | 601 | |
| 1023 | 602 | =end original |
| 1024 | 603 | |
| 1025 | 604 | (F)置換のための置き換え文字列を評価するために C</e> オプションを指定して |
| 1026 | 605 | いますが、評価するコードに文法エラーがありました; |
| 1027 | 606 | 最もありそうなことは、予期しない位置に右中かっこ '}' があったことです。 |
| 1028 | 607 | |
| 1029 | 608 | =item Bad filehandle: %s |
| 1030 | 609 | |
| 1031 | 610 | =begin original |
| 1032 | 611 | |
| 1033 | 612 | (F) A symbol was passed to something wanting a filehandle, but the |
| 1034 | 613 | symbol has no filehandle associated with it. Perhaps you didn't do an |
| 1035 | 614 | open(), or did it in another package. |
| 1036 | 615 | |
| 1037 | 616 | =end original |
| 1038 | 617 | |
| 1039 | (F) ファイルハンドルが必要なものに、シンボルを渡しましたが、 | |
| 618 | (F) ファイルハンドルが必要なものに、シンボルを渡しましたが、 | |
| 1040 | それに伴うファイルハンドルがありません。 | |
| 619 | そのシンボルは、それに伴うファイルハンドルがありません。 | |
| 1041 | 620 | おそらく、open() を忘れたか、別のパッケージで open() したかでしょう。 |
| 1042 | 621 | |
| 1043 | 622 | =item Bad free() ignored |
| 1044 | 623 | |
| 1045 | 624 | =begin original |
| 1046 | 625 | |
| 1047 | 626 | (S malloc) An internal routine called free() on something that had never |
| 1048 | been malloc()ed in the first place. | |
| 627 | been malloc()ed in the first place. Mandatory, but can be disabled by | |
| 1049 | 628 | setting environment variable C<PERL_BADFREE> to 0. |
| 1050 | 629 | |
| 1051 | 630 | =end original |
| 1052 | 631 | |
| 1053 | 632 | (S malloc) まず、malloc() されていないものに対して、内部ルーティンが |
| 1054 | 633 | free() を呼びました。 |
| 1055 | 634 | 強制ですが、環境変数 C<PERL_BADFREE> を 0 にすることで無効化できます。 |
| 1056 | 635 | |
| 1057 | 636 | =begin original |
| 1058 | 637 | |
| 1059 | 638 | This message can be seen quite often with DB_File on systems with "hard" |
| 1060 | dynamic linking, like C<AIX> and C<OS/2>. | |
| 639 | dynamic linking, like C<AIX> and C<OS/2>. It is a bug of C<Berkeley DB> | |
| 1061 | 640 | which is left unnoticed if C<DB> uses I<forgiving> system malloc(). |
| 1062 | 641 | |
| 1063 | 642 | =end original |
| 1064 | 643 | |
| 1065 | 644 | このメッセージ は、C<AIX> や C<OS/2> のような、「ハード」動的リンクを |
| 1066 | 645 | 行うシステムで DB_File を使うとしばしば表示されます。 |
| 1067 | 646 | これは C<DB> がシステムの malloc() を許していることに気が付かない |
| 1068 | 647 | C<Berkeley DB> のバグです。 |
| 1069 | 648 | |
| 1070 | 649 | =item Bad hash |
| 1071 | 650 | |
| 1072 | 651 | =begin original |
| 1073 | 652 | |
| 1074 | 653 | (P) One of the internal hash routines was passed a null HV pointer. |
| 1075 | 654 | |
| 1076 | 655 | =end original |
| 1077 | 656 | |
| 1078 | 657 | (P) 内部ハッシュルーティンで、ヌル HV ポインタを渡されたものがありました。 |
| 1079 | 658 | |
| 659 | =item Bad index while coercing array into hash | |
| 660 | ||
| 661 | =begin original | |
| 662 | ||
| 663 | (F) The index looked up in the hash found as the 0'th element of a | |
| 664 | pseudo-hash is not legal. Index values must be at 1 or greater. | |
| 665 | See L<perlref>. | |
| 666 | ||
| 667 | =end original | |
| 668 | ||
| 669 | (F) 擬似ハッシュの 0 番目の要素として見つかったハッシュの中の | |
| 670 | インデックス検索は不正です。 | |
| 671 | インデックスの値は 1 以上でなければなりません。 | |
| 672 | L<perlref> を参照してください。 | |
| 673 | ||
| 1080 | 674 | =item Badly placed ()'s |
| 1081 | 675 | |
| 1082 | 676 | =begin original |
| 1083 | 677 | |
| 1084 | 678 | (A) You've accidentally run your script through B<csh> instead |
| 1085 | 679 | of Perl. Check the #! line, or manually feed your script into |
| 1086 | 680 | Perl yourself. |
| 1087 | 681 | |
| 1088 | 682 | =end original |
| 1089 | 683 | |
| 1090 | 684 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
| 1091 | 685 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
| 1092 | 686 | |
| 1093 | =item Bad name after %s | |
| 687 | =item Bad name after %s:: | |
| 1094 | 688 | |
| 1095 | 689 | =begin original |
| 1096 | 690 | |
| 1097 | 691 | (F) You started to name a symbol by using a package prefix, and then |
| 1098 | 692 | didn't finish the symbol. In particular, you can't interpolate outside |
| 1099 | 693 | of quotes, so |
| 1100 | 694 | |
| 1101 | 695 | =end original |
| 1102 | 696 | |
| 1103 | (F) パッケージプレフィクスでシンボル名を書き始めましたが、 | |
| 697 | (F) パッケージプレフィクスでシンボル名を書き始めましたが、 | |
| 1104 | 終了しませんでした。 | |
| 698 | そのシンボルが終了しませんでした。 | |
| 1105 | 699 | 特に、クォートの外で、変数展開はできませんから、 |
| 1106 | 700 | |
| 1107 | 701 | $var = 'myvar'; |
| 1108 | 702 | $sym = mypack::$var; |
| 1109 | 703 | |
| 1110 | 704 | =begin original |
| 1111 | 705 | |
| 1112 | 706 | is not the same as |
| 1113 | 707 | |
| 1114 | 708 | =end original |
| 1115 | 709 | |
| 1116 | 710 | は、以下と同じではありません。 |
| 1117 | 711 | |
| 1118 | 712 | $var = 'myvar'; |
| 1119 | 713 | $sym = "mypack::$var"; |
| 1120 | 714 | |
| 1121 | =item Bad plugin affecting keyword '%s' | |
| 1122 | ||
| 1123 | =begin original | |
| 1124 | ||
| 1125 | (F) An extension using the keyword plugin mechanism violated the | |
| 1126 | plugin API. | |
| 1127 | ||
| 1128 | =end original | |
| 1129 | ||
| 1130 | (F) キーワードプラグイン機構を使っているエクステンションがプラグイン API に | |
| 1131 | 違反しました。 | |
| 1132 | ||
| 1133 | 715 | =item Bad realloc() ignored |
| 1134 | 716 | |
| 1135 | 717 | =begin original |
| 1136 | 718 | |
| 1137 | (S malloc) An internal routine called realloc() on something that | |
| 719 | (S malloc) An internal routine called realloc() on something that had | |
| 1138 | ||
| 720 | never been malloc()ed in the first place. Mandatory, but can be disabled | |
| 1139 | b | |
| 721 | by setting environment variable C<PERL_BADFREE> to 1. | |
| 1140 | 722 | |
| 1141 | 723 | =end original |
| 1142 | 724 | |
| 1143 | 725 | (S malloc) 内部ルーチンが、最初に malloc() されていない何かに対して |
| 1144 | 726 | realloc() を呼び出しました。 |
| 1145 | 727 | 必須ですが、環境変数 C<PERL_BADFREE> に 1 をセットすることで無効化できます。 |
| 1146 | 728 | |
| 1147 | 729 | =item Bad symbol for array |
| 1148 | 730 | |
| 1149 | 731 | =begin original |
| 1150 | 732 | |
| 1151 | 733 | (P) An internal request asked to add an array entry to something that |
| 1152 | 734 | wasn't a symbol table entry. |
| 1153 | 735 | |
| 1154 | 736 | =end original |
| 1155 | 737 | |
| 1156 | 738 | (P) シンボルテーブルエントリではないものに、配列エントリを登録するような |
| 1157 | 739 | 内部要求があがりました。 |
| 1158 | 740 | |
| 1159 | =item Bad symbol for dirhandle | |
| 1160 | ||
| 1161 | =begin original | |
| 1162 | ||
| 1163 | (P) An internal request asked to add a dirhandle entry to something | |
| 1164 | that wasn't a symbol table entry. | |
| 1165 | ||
| 1166 | =end original | |
| 1167 | ||
| 1168 | (P) シンボルテーブルエントリではないものに、ディレクトリハンドルエントリを | |
| 1169 | 登録するような内部要求があがりました。 | |
| 1170 | ||
| 1171 | 741 | =item Bad symbol for filehandle |
| 1172 | 742 | |
| 1173 | 743 | =begin original |
| 1174 | 744 | |
| 1175 | 745 | (P) An internal request asked to add a filehandle entry to something |
| 1176 | 746 | that wasn't a symbol table entry. |
| 1177 | 747 | |
| 1178 | 748 | =end original |
| 1179 | 749 | |
| 1180 | 750 | (P) シンボルテーブルエントリではないものに、ファイルハンドルエントリを |
| 1181 | 751 | 登録するような内部要求があがりました。 |
| 1182 | 752 | |
| 1183 | 753 | =item Bad symbol for hash |
| 1184 | 754 | |
| 1185 | 755 | =begin original |
| 1186 | 756 | |
| 1187 | 757 | (P) An internal request asked to add a hash entry to something that |
| 1188 | 758 | wasn't a symbol table entry. |
| 1189 | 759 | |
| 1190 | 760 | =end original |
| 1191 | 761 | |
| 1192 | 762 | (P) シンボルテーブルエントリではないものに、ハッシュエントリを |
| 1193 | 763 | 登録するような内部要求があがった。 |
| 1194 | 764 | |
| 1195 | =item Bad symbol for scalar | |
| 1196 | ||
| 1197 | =begin original | |
| 1198 | ||
| 1199 | (P) An internal request asked to add a scalar entry to something that | |
| 1200 | wasn't a symbol table entry. | |
| 1201 | ||
| 1202 | =end original | |
| 1203 | ||
| 1204 | (P) 内部で、シンボルテーブルエントリでないものに対してスカラエントリを | |
| 1205 | 追加するよう要求がありました。 | |
| 1206 | ||
| 1207 | 765 | =item Bareword found in conditional |
| 1208 | 766 | |
| 1209 | 767 | =begin original |
| 1210 | 768 | |
| 1211 | 769 | (W bareword) The compiler found a bareword where it expected a |
| 1212 | 770 | conditional, which often indicates that an || or && was parsed as part |
| 1213 | 771 | of the last argument of the previous construct, for example: |
| 1214 | 772 | |
| 1215 | 773 | =end original |
| 1216 | 774 | |
| 1217 | (W bareword) コンパイラが、条件が想定される位置に裸の単語を発見しました | |
| 775 | (W bareword) コンパイラが、条件が想定される位置に裸の単語を発見しました。 | |
| 1218 | 776 | これはしばしば、|| や && が直前の構造の最後の引数の一部として |
| 1219 | 777 | パースされたことを意味します; 例えば: |
| 1220 | 778 | |
| 1221 | 779 | open FOO || die; |
| 1222 | 780 | |
| 1223 | 781 | =begin original |
| 1224 | 782 | |
| 1225 | 783 | It may also indicate a misspelled constant that has been interpreted as |
| 1226 | 784 | a bareword: |
| 1227 | 785 | |
| 1228 | 786 | =end original |
| 1229 | 787 | |
| 1230 | 788 | これはまた、裸の単語として解釈されるような定数をタイプミスしたことを |
| 1231 | 789 | 示している場合もあります: |
| 1232 | 790 | |
| 1233 | 791 | use constant TYPO => 1; |
| 1234 | 792 | if (TYOP) { print "foo" } |
| 1235 | 793 | |
| 1236 | 794 | =begin original |
| 1237 | 795 | |
| 1238 | 796 | The C<strict> pragma is useful in avoiding such errors. |
| 1239 | 797 | |
| 1240 | 798 | =end original |
| 1241 | 799 | |
| 1242 | 800 | C<strict> プラグマはこのようなエラーを防ぐのに便利です。 |
| 1243 | 801 | |
| 1244 | =item Bareword in require contains "%s" | |
| 1245 | ||
| 1246 | =item Bareword in require maps to disallowed filename "%s" | |
| 1247 | ||
| 1248 | =item Bareword in require maps to empty filename | |
| 1249 | ||
| 1250 | =begin original | |
| 1251 | ||
| 1252 | (F) The bareword form of require has been invoked with a filename which could | |
| 1253 | not have been generated by a valid bareword permitted by the parser. You | |
| 1254 | shouldn't be able to get this error from Perl code, but XS code may throw it | |
| 1255 | if it passes an invalid module name to C<Perl_load_module>. | |
| 1256 | ||
| 1257 | =end original | |
| 1258 | ||
| 1259 | (F) 裸の単語形式の require は、パーサによって許された妥当な裸の単語によって | |
| 1260 | 生成することができないファイル名で起動されました。 | |
| 1261 | このエラーを Perl コードから得るようにできるべきではありませんが、 | |
| 1262 | C<Perl_load_module> に不正なモジュール名を渡した XS コードは | |
| 1263 | これを投げるかもしれません。 | |
| 1264 | ||
| 1265 | =item Bareword in require must not start with a double-colon: "%s" | |
| 1266 | ||
| 1267 | =begin original | |
| 1268 | ||
| 1269 | (F) In C<require Bare::Word>, the bareword is not allowed to start with a | |
| 1270 | double-colon. Write C<require ::Foo::Bar> as C<require Foo::Bar> instead. | |
| 1271 | ||
| 1272 | =end original | |
| 1273 | ||
| 1274 | (F) C<require Bare::Word> で、裸の単語はダブルコロンから | |
| 1275 | 開始することはできません。 | |
| 1276 | C<require ::Foo::Bar> ではなく C<require Foo::Bar> と書いてください。 | |
| 1277 | ||
| 1278 | 802 | =item Bareword "%s" not allowed while "strict subs" in use |
| 1279 | 803 | |
| 1280 | 804 | =begin original |
| 1281 | 805 | |
| 1282 | 806 | (F) With "strict subs" in use, a bareword is only allowed as a |
| 1283 | 807 | subroutine identifier, in curly brackets or to the left of the "=>" |
| 1284 | 808 | symbol. Perhaps you need to predeclare a subroutine? |
| 1285 | 809 | |
| 1286 | 810 | =end original |
| 1287 | 811 | |
| 1288 | "strict subs" が有効の場合、裸の単語はサブルーチンの識別子、 | |
| 812 | "strict subs" が有効の場合、裸の単語はサブルーチンの識別子、 | |
| 1289 | シンボル "=>" の左側でのみ許されます。 | |
| 813 | 中かっこの中、シンボル "=>" の左側でのみ許されます。 | |
| 1290 | 814 | おそらくサブルーチンを先行宣言する必要があるのでは? |
| 1291 | 815 | |
| 1292 | 816 | =item Bareword "%s" refers to nonexistent package |
| 1293 | 817 | |
| 1294 | 818 | =begin original |
| 1295 | 819 | |
| 1296 | 820 | (W bareword) You used a qualified bareword of the form C<Foo::>, but the |
| 1297 | 821 | compiler saw no other uses of that namespace before that point. Perhaps |
| 1298 | 822 | you need to predeclare a package? |
| 1299 | 823 | |
| 1300 | 824 | =end original |
| 1301 | 825 | |
| 1302 | 826 | (W bareword) C<Foo::> の形で修飾された裸の単語が使われていますが、 |
| 1303 | 827 | コンパイラはこの場所以外でこの名前空間が使われている場所を |
| 1304 | 828 | 発見できませんでした。 |
| 1305 | 829 | おそらくパッケージを専攻宣言する必要があるのでは? |
| 1306 | 830 | |
| 1307 | 831 | =item BEGIN failed--compilation aborted |
| 1308 | 832 | |
| 1309 | 833 | =begin original |
| 1310 | 834 | |
| 1311 | 835 | (F) An untrapped exception was raised while executing a BEGIN |
| 1312 | 836 | subroutine. Compilation stops immediately and the interpreter is |
| 1313 | 837 | exited. |
| 1314 | 838 | |
| 1315 | 839 | =end original |
| 1316 | 840 | |
| 1317 | (F) BEGIN サブルー | |
| 841 | (F) BEGIN サブルーティンの実行中にトラップ不可能な例外が発生しました。 | |
| 1318 | 842 | コンパイルは即座に停止し、インタプリタは中止します。 |
| 1319 | 843 | |
| 1320 | 844 | =item BEGIN not safe after errors--compilation aborted |
| 1321 | 845 | |
| 1322 | 846 | =begin original |
| 1323 | 847 | |
| 1324 | 848 | (F) Perl found a C<BEGIN {}> subroutine (or a C<use> directive, which |
| 1325 | 849 | implies a C<BEGIN {}>) after one or more compilation errors had already |
| 1326 | 850 | occurred. Since the intended environment for the C<BEGIN {}> could not |
| 1327 | 851 | be guaranteed (due to the errors), and since subsequent code likely |
| 1328 | 852 | depends on its correct operation, Perl just gave up. |
| 1329 | 853 | |
| 1330 | 854 | =end original |
| 1331 | 855 | |
| 1332 | 856 | (F) Perl は既にコンパイルエラーが発生した後に C<BEGIN {}> サブルーチン |
| 1333 | (または C<use> 指示子(これは C<BEGIN {}> を暗示します))を | |
| 857 | (または C<use> 指示子(これは C<BEGIN {}> を暗示します))を | |
| 1334 | ||
| 858 | 発見しました。 | |
| 1335 | ||
| 859 | C<BEGIN {}> が意図した環境は(エラーのために)保証されず、 | |
| 860 | 引き続くコードは正しい処理に依存していると考えられるので、 | |
| 861 | Perl は単に諦めました。 | |
| 1336 | 862 | |
| 1337 | =item \ | |
| 863 | =item \1 better written as $1 | |
| 1338 | 864 | |
| 1339 | 865 | =begin original |
| 1340 | 866 | |
| 1341 | 867 | (W syntax) Outside of patterns, backreferences live on as variables. |
| 1342 | 868 | The use of backslashes is grandfathered on the right-hand side of a |
| 1343 | 869 | substitution, but stylistically it's better to use the variable form |
| 1344 | 870 | because other Perl programmers will expect it, and it works better if |
| 1345 | 871 | there are more than 9 backreferences. |
| 1346 | 872 | |
| 1347 | 873 | =end original |
| 1348 | 874 | |
| 1349 | 875 | (W syntax) パターンの外では、後方参照は変数の形で存在します。 |
| 1350 | 後方参照の利用は、置換の右側の部分で扱われますが、スタイル的には、 | |
| 876 | 後方参照の利用は、置換の右側の部分で扱われますが、スタイル的には、 | |
| 1351 | Perl プログラマが期待し、9 個以上の後方参照があるときにも | |
| 877 | 他の Perl プログラマが期待し、9 個以上の後方参照があるときにも | |
| 1352 | 変数形式を使う方が良いでしょう。 | |
| 878 | うまく動作する、変数形式を使う方が良いでしょう。 | |
| 1353 | 879 | |
| 1354 | 880 | =item Binary number > 0b11111111111111111111111111111111 non-portable |
| 1355 | 881 | |
| 1356 | 882 | =begin original |
| 1357 | 883 | |
| 1358 | 884 | (W portable) The binary number you specified is larger than 2**32-1 |
| 1359 | 885 | (4294967295) and therefore non-portable between systems. See |
| 1360 | 886 | L<perlport> for more on portability concerns. |
| 1361 | 887 | |
| 1362 | 888 | =end original |
| 1363 | 889 | |
| 1364 | 890 | (W portable) 指定された 2 進数が 2**32-1 (4294967295) を越えるので、 |
| 1365 | 891 | システム間での移植性がありません。 |
| 1366 | 892 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
| 1367 | 893 | |
| 1368 | 894 | =item bind() on closed socket %s |
| 1369 | 895 | |
| 1370 | 896 | =begin original |
| 1371 | 897 | |
| 1372 | 898 | (W closed) You tried to do a bind on a closed socket. Did you forget to |
| 1373 | 899 | check the return value of your socket() call? See L<perlfunc/bind>. |
| 1374 | 900 | |
| 1375 | 901 | =end original |
| 1376 | 902 | |
| 1377 | 903 | (W closed) クローズされたソケットに bind を行なおうとしました。 |
| 1378 | 904 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
| 1379 | 905 | L<perlfunc/bind> を参照してください。 |
| 1380 | 906 | |
| 1381 | =item binmode() on closed filehandle %s | |
| 1382 | ||
| 1383 | =begin original | |
| 1384 | ||
| 1385 | (W unopened) You tried binmode() on a filehandle that was never opened. | |
| 1386 | Check your control flow and number of arguments. | |
| 1387 | ||
| 1388 | =end original | |
| 1389 | ||
| 1390 | (W unopened) 開いていないファイルハンドルに binmode() を使おうとしました。 | |
| 1391 | 制御フローと引数の数をチェックしてください。 | |
| 1392 | ||
| 1393 | 907 | =item Bit vector size > 32 non-portable |
| 1394 | 908 | |
| 1395 | 909 | =begin original |
| 1396 | 910 | |
| 1397 | 911 | (W portable) Using bit vector sizes larger than 32 is non-portable. |
| 1398 | 912 | |
| 1399 | 913 | =end original |
| 1400 | 914 | |
| 1401 | 915 | (W portable) 32 を越えるサイズのビットベクタは移植性がありません。 |
| 1402 | 916 | |
| 1403 | =item Bizarre copy of %s | |
| 917 | =item Bizarre copy of %s in %s | |
| 1404 | 918 | |
| 1405 | 919 | =begin original |
| 1406 | 920 | |
| 1407 | 921 | (P) Perl detected an attempt to copy an internal value that is not |
| 1408 | cop | |
| 922 | copyable. | |
| 1409 | 923 | |
| 1410 | 924 | =end original |
| 1411 | 925 | |
| 1412 | 926 | (P) コピーできない内部の値をコピーしようとしました。 |
| 1413 | 927 | |
| 1414 | =item B | |
| 928 | =item B<-P> not allowed for setuid/setgid script | |
| 1415 | 929 | |
| 1416 | 930 | =begin original |
| 1417 | 931 | |
| 1418 | ( | |
| 932 | (F) The script would have to be opened by the C preprocessor by name, | |
| 1419 | ||
| 933 | which provides a race condition that breaks security. | |
| 1420 | 934 | |
| 1421 | 935 | =end original |
| 1422 | 936 | |
| 1423 | ( | |
| 937 | (F) C プリプロセッサがスクリプトをオープンするときには、 | |
| 1424 | ||
| 938 | 名前でオープンしなければいけませんが、これは、安全性を損なう競合条件を | |
| 939 | もたらします。 | |
| 1425 | 940 | |
| 1426 | =item Both or neither range ends should be Unicode in regex; marked by | |
| 1427 | S<<-- HERE> in m/%s/ | |
| 1428 | ||
| 1429 | =begin original | |
| 1430 | ||
| 1431 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
| 1432 | ||
| 1433 | =end original | |
| 1434 | ||
| 1435 | (W regexp) (C<S<use re 'strict'>> の基か C<(?[...])> の内側のみ) | |
| 1436 | ||
| 1437 | =begin original | |
| 1438 | ||
| 1439 | In a bracketed character class in a regular expression pattern, you | |
| 1440 | had a range which has exactly one end of it specified using C<\N{}>, and | |
| 1441 | the other end is specified using a non-portable mechanism. Perl treats | |
| 1442 | the range as a Unicode range, that is, all the characters in it are | |
| 1443 | considered to be the Unicode characters, and which may be different code | |
| 1444 | points on some platforms Perl runs on. For example, C<[\N{U+06}-\x08]> | |
| 1445 | is treated as if you had instead said C<[\N{U+06}-\N{U+08}]>, that is it | |
| 1446 | matches the characters whose code points in Unicode are 6, 7, and 8. | |
| 1447 | But that C<\x08> might indicate that you meant something different, so | |
| 1448 | the warning gets raised. | |
| 1449 | ||
| 1450 | =end original | |
| 1451 | ||
| 1452 | 正規表現中の大かっこ文字クラスの中で、範囲指定の片方は C<\N{}> を使って | |
| 1453 | 指定し、もう片方は移植性のない方法を使って指定しました。 | |
| 1454 | Perl はこの範囲を Unicode の範囲として扱います; つまり、その中の全ての文字は | |
| 1455 | Unicode 文字として扱われ、Perl が実行される一部のプラットフォームでは | |
| 1456 | 異なる符号位置になるかもしれません。 | |
| 1457 | 例えば、C<[\N{U+06}-\x08]> は、C<[\N{U+06}-\N{U+08}]> と | |
| 1458 | 書いたかのように扱われ、Unicode の符号位置 6, 7, 8 の文字にマッチングします。 | |
| 1459 | しかし、C<\x08> はなにか違うことを意味していることを示しているので、 | |
| 1460 | 警告が発生します。 | |
| 1461 | ||
| 1462 | 941 | =item Buffer overflow in prime_env_iter: %s |
| 1463 | 942 | |
| 1464 | 943 | =begin original |
| 1465 | 944 | |
| 1466 | 945 | (W internal) A warning peculiar to VMS. While Perl was preparing to |
| 1467 | 946 | iterate over %ENV, it encountered a logical name or symbol definition |
| 1468 | 947 | which was too long, so it was truncated to the string shown. |
| 1469 | 948 | |
| 1470 | 949 | =end original |
| 1471 | 950 | |
| 1472 | (W | |
| 951 | (W) VMS 特有の警告です。 | |
| 1473 | Perl が %ENV を反復する準備中、長すぎる論理名かシンボル定義に | |
| 952 | Perl が %ENV を反復する準備中、長すぎる論理名かシンボル定義に | |
| 1474 | 文字列は表示したように切り詰められました。 | |
| 953 | 遭遇したので、文字列は表示したように切り詰められました。 | |
| 1475 | 954 | |
| 1476 | 955 | =item Callback called exit |
| 1477 | 956 | |
| 1478 | 957 | =begin original |
| 1479 | 958 | |
| 1480 | 959 | (F) A subroutine invoked from an external package via call_sv() |
| 1481 | 960 | exited by calling exit. |
| 1482 | 961 | |
| 1483 | 962 | =end original |
| 1484 | 963 | |
| 1485 | (F) 外部パッケージから call_sv() で起動されたサブルー | |
| 964 | (F) 外部パッケージから call_sv() で起動されたサブルーティンが exit を | |
| 1486 | 終了しました。 | |
| 965 | 呼んで終了しました。 | |
| 1487 | 966 | |
| 1488 | 967 | =item %s() called too early to check prototype |
| 1489 | 968 | |
| 1490 | 969 | =begin original |
| 1491 | 970 | |
| 1492 | 971 | (W prototype) You've called a function that has a prototype before the |
| 1493 | 972 | parser saw a definition or declaration for it, and Perl could not check |
| 1494 | 973 | that the call conforms to the prototype. You need to either add an |
| 1495 | 974 | early prototype declaration for the subroutine in question, or move the |
| 1496 | 975 | subroutine definition ahead of the call to get proper prototype |
| 1497 | 976 | checking. Alternatively, if you are certain that you're calling the |
| 1498 | 977 | function correctly, you may put an ampersand before the name to avoid |
| 1499 | 978 | the warning. See L<perlsub>. |
| 1500 | 979 | |
| 1501 | 980 | =end original |
| 1502 | 981 | |
| 1503 | 982 | (W prototype) 以前にパーサが宣言または定義されているのを見た、 |
| 1504 | 983 | プロトタイプ付きの関数を呼び出しましたが、Perl は呼び出しがプロトタイプに |
| 1505 | 984 | 従っているかどうかをチェックできませんでした。 |
| 1506 | 985 | 問題になっているサブルーチンのプロトタイプ宣言を最初の方に追加するか、 |
| 1507 | 986 | 適切なプロトタイプチェックを行うためにサブルーチン定義を呼び出しの前に |
| 1508 | 987 | 移動させる必要があります。 |
| 1509 | 988 | または、関数を正しく呼び出していることが確かな場合は、名前の前に |
| 1510 | 989 | アンパサンドを付けることで警告を回避できます。 |
| 1511 | 990 | L<perlsub> を参照してください。 |
| 1512 | 991 | |
| 1513 | =item | |
| 992 | =item / cannot take a count | |
| 1514 | 993 | |
| 1515 | 994 | =begin original |
| 1516 | 995 | |
| 1517 | (F) You | |
| 996 | (F) You had an unpack template indicating a counted-length string, but | |
| 997 | you have also specified an explicit size for the string. See | |
| 998 | L<perlfunc/pack>. | |
| 1518 | 999 | |
| 1519 | 1000 | =end original |
| 1520 | 1001 | |
| 1521 | (F) | |
| 1002 | (F) unpack のテンプレートとしてカウント長文字列を示していますが、 | |
| 1003 | 文字列の長さも明示的に指定しています。 | |
| 1523 | =item Cannot complete in-place edit of %s: %s | |
| 1524 | ||
| 1525 | =begin original | |
| 1526 | ||
| 1527 | (F) Your perl script appears to have changed directory while | |
| 1528 | performing an in-place edit of a file specified by a relative path, | |
| 1529 | and your system doesn't include the directory relative POSIX functions | |
| 1530 | needed to handle that. | |
| 1531 | ||
| 1532 | =end original | |
| 1533 | ||
| 1534 | (F) perl スクリプトが、相対パスで指定されたファイルのその場編集を | |
| 1535 | 実行中にディレクトリを変更し、システムにはこれに対応するために必要な | |
| 1536 | ディレクトリ相対 POSIX 関数がないようです。 | |
| 1537 | ||
| 1538 | =item Cannot compress %f in pack | |
| 1539 | ||
| 1540 | =begin original | |
| 1541 | ||
| 1542 | (F) You tried compressing an infinity or not-a-number as an unsigned | |
| 1543 | integer with BER, which makes no sense. | |
| 1544 | ||
| 1545 | =end original | |
| 1546 | ||
| 1547 | (F) 無限や非数を BER で符号なし整数に圧縮しようとしました; これは無意味です。 | |
| 1548 | ||
| 1549 | =item Cannot compress integer in pack | |
| 1550 | ||
| 1551 | =begin original | |
| 1552 | ||
| 1553 | (F) An argument to pack("w",...) was too large to compress. | |
| 1554 | The BER compressed integer format can only be used with positive | |
| 1555 | integers, and you attempted to compress a very large number (> 1e308). | |
| 1556 | See L<perlfunc/pack>. | |
| 1557 | ||
| 1558 | =end original | |
| 1559 | ||
| 1560 | (F) pack("w",...) の引数が、圧縮するには大きすぎます。 | |
| 1561 | BER 圧縮整数フォーマットは正の整数のみ扱えますが、とても大きい数 | |
| 1562 | (> 1e308) を圧縮しようとしました。 | |
| 1563 | 1004 | L<perlfunc/pack> を参照してください。 |
| 1564 | 1005 | |
| 1565 | =item Cannot compress negative numbers in pack | |
| 1566 | ||
| 1567 | =begin original | |
| 1568 | ||
| 1569 | (F) An argument to pack("w",...) was negative. The BER compressed integer | |
| 1570 | format can only be used with positive integers. See L<perlfunc/pack>. | |
| 1571 | ||
| 1572 | =end original | |
| 1573 | ||
| 1574 | (F) pack("w",...) の引数が負数です。 | |
| 1575 | BER 圧縮整数フォーマットは正の整数のみ扱えます。 | |
| 1576 | L<perlfunc/pack> を参照してください。 | |
| 1577 | ||
| 1578 | =item Cannot convert a reference to %s to typeglob | |
| 1579 | ||
| 1580 | =begin original | |
| 1581 | ||
| 1582 | (F) You manipulated Perl's symbol table directly, stored a reference | |
| 1583 | in it, then tried to access that symbol via conventional Perl syntax. | |
| 1584 | The access triggers Perl to autovivify that typeglob, but it there is | |
| 1585 | no legal conversion from that type of reference to a typeglob. | |
| 1586 | ||
| 1587 | =end original | |
| 1588 | ||
| 1589 | (F) あなたは Perl のシンボルテーブルを直接操作して、リファレンスをその中に | |
| 1590 | 補完し、それからそのシンボルを伝統的な Perl の文法のよって | |
| 1591 | アクセスしようとしました。 | |
| 1592 | このアクセスによって、Perl はこの型グロブを自動有効化しますが、 | |
| 1593 | リファレンス型から型グロブへの正当な変換方法はありません。 | |
| 1594 | ||
| 1595 | =item Cannot copy to %s | |
| 1596 | ||
| 1597 | =begin original | |
| 1598 | ||
| 1599 | (P) Perl detected an attempt to copy a value to an internal type that cannot | |
| 1600 | be directly assigned to. | |
| 1601 | ||
| 1602 | =end original | |
| 1603 | ||
| 1604 | (P) Perl が、直接代入できない内部型に値をコピーしようとする試みを | |
| 1605 | 検出しました。 | |
| 1606 | ||
| 1607 | =item Cannot find encoding "%s" | |
| 1608 | ||
| 1609 | =begin original | |
| 1610 | ||
| 1611 | (S io) You tried to apply an encoding that did not exist to a filehandle, | |
| 1612 | either with open() or binmode(). | |
| 1613 | ||
| 1614 | =end original | |
| 1615 | ||
| 1616 | (S io) open() または binmode() のファイルハンドルに存在しない | |
| 1617 | エンコーディングを適用しようとしました。 | |
| 1618 | ||
| 1619 | =item Cannot open %s as a dirhandle: it is already open as a filehandle | |
| 1620 | ||
| 1621 | =begin original | |
| 1622 | ||
| 1623 | (F) You tried to use opendir() to associate a dirhandle to a symbol (glob | |
| 1624 | or scalar) that already holds a filehandle. Since this idiom might render | |
| 1625 | your code confusing, it was deprecated in Perl 5.10. As of Perl 5.28, it | |
| 1626 | is a fatal error. | |
| 1627 | ||
| 1628 | =end original | |
| 1629 | ||
| 1630 | (F) すでにファイルハンドルを保持しているシンボル | |
| 1631 | (グロブまたはスカラ)にディレクトリハンドルを関連付けるために | |
| 1632 | opendir() を使おうとしました。 | |
| 1633 | この用法はコードを間違えて解釈する可能性があるので、 | |
| 1634 | Perl 5.10 で廃止予定になりました。 | |
| 1635 | Perl 5.28 から、これは致命的エラーです。 | |
| 1636 | ||
| 1637 | =item Cannot open %s as a filehandle: it is already open as a dirhandle | |
| 1638 | ||
| 1639 | =begin original | |
| 1640 | ||
| 1641 | (F) You tried to use open() to associate a filehandle to a symbol (glob | |
| 1642 | or scalar) that already holds a dirhandle. Since this idiom might render | |
| 1643 | your code confusing, it was deprecated in Perl 5.10. As of Perl 5.28, it | |
| 1644 | is a fatal error. | |
| 1645 | ||
| 1646 | =end original | |
| 1647 | ||
| 1648 | (F) すでにディレクトリハンドルを保持しているシンボル | |
| 1649 | (グロブまたはスカラ)にファイルハンドルを関連付けるために | |
| 1650 | open() を使おうとしました。 | |
| 1651 | この用法はコードを間違えて解釈する可能性があるので、 | |
| 1652 | Perl 5.10 で廃止予定になりました。 | |
| 1653 | Perl 5.28 から、これは致命的エラーです。 | |
| 1654 | ||
| 1655 | =item Cannot pack %f with '%c' | |
| 1656 | ||
| 1657 | =begin original | |
| 1658 | ||
| 1659 | (F) You tried converting an infinity or not-a-number to an integer, | |
| 1660 | which makes no sense. | |
| 1661 | ||
| 1662 | =end original | |
| 1663 | ||
| 1664 | (F) 無限や非数を整数に変換しようとしました; これは無意味です。 | |
| 1665 | ||
| 1666 | =item Cannot printf %f with '%c' | |
| 1667 | ||
| 1668 | =begin original | |
| 1669 | ||
| 1670 | (F) You tried printing an infinity or not-a-number as a character (%c), | |
| 1671 | which makes no sense. Maybe you meant '%s', or just stringifying it? | |
| 1672 | ||
| 1673 | =end original | |
| 1674 | ||
| 1675 | (F) 無限や非数を文字 (%c) として表示しようとしました; これは無意味です。 | |
| 1676 | おそらく '%s' か、単に文字列化したかったのでは? | |
| 1677 | ||
| 1678 | =item Cannot set tied @DB::args | |
| 1679 | ||
| 1680 | =begin original | |
| 1681 | ||
| 1682 | (F) C<caller> tried to set C<@DB::args>, but found it tied. Tying C<@DB::args> | |
| 1683 | is not supported. (Before this error was added, it used to crash.) | |
| 1684 | ||
| 1685 | =end original | |
| 1686 | ||
| 1687 | (F) C<caller> は C<@DB::args> を設定しようとしましたが、tie されていました。 | |
| 1688 | C<@DB::args> の tie は非対応です。 | |
| 1689 | (このエラーが追加する前は、クラッシュしていました。) | |
| 1690 | ||
| 1691 | =item Cannot tie unreifiable array | |
| 1692 | ||
| 1693 | =begin original | |
| 1694 | ||
| 1695 | (P) You somehow managed to call C<tie> on an array that does not | |
| 1696 | keep a reference count on its arguments and cannot be made to | |
| 1697 | do so. Such arrays are not even supposed to be accessible to | |
| 1698 | Perl code, but are only used internally. | |
| 1699 | ||
| 1700 | =end original | |
| 1701 | ||
| 1702 | (P) 参照カウントを保持していない配列を引数にして C<tie> を | |
| 1703 | 呼び出そうとしましたがそうできませんでした。 | |
| 1704 | このような配列は Perl コードからアクセスできると想定してはならず、 | |
| 1705 | 内部だけで使われます。 | |
| 1706 | ||
| 1707 | =item Cannot yet reorder sv_vcatpvfn() arguments from va_list | |
| 1708 | ||
| 1709 | =begin original | |
| 1710 | ||
| 1711 | (F) Some XS code tried to use C<sv_vcatpvfn()> or a related function with a | |
| 1712 | format string that specifies explicit indexes for some of the elements, and | |
| 1713 | using a C-style variable-argument list (a C<va_list>). This is not currently | |
| 1714 | supported. XS authors wanting to do this must instead construct a C array | |
| 1715 | of C<SV*> scalars containing the arguments. | |
| 1716 | ||
| 1717 | =end original | |
| 1718 | ||
| 1719 | (F) 一部の XS コードは、要素の一部の明示的なインデックスを指定した | |
| 1720 | フォーマット文字列を使って C<sv_vcatpvfn()> や関連する関数を使おうとして、 | |
| 1721 | C 形式の可変引数リスト (C<va_list>) を使っています。 | |
| 1722 | これは現在のところ対応していません。 | |
| 1723 | これをしたい XS 作者は代わりに、引数を含む | |
| 1724 | C<SV*> スカラの C 配列を構築しなければなりません。 | |
| 1725 | ||
| 1726 | =item Can only compress unsigned integers in pack | |
| 1727 | ||
| 1728 | =begin original | |
| 1729 | ||
| 1730 | (F) An argument to pack("w",...) was not an integer. The BER compressed | |
| 1731 | integer format can only be used with positive integers, and you attempted | |
| 1732 | to compress something else. See L<perlfunc/pack>. | |
| 1733 | ||
| 1734 | =end original | |
| 1735 | ||
| 1736 | (F) pack("w",...) の引数が整数ではありません。 | |
| 1737 | BER 圧縮整数フォーマットは正の整数のみ扱えますが、何か他のものを | |
| 1738 | 圧縮しようとしました。 | |
| 1739 | L<perlfunc/pack> を参照してください。 | |
| 1740 | ||
| 1741 | 1006 | =item Can't bless non-reference value |
| 1742 | 1007 | |
| 1743 | 1008 | =begin original |
| 1744 | 1009 | |
| 1745 | 1010 | (F) Only hard references may be blessed. This is how Perl "enforces" |
| 1746 | 1011 | encapsulation of objects. See L<perlobj>. |
| 1747 | 1012 | |
| 1748 | 1013 | =end original |
| 1749 | 1014 | |
| 1750 | 1015 | (F) ハードリファレンスのみが bless できます。 |
| 1751 | 1016 | これによって、Perl はオブジェクトのカプセル化を「強制」します。 |
| 1752 | 1017 | L<perlobj> を参照してください。 |
| 1753 | 1018 | |
| 1754 | =item Can't | |
| 1019 | =item Can't call method "%s" in empty package "%s" | |
| 1755 | 1020 | |
| 1756 | 1021 | =begin original |
| 1757 | 1022 | |
| 1758 | (F) You called | |
| 1023 | (F) You called a method correctly, and it correctly indicated a package | |
| 1759 | ||
| 1024 | functioning as a class, but that package doesn't have ANYTHING defined | |
| 1025 | in it, let alone methods. See L<perlobj>. | |
| 1760 | 1026 | |
| 1761 | 1027 | =end original |
| 1762 | 1028 | |
| 1763 | (F) | |
| 1029 | (F) 正しくメソッドを呼び出し、それは、クラスとして機能するパッケージを | |
| 1764 | ||
| 1030 | 正しく示していますが、そのパッケージには、何も定義されておらず、 | |
| 1765 | ||
| 1031 | メソッドだけになっています。 | |
| 1032 | L<perlobj> を参照してください。 | |
| 1766 | 1033 | |
| 1767 | =item Can't "break" outside a given block | |
| 1768 | ||
| 1769 | =begin original | |
| 1770 | ||
| 1771 | (F) You called C<break>, but you're not inside a C<given> block. | |
| 1772 | ||
| 1773 | =end original | |
| 1774 | ||
| 1775 | (F) C<break> を呼び出しましたが、C<given> ブロックの内側ではありません。 | |
| 1776 | ||
| 1777 | 1034 | =item Can't call method "%s" on an undefined value |
| 1778 | 1035 | |
| 1779 | 1036 | =begin original |
| 1780 | 1037 | |
| 1781 | 1038 | (F) You used the syntax of a method call, but the slot filled by the |
| 1782 | 1039 | object reference or package name contains an undefined value. Something |
| 1783 | 1040 | like this will reproduce the error: |
| 1784 | 1041 | |
| 1785 | 1042 | =end original |
| 1786 | 1043 | |
| 1787 | (F) メソッド呼び出しの文法が使われていますが、 | |
| 1044 | (F) メソッド呼び出しの文法が使われていますが、 | |
| 1788 | パッケージ名であるべきところが未定義値です。 | |
| 1045 | オブジェクトリファレンスかパッケージ名であるべきところが未定義値です。 | |
| 1789 | 1046 | 以下のように書くとエラーが再現します: |
| 1790 | 1047 | |
| 1791 | 1048 | $BADREF = undef; |
| 1792 | 1049 | process $BADREF 1,2,3; |
| 1793 | 1050 | $BADREF->process(1,2,3); |
| 1794 | 1051 | |
| 1795 | 1052 | =item Can't call method "%s" on unblessed reference |
| 1796 | 1053 | |
| 1797 | 1054 | =begin original |
| 1798 | 1055 | |
| 1799 | 1056 | (F) A method call must know in what package it's supposed to run. It |
| 1800 | 1057 | ordinarily finds this out from the object reference you supply, but you |
| 1801 | 1058 | didn't supply an object reference in this case. A reference isn't an |
| 1802 | 1059 | object reference until it has been blessed. See L<perlobj>. |
| 1803 | 1060 | |
| 1804 | 1061 | =end original |
| 1805 | 1062 | |
| 1806 | 1063 | (F) メソッド呼び出しは、自分が呼び出されたパッケージがどれであるかを |
| 1807 | 1064 | 知る必要があります。 普通は、渡したオブジェクトリファレンスから |
| 1808 | 1065 | その情報を受け取りますが、この場合にはオブジェクトリファレンスが |
| 1809 | 1066 | 渡されませんでした。 |
| 1810 | 1067 | リファレンスは、bless されて始めて、オブジェクトリファレンスとなります。 |
| 1811 | 1068 | L<perlobj> を参照してください。 |
| 1812 | 1069 | |
| 1813 | 1070 | =item Can't call method "%s" without a package or object reference |
| 1814 | 1071 | |
| 1815 | 1072 | =begin original |
| 1816 | 1073 | |
| 1817 | 1074 | (F) You used the syntax of a method call, but the slot filled by the |
| 1818 | 1075 | object reference or package name contains an expression that returns a |
| 1819 | 1076 | defined value which is neither an object reference nor a package name. |
| 1820 | 1077 | Something like this will reproduce the error: |
| 1821 | 1078 | |
| 1822 | 1079 | =end original |
| 1823 | 1080 | |
| 1824 | 1081 | (F) メソッド呼び出しの構文を用いましたが、オブジェクトリファレンス、 |
| 1825 | 1082 | もしくはパッケージ名が書かれるべき場所に、オブジェクトリファレンスも |
| 1826 | 1083 | パッケージ名も返さない定義された式が書かれています。 |
| 1827 | ||
| 1084 | (おそらく、何も書いてないかもしれません。) | |
| 1085 | 以下のようなものは、エラーとなります: | |
| 1828 | 1086 | |
| 1829 | 1087 | $BADREF = 42; |
| 1830 | 1088 | process $BADREF 1,2,3; |
| 1831 | 1089 | $BADREF->process(1,2,3); |
| 1832 | 1090 | |
| 1833 | =item Can't call mro_isa_changed_in() on anonymous symbol table | |
| 1834 | ||
| 1835 | =begin original | |
| 1836 | ||
| 1837 | (P) Perl got confused as to whether a hash was a plain hash or a | |
| 1838 | symbol table hash when trying to update @ISA caches. | |
| 1839 | ||
| 1840 | =end original | |
| 1841 | ||
| 1842 | (P) @ISA キャッシュを更新しようとしたときに、ハッシュが普通のハッシュか | |
| 1843 | シンボルテーブルハッシュかについて perl は混乱しました。 | |
| 1844 | ||
| 1845 | =item Can't call mro_method_changed_in() on anonymous symbol table | |
| 1846 | ||
| 1847 | =begin original | |
| 1848 | ||
| 1849 | (F) An XS module tried to call C<mro_method_changed_in> on a hash that was | |
| 1850 | not attached to the symbol table. | |
| 1851 | ||
| 1852 | =end original | |
| 1853 | ||
| 1854 | (F) XS モジュールが、シンボルテーブルにアタッチされていないハッシュに対して | |
| 1855 | C<mro_method_changed_in> を呼び出しました。 | |
| 1856 | ||
| 1857 | 1091 | =item Can't chdir to %s |
| 1858 | 1092 | |
| 1859 | 1093 | =begin original |
| 1860 | 1094 | |
| 1861 | (F) You called C<perl -x/foo/bar>, but | |
| 1095 | (F) You called C<perl -x/foo/bar>, but C</foo/bar> is not a directory | |
| 1862 | 1096 | that you can chdir to, possibly because it doesn't exist. |
| 1863 | 1097 | |
| 1864 | 1098 | =end original |
| 1865 | 1099 | |
| 1866 | (F) C<perl -x/foo/bar> のようにして起動しましたが、 | |
| 1100 | (F) C<perl -x/foo/bar> のようにして起動したましたが、 | |
| 1867 | chdir することができません | |
| 1101 | C</foo/bar> にchdir することができません。 | |
| 1102 | おそらく、存在しないのではないでしょうか。 | |
| 1868 | 1103 | |
| 1869 | 1104 | =item Can't check filesystem of script "%s" for nosuid |
| 1870 | 1105 | |
| 1871 | 1106 | =begin original |
| 1872 | 1107 | |
| 1873 | 1108 | (P) For some reason you can't check the filesystem of the script for |
| 1874 | 1109 | nosuid. |
| 1875 | 1110 | |
| 1876 | 1111 | =end original |
| 1877 | 1112 | |
| 1878 | 1113 | (P) なぜかスクリプトが nosuid かどうかをファイルシステムから |
| 1879 | 1114 | 調べることができません。 |
| 1880 | 1115 | |
| 1881 | =item Can't coerce | |
| 1116 | =item Can't coerce array into hash | |
| 1882 | 1117 | |
| 1883 | 1118 | =begin original |
| 1884 | 1119 | |
| 1120 | (F) You used an array where a hash was expected, but the array has no | |
| 1121 | information on how to map from keys to array indices. You can do that | |
| 1122 | only with arrays that have a hash reference at index 0. | |
| 1123 | ||
| 1124 | =end original | |
| 1125 | ||
| 1126 | (F) ハッシュが想定される場所で配列を使っていますが、 | |
| 1127 | この配列にはキーから添え字に変換するための情報がありません。 | |
| 1128 | このようなことは添え字 0 にハッシュリファレンスがある配列でのみ可能です。 | |
| 1129 | ||
| 1130 | =item Can't coerce %s to integer in %s | |
| 1131 | ||
| 1132 | =begin original | |
| 1133 | ||
| 1885 | 1134 | (F) Certain types of SVs, in particular real symbol table entries |
| 1886 | 1135 | (typeglobs), can't be forced to stop being what they are. So you can't |
| 1887 | 1136 | say things like: |
| 1888 | 1137 | |
| 1889 | 1138 | =end original |
| 1890 | 1139 | |
| 1891 | 1140 | (F) ある種の SV、特に本物のシンボルテーブルエントリ (型グロブ) は、 |
| 1892 | ||
| 1141 | 1 つの型に留めておくことができません。 | |
| 1893 | 1142 | したがって、以下のようにすることはできません: |
| 1894 | 1143 | |
| 1895 | 1144 | *foo += 1; |
| 1896 | 1145 | |
| 1897 | 1146 | =begin original |
| 1898 | 1147 | |
| 1899 | 1148 | You CAN say |
| 1900 | 1149 | |
| 1901 | 1150 | =end original |
| 1902 | 1151 | |
| 1903 | 1152 | 以下のようにはできますが: |
| 1904 | 1153 | |
| 1905 | 1154 | $foo = *foo; |
| 1906 | 1155 | $foo += 1; |
| 1907 | 1156 | |
| 1908 | 1157 | =begin original |
| 1909 | 1158 | |
| 1910 | 1159 | but then $foo no longer contains a glob. |
| 1911 | 1160 | |
| 1912 | 1161 | =end original |
| 1913 | 1162 | |
| 1914 | 1163 | $foo にはもはやグロブは残っていません。 |
| 1915 | 1164 | |
| 1916 | =item Can't | |
| 1165 | =item Can't coerce %s to number in %s | |
| 1917 | 1166 | |
| 1918 | 1167 | =begin original |
| 1919 | 1168 | |
| 1920 | (F) | |
| 1169 | (F) Certain types of SVs, in particular real symbol table entries | |
| 1921 | o | |
| 1170 | (typeglobs), can't be forced to stop being what they are. | |
| 1922 | 1171 | |
| 1923 | 1172 | =end original |
| 1924 | 1173 | |
| 1925 | (F) | |
| 1174 | (F) ある種の SV、特に本物のシンボルテーブルエントリ (型グロブ) は、 | |
| 1926 | ||
| 1175 | 1 つの型に留めておくことができません。 | |
| 1927 | 1176 | |
| 1928 | =item Can't cre | |
| 1177 | =item Can't coerce %s to string in %s | |
| 1929 | 1178 | |
| 1930 | 1179 | =begin original |
| 1931 | 1180 | |
| 1932 | ( | |
| 1181 | (F) Certain types of SVs, in particular real symbol table entries | |
| 1933 | ||
| 1182 | (typeglobs), can't be forced to stop being what they are. | |
| 1934 | 1183 | |
| 1935 | 1184 | =end original |
| 1936 | 1185 | |
| 1937 | ( | |
| 1186 | (F) ある種の SV、特に本物のシンボルテーブルエントリ (型グロブ) は、 | |
| 1938 | ||
| 1187 | 1 つの型に留めておくことができません。 | |
| 1939 | 1188 | |
| 1940 | =item Can't | |
| 1189 | =item Can't create pipe mailbox | |
| 1941 | 1190 | |
| 1942 | 1191 | =begin original |
| 1943 | 1192 | |
| 1944 | ( | |
| 1193 | (P) An error peculiar to VMS. The process is suffering from exhausted | |
| 1945 | ||
| 1194 | quotas or other plumbing problems. | |
| 1946 | 1195 | |
| 1947 | 1196 | =end original |
| 1948 | 1197 | |
| 1949 | (F) | |
| 1198 | (F) VMS 特有のエラーです。 | |
| 1950 | ||
| 1199 | プロセスはクォータを使い切ったか、その他の設備問題の影響を受けました。 | |
| 1951 | これらは、名前として通常の識別子を持たなければなりません。 | |
| 1952 | 1200 | |
| 1953 | =item Can't | |
| 1201 | =item Can't declare class for non-scalar %s in "%s" | |
| 1954 | 1202 | |
| 1955 | 1203 | =begin original |
| 1956 | 1204 | |
| 1957 | ( | |
| 1205 | (S) Currently, only scalar variables can declared with a specific class | |
| 1958 | ||
| 1206 | qualifier in a "my" or "our" declaration. The semantics may be extended | |
| 1959 | ||
| 1207 | for other types of variables in future. | |
| 1960 | error if you use an explicit C<continue>.) | |
| 1961 | 1208 | |
| 1962 | 1209 | =end original |
| 1963 | 1210 | |
| 1964 | ( | |
| 1211 | (S) 現在のところ、スカラ変数のみが "my" や "our" 定義の中で特定の | |
| 1965 | ||
| 1212 | クラス修飾子と共に定義できます。 | |
| 1966 | ||
| 1213 | この動作は将来には他の種類の変数に拡張されるでしょう。 | |
| 1967 | C<continue> を使うとエラーは発生しません。) | |
| 1968 | 1214 | |
| 1969 | =item Can't de | |
| 1215 | =item Can't declare %s in "%s" | |
| 1970 | 1216 | |
| 1971 | 1217 | =begin original |
| 1972 | 1218 | |
| 1973 | ( | |
| 1219 | (F) Only scalar, array, and hash variables may be declared as "my" or | |
| 1974 | ||
| 1220 | "our" variables. They must have ordinary identifiers as names. | |
| 1975 | and was unable to do so. This is likely to be due to a bug in the perl | |
| 1976 | internals, or due to a bug in XS code which manipulates perl optrees. | |
| 1977 | 1221 | |
| 1978 | 1222 | =end original |
| 1979 | 1223 | |
| 1980 | ( | |
| 1224 | (F) スカラ変数、配列変数、ハッシュ変数だけが、"my" や "our" 変数として | |
| 1981 | ||
| 1225 | 宣言できます。 | |
| 1982 | ||
| 1226 | これらは、名前として通常の識別子を持たなければなりません。 | |
| 1983 | これはおそらく perl 内部のバグによるものか、perl の op 木を操作する | |
| 1984 | XS コードのバグによるものです。 | |
| 1985 | 1227 | |
| 1986 | 1228 | =item Can't do inplace edit: %s is not a regular file |
| 1987 | 1229 | |
| 1988 | 1230 | =begin original |
| 1989 | 1231 | |
| 1990 | 1232 | (S inplace) You tried to use the B<-i> switch on a special file, such as |
| 1991 | a file in /dev, a FIFO | |
| 1233 | a file in /dev, or a FIFO. The file was ignored. | |
| 1992 | 1234 | |
| 1993 | 1235 | =end original |
| 1994 | 1236 | |
| 1995 | (S inplace) /dev | |
| 1237 | (S inplace) /dev や FIFO のような、特殊ファイルに対して、B<-i> スイッチを | |
| 1996 | ||
| 1238 | 使おうとしました。 | |
| 1997 | ||
| 1239 | そのファイルは、無視されました。 | |
| 1998 | 1240 | |
| 1999 | 1241 | =item Can't do inplace edit on %s: %s |
| 2000 | 1242 | |
| 2001 | 1243 | =begin original |
| 2002 | 1244 | |
| 2003 | 1245 | (S inplace) The creation of the new file failed for the indicated |
| 2004 | 1246 | reason. |
| 2005 | 1247 | |
| 2006 | 1248 | =end original |
| 2007 | 1249 | |
| 2008 | 1250 | (S inplace) 表示された理由により、新しいファイルの生成に失敗しました。 |
| 2009 | 1251 | |
| 1252 | =item Can't do inplace edit without backup | |
| 1253 | ||
| 1254 | =begin original | |
| 1255 | ||
| 1256 | (F) You're on a system such as MS-DOS that gets confused if you try | |
| 1257 | reading from a deleted (but still opened) file. You have to say | |
| 1258 | C<-i.bak>, or some such. | |
| 1259 | ||
| 1260 | =end original | |
| 1261 | ||
| 1262 | (F) 削除した (が、まだオープンされている) ファイルを読もうとすると | |
| 1263 | おかしくなる MS-DOS のようなシステムで実行しています。 | |
| 1264 | C<-i.bak> のようにバックアップを指定してください。 | |
| 1265 | ||
| 2010 | 1266 | =item Can't do inplace edit: %s would not be unique |
| 2011 | 1267 | |
| 2012 | 1268 | =begin original |
| 2013 | 1269 | |
| 2014 | 1270 | (S inplace) Your filesystem does not support filenames longer than 14 |
| 2015 | 1271 | characters and Perl was unable to create a unique filename during |
| 2016 | 1272 | inplace editing with the B<-i> switch. The file was ignored. |
| 2017 | 1273 | |
| 2018 | 1274 | =end original |
| 2019 | 1275 | |
| 2020 | 1276 | (S inplace) ファイルシステムが 14 文字より長いファイル名に対応しておらず、 |
| 2021 | 1277 | Perl は B<-i> オプションによるその場編集の間のユニークなファイル名の |
| 2022 | 1278 | 作成ができませんでした。 |
| 2023 | 1279 | このファイルは無視されます。 |
| 2024 | 1280 | |
| 2025 | =item Can't do | |
| 1281 | =item Can't do {n,m} with n > m before << HERE in regex m/%s/ | |
| 2026 | 1282 | |
| 2027 | 1283 | =begin original |
| 2028 | 1284 | |
| 2029 | ( | |
| 1285 | (F) Minima must be less than or equal to maxima. If you really want your | |
| 2030 | ||
| 1286 | regexp to match something 0 times, just put {0}. The << HERE shows in the | |
| 2031 | ||
| 1287 | regular expression about where the problem was discovered. See L<perlre>. | |
| 2032 | operation would mix Unicode and locale rules, which likely conflict. | |
| 2033 | Mixing of different rule types is forbidden, so the operation was not | |
| 2034 | done; instead the result is the indicated value, which is the best | |
| 2035 | available that uses entirely Unicode rules. That turns out to almost | |
| 2036 | always be the original character, unchanged. | |
| 2037 | 1288 | |
| 2038 | 1289 | =end original |
| 2039 | 1290 | |
| 2040 | ( | |
| 1291 | (F) 最小値は最大値以下でなければなりません。 | |
| 2041 | ||
| 1292 | もし、本当に正規表現が 0 回繰り返したものにマッチさせたいなら、単に | |
| 2042 | ||
| 1293 | {0} としてください。 | |
| 2043 | ||
| 1294 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 2044 | ||
| 1295 | L<perlre> を参照してください。 | |
| 2045 | 代わりに結果は示された値になります; これは全体的に Unicode の規則を | |
| 2046 | 使うという、最も利用可能なものです。 | |
| 2047 | これは、ほとんど常に、元の文字を変更しないままにします。 | |
| 2048 | 1296 | |
| 1297 | =item Can't do setegid! | |
| 1298 | ||
| 2049 | 1299 | =begin original |
| 2050 | 1300 | |
| 2051 | ||
| 1301 | (P) The setegid() call failed for some reason in the setuid emulator of | |
| 2052 | ||
| 1302 | suidperl. | |
| 2053 | Unicode rules would normally cause the result of this operation to | |
| 2054 | contain a character that is in the range specified by the locale, | |
| 2055 | 0..255, and hence is subject to the locale's rules, not Unicode's. | |
| 2056 | 1303 | |
| 2057 | 1304 | =end original |
| 2058 | 1305 | |
| 2059 | ||
| 1306 | (P) suidperl の setuid エミュレータで何らかの理由により、 | |
| 2060 | ||
| 1307 | setegid() 呼び出しが失敗しました。 | |
| 2061 | この警告は、Unicode の規則が、ロケールで指定された範囲 0..255 である文字を | |
| 2062 | 含むこの操作の結果を通常引き起こし、結果として Unicode ではなくロケールの | |
| 2063 | 規則を想定される場合に発生します。 | |
| 2064 | 1308 | |
| 1309 | =item Can't do seteuid! | |
| 1310 | ||
| 2065 | 1311 | =begin original |
| 2066 | 1312 | |
| 2067 | ||
| 1313 | (P) The setuid emulator of suidperl failed for some reason. | |
| 2068 | like its numeric and time formatting (and not C<LC_CTYPE>), consider | |
| 2069 | using a restricted form of the locale pragma (see L<perllocale/The "use | |
| 2070 | locale" pragma>) like "S<C<use locale ':not_characters'>>". | |
| 2071 | 1314 | |
| 2072 | 1315 | =end original |
| 2073 | 1316 | |
| 2074 | ||
| 1317 | (P) suidperl の setuid エミュレータが何らかの理由によって失敗しました。 | |
| 2075 | 使っている (そして C<LC_CTYPE> は使っていない)場合、 | |
| 2076 | "S<C<use locale ':not_characters'>>" のような、locale プラグマの制限された | |
| 2077 | 形式 (L<perllocale/The "use locale" pragma> 参照) を使うことを | |
| 2078 | 検討してください。 | |
| 2079 | 1318 | |
| 1319 | =item Can't do setuid | |
| 1320 | ||
| 2080 | 1321 | =begin original |
| 2081 | 1322 | |
| 2082 | ||
| 1323 | (F) This typically means that ordinary perl tried to exec suidperl to do | |
| 2083 | ||
| 1324 | setuid emulation, but couldn't exec it. It looks for a name of the form | |
| 2084 | ||
| 1325 | sperl5.000 in the same directory that the perl executable resides under | |
| 2085 | e | |
| 1326 | the name perl5.000, typically /usr/local/bin on Unix machines. If the | |
| 1327 | file is there, check the execute permissions. If it isn't, ask your | |
| 1328 | sysadmin why he and/or she removed it. | |
| 2086 | 1329 | |
| 2087 | 1330 | =end original |
| 2088 | 1331 | |
| 2089 | ||
| 1332 | (F) このエラーは、通常、普通の perl が setuid エミュレーションのために | |
| 2090 | ||
| 1333 | suidperl を実行しようとしましたが、実行できなかったことを意味します。 | |
| 2091 | ||
| 1334 | 特に UNIX マシンの /usr/local/bin などでは、perl の実行ファイルが、 | |
| 2092 | ||
| 1335 | perl5.000 という名前のときには、同じディレクトリで sperl5.000 という形式の | |
| 1336 | 名前を探します。 | |
| 1337 | もし、ファイルが存在していれば、実行パーミッションをチェックしてください。 | |
| 1338 | 許可されていないようであれば、システム管理者の方に、わけを | |
| 1339 | 尋ねてみてください。 | |
| 2093 | 1340 | |
| 2094 | 1341 | =item Can't do waitpid with flags |
| 2095 | 1342 | |
| 2096 | 1343 | =begin original |
| 2097 | 1344 | |
| 2098 | 1345 | (F) This machine doesn't have either waitpid() or wait4(), so only |
| 2099 | 1346 | waitpid() without flags is emulated. |
| 2100 | 1347 | |
| 2101 | 1348 | =end original |
| 2102 | 1349 | |
| 2103 | 1350 | (F) このマシンには、waitpid() も wait4() もありませんので、 |
| 2104 | 1351 | フラグの無い waitpid() のみがエミュレート可能です。 |
| 2105 | 1352 | |
| 2106 | 1353 | =item Can't emulate -%s on #! line |
| 2107 | 1354 | |
| 2108 | 1355 | =begin original |
| 2109 | 1356 | |
| 2110 | 1357 | (F) The #! line specifies a switch that doesn't make sense at this |
| 2111 | 1358 | point. For example, it'd be kind of silly to put a B<-x> on the #! |
| 2112 | 1359 | line. |
| 2113 | 1360 | |
| 2114 | 1361 | =end original |
| 2115 | 1362 | |
| 2116 | 1363 | (F) #! 行にその時点で意味をなさないスイッチが指定されました。 |
| 2117 | 1364 | たとえば、#! 行に B<-x> をおいても意味がありません。 |
| 2118 | 1365 | |
| 2119 | =item Can't %s %s-endian %ss on this platform | |
| 2120 | ||
| 2121 | =begin original | |
| 2122 | ||
| 2123 | (F) Your platform's byte-order is neither big-endian nor little-endian, | |
| 2124 | or it has a very strange pointer size. Packing and unpacking big- or | |
| 2125 | little-endian floating point values and pointers may not be possible. | |
| 2126 | See L<perlfunc/pack>. | |
| 2127 | ||
| 2128 | =end original | |
| 2129 | ||
| 2130 | (F) プラットフォームのバイト順序がビッグエンディアンでも | |
| 2131 | リトルエンディアンでもないか、ポインタサイズがとても変わっています。 | |
| 2132 | ビッグエンディアンやリトルエンディアンの不動小数点数やポインタの | |
| 2133 | pack や unpack はできません。 | |
| 2134 | L<perlfunc/pack> を参照してください。 | |
| 2135 | ||
| 2136 | 1366 | =item Can't exec "%s": %s |
| 2137 | 1367 | |
| 2138 | 1368 | =begin original |
| 2139 | 1369 | |
| 2140 | (W exec) A system(), exec(), or piped open call could not execute the | |
| 1370 | (W exec) An system(), exec(), or piped open call could not execute the | |
| 2141 | 1371 | named program for the indicated reason. Typical reasons include: the |
| 2142 | 1372 | permissions were wrong on the file, the file wasn't found in |
| 2143 | 1373 | C<$ENV{PATH}>, the executable in question was compiled for another |
| 2144 | 1374 | architecture, or the #! line in a script points to an interpreter that |
| 2145 | 1375 | can't be run for similar reasons. (Or maybe your system doesn't support |
| 2146 | 1376 | #! at all.) |
| 2147 | 1377 | |
| 2148 | 1378 | =end original |
| 2149 | 1379 | |
| 2150 | 1380 | (W exec) 提示した理由によって、system() や exec() やパイプオープン |
| 2151 | 1381 | 呼び出しの指定されたプログラムが実行できませんでした。 |
| 2152 | 1382 | 考えられる理由には: ファイルのパーミッションが間違っている、 |
| 2153 | 1383 | ファイルが C<$ENV{PATH}> の中にない、問題の実行ファイルが |
| 2154 | 1384 | このマシン用ではない、スクリプトの #! 行が同じような理由で実行できない |
| 2155 | 1385 | インタプリタを指している、というようなものがあります。 |
| 2156 | 1386 | (あるいは、このシステムで、#! がサポートされていません。) |
| 2157 | 1387 | |
| 2158 | 1388 | =item Can't exec %s |
| 2159 | 1389 | |
| 2160 | 1390 | =begin original |
| 2161 | 1391 | |
| 2162 | 1392 | (F) Perl was trying to execute the indicated program for you because |
| 2163 | 1393 | that's what the #! line said. If that's not what you wanted, you may |
| 2164 | 1394 | need to mention "perl" on the #! line somewhere. |
| 2165 | 1395 | |
| 2166 | 1396 | =end original |
| 2167 | 1397 | |
| 2168 | 1398 | (F) #! 行に書かれた内容にしたがって、Perl は示されたプログラムを |
| 2169 | 1399 | 実行しようとしました。 |
| 2170 | 1400 | そうしたくないのであれば、#! 行のどこかに、"perl" と書いておいてください。 |
| 2171 | 1401 | |
| 2172 | 1402 | =item Can't execute %s |
| 2173 | 1403 | |
| 2174 | 1404 | =begin original |
| 2175 | 1405 | |
| 2176 | 1406 | (F) You used the B<-S> switch, but the copies of the script to execute |
| 2177 | 1407 | found in the PATH did not have correct permissions. |
| 2178 | 1408 | |
| 2179 | 1409 | =end original |
| 2180 | 1410 | |
| 2181 | 1411 | (F) B<-S> スイッチを使いましたが、PATH に見つかった実行するスクリプトが |
| 2182 | 1412 | 正しいパーミッションではありませんでした。 |
| 2183 | 1413 | |
| 2184 | 1414 | =item Can't find an opnumber for "%s" |
| 2185 | 1415 | |
| 2186 | 1416 | =begin original |
| 2187 | 1417 | |
| 2188 | 1418 | (F) A string of a form C<CORE::word> was given to prototype(), but there |
| 2189 | 1419 | is no builtin with the name C<word>. |
| 2190 | 1420 | |
| 2191 | 1421 | =end original |
| 2192 | 1422 | |
| 2193 | 1423 | (F) C<CORE::word> の形の文字列が prototype() に与えられましたが、 |
| 2194 | 1424 | 名前 C<word> は組み込みではありません。 |
| 2195 | 1425 | |
| 2196 | 1426 | =item Can't find label %s |
| 2197 | 1427 | |
| 2198 | 1428 | =begin original |
| 2199 | 1429 | |
| 2200 | 1430 | (F) You said to goto a label that isn't mentioned anywhere that it's |
| 2201 | 1431 | possible for us to go to. See L<perlfunc/goto>. |
| 2202 | 1432 | |
| 2203 | 1433 | =end original |
| 2204 | 1434 | |
| 2205 | 1435 | (F) どこにも見つからないラベルへ goto を行なおうとしました。 |
| 2206 | 1436 | L<perlfunc/goto> を参照してください。 |
| 2207 | 1437 | |
| 2208 | 1438 | =item Can't find %s on PATH |
| 2209 | 1439 | |
| 2210 | 1440 | =begin original |
| 2211 | 1441 | |
| 2212 | 1442 | (F) You used the B<-S> switch, but the script to execute could not be |
| 2213 | 1443 | found in the PATH. |
| 2214 | 1444 | |
| 2215 | 1445 | =end original |
| 2216 | 1446 | |
| 2217 | 1447 | B<-S> オプションを使いましたが、実行するスクリプトは PATH に |
| 2218 | 1448 | 見つかりませんでした。 |
| 2219 | 1449 | |
| 2220 | 1450 | =item Can't find %s on PATH, '.' not in PATH |
| 2221 | 1451 | |
| 2222 | 1452 | =begin original |
| 2223 | 1453 | |
| 2224 | 1454 | (F) You used the B<-S> switch, but the script to execute could not be |
| 2225 | 1455 | found in the PATH, or at least not with the correct permissions. The |
| 2226 | 1456 | script exists in the current directory, but PATH prohibits running it. |
| 2227 | 1457 | |
| 2228 | 1458 | =end original |
| 2229 | 1459 | |
| 2230 | 1460 | (F) B<-S> オプションが使われましたが、 PATH に実行するスクリプトが |
| 2231 | 見つか | |
| 1461 | 見つかりません。あるいは少なくとも適切なパーミッションがありません。 | |
| 2232 | 1462 | スクリプトはカレントディレクトリにはありますが、PATH に |
| 2233 | 1463 | カレントディレクトリは含まれていません。 |
| 2234 | 1464 | |
| 2235 | 1465 | =item Can't find string terminator %s anywhere before EOF |
| 2236 | 1466 | |
| 2237 | 1467 | =begin original |
| 2238 | 1468 | |
| 2239 | 1469 | (F) Perl strings can stretch over multiple lines. This message means |
| 2240 | 1470 | that the closing delimiter was omitted. Because bracketed quotes count |
| 2241 | 1471 | nesting levels, the following is missing its final parenthesis: |
| 2242 | 1472 | |
| 2243 | 1473 | =end original |
| 2244 | 1474 | |
| 2245 | 1475 | (F) Perl の文字列は、複数行に渡ることができます。このメッセージは、 |
| 2246 | 1476 | 文字列を終わる区切り文字が見つからなかったことを意味します。 |
| 2247 | ||
| 1477 | 括弧類の区切り文字では、ネストを数えるので、以下では、最後の括弧が | |
| 2248 | 1478 | 無いと言われます: |
| 2249 | 1479 | |
| 2250 | 1480 | print q(The character '(' starts a side comment.); |
| 2251 | 1481 | |
| 2252 | 1482 | =begin original |
| 2253 | 1483 | |
| 2254 | If you're getting this error from a here-document, you may have | |
| 1484 | If you're getting this error from a here-document, you may have included | |
| 2255 | ||
| 1485 | unseen whitespace before or after your closing tag. A good programmer's | |
| 2256 | ||
| 1486 | editor will have a way to help you find these characters. | |
| 2257 | a way to help you find these characters (or lack of characters). See | |
| 2258 | L<perlop> for the full details on here-documents. | |
| 2259 | 1487 | |
| 2260 | 1488 | =end original |
| 2261 | 1489 | |
| 2262 | 1490 | このエラーがヒアドキュメントで起きた場合、閉じタグの前か後に |
| 2263 | 見えない空白を含んでいるか | |
| 1491 | 見えない空白を含んでいるかもしれません。 | |
| 2264 | よいプログラマ用エディタには、このような文字 | |
| 1492 | よいプログラマ用エディタには、このような文字を探す助けになる方法が | |
| 2265 | ||
| 1493 | あります。 | |
| 2266 | ヒアドキュメントに関する完全な詳細については L<perlop> を参照してください。 | |
| 2267 | 1494 | |
| 2268 | =item Can't find | |
| 1495 | =item Can't find %s property definition %s | |
| 2269 | 1496 | |
| 2270 | =item Can't find Unicode property definition "%s" in regex; marked by <-- HERE in m/%s/ | |
| 2271 | ||
| 2272 | 1497 | =begin original |
| 2273 | 1498 | |
| 2274 | (F) | |
| 1499 | (F) You may have tried to use C<\p> which means a Unicode property for | |
| 2275 | ||
| 1500 | example \p{Lu} is all uppercase letters. Escape the C<\p>, either | |
| 2276 | ||
| 1501 | C<\\p> (just the C<\p>) or by C<\Q\p> (the rest of the string, until | |
| 2277 | ||
| 1502 | possible C<\E>). | |
| 2278 | properties. If it is a | |
| 2279 | L<user-defined property|perlunicode/User-Defined Character Properties> | |
| 2280 | it must have been defined by the time the regular expression is | |
| 2281 | matched. | |
| 2282 | 1503 | |
| 2283 | 1504 | =end original |
| 2284 | 1505 | |
| 2285 | (F) | |
| 1506 | (F) 例えば \p{Lu} が全て大文字、のように、Unicode プロパティを意味する | |
| 2286 | C<\p> | |
| 1507 | C<\p> を使おうとしました。 | |
| 2287 | ||
| 1508 | C<\\p> (単に C<\p>) または C<\Q\p> (C<\E> までの残りの文字列) を使って | |
| 2288 | ||
| 1509 | C<\p> をエスケープしてください。 | |
| 2289 | L<perluniprops/Properties accessible through \p{} and \P{}> を | |
| 2290 | 参照してください。 | |
| 2291 | これが L<ユーザー定義特性|perlunicode/User-Defined Character Properties> の | |
| 2292 | 場合は、正規表現がマッチングした時点で定義されていなければなりません。 | |
| 2293 | 1510 | |
| 2294 | = | |
| 1511 | =item Can't fork | |
| 2295 | 1512 | |
| 2296 | If you didn't mean to use a Unicode property, escape the C<\p>, either | |
| 2297 | by C<\\p> (just the C<\p>) or by C<\Q\p> (the rest of the string, or | |
| 2298 | until C<\E>). | |
| 2299 | ||
| 2300 | =end original | |
| 2301 | ||
| 2302 | Unicode 特性を使うつもりでない場合は、C<\\p> (単に C<\p>) または | |
| 2303 | C<\Q\p> (残りの文字列 または C<\E> まで) を使って C<\p> を | |
| 2304 | エスケープしてください。 | |
| 2305 | ||
| 2306 | =item Can't fork: %s | |
| 2307 | ||
| 2308 | 1513 | =begin original |
| 2309 | 1514 | |
| 2310 | 1515 | (F) A fatal error occurred while trying to fork while opening a |
| 2311 | 1516 | pipeline. |
| 2312 | 1517 | |
| 2313 | 1518 | =end original |
| 2314 | 1519 | |
| 2315 | 1520 | (F) パイプラインをオープンしようとして、fork を行なおうとして、 |
| 2316 | 1521 | 致命的エラーが発生しました。 |
| 2317 | 1522 | |
| 2318 | =item Can't fork, trying again in 5 seconds | |
| 2319 | ||
| 2320 | =begin original | |
| 2321 | ||
| 2322 | (W pipe) A fork in a piped open failed with EAGAIN and will be retried | |
| 2323 | after five seconds. | |
| 2324 | ||
| 2325 | =end original | |
| 2326 | ||
| 2327 | (W pipe) パイプの open での fork が EAGAIN で失敗し、5 秒後に | |
| 2328 | 再試行されます。 | |
| 2329 | ||
| 2330 | 1523 | =item Can't get filespec - stale stat buffer? |
| 2331 | 1524 | |
| 2332 | 1525 | =begin original |
| 2333 | 1526 | |
| 2334 | 1527 | (S) A warning peculiar to VMS. This arises because of the difference |
| 2335 | 1528 | between access checks under VMS and under the Unix model Perl assumes. |
| 2336 | 1529 | Under VMS, access checks are done by filename, rather than by bits in |
| 2337 | 1530 | the stat buffer, so that ACLs and other protections can be taken into |
| 2338 | 1531 | account. Unfortunately, Perl assumes that the stat buffer contains all |
| 2339 | 1532 | the necessary information, and passes it, instead of the filespec, to |
| 2340 | the access | |
| 1533 | the access checking routine. It will try to retrieve the filespec using | |
| 2341 | 1534 | the device name and FID present in the stat buffer, but this works only |
| 2342 | 1535 | if you haven't made a subsequent call to the CRTL stat() routine, |
| 2343 | 1536 | because the device name is overwritten with each call. If this warning |
| 2344 | appears, the name lookup failed, and the access | |
| 1537 | appears, the name lookup failed, and the access checking routine gave up | |
| 2345 | and returned FALSE, just to be conservative. (Note: The access | |
| 1538 | and returned FALSE, just to be conservative. (Note: The access checking | |
| 2346 | 1539 | routine knows about the Perl C<stat> operator and file tests, so you |
| 2347 | 1540 | shouldn't ever see this warning in response to a Perl command; it arises |
| 2348 | 1541 | only if some internal code takes stat buffers lightly.) |
| 2349 | 1542 | |
| 2350 | 1543 | =end original |
| 2351 | 1544 | |
| 2352 | (S) VMS | |
| 1545 | (S) VMS 特有の警告です。 | |
| 2353 | 1546 | これは VMS と、Perl が仮定している Unix モデルでは、アクセスチェックに違いが |
| 2354 | 1547 | あることによって起こります。 |
| 2355 | 1548 | VMS では、アクセスチェックは stat バッファのビットではなくファイル名によって |
| 2356 | 1549 | 行われるので、ACL やその他の保護が考慮されます。 |
| 2357 | 1550 | 残念ながら、Perl は stat バッファに全ての必要な情報が含まれていると仮定して、 |
| 2358 | 1551 | アクセスチェックルーチンにはファイルスペックではなくこれを渡します。 |
| 2359 | 1552 | stat バッファにあるデバイス名と FID を使ってファイルスペックを |
| 2360 | 1553 | 取得しようとしますが、これは引き続いて CRTL stat() ルーチンを呼び出さない |
| 2361 | 1554 | 場合にのみ動作します; なぜならデバイス名は呼出し毎に上書きされるからです。 |
| 2362 | 1555 | この警告が出ると、名前の検索が失敗し、アクセスチェックルーチンは諦めて、 |
| 2363 | 1556 | 安全のためだけに FALSE を返します。 |
| 2364 | 1557 | (注意: アクセスチェックルーチンは Perl の C<stat> 演算子とファイル |
| 2365 | 1558 | テストについて知っているので、Perl コマンドの結果としてこの警告を見ることは |
| 2366 | 1559 | ないはずです; これは内部コートが stat バッファを軽率に扱った場合にのみ |
| 2367 | 1560 | 発生します。) |
| 2368 | 1561 | |
| 2369 | 1562 | =item Can't get pipe mailbox device name |
| 2370 | 1563 | |
| 2371 | 1564 | =begin original |
| 2372 | 1565 | |
| 2373 | 1566 | (P) An error peculiar to VMS. After creating a mailbox to act as a |
| 2374 | 1567 | pipe, Perl can't retrieve its name for later use. |
| 2375 | 1568 | |
| 2376 | 1569 | =end original |
| 2377 | 1570 | |
| 2378 | ( | |
| 1571 | (F) VMS 特有のエラーです。 | |
| 2379 | 1572 | パイプとして働くメールボックスの作成後、後で使うための名前を |
| 2380 | 1573 | Perl が取得できませんでした。 |
| 2381 | 1574 | |
| 2382 | 1575 | =item Can't get SYSGEN parameter value for MAXBUF |
| 2383 | 1576 | |
| 2384 | 1577 | =begin original |
| 2385 | 1578 | |
| 2386 | 1579 | (P) An error peculiar to VMS. Perl asked $GETSYI how big you want your |
| 2387 | 1580 | mailbox buffers to be, and didn't get an answer. |
| 2388 | 1581 | |
| 2389 | 1582 | =end original |
| 2390 | 1583 | |
| 2391 | ( | |
| 1584 | (F) VMS 特有のエラーです。 | |
| 2392 | 1585 | メールボックスバッファをどれくらいとるべきかを $GETSYI に |
| 2393 | 1586 | 問い合わせましたが、答えが得られませんでした。 |
| 2394 | 1587 | |
| 2395 | =item Can't "goto" into a binary or list expression | |
| 2396 | ||
| 2397 | =begin original | |
| 2398 | ||
| 2399 | (F) A "goto" statement was executed to jump into the middle of a binary | |
| 2400 | or list expression. You can't get there from here. The reason for this | |
| 2401 | restriction is that the interpreter would get confused as to how many | |
| 2402 | arguments there are, resulting in stack corruption or crashes. This | |
| 2403 | error occurs in cases such as these: | |
| 2404 | ||
| 2405 | =end original | |
| 2406 | ||
| 2407 | (F) "goto" 文で 2 項式またはリスト式の途中に飛び込もうとしました。 | |
| 2408 | ここからそこへは行けません。 | |
| 2409 | この制限の理由は、そこにいくつの引数があるかに関してインタプリタが混乱し、 | |
| 2410 | 結果としてスタックは解約ラッシュを引き起こすからです。 | |
| 2411 | このエラーは次のような場合に起こります: | |
| 2412 | ||
| 2413 | goto F; | |
| 2414 | print do { F: }; # Can't jump into the arguments to print | |
| 2415 | ||
| 2416 | goto G; | |
| 2417 | $x + do { G: $y }; # How is + supposed to get its first operand? | |
| 2418 | ||
| 2419 | =item Can't "goto" into a "given" block | |
| 2420 | ||
| 2421 | =begin original | |
| 2422 | ||
| 2423 | (F) A "goto" statement was executed to jump into the middle of a C<given> | |
| 2424 | block. You can't get there from here. See L<perlfunc/goto>. | |
| 2425 | ||
| 2426 | =end original | |
| 2427 | ||
| 2428 | (F) "goto" 文で C<given> ブロックの中に飛び込もうとしました。 | |
| 2429 | ここからそこへは行けません。 | |
| 2430 | L<perlfunc/goto> を参照してください。 | |
| 2431 | ||
| 2432 | 1588 | =item Can't "goto" into the middle of a foreach loop |
| 2433 | 1589 | |
| 2434 | 1590 | =begin original |
| 2435 | 1591 | |
| 2436 | 1592 | (F) A "goto" statement was executed to jump into the middle of a foreach |
| 2437 | 1593 | loop. You can't get there from here. See L<perlfunc/goto>. |
| 2438 | 1594 | |
| 2439 | 1595 | =end original |
| 2440 | 1596 | |
| 2441 | 1597 | (F) "goto" 文で foreach ループの中に飛び込もうとしました。 |
| 2442 | 1598 | ここからそこへは行けません。 |
| 2443 | 1599 | L<perlfunc/goto> を参照してください。 |
| 2444 | 1600 | |
| 2445 | 1601 | =item Can't "goto" out of a pseudo block |
| 2446 | 1602 | |
| 2447 | 1603 | =begin original |
| 2448 | 1604 | |
| 2449 | 1605 | (F) A "goto" statement was executed to jump out of what might look like |
| 2450 | 1606 | a block, except that it isn't a proper block. This usually occurs if |
| 2451 | 1607 | you tried to jump out of a sort() block or subroutine, which is a no-no. |
| 2452 | 1608 | See L<perlfunc/goto>. |
| 2453 | 1609 | |
| 2454 | 1610 | =end original |
| 2455 | 1611 | |
| 2456 | 1612 | (F) "goto" 文でブロックのように見えるけれども、適切な |
| 2457 | 1613 | ブロックではないところから飛び出そうとしました。 |
| 2458 | 1614 | これは普通 sort() ブロックやサブルーチンから飛び出そうとしたときに |
| 2459 | 1615 | 起きますが、それはできません。 |
| 2460 | 1616 | L<perlfunc/goto> を参照してください。 |
| 2461 | 1617 | |
| 2462 | =item Can't goto subroutine from an eval- | |
| 1618 | =item Can't goto subroutine from an eval-string | |
| 2463 | 1619 | |
| 2464 | 1620 | =begin original |
| 2465 | 1621 | |
| 2466 | 1622 | (F) The "goto subroutine" call can't be used to jump out of an eval |
| 2467 | "string" o | |
| 1623 | "string". (You can use it to jump out of an eval {BLOCK}, but you | |
| 1624 | probably don't want to.) | |
| 2468 | 1625 | |
| 2469 | 1626 | =end original |
| 2470 | 1627 | |
| 2471 | (F) "goto subroutine" 呼び出しは eval "string" | |
| 1628 | (F) "goto subroutine" 呼び出しは eval "string" から飛び出すことは | |
| 2472 | ||
| 1629 | できません。 | |
| 1630 | (eval {BLOCK} から飛び出すことはできますが、多分そうしたくはないでしょう。) | |
| 2473 | 1631 | |
| 2474 | =item Can't goto subroutine from a sort sub (or similar callback) | |
| 2475 | ||
| 2476 | =begin original | |
| 2477 | ||
| 2478 | (F) The "goto subroutine" call can't be used to jump out of the | |
| 2479 | comparison sub for a sort(), or from a similar callback (such | |
| 2480 | as the reduce() function in List::Util). | |
| 2481 | ||
| 2482 | =end original | |
| 2483 | ||
| 2484 | (F) "goto subroutine" 呼び出しは、sort() のための比較サブルーチンや、 | |
| 2485 | (List::Util の reduce() 関数のような) 似たようなコールバックから | |
| 2486 | 飛び出すことはできません。 | |
| 2487 | ||
| 2488 | 1632 | =item Can't goto subroutine outside a subroutine |
| 2489 | 1633 | |
| 2490 | 1634 | =begin original |
| 2491 | 1635 | |
| 2492 | 1636 | (F) The deeply magical "goto subroutine" call can only replace one |
| 2493 | 1637 | subroutine call for another. It can't manufacture one out of whole |
| 2494 | 1638 | cloth. In general you should be calling it out of only an AUTOLOAD |
| 2495 | 1639 | routine anyway. See L<perlfunc/goto>. |
| 2496 | 1640 | |
| 2497 | 1641 | =end original |
| 2498 | 1642 | |
| 2499 | (F) 結構マジカルな "goto subroutine" の呼び出しは、あるサブルー | |
| 1643 | (F) 結構マジカルな "goto subroutine" の呼び出しは、あるサブルーティン | |
| 2500 | 1644 | 呼び出しを別のもので置き換えるだけです。 |
| 2501 | 1645 | 反物の状態から作り上げることはできません。 |
| 2502 | 1646 | 一般に、これを行なうのは、AUTOLOAD ルーティンから抜け出すときだけに |
| 2503 | 1647 | しておくべきです。 |
| 2504 | L<perlfunc/goto> を参照してください。 | |
| 1648 | L<perlfunc/goto> の項を参照してください。 | |
| 2505 | 1649 | |
| 2506 | 1650 | =item Can't ignore signal CHLD, forcing to default |
| 2507 | 1651 | |
| 2508 | 1652 | =begin original |
| 2509 | 1653 | |
| 2510 | 1654 | (W signal) Perl has detected that it is being run with the SIGCHLD |
| 2511 | 1655 | signal (sometimes known as SIGCLD) disabled. Since disabling this |
| 2512 | 1656 | signal will interfere with proper determination of exit status of child |
| 2513 | 1657 | processes, Perl has reset the signal to its default value. This |
| 2514 | 1658 | situation typically indicates that the parent program under which Perl |
| 2515 | 1659 | may be running (e.g. cron) is being very careless. |
| 2516 | 1660 | |
| 2517 | 1661 | =end original |
| 2518 | 1662 | |
| 2519 | 1663 | (W signal) Perl は、SIGCHLD (SIGCLD としても知られます) シグナルが |
| 2520 | 1664 | 無効化された状態で実行されていることを検出しました。 |
| 2521 | 1665 | このシグナルが無効化されると子プロセスの終了ステータスを適切に |
| 2522 | 1666 | 決定できなくなるので、Perl はシグナルをデフォルト値にリセットしました。 |
| 2523 | 1667 | この状況は典型的には Perl が動作している親プログラム(cron など)が |
| 2524 | 1668 | とても不注意であることを示しています。 |
| 2525 | 1669 | |
| 2526 | =item Can't kill a non-numeric process ID | |
| 2527 | ||
| 2528 | =begin original | |
| 2529 | ||
| 2530 | (F) Process identifiers must be (signed) integers. It is a fatal error to | |
| 2531 | attempt to kill() an undefined, empty-string or otherwise non-numeric | |
| 2532 | process identifier. | |
| 2533 | ||
| 2534 | =end original | |
| 2535 | ||
| 2536 | (F) プロセス識別子は(符号付き)整数でなければなりません。 | |
| 2537 | 未定義値、空文字列、その他の非数値プロセス識別子を使って | |
| 2538 | kill() しようとすることは致命的エラーです。 | |
| 2539 | ||
| 2540 | 1670 | =item Can't "last" outside a loop block |
| 2541 | 1671 | |
| 2542 | 1672 | =begin original |
| 2543 | 1673 | |
| 2544 | 1674 | (F) A "last" statement was executed to break out of the current block, |
| 2545 | 1675 | except that there's this itty bitty problem called there isn't a current |
| 2546 | 1676 | block. Note that an "if" or "else" block doesn't count as a "loopish" |
| 2547 | 1677 | block, as doesn't a block given to sort(), map() or grep(). You can |
| 2548 | 1678 | usually double the curlies to get the same effect though, because the |
| 2549 | 1679 | inner curlies will be considered a block that loops once. See |
| 2550 | 1680 | L<perlfunc/last>. |
| 2551 | 1681 | |
| 2552 | 1682 | =end original |
| 2553 | 1683 | |
| 2554 | 1684 | (F) 現在のブロックから脱出するために、"last" 文を実行しましたが、 |
| 2555 | 1685 | 残念なことにブロックの中ではありませんでした。 |
| 2556 | 1686 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
| 2557 | 1687 | 同様「ループ風」ブロックではないので、注意してください。 |
| 2558 | ただし、中 | |
| 1688 | ただし、中括弧を二重にすれば、内側の中括弧が、1 度だけループするブロックと | |
| 2559 | ||
| 1689 | みなされますから、同じ効果が得られます。 | |
| 2560 | 1690 | L<perlfunc/last> を参照してください。 |
| 2561 | 1691 | |
| 2562 | =item Can't l | |
| 1692 | =item Can't localize lexical variable %s | |
| 2563 | 1693 | |
| 2564 | 1694 | =begin original |
| 2565 | 1695 | |
| 2566 | (F) | |
| 1696 | (F) You used local on a variable name that was previously declared as a | |
| 2567 | ||
| 1697 | lexical variable using "my". This is not allowed. If you want to | |
| 1698 | localize a package variable of the same name, qualify it with the | |
| 1699 | package name. | |
| 2568 | 1700 | |
| 2569 | 1701 | =end original |
| 2570 | 1702 | |
| 2571 | (F) | |
| 1703 | (F) 以前に "my" を使ってレキシカル変数として宣言された変数名に対して | |
| 2572 | ||
| 1704 | local を使いました。 | |
| 1705 | これは認められていません。 | |
| 1706 | 同じ名前のパッケージ変数をローカル化したい場合は、 | |
| 1707 | パッケージ名で修飾してください。 | |
| 2573 | 1708 | |
| 2574 | =item Can't loa | |
| 1709 | =item Can't localize pseudo-hash element | |
| 2575 | 1710 | |
| 2576 | 1711 | =begin original |
| 2577 | 1712 | |
| 2578 | (F) | |
| 1713 | (F) You said something like C<< local $ar->{'key'} >>, where $ar is a | |
| 2579 | ||
| 1714 | reference to a pseudo-hash. That hasn't been implemented yet, but you | |
| 2580 | ||
| 1715 | can get a similar effect by localizing the corresponding array element | |
| 2581 | ||
| 1716 | directly -- C<< local $ar->[$ar->[0]{'key'}] >>. | |
| 2582 | dynamic extension was built against an older version of the library | |
| 2583 | that is installed on your system. You may need to rebuild your old | |
| 2584 | dynamic extensions. | |
| 2585 | 1717 | |
| 2586 | 1718 | =end original |
| 2587 | 1719 | |
| 2588 | (F) | |
| 1720 | (F) $ar が擬似ハッシュへのリファレンスのとき、C<< local $ar->{'key'} >> の | |
| 2589 | ||
| 1721 | ようなことをしました。 | |
| 2590 | これは | |
| 1722 | これはまだ実装されていませんが、対応する配列要素を直接ローカル化することで | |
| 2591 | ||
| 1723 | 似たような効果が得られます -- C<< local $ar->[$ar->[0]{'key'}] >>。 | |
| 2592 | (よりあり得るのは)動的拡張モジュールがシステムにインストールされている古い | |
| 2593 | バージョンのライブラリに対してビルドされているかです。 | |
| 2594 | 古い動的拡張モジュールをリビルドする必要があるでしょう。 | |
| 2595 | 1724 | |
| 2596 | =item Can't localize lexical variable %s | |
| 2597 | ||
| 2598 | =begin original | |
| 2599 | ||
| 2600 | (F) You used local on a variable name that was previously declared as a | |
| 2601 | lexical variable using "my" or "state". This is not allowed. If you | |
| 2602 | want to localize a package variable of the same name, qualify it with | |
| 2603 | the package name. | |
| 2604 | ||
| 2605 | =end original | |
| 2606 | ||
| 2607 | (F) 以前に "my" や "state" を使ってレキシカル変数として宣言された変数名に | |
| 2608 | 対して local を使いました。 | |
| 2609 | これは認められていません。 | |
| 2610 | 同じ名前のパッケージ変数をローカル化したい場合は、 | |
| 2611 | パッケージ名で修飾してください。 | |
| 2612 | ||
| 2613 | 1725 | =item Can't localize through a reference |
| 2614 | 1726 | |
| 2615 | 1727 | =begin original |
| 2616 | 1728 | |
| 2617 | 1729 | (F) You said something like C<local $$ref>, which Perl can't currently |
| 2618 | 1730 | handle, because when it goes to restore the old value of whatever $ref |
| 2619 | 1731 | pointed to after the scope of the local() is finished, it can't be sure |
| 2620 | that $ref will still be a reference. | |
| 1732 | that $ref will still be a reference. | |
| 2621 | 1733 | |
| 2622 | 1734 | =end original |
| 2623 | 1735 | |
| 2624 | 1736 | (F) C<local $$ref> のようなことをしましたが、Perl は現在のところこれを |
| 2625 | 1737 | 扱えません; なぜなら、local() のスコープが終了した後、$ref が |
| 2626 | 1738 | 指しているものの古い値を戻すとき、$ref がまだリファレンスかどうかが |
| 2627 | 1739 | わからないからです。 |
| 2628 | 1740 | |
| 2629 | 1741 | =item Can't locate %s |
| 2630 | 1742 | |
| 2631 | 1743 | =begin original |
| 2632 | 1744 | |
| 2633 | (F) You said to C<do> (or C<require>, or C<use>) a file that couldn't be | |
| 1745 | (F) You said to C<do> (or C<require>, or C<use>) a file that couldn't be | |
| 2634 | Perl looks for the file in all the locations mentioned in @INC, | |
| 1746 | found. Perl looks for the file in all the locations mentioned in @INC, | |
| 2635 | the file name included the full path to the file. Perhaps you | |
| 1747 | unless the file name included the full path to the file. Perhaps you | |
| 2636 | to set the PERL5LIB or PERL5OPT environment variable to say wher | |
| 1748 | need to set the PERL5LIB or PERL5OPT environment variable to say where | |
| 2637 | extra library is, or maybe the script needs to add the library name | |
| 1749 | the extra library is, or maybe the script needs to add the library name | |
| 2638 | 1750 | to @INC. Or maybe you just misspelled the name of the file. See |
| 2639 | 1751 | L<perlfunc/require> and L<lib>. |
| 2640 | 1752 | |
| 2641 | 1753 | =end original |
| 2642 | 1754 | |
| 2643 | 1755 | (F) ファイルを C<do> (または、C<require>、C<use>) するように |
| 2644 | 1756 | 指示されましたが、見つかりませんでした。 |
| 2645 | 1757 | Perl は、フルパスで指定されていない場合ファイルを @INC で示される |
| 2646 | 1758 | 全ての場所を検索します。 |
| 2647 | 1759 | おそらく、追加ライブラリの場所を示すために、 |
| 2648 | 1760 | PERL5LIB または PERL5OPT の環境変数を指定する必要があるか、 |
| 2649 | 1761 | スクリプトの中で @INC にライブラリ名を追加する必要があります。 |
| 2650 | 1762 | ファイル名のスペルミスの可能性もあります。 |
| 2651 | 1763 | L<perlfunc/require> と L<lib> を参照してください。 |
| 2652 | 1764 | |
| 2653 | 1765 | =item Can't locate auto/%s.al in @INC |
| 2654 | 1766 | |
| 2655 | 1767 | =begin original |
| 2656 | 1768 | |
| 2657 | 1769 | (F) A function (or method) was called in a package which allows |
| 2658 | 1770 | autoload, but there is no function to autoload. Most probable causes |
| 2659 | 1771 | are a misprint in a function/method name or a failure to C<AutoSplit> |
| 2660 | 1772 | the file, say, by doing C<make install>. |
| 2661 | 1773 | |
| 2662 | 1774 | =end original |
| 2663 | 1775 | |
| 2664 | 1776 | (F) 関数(またはメソッド)がオートロードを許可しているパッケージで |
| 2665 | 1777 | 呼び出されましたが、オートロードする関数がありませんでした。 |
| 2666 | 1778 | 最も可能性のある原因は関数/メソッド名の誤記か、C<make install> と |
| 2667 | 1779 | することによるファイルの C<AutoSplit> の失敗です。 |
| 2668 | 1780 | |
| 2669 | =item Can't locate loadable object for module %s in @INC | |
| 2670 | ||
| 2671 | =begin original | |
| 2672 | ||
| 2673 | (F) The module you loaded is trying to load an external library, like | |
| 2674 | for example, F<foo.so> or F<bar.dll>, but the L<DynaLoader> module was | |
| 2675 | unable to locate this library. See L<DynaLoader>. | |
| 2676 | ||
| 2677 | =end original | |
| 2678 | ||
| 2679 | (F) 読み込まれたモジュールは F<foo.so> や F<bar.dll> のような外部 | |
| 2680 | ライブラリを読み込もうとしましたが、L<DynaLoader> モジュールは、この | |
| 2681 | ライブラリの位置がわかりませんでした。 | |
| 2682 | L<DynaLoader> を参照してください。 | |
| 2683 | ||
| 2684 | 1781 | =item Can't locate object method "%s" via package "%s" |
| 2685 | 1782 | |
| 2686 | 1783 | =begin original |
| 2687 | 1784 | |
| 2688 | 1785 | (F) You called a method correctly, and it correctly indicated a package |
| 2689 | 1786 | functioning as a class, but that package doesn't define that particular |
| 2690 | 1787 | method, nor does any of its base classes. See L<perlobj>. |
| 2691 | 1788 | |
| 2692 | 1789 | =end original |
| 2693 | 1790 | |
| 2694 | 1791 | (F) 正しくメソッドを呼び出し、それは、クラスとして機能するパッケージを |
| 2695 | 1792 | 正しく示していますが、そのパッケージにも、基底クラスにも、 |
| 2696 | 1793 | 該当のメソッドが定義されていません。 |
| 2697 | 1794 | L<perlobj> を参照してください。 |
| 2698 | 1795 | |
| 2699 | =item | |
| 1796 | =item (perhaps you forgot to load "%s"?) | |
| 2700 | to load "%s"?) | |
| 2701 | 1797 | |
| 2702 | 1798 | =begin original |
| 2703 | 1799 | |
| 2704 | (F) | |
| 1800 | (F) This is an educated guess made in conjunction with the message | |
| 2705 | ||
| 1801 | "Can't locate object method \"%s\" via package \"%s\"". It often means | |
| 2706 | requires a package that has not been loaded. | |
| 1802 | that a method requires a package that has not been loaded. | |
| 2707 | 1803 | |
| 2708 | 1804 | =end original |
| 2709 | 1805 | |
| 2710 | (F) | |
| 1806 | (F) これは "Can't locate object method \"%s\" via package \"%s\"" の | |
| 2711 | ||
| 1807 | メッセージと共に出る教育的な推測です。 | |
| 2712 | 1808 | これはしばしばメソッドがまだロードされていないパッケージを |
| 2713 | 1809 | 要求していることを意味します。 |
| 2714 | 1810 | |
| 2715 | 1811 | =item Can't locate package %s for @%s::ISA |
| 2716 | 1812 | |
| 2717 | 1813 | =begin original |
| 2718 | 1814 | |
| 2719 | 1815 | (W syntax) The @ISA array contained the name of another package that |
| 2720 | 1816 | doesn't seem to exist. |
| 2721 | 1817 | |
| 2722 | 1818 | =end original |
| 2723 | 1819 | |
| 2724 | 1820 | (W syntax) 配列 @ISA に別のパッケージ名が記されていますが、 |
| 2725 | 1821 | 存在していないようです。 |
| 2726 | 1822 | |
| 2727 | =item Can't | |
| 1823 | =item Can't make list assignment to \%ENV on this system | |
| 2728 | 1824 | |
| 2729 | 1825 | =begin original |
| 2730 | 1826 | |
| 2731 | (F) You tried to use in open() a PerlIO layer that does not exist, | |
| 2732 | e.g. open(FH, ">:nosuchlayer", "somefile"). | |
| 2733 | ||
| 2734 | =end original | |
| 2735 | ||
| 2736 | (F) 例えば、open(FH, ">:nosuchlayer", "somefile") のように、 | |
| 2737 | open() で 存在しない PerlIO 層を使おうとしました。 | |
| 2738 | ||
| 2739 | =item Can't make list assignment to %ENV on this system | |
| 2740 | ||
| 2741 | =begin original | |
| 2742 | ||
| 2743 | 1827 | (F) List assignment to %ENV is not supported on some systems, notably |
| 2744 | 1828 | VMS. |
| 2745 | 1829 | |
| 2746 | 1830 | =end original |
| 2747 | 1831 | |
| 2748 | 1832 | (F) %ENV へのリスト代入はいくつかのシステム、特に VMS では |
| 2749 | 1833 | 対応していません。 |
| 2750 | 1834 | |
| 2751 | =item Can't make loaded symbols global on this platform while loading %s | |
| 2752 | ||
| 2753 | =begin original | |
| 2754 | ||
| 2755 | (S) A module passed the flag 0x01 to DynaLoader::dl_load_file() to request | |
| 2756 | that symbols from the stated file are made available globally within the | |
| 2757 | process, but that functionality is not available on this platform. Whilst | |
| 2758 | the module likely will still work, this may prevent the perl interpreter | |
| 2759 | from loading other XS-based extensions which need to link directly to | |
| 2760 | functions defined in the C or XS code in the stated file. | |
| 2761 | ||
| 2762 | =end original | |
| 2763 | ||
| 2764 | (W) モジュールが、プロセスの中でグローバルに利用可能な固定ファイルから | |
| 2765 | シンボルを読み込むことを要求するために、DynaLoader::dl_load_file() に | |
| 2766 | 0x01 フラグを渡しましたが、この機能はこのプラットフォームでは利用できません。 | |
| 2767 | モジュールはおそらく動作しますが、perl インタプリタによる、固定ファイルの C や | |
| 2768 | XS コードで定義された関数へ直接リンクする必要のあるその他の XS ベースの | |
| 2769 | エクステンションの読み込みが妨げられるかもしれません。 | |
| 2770 | ||
| 2771 | 1835 | =item Can't modify %s in %s |
| 2772 | 1836 | |
| 2773 | 1837 | =begin original |
| 2774 | 1838 | |
| 2775 | 1839 | (F) You aren't allowed to assign to the item indicated, or otherwise try |
| 2776 | 1840 | to change it, such as with an auto-increment. |
| 2777 | 1841 | |
| 2778 | 1842 | =end original |
| 2779 | 1843 | |
| 2780 | 1844 | (F) 指定されたものは、代入、インクリメントなど、変更が許されていません。 |
| 2781 | 1845 | |
| 2782 | 1846 | =item Can't modify nonexistent substring |
| 2783 | 1847 | |
| 2784 | 1848 | =begin original |
| 2785 | 1849 | |
| 2786 | 1850 | (P) The internal routine that does assignment to a substr() was handed |
| 2787 | 1851 | a NULL. |
| 2788 | 1852 | |
| 2789 | 1853 | =end original |
| 2790 | 1854 | |
| 2791 | 1855 | (P) substr() への代入を行なう内部ルーティンに NULL が渡されました。 |
| 2792 | 1856 | |
| 2793 | =item Can't modify non-lvalue subroutine call | |
| 1857 | =item Can't modify non-lvalue subroutine call | |
| 2794 | 1858 | |
| 2795 | =item Can't modify non-lvalue subroutine call of &%s in %s | |
| 2796 | ||
| 2797 | 1859 | =begin original |
| 2798 | 1860 | |
| 2799 | 1861 | (F) Subroutines meant to be used in lvalue context should be declared as |
| 2800 | such | |
| 1862 | such, see L<perlsub/"Lvalue subroutines">. | |
| 2801 | 1863 | |
| 2802 | 1864 | =end original |
| 2803 | 1865 | |
| 2804 | 1866 | (F) 左辺値コンテキストとして使うサブルーチンは、そのように |
| 2805 | 宣言しなければなりません | |
| 1867 | 宣言しなければなりません; | |
| 2806 | 1868 | L<perlsub/"Lvalue subroutines"> を参照してください。 |
| 2807 | 1869 | |
| 2808 | =item Can't modify reference to %s in %s assignment | |
| 2809 | ||
| 2810 | =begin original | |
| 2811 | ||
| 2812 | (F) Only a limited number of constructs can be used as the argument to a | |
| 2813 | reference constructor on the left-hand side of an assignment, and what | |
| 2814 | you used was not one of them. See L<perlref/Assigning to References>. | |
| 2815 | ||
| 2816 | =end original | |
| 2817 | ||
| 2818 | (F) 代入の左側のリファレンスコンストラクタの引数に使える構文は | |
| 2819 | 一部に制限されていて、ここで使ったものはその一つではありません。 | |
| 2820 | L<perlref/Assigning to References> を参照してください。 | |
| 2821 | ||
| 2822 | =item Can't modify reference to localized parenthesized array in list | |
| 2823 | assignment | |
| 2824 | ||
| 2825 | =begin original | |
| 2826 | ||
| 2827 | (F) Assigning to C<\local(@array)> or C<\(local @array)> is not supported, as | |
| 2828 | it is not clear exactly what it should do. If you meant to make @array | |
| 2829 | refer to some other array, use C<\@array = \@other_array>. If you want to | |
| 2830 | make the elements of @array aliases of the scalars referenced on the | |
| 2831 | right-hand side, use C<\(@array) = @scalar_refs>. | |
| 2832 | ||
| 2833 | =end original | |
| 2834 | ||
| 2835 | (F) C<\local(@array)> や C<\(local @array)> への代入は対応していません; | |
| 2836 | 正確に何をするべきかが明確ではないからです。 | |
| 2837 | @array が他の配列を参照するようにすることを意味しているなら、 | |
| 2838 | C<\@array = \@other_array> を使ってください。 | |
| 2839 | @array の要素が右側でリファレンスされているスカラへの別名にしたいなら、 | |
| 2840 | C<\(@array) = @scalar_refs> を使ってください。 | |
| 2841 | ||
| 2842 | =item Can't modify reference to parenthesized hash in list assignment | |
| 2843 | ||
| 2844 | =begin original | |
| 2845 | ||
| 2846 | (F) Assigning to C<\(%hash)> is not supported. If you meant to make %hash | |
| 2847 | refer to some other hash, use C<\%hash = \%other_hash>. If you want to | |
| 2848 | make the elements of %hash into aliases of the scalars referenced on the | |
| 2849 | right-hand side, use a hash slice: C<\@hash{@keys} = @those_scalar_refs>. | |
| 2850 | ||
| 2851 | =end original | |
| 2852 | ||
| 2853 | (F) C<\(%hash)> への代入は対応していません。 | |
| 2854 | %hash が他のハッシュを参照するようにすることを意味しているなら、 | |
| 2855 | C<\%hash = \%other_hash> を使ってください。 | |
| 2856 | %hash の要素が右側でリファレンスされているスカラへの別名にしたいなら、 | |
| 2857 | ハッシュスライスを使ってください: C<\@hash{@keys} = @those_scalar_refs>。 | |
| 2858 | ||
| 2859 | 1870 | =item Can't msgrcv to read-only var |
| 2860 | 1871 | |
| 2861 | 1872 | =begin original |
| 2862 | 1873 | |
| 2863 | 1874 | (F) The target of a msgrcv must be modifiable to be used as a receive |
| 2864 | 1875 | buffer. |
| 2865 | 1876 | |
| 2866 | 1877 | =end original |
| 2867 | 1878 | |
| 2868 | 1879 | (F) msgrcv で使用する変数は、受信バッファとして使用しますので、 |
| 2869 | 1880 | 変更可能なものでなければなりません。 |
| 2870 | 1881 | |
| 2871 | 1882 | =item Can't "next" outside a loop block |
| 2872 | 1883 | |
| 2873 | 1884 | =begin original |
| 2874 | 1885 | |
| 2875 | 1886 | (F) A "next" statement was executed to reiterate the current block, but |
| 2876 | 1887 | there isn't a current block. Note that an "if" or "else" block doesn't |
| 2877 | 1888 | count as a "loopish" block, as doesn't a block given to sort(), map() or |
| 2878 | 1889 | grep(). You can usually double the curlies to get the same effect |
| 2879 | 1890 | though, because the inner curlies will be considered a block that loops |
| 2880 | 1891 | once. See L<perlfunc/next>. |
| 2881 | 1892 | |
| 2882 | 1893 | =end original |
| 2883 | 1894 | |
| 2884 | 1895 | (F) 現在のブロックの繰り返しを進めるために、"next" 文を実行しましたが、 |
| 2885 | 1896 | ブロックの中ではありませんでした。 |
| 2886 | 1897 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
| 2887 | 1898 | 同様「ループ風」ブロックではないので、注意してください。 |
| 2888 | ただし、中 | |
| 1899 | ただし、中括弧を二重にすれば、内側の中括弧が、1 度だけループするブロックと | |
| 2889 | ||
| 1900 | みなされますから、同じ効果が得られます。 | |
| 2890 | 1901 | L<perlfunc/next> を参照してください。 |
| 2891 | 1902 | |
| 2892 | 1903 | =item Can't open %s: %s |
| 2893 | 1904 | |
| 2894 | 1905 | =begin original |
| 2895 | 1906 | |
| 2896 | 1907 | (S inplace) The implicit opening of a file through use of the C<< <> >> |
| 2897 | 1908 | filehandle, either implicitly under the C<-n> or C<-p> command-line |
| 2898 | switches, or explicitly, failed for the indicated reason. Usually | |
| 1909 | switches, or explicitly, failed for the indicated reason. Usually this | |
| 2899 | ||
| 1910 | is because you don't have read permission for a file which you named on | |
| 2900 | ||
| 1911 | the command line. | |
| 2901 | 1912 | |
| 2902 | 1913 | =end original |
| 2903 | 1914 | |
| 2904 | 1915 | (S inplace) C<< <> >> ファイルハンドルによる暗黙的なファイルオープンまたは |
| 2905 | 1916 | C<-n> か C<-p> コマンドラインスイッチによる暗黙的な、あるいは |
| 2906 | 1917 | 明示的なファイルオープンが表示した理由によって失敗しました。 |
| 2907 | 1918 | 通常、これはコマンドラインで指定したファイルの読み込み権限が無いときに起こります。 |
| 2908 | 1919 | |
| 2909 | =begin original | |
| 2910 | ||
| 2911 | (F) You tried to call perl with the B<-e> switch, but F</dev/null> (or | |
| 2912 | your operating system's equivalent) could not be opened. | |
| 2913 | ||
| 2914 | =end original | |
| 2915 | ||
| 2916 | (F) B<-e> オプション付きで perl を呼び出そうとしましたが、F</dev/null> | |
| 2917 | (またはあなたのオペレーティングシステムでの等価物) が開けませんでした。 | |
| 2918 | ||
| 2919 | =item Can't open a reference | |
| 2920 | ||
| 2921 | =begin original | |
| 2922 | ||
| 2923 | (W io) You tried to open a scalar reference for reading or writing, | |
| 2924 | using the 3-arg open() syntax: | |
| 2925 | ||
| 2926 | =end original | |
| 2927 | ||
| 2928 | (W io) 3 引数の open() の構文を使ってスカラリファレンスを読み込みまたは | |
| 2929 | 書き込みのために開こうとしました: | |
| 2930 | ||
| 2931 | open FH, '>', $ref; | |
| 2932 | ||
| 2933 | =begin original | |
| 2934 | ||
| 2935 | but your version of perl is compiled without perlio, and this form of | |
| 2936 | open is not supported. | |
| 2937 | ||
| 2938 | =end original | |
| 2939 | ||
| 2940 | しかしこのバージョンの perl は perlio なしでコンパイルされていて、 | |
| 2941 | この形式の open は対応していません。 | |
| 2942 | ||
| 2943 | 1920 | =item Can't open bidirectional pipe |
| 2944 | 1921 | |
| 2945 | 1922 | =begin original |
| 2946 | 1923 | |
| 2947 | 1924 | (W pipe) You tried to say C<open(CMD, "|cmd|")>, which is not supported. |
| 2948 | 1925 | You can try any of several modules in the Perl library to do this, such |
| 2949 | 1926 | as IPC::Open2. Alternately, direct the pipe's output to a file using |
| 2950 | 1927 | ">", and then read it in under a different file handle. |
| 2951 | 1928 | |
| 2952 | 1929 | =end original |
| 2953 | 1930 | |
| 2954 | 1931 | (W pipe) サポートされていない C<open(CMD, "|cmd|")> を行なおうとしました。 |
| 2955 | 1932 | これを行なうためには、Perl ライブラリの IPC::Open2 のようないくつかの |
| 2956 | 1933 | モジュールを使うことができます。 |
| 2957 | 1934 | 別の方法として、パイプされたものを ">" を使っていったんファイルに出力し、 |
| 2958 | 1935 | あとで別のファイルハンドルで読み込みを行なうことも考えられます。 |
| 2959 | 1936 | |
| 2960 | 1937 | =item Can't open error file %s as stderr |
| 2961 | 1938 | |
| 2962 | 1939 | =begin original |
| 2963 | 1940 | |
| 2964 | 1941 | (F) An error peculiar to VMS. Perl does its own command line |
| 2965 | 1942 | redirection, and couldn't open the file specified after '2>' or '2>>' on |
| 2966 | 1943 | the command line for writing. |
| 2967 | 1944 | |
| 2968 | 1945 | =end original |
| 2969 | 1946 | |
| 2970 | (F) VMS | |
| 1947 | (F) VMSに固有のエラーです。 | |
| 2971 | 1948 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
| 2972 | 1949 | コマンドラインで書き込みのために '2>' や '2>>' の後に指定された |
| 2973 | 1950 | ファイルを開けませんでした。 |
| 2974 | 1951 | |
| 2975 | 1952 | =item Can't open input file %s as stdin |
| 2976 | 1953 | |
| 2977 | 1954 | =begin original |
| 2978 | 1955 | |
| 2979 | 1956 | (F) An error peculiar to VMS. Perl does its own command line |
| 2980 | 1957 | redirection, and couldn't open the file specified after '<' on the |
| 2981 | 1958 | command line for reading. |
| 2982 | 1959 | |
| 2983 | 1960 | =end original |
| 2984 | 1961 | |
| 2985 | (F) VMS | |
| 1962 | (F) VMSに固有のエラーです。 | |
| 2986 | 1963 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
| 2987 | 1964 | コマンドラインで読み込みのために '<' の後に指定された |
| 2988 | 1965 | ファイルを開けませんでした。 |
| 2989 | 1966 | |
| 2990 | 1967 | =item Can't open output file %s as stdout |
| 2991 | 1968 | |
| 2992 | 1969 | =begin original |
| 2993 | 1970 | |
| 2994 | 1971 | (F) An error peculiar to VMS. Perl does its own command line |
| 2995 | 1972 | redirection, and couldn't open the file specified after '>' or '>>' on |
| 2996 | 1973 | the command line for writing. |
| 2997 | 1974 | |
| 2998 | 1975 | =end original |
| 2999 | 1976 | |
| 3000 | (F) VMS | |
| 1977 | (F) VMSに固有のエラーです。 | |
| 3001 | 1978 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
| 3002 | 1979 | コマンドラインで書き込みのために '>' や '>>' の後に指定された |
| 3003 | 1980 | ファイルを開けませんでした。 |
| 3004 | 1981 | |
| 3005 | 1982 | =item Can't open output pipe (name: %s) |
| 3006 | 1983 | |
| 3007 | 1984 | =begin original |
| 3008 | 1985 | |
| 3009 | 1986 | (P) An error peculiar to VMS. Perl does its own command line |
| 3010 | 1987 | redirection, and couldn't open the pipe into which to send data destined |
| 3011 | 1988 | for stdout. |
| 3012 | 1989 | |
| 3013 | 1990 | =end original |
| 3014 | 1991 | |
| 3015 | (P) VMS | |
| 1992 | (P) VMSに固有のエラーです。 | |
| 3016 | 1993 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
| 3017 | 1994 | 標準出力としてデータを送るパイプを開けませんでした。 |
| 3018 | 1995 | |
| 3019 | 1996 | =item Can't open perl script "%s": %s |
| 3020 | 1997 | |
| 3021 | 1998 | =begin original |
| 3022 | 1999 | |
| 3023 | 2000 | (F) The script you specified can't be opened for the indicated reason. |
| 3024 | 2001 | |
| 3025 | 2002 | =end original |
| 3026 | 2003 | |
| 3027 | 2004 | (F) 指定したスクリプトが、表示した理由によってオープンできませんでした。 |
| 3028 | 2005 | |
| 3029 | =begin original | |
| 3030 | ||
| 3031 | If you're debugging a script that uses #!, and normally relies on the | |
| 3032 | shell's $PATH search, the -S option causes perl to do that search, so | |
| 3033 | you don't have to type the path or C<`which $scriptname`>. | |
| 3034 | ||
| 3035 | =end original | |
| 3036 | ||
| 3037 | #! を使うスクリプトをデバッグしていて、普通はシェルの $PATH 検索に | |
| 3038 | 頼っている場合は、-S オプションを付けることで perl が検索するようになり、 | |
| 3039 | パスや C<`which $scriptname`> をタイプする必要がなくなります。 | |
| 3040 | ||
| 3041 | 2006 | =item Can't read CRTL environ |
| 3042 | 2007 | |
| 3043 | 2008 | =begin original |
| 3044 | 2009 | |
| 3045 | 2010 | (S) A warning peculiar to VMS. Perl tried to read an element of %ENV |
| 3046 | 2011 | from the CRTL's internal environment array and discovered the array was |
| 3047 | 2012 | missing. You need to figure out where your CRTL misplaced its environ |
| 3048 | 2013 | or define F<PERL_ENV_TABLES> (see L<perlvms>) so that environ is not |
| 3049 | 2014 | searched. |
| 3050 | 2015 | |
| 3051 | 2016 | =end original |
| 3052 | 2017 | |
| 3053 | (S) VMS | |
| 2018 | (S) VMSに固有の警告です。 | |
| 3054 | 2019 | Perl は %ENV の要素を CRTL の内部環境配列から読み込もうとしましたが、 |
| 3055 | 2020 | 配列がないことを発見しました。 |
| 3056 | 2021 | CRTL が環境をどこに間違えて置いたかを探し出すか、F<PERL_ENV_TABLE> を |
| 3057 | 2022 | 定義して(L<perlvms> を参照してください)環境を検索しないようにする |
| 3058 | 2023 | 必要があります。 |
| 3059 | 2024 | |
| 3060 | =item Can't rede | |
| 2025 | =item Can't redefine active sort subroutine %s | |
| 3061 | 2026 | |
| 3062 | 2027 | =begin original |
| 3063 | 2028 | |
| 3064 | (F) | |
| 2029 | (F) Perl optimizes the internal handling of sort subroutines and keeps | |
| 3065 | s | |
| 2030 | pointers into them. You tried to redefine one such sort subroutine when | |
| 2031 | it was currently active, which is not allowed. If you really want to do | |
| 2032 | this, you should write C<sort { &func } @x> instead of C<sort func @x>. | |
| 3066 | 2033 | |
| 3067 | 2034 | =end original |
| 3068 | 2035 | |
| 3069 | (F) | |
| 2036 | (F) Perl はソートサブルーチンの内部操作を最適化して、 | |
| 3070 | ||
| 2037 | そこへのポインタを保持しています。 | |
| 2038 | そのようなソートサブルーチンを現在アクティブな状態の時に | |
| 2039 | 再定義しようとしましたが、それはできません。 | |
| 2040 | 本当にそのようなことがしたい場合は、 | |
| 2041 | C<sort func @x> ではなく C<sort { &func } @x> と書くべきです。 | |
| 3071 | 2042 | |
| 3072 | 2043 | =item Can't "redo" outside a loop block |
| 3073 | 2044 | |
| 3074 | 2045 | =begin original |
| 3075 | 2046 | |
| 3076 | 2047 | (F) A "redo" statement was executed to restart the current block, but |
| 3077 | 2048 | there isn't a current block. Note that an "if" or "else" block doesn't |
| 3078 | 2049 | count as a "loopish" block, as doesn't a block given to sort(), map() |
| 3079 | 2050 | or grep(). You can usually double the curlies to get the same effect |
| 3080 | 2051 | though, because the inner curlies will be considered a block that |
| 3081 | 2052 | loops once. See L<perlfunc/redo>. |
| 3082 | 2053 | |
| 3083 | 2054 | =end original |
| 3084 | 2055 | |
| 3085 | 2056 | (F) 現在のブロックの繰り返しをもう一度行なうために、 |
| 3086 | 2057 | "redo" 文を実行しましたが、ブロックの中ではありませんでした。 |
| 3087 | 2058 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
| 3088 | 2059 | 同様「ループ風」ブロックではないので、注意してください。 |
| 3089 | ただし、中 | |
| 2060 | ただし、中括弧を二重にすれば、内側の中括弧が、1 度だけループする | |
| 3090 | 2061 | ブロックとみなされますから、同じ効果が得られます。 |
| 3091 | 2062 | L<perlfunc/redo> を参照してください。 |
| 3092 | 2063 | |
| 3093 | =item Can't remove %s: %s, skipping file | |
| 2064 | =item Can't remove %s: %s, skipping file | |
| 3094 | 2065 | |
| 3095 | 2066 | =begin original |
| 3096 | 2067 | |
| 3097 | 2068 | (S inplace) You requested an inplace edit without creating a backup |
| 3098 | 2069 | file. Perl was unable to remove the original file to replace it with |
| 3099 | 2070 | the modified file. The file was left unmodified. |
| 3100 | 2071 | |
| 3101 | 2072 | =end original |
| 3102 | 2073 | |
| 3103 | 2074 | (S inplace) バックアップを作成せずにその場編集することを要求しました。 |
| 3104 | 2075 | Perl は変更したファイルで置き換えるために元のファイルを削除することが |
| 3105 | 2076 | できませんでした。 |
| 3106 | 2077 | ファイルは変更されずに残されます。 |
| 3107 | 2078 | |
| 3108 | =item Can't rename in-place work file '%s' to '%s': %s | |
| 3109 | ||
| 3110 | =begin original | |
| 3111 | ||
| 3112 | (F) When closed implicitly, the temporary file for in-place editing | |
| 3113 | couldn't be renamed to the original filename. | |
| 3114 | ||
| 3115 | =end original | |
| 3116 | ||
| 3117 | (F) その場編集のための一時ファイルが暗黙に閉じられたとき、 | |
| 3118 | 元のファイル名にリネームできませんでした。 | |
| 3119 | ||
| 3120 | 2079 | =item Can't rename %s to %s: %s, skipping file |
| 3121 | 2080 | |
| 3122 | 2081 | =begin original |
| 3123 | 2082 | |
| 3124 | ( | |
| 2083 | (S inplace) The rename done by the B<-i> switch failed for some reason, | |
| 3125 | 2084 | probably because you don't have write permission to the directory. |
| 3126 | 2085 | |
| 3127 | 2086 | =end original |
| 3128 | 2087 | |
| 3129 | ( | |
| 2088 | (S inplace) B<-i> スイッチで行なわれた rename が何らかの理由によって、 | |
| 3130 | うまく行きませんでした | |
| 2089 | うまく行きませんでした。 | |
| 2090 | ディレクトリに書き込み権がないことも考えられます。 | |
| 3131 | 2091 | |
| 3132 | 2092 | =item Can't reopen input pipe (name: %s) in binary mode |
| 3133 | 2093 | |
| 3134 | 2094 | =begin original |
| 3135 | 2095 | |
| 3136 | 2096 | (P) An error peculiar to VMS. Perl thought stdin was a pipe, and tried |
| 3137 | 2097 | to reopen it to accept binary data. Alas, it failed. |
| 3138 | 2098 | |
| 3139 | 2099 | =end original |
| 3140 | 2100 | |
| 3141 | 2101 | (P) VMS に固有のエラーです。 |
| 3142 | 2102 | Perl は標準入力がパイプであると考えて、バイナリデータを受け入れるために |
| 3143 | 2103 | 再オープンしようとしました。 |
| 3144 | 2104 | 悲しいかな、それは失敗しました。 |
| 3145 | 2105 | |
| 3146 | =item Can't re | |
| 2106 | =item Can't resolve method `%s' overloading `%s' in package `%s' | |
| 3147 | 2107 | |
| 3148 | 2108 | =begin original |
| 3149 | 2109 | |
| 3150 | (F) | |
| 2110 | (F|P) Error resolving overloading specified by a method name (as opposed | |
| 3151 | to | |
| 2111 | to a subroutine reference): no such method callable via the package. If | |
| 3152 | ||
| 2112 | method name is C<???>, this is an internal error. | |
| 3153 | to not use such a large code point. | |
| 3154 | 2113 | |
| 3155 | 2114 | =end original |
| 3156 | 2115 | |
| 3157 | (F) | |
| 2116 | (F|P) (サブルーチンのリファレンスではなく)メソッド名で指定された | |
| 3158 | ||
| 2117 | オーバーロードの解決でのエラー: そのようなメソッドはパッケージ経由で | |
| 3159 | ||
| 2118 | 呼び出せません。 | |
| 3160 | ||
| 2119 | もしメソッド名が C<???> なら、内部エラーです。 | |
| 3161 | 2120 | |
| 3162 | =item Can't res | |
| 2121 | =item Can't reswap uid and euid | |
| 3163 | 2122 | |
| 3164 | 2123 | =begin original |
| 3165 | 2124 | |
| 3166 | ( | |
| 2125 | (P) The setreuid() call failed for some reason in the setuid emulator of | |
| 3167 | ||
| 2126 | suidperl. | |
| 3168 | the main package, that includes %ENV. Resetting %ENV is not | |
| 3169 | supported on some systems, notably VMS. | |
| 3170 | 2127 | |
| 3171 | 2128 | =end original |
| 3172 | 2129 | |
| 3173 | ( | |
| 2130 | (P) suidperl の setuid エミュレータで何らかの理由により、 | |
| 3174 | ||
| 2131 | setreuid() 呼び出しが失敗しました。 | |
| 3175 | main パッケージでは、これには %ENV が含まれます。 | |
| 3176 | %ENV の reset は一部のシステム、特に VMS では対応していません。 | |
| 3177 | 2132 | |
| 3178 | =item Can't re | |
| 2133 | =item Can't return %s from lvalue subroutine | |
| 3179 | 2134 | |
| 3180 | 2135 | =begin original |
| 3181 | 2136 | |
| 3182 | (F) | |
| 2137 | (F) Perl detected an attempt to return illegal lvalues (such as | |
| 3183 | ||
| 2138 | temporary or readonly values) from a subroutine used as an lvalue. This | |
| 3184 | ||
| 2139 | is not allowed. | |
| 3185 | 2140 | |
| 3186 | 2141 | =end original |
| 3187 | 2142 | |
| 3188 | (F) | |
| 2143 | (F) Perl が、左辺値として使われるサブルーチンから(一時的や | |
| 3189 | ||
| 2144 | 読み込み専用のような)不正な左辺値が返されようとしているのを | |
| 3190 | ||
| 2145 | 検出しました。 | |
| 3191 | ||
| 2146 | これはできません。 | |
| 3192 | 2147 | |
| 3193 | =item Can't return %s | |
| 2148 | =item Can't return %s to lvalue scalar context | |
| 3194 | 2149 | |
| 3195 | 2150 | =begin original |
| 3196 | 2151 | |
| 3197 | (F) | |
| 2152 | (F) You tried to return a complete array or hash from an lvalue subroutine, | |
| 3198 | t | |
| 2153 | but you called the subroutine in a way that made Perl think you meant | |
| 3199 | ||
| 2154 | to return only one value. You probably meant to write parentheses around | |
| 2155 | the call to the subroutine, which tell Perl that the call should be in | |
| 2156 | list context. | |
| 3200 | 2157 | |
| 3201 | 2158 | =end original |
| 3202 | 2159 | |
| 3203 | (F) | |
| 2160 | (F) 左辺値サブルーチンから配列やハッシュ全体を返そうとしましたが、 | |
| 3204 | ||
| 2161 | 一つだけの値を返そうとしていると Perl が考えるような方法でサブルーチンを | |
| 3205 | ||
| 2162 | 呼び出しました。 | |
| 2163 | おそらく、Perl にこの呼び出しがリストコンテキストであると伝えるために、 | |
| 2164 | サブルーチン呼び出しの周りにかっこを書いているのでしょう。 | |
| 3206 | 2165 | |
| 3207 | 2166 | =item Can't return outside a subroutine |
| 3208 | 2167 | |
| 3209 | 2168 | =begin original |
| 3210 | 2169 | |
| 3211 | 2170 | (F) The return statement was executed in mainline code, that is, where |
| 3212 | 2171 | there was no subroutine call to return out of. See L<perlsub>. |
| 3213 | 2172 | |
| 3214 | 2173 | =end original |
| 3215 | 2174 | |
| 3216 | (F) return 文が、return で抜けるべきサブルー | |
| 2175 | (F) return 文が、return で抜けるべきサブルーティンがない、 | |
| 3217 | 2176 | "main" コードで実行されました。 |
| 3218 | 2177 | L<perlsub> を参照してください。 |
| 3219 | 2178 | |
| 3220 | =item Can't | |
| 2179 | =item Can't stat script "%s" | |
| 3221 | 2180 | |
| 3222 | 2181 | =begin original |
| 3223 | 2182 | |
| 3224 | ( | |
| 2183 | (P) For some reason you can't fstat() the script even though you have it | |
| 3225 | ||
| 2184 | open already. Bizarre. | |
| 3226 | think you meant to return only one value. You probably meant to | |
| 3227 | write parentheses around the call to the subroutine, which tell | |
| 3228 | Perl that the call should be in list context. | |
| 3229 | 2185 | |
| 3230 | 2186 | =end original |
| 3231 | 2187 | |
| 3232 | ( | |
| 2188 | (P) 何らかの理由で、例え既にオープンしていたとしても、fstat() が | |
| 3233 | ||
| 2189 | 行なえません。困ったもんだ。 | |
| 3234 | 呼び出しました。 | |
| 3235 | おそらく、Perl にこの呼び出しがリストコンテキストであると伝えるために、 | |
| 3236 | サブルーチン呼び出しの周りにかっこを書いているのでしょう。 | |
| 3237 | 2190 | |
| 3238 | =item Can't s | |
| 2191 | =item Can't swap uid and euid | |
| 3239 | 2192 | |
| 3240 | 2193 | =begin original |
| 3241 | 2194 | |
| 3242 | (P) | |
| 2195 | (P) The setreuid() call failed for some reason in the setuid emulator of | |
| 3243 | ||
| 2196 | suidperl. | |
| 3244 | 2197 | |
| 3245 | 2198 | =end original |
| 3246 | 2199 | |
| 3247 | (P) 何らかの理由 | |
| 2200 | (P) suidperl の setuid エミュレータで何らかの理由により、 | |
| 3248 | ||
| 2201 | setreuid() 呼び出しが失敗しました。 | |
| 3249 | 2202 | |
| 3250 | 2203 | =item Can't take log of %g |
| 3251 | 2204 | |
| 3252 | 2205 | =begin original |
| 3253 | 2206 | |
| 3254 | 2207 | (F) For ordinary real numbers, you can't take the logarithm of a |
| 3255 | negative number or zero. | |
| 2208 | negative number or zero. There's a Math::Complex package that comes | |
| 3256 | 2209 | standard with Perl, though, if you really want to do that for the |
| 3257 | 2210 | negative numbers. |
| 3258 | 2211 | |
| 3259 | 2212 | =end original |
| 3260 | 2213 | |
| 3261 | 2214 | (F) 実数に対しては、負数や 0 に対する対数を取ることはできません。 |
| 3262 | 2215 | しかし、もし本当に負数に対してそのようなことをしたいのなら、 |
| 3263 | 2216 | Perl 標準になっている Math::Complex パッケージがあります。 |
| 3264 | 2217 | |
| 3265 | 2218 | =item Can't take sqrt of %g |
| 3266 | 2219 | |
| 3267 | 2220 | =begin original |
| 3268 | 2221 | |
| 3269 | 2222 | (F) For ordinary real numbers, you can't take the square root of a |
| 3270 | 2223 | negative number. There's a Math::Complex package that comes standard |
| 3271 | 2224 | with Perl, though, if you really want to do that. |
| 3272 | 2225 | |
| 3273 | 2226 | =end original |
| 3274 | 2227 | |
| 3275 | 2228 | (F) 通常の実数では、負数の平方根をとることはできません。 |
| 3276 | 2229 | しかし、本当にその計算を行ないたいのであれば、Math::Complex パッケージが |
| 3277 | 2230 | Perl に標準で用意されています。 |
| 3278 | 2231 | |
| 3279 | 2232 | =item Can't undef active subroutine |
| 3280 | 2233 | |
| 3281 | 2234 | =begin original |
| 3282 | 2235 | |
| 3283 | 2236 | (F) You can't undefine a routine that's currently running. You can, |
| 3284 | 2237 | however, redefine it while it's running, and you can even undef the |
| 3285 | 2238 | redefined subroutine while the old routine is running. Go figure. |
| 3286 | 2239 | |
| 3287 | 2240 | =end original |
| 3288 | 2241 | |
| 3289 | 2242 | (F) 実行中のルーティンを未定義にすることはできません。 |
| 3290 | 2243 | しかし、実行中に再定義することはでき、古いルーティンを実行中に、 |
| 3291 | 再定義したサブルー | |
| 2244 | 再定義したサブルーティンを undef することさえできます。 | |
| 3292 | 2245 | 驚きです。 |
| 3293 | 2246 | |
| 3294 | =item Can't un | |
| 2247 | =item Can't unshift | |
| 3295 | 2248 | |
| 3296 | 2249 | =begin original |
| 3297 | 2250 | |
| 3298 | (F) You | |
| 2251 | (F) You tried to unshift an "unreal" array that can't be unshifted, such | |
| 3299 | ||
| 2252 | as the main Perl stack. | |
| 3300 | 2253 | |
| 3301 | 2254 | =end original |
| 3302 | 2255 | |
| 3303 | (F) | |
| 2256 | (F) Perl のメインスタックのように、unshift することのできない | |
| 3304 | ||
| 2257 | 「実在しない」配列に対して、unshift を行なおうとしました。 | |
| 3305 | 2258 | |
| 3306 | =item Can't upgrade | |
| 2259 | =item Can't upgrade that kind of scalar | |
| 3307 | 2260 | |
| 3308 | 2261 | =begin original |
| 3309 | 2262 | |
| 3310 | 2263 | (P) The internal sv_upgrade routine adds "members" to an SV, making it |
| 3311 | 2264 | into a more specialized kind of SV. The top several SV types are so |
| 3312 | 2265 | specialized, however, that they cannot be interconverted. This message |
| 3313 | 2266 | indicates that such a conversion was attempted. |
| 3314 | 2267 | |
| 3315 | 2268 | =end original |
| 3316 | 2269 | |
| 3317 | 2270 | (P) 内部の sv_upgrade ルーティンは、SV に「メンバ」を加えて、 |
| 3318 | 2271 | より特別な種類の SV にします。 しかし、上位のいくつかの SV 型は、 |
| 3319 | 2272 | 特殊化され過ぎて、内部変換することができません。 |
| 3320 | 2273 | このメッセージは、そのような変更を行なおうとしたことを示しています。 |
| 3321 | 2274 | |
| 3322 | =item Can't u | |
| 2275 | =item Can't upgrade to undef | |
| 3323 | 2276 | |
| 3324 | 2277 | =begin original |
| 3325 | 2278 | |
| 3326 | ( | |
| 2279 | (P) The undefined SV is the bottom of the totem pole, in the scheme of | |
| 3327 | ||
| 2280 | upgradability. Upgrading to undef indicates an error in the code | |
| 2281 | calling sv_upgrade. | |
| 3328 | 2282 | |
| 3329 | 2283 | =end original |
| 3330 | 2284 | |
| 3331 | ( | |
| 2285 | (P) 未定義 SV は、upgrade の仕組みにおいて、階層構造の最下位に | |
| 3332 | ||
| 2286 | 位置するものです。 | |
| 2287 | undef への upgrade は、sv_upgrade を呼ぶコードのエラーを示します。 | |
| 3333 | 2288 | |
| 3334 | =item Can't use a hash as a reference | |
| 3335 | ||
| 3336 | =begin original | |
| 3337 | ||
| 3338 | (F) You tried to use a hash as a reference, as in | |
| 3339 | C<< %foo->{"bar"} >> or C<< %$ref->{"hello"} >>. Versions of perl | |
| 3340 | <= 5.22.0 used to allow this syntax, but shouldn't | |
| 3341 | have. This was deprecated in perl 5.6.1. | |
| 3342 | ||
| 3343 | =end original | |
| 3344 | ||
| 3345 | (F) C<< %foo->{"bar"} >> or C<< %$ref->{"hello"} >> のように、 | |
| 3346 | ハッシュをリファレンスとして使おうとしました。 | |
| 3347 | <= 5.22.0 のバージョンの perl ではこの文法が許されていましたが、 | |
| 3348 | そうするべきではありません。 | |
| 3349 | これは perl 5.6.1 から廃止予定です。 | |
| 3350 | ||
| 3351 | =item Can't use an array as a reference | |
| 3352 | ||
| 3353 | =begin original | |
| 3354 | ||
| 3355 | (F) You tried to use an array as a reference, as in | |
| 3356 | C<< @foo->[23] >> or C<< @$ref->[99] >>. Versions of perl <= 5.22.0 | |
| 3357 | used to allow this syntax, but shouldn't have. This | |
| 3358 | was deprecated in perl 5.6.1. | |
| 3359 | ||
| 3360 | =end original | |
| 3361 | ||
| 3362 | (F) C<< @foo->[23] >> or C<< @$ref->[99] >> のように、 | |
| 3363 | 配列をリファレンスとして使おうとしました。 | |
| 3364 | <= 5.22.0 のバージョンの perl ではこの文法が許されていましたが、 | |
| 3365 | そうするべきではありません。 | |
| 3366 | これは perl 5.6.1 から廃止予定です。 | |
| 3367 | ||
| 3368 | =item Can't use anonymous symbol table for method lookup | |
| 3369 | ||
| 3370 | =begin original | |
| 3371 | ||
| 3372 | (F) The internal routine that does method lookup was handed a symbol | |
| 3373 | table that doesn't have a name. Symbol tables can become anonymous | |
| 3374 | for example by undefining stashes: C<undef %Some::Package::>. | |
| 3375 | ||
| 3376 | =end original | |
| 3377 | ||
| 3378 | (F) メソッド検索を行う内部ルーチンが、名前のないシンボルテーブルを | |
| 3379 | 扱いました。 | |
| 3380 | シンボルテーブルは、例えば C<undef %Some::Package::> のように未定義の | |
| 3381 | stash によって無名となります。 | |
| 3382 | ||
| 3383 | 2289 | =item Can't use an undefined value as %s reference |
| 3384 | 2290 | |
| 3385 | 2291 | =begin original |
| 3386 | 2292 | |
| 3387 | 2293 | (F) A value used as either a hard reference or a symbolic reference must |
| 3388 | 2294 | be a defined value. This helps to delurk some insidious errors. |
| 3389 | 2295 | |
| 3390 | 2296 | =end original |
| 3391 | 2297 | |
| 3392 | 2298 | (F) ハードリファレンスやシンボリックリファレンスとして使用する値は、 |
| 3393 | 2299 | 定義済みの値でなければなりません。 |
| 3394 | 2300 | 潜伏中のエラーを引きずり出す助けとなります。 |
| 3395 | 2301 | |
| 3396 | 2302 | =item Can't use bareword ("%s") as %s ref while "strict refs" in use |
| 3397 | 2303 | |
| 3398 | 2304 | =begin original |
| 3399 | 2305 | |
| 3400 | 2306 | (F) Only hard references are allowed by "strict refs". Symbolic |
| 3401 | 2307 | references are disallowed. See L<perlref>. |
| 3402 | 2308 | |
| 3403 | 2309 | =end original |
| 3404 | 2310 | |
| 3405 | (F) "strict refs" | |
| 2311 | (F) "strict refs" では、ハードリファレンスだけが許されます。 | |
| 3406 | シンボリックリファレンスは許 | |
| 2312 | シンボリックリファレンスは、許されていません。 | |
| 3407 | 2313 | L<perlref> を参照してください。 |
| 3408 | 2314 | |
| 3409 | 2315 | =item Can't use %! because Errno.pm is not available |
| 3410 | 2316 | |
| 3411 | 2317 | =begin original |
| 3412 | 2318 | |
| 3413 | (F) The first time the | |
| 2319 | (F) The first time the %! hash is used, perl automatically loads the | |
| 3414 | Errno.pm module. | |
| 2320 | Errno.pm module. The Errno module is expected to tie the %! hash to | |
| 3415 | 2321 | provide symbolic names for C<$!> errno values. |
| 3416 | 2322 | |
| 3417 | 2323 | =end original |
| 3418 | 2324 | |
| 3419 | (F) 最初に | |
| 2325 | (F) 最初に %! ハッシュが使われるときに、 | |
| 3420 | 2326 | perl は自動的に Errno.pm モジュールを読み込みます。 |
| 3421 | 2327 | Errno モジュールは C<$!> errno 値のシンボリック名を提供するために |
| 3422 | 2328 | %! ハッシュと tie されることになります。 |
| 3423 | 2329 | |
| 3424 | =item Can't use both '<' and '>' after type '%c' in %s | |
| 3425 | ||
| 3426 | =begin original | |
| 3427 | ||
| 3428 | (F) A type cannot be forced to have both big-endian and little-endian | |
| 3429 | byte-order at the same time, so this combination of modifiers is not | |
| 3430 | allowed. See L<perlfunc/pack>. | |
| 3431 | ||
| 3432 | =end original | |
| 3433 | ||
| 3434 | (F) 一つの型を同時にビッグエンディアンとリトルエンディアンの両方に | |
| 3435 | 強制することはできないので、この修飾子の組み合わせは許可されません。 | |
| 3436 | L<perlfunc/pack> を参照してください。 | |
| 3437 | ||
| 3438 | =item Can't use 'defined(@array)' (Maybe you should just omit the defined()?) | |
| 3439 | ||
| 3440 | =begin original | |
| 3441 | ||
| 3442 | (F) defined() is not useful on arrays because it | |
| 3443 | checks for an undefined I<scalar> value. If you want to see if the | |
| 3444 | array is empty, just use C<if (@array) { # not empty }> for example. | |
| 3445 | ||
| 3446 | =end original | |
| 3447 | ||
| 3448 | (F) defined() は未定義の I<スカラ> 値を調べるので、配列に使っても無意味です。 | |
| 3449 | 配列が空かどうかを調べたい場合は、例えば単に | |
| 3450 | C<if (@array) { # not empty }> としてください。 | |
| 3451 | ||
| 3452 | =item Can't use 'defined(%hash)' (Maybe you should just omit the defined()?) | |
| 3453 | ||
| 3454 | =begin original | |
| 3455 | ||
| 3456 | (F) C<defined()> is not usually right on hashes. | |
| 3457 | ||
| 3458 | =end original | |
| 3459 | ||
| 3460 | (F) C<defined()> は普通はハッシュの右側ではありません。 | |
| 3461 | ||
| 3462 | =begin original | |
| 3463 | ||
| 3464 | Although C<defined %hash> is false on a plain not-yet-used hash, it | |
| 3465 | becomes true in several non-obvious circumstances, including iterators, | |
| 3466 | weak references, stash names, even remaining true after C<undef %hash>. | |
| 3467 | These things make C<defined %hash> fairly useless in practice, so it now | |
| 3468 | generates a fatal error. | |
| 3469 | ||
| 3470 | =end original | |
| 3471 | ||
| 3472 | まだ使われていない普通のハッシュに対する C<defined %hash> は偽ですが、 | |
| 3473 | いくつかの明白でない状況では新になります; これには反復し、弱い参照、 | |
| 3474 | stash 名を含み、C<undef %hash> の後でも真になります。 | |
| 3475 | これらにより、実践では C<defined %hash> はほとんど使えないので、 | |
| 3476 | 致命的エラーを生成するようになりました。 | |
| 3477 | ||
| 3478 | =begin original | |
| 3479 | ||
| 3480 | If a check for non-empty is what you wanted then just put it in boolean | |
| 3481 | context (see L<perldata/Scalar values>): | |
| 3482 | ||
| 3483 | =end original | |
| 3484 | ||
| 3485 | 空でないことをチェックしたいなら、単にこれを真偽値コンテキストに | |
| 3486 | 置いてください (L<perldata/Scalar values> を参照してください): | |
| 3487 | ||
| 3488 | if (%hash) { | |
| 3489 | # not empty | |
| 3490 | } | |
| 3491 | ||
| 3492 | =begin original | |
| 3493 | ||
| 3494 | If you had C<defined %Foo::Bar::QUUX> to check whether such a package | |
| 3495 | variable exists then that's never really been reliable, and isn't | |
| 3496 | a good way to enquire about the features of a package, or whether | |
| 3497 | it's loaded, etc. | |
| 3498 | ||
| 3499 | =end original | |
| 3500 | ||
| 3501 | パッケージ変数が存在するかどうかを調べるために | |
| 3502 | C<defined %Foo::Bar::QUUX> のようなことをしていると、これは決して信頼性が | |
| 3503 | なく、パッケージの機能や読み込まれているかどうかなどを問い合わせる | |
| 3504 | 良い方法ではありません。 | |
| 3505 | ||
| 3506 | 2330 | =item Can't use %s for loop variable |
| 3507 | 2331 | |
| 3508 | 2332 | =begin original |
| 3509 | 2333 | |
| 3510 | ( | |
| 2334 | (F) Only a simple scalar variable may be used as a loop variable on a | |
| 2335 | foreach. | |
| 3511 | 2336 | |
| 3512 | 2337 | =end original |
| 3513 | 2338 | |
| 3514 | ( | |
| 2339 | (F) 単純スカラ変数だけが、foreach のループ変数として | |
| 2340 | 使用することができます。 | |
| 3515 | 2341 | |
| 3516 | =item Can't use global %s in " | |
| 2342 | =item Can't use global %s in "my" | |
| 3517 | 2343 | |
| 3518 | 2344 | =begin original |
| 3519 | 2345 | |
| 3520 | 2346 | (F) You tried to declare a magical variable as a lexical variable. This |
| 3521 | 2347 | is not allowed, because the magic can be tied to only one location |
| 3522 | 2348 | (namely the global variable) and it would be incredibly confusing to |
| 3523 | 2349 | have variables in your program that looked like magical variables but |
| 3524 | 2350 | weren't. |
| 3525 | 2351 | |
| 3526 | 2352 | =end original |
| 3527 | 2353 | |
| 3528 | 2354 | (F) マジカル変数を、字句スコープ変数として宣言しようとしました。 |
| 3529 | これが許されていないのは、マジ | |
| 2355 | これが許されていないのは、マジック変数は 1 か所だけにおくことができる | |
| 3530 | ||
| 2356 | (つまりグローバル変数) からであり、マジカル変数に見えながら、 | |
| 3531 | そうで | |
| 2357 | そうでないものがプログラム中に現われると混乱の元となるためです。 | |
| 3532 | 2358 | |
| 3533 | =item Can't use '%c' in a group with different byte-order in %s | |
| 3534 | ||
| 3535 | =begin original | |
| 3536 | ||
| 3537 | (F) You attempted to force a different byte-order on a type | |
| 3538 | that is already inside a group with a byte-order modifier. | |
| 3539 | For example you cannot force little-endianness on a type that | |
| 3540 | is inside a big-endian group. | |
| 3541 | ||
| 3542 | =end original | |
| 3543 | ||
| 3544 | (F) 既にバイト順修飾子が付けられているグループの内側で異なったバイト順を | |
| 3545 | 強制しようとしました。 | |
| 3546 | 例えば、ビッグエンディアングループの中にある型をリトルエンディアンに | |
| 3547 | 強制することはできません。 | |
| 3548 | ||
| 3549 | 2359 | =item Can't use "my %s" in sort comparison |
| 3550 | 2360 | |
| 3551 | 2361 | =begin original |
| 3552 | 2362 | |
| 3553 | 2363 | (F) The global variables $a and $b are reserved for sort comparisons. |
| 3554 | 2364 | You mentioned $a or $b in the same line as the <=> or cmp operator, |
| 3555 | 2365 | and the variable had earlier been declared as a lexical variable. |
| 3556 | 2366 | Either qualify the sort variable with the package name, or rename the |
| 3557 | 2367 | lexical variable. |
| 3558 | 2368 | |
| 3559 | 2369 | =end original |
| 3560 | 2370 | |
| 3561 | 2371 | (F) グローバル変数 $a と $b はソート比較のために予約されています。 |
| 3562 | 2372 | $a か $b を <=> か cmp 演算子と同じ行に記述しましたが、その変数は |
| 3563 | 2373 | その前にレキシカル変数として宣言されています。 |
| 3564 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を | |
| 2374 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を | |
| 2375 | 変更してください。 | |
| 3565 | 2376 | |
| 3566 | 2377 | =item Can't use %s ref as %s ref |
| 3567 | 2378 | |
| 3568 | 2379 | =begin original |
| 3569 | 2380 | |
| 3570 | 2381 | (F) You've mixed up your reference types. You have to dereference a |
| 3571 | 2382 | reference of the type needed. You can use the ref() function to |
| 3572 | 2383 | test the type of the reference, if need be. |
| 3573 | 2384 | |
| 3574 | 2385 | =end original |
| 3575 | 2386 | |
| 3576 | 2387 | (F) リファレンス型を混同しています。 |
| 3577 | 2388 | 必要な型のリファレンスを被参照しなければなりません。 |
| 3578 | 2389 | 必要ならば、リファレンスの型を調べるのに、ref() 関数を使うことができます。 |
| 3579 | 2390 | |
| 3580 | 2391 | =item Can't use string ("%s") as %s ref while "strict refs" in use |
| 3581 | 2392 | |
| 3582 | =item Can't use string ("%s"...) as %s ref while "strict refs" in use | |
| 3583 | ||
| 3584 | 2393 | =begin original |
| 3585 | 2394 | |
| 3586 | (F) | |
| 2395 | (F) Only hard references are allowed by "strict refs". Symbolic | |
| 3587 | ||
| 2396 | references are disallowed. See L<perlref>. | |
| 3588 | L<perlref/"Symbolic references">. This can be triggered by an C<@> or C<$> | |
| 3589 | in a double-quoted string immediately before interpolating a variable, | |
| 3590 | for example in C<"user @$twitter_id">, which says to treat the contents | |
| 3591 | of C<$twitter_id> as an array reference; use a C<\> to have a literal C<@> | |
| 3592 | symbol followed by the contents of C<$twitter_id>: C<"user \@$twitter_id">. | |
| 3593 | 2397 | |
| 3594 | 2398 | =end original |
| 3595 | 2399 | |
| 3596 | (F) | |
| 2400 | (F) "strict refs" によって、ハードリファレンスのみが許可されます。 | |
| 3597 | ||
| 2401 | シンボリックリファレンスは許可されません。 | |
| 3598 | L<perlref | |
| 2402 | L<perlref> を参照してください。 | |
| 3599 | これは、ダブルクォート文字列の中の変数展開の直前の C<@> または C<$> で | |
| 3600 | 引き起こされます; 例えば C<"user @$twitter_id"> です; これは C<$twitter_id> の | |
| 3601 | 内容を配列リファレンスとして扱うように指示しています; | |
| 3602 | リテラルな C<@> の後に C<$twitter_id> の内容が引き続くようにするには | |
| 3603 | C<\> を使ってください: C<"user \@$twitter_id">。 | |
| 3604 | 2403 | |
| 3605 | 2404 | =item Can't use subscript on %s |
| 3606 | 2405 | |
| 3607 | 2406 | =begin original |
| 3608 | 2407 | |
| 3609 | 2408 | (F) The compiler tried to interpret a bracketed expression as a |
| 3610 | 2409 | subscript. But to the left of the brackets was an expression that |
| 3611 | didn't look like a | |
| 2410 | didn't look like an array reference, or anything else subscriptable. | |
| 3612 | 2411 | |
| 3613 | 2412 | =end original |
| 3614 | 2413 | |
| 3615 | 2414 | (F) コンパイラが大かっこで囲われた式を添字として解釈しようとしました。 |
| 3616 | 2415 | しかし、大かっこの左側はハッシュか配列のリファレンスやその他の |
| 3617 | 2416 | 添字化できるもののようには見えない式です。 |
| 3618 | 2417 | |
| 3619 | 2418 | =item Can't use \%c to mean $%c in expression |
| 3620 | 2419 | |
| 3621 | 2420 | =begin original |
| 3622 | 2421 | |
| 3623 | 2422 | (W syntax) In an ordinary expression, backslash is a unary operator that |
| 3624 | 2423 | creates a reference to its argument. The use of backslash to indicate a |
| 3625 | 2424 | backreference to a matched substring is valid only as part of a regular |
| 3626 | 2425 | expression pattern. Trying to do this in ordinary Perl code produces a |
| 3627 | 2426 | value that prints out looking like SCALAR(0xdecaf). Use the $1 form |
| 3628 | 2427 | instead. |
| 3629 | 2428 | |
| 3630 | 2429 | =end original |
| 3631 | 2430 | |
| 3632 | 2431 | (W syntax) 通常の式では、バックスラッシュは引数へのリファレンスを作る |
| 3633 | 2432 | 単項演算子です。 |
| 3634 | 2433 | マッチした部分文字列への後方参照を示すためのバックスラッシュの使用は |
| 3635 | 2434 | 正規表現パターンの一部の場合にのみ有効です。 |
| 3636 | 2435 | 通常の Perl コードの中でこれをしようとすると、SCALAR(0xdecaf) のように |
| 3637 | 2436 | 表示される値を生成します。 |
| 3638 | 2437 | 代わりに $1 の形を使ってください。 |
| 3639 | 2438 | |
| 3640 | 2439 | =item Can't weaken a nonreference |
| 3641 | 2440 | |
| 3642 | 2441 | =begin original |
| 3643 | 2442 | |
| 3644 | 2443 | (F) You attempted to weaken something that was not a reference. Only |
| 3645 | 2444 | references can be weakened. |
| 3646 | 2445 | |
| 3647 | 2446 | =end original |
| 3648 | 2447 | |
| 3649 | 2448 | (F) リファレンスではない何かを弱めようとしました。 |
| 3650 | 2449 | リファレンスだけが弱めることができます。 |
| 3651 | 2450 | |
| 3652 | =item Can't "when" outside a topicalizer | |
| 3653 | ||
| 3654 | =begin original | |
| 3655 | ||
| 3656 | (F) You have used a when() block that is neither inside a C<foreach> | |
| 3657 | loop nor a C<given> block. (Note that this error is issued on exit | |
| 3658 | from the C<when> block, so you won't get the error if the match fails, | |
| 3659 | or if you use an explicit C<continue>.) | |
| 3660 | ||
| 3661 | =end original | |
| 3662 | ||
| 3663 | (F) C<foreach> ブロックや C<given> ブロックの内側以外で when() ブロックを | |
| 3664 | 使いました。 | |
| 3665 | (このエラーは C<when> ブロックから終了したときに発生するので、マッチングに | |
| 3666 | 失敗したときや、明示的な C<continue> を使った場合はこのエラーは | |
| 3667 | 発生しません。) | |
| 3668 | ||
| 3669 | 2451 | =item Can't x= to read-only value |
| 3670 | 2452 | |
| 3671 | 2453 | =begin original |
| 3672 | 2454 | |
| 3673 | 2455 | (F) You tried to repeat a constant value (often the undefined value) |
| 3674 | 2456 | with an assignment operator, which implies modifying the value itself. |
| 3675 | 2457 | Perhaps you need to copy the value to a temporary, and repeat that. |
| 3676 | 2458 | |
| 3677 | 2459 | =end original |
| 3678 | 2460 | |
| 3679 | 2461 | (F) 定数値 (未定義値であることが多い) を、自らを書き換えることを意味する、 |
| 3680 | 2462 | 代入演算子で繰り返しを行なおうとしました。 |
| 3681 | 2463 | テンポラリ変数に値を移してから、繰り返すと良いでしょう。 |
| 3682 | 2464 | |
| 3683 | =item | |
| 2465 | =item chmod() mode argument is missing initial 0 | |
| 3684 | 2466 | |
| 3685 | 2467 | =begin original |
| 3686 | 2468 | |
| 3687 | ( | |
| 2469 | (W chmod) A novice will sometimes say | |
| 3688 | 2470 | |
| 3689 | 2471 | =end original |
| 3690 | 2472 | |
| 3691 | ( | |
| 2473 | (W chmod) 初心者は以下のように書くことがあります: | |
| 3692 | 2474 | |
| 3693 | ||
| 2475 | chmod 777, $filename | |
| 3694 | 2476 | |
| 3695 | Note that ASCII characters that don't map to control characters are | |
| 3696 | discouraged, and will generate the warning (when enabled) | |
| 3697 | L</""\c%c" is more clearly written simply as "%s"">. | |
| 3698 | ||
| 3699 | =end original | |
| 3700 | ||
| 3701 | 制御文字にマッピングされない ASCII 文字は非推奨であることに注意してください; | |
| 3702 | そして (有効になっていれば) | |
| 3703 | L</""\c%c" is more clearly written simply as "%s""> 警告が出力されます。 | |
| 3704 | ||
| 3705 | =item Character following \%c must be '{' or a single-character Unicode property name in regex; marked by <-- HERE in m/%s/ | |
| 3706 | ||
| 3707 | 2477 | =begin original |
| 3708 | 2478 | |
| 3709 | ||
| 2479 | not realizing that 777 will be interpreted as a decimal number, | |
| 3710 | ||
| 2480 | equivalent to 01411. Octal constants are introduced with a leading 0 in | |
| 3711 | ||
| 2481 | Perl, as in C. | |
| 3712 | single character one, the braces may be omitted. | |
| 3713 | 2482 | |
| 3714 | 2483 | =end original |
| 3715 | 2484 | |
| 3716 | ||
| 2485 | というふうに、777 が 01411 に等しい 10 進数であることに気付かないで | |
| 3717 | ||
| 2486 | 使うことがあります。 | |
| 3718 | ||
| 2487 | Perl では、8 進数の定数は、C と同じように、先頭に 0 を付けて表わします。 | |
| 3719 | しかし、名前が一文字の場合、中かっこは省略できます。 | |
| 3720 | 2488 | |
| 3721 | =item Character in 'C' format wrapped in pack | |
| 3722 | ||
| 3723 | =begin original | |
| 3724 | ||
| 3725 | (W pack) You said | |
| 3726 | ||
| 3727 | =end original | |
| 3728 | ||
| 3729 | (W pack) 以下のように書きましたが: | |
| 3730 | ||
| 3731 | pack("C", $x) | |
| 3732 | ||
| 3733 | =begin original | |
| 3734 | ||
| 3735 | where $x is either less than 0 or more than 255; the C<"C"> format is | |
| 3736 | only for encoding native operating system characters (ASCII, EBCDIC, | |
| 3737 | and so on) and not for Unicode characters, so Perl behaved as if you meant | |
| 3738 | ||
| 3739 | =end original | |
| 3740 | ||
| 3741 | $x は 0 より小さいか 255 より大きいです; C<"C"> フォーマットは | |
| 3742 | ネイティブ OS 文字 (ASCII, EBCDIC など) のエンコーディングだけに | |
| 3743 | 対応していて、Unicode 文字は対応していません; | |
| 3744 | それで、Perl は以下のように意味しているかのように振舞います: | |
| 3745 | ||
| 3746 | pack("C", $x & 255) | |
| 3747 | ||
| 3748 | =begin original | |
| 3749 | ||
| 3750 | If you actually want to pack Unicode codepoints, use the C<"U"> format | |
| 3751 | instead. | |
| 3752 | ||
| 3753 | =end original | |
| 3754 | ||
| 3755 | Unicode コードポイントを pack したい場合は、代わりに C<"U"> フォーマットを | |
| 3756 | 使ってください。 | |
| 3757 | ||
| 3758 | =item Character in 'c' format wrapped in pack | |
| 3759 | ||
| 3760 | =begin original | |
| 3761 | ||
| 3762 | (W pack) You said | |
| 3763 | ||
| 3764 | =end original | |
| 3765 | ||
| 3766 | (W pack) 以下のように書きましたが: | |
| 3767 | ||
| 3768 | pack("c", $x) | |
| 3769 | ||
| 3770 | =begin original | |
| 3771 | ||
| 3772 | where $x is either less than -128 or more than 127; the C<"c"> format | |
| 3773 | is only for encoding native operating system characters (ASCII, EBCDIC, | |
| 3774 | and so on) and not for Unicode characters, so Perl behaved as if you meant | |
| 3775 | ||
| 3776 | =end original | |
| 3777 | ||
| 3778 | $x は -128 より小さいか 127 より大きいです; C<"c"> フォーマットは | |
| 3779 | ネイティブ OS 文字 (ASCII, EBCDIC など) のエンコーディングだけに | |
| 3780 | 対応していて、Unicode 文字は対応していません; | |
| 3781 | それで、Perl は以下のように意味しているかのように振舞います: | |
| 3782 | ||
| 3783 | pack("c", $x & 255); | |
| 3784 | ||
| 3785 | =begin original | |
| 3786 | ||
| 3787 | If you actually want to pack Unicode codepoints, use the C<"U"> format | |
| 3788 | instead. | |
| 3789 | ||
| 3790 | =end original | |
| 3791 | ||
| 3792 | Unicode コードポイントを pack したい場合は、代わりに C<"U"> フォーマットを | |
| 3793 | 使ってください。 | |
| 3794 | ||
| 3795 | =item Character in '%c' format wrapped in unpack | |
| 3796 | ||
| 3797 | =begin original | |
| 3798 | ||
| 3799 | (W unpack) You tried something like | |
| 3800 | ||
| 3801 | =end original | |
| 3802 | ||
| 3803 | (W unpack) 以下のようなことをしましたが: | |
| 3804 | ||
| 3805 | unpack("H", "\x{2a1}") | |
| 3806 | ||
| 3807 | =begin original | |
| 3808 | ||
| 3809 | where the format expects to process a byte (a character with a value | |
| 3810 | below 256), but a higher value was provided instead. Perl uses the | |
| 3811 | value modulus 256 instead, as if you had provided: | |
| 3812 | ||
| 3813 | =end original | |
| 3814 | ||
| 3815 | ここでフォーマットはバイト(値が 256 より小さい文字)を想定していますが、 | |
| 3816 | 文字の中により大きな値のものがあります。 | |
| 3817 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の | |
| 3818 | 値として使います: | |
| 3819 | ||
| 3820 | unpack("H", "\x{a1}") | |
| 3821 | ||
| 3822 | =item Character in 'W' format wrapped in pack | |
| 3823 | ||
| 3824 | =begin original | |
| 3825 | ||
| 3826 | (W pack) You said | |
| 3827 | ||
| 3828 | =end original | |
| 3829 | ||
| 3830 | (W pack) 以下のように書きましたが: | |
| 3831 | ||
| 3832 | pack("U0W", $x) | |
| 3833 | ||
| 3834 | =begin original | |
| 3835 | ||
| 3836 | where $x is either less than 0 or more than 255. However, C<U0>-mode | |
| 3837 | expects all values to fall in the interval [0, 255], so Perl behaved | |
| 3838 | as if you meant: | |
| 3839 | ||
| 3840 | =end original | |
| 3841 | ||
| 3842 | $x が 0 より小さいか 255 より大きいです。 | |
| 3843 | しかし、C<U0>-モードは全ての値が [0, 255] の範囲にあることを想定してるので、 | |
| 3844 | Perl は以下のように振る舞います: | |
| 3845 | ||
| 3846 | pack("U0W", $x & 255) | |
| 3847 | ||
| 3848 | =item Character(s) in '%c' format wrapped in pack | |
| 3849 | ||
| 3850 | =begin original | |
| 3851 | ||
| 3852 | (W pack) You tried something like | |
| 3853 | ||
| 3854 | =end original | |
| 3855 | ||
| 3856 | (W pack) 以下のようなことをしましたが: | |
| 3857 | ||
| 3858 | pack("u", "\x{1f3}b") | |
| 3859 | ||
| 3860 | =begin original | |
| 3861 | ||
| 3862 | where the format expects to process a sequence of bytes (character with a | |
| 3863 | value below 256), but some of the characters had a higher value. Perl | |
| 3864 | uses the character values modulus 256 instead, as if you had provided: | |
| 3865 | ||
| 3866 | =end original | |
| 3867 | ||
| 3868 | ここでフォーマットはバイト(値が 256 より小さい文字)列を想定していますが、 | |
| 3869 | 文字の中により大きな値のものがあります。 | |
| 3870 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の | |
| 3871 | 値として使います: | |
| 3872 | ||
| 3873 | pack("u", "\x{f3}b") | |
| 3874 | ||
| 3875 | =item Character(s) in '%c' format wrapped in unpack | |
| 3876 | ||
| 3877 | =begin original | |
| 3878 | ||
| 3879 | (W unpack) You tried something like | |
| 3880 | ||
| 3881 | =end original | |
| 3882 | ||
| 3883 | (W unpack) 以下のようなことをしましたが: | |
| 3884 | ||
| 3885 | unpack("s", "\x{1f3}b") | |
| 3886 | ||
| 3887 | =begin original | |
| 3888 | ||
| 3889 | where the format expects to process a sequence of bytes (character with a | |
| 3890 | value below 256), but some of the characters had a higher value. Perl | |
| 3891 | uses the character values modulus 256 instead, as if you had provided: | |
| 3892 | ||
| 3893 | =end original | |
| 3894 | ||
| 3895 | ここでフォーマットはバイト(値が 256 より小さい文字)列を想定していますが、 | |
| 3896 | 文字の中により大きな値のものがあります。 | |
| 3897 | Perl は、あなたが以下のようにしたかのように、256 で割った余りを文字の | |
| 3898 | 値として使います: | |
| 3899 | ||
| 3900 | unpack("s", "\x{f3}b") | |
| 3901 | ||
| 3902 | =item charnames alias definitions may not contain a sequence of multiple | |
| 3903 | spaces; marked by S<<-- HERE> in %s | |
| 3904 | ||
| 3905 | =begin original | |
| 3906 | ||
| 3907 | (F) You defined a character name which had multiple space characters | |
| 3908 | in a row. Change them to single spaces. Usually these names are | |
| 3909 | defined in the C<:alias> import argument to C<use charnames>, but they | |
| 3910 | could be defined by a translator installed into C<$^H{charnames}>. See | |
| 3911 | L<charnames/CUSTOM ALIASES>. | |
| 3912 | ||
| 3913 | =end original | |
| 3914 | ||
| 3915 | (F) 連続して複数のスペース文字を持つ文字名を定義しました。 | |
| 3916 | 単一のスペースに変更してください。 | |
| 3917 | 普通はこれらの名前は C<use charnames> の C<:alias> インポート引数で | |
| 3918 | 定義されますが、C<$^H{charnames}> にインストールされた変換器で | |
| 3919 | 定義されているかも知れません。 | |
| 3920 | L<charnames/CUSTOM ALIASES> を参照してください。 | |
| 3921 | ||
| 3922 | =item charnames alias definitions may not contain trailing white-space; | |
| 3923 | marked by S<<-- HERE> in %s | |
| 3924 | ||
| 3925 | =begin original | |
| 3926 | ||
| 3927 | (F) You defined a character name which ended in a space | |
| 3928 | character. Remove the trailing space(s). Usually these names are | |
| 3929 | defined in the C<:alias> import argument to C<use charnames>, but they | |
| 3930 | could be defined by a translator installed into C<$^H{charnames}>. | |
| 3931 | See L<charnames/CUSTOM ALIASES>. | |
| 3932 | ||
| 3933 | =end original | |
| 3934 | ||
| 3935 | (D) スペース文字で終わる文字名を定義しました。 | |
| 3936 | 末尾のスペースを取り除いてください。 | |
| 3937 | 普通はこれらの名前は C<use charnames> の C<:alias> インポート引数で | |
| 3938 | 定義されますが、C<$^H{charnames}> にインストールされた変換器で | |
| 3939 | 定義されているかも知れません。 | |
| 3940 | L<charnames/CUSTOM ALIASES> を参照してください。 | |
| 3941 | ||
| 3942 | =item chdir() on unopened filehandle %s | |
| 3943 | ||
| 3944 | =begin original | |
| 3945 | ||
| 3946 | (W unopened) You tried chdir() on a filehandle that was never opened. | |
| 3947 | ||
| 3948 | =end original | |
| 3949 | ||
| 3950 | (W unopened) 開いていないファイルハンドルに対して chdir() しようとしました。 | |
| 3951 | ||
| 3952 | =item "\c%c" is more clearly written simply as "%s" | |
| 3953 | ||
| 3954 | =begin original | |
| 3955 | ||
| 3956 | (W syntax) The C<\cI<X>> construct is intended to be a way to specify | |
| 3957 | non-printable characters. You used it for a printable one, which | |
| 3958 | is better written as simply itself, perhaps preceded by a backslash | |
| 3959 | for non-word characters. Doing it the way you did is not portable | |
| 3960 | between ASCII and EBCDIC platforms. | |
| 3961 | ||
| 3962 | =end original | |
| 3963 | ||
| 3964 | (W syntax) C<\cI<X>> 構文は非表示文字を指定する方法を意図しています。 | |
| 3965 | これを表示文字に使いました; おそらく(おそらく非単語文字のために | |
| 3966 | 逆スラッシュを前に付けて)単にその文字自身を書くほうがよいです。 | |
| 3967 | この方法ですると ASCII と EBCDIC のプラットフォーム間で移植性がありません。 | |
| 3968 | ||
| 3969 | =item Cloning substitution context is unimplemented | |
| 3970 | ||
| 3971 | =begin original | |
| 3972 | ||
| 3973 | (F) Creating a new thread inside the C<s///> operator is not supported. | |
| 3974 | ||
| 3975 | =end original | |
| 3976 | ||
| 3977 | (F) C<s///> 演算子の中での新しいスレッドの作成は非対応です。 | |
| 3978 | ||
| 3979 | =item closedir() attempted on invalid dirhandle %s | |
| 3980 | ||
| 3981 | =begin original | |
| 3982 | ||
| 3983 | (W io) The dirhandle you tried to close is either closed or not really | |
| 3984 | a dirhandle. Check your control flow. | |
| 3985 | ||
| 3986 | =end original | |
| 3987 | ||
| 3988 | (W io) 閉じようとしたディレクトリハンドルは既に閉じられているか、実際には | |
| 3989 | ディレクトリハンドルではありません。 | |
| 3990 | 制御フローをチェックしてください。 | |
| 3991 | ||
| 3992 | 2489 | =item close() on unopened filehandle %s |
| 3993 | 2490 | |
| 3994 | 2491 | =begin original |
| 3995 | 2492 | |
| 3996 | 2493 | (W unopened) You tried to close a filehandle that was never opened. |
| 3997 | 2494 | |
| 3998 | 2495 | =end original |
| 3999 | 2496 | |
| 4000 | 2497 | (W unopened) オープンされていないファイルハンドルをクローズしようとしました。 |
| 4001 | 2498 | |
| 4002 | =item Closure prototype called | |
| 4003 | ||
| 4004 | =begin original | |
| 4005 | ||
| 4006 | (F) If a closure has attributes, the subroutine passed to an attribute | |
| 4007 | handler is the prototype that is cloned when a new closure is created. | |
| 4008 | This subroutine cannot be called. | |
| 4009 | ||
| 4010 | =end original | |
| 4011 | ||
| 4012 | (F) クロージャに属性があると、属性ハンドラに渡されるサブルーチンは、新しい | |
| 4013 | クロージャが作成されたときにクローン化されたプロトタイプです。 | |
| 4014 | このサブルーチンは呼び出すことができません。 | |
| 4015 | ||
| 4016 | =item \C no longer supported in regex; marked by S<<-- HERE> in m/%s/ | |
| 4017 | ||
| 4018 | =begin original | |
| 4019 | ||
| 4020 | (F) The \C character class used to allow a match of single byte | |
| 4021 | within a multi-byte utf-8 character, but was removed in v5.24 as | |
| 4022 | it broke encapsulation and its implementation was extremely buggy. | |
| 4023 | If you really need to process the individual bytes, you probably | |
| 4024 | want to convert your string to one where each underlying byte is | |
| 4025 | stored as a character, with utf8::encode(). | |
| 4026 | ||
| 4027 | =end original | |
| 4028 | ||
| 4029 | (F) \C 文字クラスは、複数バイトの UTF8 文字の単一のバイトに | |
| 4030 | マッチングできるようにしていましたが、 | |
| 4031 | カプセル化を壊し、その実装が極めてバグっぽいので、v5.24 で削除されました。 | |
| 4032 | 本当に個々のバイトを処理する必要があるなら、 | |
| 4033 | おそらくその文字列を、utf8::encode() を使って、 | |
| 4034 | 元となっているバイトそれぞれを文字として保持する文字列に変換した方が | |
| 4035 | 良いでしょう。 | |
| 4036 | ||
| 4037 | =item Code missing after '/' | |
| 4038 | ||
| 4039 | =begin original | |
| 4040 | ||
| 4041 | (F) You had a (sub-)template that ends with a '/'. There must be | |
| 4042 | another template code following the slash. See L<perlfunc/pack>. | |
| 4043 | ||
| 4044 | =end original | |
| 4045 | ||
| 4046 | (F) テンプレートが '/' で終わっています。 | |
| 4047 | スラッシュの後には他のテンプレートコードが必須です。 | |
| 4048 | L<perlfunc/pack> を参照してください。 | |
| 4049 | ||
| 4050 | =item Code point 0x%X is not Unicode, and not portable | |
| 4051 | ||
| 4052 | =begin original | |
| 4053 | ||
| 4054 | (S non_unicode) You had a code point that has never been in any | |
| 4055 | standard, so it is likely that languages other than Perl will NOT | |
| 4056 | understand it. At one time, it was legal in some standards to have code | |
| 4057 | points up to 0x7FFF_FFFF, but not higher, and this code point is higher. | |
| 4058 | ||
| 4059 | =end original | |
| 4060 | ||
| 4061 | (S non_unicode) どのような標準でもない符号位置を使いました; 従って | |
| 4062 | これはおそらく Perl 以外の言語では理解できないでしょう。 | |
| 4063 | 一時期、一部の標準では 0x7FFF_FFFF までの符号位置は正当でしたが、 | |
| 4064 | それ以上はそうではありません; そしてこの符号位置はそれ以上です。 | |
| 4065 | ||
| 4066 | =begin original | |
| 4067 | ||
| 4068 | Acceptance of these code points is a Perl extension, and you should | |
| 4069 | expect that nothing other than Perl can handle them; Perl itself on | |
| 4070 | EBCDIC platforms before v5.24 does not handle them. | |
| 4071 | ||
| 4072 | =end original | |
| 4073 | ||
| 4074 | このような符号位置を受け付けるのは Perl の拡張で、Perl 以外が | |
| 4075 | これらを扱えるかについて何も想定するべきではありません; | |
| 4076 | v5.24 以前の EBCDIC プラットフォームでは Perl 自身もこれらを扱えません。 | |
| 4077 | ||
| 4078 | =begin original | |
| 4079 | ||
| 4080 | Code points above 0xFFFF_FFFF require larger than a 32 bit word. | |
| 4081 | ||
| 4082 | =end original | |
| 4083 | ||
| 4084 | 0xFFFF_FFFF より上の符号位置は 32 ビットワードより大きいものを要求します。 | |
| 4085 | ||
| 4086 | =begin original | |
| 4087 | ||
| 4088 | Perl also makes no guarantees that the representation of these code | |
| 4089 | points won't change at some point in the future, say when machines | |
| 4090 | become available that have larger than a 64-bit word. At that time, | |
| 4091 | files written by an older Perl would require conversion before being | |
| 4092 | readable by a newer Perl. | |
| 4093 | ||
| 4094 | =end original | |
| 4095 | ||
| 4096 | Perl はまた、将来のある時点、例えばマシンが 64 ビットワード以上を | |
| 4097 | 利用可能になったときに、これらの符号位置の表現が変更されないことについて | |
| 4098 | 保証しません。 | |
| 4099 | この時点で、より古い Perl で書かれたファイルは、より新しい Perl で | |
| 4100 | 読み込めるようにする前に変換が必要です。 | |
| 4101 | ||
| 4102 | =item Code point 0x%X is not Unicode, may not be portable | |
| 4103 | ||
| 4104 | =begin original | |
| 4105 | ||
| 4106 | (S non_unicode) You had a code point above the Unicode maximum | |
| 4107 | of U+10FFFF. | |
| 4108 | ||
| 4109 | =end original | |
| 4110 | ||
| 4111 | (S non_unicode) Unicode の最大である U+10FFFF を超えた符号位置です。 | |
| 4112 | ||
| 4113 | =begin original | |
| 4114 | ||
| 4115 | Perl allows strings to contain a superset of Unicode code points, but | |
| 4116 | these may not be accepted by other languages/systems. Further, even if | |
| 4117 | these languages/systems accept these large code points, they may have | |
| 4118 | chosen a different representation for them than the UTF-8-like one that | |
| 4119 | Perl has, which would mean files are not exchangeable between them and | |
| 4120 | Perl. | |
| 4121 | ||
| 4122 | =end original | |
| 4123 | ||
| 4124 | Perl は Unicode 符号位置の上位集合を含む文字列を受け入れますが、 | |
| 4125 | これらは他の言語/システムは受け入れないかもしれません。 | |
| 4126 | さらに、たとえこれらの言語/システムがこれらの大きな符号位置を | |
| 4127 | 受け入れたとしても、それらは Perl の UTF-8 風のものと | |
| 4128 | ことなる表現を選ぶかもしれず、その場合それらと Perl の間でファイルが | |
| 4129 | 交換できないことを意味します。 | |
| 4130 | ||
| 4131 | =begin original | |
| 4132 | ||
| 4133 | On EBCDIC platforms, code points above 0x3FFF_FFFF have a different | |
| 4134 | representation in Perl v5.24 than before, so any file containing these | |
| 4135 | that was written before that version will require conversion before | |
| 4136 | being readable by a later Perl. | |
| 4137 | ||
| 4138 | =end original | |
| 4139 | ||
| 4140 | EBCDIC プラットフォームでは、Perl 5.24 では 0x3FFF_FFFF より上の符号位置は | |
| 4141 | 以前と異なった表現となっているので、このバージョンより前に書かれた | |
| 4142 | これらを含むファイルは、それ以降の Perl で読み込み可能にする前に | |
| 4143 | 変換が必要です。 | |
| 4144 | ||
| 4145 | 2499 | =item %s: Command not found |
| 4146 | 2500 | |
| 4147 | 2501 | =begin original |
| 4148 | 2502 | |
| 4149 | (A) You've accidentally run your script through B<csh> | |
| 2503 | (A) You've accidentally run your script through B<csh> instead of Perl. | |
| 4150 | ||
| 2504 | Check the #! line, or manually feed your script into Perl yourself. | |
| 4151 | Perl yourself. The #! line at the top of your file could look like | |
| 4152 | 2505 | |
| 4153 | 2506 | =end original |
| 4154 | 2507 | |
| 4155 | (A) スクリプトを perl ではなく B<csh> また | |
| 2508 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 | |
| 4156 | 実行しようとしました。 | |
| 4157 | 2509 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
| 4158 | ファイルの先頭の #! 行は以下のようにします | |
| 4159 | 2510 | |
| 4160 | #!/usr/bin/perl | |
| 4161 | ||
| 4162 | =item %s: command not found | |
| 4163 | ||
| 4164 | =begin original | |
| 4165 | ||
| 4166 | (A) You've accidentally run your script through B<bash> or another shell | |
| 4167 | instead of Perl. Check the #! line, or manually feed your script into | |
| 4168 | Perl yourself. The #! line at the top of your file could look like | |
| 4169 | ||
| 4170 | =end original | |
| 4171 | ||
| 4172 | (A) 誤ってスクリプトを Perl ではなく B<bash> やその他のシェルに渡しました。 | |
| 4173 | #! 行を確認するか、スクリプトを手動で Perl 自身に渡してください。 | |
| 4174 | ファイルの先頭の #! 行は次のような形です: | |
| 4175 | ||
| 4176 | #!/usr/bin/perl | |
| 4177 | ||
| 4178 | =item %s: command not found: %s | |
| 4179 | ||
| 4180 | =begin original | |
| 4181 | ||
| 4182 | (A) You've accidentally run your script through B<zsh> or another shell | |
| 4183 | instead of Perl. Check the #! line, or manually feed your script into | |
| 4184 | Perl yourself. The #! line at the top of your file could look like | |
| 4185 | ||
| 4186 | =end original | |
| 4187 | ||
| 4188 | (A) 誤ってスクリプトを Perl ではなく B<zsh> やその他のシェルに渡しました。 | |
| 4189 | #! 行を確認するか、スクリプトを手動で Perl 自身に渡してください。 | |
| 4190 | ファイルの先頭の #! 行は次のような形です: | |
| 4191 | ||
| 4192 | #!/usr/bin/perl | |
| 4193 | ||
| 4194 | 2511 | =item Compilation failed in require |
| 4195 | 2512 | |
| 4196 | 2513 | =begin original |
| 4197 | 2514 | |
| 4198 | 2515 | (F) Perl could not compile a file specified in a C<require> statement. |
| 4199 | 2516 | Perl uses this generic message when none of the errors that it |
| 4200 | 2517 | encountered were severe enough to halt compilation immediately. |
| 4201 | 2518 | |
| 4202 | 2519 | =end original |
| 4203 | 2520 | |
| 4204 | 2521 | (F) Perl は C<require> 文で指定されたファイルをコンパイルできませんでした。 |
| 4205 | 2522 | Perl は、コンパイルを直ちに停止させるほど厳しいエラーに遭遇しなかった |
| 4206 | 2523 | ときに、この一般的なメッセージを使います。 |
| 4207 | 2524 | |
| 4208 | 2525 | =item Complex regular subexpression recursion limit (%d) exceeded |
| 4209 | 2526 | |
| 4210 | 2527 | =begin original |
| 4211 | 2528 | |
| 4212 | 2529 | (W regexp) The regular expression engine uses recursion in complex |
| 4213 | 2530 | situations where back-tracking is required. Recursion depth is limited |
| 4214 | 2531 | to 32766, or perhaps less in architectures where the stack cannot grow |
| 4215 | 2532 | arbitrarily. ("Simple" and "medium" situations are handled without |
| 4216 | 2533 | recursion and are not subject to a limit.) Try shortening the string |
| 4217 | 2534 | under examination; looping in Perl code (e.g. with C<while>) rather than |
| 4218 | 2535 | in the regular expression engine; or rewriting the regular expression so |
| 4219 | 2536 | that it is simpler or backtracks less. (See L<perlfaq2> for information |
| 4220 | 2537 | on I<Mastering Regular Expressions>.) |
| 4221 | 2538 | |
| 4222 | 2539 | =end original |
| 4223 | 2540 | |
| 4224 | 2541 | (W regexp) 正規表現エンジンはバックトラックが要求される複雑な状況では |
| 4225 | 2542 | 再帰を使用します。 |
| 4226 | 2543 | 再帰の深さは 32766、またはスタックを任意に増やせないアーキテクチャでは |
| 4227 | 2544 | おそらくもっと小さい値に制限されています。 |
| 4228 | 2545 | (「単純な」または「中くらいの」状況では再帰なしで扱われるので、制限は |
| 4229 | 2546 | ありません。) |
| 4230 | 2547 | 調べる文字列を短くしてみてください; 正規表現エンジンではなく |
| 4231 | 2548 | (C<while> などの) Perl コードを使ってループするか、 |
| 4232 | 2549 | あるいは正規表現をより単純にしたり、バックトラックが少なくなるように |
| 4233 | 2550 | 書き換えてください。 |
| 4234 | 2551 | (I<Mastering Regular Expressions> の情報については L<perlfaq2> を |
| 4235 | 2552 | 参照してください。) |
| 4236 | 2553 | |
| 4237 | 2554 | =item connect() on closed socket %s |
| 4238 | 2555 | |
| 4239 | 2556 | =begin original |
| 4240 | 2557 | |
| 4241 | 2558 | (W closed) You tried to do a connect on a closed socket. Did you forget |
| 4242 | 2559 | to check the return value of your socket() call? See |
| 4243 | 2560 | L<perlfunc/connect>. |
| 4244 | 2561 | |
| 4245 | 2562 | =end original |
| 4246 | 2563 | |
| 4247 | 2564 | (W closed) クローズされたソケットに connent を行なおうとしました。 |
| 4248 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 | |
| 2565 | socket() の呼び出し時に、返却値のチェックを忘れたたのではありませんか。 | |
| 4249 | 2566 | L<perlfunc/connect> を参照してください。 |
| 4250 | 2567 | |
| 4251 | =item Constant(%s): | |
| 2568 | =item Constant(%s)%s: %s | |
| 4252 | 2569 | |
| 4253 | 2570 | =begin original |
| 4254 | 2571 | |
| 4255 | (F) The s | |
| 2572 | (F) The parser found inconsistencies either while attempting to define | |
| 4256 | ||
| 2573 | an overloaded constant, or when trying to find the character name | |
| 4257 | ||
| 2574 | specified in the C<\N{...}> escape. Perhaps you forgot to load the | |
| 2575 | corresponding C<overload> or C<charnames> pragma? See L<charnames> and | |
| 2576 | L<overload>. | |
| 4258 | 2577 | |
| 4259 | 2578 | =end original |
| 4260 | 2579 | |
| 4261 | (F) | |
| 2580 | (F) パーサは、オーバーロードされた定数を定義しようとしたときか、 | |
| 4262 | ||
| 2581 | C<\N{...}> エスケープで指定された文字名を探そうとしたときに | |
| 4263 | ||
| 2582 | 非一貫性を発見しました。 | |
| 2583 | おそらく対応する C<overload> か C<charnames> のプラグマの読み込みを | |
| 2584 | 忘れたのでは? | |
| 2585 | L<charnames> と L<overload> を参照してください。 | |
| 4264 | 2586 | |
| 4265 | =item Constant(%s): $^H{%s} is not defined | |
| 4266 | ||
| 4267 | =begin original | |
| 4268 | ||
| 4269 | (F) The parser found inconsistencies while attempting to define an | |
| 4270 | overloaded constant. Perhaps you forgot to load the corresponding | |
| 4271 | L<overload> pragma? | |
| 4272 | ||
| 4273 | =end original | |
| 4274 | ||
| 4275 | (F) パーサは、オーバーロード定数を定義しようとしたときに矛盾を発見しました。 | |
| 4276 | おそらく対応する L<overload> プラグマを読み込むのを忘れたのでは? | |
| 4277 | ||
| 4278 | 2587 | =item Constant is not %s reference |
| 4279 | 2588 | |
| 4280 | 2589 | =begin original |
| 4281 | 2590 | |
| 4282 | 2591 | (F) A constant value (perhaps declared using the C<use constant> pragma) |
| 4283 | 2592 | is being dereferenced, but it amounts to the wrong type of reference. |
| 4284 | The message indicates the type of reference that was expected. | |
| 2593 | The message indicates the type of reference that was expected. This | |
| 4285 | 2594 | usually indicates a syntax error in dereferencing the constant value. |
| 4286 | 2595 | See L<perlsub/"Constant Functions"> and L<constant>. |
| 4287 | 2596 | |
| 4288 | 2597 | =end original |
| 4289 | 2598 | |
| 4290 | 2599 | (F) (おそらく C<use constant> プラグマを使って宣言した) 定数値が |
| 4291 | 2600 | デリファレンスされましたが、間違った型のリファレンスになりました。 |
| 4292 | 2601 | このメッセージは想定されたリファレンスの型を示しています。 |
| 4293 | 2602 | これは普通定数値をデリファレンスするときの文法エラーを示しています。 |
| 4294 | 2603 | L<perlsub/"Constant Functions"> と L<constant> を参照してください。 |
| 4295 | 2604 | |
| 4296 | =item Constants from lexical variables potentially modified elsewhere are | |
| 4297 | deprecated. This will not be allowed in Perl 5.32 | |
| 4298 | ||
| 4299 | =begin original | |
| 4300 | ||
| 4301 | (D deprecated) You wrote something like | |
| 4302 | ||
| 4303 | =end original | |
| 4304 | ||
| 4305 | (D deprecated) 次のようなものを書きましたが | |
| 4306 | ||
| 4307 | my $var; | |
| 4308 | $sub = sub () { $var }; | |
| 4309 | ||
| 4310 | =begin original | |
| 4311 | ||
| 4312 | but $var is referenced elsewhere and could be modified after the C<sub> | |
| 4313 | expression is evaluated. Either it is explicitly modified elsewhere | |
| 4314 | (C<$var = 3>) or it is passed to a subroutine or to an operator like | |
| 4315 | C<printf> or C<map>, which may or may not modify the variable. | |
| 4316 | ||
| 4317 | =end original | |
| 4318 | ||
| 4319 | $var はどこか別の場所へのリファレンスで、 | |
| 4320 | C<sub> 式が評価された後に変更されるかもしれません。 | |
| 4321 | どこかで明示的に変更されたり、(C<$var = 3>) 、 | |
| 4322 | 変数を変更するかどうかわからない、 | |
| 4323 | C<printf> や C<map> のようなサブルーチンや演算子に渡されたりします。 | |
| 4324 | ||
| 4325 | =begin original | |
| 4326 | ||
| 4327 | Traditionally, Perl has captured the value of the variable at that | |
| 4328 | point and turned the subroutine into a constant eligible for inlining. | |
| 4329 | In those cases where the variable can be modified elsewhere, this | |
| 4330 | breaks the behavior of closures, in which the subroutine captures | |
| 4331 | the variable itself, rather than its value, so future changes to the | |
| 4332 | variable are reflected in the subroutine's return value. | |
| 4333 | ||
| 4334 | =end original | |
| 4335 | ||
| 4336 | 伝統的に、Perl はこの時点で変数の値を捕捉して、 | |
| 4337 | サブルーチンをインライン化可能な定数に変換します。 | |
| 4338 | 変数が別の場所で変更可能な場合、 | |
| 4339 | これは、サブルーチンが変数の値ではなく変数自体を捕捉しているので | |
| 4340 | クロージャの振る舞いを壊します。 | |
| 4341 | 従って、将来この変数を変更すると、サブルーチンの返り値に反映されます。 | |
| 4342 | ||
| 4343 | =begin original | |
| 4344 | ||
| 4345 | This usage is deprecated, and will no longer be allowed in Perl 5.32, | |
| 4346 | making it possible to change the behavior in the future. | |
| 4347 | ||
| 4348 | =end original | |
| 4349 | ||
| 4350 | この使用法は廃止予定ですで、Perl 5.32 でもはや許されなくなります; | |
| 4351 | これにより将来振る舞いを換えることが可能になります。 | |
| 4352 | ||
| 4353 | =begin original | |
| 4354 | ||
| 4355 | If you intended for the subroutine to be eligible for inlining, then | |
| 4356 | make sure the variable is not referenced elsewhere, possibly by | |
| 4357 | copying it: | |
| 4358 | ||
| 4359 | =end original | |
| 4360 | ||
| 4361 | サブルーチンをインライン化可能にするのが目的なら、この変数を、 | |
| 4362 | おそらくコピーすることで、他のどこからも参照されないようにしてください: | |
| 4363 | ||
| 4364 | my $var2 = $var; | |
| 4365 | $sub = sub () { $var2 }; | |
| 4366 | ||
| 4367 | =begin original | |
| 4368 | ||
| 4369 | If you do want this subroutine to be a closure that reflects future | |
| 4370 | changes to the variable that it closes over, add an explicit C<return>: | |
| 4371 | ||
| 4372 | =end original | |
| 4373 | ||
| 4374 | このサブルーチンを、これを閉じた後の将来の変数の変更を反映させる | |
| 4375 | クロージャにしたいなら、明示的な C<return> を追加してください: | |
| 4376 | ||
| 4377 | my $var; | |
| 4378 | $sub = sub () { return $var }; | |
| 4379 | ||
| 4380 | 2605 | =item Constant subroutine %s redefined |
| 4381 | 2606 | |
| 4382 | 2607 | =begin original |
| 4383 | 2608 | |
| 4384 | (W redefine) | |
| 2609 | (S|W redefine) You redefined a subroutine which had previously been | |
| 4385 | ||
| 2610 | eligible for inlining. See L<perlsub/"Constant Functions"> for | |
| 4386 | ||
| 2611 | commentary and workarounds. | |
| 4387 | 2612 | |
| 4388 | 2613 | =end original |
| 4389 | 2614 | |
| 4390 | (W redefine | |
| 2615 | (S|W redefine) 以前にインライン化できる形であったサブルーチンを | |
| 4391 | 2616 | 再定義しました。 |
| 4392 | 2617 | コメントと回避策については L<perlsub/"Constant Functions"> を |
| 4393 | 2618 | 参照してください。 |
| 4394 | 2619 | |
| 4395 | 2620 | =item Constant subroutine %s undefined |
| 4396 | 2621 | |
| 4397 | 2622 | =begin original |
| 4398 | 2623 | |
| 4399 | 2624 | (W misc) You undefined a subroutine which had previously been eligible |
| 4400 | 2625 | for inlining. See L<perlsub/"Constant Functions"> for commentary and |
| 4401 | 2626 | workarounds. |
| 4402 | 2627 | |
| 4403 | 2628 | =end original |
| 4404 | 2629 | |
| 4405 | 2630 | (W misc)以前にインライン化できる形であったサブルーチンを |
| 4406 | 2631 | 未定義化しました。 |
| 4407 | 2632 | コメントと回避策については L<perlsub/"Constant Functions"> を |
| 4408 | 2633 | 参照してください。 |
| 4409 | 2634 | |
| 4410 | =item Constant(%s) unknown | |
| 4411 | ||
| 4412 | =begin original | |
| 4413 | ||
| 4414 | (F) The parser found inconsistencies either while attempting | |
| 4415 | to define an overloaded constant, or when trying to find the | |
| 4416 | character name specified in the C<\N{...}> escape. Perhaps you | |
| 4417 | forgot to load the corresponding L<overload> pragma? | |
| 4418 | ||
| 4419 | =end original | |
| 4420 | ||
| 4421 | (F) パーサは、オーバーロードされた定数を定義しようとしたときか、 | |
| 4422 | C<\N{...}> エスケープで指定された文字名の検索中に矛盾を | |
| 4423 | 発見しました。 | |
| 4424 | おそらく対応する L<overload> プラグマを読み込むのを忘れたのでは? | |
| 4425 | ||
| 4426 | =item :const is experimental | |
| 4427 | ||
| 4428 | =begin original | |
| 4429 | ||
| 4430 | (S experimental::const_attr) The "const" attribute is experimental. | |
| 4431 | If you want to use the feature, disable the warning with C<no warnings | |
| 4432 | 'experimental::const_attr'>, but know that in doing so you are taking | |
| 4433 | the risk that your code may break in a future Perl version. | |
| 4434 | ||
| 4435 | =end original | |
| 4436 | ||
| 4437 | (S experimental::const_attr) "const" 属性は実験的です。 | |
| 4438 | この機能を使いたい場合、 | |
| 4439 | C<no warnings 'experimental::const_attr'> で警告を無効にしてください; | |
| 4440 | しかし、そうすることであなたのコードが将来の Perl のバージョンで | |
| 4441 | 壊れるリスクを取ることになります。 | |
| 4442 | ||
| 4443 | =item :const is not permitted on named subroutines | |
| 4444 | ||
| 4445 | =begin original | |
| 4446 | ||
| 4447 | (F) The "const" attribute causes an anonymous subroutine to be run and | |
| 4448 | its value captured at the time that it is cloned. Named subroutines are | |
| 4449 | not cloned like this, so the attribute does not make sense on them. | |
| 4450 | ||
| 4451 | =end original | |
| 4452 | ||
| 4453 | (F) The "const" 属性は、クローンされたときに値を捕捉された | |
| 4454 | 無名サブルーチンになります。 | |
| 4455 | 名前付きサブルーチンはこのようにクローンされないので、 | |
| 4456 | 属性はこれらに関して意味を持ちません。 | |
| 4457 | ||
| 4458 | 2635 | =item Copy method did not return a reference |
| 4459 | 2636 | |
| 4460 | 2637 | =begin original |
| 4461 | 2638 | |
| 4462 | (F) The method which overloads "=" is buggy. | |
| 2639 | (F) The method which overloads "=" is buggy. See | |
| 4463 | 2640 | L<overload/Copy Constructor>. |
| 4464 | 2641 | |
| 4465 | 2642 | =end original |
| 4466 | 2643 | |
| 4467 | 2644 | (F) "=" をオーバーロードしたメソッドはバグっています。 |
| 4468 | 2645 | L<overload/Copy Constructor> を参照してください。 |
| 4469 | 2646 | |
| 4470 | =item &CORE::%s cannot be called directly | |
| 4471 | ||
| 4472 | =begin original | |
| 4473 | ||
| 4474 | (F) You tried to call a subroutine in the C<CORE::> namespace | |
| 4475 | with C<&foo> syntax or through a reference. Some subroutines | |
| 4476 | in this package cannot yet be called that way, but must be | |
| 4477 | called as barewords. Something like this will work: | |
| 4478 | ||
| 4479 | =end original | |
| 4480 | ||
| 4481 | (F) C<CORE::> 名前空間のサブルーチンを C<&foo> 文法またはリファレンス経由で | |
| 4482 | 呼び出そうとしました。 | |
| 4483 | このパッケージの一部のサブルーチンはまだこの方法では呼び出せず、裸の単語で | |
| 4484 | 呼び出さなければなりません。 | |
| 4485 | 以下のようなものは動作します: | |
| 4486 | ||
| 4487 | BEGIN { *shove = \&CORE::push; } | |
| 4488 | shove @array, 1,2,3; # pushes on to @array | |
| 4489 | ||
| 4490 | 2647 | =item CORE::%s is not a keyword |
| 4491 | 2648 | |
| 4492 | 2649 | =begin original |
| 4493 | 2650 | |
| 4494 | 2651 | (F) The CORE:: namespace is reserved for Perl keywords. |
| 4495 | 2652 | |
| 4496 | 2653 | =end original |
| 4497 | 2654 | |
| 4498 | 2655 | (F) CORE:: 名前空間は Perl キーワードとして予約されています。 |
| 4499 | 2656 | |
| 4500 | =item Corrupted regexp opcode %d > %d | |
| 4501 | ||
| 4502 | =begin original | |
| 4503 | ||
| 4504 | (P) This is either an error in Perl, or, if you're using | |
| 4505 | one, your L<custom regular expression engine|perlreapi>. If not the | |
| 4506 | latter, report the problem through the L<perlbug> utility. | |
| 4507 | ||
| 4508 | =end original | |
| 4509 | ||
| 4510 | (P) これは Perl か、あるいは、使っているなら | |
| 4511 | L<カスタム正規表現エンジン|perlreapi> のエラーです。 | |
| 4512 | 後者でなければ、L<perlbug> ユーティリティを使って問題を報告してください。 | |
| 4513 | ||
| 4514 | 2657 | =item corrupted regexp pointers |
| 4515 | 2658 | |
| 4516 | 2659 | =begin original |
| 4517 | 2660 | |
| 4518 | 2661 | (P) The regular expression engine got confused by what the regular |
| 4519 | 2662 | expression compiler gave it. |
| 4520 | 2663 | |
| 4521 | 2664 | =end original |
| 4522 | 2665 | |
| 4523 | 2666 | (P) 正規表現コンパイラが渡したもので、正規表現エンジンが |
| 4524 | 2667 | 処理できなくなりました。 |
| 4525 | 2668 | |
| 4526 | 2669 | =item corrupted regexp program |
| 4527 | 2670 | |
| 4528 | 2671 | =begin original |
| 4529 | 2672 | |
| 4530 | 2673 | (P) The regular expression engine got passed a regexp program without a |
| 4531 | 2674 | valid magic number. |
| 4532 | 2675 | |
| 4533 | 2676 | =end original |
| 4534 | 2677 | |
| 4535 | 2678 | (P) 正規表現エンジンが、有効なマジックナンバーを持たない |
| 4536 | 2679 | regexp プログラムを渡しました。 |
| 4537 | 2680 | |
| 4538 | =item Corrupt malloc ptr 0x%x at 0x%x | |
| 2681 | =item Corrupt malloc ptr 0x%lx at 0x%lx | |
| 4539 | 2682 | |
| 4540 | 2683 | =begin original |
| 4541 | 2684 | |
| 4542 | 2685 | (P) The malloc package that comes with Perl had an internal failure. |
| 4543 | 2686 | |
| 4544 | 2687 | =end original |
| 4545 | 2688 | |
| 4546 | 2689 | (P) Perl に付属の malloc ルーティンが内部エラーを起こしました。 |
| 4547 | 2690 | |
| 4548 | =item C | |
| 2691 | =item C<-p> destination: %s | |
| 4549 | 2692 | |
| 4550 | 2693 | =begin original |
| 4551 | 2694 | |
| 4552 | (F) | |
| 2695 | (F) An error occurred during the implicit output invoked by the C<-p> | |
| 4553 | ||
| 2696 | command-line switch. (This output goes to STDOUT unless you've | |
| 4554 | ||
| 2697 | redirected it with select().) | |
| 4555 | 2698 | |
| 4556 | 2699 | =end original |
| 4557 | 2700 | |
| 4558 | (F) | |
| 2701 | (F) C<-p> コマンドラインオプションで起動された | |
| 4559 | ||
| 2702 | 暗黙の出力中にエラーが発生しました。 | |
| 4560 | ||
| 2703 | (この出力は select() でリダイレクトしていない限り STDOUT に出力されます。) | |
| 4561 | 2704 | |
| 4562 | =item | |
| 2705 | =item C<-T> and C<-B> not implemented on filehandles | |
| 4563 | 2706 | |
| 4564 | 2707 | =begin original |
| 4565 | 2708 | |
| 4566 | ( | |
| 2709 | (F) Perl can't peek at the stdio buffer of filehandles when it doesn't | |
| 4567 | a r | |
| 2710 | know about your kind of stdio. You'll have to use a filename instead. | |
| 4568 | C<local>. Simply suppress the warning if you want to use the feature, but | |
| 4569 | know that in doing so you are taking the risk of using an experimental | |
| 4570 | feature which may change or be removed in a future Perl version: | |
| 4571 | 2711 | |
| 4572 | 2712 | =end original |
| 4573 | 2713 | |
| 4574 | ( | |
| 2714 | (F) Perl が、お使いの stdio のことをよく知らないとき、 | |
| 4575 | ||
| 2715 | ファイルハンドルの stdio バッファを覗くことはできません。 | |
| 4576 | ||
| 2716 | 代わりにファイル名を使わなければなりません。 | |
| 4577 | そうすることによってあなたは将来のバージョンの Perl で変更したり | |
| 4578 | 削除されたりするかもしれない実験的な機能を使うというリスクを | |
| 4579 | 取っていると言うことを知っておいてください: | |
| 4580 | 2717 | |
| 4581 | no warnings "experimental::declared_refs"; | |
| 4582 | use feature "declared_refs"; | |
| 4583 | $fooref = my \$foo; | |
| 4584 | ||
| 4585 | =for comment | |
| 4586 | The following are used in lib/diagnostics.t for testing two =items that | |
| 4587 | share the same description. Changes here need to be propagated to there | |
| 4588 | ||
| 4589 | =item Deep recursion on anonymous subroutine | |
| 4590 | ||
| 4591 | 2718 | =item Deep recursion on subroutine "%s" |
| 4592 | 2719 | |
| 4593 | 2720 | =begin original |
| 4594 | 2721 | |
| 4595 | 2722 | (W recursion) This subroutine has called itself (directly or indirectly) |
| 4596 | 2723 | 100 times more than it has returned. This probably indicates an |
| 4597 | 2724 | infinite recursion, unless you're writing strange benchmark programs, in |
| 4598 | 2725 | which case it indicates something else. |
| 4599 | 2726 | |
| 4600 | 2727 | =end original |
| 4601 | 2728 | |
| 4602 | (W recursion) このサブルー | |
| 2729 | (W recursion) このサブルーティンは、(直接、間接に) 自分自身の呼び出しを、 | |
| 4603 | 2730 | return より 100 回多く行ないました。 |
| 4604 | 2731 | 変わったベンチマークプログラムを書いているのでなければ、無限再帰の |
| 4605 | 可能性があります | |
| 2732 | 可能性があります。 | |
| 2733 | ベンチマークを書いている場合には、別のことを示しています。 | |
| 4606 | 2734 | |
| 4607 | = | |
| 2735 | =item defined(@array) is deprecated | |
| 4608 | 2736 | |
| 4609 | This threshold can be changed from 100, by recompiling the F<perl> binary, | |
| 4610 | setting the C pre-processor macro C<PERL_SUB_DEPTH_WARN> to the desired value. | |
| 4611 | ||
| 4612 | =end original | |
| 4613 | ||
| 4614 | この閾値は、C プリプロセッサマクロ C<PERL_SUB_DEPTH_WARN> を希望の値に | |
| 4615 | 設定して F<perl> バイナリを再コンパイルすることで、100 から変更できます。 | |
| 4616 | ||
| 4617 | =item (?(DEFINE)....) does not allow branches in regex; marked by | |
| 4618 | S<<-- HERE> in m/%s/ | |
| 4619 | ||
| 4620 | 2737 | =begin original |
| 4621 | 2738 | |
| 4622 | ( | |
| 2739 | (D deprecated) defined() is not usually useful on arrays because it | |
| 4623 | ||
| 2740 | checks for an undefined I<scalar> value. If you want to see if the | |
| 4624 | ||
| 2741 | array is empty, just use C<if (@array) { # not empty }> for example. | |
| 4625 | 2742 | |
| 4626 | 2743 | =end original |
| 4627 | 2744 | |
| 4628 | ( | |
| 2745 | (D deprecated) defined() は未定義の I<スカラ> 値を調べるので、配列に | |
| 4629 | ||
| 2746 | 使っても普通は無意味です。 | |
| 4630 | ||
| 2747 | 配列が空かどうかを調べたい場合は、例えば単に | |
| 2748 | C<if (@array) { # not empty }> としてください。 | |
| 4631 | 2749 | |
| 4632 | = | |
| 2750 | =item defined(%hash) is deprecated | |
| 4633 | 2751 | |
| 4634 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
| 4635 | discovered. | |
| 4636 | ||
| 4637 | =end original | |
| 4638 | ||
| 4639 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 4640 | ||
| 4641 | =item %s defines neither package nor VERSION--version check failed | |
| 4642 | ||
| 4643 | 2752 | =begin original |
| 4644 | 2753 | |
| 4645 | ( | |
| 2754 | (D deprecated) defined() is not usually useful on hashes because it | |
| 4646 | ||
| 2755 | checks for an undefined I<scalar> value. If you want to see if the hash | |
| 2756 | is empty, just use C<if (%hash) { # not empty }> for example. | |
| 4647 | 2757 | |
| 4648 | 2758 | =end original |
| 4649 | 2759 | |
| 4650 | ( | |
| 2760 | (D deprecated) defined() は未定義の I<スカラ> 値を調べるので、ハッシュに | |
| 4651 | ||
| 2761 | 使っても普通は無意味です。 | |
| 2762 | ハッシュが空かどうかを調べたい場合は、例えば単に | |
| 2763 | C<if (%hash) { # not empty }> としてください。 | |
| 4652 | 2764 | |
| 4653 | =item delete argument is not a HASH or ARRAY element or slice | |
| 4654 | ||
| 4655 | =begin original | |
| 4656 | ||
| 4657 | (F) The argument to C<delete> must be either a hash or array element, | |
| 4658 | such as: | |
| 4659 | ||
| 4660 | =end original | |
| 4661 | ||
| 4662 | (F) C<delete> の引数は以下のようにハッシュか配列の要素であるか: | |
| 4663 | ||
| 4664 | $foo{$bar} | |
| 4665 | $ref->{"susie"}[12] | |
| 4666 | ||
| 4667 | =begin original | |
| 4668 | ||
| 4669 | or a hash or array slice, such as: | |
| 4670 | ||
| 4671 | =end original | |
| 4672 | ||
| 4673 | あるいは以下のようにハッシュか配列のスライスか: | |
| 4674 | ||
| 4675 | @foo[$bar, $baz, $xyzzy] | |
| 4676 | @{$ref->[12]}{"susie", "queue"} | |
| 4677 | ||
| 4678 | =begin original | |
| 4679 | ||
| 4680 | or a hash key/value or array index/value slice, such as: | |
| 4681 | ||
| 4682 | =end original | |
| 4683 | ||
| 4684 | あるいは以下のようにハッシュのキー/値や配列のインデックス/値で | |
| 4685 | なければなりません: | |
| 4686 | ||
| 4687 | %foo[$bar, $baz, $xyzzy] | |
| 4688 | %{$ref->[12]}{"susie", "queue"} | |
| 4689 | ||
| 4690 | 2765 | =item Delimiter for here document is too long |
| 4691 | 2766 | |
| 4692 | 2767 | =begin original |
| 4693 | 2768 | |
| 4694 | 2769 | (F) In a here document construct like C<<<FOO>, the label C<FOO> is too |
| 4695 | 2770 | long for Perl to handle. You have to be seriously twisted to write code |
| 4696 | 2771 | that triggers this error. |
| 4697 | 2772 | |
| 4698 | 2773 | =end original |
| 4699 | 2774 | |
| 4700 | 2775 | (F) C<<<FOO> のようなヒアドキュメント構造で、ラベル C<FOO> が |
| 4701 | 2776 | Perl が扱うには長すぎました。 |
| 4702 | 2777 | このエラーを起こすようなコードを書くには相当ひねくれている必要があります。 |
| 4703 | 2778 | |
| 4704 | =item Deprecated use of my() in false conditional. This will be a fatal error in Perl 5.30 | |
| 4705 | ||
| 4706 | =begin original | |
| 4707 | ||
| 4708 | (D deprecated) You used a declaration similar to C<my $x if 0>. There | |
| 4709 | has been a long-standing bug in Perl that causes a lexical variable | |
| 4710 | not to be cleared at scope exit when its declaration includes a false | |
| 4711 | conditional. Some people have exploited this bug to achieve a kind of | |
| 4712 | static variable. Since we intend to fix this bug, we don't want people | |
| 4713 | relying on this behavior. You can achieve a similar static effect by | |
| 4714 | declaring the variable in a separate block outside the function, eg | |
| 4715 | ||
| 4716 | =end original | |
| 4717 | ||
| 4718 | (D deprecated) C<my $x if 0> のような定義を行いました。 | |
| 4719 | これは、宣言に偽の条件を含んでいるとスコープから外れた際にレキシカル変数が | |
| 4720 | クリアされないという、Perl に長い間存在したバグです。 | |
| 4721 | ある種の静的変数を実現するためにこのバグを悪用する人々もいます。 | |
| 4722 | 私たちはこのバグを修正するつもりなので、人々がこの振る舞いに依存して | |
| 4723 | ほしくありません。 | |
| 4724 | 関数外の別のブロックで変数を宣言することで似たような静的な効果を | |
| 4725 | 達成できます; 例えば: | |
| 4726 | ||
| 4727 | sub f { my $x if 0; return $x++ } | |
| 4728 | ||
| 4729 | =begin original | |
| 4730 | ||
| 4731 | becomes | |
| 4732 | ||
| 4733 | =end original | |
| 4734 | ||
| 4735 | これは以下のようにします: | |
| 4736 | ||
| 4737 | { my $x; sub f { return $x++ } } | |
| 4738 | ||
| 4739 | =begin original | |
| 4740 | ||
| 4741 | Beginning with perl 5.10.0, you can also use C<state> variables to have | |
| 4742 | lexicals that are initialized only once (see L<feature>): | |
| 4743 | ||
| 4744 | =end original | |
| 4745 | ||
| 4746 | perl 5.10.0 から、一度だけ初期化されるレキシカルとして C<state> 変数も | |
| 4747 | 使えます (L<feature> を参照してください): | |
| 4748 | ||
| 4749 | sub f { state $x; return $x++ } | |
| 4750 | ||
| 4751 | =begin original | |
| 4752 | ||
| 4753 | This use of C<my()> in a false conditional has been deprecated since | |
| 4754 | Perl 5.10, and it will become a fatal error in Perl 5.30. | |
| 4755 | ||
| 4756 | =end original | |
| 4757 | ||
| 4758 | 偽の条件での C<my()> のこの使用法は Perl 5.10 から廃止予定で、 | |
| 4759 | Perl 5.30 で致命的エラーになる予定です。 | |
| 4760 | ||
| 4761 | =item DESTROY created new reference to dead object '%s' | |
| 4762 | ||
| 4763 | =begin original | |
| 4764 | ||
| 4765 | (F) A DESTROY() method created a new reference to the object which is | |
| 4766 | just being DESTROYed. Perl is confused, and prefers to abort rather | |
| 4767 | than to create a dangling reference. | |
| 4768 | ||
| 4769 | =end original | |
| 4770 | ||
| 4771 | (F) DESTROY() メソッドが、DESTROY したばかりのオブジェクトへの | |
| 4772 | 新しいリファレンスを作りました。 | |
| 4773 | Perl は混乱して、不明瞭なリファレンスを作るよりは中断することを選びました。 | |
| 4774 | ||
| 4775 | 2779 | =item Did not produce a valid header |
| 4776 | 2780 | |
| 4777 | 2781 | =begin original |
| 4778 | 2782 | |
| 4779 | See | |
| 2783 | See Server error. | |
| 4780 | 2784 | |
| 4781 | 2785 | =end original |
| 4782 | 2786 | |
| 4783 | ||
| 2787 | "Server error" を参照してください。 | |
| 4784 | 2788 | |
| 4785 | 2789 | =item %s did not return a true value |
| 4786 | 2790 | |
| 4787 | 2791 | =begin original |
| 4788 | 2792 | |
| 4789 | 2793 | (F) A required (or used) file must return a true value to indicate that |
| 4790 | 2794 | it compiled correctly and ran its initialization code correctly. It's |
| 4791 | 2795 | traditional to end such a file with a "1;", though any true value would |
| 4792 | 2796 | do. See L<perlfunc/require>. |
| 4793 | 2797 | |
| 4794 | 2798 | =end original |
| 4795 | 2799 | |
| 4796 | 2800 | (F) require (や use) されたファイルは、正常にコンパイルされ、 |
| 4797 | 2801 | 初期化コードを正しく実行したことを示すために、真を返さなければなりません。 |
| 4798 | 2802 | こういったファイルは、"1;" で終わるようにするのが習慣ですが、 |
| 4799 | 2803 | 真となる値であれば、何でもかまいません。 |
| 4800 | 2804 | L<perlfunc/require> を参照してください。 |
| 4801 | 2805 | |
| 4802 | 2806 | =item (Did you mean &%s instead?) |
| 4803 | 2807 | |
| 4804 | 2808 | =begin original |
| 4805 | 2809 | |
| 4806 | (W | |
| 2810 | (W) You probably referred to an imported subroutine &FOO as $FOO or some | |
| 4807 | s | |
| 2811 | such. | |
| 4808 | 2812 | |
| 4809 | 2813 | =end original |
| 4810 | 2814 | |
| 4811 | ||
| 2815 | おそらく import したサブルーチン &FOO を $FOO として | |
| 4812 | 2816 | 参照したようなことでしょう。 |
| 4813 | 2817 | |
| 4814 | 2818 | =item (Did you mean "local" instead of "our"?) |
| 4815 | 2819 | |
| 4816 | 2820 | =begin original |
| 4817 | 2821 | |
| 4818 | (W s | |
| 2822 | (W misc) Remember that "our" does not localize the declared global | |
| 4819 | 2823 | variable. You have declared it again in the same lexical scope, which |
| 4820 | 2824 | seems superfluous. |
| 4821 | 2825 | |
| 4822 | 2826 | =end original |
| 4823 | 2827 | |
| 4824 | (W s | |
| 2828 | (W misc) "our" 宣言されたグローバル変数を local 化しないことを | |
| 4825 | 2829 | 忘れないで下さい。 |
| 4826 | 2830 | これをもう一度同じレキシカルスコープで宣言していますが、 |
| 4827 | 2831 | 不必要でしょう。 |
| 4828 | 2832 | |
| 4829 | 2833 | =item (Did you mean $ or @ instead of %?) |
| 4830 | 2834 | |
| 4831 | 2835 | =begin original |
| 4832 | 2836 | |
| 4833 | 2837 | (W) You probably said %hash{$key} when you meant $hash{$key} or |
| 4834 | 2838 | @hash{@keys}. On the other hand, maybe you just meant %hash and got |
| 4835 | 2839 | carried away. |
| 4836 | 2840 | |
| 4837 | 2841 | =end original |
| 4838 | 2842 | |
| 4839 | 2843 | (W) おそらく $hash{$key} か @hash{@keys} としたいときに %hash{$key} と |
| 4840 | 2844 | したのでしょう。 |
| 4841 | 2845 | あるいは、単に %hash としたくてやりすぎたのでしょう。 |
| 4842 | 2846 | |
| 4843 | 2847 | =item Died |
| 4844 | 2848 | |
| 4845 | 2849 | =begin original |
| 4846 | 2850 | |
| 4847 | 2851 | (F) You passed die() an empty string (the equivalent of C<die "">) or |
| 4848 | you called it with no args and C<$@> | |
| 2852 | you called it with no args and both C<$@> and C<$_> were empty. | |
| 4849 | 2853 | |
| 4850 | 2854 | =end original |
| 4851 | 2855 | |
| 4852 | 2856 | (F) die() に空文字列を渡した(C<die ""> と等価です)か、引数なしで |
| 4853 | 呼び出して、C<$@> が空でした。 | |
| 2857 | 呼び出して、C<$@> と C<$_> が空でした。 | |
| 4854 | 2858 | |
| 4855 | 2859 | =item Document contains no data |
| 4856 | 2860 | |
| 4857 | 2861 | =begin original |
| 4858 | 2862 | |
| 4859 | See | |
| 2863 | See Server error. | |
| 4860 | 2864 | |
| 4861 | 2865 | =end original |
| 4862 | 2866 | |
| 4863 | ||
| 2867 | "Server error" を参照してください。 | |
| 4864 | 2868 | |
| 4865 | =item | |
| 2869 | =item Don't know how to handle magic of type '%s' | |
| 4866 | 2870 | |
| 4867 | 2871 | =begin original |
| 4868 | 2872 | |
| 4869 | (F) You said something like "use Module 42" but the Module did not | |
| 4870 | define a C<$VERSION>. | |
| 4871 | ||
| 4872 | =end original | |
| 4873 | ||
| 4874 | (F) "use Module 42" のようなことをしましたが、Module は C<$VERSION> を | |
| 4875 | 定義していません。 | |
| 4876 | ||
| 4877 | =item '/' does not take a repeat count | |
| 4878 | ||
| 4879 | =begin original | |
| 4880 | ||
| 4881 | (F) You cannot put a repeat count of any kind right after the '/' code. | |
| 4882 | See L<perlfunc/pack>. | |
| 4883 | ||
| 4884 | =end original | |
| 4885 | ||
| 4886 | (F) '/' の直後には繰り返し数を指定できません。 | |
| 4887 | L<perlfunc/pack> を参照してください。 | |
| 4888 | ||
| 4889 | =item do "%s" failed, '.' is no longer in @INC; did you mean do "./%s"? | |
| 4890 | ||
| 4891 | =begin original | |
| 4892 | ||
| 4893 | (D deprecated) Previously C< do "somefile"; > would search the current | |
| 4894 | directory for the specified file. Since perl v5.26.0, F<.> has been | |
| 4895 | removed from C<@INC> by default, so this is no longer true. To search the | |
| 4896 | current directory (and only the current directory) you can write | |
| 4897 | C< do "./somefile"; >. | |
| 4898 | ||
| 4899 | =end original | |
| 4900 | ||
| 4901 | (D deprecated) 以前は、C< do "somefile"; > は指定されたファイルを | |
| 4902 | カレントディレクトリから探していました。 | |
| 4903 | perl v5.26.0 から、デフォルトで C<@INC> から F<.> 削除されたので、 | |
| 4904 | これはもはや真ではありません。 | |
| 4905 | カレントディレクトリを(カレントディレクトリだけを)探すためには、 | |
| 4906 | C< do "./somefile"; > と書けます。 | |
| 4907 | ||
| 4908 | =item Don't know how to get file name | |
| 4909 | ||
| 4910 | =begin original | |
| 4911 | ||
| 4912 | (P) C<PerlIO_getname>, a perl internal I/O function specific to VMS, was | |
| 4913 | somehow called on another platform. This should not happen. | |
| 4914 | ||
| 4915 | =end original | |
| 4916 | ||
| 4917 | (P) VMS 固有の perl 内部 I/O 関数である C<PerlIO_getname> がなぜか | |
| 4918 | 他のプラットフォームで呼び出されました。 | |
| 4919 | これは起きないはずです。 | |
| 4920 | ||
| 4921 | =item Don't know how to handle magic of type \%o | |
| 4922 | ||
| 4923 | =begin original | |
| 4924 | ||
| 4925 | 2873 | (P) The internal handling of magical variables has been cursed. |
| 4926 | 2874 | |
| 4927 | 2875 | =end original |
| 4928 | 2876 | |
| 4929 | (P) マジ | |
| 2877 | (P) マジック変数の内部処理がおかしくなっています。 | |
| 4930 | 2878 | |
| 4931 | 2879 | =item do_study: out of memory |
| 4932 | 2880 | |
| 4933 | 2881 | =begin original |
| 4934 | 2882 | |
| 4935 | 2883 | (P) This should have been caught by safemalloc() instead. |
| 4936 | 2884 | |
| 4937 | 2885 | =end original |
| 4938 | 2886 | |
| 4939 | 2887 | (P) これは、本来 safemalloc() で引っ掛かるはずのものです。 |
| 4940 | 2888 | |
| 4941 | 2889 | =item (Do you need to predeclare %s?) |
| 4942 | 2890 | |
| 4943 | 2891 | =begin original |
| 4944 | 2892 | |
| 4945 | (S | |
| 2893 | (S) This is an educated guess made in conjunction with the message "%s | |
| 4946 | ||
| 2894 | found where operator expected". It often means a subroutine or module | |
| 4947 | 2895 | name is being referenced that hasn't been declared yet. This may be |
| 4948 | 2896 | because of ordering problems in your file, or because of a missing |
| 4949 | 2897 | "sub", "package", "require", or "use" statement. If you're referencing |
| 4950 | 2898 | something that isn't defined yet, you don't actually have to define the |
| 4951 | 2899 | subroutine or package before the current location. You can use an empty |
| 4952 | 2900 | "sub foo;" or "package FOO;" to enter a "forward" declaration. |
| 4953 | 2901 | |
| 4954 | 2902 | =end original |
| 4955 | 2903 | |
| 4956 | (S | |
| 2904 | (S) これは "%s found where operator expected" メッセージと共に | |
| 4957 | 2905 | 表示される教育的な推測です。 |
| 4958 | 2906 | これはしばしばサブルーチンやモジュール名がまだ宣言される前に参照されている |
| 4959 | 2907 | ことを意味します。 |
| 4960 | 2908 | これはファイル内部での順番のためであったり、"sub", "package", "require", |
| 4961 | 2909 | "use" 文がないためであったりします。 |
| 4962 | 2910 | もしまだ定義されていないものを参照したい場合、現在位置より前に実際に |
| 4963 | 2911 | サブルーチンやパッケージを定義する必要はありません。 |
| 4964 | 2912 | 空の "sub foo;" や "package FOO;" を「前方」宣言として使えます。 |
| 4965 | 2913 | |
| 4966 | =item dump() must be written as CORE::dump() as of Perl 5.30 | |
| 4967 | ||
| 4968 | =begin original | |
| 4969 | ||
| 4970 | (F) You used the obsolete C<dump()> built-in function. That was deprecated in | |
| 4971 | Perl 5.8.0. As of Perl 5.30 it must be written in fully qualified format: | |
| 4972 | C<CORE::dump()>. | |
| 4973 | ||
| 4974 | =end original | |
| 4975 | ||
| 4976 | (F) 古いものである C<dump()> 組み込み関数を使いました。 | |
| 4977 | これは Perl 5.8.0 から廃止予定でした。 | |
| 4978 | Perl 5.30 から、これは C<CORE::dump()> というように完全修飾形式で | |
| 4979 | 書かなければなりません。 | |
| 4980 | ||
| 4981 | =begin original | |
| 4982 | ||
| 4983 | See L<perlfunc/dump>. | |
| 4984 | ||
| 4985 | =end original | |
| 4986 | ||
| 4987 | L<perlfunc/dump> を参照してください。 | |
| 4988 | ||
| 4989 | =item dump is not supported | |
| 4990 | ||
| 4991 | =begin original | |
| 4992 | ||
| 4993 | (F) Your machine doesn't support dump/undump. | |
| 4994 | ||
| 4995 | =end original | |
| 4996 | ||
| 4997 | (F) このマシンは dump/undump に対応していません。 | |
| 4998 | ||
| 4999 | 2914 | =item Duplicate free() ignored |
| 5000 | 2915 | |
| 5001 | 2916 | =begin original |
| 5002 | 2917 | |
| 5003 | 2918 | (S malloc) An internal routine called free() on something that had |
| 5004 | 2919 | already been freed. |
| 5005 | 2920 | |
| 5006 | 2921 | =end original |
| 5007 | 2922 | |
| 5008 | 2923 | (S malloc) 既に解放されているものに対して、内部ルーティンが free() を |
| 5009 | 2924 | 行なおうとしました。 |
| 5010 | 2925 | |
| 5011 | =item Duplicate modifier '%c' after '%c' in %s | |
| 5012 | ||
| 5013 | =begin original | |
| 5014 | ||
| 5015 | (W unpack) You have applied the same modifier more than once after a | |
| 5016 | type in a pack template. See L<perlfunc/pack>. | |
| 5017 | ||
| 5018 | =end original | |
| 5019 | ||
| 5020 | (W unpack) pack テンプレートで、一つの型の後に同じ修飾子を複数指定しました。 | |
| 5021 | L<perlfunc/pack> を参照してください。 | |
| 5022 | ||
| 5023 | 2926 | =item elseif should be elsif |
| 5024 | 2927 | |
| 5025 | 2928 | =begin original |
| 5026 | 2929 | |
| 5027 | (S | |
| 2930 | (S) There is no keyword "elseif" in Perl because Larry thinks it's ugly. | |
| 5028 | ||
| 2931 | Your code will be interpreted as an attempt to call a method named | |
| 5029 | ||
| 2932 | "elseif" for the class returned by the following block. This is | |
| 5030 | 2933 | unlikely to be what you want. |
| 5031 | 2934 | |
| 5032 | 2935 | =end original |
| 5033 | 2936 | |
| 5034 | 2937 | (S) Larry は "elseif" というのは醜いと考えたので、Perl にはこのキーワードは |
| 5035 | 2938 | ありません。 |
| 5036 | 2939 | このコードは引き続くブロックによって返されたクラスの "elseif" メソッドを |
| 5037 | 2940 | 呼び出そうとしていると解釈されます。 |
| 5038 | 2941 | これは望んでいることではないはずです。 |
| 5039 | 2942 | |
| 5040 | =item Empty \%c in regex; marked by S<<-- HERE> in m/%s/ | |
| 5041 | ||
| 5042 | =item Empty \%c{} | |
| 5043 | ||
| 5044 | =item Empty \%c{} in regex; marked by S<<-- HERE> in m/%s/ | |
| 5045 | ||
| 5046 | =begin original | |
| 5047 | ||
| 5048 | (F) You used something like C<\b{}>, C<\B{}>, C<\o{}>, C<\p>, C<\P>, or | |
| 5049 | C<\x> without specifying anything for it to operate on. | |
| 5050 | ||
| 5051 | =end original | |
| 5052 | ||
| 5053 | (F) 何を操作するかを指定せずに | |
| 5054 | C<\b{}>, C<\B{}>, C<\o{}>, C<\p>, C<\P>, C<\x> のようなものを使いました。 | |
| 5055 | ||
| 5056 | =begin original | |
| 5057 | ||
| 5058 | Unfortunately, for backwards compatibility reasons, an empty C<\x> is | |
| 5059 | legal outside S<C<use re 'strict'>> and expands to a NUL character. | |
| 5060 | ||
| 5061 | =end original | |
| 5062 | ||
| 5063 | 残念ながら、後方互換性のために、S<C<use re 'strict'>> の外側での空の | |
| 5064 | C<\x> は正当で、一つの NUL 文字に展開されます。 | |
| 5065 | ||
| 5066 | =item Empty (?) without any modifiers in regex; marked by <-- HERE in m/%s/ | |
| 5067 | ||
| 5068 | =begin original | |
| 5069 | ||
| 5070 | (W regexp) (only under C<S<use re 'strict'>>) | |
| 5071 | C<(?)> does nothing, so perhaps this is a typo. | |
| 5072 | ||
| 5073 | =end original | |
| 5074 | ||
| 5075 | (W regexp) (C<S<use re 'strict'>> の下のみ) | |
| 5076 | C<(?)> は何もしません; 従ってこれはおそらくタイプミスです。 | |
| 5077 | ||
| 5078 | =item ${^ENCODING} is no longer supported | |
| 5079 | ||
| 5080 | =begin original | |
| 5081 | ||
| 5082 | (F) The special variable C<${^ENCODING}>, formerly used to implement | |
| 5083 | the C<encoding> pragma, is no longer supported as of Perl 5.26.0. | |
| 5084 | ||
| 5085 | =end original | |
| 5086 | ||
| 5087 | (F) 以前は C<encoding> プラグマの実装に使われていた | |
| 5088 | 特殊変数 C<${^ENCODING}> は、Perl 5.26.0 からもはや対応されません。 | |
| 5089 | ||
| 5090 | =begin original | |
| 5091 | ||
| 5092 | Setting it to anything other than C<undef> is a fatal error as of Perl | |
| 5093 | 5.28. | |
| 5094 | ||
| 5095 | =end original | |
| 5096 | ||
| 5097 | これに C<undef> 以外のものを設定すると Perl 5.28 から致命的エラーが出ます。 | |
| 5098 | ||
| 5099 | 2943 | =item entering effective %s failed |
| 5100 | 2944 | |
| 5101 | 2945 | =begin original |
| 5102 | 2946 | |
| 5103 | 2947 | (F) While under the C<use filetest> pragma, switching the real and |
| 5104 | 2948 | effective uids or gids failed. |
| 5105 | 2949 | |
| 5106 | 2950 | =end original |
| 5107 | 2951 | |
| 5108 | 2952 | (F) C<use filetest> プラグマを使っている間に、 |
| 5109 | 2953 | 実と実効の UID や GID の切り替えに失敗しました。 |
| 5110 | 2954 | |
| 5111 | =item %ENV is aliased to %s | |
| 5112 | ||
| 5113 | =begin original | |
| 5114 | ||
| 5115 | (F) You're running under taint mode, and the C<%ENV> variable has been | |
| 5116 | aliased to another hash, so it doesn't reflect anymore the state of the | |
| 5117 | program's environment. This is potentially insecure. | |
| 5118 | ||
| 5119 | =end original | |
| 5120 | ||
| 5121 | (F) 汚染モードで動作していて、C<%ENV> 変数が他のハッシュへのエイリアスに | |
| 5122 | なっているので、これ以上プログラムの環境の状態を反映しません。 | |
| 5123 | これは潜在的にはセキュアではありません。 | |
| 5124 | ||
| 5125 | 2955 | =item Error converting file specification %s |
| 5126 | 2956 | |
| 5127 | 2957 | =begin original |
| 5128 | 2958 | |
| 5129 | 2959 | (F) An error peculiar to VMS. Because Perl may have to deal with file |
| 5130 | 2960 | specifications in either VMS or Unix syntax, it converts them to a |
| 5131 | 2961 | single form when it must operate on them directly. Either you've passed |
| 5132 | 2962 | an invalid file specification to Perl, or you've found a case the |
| 5133 | 2963 | conversion routines don't handle. Drat. |
| 5134 | 2964 | |
| 5135 | 2965 | =end original |
| 5136 | 2966 | |
| 5137 | 2967 | (F) VMS に固有のエラーです。 |
| 5138 | 2968 | Perl はファイル仕様を VMS 式か Unix 式かどちらかで扱わなければならないので、 |
| 5139 | 2969 | 直接操作しなければならない場合は変換します。 |
| 5140 | 2970 | 不正なファイル仕様を Perl に渡したか、変換ルーチンが扱えないパターンを |
| 5141 | 2971 | 発見したかです。 |
| 5142 | 2972 | ちぇっ。 |
| 5143 | 2973 | |
| 5144 | =item Eval-group in insecure regular expression | |
| 2974 | =item %s: Eval-group in insecure regular expression | |
| 5145 | 2975 | |
| 5146 | 2976 | =begin original |
| 5147 | 2977 | |
| 5148 | 2978 | (F) Perl detected tainted data when trying to compile a regular |
| 5149 | 2979 | expression that contains the C<(?{ ... })> zero-width assertion, which |
| 5150 | 2980 | is unsafe. See L<perlre/(?{ code })>, and L<perlsec>. |
| 5151 | 2981 | |
| 5152 | 2982 | =end original |
| 5153 | 2983 | |
| 5154 | 2984 | C<(?{ ... })> ゼロ幅アサーションを含む正規表現をコンパイルしようと |
| 5155 | 2985 | したときに、Perl は汚染されたデータを検出しました; |
| 5156 | 2986 | これは安全ではありません。 |
| 5157 | 2987 | L<perlre/(?{ code })> と L<perlsec> を参照してください。 |
| 5158 | 2988 | |
| 5159 | =item Eval-group not allowed at runtime | |
| 2989 | =item %s: Eval-group not allowed at run time | |
| 5160 | 2990 | |
| 5161 | 2991 | =begin original |
| 5162 | 2992 | |
| 5163 | 2993 | (F) Perl tried to compile a regular expression containing the |
| 5164 | 2994 | C<(?{ ... })> zero-width assertion at run time, as it would when the |
| 5165 | pattern contains interpolated values. Since that is a security risk, | |
| 2995 | pattern contains interpolated values. Since that is a security risk, it | |
| 5166 | i | |
| 2996 | is not allowed. If you insist, you may still do this by explicitly | |
| 5167 | ||
| 2997 | building the pattern from an interpolated string at run time and using | |
| 5168 | ||
| 2998 | that in an eval(). See L<perlre/(?{ code })>. | |
| 5169 | L<perlre/(?{ code })>. | |
| 5170 | 2999 | |
| 5171 | 3000 | =end original |
| 5172 | 3001 | |
| 5173 | 3002 | (F) Perl が実行時に、変数展開された値を含んでいて、 |
| 5174 | 3003 | C<(?{ ... })> ゼロ幅アサーションを含む正規表現をコンパイルしようとしました。 |
| 5175 | 3004 | これはセキュリティ上の危険があるので、許可されていません。 |
| 5176 | どうしても実行したい場合は、 | |
| 3005 | どうしても実行したい場合は、実行時に変数展開された文字列から | |
| 5177 | ||
| 3006 | パターンを作成して、それを eval() の中で使うことで実行できます。 | |
| 5178 | 実行できます。 | |
| 5179 | 3007 | L<perlre/(?{ code })> を参照してください。 |
| 5180 | 3008 | |
| 5181 | =item Eval-group not allowed, use re 'eval' | |
| 3009 | =item %s: Eval-group not allowed, use re 'eval' | |
| 5182 | 3010 | |
| 5183 | 3011 | =begin original |
| 5184 | 3012 | |
| 5185 | 3013 | (F) A regular expression contained the C<(?{ ... })> zero-width |
| 5186 | 3014 | assertion, but that construct is only allowed when the C<use re 'eval'> |
| 5187 | 3015 | pragma is in effect. See L<perlre/(?{ code })>. |
| 5188 | 3016 | |
| 5189 | 3017 | =end original |
| 5190 | 3018 | |
| 5191 | 3019 | (F) 正規表現に C<(?{ ... })> ゼロ幅アサーションを含んでいますが、 |
| 5192 | 3020 | この構造は C<use re 'eval'> プラグマが有効の場合にのみ許可されます。 |
| 5193 | 3021 | L<perlre/(?{ code })> を参照してください。 |
| 5194 | 3022 | |
| 5195 | =item EVAL without pos change exceeded limit in regex; marked by | |
| 5196 | S<<-- HERE> in m/%s/ | |
| 5197 | ||
| 5198 | =begin original | |
| 5199 | ||
| 5200 | (F) You used a pattern that nested too many EVAL calls without consuming | |
| 5201 | any text. Restructure the pattern so that text is consumed. | |
| 5202 | ||
| 5203 | =end original | |
| 5204 | ||
| 5205 | (F) テキストを一切読み込むことなく、EVAL 呼び出しのネストが多すぎる | |
| 5206 | パターンを使いました。 | |
| 5207 | テキストを読み込むようにパターンを再構築してください。 | |
| 5208 | ||
| 5209 | =begin original | |
| 5210 | ||
| 5211 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
| 5212 | discovered. | |
| 5213 | ||
| 5214 | =end original | |
| 5215 | ||
| 5216 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 5217 | ||
| 5218 | 3023 | =item Excessively long <> operator |
| 5219 | 3024 | |
| 5220 | 3025 | =begin original |
| 5221 | 3026 | |
| 5222 | 3027 | (F) The contents of a <> operator may not exceed the maximum size of a |
| 5223 | 3028 | Perl identifier. If you're just trying to glob a long list of |
| 5224 | 3029 | filenames, try using the glob() operator, or put the filenames into a |
| 5225 | 3030 | variable and glob that. |
| 5226 | 3031 | |
| 5227 | 3032 | =end original |
| 5228 | 3033 | |
| 5229 | 3034 | (F) <> 演算子の内容は Perl 識別子の最大サイズを越えることはできません。 |
| 5230 | 3035 | 単にファイル名の長いリストをグロブしようとしただけなら、glob() 演算子を |
| 5231 | 3036 | 使うか、ファイル名を変数に入れて、それをグロブしてください。 |
| 5232 | 3037 | |
| 5233 | =item | |
| 3038 | =item Execution of %s aborted due to compilation errors | |
| 5234 | 3039 | |
| 5235 | 3040 | =begin original |
| 5236 | 3041 | |
| 5237 | (F) The C<exec> function is not implemented on some systems, e.g., Symbian | |
| 5238 | OS. See L<perlport>. | |
| 5239 | ||
| 5240 | =end original | |
| 5241 | ||
| 5242 | (F) C<exec> 関数は Symbian OS のような一部のシステムには実装されていません。 | |
| 5243 | L<perlport> を参照してください。 | |
| 5244 | ||
| 5245 | =item %sExecution of %s aborted due to compilation errors. | |
| 5246 | ||
| 5247 | =begin original | |
| 5248 | ||
| 5249 | 3042 | (F) The final summary message when a Perl compilation fails. |
| 5250 | 3043 | |
| 5251 | 3044 | =end original |
| 5252 | 3045 | |
| 5253 | 3046 | (F) Perl のコンパイルが失敗したときの、最後のまとめメッセージです。 |
| 5254 | 3047 | |
| 5255 | =item exists argument is not a HASH or ARRAY element or a subroutine | |
| 5256 | ||
| 5257 | =begin original | |
| 5258 | ||
| 5259 | (F) The argument to C<exists> must be a hash or array element or a | |
| 5260 | subroutine with an ampersand, such as: | |
| 5261 | ||
| 5262 | =end original | |
| 5263 | ||
| 5264 | (F) C<exists> の引数は以下のように、ハッシュや配列の要素か、 | |
| 5265 | アンパサンド付きのサブルーチンでなければなりません: | |
| 5266 | ||
| 5267 | $foo{$bar} | |
| 5268 | $ref->{"susie"}[12] | |
| 5269 | &do_something | |
| 5270 | ||
| 5271 | =item exists argument is not a subroutine name | |
| 5272 | ||
| 5273 | =begin original | |
| 5274 | ||
| 5275 | (F) The argument to C<exists> for C<exists &sub> must be a subroutine name, | |
| 5276 | and not a subroutine call. C<exists &sub()> will generate this error. | |
| 5277 | ||
| 5278 | =end original | |
| 5279 | ||
| 5280 | (F) C<exists &sub> での C<exists> への引数はサブルーチン名でなければならず、 | |
| 5281 | サブルーチン呼び出しではありません。 | |
| 5282 | C<exists &sub()> はこのエラーを生成します。 | |
| 5283 | ||
| 5284 | 3048 | =item Exiting eval via %s |
| 5285 | 3049 | |
| 5286 | 3050 | =begin original |
| 5287 | 3051 | |
| 5288 | 3052 | (W exiting) You are exiting an eval by unconventional means, such as a |
| 5289 | 3053 | goto, or a loop control statement. |
| 5290 | 3054 | |
| 5291 | 3055 | =end original |
| 5292 | 3056 | |
| 5293 | 3057 | (W exiting) goto やループ制御文など、おかしな方法で eval を抜けました。 |
| 5294 | 3058 | |
| 5295 | 3059 | =item Exiting format via %s |
| 5296 | 3060 | |
| 5297 | 3061 | =begin original |
| 5298 | 3062 | |
| 5299 | (W exiting) You are exiting a | |
| 3063 | (W exiting) You are exiting an eval by unconventional means, such as a | |
| 5300 | 3064 | goto, or a loop control statement. |
| 5301 | 3065 | |
| 5302 | 3066 | =end original |
| 5303 | 3067 | |
| 5304 | (W exiting) goto やループ制御文といった、異例な形で | |
| 3068 | (W exiting) goto やループ制御文といった、異例な形で eval を終了しました。 | |
| 5305 | 終了しました。 | |
| 5306 | 3069 | |
| 5307 | 3070 | =item Exiting pseudo-block via %s |
| 5308 | 3071 | |
| 5309 | 3072 | =begin original |
| 5310 | 3073 | |
| 5311 | 3074 | (W exiting) You are exiting a rather special block construct (like a |
| 5312 | 3075 | sort block or subroutine) by unconventional means, such as a goto, or a |
| 5313 | 3076 | loop control statement. See L<perlfunc/sort>. |
| 5314 | 3077 | |
| 5315 | 3078 | =end original |
| 5316 | 3079 | |
| 5317 | 3080 | (W exiting) (ソートブロックやサブルーチンのような) 特別なブロック構造を、 |
| 5318 | 3081 | goto やループ制御文といった異例な方法で終了しました。 |
| 5319 | 3082 | L<perlfunc/sort> を参照してください。 |
| 5320 | 3083 | |
| 5321 | 3084 | =item Exiting subroutine via %s |
| 5322 | 3085 | |
| 5323 | 3086 | =begin original |
| 5324 | 3087 | |
| 5325 | 3088 | (W exiting) You are exiting a subroutine by unconventional means, such |
| 5326 | 3089 | as a goto, or a loop control statement. |
| 5327 | 3090 | |
| 5328 | 3091 | =end original |
| 5329 | 3092 | |
| 5330 | (W exiting) goto やループ制御文など、おかしな方法でサブルー | |
| 3093 | (W exiting) goto やループ制御文など、おかしな方法でサブルーティンを | |
| 5331 | 3094 | 抜けました。 |
| 5332 | 3095 | |
| 5333 | 3096 | =item Exiting substitution via %s |
| 5334 | 3097 | |
| 5335 | 3098 | =begin original |
| 5336 | 3099 | |
| 5337 | 3100 | (W exiting) You are exiting a substitution by unconventional means, such |
| 5338 | 3101 | as a return, a goto, or a loop control statement. |
| 5339 | 3102 | |
| 5340 | 3103 | =end original |
| 5341 | 3104 | |
| 5342 | 3105 | (W exit) return や goto やループ制御文など、おかしな方法で置換を |
| 5343 | 3106 | 抜けました。 |
| 5344 | 3107 | |
| 5345 | =item Expecting close bracket in regex; marked by S<<-- HERE> in m/%s/ | |
| 5346 | ||
| 5347 | =begin original | |
| 5348 | ||
| 5349 | (F) You wrote something like | |
| 5350 | ||
| 5351 | =end original | |
| 5352 | ||
| 5353 | (F) 以下のようなものを書きました | |
| 5354 | ||
| 5355 | (?13 | |
| 5356 | ||
| 5357 | =begin original | |
| 5358 | ||
| 5359 | to denote a capturing group of the form | |
| 5360 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)>, | |
| 5361 | but omitted the C<")">. | |
| 5362 | ||
| 5363 | =end original | |
| 5364 | ||
| 5365 | to denote a capturing group of the form | |
| 5366 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)> 形式の | |
| 5367 | 捕捉グループを示していますが C<")"> が省略されています。 | |
| 5368 | ||
| 5369 | =item Expecting close paren for nested extended charclass in regex; marked | |
| 5370 | by <-- HERE in m/%s/ | |
| 5371 | ||
| 5372 | =begin original | |
| 5373 | ||
| 5374 | (F) While parsing a nested extended character class like: | |
| 5375 | ||
| 5376 | =end original | |
| 5377 | ||
| 5378 | (F) 次のようなネストした拡張文字クラスをパースするときに: | |
| 5379 | ||
| 5380 | (?[ ... (?flags:(?[ ... ])) ... ]) | |
| 5381 | ^ | |
| 5382 | ||
| 5383 | =begin original | |
| 5384 | ||
| 5385 | we expected to see a close paren ')' (marked by ^) but did not. | |
| 5386 | ||
| 5387 | =end original | |
| 5388 | ||
| 5389 | (^ でマークされている) 閉じかっこ ')' があることを想定しますが、 | |
| 5390 | ありませんでした。 | |
| 5391 | ||
| 5392 | =item Expecting close paren for wrapper for nested extended charclass in | |
| 5393 | regex; marked by <-- HERE in m/%s/ | |
| 5394 | ||
| 5395 | =begin original | |
| 5396 | ||
| 5397 | (F) While parsing a nested extended character class like: | |
| 5398 | ||
| 5399 | =end original | |
| 5400 | ||
| 5401 | (F) 次のようなネストした拡張文字クラスをパースするときに: | |
| 5402 | ||
| 5403 | (?[ ... (?flags:(?[ ... ])) ... ]) | |
| 5404 | ^ | |
| 5405 | ||
| 5406 | =begin original | |
| 5407 | ||
| 5408 | we expected to see a close paren ')' (marked by ^) but did not. | |
| 5409 | ||
| 5410 | =end original | |
| 5411 | ||
| 5412 | (^ でマークされている) 閉じかっこ ')' があることを想定しますが、 | |
| 5413 | ありませんでした。 | |
| 5414 | ||
| 5415 | =item Expecting '(?flags:(?[...' in regex; marked by S<<-- HERE> in m/%s/ | |
| 5416 | ||
| 5417 | =begin original | |
| 5418 | ||
| 5419 | (F) The C<(?[...])> extended character class regular expression construct | |
| 5420 | only allows character classes (including character class escapes like | |
| 5421 | C<\d>), operators, and parentheses. The one exception is C<(?flags:...)> | |
| 5422 | containing at least one flag and exactly one C<(?[...])> construct. | |
| 5423 | This allows a regular expression containing just C<(?[...])> to be | |
| 5424 | interpolated. If you see this error message, then you probably | |
| 5425 | have some other C<(?...)> construct inside your character class. See | |
| 5426 | L<perlrecharclass/Extended Bracketed Character Classes>. | |
| 5427 | ||
| 5428 | =end original | |
| 5429 | ||
| 5430 | (F) C<(?[...])> 拡張文字クラス正規表現構文には、(C<\d> のような | |
| 5431 | 文字クラスエスケープを含む) 文字クラス、演算子、かっこのみが許されます。 | |
| 5432 | 一つの例外は正確に一つだけのフラグと一つだけの C<(?[...])> を含む | |
| 5433 | C<(?flags:...)> です。 | |
| 5434 | これにより C<(?[...])> だけを含む正規表現を変数展開できるようになります。 | |
| 5435 | このエラーメッセージが表示された時は、おそらく文字クラスの中に他の | |
| 5436 | C<(?...)> 構文が含まれています。 | |
| 5437 | L<perlrecharclass/Extended Bracketed Character Classes> を参照してください。 | |
| 5438 | ||
| 5439 | =item Experimental aliasing via reference not enabled | |
| 5440 | ||
| 5441 | =begin original | |
| 5442 | ||
| 5443 | (F) To do aliasing via references, you must first enable the feature: | |
| 5444 | ||
| 5445 | =end original | |
| 5446 | ||
| 5447 | (F) リファレンスによる別名をするためには、最初にこの機能を | |
| 5448 | 有効にしなければなりません: | |
| 5449 | ||
| 5450 | no warnings "experimental::refaliasing"; | |
| 5451 | use feature "refaliasing"; | |
| 5452 | \$x = \$y; | |
| 5453 | ||
| 5454 | =item Experimental %s on scalar is now forbidden | |
| 5455 | ||
| 5456 | =begin original | |
| 5457 | ||
| 5458 | (F) An experimental feature added in Perl 5.14 allowed C<each>, C<keys>, | |
| 5459 | C<push>, C<pop>, C<shift>, C<splice>, C<unshift>, and C<values> to be called with a | |
| 5460 | scalar argument. This experiment is considered unsuccessful, and | |
| 5461 | has been removed. The C<postderef> feature may meet your needs better. | |
| 5462 | ||
| 5463 | =end original | |
| 5464 | ||
| 5465 | (F) Perl 5.14 で追加された実験的機能は、C<each>, C<keys>, | |
| 5466 | C<push>, C<pop>, C<shift>, C<splice>, C<unshift>, C<values> を | |
| 5467 | スカラ引数で呼び出すことができました。 | |
| 5468 | この実験は失敗と考えられ、削除されました。 | |
| 5469 | C<postderef> 機能はあなたの要求により良く一致します。 | |
| 5470 | ||
| 5471 | =item Experimental subroutine signatures not enabled | |
| 5472 | ||
| 5473 | =begin original | |
| 5474 | ||
| 5475 | (F) To use subroutine signatures, you must first enable them: | |
| 5476 | ||
| 5477 | =end original | |
| 5478 | ||
| 5479 | (F) サブルーチンシグネチャを使うためには、まずそれを有効にしなければなりません: | |
| 5480 | ||
| 5481 | no warnings "experimental::signatures"; | |
| 5482 | use feature "signatures"; | |
| 5483 | sub foo ($left, $right) { ... } | |
| 5484 | ||
| 5485 | 3108 | =item Explicit blessing to '' (assuming package main) |
| 5486 | 3109 | |
| 5487 | 3110 | =begin original |
| 5488 | 3111 | |
| 5489 | 3112 | (W misc) You are blessing a reference to a zero length string. This has |
| 5490 | 3113 | the effect of blessing the reference into the package main. This is |
| 5491 | 3114 | usually not what you want. Consider providing a default target package, |
| 5492 | 3115 | e.g. bless($ref, $p || 'MyPackage'); |
| 5493 | 3116 | |
| 5494 | 3117 | =end original |
| 5495 | 3118 | |
| 5496 | 3119 | (W misc) リファレンスを長さゼロの文字列に bless しました。 |
| 5497 | 3120 | これはリファレンスをパッケージ main に bless する効果があります。 |
| 5498 | 3121 | これは普通あなたが望んでいることではありません。 |
| 5499 | 3122 | (bless($ref, $p || 'MyPackage'); のように) デフォルトターゲット |
| 5500 | 3123 | パッケージを提供することを考慮してください; |
| 5501 | 3124 | |
| 5502 | 3125 | =item %s: Expression syntax |
| 5503 | 3126 | |
| 5504 | 3127 | =begin original |
| 5505 | 3128 | |
| 5506 | 3129 | (A) You've accidentally run your script through B<csh> instead of Perl. |
| 5507 | 3130 | Check the #! line, or manually feed your script into Perl yourself. |
| 5508 | 3131 | |
| 5509 | 3132 | =end original |
| 5510 | 3133 | |
| 5511 | 3134 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
| 5512 | 3135 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
| 5513 | 3136 | |
| 5514 | 3137 | =item %s failed--call queue aborted |
| 5515 | 3138 | |
| 5516 | 3139 | =begin original |
| 5517 | 3140 | |
| 5518 | (F) An untrapped exception was raised while executing a | |
| 3141 | (F) An untrapped exception was raised while executing a CHECK, INIT, or | |
| 5519 | ||
| 3142 | END subroutine. Processing of the remainder of the queue of such | |
| 5520 | ||
| 3143 | routines has been prematurely ended. | |
| 5521 | 3144 | |
| 5522 | 3145 | =end original |
| 5523 | 3146 | |
| 5524 | (F) | |
| 3147 | (F) CHECK, INIT, END サブルーチンを実行中にトラップされていない例外が | |
| 5525 | ||
| 3148 | 発生しました。 | |
| 5526 | 3149 | このようなルーチンのキューの残りの処理は途中で終了しました。 |
| 5527 | 3150 | |
| 5528 | =item | |
| 3151 | =item false [] range "%s" in regexp | |
| 5529 | 3152 | |
| 5530 | 3153 | =begin original |
| 5531 | 3154 | |
| 5532 | ( | |
| 3155 | (W regexp) A character class range must start and end at a literal | |
| 5533 | co | |
| 3156 | character, not another character class like C<\d> or C<[:alpha:]>. The | |
| 3157 | "-" in your false range is interpreted as a literal "-". Consider | |
| 3158 | quoting the "-", "\-". See L<perlre>. | |
| 5534 | 3159 | |
| 5535 | 3160 | =end original |
| 5536 | 3161 | |
| 5537 | ( | |
| 3162 | (W regexp) 文字クラス範囲の先頭とと末尾は、C<\d> や C<[:alpha:]> のような | |
| 5538 | 閉じるのに失敗しました。 | |
| 5539 | ||
| 5540 | =item False [] range "%s" in regex; marked by S<<-- HERE> in m/%s/ | |
| 5541 | ||
| 5542 | =begin original | |
| 5543 | ||
| 5544 | (W regexp)(F) A character class range must start and end at a literal | |
| 5545 | character, not another character class like C<\d> or C<[:alpha:]>. The "-" | |
| 5546 | in your false range is interpreted as a literal "-". In a C<(?[...])> | |
| 5547 | construct, this is an error, rather than a warning. Consider quoting | |
| 5548 | the "-", "\-". The S<<-- HERE> shows whereabouts in the regular expression | |
| 5549 | the problem was discovered. See L<perlre>. | |
| 5550 | ||
| 5551 | =end original | |
| 5552 | ||
| 5553 | (W regexp)(F) 文字クラス範囲の先頭とと末尾は、C<\d> や C<[:alpha:]> のような | |
| 5554 | 3163 | 他の文字クラスではなく、リテラル文字でなければなりません。 |
| 5555 | 3164 | 間違った範囲の "-" はリテラルの "-" と解釈されます。 |
| 5556 | C<(?[...])> 構文では、これは警告ではなくエラーです。 | |
| 5557 | 3165 | "-" を "\-" とクォートすることを考慮してください。 |
| 5558 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 5559 | 3166 | L<perlre> を参照してください。 |
| 5560 | 3167 | |
| 5561 | =item Fatal VMS error | |
| 3168 | =item Fatal VMS error at %s, line %d | |
| 5562 | 3169 | |
| 5563 | 3170 | =begin original |
| 5564 | 3171 | |
| 5565 | 3172 | (P) An error peculiar to VMS. Something untoward happened in a VMS |
| 5566 | 3173 | system service or RTL routine; Perl's exit status should provide more |
| 5567 | 3174 | details. The filename in "at %s" and the line number in "line %d" tell |
| 5568 | 3175 | you which section of the Perl source code is distressed. |
| 5569 | 3176 | |
| 5570 | 3177 | =end original |
| 5571 | 3178 | |
| 5572 | 3179 | (P) VMS に固有のエラーです。 |
| 5573 | 3180 | 何か都合の悪いことが VMS システムサービスか RTL ルーチンで起こりました; |
| 5574 | 3181 | Perl の終了コードに詳細が示されています。 |
| 5575 | 3182 | "at %s" のファイル名と "line %d" の行番号は、問題の起こった |
| 5576 | 3183 | Perl ソースコードの位置を示しています。 |
| 5577 | 3184 | |
| 5578 | 3185 | =item fcntl is not implemented |
| 5579 | 3186 | |
| 5580 | 3187 | =begin original |
| 5581 | 3188 | |
| 5582 | 3189 | (F) Your machine apparently doesn't implement fcntl(). What is this, a |
| 5583 | 3190 | PDP-11 or something? |
| 5584 | 3191 | |
| 5585 | 3192 | =end original |
| 5586 | 3193 | |
| 5587 | 3194 | (F) このマシンでは、fcntl() が実装されていないように見えます。 |
| 5588 | 3195 | PDP-11 か何かでしょうか。 |
| 5589 | 3196 | |
| 5590 | =item FETCHSIZE returned a negative value | |
| 5591 | ||
| 5592 | =begin original | |
| 5593 | ||
| 5594 | (F) A tied array claimed to have a negative number of elements, which | |
| 5595 | is not possible. | |
| 5596 | ||
| 5597 | =end original | |
| 5598 | ||
| 5599 | (F) tie された配列に対して負の番号の要素を要求されました; これは不可能です。 | |
| 5600 | ||
| 5601 | =item Field too wide in 'u' format in pack | |
| 5602 | ||
| 5603 | =begin original | |
| 5604 | ||
| 5605 | (W pack) Each line in an uuencoded string starts with a length indicator | |
| 5606 | which can't encode values above 63. So there is no point in asking for | |
| 5607 | a line length bigger than that. Perl will behave as if you specified | |
| 5608 | C<u63> as the format. | |
| 5609 | ||
| 5610 | =end original | |
| 5611 | ||
| 5612 | (W pack) uuencode された文字列の各行が、63 以上にエンコードできない | |
| 5613 | 長さ識別子から始まっています。 | |
| 5614 | それで、これより長い行の長さを問い合わせるところがありません。 | |
| 5615 | Perl はフォーマットとして C<u63> が指定されたかのように振る舞います。 | |
| 5616 | ||
| 5617 | =item File::Glob::glob() will disappear in perl 5.30. Use File::Glob::bsd_glob() instead. | |
| 5618 | ||
| 5619 | =begin original | |
| 5620 | ||
| 5621 | (D deprecated) C<< File::Glob >> has a function called C<< glob >>, which | |
| 5622 | just calls C<< bsd_glob >>. However, its prototype is different from the | |
| 5623 | prototype of C<< CORE::glob >>, and hence, C<< File::Glob::glob >> should | |
| 5624 | not be used. | |
| 5625 | ||
| 5626 | =end original | |
| 5627 | ||
| 5628 | (D deprecated) C<< File::Glob >> は C<< glob >> と呼ばれる関数を持っています; | |
| 5629 | これは単に C<< bsd_glob >> を呼び出します。 | |
| 5630 | しかし、そのプロトタイプは C<< CORE::glob >> のプロトタイプと異なるので、 | |
| 5631 | C<< File::Glob::glob >> は使われるべきではありません。 | |
| 5632 | ||
| 5633 | =begin original | |
| 5634 | ||
| 5635 | C<< File::Glob::glob() >> was deprecated in perl 5.8.0. A deprecation | |
| 5636 | message was issued from perl 5.26.0 onwards, and the function will | |
| 5637 | disappear in perl 5.30.0. | |
| 5638 | ||
| 5639 | =end original | |
| 5640 | ||
| 5641 | C<< File::Glob::glob() >> は perl 5.8.0 で廃止予定になりました。 | |
| 5642 | 廃止予定メッセージは perl 5.26.0 以降で出力され、 | |
| 5643 | この関数は perl 5.30.0 で削除される予定です。 | |
| 5644 | ||
| 5645 | =begin original | |
| 5646 | ||
| 5647 | Code using C<< File::Glob::glob() >> should call | |
| 5648 | C<< File::Glob::bsd_glob() >> instead. | |
| 5649 | ||
| 5650 | =end original | |
| 5651 | ||
| 5652 | C<< File::Glob::glob() >> を使っているコードは、代わりに | |
| 5653 | C<< File::Glob::bsd_glob() >> を使う必要があります。 | |
| 5654 | ||
| 5655 | 3197 | =item Filehandle %s opened only for input |
| 5656 | 3198 | |
| 5657 | 3199 | =begin original |
| 5658 | 3200 | |
| 5659 | (W io) You tried to write on a read-only filehandle. If you intended | |
| 3201 | (W io) You tried to write on a read-only filehandle. If you intended it | |
| 5660 | ||
| 3202 | to be a read-write filehandle, you needed to open it with "+<" or "+>" | |
| 5661 | ||
| 3203 | or "+>>" instead of with "<" or nothing. If you intended only to write | |
| 5662 | ||
| 3204 | the file, use ">" or ">>". See L<perlfunc/open>. | |
| 5663 | 3205 | |
| 5664 | 3206 | =end original |
| 5665 | 3207 | |
| 5666 | 3208 | (W io) リードオンリーのファイルハンドルに対して、書込みを行なおうとしました。 |
| 5667 | 3209 | 読み書き両用ファイルハンドルにしたいのであれば、"<" を付けたり、 |
| 5668 | 3210 | 何も付けなかったりするのではなく、"+<" や "+>" や "+>>" を付けて |
| 5669 | 3211 | open する必要があります。 |
| 5670 | 3212 | ライトオンリーであれば、">" や ">>" を使ってください。 |
| 5671 | L<perlfunc/open> を参照してください。 | |
| 3213 | L<perlfunc/open> の項を参照してください。 | |
| 5672 | 3214 | |
| 5673 | 3215 | =item Filehandle %s opened only for output |
| 5674 | 3216 | |
| 5675 | 3217 | =begin original |
| 5676 | 3218 | |
| 5677 | (W io) You tried to read from a filehandle opened only for writing | |
| 3219 | (W io) You tried to read from a filehandle opened only for writing. If | |
| 5678 | 3220 | you intended it to be a read/write filehandle, you needed to open it |
| 5679 | with "+<" or "+>" or "+>>" instead of with " | |
| 3221 | with "+<" or "+>" or "+>>" instead of with "<" or nothing. If you | |
| 5680 | read from the file, use "<". See L<perlfunc/open>. | |
| 3222 | intended only to read from the file, use "<". See L<perlfunc/open>. | |
| 5681 | is that you attempted to open filedescriptor 0 (also known as STDIN) for | |
| 5682 | output (maybe you closed STDIN earlier?). | |
| 5683 | 3223 | |
| 5684 | 3224 | =end original |
| 5685 | 3225 | |
| 5686 | (W io) 書き込み専用のファイルハンドルから読み込もうとしました | |
| 3226 | (W io) 書き込み専用のファイルハンドルから読み込もうとしました。 | |
| 5687 | 読み書きできるファイルハンドルにしたい場合は、 | |
| 3227 | 読み書きできるファイルハンドルにしたい場合は、 | |
| 5688 | " | |
| 3228 | ファイルのオープン時に "<" や何もなしではなく、 | |
| 3229 | "+<" か "+>" か "+>>" をつける必要があります。 | |
| 5689 | 3230 | 読み込み専用にしたい場合は、"<" を使ってください。 |
| 5690 | 3231 | L<perlfunc/open> を参照してください。 |
| 5691 | 他の可能性としては、ファイル記述子 0 (STDIN としても知られています) を | |
| 5692 | 出力用に開こうとした場合(おそらくその前に STDIN を閉じたのでは?)です。 | |
| 5693 | 3232 | |
| 5694 | =item Fi | |
| 3233 | =item Final $ should be \$ or $name | |
| 5695 | 3234 | |
| 5696 | 3235 | =begin original |
| 5697 | 3236 | |
| 5698 | ( | |
| 3237 | (F) You must now decide whether the final $ in a string was meant to be | |
| 5699 | a | |
| 3238 | a literal dollar sign, or was meant to introduce a variable name that | |
| 5700 | p | |
| 3239 | happens to be missing. So you have to put either the backslash or the | |
| 3240 | name. | |
| 5701 | 3241 | |
| 5702 | 3242 | =end original |
| 5703 | 3243 | |
| 5704 | ( | |
| 3244 | (F) 文字列の最後の $ が、リテラルのドル記号なのか、変数名を入れようとして | |
| 5705 | ||
| 3245 | 忘れたのかを、はっきりさせなければなりません。 | |
| 5706 | ||
| 3246 | バックスラッシュを付けるか、名前を入れてください。 | |
| 5707 | 3247 | |
| 5708 | =item Fi | |
| 3248 | =item Final @ should be \@ or @name | |
| 5709 | 3249 | |
| 5710 | 3250 | =begin original |
| 5711 | 3251 | |
| 5712 | ( | |
| 3252 | (F) You must now decide whether the final @ in a string was meant to be | |
| 5713 | a | |
| 3253 | a literal "at" sign, or was meant to introduce a variable name that | |
| 5714 | ||
| 5715 | =end original | |
| 5716 | ||
| 5717 | (W io) STDIN として使われていたのと同じファイルハンドル ID の | |
| 5718 | ファイルハンドルを書き込み用に開こうとしました。 | |
| 5719 | これは、以前 STDIN を閉じたときに起きます。 | |
| 5720 | ||
| 5721 | =item Final $ should be \$ or $name | |
| 5722 | ||
| 5723 | =begin original | |
| 5724 | ||
| 5725 | (F) You must now decide whether the final $ in a string was meant to be | |
| 5726 | a literal dollar sign, or was meant to introduce a variable name that | |
| 5727 | 3254 | happens to be missing. So you have to put either the backslash or the |
| 5728 | 3255 | name. |
| 5729 | 3256 | |
| 5730 | 3257 | =end original |
| 5731 | 3258 | |
| 5732 | (F) 文字列の最後の | |
| 3259 | (F) 文字列の最後の @ が、リテラルのアットマークなのか、変数名を | |
| 5733 | 忘れたのかを、はっきりさせなければなりません。 | |
| 3260 | 入れようとして忘れたのかを、はっきりさせなければなりません。 | |
| 5734 | 3261 | バックスラッシュを付けるか、名前を入れてください。 |
| 5735 | 3262 | |
| 5736 | 3263 | =item flock() on closed filehandle %s |
| 5737 | 3264 | |
| 5738 | 3265 | =begin original |
| 5739 | 3266 | |
| 5740 | 3267 | (W closed) The filehandle you're attempting to flock() got itself closed |
| 5741 | some time before now. Check your | |
| 3268 | some time before now. Check your logic flow. flock() operates on | |
| 5742 | 3269 | filehandles. Are you attempting to call flock() on a dirhandle by the |
| 5743 | 3270 | same name? |
| 5744 | 3271 | |
| 5745 | 3272 | =end original |
| 5746 | 3273 | |
| 5747 | 3274 | (W closed) flock() しようとしたファイルハンドルはその前に既に |
| 5748 | 3275 | 閉じられています。 |
| 5749 | ||
| 3276 | 論理フローをチェックしてください。 | |
| 5750 | 3277 | flock() はファイルハンドルを操作します。 |
| 5751 | 3278 | 同じ名前のディレクトリハンドルに flock() しようとしていませんか? |
| 5752 | 3279 | |
| 3280 | =item Quantifier follows nothing before << HERE in regex m/%s/ | |
| 3281 | ||
| 3282 | =begin original | |
| 3283 | ||
| 3284 | (F) You started a regular expression with a quantifier. Backslash it if you | |
| 3285 | meant it literally. The << HERE shows in the regular expression about where the | |
| 3286 | problem was discovered. See L<perlre>. | |
| 3287 | ||
| 3288 | =end original | |
| 3289 | ||
| 3290 | (F) 正規表現を量指定子で開始しています。 | |
| 3291 | もしそれをリテラルに使いたいなら、バックスラッシュでクォートしてください。 | |
| 3292 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 3293 | L<perlre> を参照してください。 | |
| 3294 | ||
| 5753 | 3295 | =item Format not terminated |
| 5754 | 3296 | |
| 5755 | 3297 | =begin original |
| 5756 | 3298 | |
| 5757 | 3299 | (F) A format must be terminated by a line with a solitary dot. Perl got |
| 5758 | 3300 | to the end of your file without finding such a line. |
| 5759 | 3301 | |
| 5760 | 3302 | =end original |
| 5761 | 3303 | |
| 5762 | 3304 | (F) フォーマットは、単独のドットだけからなる行で終わらなければなりません。 |
| 5763 | 3305 | そのような行が見つからないまま、スクリプトの最後に行き当たってしまいました。 |
| 5764 | 3306 | |
| 5765 | 3307 | =item Format %s redefined |
| 5766 | 3308 | |
| 5767 | 3309 | =begin original |
| 5768 | 3310 | |
| 5769 | 3311 | (W redefine) You redefined a format. To suppress this warning, say |
| 5770 | 3312 | |
| 5771 | 3313 | =end original |
| 5772 | 3314 | |
| 5773 | 3315 | (W redefine) フォーマットを再定義しました。 |
| 5774 | この警告を止めるには以下のようにしてください | |
| 3316 | この警告を止めるには以下のようにしてください。 | |
| 5775 | 3317 | |
| 5776 | 3318 | { |
| 5777 | no warnings | |
| 3319 | no warnings; | |
| 5778 | 3320 | eval "format NAME =..."; |
| 5779 | 3321 | } |
| 5780 | 3322 | |
| 5781 | 3323 | =item Found = in conditional, should be == |
| 5782 | 3324 | |
| 5783 | 3325 | =begin original |
| 5784 | 3326 | |
| 5785 | 3327 | (W syntax) You said |
| 5786 | 3328 | |
| 5787 | 3329 | =end original |
| 5788 | 3330 | |
| 5789 | 3331 | (W) 以下のようにしています: |
| 5790 | 3332 | |
| 5791 | 3333 | if ($foo = 123) |
| 5792 | 3334 | |
| 5793 | 3335 | =begin original |
| 5794 | 3336 | |
| 5795 | 3337 | when you meant |
| 5796 | 3338 | |
| 5797 | 3339 | =end original |
| 5798 | 3340 | |
| 5799 | 以下のようにすべきで | |
| 3341 | 以下のようにするべきところでしょう: | |
| 5800 | 3342 | |
| 5801 | 3343 | if ($foo == 123) |
| 5802 | 3344 | |
| 5803 | 3345 | =begin original |
| 5804 | 3346 | |
| 5805 | 3347 | (or something like that). |
| 5806 | 3348 | |
| 5807 | 3349 | =end original |
| 5808 | 3350 | |
| 5809 | 3351 | (あるいは似たようなこと)。 |
| 5810 | 3352 | |
| 5811 | 3353 | =item %s found where operator expected |
| 5812 | 3354 | |
| 5813 | 3355 | =begin original |
| 5814 | 3356 | |
| 5815 | (S | |
| 3357 | (S) The Perl lexer knows whether to expect a term or an operator. If it | |
| 5816 | ||
| 3358 | sees what it knows to be a term when it was expecting to see an | |
| 5817 | 3359 | operator, it gives you this warning. Usually it indicates that an |
| 5818 | 3360 | operator or delimiter was omitted, such as a semicolon. |
| 5819 | 3361 | |
| 5820 | 3362 | =end original |
| 5821 | 3363 | |
| 5822 | (S | |
| 3364 | (S) Perl の字句解析部は、次に項が来るか、演算子が来るかを知っています。 | |
| 5823 | 知っています。 | |
| 5824 | 3365 | 次に演算子が来ると思っているときに、項であるとわかるものが現れると、 |
| 5825 | 3366 | この警告が出ることになります。 |
| 5826 | 3367 | 通常、演算子かセミコロンのような区切り文字が省略されたことをしめします。 |
| 5827 | 3368 | |
| 5828 | 3369 | =item gdbm store returned %d, errno %d, key "%s" |
| 5829 | 3370 | |
| 5830 | 3371 | =begin original |
| 5831 | 3372 | |
| 5832 | 3373 | (S) A warning from the GDBM_File extension that a store failed. |
| 5833 | 3374 | |
| 5834 | 3375 | =end original |
| 5835 | 3376 | |
| 5836 | 3377 | (S) GDBM_File 拡張モジュールが、値の設定に失敗したという警告です。 |
| 5837 | 3378 | |
| 5838 | 3379 | =item gethostent not implemented |
| 5839 | 3380 | |
| 5840 | 3381 | =begin original |
| 5841 | 3382 | |
| 5842 | 3383 | (F) Your C library apparently doesn't implement gethostent(), probably |
| 5843 | 3384 | because if it did, it'd feel morally obligated to return every hostname |
| 5844 | 3385 | on the Internet. |
| 5845 | 3386 | |
| 5846 | 3387 | =end original |
| 5847 | 3388 | |
| 5848 | (F) C ライブラリに gethostent() が実装されていないようです | |
| 3389 | (F) C ライブラリに gethostent() が実装されていないようです。 | |
| 5849 | 3390 | おそらく、実装すると Internet 上のすべてのホスト名を |
| 5850 | 3391 | 返さなければいけないと思っているのでしょう。 |
| 5851 | 3392 | |
| 5852 | 3393 | =item get%sname() on closed socket %s |
| 5853 | 3394 | |
| 5854 | 3395 | =begin original |
| 5855 | 3396 | |
| 5856 | 3397 | (W closed) You tried to get a socket or peer socket name on a closed |
| 5857 | 3398 | socket. Did you forget to check the return value of your socket() call? |
| 5858 | 3399 | |
| 5859 | 3400 | =end original |
| 5860 | 3401 | |
| 5861 | 3402 | (W closed) 閉じたソケットに対してソケットやピアソケット名を取得しようと |
| 5862 | 3403 | しました。 |
| 5863 | 3404 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか? |
| 5864 | 3405 | |
| 5865 | 3406 | =item getpwnam returned invalid UIC %#o for user "%s" |
| 5866 | 3407 | |
| 5867 | 3408 | =begin original |
| 5868 | 3409 | |
| 5869 | 3410 | (S) A warning peculiar to VMS. The call to C<sys$getuai> underlying the |
| 5870 | 3411 | C<getpwnam> operator returned an invalid UIC. |
| 5871 | 3412 | |
| 5872 | 3413 | =end original |
| 5873 | 3414 | |
| 5874 | 3415 | (S) VMS に固有の警告です。 |
| 5875 | 3416 | C<getpwnam> 演算子の基礎となる C<sys$getuai> 呼び出しで |
| 5876 | 3417 | 不正な UIC が返されました。 |
| 5877 | 3418 | |
| 5878 | 3419 | =item getsockopt() on closed socket %s |
| 5879 | 3420 | |
| 5880 | 3421 | =begin original |
| 5881 | 3422 | |
| 5882 | 3423 | (W closed) You tried to get a socket option on a closed socket. Did you |
| 5883 | 3424 | forget to check the return value of your socket() call? See |
| 5884 | 3425 | L<perlfunc/getsockopt>. |
| 5885 | 3426 | |
| 5886 | 3427 | =end original |
| 5887 | 3428 | |
| 5888 | 3429 | (W clockd) クローズされたソケットのソケットオプションを取得しようとしました。 |
| 5889 | 3430 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
| 5890 | 3431 | L<perlfunc/getsockopt> を参照してください。 |
| 5891 | 3432 | |
| 5892 | =item | |
| 3433 | =item Global symbol "%s" requires explicit package name | |
| 5893 | 3434 | |
| 5894 | 3435 | =begin original |
| 5895 | 3436 | |
| 5896 | ( | |
| 3437 | (F) You've said "use strict vars", which indicates that all variables | |
| 5897 | ||
| 3438 | must either be lexically scoped (using "my"), declared beforehand using | |
| 5898 | ||
| 3439 | "our", or explicitly qualified to say which package the global variable | |
| 5899 | ||
| 3440 | is in (using "::"). | |
| 5900 | 3441 | |
| 5901 | 3442 | =end original |
| 5902 | 3443 | |
| 5903 | ( | |
| 3444 | (F) "use strict vars" が指定されていますので、すべての変数は、 | |
| 5904 | ||
| 3445 | ("my" を使った) 字句スコープの変数か、"our" を使って事前に宣言するか、 | |
| 5905 | ||
| 3446 | グローバル変数がどのパッケージのものかを ("::" を使って)、明示的に | |
| 5906 | ||
| 3447 | 修飾しなくてはなりません。 | |
| 5907 | 3448 | |
| 5908 | =item Global symbol "%s" requires explicit package name (did you forget to | |
| 5909 | declare "my %s"?) | |
| 5910 | ||
| 5911 | =begin original | |
| 5912 | ||
| 5913 | (F) You've said "use strict" or "use strict vars", which indicates | |
| 5914 | that all variables must either be lexically scoped (using "my" or "state"), | |
| 5915 | declared beforehand using "our", or explicitly qualified to say | |
| 5916 | which package the global variable is in (using "::"). | |
| 5917 | ||
| 5918 | =end original | |
| 5919 | ||
| 5920 | (F) "use strict" か "use strict vars" が指定されていますので、すべての変数は | |
| 5921 | ("my" か "state" を使った) レキシカルスコープの変数か、"our" を使って事前に | |
| 5922 | 宣言するか、グローバル変数がどのパッケージのものかを ("::" を使って)、 | |
| 5923 | 明示的に修飾しなくてはなりません。 | |
| 5924 | ||
| 5925 | 3449 | =item glob failed (%s) |
| 5926 | 3450 | |
| 5927 | 3451 | =begin original |
| 5928 | 3452 | |
| 5929 | ( | |
| 3453 | (W glob) Something went wrong with the external program(s) used for | |
| 5930 | ||
| 3454 | C<glob> and C<< <*.c> >>. Usually, this means that you supplied a | |
| 5931 | pattern that caused the external program to fail and exit with a | |
| 3455 | C<glob> pattern that caused the external program to fail and exit with a | |
| 5932 | 3456 | nonzero status. If the message indicates that the abnormal exit |
| 5933 | resulted in a coredump, this may also mean that your csh (C shell) | |
| 3457 | resulted in a coredump, this may also mean that your csh (C shell) is | |
| 5934 | ||
| 3458 | broken. If so, you should change all of the csh-related variables in | |
| 5935 | ||
| 3459 | config.sh: If you have tcsh, make the variables refer to it as if it | |
| 5936 | ||
| 3460 | were csh (e.g. C<full_csh='/usr/bin/tcsh'>); otherwise, make them all | |
| 5937 | ||
| 3461 | empty (except that C<d_csh> should be C<'undef'>) so that Perl will | |
| 5938 | 3462 | think csh is missing. In either case, after editing config.sh, run |
| 5939 | 3463 | C<./Configure -S> and rebuild Perl. |
| 5940 | 3464 | |
| 5941 | 3465 | =end original |
| 5942 | 3466 | |
| 5943 | ( | |
| 3467 | (W glob) C<glob> や C<< <*.c> >> のために使われる外部プログラムに何か問題が | |
| 5944 | 3468 | 発生しました。 |
| 5945 | 3469 | 通常、これは外部プログラムが失敗して非 0 のステータスで終了するような |
| 5946 | 3470 | C<glob> パターンが渡されたことを意味します。 |
| 5947 | 3471 | このメッセージがコアダンプを引きおこした異常終了を示している場合、 |
| 5948 | 3472 | csh (C シェル) が壊れていることを意味しているかもしれません。 |
| 5949 | 3473 | もしそうなら、config.sh の全ての csh 関連の変数を変更するべきです: |
| 5950 | 3474 | もし tcsh があるなら、(C<full_csh='/usr/bin/tcsh'> のように) tcsh を |
| 5951 | 3475 | 参照するように変数を設定します; |
| 5952 | 3476 | さもなければ、関連する全ての変数を空にする(例外として C<d_csh> は |
| 5953 | 3477 | C<'undef'> に設定するべきです)ことで、Perl は csh がないものと考えます。 |
| 5954 | 3478 | どちらの場合でも、config.sh を修正した後、C<./Configure -S> を実行して |
| 5955 | 3479 | Perl を再ビルドしてください。 |
| 5956 | 3480 | |
| 5957 | 3481 | =item Glob not terminated |
| 5958 | 3482 | |
| 5959 | 3483 | =begin original |
| 5960 | 3484 | |
| 5961 | 3485 | (F) The lexer saw a left angle bracket in a place where it was expecting |
| 5962 | 3486 | a term, so it's looking for the corresponding right angle bracket, and |
| 5963 | 3487 | not finding it. Chances are you left some needed parentheses out |
| 5964 | 3488 | earlier in the line, and you really meant a "less than". |
| 5965 | 3489 | |
| 5966 | 3490 | =end original |
| 5967 | 3491 | |
| 5968 | (F) 項が必要とされるところで、開き山 | |
| 3492 | (F) 項が必要とされるところで、開き山括弧が見つけたため、 | |
| 5969 | 対応する閉じ山 | |
| 3493 | 対応する閉じ山括弧を探しましたが、見つかりませんでした。 | |
| 5970 | 可能性としては、必要な | |
| 3494 | 可能性としては、必要な括弧を省いてしまい、本当は、「小なり記号」を | |
| 5971 | 3495 | 表したかった場合が考えられます。 |
| 5972 | 3496 | |
| 5973 | =item gmtime(%f) failed | |
| 5974 | ||
| 5975 | =begin original | |
| 5976 | ||
| 5977 | (W overflow) You called C<gmtime> with a number that it could not handle: | |
| 5978 | too large, too small, or NaN. The returned value is C<undef>. | |
| 5979 | ||
| 5980 | =end original | |
| 5981 | ||
| 5982 | (W overflow) 扱えない数値で C<gmtime> を呼び出しました: 大きすぎたり | |
| 5983 | 小さすぎたり NaN だったりです。 | |
| 5984 | 返り値は C<undef> です。 | |
| 5985 | ||
| 5986 | =item gmtime(%f) too large | |
| 5987 | ||
| 5988 | =begin original | |
| 5989 | ||
| 5990 | (W overflow) You called C<gmtime> with a number that was larger than | |
| 5991 | it can reliably handle and C<gmtime> probably returned the wrong | |
| 5992 | date. This warning is also triggered with NaN (the special | |
| 5993 | not-a-number value). | |
| 5994 | ||
| 5995 | =end original | |
| 5996 | ||
| 5997 | (W overflow) 確実に扱えるよりも大きい数値の引数で C<gmtime> を呼び出して、 | |
| 5998 | おそらく間違った日付が返されました。 | |
| 5999 | この警告は、NaN (特殊な非数) でも引き起こされます。 | |
| 6000 | ||
| 6001 | =item gmtime(%f) too small | |
| 6002 | ||
| 6003 | =begin original | |
| 6004 | ||
| 6005 | (W overflow) You called C<gmtime> with a number that was smaller than | |
| 6006 | it can reliably handle and C<gmtime> probably returned the wrong date. | |
| 6007 | ||
| 6008 | =end original | |
| 6009 | ||
| 6010 | (W overflow) 確実に扱えるよりも大きい数値の引数で C<gmtime> を呼び出して、 | |
| 6011 | おそらく間違った日付が返されました。 | |
| 6012 | ||
| 6013 | 3497 | =item Got an error from DosAllocMem |
| 6014 | 3498 | |
| 6015 | 3499 | =begin original |
| 6016 | 3500 | |
| 6017 | 3501 | (P) An error peculiar to OS/2. Most probably you're using an obsolete |
| 6018 | 3502 | version of Perl, and this should not happen anyway. |
| 6019 | 3503 | |
| 6020 | 3504 | =end original |
| 6021 | 3505 | |
| 6022 | 3506 | (P) OS/2 に固有のエラーです。 |
| 6023 | 3507 | もっともありそうなのは廃止されたバージョンの Perl を使っていることで、 |
| 6024 | 3508 | どちらにしてもこのエラーは起きないはずです。 |
| 6025 | 3509 | |
| 6026 | 3510 | =item goto must have label |
| 6027 | 3511 | |
| 6028 | 3512 | =begin original |
| 6029 | 3513 | |
| 6030 | 3514 | (F) Unlike with "next" or "last", you're not allowed to goto an |
| 6031 | 3515 | unspecified destination. See L<perlfunc/goto>. |
| 6032 | 3516 | |
| 6033 | 3517 | =end original |
| 6034 | 3518 | |
| 6035 | 3519 | (F) "next" や "last" とは違って、goto には必ず、飛び先を |
| 6036 | 3520 | 指定しなくてはなりません。 |
| 6037 | 3521 | L<perlfunc/goto> を参照してください。 |
| 6038 | 3522 | |
| 6039 | =item | |
| 3523 | =item %s had compilation errors | |
| 6040 | 3524 | |
| 6041 | 3525 | =begin original |
| 6042 | 3526 | |
| 6043 | (F) You tried to call a subroutine with C<goto &sub> syntax, but | |
| 6044 | the indicated subroutine hasn't been defined, or if it was, it | |
| 6045 | has since been undefined. | |
| 6046 | ||
| 6047 | =end original | |
| 6048 | ||
| 6049 | (F) C<goto &sub> 文法でサブルーチンを呼び出そうとしましたが、示された | |
| 6050 | サブルーチンは定義されていないか、定義されていましたが未定義化されました。 | |
| 6051 | ||
| 6052 | =item Group name must start with a non-digit word character in regex; marked by | |
| 6053 | S<<-- HERE> in m/%s/ | |
| 6054 | ||
| 6055 | =begin original | |
| 6056 | ||
| 6057 | (F) Group names must follow the rules for perl identifiers, meaning | |
| 6058 | they must start with a non-digit word character. A common cause of | |
| 6059 | this error is using (?&0) instead of (?0). See L<perlre>. | |
| 6060 | ||
| 6061 | =end original | |
| 6062 | ||
| 6063 | (F) グループ名は perl 識別子の規則に従う必要があり、非数値単語文字で | |
| 6064 | 始まらなければなりません。 | |
| 6065 | このエラーのよくある原因は (?0) ではなく (?&0) を使うことです。 | |
| 6066 | L<perlre> を参照してください。 | |
| 6067 | ||
| 6068 | =item ()-group starts with a count | |
| 6069 | ||
| 6070 | =begin original | |
| 6071 | ||
| 6072 | (F) A ()-group started with a count. A count is supposed to follow | |
| 6073 | something: a template character or a ()-group. See L<perlfunc/pack>. | |
| 6074 | ||
| 6075 | =end original | |
| 6076 | ||
| 6077 | (F) () グループが繰り返し数で始まっています。 | |
| 6078 | 繰り返し数は、テンプレート文字か () グループの後に続くことを想定しています。 | |
| 6079 | L<perlfunc/pack> を参照してください。 | |
| 6080 | ||
| 6081 | =item %s had compilation errors. | |
| 6082 | ||
| 6083 | =begin original | |
| 6084 | ||
| 6085 | 3527 | (F) The final summary message when a C<perl -c> fails. |
| 6086 | 3528 | |
| 6087 | 3529 | =end original |
| 6088 | 3530 | |
| 6089 | 3531 | (F) C<perl -c> が失敗したときの最終まとめメッセージです。 |
| 6090 | 3532 | |
| 6091 | 3533 | =item Had to create %s unexpectedly |
| 6092 | 3534 | |
| 6093 | 3535 | =begin original |
| 6094 | 3536 | |
| 6095 | 3537 | (S internal) A routine asked for a symbol from a symbol table that ought |
| 6096 | 3538 | to have existed already, but for some reason it didn't, and had to be |
| 6097 | 3539 | created on an emergency basis to prevent a core dump. |
| 6098 | 3540 | |
| 6099 | 3541 | =end original |
| 6100 | 3542 | |
| 6101 | 3543 | (S internal) あるルーティンが、既に存在しているはずのシンボルを、 |
| 6102 | 3544 | シンボルテーブルで探しましたが、何らかの理由で存在せず、 |
| 6103 | 3545 | コアダンプを避けるために、緊急に生成しました。 |
| 6104 | 3546 | |
| 6105 | =item %s | |
| 3547 | =item Hash %%s missing the % in argument %d of %s() | |
| 6106 | 3548 | |
| 6107 | 3549 | =begin original |
| 6108 | 3550 | |
| 6109 | ( | |
| 3551 | (D deprecated) Really old Perl let you omit the % on hash names in some | |
| 6110 | ||
| 3552 | spots. This is now heavily deprecated. | |
| 6111 | 3553 | |
| 6112 | 3554 | =end original |
| 6113 | 3555 | |
| 6114 | ( | |
| 3556 | (D deprecated) 本当に古い Perl では、ハッシュ名の % を省略できる場所が | |
| 6115 | ||
| 3557 | ありました。 | |
| 6116 | ||
| 3558 | 省略はしないようにしてください。 | |
| 6117 | 3559 | |
| 6118 | =item | |
| 3560 | =item %s has too many errors | |
| 6119 | 3561 | |
| 6120 | 3562 | =begin original |
| 6121 | 3563 | |
| 6122 | ( | |
| 3564 | (F) The parser has given up trying to parse the program after 10 errors. | |
| 6123 | th | |
| 3565 | Further error messages would likely be uninformative. | |
| 6124 | 3566 | |
| 6125 | 3567 | =end original |
| 6126 | 3568 | |
| 6127 | ( | |
| 3569 | (F) 構文解析部が、プログラム中に 10 個のエラーを見つけたため、 | |
| 6128 | ||
| 3570 | それ以上の解析を諦めました。 | |
| 3571 | それ以上のエラーメッセージは、おそらく意味がないでしょう。 | |
| 6129 | 3572 | |
| 6130 | =item Hexadecimal float: exponent underflow | |
| 6131 | ||
| 6132 | =begin original | |
| 6133 | ||
| 6134 | (W overflow) The hexadecimal floating point has a smaller exponent | |
| 6135 | than the floating point supports. With the IEEE 754 floating point, | |
| 6136 | this may also mean that the subnormals (formerly known as denormals) | |
| 6137 | are being used, which may or may not be an error. | |
| 6138 | ||
| 6139 | =end original | |
| 6140 | ||
| 6141 | (W overflow) 16 進浮動小数点数は、対応している浮動小数点数よりも大きな | |
| 6142 | 指数を持っています。 | |
| 6143 | IEEE 754 浮動小数点では、正規化数が使われたことを意味するかもしれません; | |
| 6144 | どちらにしろエラーです。 | |
| 6145 | ||
| 6146 | =item Hexadecimal float: internal error (%s) | |
| 6147 | ||
| 6148 | =begin original | |
| 6149 | ||
| 6150 | (F) Something went horribly bad in hexadecimal float handling. | |
| 6151 | ||
| 6152 | =end original | |
| 6153 | ||
| 6154 | (F) 16 進浮動小数点の扱いにおいて何かが恐ろしくおかしくなりました。 | |
| 6155 | ||
| 6156 | =item Hexadecimal float: mantissa overflow | |
| 6157 | ||
| 6158 | =begin original | |
| 6159 | ||
| 6160 | (W overflow) The hexadecimal floating point literal had more bits in | |
| 6161 | the mantissa (the part between the 0x and the exponent, also known as | |
| 6162 | the fraction or the significand) than the floating point supports. | |
| 6163 | ||
| 6164 | =end original | |
| 6165 | ||
| 6166 | (W overflow) 16 進浮動小数点数リテラルは、仮数部 (0x と指数部の間の部分) に | |
| 6167 | 浮動小数点数が対応しているよりも多いビット数があります。 | |
| 6168 | ||
| 6169 | =item Hexadecimal float: precision loss | |
| 6170 | ||
| 6171 | =begin original | |
| 6172 | ||
| 6173 | (W overflow) The hexadecimal floating point had internally more | |
| 6174 | digits than could be output. This can be caused by unsupported | |
| 6175 | long double formats, or by 64-bit integers not being available | |
| 6176 | (needed to retrieve the digits under some configurations). | |
| 6177 | ||
| 6178 | =end original | |
| 6179 | ||
| 6180 | (W overflow) 16 進浮動小数点数リテラルは内部では出力可能なものより | |
| 6181 | 多くの桁数を保持しています。 | |
| 6182 | これは未対応の long double 形式や、(設定によっては受け取る必要のある) | |
| 6183 | 利用できない 64 ビット整数によって引き起こされます。 | |
| 6184 | ||
| 6185 | =item Hexadecimal float: unsupported long double format | |
| 6186 | ||
| 6187 | =begin original | |
| 6188 | ||
| 6189 | (F) You have configured Perl to use long doubles but | |
| 6190 | the internals of the long double format are unknown; | |
| 6191 | therefore the hexadecimal float output is impossible. | |
| 6192 | ||
| 6193 | =end original | |
| 6194 | ||
| 6195 | (F) long double を使うように設定された Perl を使っていますが、 | |
| 6196 | long double の内部形式が不明です; 従って 16 進浮動小数点数出力は | |
| 6197 | 不可能です。 | |
| 6198 | ||
| 6199 | 3573 | =item Hexadecimal number > 0xffffffff non-portable |
| 6200 | 3574 | |
| 6201 | 3575 | =begin original |
| 6202 | 3576 | |
| 6203 | 3577 | (W portable) The hexadecimal number you specified is larger than 2**32-1 |
| 6204 | 3578 | (4294967295) and therefore non-portable between systems. See |
| 6205 | 3579 | L<perlport> for more on portability concerns. |
| 6206 | 3580 | |
| 6207 | 3581 | =end original |
| 6208 | 3582 | |
| 6209 | 3583 | (W portable) 指定した 16 進数が 2**32-1 (4294967295) より大きいので、 |
| 6210 | 3584 | システム間で移植性がありません。 |
| 6211 | 3585 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
| 6212 | 3586 | |
| 6213 | 3587 | =item Identifier too long |
| 6214 | 3588 | |
| 6215 | 3589 | =begin original |
| 6216 | 3590 | |
| 6217 | 3591 | (F) Perl limits identifiers (names for variables, functions, etc.) to |
| 6218 | 3592 | about 250 characters for simple names, and somewhat more for compound |
| 6219 | 3593 | names (like C<$A::B>). You've exceeded Perl's limits. Future versions |
| 6220 | 3594 | of Perl are likely to eliminate these arbitrary limitations. |
| 6221 | 3595 | |
| 6222 | 3596 | =end original |
| 6223 | 3597 | |
| 6224 | 3598 | (F) Perl は識別子(変数名や関数名など)について、単純な名前については |
| 6225 | 3599 | およそ 250 文字に、(C<$A::B> のような)複合名についてはもう少し長い長さに |
| 6226 | 3600 | 制限しています。 |
| 6227 | 3601 | この Perl の制限を越えました。 |
| 6228 | 3602 | 将来のバージョンの Perl ではこれらの恣意的な制限はなくなるでしょう。 |
| 6229 | 3603 | |
| 6230 | =item I | |
| 3604 | =item Illegal binary digit %s | |
| 6231 | S<<-- HERE> in m/%s/ | |
| 6232 | 3605 | |
| 6233 | 3606 | =begin original |
| 6234 | 3607 | |
| 6235 | (W regexp) Named Unicode character escapes (C<\N{...}>) may return a | |
| 6236 | zero-length sequence. When such an escape is used in a character | |
| 6237 | class its behavior is not well defined. Check that the correct | |
| 6238 | escape has been used, and the correct charname handler is in scope. | |
| 6239 | ||
| 6240 | =end original | |
| 6241 | ||
| 6242 | (W regexp) 名前付き Unicode 文字エスケープ (C<\N{...}>) が長さ 0 の | |
| 6243 | シーケンスを返しました。 | |
| 6244 | 文字クラスでこのようなエスケープが使われた場合、振る舞いは未定義です。 | |
| 6245 | 正しいエスケープを使っているか、および正しい文字名ハンドラがスコープ内に | |
| 6246 | あるかをチェックしてください。 | |
| 6247 | ||
| 6248 | =item Illegal binary digit '%c' | |
| 6249 | ||
| 6250 | =begin original | |
| 6251 | ||
| 6252 | 3608 | (F) You used a digit other than 0 or 1 in a binary number. |
| 6253 | 3609 | |
| 6254 | 3610 | =end original |
| 6255 | 3611 | |
| 6256 | 3612 | (F) 2 進数として 0 と 1 以外の数値を使っています。 |
| 6257 | 3613 | |
| 6258 | 3614 | =item Illegal binary digit %s ignored |
| 6259 | 3615 | |
| 6260 | 3616 | =begin original |
| 6261 | 3617 | |
| 6262 | 3618 | (W digit) You may have tried to use a digit other than 0 or 1 in a |
| 6263 | 3619 | binary number. Interpretation of the binary number stopped before the |
| 6264 | 3620 | offending digit. |
| 6265 | 3621 | |
| 6266 | 3622 | =end original |
| 6267 | 3623 | |
| 6268 | 3624 | (W digit) 2 進数として 0 と 1 以外の数値を使おうとしたのでしょう。 |
| 6269 | 3625 | 2 進数の解釈は問題のある数値の手前で停止しました。 |
| 6270 | 3626 | |
| 6271 | =item Illegal character a | |
| 3627 | =item Illegal character %s (carriage return) | |
| 6272 | 3628 | |
| 6273 | 3629 | =begin original |
| 6274 | 3630 | |
| 6275 | ( | |
| 3631 | (F) Perl normally treats carriage returns in the program text as it | |
| 6276 | ||
| 3632 | would any other whitespace, which means you should never see this error | |
| 6277 | ||
| 3633 | when Perl was built using standard options. For some reason, your | |
| 6278 | ||
| 3634 | version of Perl appears to have been built without this support. Talk | |
| 3635 | to your Perl administrator. | |
| 6279 | 3636 | |
| 6280 | 3637 | =end original |
| 6281 | 3638 | |
| 6282 | (W illegalproto) プロトタイプ宣言に無効な文字が見つかりました。 | |
| 6283 | プロトタイプの中の '_' は、残りの引数がオプションであることを示すために | |
| 6284 | ';' が引き続くか、'@' か '%' の一つでなければなりません; | |
| 6285 | これら二つは 0 以上の末尾の引数を受け付けるからです。 | |
| 6286 | ||
| 6287 | =item Illegal character \%o (carriage return) | |
| 6288 | ||
| 6289 | =begin original | |
| 6290 | ||
| 6291 | (F) Perl normally treats carriage returns in the program text as | |
| 6292 | it would any other whitespace, which means you should never see | |
| 6293 | this error when Perl was built using standard options. For some | |
| 6294 | reason, your version of Perl appears to have been built without | |
| 6295 | this support. Talk to your Perl administrator. | |
| 6296 | ||
| 6297 | =end original | |
| 6298 | ||
| 6299 | 3639 | (F) Perl は普通プログラムテキスト中の復帰文字をその他の空白と同様に |
| 6300 | 3640 | 扱いますので、Perl を標準のオプションでビルドした場合はこのエラーを |
| 6301 | 3641 | 見ることは決してないはずです。 |
| 6302 | 3642 | どういうわけか、お使いの Perl はこの機能なしでビルドされているようです。 |
| 6303 | 3643 | Perl の管理者に問い合わせてください。 |
| 6304 | 3644 | |
| 6305 | =item Illegal character following sigil in a subroutine signature | |
| 6306 | ||
| 6307 | =begin original | |
| 6308 | ||
| 6309 | (F) A parameter in a subroutine signature contained an unexpected character | |
| 6310 | following the C<$>, C<@> or C<%> sigil character. Normally the sigil | |
| 6311 | should be followed by the variable name or C<=> etc. Perhaps you are | |
| 6312 | trying use a prototype while in the scope of C<use feature 'signatures'>? | |
| 6313 | For example: | |
| 6314 | ||
| 6315 | =end original | |
| 6316 | ||
| 6317 | (F) サブルーチンシグネチャの引数は、C<$>, C<@>, C<%> 印文字に引き続いて | |
| 6318 | 想定外の文字がありました。 | |
| 6319 | 通常は、印には変数名や C<=> などが引き続くはずです。 | |
| 6320 | おそらく C<use feature 'signatures'> のスコープ内で | |
| 6321 | プロトタイプを使おうとしたのでは? | |
| 6322 | 例えば: | |
| 6323 | ||
| 6324 | sub foo ($$) {} # legal - a prototype | |
| 6325 | ||
| 6326 | use feature 'signatures; | |
| 6327 | sub foo ($$) {} # illegal - was expecting a signature | |
| 6328 | sub foo ($a, $b) | |
| 6329 | :prototype($$) {} # legal | |
| 6330 | ||
| 6331 | =item Illegal character in prototype for %s : %s | |
| 6332 | ||
| 6333 | =begin original | |
| 6334 | ||
| 6335 | (W illegalproto) An illegal character was found in a prototype declaration. | |
| 6336 | Legal characters in prototypes are $, @, %, *, ;, [, ], &, \, and +. | |
| 6337 | Perhaps you were trying to write a subroutine signature but didn't enable | |
| 6338 | that feature first (C<use feature 'signatures'>), so your signature was | |
| 6339 | instead interpreted as a bad prototype. | |
| 6340 | ||
| 6341 | =end original | |
| 6342 | ||
| 6343 | (W illegalproto) プロトタイプ宣言に無効な文字が見つかりました。 | |
| 6344 | プロトタイプでの有効な文字は、$, @, %, *, ;, [, ], &, \, + です。 | |
| 6345 | おそらくサブルーチンシグネチャを書こうとしたけれども、先にこの機能を有効に | |
| 6346 | していなかった (C<use feature 'signatures'>) ので、シグネチャが間違った | |
| 6347 | プロトタイプとして解釈されたのでしょう。 | |
| 6348 | ||
| 6349 | =item Illegal declaration of anonymous subroutine | |
| 6350 | ||
| 6351 | =begin original | |
| 6352 | ||
| 6353 | (F) When using the C<sub> keyword to construct an anonymous subroutine, | |
| 6354 | you must always specify a block of code. See L<perlsub>. | |
| 6355 | ||
| 6356 | =end original | |
| 6357 | ||
| 6358 | (F) 無名サブルーチンを作るために C<sub> を使ったときは、 | |
| 6359 | 常にコードのブロックを指定しなければなりません。 | |
| 6360 | L<perlsub> を参照してください。 | |
| 6361 | ||
| 6362 | =item Illegal declaration of subroutine %s | |
| 6363 | ||
| 6364 | =begin original | |
| 6365 | ||
| 6366 | (F) A subroutine was not declared correctly. See L<perlsub>. | |
| 6367 | ||
| 6368 | =end original | |
| 6369 | ||
| 6370 | (F) サブルーチンが正しく宣言されていません。 | |
| 6371 | L<perlsub> を参照してください。 | |
| 6372 | ||
| 6373 | 3645 | =item Illegal division by zero |
| 6374 | 3646 | |
| 6375 | 3647 | =begin original |
| 6376 | 3648 | |
| 6377 | 3649 | (F) You tried to divide a number by 0. Either something was wrong in |
| 6378 | 3650 | your logic, or you need to put a conditional in to guard against |
| 6379 | 3651 | meaningless input. |
| 6380 | 3652 | |
| 6381 | 3653 | =end original |
| 6382 | 3654 | |
| 6383 | 3655 | (F) ゼロで割り算をしようとしました。 |
| 6384 | 3656 | ロジックの誤りか、意味の無い入力を防ぐために、条件を付けることが |
| 6385 | 3657 | 必要かのどちらかでしょう。 |
| 6386 | 3658 | |
| 6387 | 3659 | =item Illegal hexadecimal digit %s ignored |
| 6388 | 3660 | |
| 6389 | 3661 | =begin original |
| 6390 | 3662 | |
| 6391 | 3663 | (W digit) You may have tried to use a character other than 0 - 9 or |
| 6392 | 3664 | A - F, a - f in a hexadecimal number. Interpretation of the hexadecimal |
| 6393 | 3665 | number stopped before the illegal character. |
| 6394 | 3666 | |
| 6395 | 3667 | =end original |
| 6396 | 3668 | |
| 6397 | 3669 | (W digit) 16 進数として 0 - 9, A - F, a - f 以外の文字を使おうとしました。 |
| 6398 | 3670 | 16 進数の解釈は不正な文字の手前で停止しました。 |
| 6399 | 3671 | |
| 6400 | 3672 | =item Illegal modulus zero |
| 6401 | 3673 | |
| 6402 | 3674 | =begin original |
| 6403 | 3675 | |
| 6404 | 3676 | (F) You tried to divide a number by 0 to get the remainder. Most |
| 6405 | 3677 | numbers don't take to this kindly. |
| 6406 | 3678 | |
| 6407 | 3679 | =end original |
| 6408 | 3680 | |
| 6409 | 3681 | (F) 余りを求めるのに、ゼロで割り算をしようとしました。 |
| 6410 | 3682 | これは、ほとんどの数体系で受け入れられません。 |
| 6411 | 3683 | |
| 6412 | 3684 | =item Illegal number of bits in vec |
| 6413 | 3685 | |
| 6414 | 3686 | =begin original |
| 6415 | 3687 | |
| 6416 | 3688 | (F) The number of bits in vec() (the third argument) must be a power of |
| 6417 | 3689 | two from 1 to 32 (or 64, if your platform supports that). |
| 6418 | 3690 | |
| 6419 | 3691 | =end original |
| 6420 | 3692 | |
| 6421 | 3693 | (F) vec() のビット数 (第三引数) は 1 から 32 (プラットフォームが |
| 6422 | 3694 | 対応している場合は 64) までの、2 のべき乗でなければなりません。 |
| 6423 | 3695 | |
| 6424 | =item Illegal octal digit | |
| 3696 | =item Illegal octal digit %s | |
| 6425 | 3697 | |
| 6426 | 3698 | =begin original |
| 6427 | 3699 | |
| 6428 | (F) You used an 8 or 9 in a | |
| 3700 | (F) You used an 8 or 9 in a octal number. | |
| 6429 | 3701 | |
| 6430 | 3702 | =end original |
| 6431 | 3703 | |
| 6432 | 3704 | (F) 8 進数で 8 か 9 を使いました。 |
| 6433 | 3705 | |
| 6434 | 3706 | =item Illegal octal digit %s ignored |
| 6435 | 3707 | |
| 6436 | 3708 | =begin original |
| 6437 | 3709 | |
| 6438 | (W digit) You may have tried to use an 8 or 9 in a | |
| 3710 | (W digit) You may have tried to use an 8 or 9 in a octal number. | |
| 6439 | 3711 | Interpretation of the octal number stopped before the 8 or 9. |
| 6440 | 3712 | |
| 6441 | 3713 | =end original |
| 6442 | 3714 | |
| 6443 | 3715 | (W digit) 8 進数で 8 か 9 を使おうとしたのでしょう。 |
| 6444 | 3716 | 8 進数の解釈は 8 か 9 の手前で停止しました。 |
| 6445 | 3717 | |
| 6446 | =item Illegal | |
| 3718 | =item Illegal switch in PERL5OPT: %s | |
| 6447 | 3719 | |
| 6448 | 3720 | =begin original |
| 6449 | 3721 | |
| 6450 | (F) A parameter in a subroutine signature, was followed by something | |
| 6451 | other than C<=> introducing a default, C<,> or C<)>. | |
| 6452 | ||
| 6453 | =end original | |
| 6454 | ||
| 6455 | (F) サブルーチンシグネチャで引数に引き続いて、デフォルトを導入する | |
| 6456 | C<=>, C<,>, C<)> 以外のものがありました。 | |
| 6457 | ||
| 6458 | use feature 'signatures'; | |
| 6459 | sub foo ($=1) {} # legal | |
| 6460 | sub foo ($a = 1) {} # legal | |
| 6461 | sub foo ($a += 1) {} # illegal | |
| 6462 | sub foo ($a == 1) {} # illegal | |
| 6463 | ||
| 6464 | =item Illegal pattern in regex; marked by S<<-- HERE> in m/%s/ | |
| 6465 | ||
| 6466 | =begin original | |
| 6467 | ||
| 6468 | (F) You wrote something like | |
| 6469 | ||
| 6470 | =end original | |
| 6471 | ||
| 6472 | (F) 以下のようなものを書きました | |
| 6473 | ||
| 6474 | (?+foo) | |
| 6475 | ||
| 6476 | =begin original | |
| 6477 | ||
| 6478 | The C<"+"> is valid only when followed by digits, indicating a | |
| 6479 | capturing group. See | |
| 6480 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)>. | |
| 6481 | ||
| 6482 | =end original | |
| 6483 | ||
| 6484 | C<"+"> は捕捉グループを示すために数値が引き続く場合にのみ正当です。 | |
| 6485 | L<C<(?I<PARNO>)>|perlre/(?PARNO) (?-PARNO) (?+PARNO) (?R) (?0)> を | |
| 6486 | 参照してください。 | |
| 6487 | ||
| 6488 | =item Illegal suidscript | |
| 6489 | ||
| 6490 | =begin original | |
| 6491 | ||
| 6492 | (F) The script run under suidperl was somehow illegal. | |
| 6493 | ||
| 6494 | =end original | |
| 6495 | ||
| 6496 | (F) suidperl でのスクリプトの実行が何らかの理由で不正でした。 | |
| 6497 | ||
| 6498 | =item Illegal switch in PERL5OPT: -%c | |
| 6499 | ||
| 6500 | =begin original | |
| 6501 | ||
| 6502 | 3722 | (X) The PERL5OPT environment variable may only be used to set the |
| 6503 | following switches: B<-[ | |
| 3723 | following switches: B<-[DIMUdmw]>. | |
| 6504 | 3724 | |
| 6505 | 3725 | =end original |
| 6506 | 3726 | |
| 6507 | (X) PERL5OPT 環境変数で設定できるのは B<-[ | |
| 3727 | (X) PERL5OPT 環境変数で設定できるのは B<-[DIMUdmw]> の | |
| 3728 | オプションだけです。 | |
| 6508 | 3729 | |
| 6509 | =item Illegal user-defined property name | |
| 6510 | ||
| 6511 | =begin original | |
| 6512 | ||
| 6513 | (F) You specified a Unicode-like property name in a regular expression | |
| 6514 | pattern (using C<\p{}> or C<\P{}>) that Perl knows isn't an official | |
| 6515 | Unicode property, and was likely meant to be a user-defined property | |
| 6516 | name, but it can't be one of those, as they must begin with either C<In> | |
| 6517 | or C<Is>. Check the spelling. See also | |
| 6518 | L</Can't find Unicode property definition "%s">. | |
| 6519 | ||
| 6520 | =end original | |
| 6521 | ||
| 6522 | (F) (C<\p{}> や C<\P{}> を使って) 正規表現中に Perl が | |
| 6523 | 公式 Unicode 特性として知らない Unicode 風の特性姪を指定して、 | |
| 6524 | おそらくそれはユーザー定義特性を意味しているのでしょうが、 | |
| 6525 | しかし、それらは C<In> か C<Is> で始まっていなければならないので、 | |
| 6526 | そうなりません。 | |
| 6527 | スペルを確認してください。 | |
| 6528 | L</Can't find Unicode property definition "%s"> も参照してください。 | |
| 6529 | ||
| 6530 | 3730 | =item Ill-formed CRTL environ value "%s" |
| 6531 | 3731 | |
| 6532 | 3732 | =begin original |
| 6533 | 3733 | |
| 6534 | 3734 | (W internal) A warning peculiar to VMS. Perl tried to read the CRTL's |
| 6535 | 3735 | internal environ array, and encountered an element without the C<=> |
| 6536 | 3736 | delimiter used to separate keys from values. The element is ignored. |
| 6537 | 3737 | |
| 6538 | 3738 | =end original |
| 6539 | 3739 | |
| 6540 | (W internal) VMS | |
| 3740 | (W internal) VMS 固有の警告です。 | |
| 6541 | 3741 | Perl は CRTL の内部環境配列を読み込もうとしましたが、キーを値と |
| 6542 | 3742 | 分離するために使われている C<=> デリミタのない要素に遭遇しました。 |
| 6543 | 3743 | この要素は無視しました。 |
| 6544 | 3744 | |
| 6545 | 3745 | =item Ill-formed message in prime_env_iter: |%s| |
| 6546 | 3746 | |
| 6547 | 3747 | =begin original |
| 6548 | 3748 | |
| 6549 | 3749 | (W internal) A warning peculiar to VMS. Perl tried to read a logical |
| 6550 | 3750 | name or CLI symbol definition when preparing to iterate over %ENV, and |
| 6551 | 3751 | didn't see the expected delimiter between key and value, so the line was |
| 6552 | 3752 | ignored. |
| 6553 | 3753 | |
| 6554 | 3754 | =end original |
| 6555 | 3755 | |
| 6556 | (W internal) VMS | |
| 3756 | (W internal) VMS 固有の警告です。 | |
| 6557 | 3757 | Perl は %ENV を反復する準備したときに論理名や CLI シンボル定義を |
| 6558 | 3758 | 読み込もうとしましたが、キーと値の間のデリミタが見つからなかったので、 |
| 6559 | 3759 | その行は無視しました。 |
| 6560 | 3760 | |
| 6561 | 3761 | =item (in cleanup) %s |
| 6562 | 3762 | |
| 6563 | 3763 | =begin original |
| 6564 | 3764 | |
| 6565 | 3765 | (W misc) This prefix usually indicates that a DESTROY() method raised |
| 6566 | 3766 | the indicated exception. Since destructors are usually called by the |
| 6567 | 3767 | system at arbitrary points during execution, and often a vast number of |
| 6568 | 3768 | times, the warning is issued only once for any number of failures that |
| 6569 | 3769 | would otherwise result in the same message being repeated. |
| 6570 | 3770 | |
| 6571 | 3771 | =end original |
| 6572 | 3772 | |
| 6573 | 3773 | (W misc) この接頭辞は普通、示されている例外が DESTROY() メソッドで |
| 6574 | 3774 | 発生したことを示しています。 |
| 6575 | 3775 | デストラクタは普通実行中の任意の時点で呼び出され、しばしば大量に |
| 6576 | 3776 | 呼び出されるので、この警告は同じメッセージが繰り返されないように、 |
| 6577 | 3777 | 何回失敗しても一度だけ発生します。 |
| 6578 | 3778 | |
| 6579 | 3779 | =begin original |
| 6580 | 3780 | |
| 6581 | 3781 | Failure of user callbacks dispatched using the C<G_KEEPERR> flag could |
| 6582 | 3782 | also result in this warning. See L<perlcall/G_KEEPERR>. |
| 6583 | 3783 | |
| 6584 | 3784 | =end original |
| 6585 | 3785 | |
| 6586 | C<G_KEEPERR> フラグを使って | |
| 3786 | C<G_KEEPERR> フラグを使ってディスパッチしたユーザーコールバックに失敗した | |
| 6587 | 3787 | 場合にもこの警告が出ることがあります。 |
| 6588 | 3788 | L<perlcall/G_KEEPERR> を参照してください。 |
| 6589 | 3789 | |
| 6590 | =item Incomplete expression within '(?[ ])' in regex; marked by S<<-- HERE> | |
| 6591 | in m/%s/ | |
| 6592 | ||
| 6593 | =begin original | |
| 6594 | ||
| 6595 | (F) There was a syntax error within the C<(?[ ])>. This can happen if the | |
| 6596 | expression inside the construct was completely empty, or if there are | |
| 6597 | too many or few operands for the number of operators. Perl is not smart | |
| 6598 | enough to give you a more precise indication as to what is wrong. | |
| 6599 | ||
| 6600 | =end original | |
| 6601 | ||
| 6602 | (F) これは C<(?[ ])> の中の文法エラーです。 | |
| 6603 | これは、この構文の中の式が完全に空か、演算子の数に対してオペランドが多すぎたり | |
| 6604 | 少なすぎたりする場合に起こります。 | |
| 6605 | Perl は、何が悪いのかをより正確に示せるほど賢くはありませんでした。 | |
| 6606 | ||
| 6607 | =item Inconsistent hierarchy during C3 merge of class '%s': merging failed on | |
| 6608 | parent '%s' | |
| 6609 | ||
| 6610 | =begin original | |
| 6611 | ||
| 6612 | (F) The method resolution order (MRO) of the given class is not | |
| 6613 | C3-consistent, and you have enabled the C3 MRO for this class. See the C3 | |
| 6614 | documentation in L<mro> for more information. | |
| 6615 | ||
| 6616 | =end original | |
| 6617 | ||
| 6618 | (F) 与えられたクラスのメソッド解決順序 (MRO) が C3 に矛盾していますが、 | |
| 6619 | このクラスの C3 MRO を有効にしました。 | |
| 6620 | さらなる情報については L<mro> 内の C3 に関する文書を参照してください。 | |
| 6621 | ||
| 6622 | =item Indentation on line %d of here-doc doesn't match delimiter | |
| 6623 | ||
| 6624 | =begin original | |
| 6625 | ||
| 6626 | (F) You have an indented here-document where one or more of its lines | |
| 6627 | have whitespace at the beginning that does not match the closing | |
| 6628 | delimiter. | |
| 6629 | ||
| 6630 | =end original | |
| 6631 | ||
| 6632 | (F) インデントのあるヒヤドキュメントがありますが、 | |
| 6633 | 先頭に空白があるけれども閉じ区切り文字にマッチングしない行があります。 | |
| 6634 | ||
| 6635 | =begin original | |
| 6636 | ||
| 6637 | For example, line 2 below is wrong because it does not have at least | |
| 6638 | 2 spaces, but lines 1 and 3 are fine because they have at least 2: | |
| 6639 | ||
| 6640 | =end original | |
| 6641 | ||
| 6642 | 例えば、以下の Line 2 は間違っています; これは少なくとも 2 個の | |
| 6643 | スペースが必要だからです; しかし、Line 1 と Line 3 は正しいです; | |
| 6644 | 少なくとも 2 個あるからです: | |
| 6645 | ||
| 6646 | if ($something) { | |
| 6647 | print <<~EOF; | |
| 6648 | Line 1 | |
| 6649 | Line 2 not | |
| 6650 | Line 3 | |
| 6651 | EOF | |
| 6652 | } | |
| 6653 | ||
| 6654 | =begin original | |
| 6655 | ||
| 6656 | Note that tabs and spaces are compared strictly, meaning 1 tab will | |
| 6657 | not match 8 spaces. | |
| 6658 | ||
| 6659 | =end original | |
| 6660 | ||
| 6661 | タブとスペースは厳密に比較されるので、タブ 1 個は スペース 8 個とは | |
| 6662 | マッチングしないことに注意してください。 | |
| 6663 | ||
| 6664 | =item Infinite recursion in regex | |
| 6665 | ||
| 6666 | =begin original | |
| 6667 | ||
| 6668 | (F) You used a pattern that references itself without consuming any input | |
| 6669 | text. You should check the pattern to ensure that recursive patterns | |
| 6670 | either consume text or fail. | |
| 6671 | ||
| 6672 | =end original | |
| 6673 | ||
| 6674 | (F) 入力テキストを読み込むことなく自分自身を参照するパターンを使いました。 | |
| 6675 | 再帰的なパターンが、テキストを読み込むか失敗するかを確実に行うように、 | |
| 6676 | パターンをチェックするべきです。 | |
| 6677 | ||
| 6678 | =item Infinite recursion via empty pattern | |
| 6679 | ||
| 6680 | =begin original | |
| 6681 | ||
| 6682 | (F) You tried to use the empty pattern inside of a regex code block, | |
| 6683 | for instance C</(?{ s!!! })/>, which resulted in re-executing | |
| 6684 | the same pattern, which is an infinite loop which is broken by | |
| 6685 | throwing an exception. | |
| 6686 | ||
| 6687 | =end original | |
| 6688 | ||
| 6689 | (F) C</(?{ s!!! })/> のように、正規表現コードブロックの中で | |
| 6690 | 空パターンを使いました; | |
| 6691 | これは同じパターンを再実行することになり、 | |
| 6692 | 例外が投げられることによって壊れる無限ループになります。 | |
| 6693 | ||
| 6694 | =item Initialization of state variables in list currently forbidden | |
| 6695 | ||
| 6696 | =begin original | |
| 6697 | ||
| 6698 | (F) C<state> only permits initializing a single variable, specified | |
| 6699 | without parentheses. So C<state $a = 42> and C<state @a = qw(a b c)> are | |
| 6700 | allowed, but not C<state ($a) = 42> or C<(state $a) = 42>. To initialize | |
| 6701 | more than one C<state> variable, initialize them one at a time. | |
| 6702 | ||
| 6703 | =end original | |
| 6704 | ||
| 6705 | (F) C<state> は、かっこなしで指定された単一の変数の初期化のみが | |
| 6706 | 許されています。 | |
| 6707 | 従って C<state $a = 42> と C<state @a = qw(a b c)> は許されますが、 | |
| 6708 | C<state ($a) = 42> や C<(state $a) = 42> は許されません。 | |
| 6709 | To initialize | |
| 6710 | more than one | |
| 6711 | 複数の C<state> 変数を初期化するには、一つずつ初期化してください。 | |
| 6712 | ||
| 6713 | =item %%s[%s] in scalar context better written as $%s[%s] | |
| 6714 | ||
| 6715 | =begin original | |
| 6716 | ||
| 6717 | (W syntax) In scalar context, you've used an array index/value slice | |
| 6718 | (indicated by %) to select a single element of an array. Generally | |
| 6719 | it's better to ask for a scalar value (indicated by $). The difference | |
| 6720 | is that C<$foo[&bar]> always behaves like a scalar, both in the value it | |
| 6721 | returns and when evaluating its argument, while C<%foo[&bar]> provides | |
| 6722 | a list context to its subscript, which can do weird things if you're | |
| 6723 | expecting only one subscript. When called in list context, it also | |
| 6724 | returns the index (what C<&bar> returns) in addition to the value. | |
| 6725 | ||
| 6726 | =end original | |
| 6727 | ||
| 6728 | (W syntax) スカラコンテキストで、配列の単一の要素を選択するために | |
| 6729 | (% で示される)配列インデックス/値スライスを使いました。 | |
| 6730 | 一般的には($ で示される)スカラ値を取得した方がよいです。 | |
| 6731 | 違いは、C<$foo[&bar]> は返り値と引数を評価したときの両方で常にスカラのように | |
| 6732 | 振る舞いますが、C<%foo[&bar]> は添え字にリストコンテキストを提供するので、 | |
| 6733 | 一つだけの添え字を想定していた場合、おかしなことになることがあります。 | |
| 6734 | リストコンテキストで呼び出された場合、値に加えてインデックス | |
| 6735 | (C<&bar> が返すもの) を返します。 | |
| 6736 | ||
| 6737 | =item %%s{%s} in scalar context better written as $%s{%s} | |
| 6738 | ||
| 6739 | =begin original | |
| 6740 | ||
| 6741 | (W syntax) In scalar context, you've used a hash key/value slice | |
| 6742 | (indicated by %) to select a single element of a hash. Generally it's | |
| 6743 | better to ask for a scalar value (indicated by $). The difference | |
| 6744 | is that C<$foo{&bar}> always behaves like a scalar, both in the value | |
| 6745 | it returns and when evaluating its argument, while C<@foo{&bar}> and | |
| 6746 | provides a list context to its subscript, which can do weird things | |
| 6747 | if you're expecting only one subscript. When called in list context, | |
| 6748 | it also returns the key in addition to the value. | |
| 6749 | ||
| 6750 | =end original | |
| 6751 | ||
| 6752 | (W syntax) スカラコンテキストで、ハッシュの単一の要素を選択するために | |
| 6753 | (% で示される)ハッシュキー/値スライスを使いました。 | |
| 6754 | 一般的には($ で示される)スカラ値を取得した方がよいです。 | |
| 6755 | 違いは、C<$foo[&bar]> は返り値と引数を評価したときの両方で常にスカラのように | |
| 6756 | 振る舞いますが、C<%foo[&bar]> は添え字にリストコンテキストを提供するので、 | |
| 6757 | 一つだけの添え字を想定していた場合、おかしなことになることがあります。 | |
| 6758 | リストコンテキストで呼び出された場合、値に加えてインデックスを返します。 | |
| 6759 | ||
| 6760 | 3790 | =item Insecure dependency in %s |
| 6761 | 3791 | |
| 6762 | 3792 | =begin original |
| 6763 | 3793 | |
| 6764 | 3794 | (F) You tried to do something that the tainting mechanism didn't like. |
| 6765 | 3795 | The tainting mechanism is turned on when you're running setuid or |
| 6766 | 3796 | setgid, or when you specify B<-T> to turn it on explicitly. The |
| 6767 | 3797 | tainting mechanism labels all data that's derived directly or indirectly |
| 6768 | 3798 | from the user, who is considered to be unworthy of your trust. If any |
| 6769 | 3799 | such data is used in a "dangerous" operation, you get this error. See |
| 6770 | 3800 | L<perlsec> for more information. |
| 6771 | 3801 | |
| 6772 | 3802 | =end original |
| 6773 | 3803 | |
| 6774 | 3804 | (F) 何か汚染チェックの機構が、望ましくないと判断することを |
| 6775 | 3805 | 行なおうとしました。 |
| 6776 | 3806 | setuid や setgid を実行したときや、明示的に B<-T> で指定したときに、 |
| 6777 | 3807 | 汚染チェック機構が働きます。 |
| 6778 | 3808 | 汚染チェック機構は、信頼がおけないと仮定されるユーザが直接、間接を問わず、 |
| 6779 | 3809 | 指定したデータに印を付けます。 |
| 6780 | 3810 | そのようなデータを「危険な」操作に用いると、このエラーが発生します。 |
| 6781 | 3811 | 詳しくは、L<perlsec> を参照してください。 |
| 6782 | 3812 | |
| 6783 | 3813 | =item Insecure directory in %s |
| 6784 | 3814 | |
| 6785 | 3815 | =begin original |
| 6786 | 3816 | |
| 6787 | 3817 | (F) You can't use system(), exec(), or a piped open in a setuid or |
| 6788 | 3818 | setgid script if C<$ENV{PATH}> contains a directory that is writable by |
| 6789 | the world. | |
| 3819 | the world. See L<perlsec>. | |
| 6790 | See L<perlsec>. | |
| 6791 | 3820 | |
| 6792 | 3821 | =end original |
| 6793 | 3822 | |
| 6794 | 3823 | (F) C<$ENV{PATH}> の中に、誰にでも書き込みができるディレクトリが |
| 6795 | 3824 | 含まれているとき、system()、exec()、パイプのオープンを |
| 6796 | 3825 | 行なうことはできません。 |
| 6797 | また、PATH には相対早退ディレクトリを含んでいてはいけません。 | |
| 6798 | 3826 | L<perlsec> を参照してください。 |
| 6799 | 3827 | |
| 6800 | 3828 | =item Insecure $ENV{%s} while running %s |
| 6801 | 3829 | |
| 6802 | 3830 | =begin original |
| 6803 | 3831 | |
| 6804 | 3832 | (F) You can't use system(), exec(), or a piped open in a setuid or |
| 6805 | 3833 | setgid script if any of C<$ENV{PATH}>, C<$ENV{IFS}>, C<$ENV{CDPATH}>, |
| 6806 | C<$ENV{ENV}> | |
| 3834 | C<$ENV{ENV}> or C<$ENV{BASH_ENV}> are derived from data supplied (or | |
| 6807 | ||
| 3835 | potentially supplied) by the user. The script must set the path to a | |
| 6808 | ||
| 3836 | known value, using trustworthy data. See L<perlsec>. | |
| 6809 | 3837 | |
| 6810 | 3838 | =end original |
| 6811 | 3839 | |
| 6812 | 3840 | (F) C<$ENV{PATH}>, C<$ENV{IFS}>, C<$ENV{CDPATH}>, C<$ENV{ENV}>, |
| 6813 | C<$ENV{BASH_ENV}> | |
| 3841 | C<$ENV{BASH_ENV}> のいずれかがユーザーによって提供された(あるいは | |
| 6814 | ||
| 3842 | 提供された可能性のある)データの場合、setuid や setgid されたスクリプトでは | |
| 6815 | ||
| 3843 | system(), exec(), パイプされる open を使うことはできません。 | |
| 6816 | 使うことはできません。 | |
| 6817 | 3844 | スクリプトはパスとして、信頼の置けるデータを使った、既知の値を |
| 6818 | 3845 | セットしなければなりません。 |
| 6819 | 3846 | L<perlsec> を参照してください。 |
| 6820 | 3847 | |
| 6821 | =item Insecure user-defined property %s | |
| 6822 | ||
| 6823 | =begin original | |
| 6824 | ||
| 6825 | (F) Perl detected tainted data when trying to compile a regular | |
| 6826 | expression that contains a call to a user-defined character property | |
| 6827 | function, i.e. C<\p{IsFoo}> or C<\p{InFoo}>. | |
| 6828 | See L<perlunicode/User-Defined Character Properties> and L<perlsec>. | |
| 6829 | ||
| 6830 | =end original | |
| 6831 | ||
| 6832 | (F) Perl は、ユーザー定義文字特性関数 (C<\p{IsFoo}> や C<\p{InFoo}>) の | |
| 6833 | 呼び出しを含む正規表現をコンパイルしようとしたときに汚染されたデータを | |
| 6834 | 検出しました。 | |
| 6835 | L<perlunicode/User-Defined Character Properties> と L<perlsec> を | |
| 6836 | 参照してください。 | |
| 6837 | ||
| 6838 | =item Integer overflow in format string for %s | |
| 6839 | ||
| 6840 | =begin original | |
| 6841 | ||
| 6842 | (F) The indexes and widths specified in the format string of C<printf()> | |
| 6843 | or C<sprintf()> are too large. The numbers must not overflow the size of | |
| 6844 | integers for your architecture. | |
| 6845 | ||
| 6846 | =end original | |
| 6847 | ||
| 6848 | (F) C<printf()> や C<sprintf()> のフォーマット文字列で指定されたインデックスや | |
| 6849 | 幅が大きすぎます。 | |
| 6850 | 数値はあなたのアーキテクチャの整数のサイズをオーバーフローしないように | |
| 6851 | しなければなりません。 | |
| 6852 | ||
| 6853 | 3848 | =item Integer overflow in %s number |
| 6854 | 3849 | |
| 6855 | 3850 | =begin original |
| 6856 | 3851 | |
| 6857 | ( | |
| 3852 | (W overflow) The hexadecimal, octal or binary number you have specified | |
| 6858 | 3853 | either as a literal or as an argument to hex() or oct() is too big for |
| 6859 | 3854 | your architecture, and has been converted to a floating point number. |
| 6860 | 3855 | On a 32-bit architecture the largest hexadecimal, octal or binary number |
| 6861 | 3856 | representable without overflow is 0xFFFFFFFF, 037777777777, or |
| 6862 | 3857 | 0b11111111111111111111111111111111 respectively. Note that Perl |
| 6863 | 3858 | transparently promotes all numbers to a floating point representation |
| 6864 | 3859 | internally--subject to loss of precision errors in subsequent |
| 6865 | 3860 | operations. |
| 6866 | 3861 | |
| 6867 | 3862 | =end original |
| 6868 | 3863 | |
| 6869 | ( | |
| 3864 | (W overflow) リテラルまたは hex() や oct() の引数として指定された 16 進、 | |
| 6870 | 3865 | 8 進、2 進数は実行しているアーキテクチャには大きすぎるので、浮動小数点数に |
| 6871 | 3866 | 変換されました。 |
| 6872 | 3867 | 32 ビットアーキテクチャでは、オーバーフローせずに表現できる 16 進、8 進 |
| 6873 | 3868 | 2 進数はそれぞれ 0xFFFFFFFF, 037777777777, |
| 6874 | 3869 | 0b11111111111111111111111111111111 です。 |
| 6875 | 3870 | Perl は全ての数値を内部では浮動小数点表現に透過的に変換することに |
| 6876 | 3871 | 注意してください -- 引き続く操作によって精度が失われることがあります。 |
| 6877 | 3872 | |
| 6878 | =item Inte | |
| 3873 | =item Internal disaster before << HERE in regex m/%s/ | |
| 6879 | 3874 | |
| 6880 | 3875 | =begin original |
| 6881 | 3876 | |
| 6882 | (S overflow) The number you have passed to srand is too big to fit | |
| 6883 | in your architecture's integer representation. The number has been | |
| 6884 | replaced with the largest integer supported (0xFFFFFFFF on 32-bit | |
| 6885 | architectures). This means you may be getting less randomness than | |
| 6886 | you expect, because different random seeds above the maximum will | |
| 6887 | return the same sequence of random numbers. | |
| 6888 | ||
| 6889 | =end original | |
| 6890 | ||
| 6891 | (S overflow) srand に渡した数値は、現在のアーキテクチャの整数表現に | |
| 6892 | 適合させるには大きすぎます。 | |
| 6893 | 数値は対応している最大の整数(32 ビットアーキテクチャでは 0xFFFFFFFF) に | |
| 6894 | 置き換えられました。 | |
| 6895 | これは、最大数よりも大きな異なった乱数の種が同じ乱数の並びを返すので、 | |
| 6896 | 想定しているよりもランダム性が低くなることを意味します。 | |
| 6897 | ||
| 6898 | =item Integer overflow in version | |
| 6899 | ||
| 6900 | =item Integer overflow in version %d | |
| 6901 | ||
| 6902 | =begin original | |
| 6903 | ||
| 6904 | (W overflow) Some portion of a version initialization is too large for | |
| 6905 | the size of integers for your architecture. This is not a warning | |
| 6906 | because there is no rational reason for a version to try and use an | |
| 6907 | element larger than typically 2**32. This is usually caused by trying | |
| 6908 | to use some odd mathematical operation as a version, like 100/9. | |
| 6909 | ||
| 6910 | =end original | |
| 6911 | ||
| 6912 | (W overflow) バージョン初期化の一部が、アーキテクチャの整数のサイズより | |
| 6913 | 大きすぎます。 | |
| 6914 | バージョンとして典型的には 2**32 を超える要素を使おうとするための合理的な | |
| 6915 | 理由がないので、これは警告ではありません。 | |
| 6916 | これは普通、100/9 のようなおかしな数値演算をバージョンとして | |
| 6917 | 使おうとしたことによります。 | |
| 6918 | ||
| 6919 | =item Internal disaster in regex; marked by S<<-- HERE> in m/%s/ | |
| 6920 | ||
| 6921 | =begin original | |
| 6922 | ||
| 6923 | 3877 | (P) Something went badly wrong in the regular expression parser. |
| 6924 | The | |
| 3878 | The << HERE shows in the regular expression about where the problem was | |
| 6925 | 3879 | discovered. |
| 6926 | 3880 | |
| 6927 | 3881 | =end original |
| 6928 | 3882 | |
| 6929 | 3883 | (P) 正規表現解析部に何か悪いことが起こりました。 |
| 6930 | ||
| 3884 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 6931 | 3885 | |
| 6932 | 3886 | =item Internal inconsistency in tracking vforks |
| 6933 | 3887 | |
| 6934 | 3888 | =begin original |
| 6935 | 3889 | |
| 6936 | 3890 | (S) A warning peculiar to VMS. Perl keeps track of the number of times |
| 6937 | 3891 | you've called C<fork> and C<exec>, to determine whether the current call |
| 6938 | 3892 | to C<exec> should affect the current script or a subprocess (see |
| 6939 | 3893 | L<perlvms/"exec LIST">). Somehow, this count has become scrambled, so |
| 6940 | 3894 | Perl is making a guess and treating this C<exec> as a request to |
| 6941 | 3895 | terminate the Perl script and execute the specified command. |
| 6942 | 3896 | |
| 6943 | 3897 | =end original |
| 6944 | 3898 | |
| 6945 | (S) VMS | |
| 3899 | (S) VMS 特有の警告です。 | |
| 6946 | 3900 | Perl は C<fork> と C<exec> を呼び出した回数を数えています; |
| 6947 | 3901 | これは現在の C<exec> 呼び出しが現在のスクリプトかサブプロセスかどちらに |
| 6948 | 3902 | 影響を与えるかを決定するためです(L<perlvms/"exec LIST"> を |
| 6949 | 3903 | 参照してください)。 |
| 6950 | 3904 | どういうわけか、このカウントがおかしくなったので、Perl はこの C<exec> が |
| 6951 | 3905 | Perl スクリプトを終了させて指定されたコマンドを実行する要求であると |
| 6952 | 3906 | 仮定して、そのように扱いました。 |
| 6953 | 3907 | |
| 6954 | =item | |
| 3908 | =item Internal urp before << HERE in regex m/%s/ | |
| 6955 | 3909 | |
| 6956 | 3910 | =begin original |
| 6957 | 3911 | |
| 6958 | ( | |
| 3912 | (P) Something went badly awry in the regular expression parser. The <<<HERE | |
| 6959 | ||
| 3913 | shows in the regular expression about where the problem was discovered. | |
| 6960 | C or XS code. Specifically, formats consisting of digits followed | |
| 6961 | by "p" (e.g., "%7p") are reserved for future use. If you see this | |
| 6962 | message, then an XS module tried to call that routine with one such | |
| 6963 | reserved format. | |
| 6964 | 3914 | |
| 6965 | 3915 | =end original |
| 6966 | 3916 | |
| 6967 | (S internal) C<printf> と C<sprintf> のフォーマットを扱う Perl の | |
| 6968 | 内部ルーチンは、C や XS コードから呼び出されたときは少し違う規則集合に | |
| 6969 | 従います。 | |
| 6970 | 特に、数値に引き続いて "p" のあるフォーマット (例えば "%7p") は将来の | |
| 6971 | 使用のために予約されています。 | |
| 6972 | このメッセージが表示された場合、XS モジュールはこのような予約された | |
| 6973 | フォーマットを使って呼び出そうとしました。 | |
| 6974 | ||
| 6975 | =item Internal urp in regex; marked by S<<-- HERE> in m/%s/ | |
| 6976 | ||
| 6977 | =begin original | |
| 6978 | ||
| 6979 | (P) Something went badly awry in the regular expression parser. The | |
| 6980 | S<<-- HERE> shows whereabouts in the regular expression the problem was | |
| 6981 | discovered. | |
| 6982 | ||
| 6983 | =end original | |
| 6984 | ||
| 6985 | 3917 | (P) 正規表現解析部に何か間違ったことが起こりました。 |
| 6986 | ||
| 3918 | <<<HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 6987 | 3919 | |
| 6988 | 3920 | =item %s (...) interpreted as function |
| 6989 | 3921 | |
| 6990 | 3922 | =begin original |
| 6991 | 3923 | |
| 6992 | 3924 | (W syntax) You've run afoul of the rule that says that any list operator |
| 6993 | 3925 | followed by parentheses turns into a function, with all the list |
| 6994 | operators arguments found inside the parentheses. See | |
| 3926 | operators arguments found inside the parentheses. See | |
| 6995 | 3927 | L<perlop/Terms and List Operators (Leftward)>. |
| 6996 | 3928 | |
| 6997 | 3929 | =end original |
| 6998 | 3930 | |
| 6999 | (W syntax) リスト演算子の直後に | |
| 3931 | (W syntax) リスト演算子の直後に括弧を置くと、括弧内にあるリスト演算子引数を | |
| 7000 | ||
| 3932 | 持つ関数になる、という規則が適用されました。 | |
| 7001 | 3933 | L<perlop/Terms and List Operators (Leftward)> を参照してください。 |
| 7002 | 3934 | |
| 7003 | =item In '(?...)', the '(' and '?' must be adjacent in regex; | |
| 7004 | marked by S<<-- HERE> in m/%s/ | |
| 7005 | ||
| 7006 | =begin original | |
| 7007 | ||
| 7008 | (F) The two-character sequence C<"(?"> in this context in a regular | |
| 7009 | expression pattern should be an indivisible token, with nothing | |
| 7010 | intervening between the C<"("> and the C<"?">, but you separated them | |
| 7011 | with whitespace. | |
| 7012 | ||
| 7013 | =end original | |
| 7014 | ||
| 7015 | (F) | |
| 7016 | 正規表現中のこのコンテキストでの 2 文字並び C<"(?"> は分割できないトークンで、 | |
| 7017 | C<"("> と C<"?"> の間には何も入らないはずですが、これを空白で分割しました。 | |
| 7018 | ||
| 7019 | =item In '(*...)', the '(' and '*' must be adjacent in regex; | |
| 7020 | marked by S<<-- HERE> in m/%s/ | |
| 7021 | ||
| 7022 | =begin original | |
| 7023 | ||
| 7024 | (F) The two-character sequence C<"(*"> in this context in a regular | |
| 7025 | expression pattern should be an indivisible token, with nothing | |
| 7026 | intervening between the C<"("> and the C<"*">, but you separated them. | |
| 7027 | Fix the pattern and retry. | |
| 7028 | ||
| 7029 | =end original | |
| 7030 | ||
| 7031 | (F) 正規表現パターンの中のこの文脈での 2 文字並び C<"(*"> は、 | |
| 7032 | C<"("> と C<"*"> の間に何も入っていない分割されていないトークンである | |
| 7033 | 必要があります; しかしこれが分割されています。 | |
| 7034 | パターンを修正してもう一度試してください。 | |
| 7035 | ||
| 7036 | 3935 | =item Invalid %s attribute: %s |
| 7037 | 3936 | |
| 7038 | 3937 | =begin original |
| 7039 | 3938 | |
| 7040 | ||
| 3939 | The indicated attribute for a subroutine or variable was not recognized | |
| 7041 | 3940 | by Perl or by a user-supplied handler. See L<attributes>. |
| 7042 | 3941 | |
| 7043 | 3942 | =end original |
| 7044 | 3943 | |
| 7045 | ||
| 3944 | 示されたサブルーチンや変数の属性は | |
| 7046 | 認識されませんでした。 | |
| 3945 | Perl やユーザー提供のハンドラで認識されませんでした。 | |
| 7047 | 3946 | L<attributes> を参照してください。 |
| 7048 | 3947 | |
| 7049 | 3948 | =item Invalid %s attributes: %s |
| 7050 | 3949 | |
| 7051 | 3950 | =begin original |
| 7052 | 3951 | |
| 7053 | ||
| 3952 | The indicated attributes for a subroutine or variable were not | |
| 7054 | 3953 | recognized by Perl or by a user-supplied handler. See L<attributes>. |
| 7055 | 3954 | |
| 7056 | 3955 | =end original |
| 7057 | 3956 | |
| 7058 | ||
| 3957 | 示されたサブルーチンや変数の属性は | |
| 7059 | 認識されませんでした。 | |
| 3958 | Perl やユーザー提供のハンドラで認識されませんでした。 | |
| 7060 | 3959 | L<attributes> を参照してください。 |
| 7061 | 3960 | |
| 7062 | =item Invalid character in charnames alias definition; marked by | |
| 7063 | S<<-- HERE> in '%s | |
| 7064 | ||
| 7065 | =begin original | |
| 7066 | ||
| 7067 | (F) You tried to create a custom alias for a character name, with | |
| 7068 | the C<:alias> option to C<use charnames> and the specified character in | |
| 7069 | the indicated name isn't valid. See L<charnames/CUSTOM ALIASES>. | |
| 7070 | ||
| 7071 | =end original | |
| 7072 | ||
| 7073 | (F) C<use charnames> の C<:alias> オプションで文字名へのカスタム別名を | |
| 7074 | 作ろうとしましたが、指定された名前のうち示された文字は正当ではありません。 | |
| 7075 | L<charnames/CUSTOM ALIASES> を参照してください。 | |
| 7076 | ||
| 7077 | =item Invalid \0 character in %s for %s: %s\0%s | |
| 7078 | ||
| 7079 | =begin original | |
| 7080 | ||
| 7081 | (W syscalls) Embedded \0 characters in pathnames or other system call | |
| 7082 | arguments produce a warning as of 5.20. The parts after the \0 were | |
| 7083 | formerly ignored by system calls. | |
| 7084 | ||
| 7085 | =end original | |
| 7086 | ||
| 7087 | (W syscalls) パス名やその他のシステムコール引数に埋め込まれた \0 文字は | |
| 7088 | 5.20 から警告を出力するようになりました。 | |
| 7089 | 以前は \0 の後の部分はシステムコールによって無視されていました。 | |
| 7090 | ||
| 7091 | =item Invalid character in \N{...}; marked by S<<-- HERE> in \N{%s} | |
| 7092 | ||
| 7093 | =begin original | |
| 7094 | ||
| 7095 | (F) Only certain characters are valid for character names. The | |
| 7096 | indicated one isn't. See L<charnames/CUSTOM ALIASES>. | |
| 7097 | ||
| 7098 | =end original | |
| 7099 | ||
| 7100 | (F) 文字名としては一部の文字のみが正当です。 | |
| 7101 | 示されたものは違います。 | |
| 7102 | L<charnames/CUSTOM ALIASES> を参照してください。 | |
| 7103 | ||
| 7104 | 3961 | =item Invalid conversion in %s: "%s" |
| 7105 | 3962 | |
| 7106 | 3963 | =begin original |
| 7107 | 3964 | |
| 7108 | 3965 | (W printf) Perl does not understand the given format conversion. See |
| 7109 | 3966 | L<perlfunc/sprintf>. |
| 7110 | 3967 | |
| 7111 | 3968 | =end original |
| 7112 | 3969 | |
| 7113 | 3970 | (W printf) Perl は指定されたフォーマット変換が認識できませんでした。 |
| 7114 | 3971 | L<perlfunc/sprintf> を参照してください。 |
| 7115 | 3972 | |
| 7116 | =item | |
| 3973 | =item invalid [] range "%s" in regexp | |
| 7117 | S<<-- HERE> in m/%s/ | |
| 7118 | 3974 | |
| 7119 | 3975 | =begin original |
| 7120 | 3976 | |
| 7121 | (W regexp)(F) The numeric escape (for example C<\xHH>) of value < 256 | |
| 7122 | didn't correspond to a single character through the conversion | |
| 7123 | from the encoding specified by the encoding pragma. | |
| 7124 | The escape was replaced with REPLACEMENT CHARACTER (U+FFFD) | |
| 7125 | instead, except within S<C<(?[ ])>>, where it is a fatal error. | |
| 7126 | The S<<-- HERE> shows whereabouts in the regular expression the | |
| 7127 | escape was discovered. | |
| 7128 | ||
| 7129 | =end original | |
| 7130 | ||
| 7131 | (W regexp)(F) (例えば C<\xHH> のような)数値エスケープの 256 より小さい値が、 | |
| 7132 | エンコーディングプラグマで指定した変換によって 一つの文字に対応していません。 | |
| 7133 | エスケープは代わりに REPLACEMENT CHARACTER (U+FFFD) に置き換えられます; | |
| 7134 | ただし、S<C<(?[ ])>> の内側の場合は致命的エラーになります。 | |
| 7135 | S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。 | |
| 7136 | ||
| 7137 | =item Invalid hexadecimal number in \N{U+...} | |
| 7138 | ||
| 7139 | =item Invalid hexadecimal number in \N{U+...} in regex; marked by | |
| 7140 | S<<-- HERE> in m/%s/ | |
| 7141 | ||
| 7142 | =begin original | |
| 7143 | ||
| 7144 | (F) The character constant represented by C<...> is not a valid hexadecimal | |
| 7145 | number. Either it is empty, or you tried to use a character other than | |
| 7146 | 0 - 9 or A - F, a - f in a hexadecimal number. | |
| 7147 | ||
| 7148 | =end original | |
| 7149 | ||
| 7150 | (F) C<...> で表現された文字定数は妥当な 16 進数ではありません。 | |
| 7151 | 空か、16 進数の中に 0 - 9, A - F, a - f 以外の文字を使おうとしました。 | |
| 7152 | ||
| 7153 | =item Invalid module name %s with -%c option: contains single ':' | |
| 7154 | ||
| 7155 | =begin original | |
| 7156 | ||
| 7157 | (F) The module argument to perl's B<-m> and B<-M> command-line options | |
| 7158 | cannot contain single colons in the module name, but only in the | |
| 7159 | arguments after "=". In other words, B<-MFoo::Bar=:baz> is ok, but | |
| 7160 | B<-MFoo:Bar=baz> is not. | |
| 7161 | ||
| 7162 | =end original | |
| 7163 | ||
| 7164 | (F) perl の B<-m> と B<-M> のコマンドラインオプションでのモジュール引数は、 | |
| 7165 | モジュール名では単一のコロンを含むことが出来ず、"=" の後でのみ含むことが | |
| 7166 | できます。 | |
| 7167 | 言い換えると、B<-MFoo::Bar=:baz> は OK ですが、B<-MFoo:Bar=baz> は | |
| 7168 | そうではありません。 | |
| 7169 | ||
| 7170 | =item Invalid mro name: '%s' | |
| 7171 | ||
| 7172 | =begin original | |
| 7173 | ||
| 7174 | (F) You tried to C<mro::set_mro("classname", "foo")> or C<use mro 'foo'>, | |
| 7175 | where C<foo> is not a valid method resolution order (MRO). Currently, | |
| 7176 | the only valid ones supported are C<dfs> and C<c3>, unless you have loaded | |
| 7177 | a module that is a MRO plugin. See L<mro> and L<perlmroapi>. | |
| 7178 | ||
| 7179 | =end original | |
| 7180 | ||
| 7181 | (F) C<mro::set_mro("classname", "foo")> または C<use mro 'foo'> を使おうと | |
| 7182 | しましたが、C<foo> は有効なメソッド解決順序 (MRO) ではありません。 | |
| 7183 | 現在のところ、MRO プラグインモジュールを読み込まない限り、対応として | |
| 7184 | 有効なものは C<dfs> と C<c3> だけです。 | |
| 7185 | L<mro> と L<perlmroapi> を参照してください。 | |
| 7186 | ||
| 7187 | =item Invalid negative number (%s) in chr | |
| 7188 | ||
| 7189 | =begin original | |
| 7190 | ||
| 7191 | (W utf8) You passed a negative number to C<chr>. Negative numbers are | |
| 7192 | not valid character numbers, so it returns the Unicode replacement | |
| 7193 | character (U+FFFD). | |
| 7194 | ||
| 7195 | =end original | |
| 7196 | ||
| 7197 | (W utf8) C<chr> に負数を渡しました。 | |
| 7198 | 負数は正当な文字番号ではないので、Unicode 代替文字 (U+FFFD) を返します。 | |
| 7199 | ||
| 7200 | =item Invalid number '%s' for -C option. | |
| 7201 | ||
| 7202 | =begin original | |
| 7203 | ||
| 7204 | (F) You supplied a number to the -C option that either has extra leading | |
| 7205 | zeroes or overflows perl's unsigned integer representation. | |
| 7206 | ||
| 7207 | =end original | |
| 7208 | ||
| 7209 | (F) -C オプションに、前に 0 がついていたり、perl の符号なし整数表現を | |
| 7210 | オーバーフローするといったような数値を指定しました。 | |
| 7211 | ||
| 7212 | =item invalid option -D%c, use -D'' to see choices | |
| 7213 | ||
| 7214 | =begin original | |
| 7215 | ||
| 7216 | (S debugging) Perl was called with invalid debugger flags. Call perl | |
| 7217 | with the B<-D> option with no flags to see the list of acceptable values. | |
| 7218 | See also L<perlrun/-Dletters>. | |
| 7219 | ||
| 7220 | =end original | |
| 7221 | ||
| 7222 | (F) Perl は不正なデバッガフラグで呼び出されました。 | |
| 7223 | 受け付けられる値の一覧を見るには、フラグなしの B<-D> オプションをつけて | |
| 7224 | perl を呼び出してください。 | |
| 7225 | L<< perlrun/B<-D>I<letters> >> も参照してください。 | |
| 7226 | ||
| 7227 | =item Invalid quantifier in {,} in regex; marked by S<<-- HERE> in m/%s/ | |
| 7228 | ||
| 7229 | =begin original | |
| 7230 | ||
| 7231 | (F) The pattern looks like a {min,max} quantifier, but the min or max | |
| 7232 | could not be parsed as a valid number - either it has leading zeroes, | |
| 7233 | or it represents too big a number to cope with. The S<<-- HERE> shows | |
| 7234 | where in the regular expression the problem was discovered. See L<perlre>. | |
| 7235 | ||
| 7236 | =end original | |
| 7237 | ||
| 7238 | (F) パターンは {min,max} 量指定子のように見えますが、min または max が | |
| 7239 | 正当な数値としてパースできませんでした - 先頭に 0 が付いているか、 | |
| 7240 | 数値として扱うには大きすぎます。 | |
| 7241 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 7242 | L<perlre> を参照してください。 | |
| 7243 | ||
| 7244 | =item Invalid [] range "%s" in regex; marked by S<<-- HERE> in m/%s/ | |
| 7245 | ||
| 7246 | =begin original | |
| 7247 | ||
| 7248 | 3977 | (F) The range specified in a character class had a minimum character |
| 7249 | greater than the maximum character. | |
| 3978 | greater than the maximum character. See L<perlre>. | |
| 7250 | C<{}> from your ending C<\x{}> - C<\x> without the curly braces can go only | |
| 7251 | up to C<ff>. The S<<-- HERE> shows whereabouts in the regular expression the | |
| 7252 | problem was discovered. See L<perlre>. | |
| 7253 | 3979 | |
| 7254 | 3980 | =end original |
| 7255 | 3981 | |
| 7256 | 3982 | (F) 文字クラスに指定した範囲の最小値が、最大値よりも大きくなっています。 |
| 7257 | ひとつの可能性としては、末尾の C<\x{}> から C<{}> を | |
| 7258 | 忘れているということです - 中かっこなしの C<\x> は C<ff> までにしか | |
| 7259 | なりません。 | |
| 7260 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 7261 | 3983 | L<perlre> を参照してください。 |
| 7262 | 3984 | |
| 7263 | =item Invalid range "%s" in transliteration operator | |
| 7264 | ||
| 7265 | =begin original | |
| 7266 | ||
| 7267 | (F) The range specified in the tr/// or y/// operator had a minimum | |
| 7268 | character greater than the maximum character. See L<perlop>. | |
| 7269 | ||
| 7270 | =end original | |
| 7271 | ||
| 7272 | (F) tr/// や y/// の演算子での範囲指定で、最大の文字より最小の文字の方が | |
| 7273 | 大きいです。 | |
| 7274 | L<perlop> を参照してください。 | |
| 7275 | ||
| 7276 | 3985 | =item Invalid separator character %s in attribute list |
| 7277 | 3986 | |
| 7278 | 3987 | =begin original |
| 7279 | 3988 | |
| 7280 | 3989 | (F) Something other than a colon or whitespace was seen between the |
| 7281 | 3990 | elements of an attribute list. If the previous attribute had a |
| 7282 | 3991 | parenthesised parameter list, perhaps that list was terminated too soon. |
| 7283 | 3992 | See L<attributes>. |
| 7284 | 3993 | |
| 7285 | 3994 | =end original |
| 7286 | 3995 | |
| 7287 | 3996 | (F) 属性リストの要素の間にコロンと空白以外のものがあります。 |
| 7288 | 3997 | 直前の属性がかっこ付きのパラメータリストの場合、おそらくリストが |
| 7289 | 3998 | 予定より早く終端されています。 |
| 7290 | 3999 | L<attributes> を参照してください。 |
| 7291 | 4000 | |
| 7292 | =item Invalid | |
| 4001 | =item Invalid type in pack: '%s' | |
| 7293 | 4002 | |
| 7294 | 4003 | =begin original |
| 7295 | 4004 | |
| 7296 | ( | |
| 4005 | (F) The given character is not a valid pack type. See L<perlfunc/pack>. | |
| 7297 | ||
| 4006 | (W pack) The given character is not a valid pack type but used to be | |
| 7298 | ||
| 4007 | silently ignored. | |
| 7299 | list was terminated too soon. | |
| 7300 | 4008 | |
| 7301 | 4009 | =end original |
| 7302 | 4010 | |
| 7303 | ( | |
| 4011 | (F) 与えられた文字は有効な pack の型ではありません。 | |
| 7304 | ||
| 4012 | L<perlfunc/pack> を参照してください。 | |
| 7305 | ||
| 4013 | (W pack) 与えられた文字は有効な pack の型ではありませんが、暗黙に | |
| 7306 | ||
| 4014 | 無視されました。 | |
| 7307 | 4015 | |
| 7308 | =item Invalid | |
| 4016 | =item Invalid type in unpack: '%s' | |
| 7309 | 4017 | |
| 7310 | 4018 | =begin original |
| 7311 | 4019 | |
| 7312 | (F) | |
| 4020 | (F) The given character is not a valid unpack type. See | |
| 7313 | ||
| 4021 | L<perlfunc/unpack>. | |
| 7314 | ||
| 4022 | (W unpack) The given character is not a valid unpack type but used to be | |
| 7315 | v-string with a leading 'v' character and at least three components. | |
| 7316 | The parenthesized text indicates which criteria were not met. | |
| 7317 | See the L<version> module for more details on allowed version formats. | |
| 7318 | ||
| 7319 | =end original | |
| 7320 | ||
| 7321 | (F) バージョン番号がバージョンの「厳密な」基準に一致しませんでした。 | |
| 7322 | 「厳密な」バージョン番号は、指数なしの正の 10 進数 (整数または 10 進小数)か、 | |
| 7323 | さもなければどっと付き 10 進 v-文字列で先頭に 'v' の文字があり、少なくとも | |
| 7324 | 三つの部分からなるものです。 | |
| 7325 | かっこで囲まれたテキストは問題の基準を示しています。 | |
| 7326 | 許されるバージョンオブジェクトに関するさらなる詳細については | |
| 7327 | L<version> モジュールを参照してください。 | |
| 7328 | ||
| 7329 | =item Invalid type '%s' in %s | |
| 7330 | ||
| 7331 | =begin original | |
| 7332 | ||
| 7333 | (F) The given character is not a valid pack or unpack type. | |
| 7334 | See L<perlfunc/pack>. | |
| 7335 | ||
| 7336 | =end original | |
| 7337 | ||
| 7338 | (F) 与えられた文字は有効な pack や unpack の型ではありません。 | |
| 7339 | L<perlfunc/pack> を参照してください。 | |
| 7340 | ||
| 7341 | =begin original | |
| 7342 | ||
| 7343 | (W) The given character is not a valid pack or unpack type but used to be | |
| 7344 | 4023 | silently ignored. |
| 7345 | 4024 | |
| 7346 | 4025 | =end original |
| 7347 | 4026 | |
| 7348 | ( | |
| 4027 | (F) 与えられた文字は有効な unpack の型ではありません。 | |
| 4028 | L<perlfunc/unpack> を参照してください。 | |
| 4029 | (W unpack) 与えられた文字は有効な unpack の型ではありませんが、暗黙に | |
| 7349 | 4030 | 無視されました。 |
| 7350 | 4031 | |
| 7351 | =item Invalid version format (%s) | |
| 7352 | ||
| 7353 | =begin original | |
| 7354 | ||
| 7355 | (F) A version number did not meet the "lax" criteria for versions. | |
| 7356 | A "lax" version number is a positive decimal number (integer or | |
| 7357 | decimal-fraction) without exponentiation or else a dotted-decimal | |
| 7358 | v-string. If the v-string has fewer than three components, it | |
| 7359 | must have a leading 'v' character. Otherwise, the leading 'v' is | |
| 7360 | optional. Both decimal and dotted-decimal versions may have a | |
| 7361 | trailing "alpha" component separated by an underscore character | |
| 7362 | after a fractional or dotted-decimal component. The parenthesized | |
| 7363 | text indicates which criteria were not met. See the L<version> module | |
| 7364 | for more details on allowed version formats. | |
| 7365 | ||
| 7366 | =end original | |
| 7367 | ||
| 7368 | (F) バージョン番号がバージョンの「緩い」基準に一致しませんでした。 | |
| 7369 | 「緩い」バージョン番号は指数なしの正の 10 進数(整数または 10 進小数)か、 | |
| 7370 | あるいはどっと付き 10 進 v-文字列です。 | |
| 7371 | v-文字列の要素が三つ未満の場合、先頭に 'v' 文字が必要です。 | |
| 7372 | さもなければ、先頭の 'v' はオプションです。 | |
| 7373 | 10 進とドット付き 10 進の両方のバージョンは、小数またはドット付き 10 進 | |
| 7374 | 要素の後に下線で区切られた「α」要素が引き続くこともあります。 | |
| 7375 | かっこで囲まれたテキストは問題の基準を示しています。 | |
| 7376 | 許されるバージョンオブジェクトに関するさらなる詳細については | |
| 7377 | L<version> モジュールを参照してください。 | |
| 7378 | ||
| 7379 | =item Invalid version object | |
| 7380 | ||
| 7381 | =begin original | |
| 7382 | ||
| 7383 | (F) The internal structure of the version object was invalid. | |
| 7384 | Perhaps the internals were modified directly in some way or | |
| 7385 | an arbitrary reference was blessed into the "version" class. | |
| 7386 | ||
| 7387 | =end original | |
| 7388 | ||
| 7389 | (F) バージョンオブジェクトの内部構造が不正です。 | |
| 7390 | おそらく何らかの方法で内部が直接変更されたか、任意のリファレンスが | |
| 7391 | "version" クラスとして bless されました。 | |
| 7392 | ||
| 7393 | =item In '(*VERB...)', the '(' and '*' must be adjacent in regex; | |
| 7394 | marked by S<<-- HERE> in m/%s/ | |
| 7395 | ||
| 7396 | =begin original | |
| 7397 | ||
| 7398 | (F) The two-character sequence C<"(*"> in this context in a regular | |
| 7399 | expression pattern should be an indivisible token, with nothing | |
| 7400 | intervening between the C<"("> and the C<"*">, but you separated them. | |
| 7401 | ||
| 7402 | =end original | |
| 7403 | ||
| 7404 | (F) 正規表現中のこのコンテキストでの 2 文字並び C<"(*"> は分割できない | |
| 7405 | トークンで、C<"("> と C<"*"> の間には何も入らないはずですが、これを | |
| 7406 | 分割しました。 | |
| 7407 | ||
| 7408 | 4032 | =item ioctl is not implemented |
| 7409 | 4033 | |
| 7410 | 4034 | =begin original |
| 7411 | 4035 | |
| 7412 | 4036 | (F) Your machine apparently doesn't implement ioctl(), which is pretty |
| 7413 | 4037 | strange for a machine that supports C. |
| 7414 | 4038 | |
| 7415 | 4039 | =end original |
| 7416 | 4040 | |
| 7417 | 4041 | (F) C をサポートしているマシンではおかしなことだと思いますが、 |
| 7418 | 4042 | このマシンでは ioctl() が実装されていないようです。 |
| 7419 | 4043 | |
| 7420 | =item io | |
| 4044 | =item `%s' is not a code reference | |
| 7421 | 4045 | |
| 7422 | 4046 | =begin original |
| 7423 | 4047 | |
| 7424 | (W | |
| 4048 | (W) The second (fourth, sixth, ...) argument of overload::constant needs | |
| 7425 | ||
| 4049 | to be a code reference. Either an anonymous subroutine, or a reference | |
| 4050 | to a subroutine. | |
| 7426 | 4051 | |
| 7427 | 4052 | =end original |
| 7428 | 4053 | |
| 7429 | (W | |
| 4054 | (W) overload::constant の 2 番目 (4 番目、6 番目, ...) の引数はコード | |
| 7430 | ||
| 4055 | リファレンスである必要があります。 | |
| 7431 | ||
| 7432 | =item IO layers (like '%s') unavailable | |
| 7433 | ||
| 7434 | =begin original | |
| 7435 | ||
| 7436 | (F) Your Perl has not been configured to have PerlIO, and therefore | |
| 7437 | you cannot use IO layers. To have PerlIO, Perl must be configured | |
| 7438 | with 'useperlio'. | |
| 7439 | ||
| 7440 | =end original | |
| 7441 | ||
| 7442 | (F) この Perl は PerlIO を使うように設定されていないので、IO 層は使えません。 | |
| 7443 | PerlIO を使うには、'useperlio' 付きで設定する必要があります。 | |
| 7444 | ||
| 7445 | =item IO::Socket::atmark not implemented on this architecture | |
| 7446 | ||
| 7447 | =begin original | |
| 7448 | ||
| 7449 | (F) Your machine doesn't implement the sockatmark() functionality, | |
| 7450 | neither as a system call nor an ioctl call (SIOCATMARK). | |
| 7451 | ||
| 7452 | =end original | |
| 7453 | ||
| 7454 | (F) 実行されているマシンでは、システムコールでも | |
| 7455 | ioctl コール(SIOCATMARK) でも sockatmark() 機能が実装されていません。 | |
| 7456 | ||
| 7457 | =item '%s' is an unknown bound type in regex; marked by S<<-- HERE> in m/%s/ | |
| 7458 | ||
| 7459 | =begin original | |
| 7460 | ||
| 7461 | (F) You used C<\b{...}> or C<\B{...}> and the C<...> is not known to | |
| 7462 | Perl. The current valid ones are given in | |
| 7463 | L<perlrebackslash/\b{}, \b, \B{}, \B>. | |
| 7464 | ||
| 7465 | =end original | |
| 7466 | ||
| 7467 | (F) あなたは C<\b{...}> または C<\B{...}> を使いましたが C<...> は | |
| 7468 | Perl が知らないものでした。 | |
| 7469 | 現在有効なものは L<perlrebackslash/\b{}, \b, \B{}, \B> にあるものです。 | |
| 7470 | ||
| 7471 | =item %s() isn't allowed on :utf8 handles | |
| 7472 | ||
| 7473 | =begin original | |
| 7474 | ||
| 7475 | (F) The sysread(), recv(), syswrite() and send() operators are | |
| 7476 | not allowed on handles that have the C<:utf8> layer, either explicitly, or | |
| 7477 | implicitly, eg., with the C<:encoding(UTF-16LE)> layer. | |
| 7478 | ||
| 7479 | =end original | |
| 7480 | ||
| 7481 | (F) sysread(), recv(), syswrite() and send() 演算子は、 | |
| 7482 | 明示的あるいは C<:encoding(UTF-16LE)> 層のような暗黙的かに関わらず、 | |
| 7483 | C<:utf8> 層を持つハンドルに対しては許されません。 | |
| 7484 | ||
| 7485 | =begin original | |
| 7486 | ||
| 7487 | Previously sysread() and recv() currently use only the C<:utf8> flag for the stream, | |
| 7488 | ignoring the actual layers. Since sysread() and recv() did no UTF-8 | |
| 7489 | validation they can end up creating invalidly encoded scalars. | |
| 7490 | ||
| 7491 | =end original | |
| 7492 | ||
| 7493 | 以前は、sysread() と recv() は現在の所ストリームに対して | |
| 7494 | C<:utf8> フラグのみを使い、実際の層は無視します。 | |
| 7495 | sysread() と recv() は UTF-8 の検証を行っていなかったので、 | |
| 7496 | 不正にエンコードされたスカラを作ることになる可能性があります。 | |
| 7497 | ||
| 7498 | =begin original | |
| 7499 | ||
| 7500 | Similarly, syswrite() and send() used only the C<:utf8> flag, otherwise ignoring | |
| 7501 | any layers. If the flag is set, both wrote the value UTF-8 encoded, even if | |
| 7502 | the layer is some different encoding, such as the example above. | |
| 7503 | ||
| 7504 | =end original | |
| 7505 | ||
| 7506 | 同様に、syswrite() は send() C<:utf8> フラグのみを使い、 | |
| 7507 | それ以外は全ての層を無視していました。 | |
| 7508 | フラグがセットされると、例え層が前述の例のように異なった | |
| 7509 | エンコーディングでも、UTF-8 エンコードされた値を書き込んでいました。 | |
| 7510 | ||
| 7511 | =begin original | |
| 7512 | ||
| 7513 | Ideally, all of these operators would completely ignore the C<:utf8> state, | |
| 7514 | working only with bytes, but this would result in silently breaking existing | |
| 7515 | code. | |
| 7516 | ||
| 7517 | =end original | |
| 7518 | ||
| 7519 | 理想的には、これらの演算子全ては完全に C<:utf8> 状態を無視して | |
| 7520 | バイトに対してのみ動作するべきですが、これは既存のコードを暗黙に | |
| 7521 | 壊すことになります。 | |
| 7522 | ||
| 7523 | =item "%s" is more clearly written simply as "%s" in regex; marked by S<<-- HERE> in m/%s/ | |
| 7524 | ||
| 7525 | =begin original | |
| 7526 | ||
| 7527 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
| 7528 | ||
| 7529 | =end original | |
| 7530 | ||
| 7531 | (W regexp) (C<S<use re 'strict'>> の下か C<(?[...])> の内側のみ) | |
| 7532 | ||
| 7533 | =begin original | |
| 7534 | ||
| 7535 | You specified a character that has the given plainer way of writing it, and | |
| 7536 | which is also portable to platforms running with different character sets. | |
| 7537 | ||
| 7538 | =end original | |
| 7539 | ||
| 7540 | それを書くのにより平坦な方法があり、さらに異なる文字集合で実行される | |
| 7541 | プラットフォーム間で移植性のある文字を指定しました。 | |
| 7542 | ||
| 7543 | =item $* is no longer supported as of Perl 5.30 | |
| 7544 | ||
| 7545 | =begin original | |
| 7546 | ||
| 7547 | (F) The special variable C<$*>, deprecated in older perls, was removed in | |
| 7548 | 5.10.0, is no longer supported and is a fatal error as of Perl 5.30. In | |
| 7549 | previous versions of perl the use of C<$*> enabled or disabled multi-line | |
| 7550 | matching within a string. | |
| 7551 | ||
| 7552 | =end original | |
| 7553 | ||
| 7554 | (F) より古い perl で廃止予定とされ、5.10.0 で削除された特殊変数 C<$*> は、 | |
| 7555 | もはや対応しておらず、Perl 5.30 から致命的エラーになりました。 | |
| 7556 | 以前のバージョンの perl では、C<$*> は文字列中の複数行マッチングを有効または | |
| 7557 | 無効にするために使っていました。 | |
| 7558 | ||
| 7559 | =begin original | |
| 7560 | ||
| 7561 | Instead of using C<$*> you should use the C</m> (and maybe C</s>) regexp | |
| 7562 | modifiers. You can enable C</m> for a lexical scope (even a whole file) | |
| 7563 | with C<use re '/m'>. (In older versions: when C<$*> was set to a true value | |
| 7564 | then all regular expressions behaved as if they were written using C</m>.) | |
| 7565 | ||
| 7566 | =end original | |
| 7567 | ||
| 7568 | C<$*> を使う代わりに、C</m> (とおそらく C</s>) 正規表現修飾子を | |
| 7569 | 使うべきです。 | |
| 7570 | C<use re '/m'> でレキシカルスコープで (ファイル全体でも) C</m> を | |
| 7571 | 有効にできます。 | |
| 7572 | (より古いバージョンでは: C<$*> を真の値に設定すると全ての正規表現は | |
| 7573 | C</m> を使って書かれたかのように振る舞っていました。) | |
| 7574 | ||
| 7575 | =begin original | |
| 7576 | ||
| 7577 | Use of this variable will be a fatal error in Perl 5.30. | |
| 7578 | ||
| 7579 | =end original | |
| 7580 | ||
| 7581 | この変数の使用は Perl 5.30 から致命的エラーになります。 | |
| 7582 | ||
| 7583 | =item $# is no longer supported as of Perl 5.30 | |
| 7584 | ||
| 7585 | =begin original | |
| 7586 | ||
| 7587 | (F) The special variable C<$#>, deprecated in older perls, was removed as of | |
| 7588 | 5.10.0, is no longer supported and is a fatal error as of Perl 5.30. You | |
| 7589 | should use the printf/sprintf functions instead. | |
| 7590 | ||
| 7591 | =end original | |
| 7592 | ||
| 7593 | (F) より古い perl で廃止予定とされ、5.10.0 で削除された特殊変数 C<$#> は、 | |
| 7594 | もはや対応しておらず、Perl 5.30 から致命的エラーになりました。 | |
| 7595 | ||
| 7596 | =item '%s' is not a code reference | |
| 7597 | ||
| 7598 | =begin original | |
| 7599 | ||
| 7600 | (W overload) The second (fourth, sixth, ...) argument of | |
| 7601 | overload::constant needs to be a code reference. Either | |
| 7602 | an anonymous subroutine, or a reference to a subroutine. | |
| 7603 | ||
| 7604 | =end original | |
| 7605 | ||
| 7606 | (W overload) overload::constant の 2 番目 (4 番目、6 番目, ...) の引数は | |
| 7607 | コードリファレンスである必要があります。 | |
| 7608 | 4056 | 無名サブルーチンか、サブルーチンへのリファレンスです。 |
| 7609 | 4057 | |
| 7610 | =item | |
| 4058 | =item `%s' is not an overloadable type | |
| 7611 | 4059 | |
| 7612 | 4060 | =begin original |
| 7613 | 4061 | |
| 7614 | (W | |
| 4062 | (W) You tried to overload a constant type the overload package is unaware of. | |
| 7615 | unaware of. | |
| 7616 | 4063 | |
| 7617 | 4064 | =end original |
| 7618 | 4065 | |
| 7619 | (W | |
| 4066 | (W) オーバーロードパッケージが知らない定数型をオーバーロードしようとしました。 | |
| 7620 | オーバーロードしようとしました。 | |
| 7621 | 4067 | |
| 7622 | =item | |
| 4068 | =item junk on end of regexp | |
| 7623 | 4069 | |
| 7624 | 4070 | =begin original |
| 7625 | 4071 | |
| 7626 | (S inplace) The C<-i> option was passed on the command line, indicating | |
| 7627 | that the script is intended to edit files in place, but no files were | |
| 7628 | given. This is usually a mistake, since editing STDIN in place doesn't | |
| 7629 | make sense, and can be confusing because it can make perl look like | |
| 7630 | it is hanging when it is really just trying to read from STDIN. You | |
| 7631 | should either pass a filename to edit, or remove C<-i> from the command | |
| 7632 | line. See L<perlrun> for more details. | |
| 7633 | ||
| 7634 | =end original | |
| 7635 | ||
| 7636 | (S inplace) The C<-i> オプションがコマンドラインで渡されました; これは | |
| 7637 | スクリプトがファイルをその場で編集することを示していますが、ファイルが | |
| 7638 | 指定されませんでした。 | |
| 7639 | これは普通はミスです; STDIN をその場で編集するというのは無意味ですし、 | |
| 7640 | 本当に単に STDIN から読み込もうとしているだけのときに perl が | |
| 7641 | ハングしているように見えることがあるので混乱を引き起こします。 | |
| 7642 | 編集するファイル名を指定するか、コマンドラインから C<-i> を | |
| 7643 | 取り除いてください。 | |
| 7644 | さらなる詳細については L<perlrun> を参照してください。 | |
| 7645 | ||
| 7646 | =item Junk on end of regexp in regex m/%s/ | |
| 7647 | ||
| 7648 | =begin original | |
| 7649 | ||
| 7650 | 4072 | (P) The regular expression parser is confused. |
| 7651 | 4073 | |
| 7652 | 4074 | =end original |
| 7653 | 4075 | |
| 7654 | 4076 | (P) 正規表現の構文解析ができなくなりました。 |
| 7655 | 4077 | |
| 7656 | 4078 | =item Label not found for "last %s" |
| 7657 | 4079 | |
| 7658 | 4080 | =begin original |
| 7659 | 4081 | |
| 7660 | 4082 | (F) You named a loop to break out of, but you're not currently in a loop |
| 7661 | 4083 | of that name, not even if you count where you were called from. See |
| 7662 | 4084 | L<perlfunc/last>. |
| 7663 | 4085 | |
| 7664 | 4086 | =end original |
| 7665 | 4087 | |
| 7666 | 4088 | (F) 脱出するループを指定しましたが、その名前のループの中にいません、 |
| 7667 | 4089 | たとえ、呼び出された場所がそうであっても、今はそうではありません。 |
| 7668 | 4090 | L<perlfunc/last> を参照してください。 |
| 7669 | 4091 | |
| 7670 | 4092 | =item Label not found for "next %s" |
| 7671 | 4093 | |
| 7672 | 4094 | =begin original |
| 7673 | 4095 | |
| 7674 | 4096 | (F) You named a loop to continue, but you're not currently in a loop of |
| 7675 | 4097 | that name, not even if you count where you were called from. See |
| 7676 | 4098 | L<perlfunc/last>. |
| 7677 | 4099 | |
| 7678 | 4100 | =end original |
| 7679 | 4101 | |
| 7680 | (F) 次の繰り返しを行なうループを指定しましたが、 | |
| 4102 | (F) 次の繰り返しを行なうループを指定しましたが、 | |
| 7681 | ||
| 4103 | その名前のループの中にいません。 | |
| 4104 | たとえ、呼び出された場所がそうであっても、今はそうではありません。 | |
| 7682 | 4105 | L<perlfunc/last> を参照してください。 |
| 7683 | 4106 | |
| 7684 | 4107 | =item Label not found for "redo %s" |
| 7685 | 4108 | |
| 7686 | 4109 | =begin original |
| 7687 | 4110 | |
| 7688 | 4111 | (F) You named a loop to restart, but you're not currently in a loop of |
| 7689 | 4112 | that name, not even if you count where you were called from. See |
| 7690 | 4113 | L<perlfunc/last>. |
| 7691 | 4114 | |
| 7692 | 4115 | =end original |
| 7693 | 4116 | |
| 7694 | (F) 繰り返しの再実行を行なうループを指定しましたが、 | |
| 4117 | (F) 繰り返しの再実行を行なうループを指定しましたが、 | |
| 7695 | ||
| 4118 | その名前のループの中にいません。 | |
| 4119 | たとえ、呼び出された場所がそうであっても、今はそうではありません。 | |
| 7696 | 4120 | L<perlfunc/last> を参照してください。 |
| 7697 | 4121 | |
| 7698 | 4122 | =item leaving effective %s failed |
| 7699 | 4123 | |
| 7700 | 4124 | =begin original |
| 7701 | 4125 | |
| 7702 | 4126 | (F) While under the C<use filetest> pragma, switching the real and |
| 7703 | 4127 | effective uids or gids failed. |
| 7704 | 4128 | |
| 7705 | 4129 | =end original |
| 7706 | 4130 | |
| 7707 | 4131 | (F) C<use filetest> プラグマを使っている間に、 |
| 7708 | 4132 | 実と実効の UID や GID の切り替えに失敗しました。 |
| 7709 | 4133 | |
| 7710 | =item length/code after end of string in unpack | |
| 7711 | ||
| 7712 | =begin original | |
| 7713 | ||
| 7714 | (F) While unpacking, the string buffer was already used up when an unpack | |
| 7715 | length/code combination tried to obtain more data. This results in | |
| 7716 | an undefined value for the length. See L<perlfunc/pack>. | |
| 7717 | ||
| 7718 | =end original | |
| 7719 | ||
| 7720 | (F) unpack する間、さらなるデータを取り出すために長さ/コードの組み合わせを | |
| 7721 | unpack するときに文字列バッファが既に使い切っていました。 | |
| 7722 | これにより、長さが未定義値となります。 | |
| 7723 | L<perlfunc/pack> を参照してください。 | |
| 7724 | ||
| 7725 | =item length() used on %s (did you mean "scalar(%s)"?) | |
| 7726 | ||
| 7727 | =begin original | |
| 7728 | ||
| 7729 | (W syntax) You used length() on either an array or a hash when you | |
| 7730 | probably wanted a count of the items. | |
| 7731 | ||
| 7732 | =end original | |
| 7733 | ||
| 7734 | (W syntax) おそらくアイテムの数を知りたいときに配列やハッシュに対して | |
| 7735 | length() を使いました。 | |
| 7736 | ||
| 7737 | =begin original | |
| 7738 | ||
| 7739 | Array size can be obtained by doing: | |
| 7740 | ||
| 7741 | =end original | |
| 7742 | ||
| 7743 | 配列の大きさは以下のようにして得られます: | |
| 7744 | ||
| 7745 | scalar(@array); | |
| 7746 | ||
| 7747 | =begin original | |
| 7748 | ||
| 7749 | The number of items in a hash can be obtained by doing: | |
| 7750 | ||
| 7751 | =end original | |
| 7752 | ||
| 7753 | ハッシュの要素数は以下のようにして得られます: | |
| 7754 | ||
| 7755 | scalar(keys %hash); | |
| 7756 | ||
| 7757 | =item Lexing code attempted to stuff non-Latin-1 character into Latin-1 input | |
| 7758 | ||
| 7759 | =begin original | |
| 7760 | ||
| 7761 | (F) An extension is attempting to insert text into the current parse | |
| 7762 | (using L<lex_stuff_pvn|perlapi/lex_stuff_pvn> or similar), but tried to insert a character that | |
| 7763 | couldn't be part of the current input. This is an inherent pitfall | |
| 7764 | of the stuffing mechanism, and one of the reasons to avoid it. Where | |
| 7765 | it is necessary to stuff, stuffing only plain ASCII is recommended. | |
| 7766 | ||
| 7767 | =end original | |
| 7768 | ||
| 7769 | (F) エクステンションが(L<lex_stuff_pvn|perlapi/lex_stuff_pvn> や | |
| 7770 | 同様なものを使って)現在のパースにテキストを挿入しようとしましたが、 | |
| 7771 | 現在の入力の一部となることができない文字を挿入しようとしました。 | |
| 7772 | これは詰め物機構の生来の落とし穴で、これを避けるための理由の一つです。 | |
| 7773 | 詰め物が必要なところでは、プレーン ASCII のみを詰めることを推奨します。 | |
| 7774 | ||
| 7775 | =item Lexing code internal error (%s) | |
| 7776 | ||
| 7777 | =begin original | |
| 7778 | ||
| 7779 | (F) Lexing code supplied by an extension violated the lexer's API in a | |
| 7780 | detectable way. | |
| 7781 | ||
| 7782 | =end original | |
| 7783 | ||
| 7784 | (F) エクステンションによって供給された文法解析コードが、検出できる方法で | |
| 7785 | 文法解析器の API に違反しています。 | |
| 7786 | ||
| 7787 | 4134 | =item listen() on closed socket %s |
| 7788 | 4135 | |
| 7789 | 4136 | =begin original |
| 7790 | 4137 | |
| 7791 | 4138 | (W closed) You tried to do a listen on a closed socket. Did you forget |
| 7792 | 4139 | to check the return value of your socket() call? See |
| 7793 | 4140 | L<perlfunc/listen>. |
| 7794 | 4141 | |
| 7795 | 4142 | =end original |
| 7796 | 4143 | |
| 7797 | 4144 | (W closed) クローズされたソケットに listen を行なおうとしました。 |
| 7798 | 4145 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
| 7799 | 4146 | L<perlfunc/listen> を参照してください。 |
| 7800 | 4147 | |
| 7801 | =item L | |
| 4148 | =item Lookbehind longer than %d not implemented at {#} mark in regex %s | |
| 7802 | 4149 | |
| 7803 | 4150 | =begin original |
| 7804 | 4151 | |
| 7805 | ||
| 4152 | There is an upper limit to the depth of lookbehind in the (?<= | |
| 7806 | ||
| 4153 | regular expression construct. | |
| 7807 | Use the two-argument C<open($pipe, '|prog arg1 arg2...')> form instead. | |
| 7808 | 4154 | |
| 7809 | 4155 | =end original |
| 7810 | 4156 | |
| 7811 | ( | |
| 4157 | (?<= 正規表現構造での前方参照の深さには上限があります。 | |
| 7812 | C<open($pipe, '|-', @args)> のような、3 以上の引数の形式の | |
| 7813 | C<open> ではパイプに対応していません。 | |
| 7814 | 代わりに 2 引数 C<open($pipe, '|prog arg1 arg2...')> 形式を使ってください。 | |
| 7815 | 4158 | |
| 7816 | =item L | |
| 4159 | =item Lvalue subs returning %s not implemented yet | |
| 7817 | marked by S<<-- HERE> in m/%s/ | |
| 7818 | 4160 | |
| 7819 | 4161 | =begin original |
| 7820 | 4162 | |
| 7821 | (F) | |
| 4163 | (F) Due to limitations in the current implementation, array and hash | |
| 4164 | values cannot be returned in subroutines used in lvalue context. See | |
| 4165 | L<perlsub/"Lvalue subroutines">. | |
| 7822 | 4166 | |
| 7823 | 4167 | =end original |
| 7824 | 4168 | |
| 7825 | (F) | |
| 4169 | (F) 現在の実装の制限により、左辺値コンテキストで使われるサブルーチンは | |
| 4170 | 配列とハッシュの値を返すことができません。 | |
| 4171 | L<perlsub/"Lvalue subroutines"> を参照してください。 | |
| 7826 | 4172 | |
| 7827 | =be | |
| 4173 | =item Lookbehind longer than %d not implemented before << HERE %s | |
| 7828 | 4174 | |
| 7829 | Likely you forgot the C</x> modifier or there was a typo in the pattern. | |
| 7830 | For example, did you really mean to match a form-feed? If so, all the | |
| 7831 | ASCII vertical space control characters are representable by escape | |
| 7832 | sequences which won't present such a jarring appearance as your pattern | |
| 7833 | does when displayed. | |
| 7834 | ||
| 7835 | =end original | |
| 7836 | ||
| 7837 | おそらく C</x> 修飾子を忘れたか、パターンの中にタイプミスがあるのでしょう。 | |
| 7838 | 例えば、本当に改ページとマッチングしたかったのですか? | |
| 7839 | もしそうなら、全ての ASCII の垂直スペース制御文字は、 | |
| 7840 | パターンを表示したときに不愉快な形で表現されることのない、 | |
| 7841 | エスケープシーケンスによって表現できます。 | |
| 7842 | ||
| 7843 | \r carriage return | |
| 7844 | \f form feed | |
| 7845 | \n line feed | |
| 7846 | \cK vertical tab | |
| 7847 | ||
| 7848 | =item %s: loadable library and perl binaries are mismatched (got handshake key %p, needed %p) | |
| 7849 | ||
| 7850 | 4175 | =begin original |
| 7851 | 4176 | |
| 7852 | (P) A dynamic loading library C<.so> or C<.dll> was being loaded into the | |
| 7853 | process that was built against a different build of perl than the | |
| 7854 | said library was compiled against. Reinstalling the XS module will | |
| 7855 | likely fix this error. | |
| 7856 | ||
| 7857 | =end original | |
| 7858 | ||
| 7859 | (P) 動的ロードライブラリ C<.so> が C<.dll> が、ライブラリが | |
| 7860 | コンパイルされたとするビルドと異なるビルドの perl に対して読み込まれました。 | |
| 7861 | XS モジュールを再インストールすることでおそらくこのエラーは | |
| 7862 | 修正されるでしょう。 | |
| 7863 | ||
| 7864 | =item Locale '%s' contains (at least) the following characters which | |
| 7865 | have unexpected meanings: %s The Perl program will use the expected | |
| 7866 | meanings | |
| 7867 | ||
| 7868 | =begin original | |
| 7869 | ||
| 7870 | (W locale) You are using the named UTF-8 locale. UTF-8 locales are | |
| 7871 | expected to have very particular behavior, which most do. This message | |
| 7872 | arises when perl found some departures from the expectations, and is | |
| 7873 | notifying you that the expected behavior overrides these differences. | |
| 7874 | In some cases the differences are caused by the locale definition being | |
| 7875 | defective, but the most common causes of this warning are when there are | |
| 7876 | ambiguities and conflicts in following the Standard, and the locale has | |
| 7877 | chosen an approach that differs from Perl's. | |
| 7878 | ||
| 7879 | =end original | |
| 7880 | ||
| 7881 | (W locale) 名前付きの UTF-8 ロケールを使っています。 | |
| 7882 | UTF-8 ロケールは、ほとんどの人がするような、とても特殊な振る舞いをすることが | |
| 7883 | 想定されています。 | |
| 7884 | このメッセージは、perl がこの想定との違いを発見し、その違いを | |
| 7885 | 想定される振る舞いで上書きしたことを通知するときに発生します。 | |
| 7886 | 違いはロケール定義に問題があることによる場合もありますが、 | |
| 7887 | この警告のもっとも一般的な原因は、標準に従う際に曖昧さや衝突があり、 | |
| 7888 | ロケールが Perl のものと異なる手法を選んだときです。 | |
| 7889 | ||
| 7890 | =begin original | |
| 7891 | ||
| 7892 | One of these is because that, contrary to the claims, Unicode is not | |
| 7893 | completely locale insensitive. Turkish and some related languages | |
| 7894 | have two types of C<"I"> characters. One is dotted in both upper- and | |
| 7895 | lowercase, and the other is dotless in both cases. Unicode allows a | |
| 7896 | locale to use either the Turkish rules, or the rules used in all other | |
| 7897 | instances, where there is only one type of C<"I">, which is dotless in | |
| 7898 | the uppercase, and dotted in the lower. The perl core does not (yet) | |
| 7899 | handle the Turkish case, and this message warns you of that. Instead, | |
| 7900 | the L<Unicode::Casing> module allows you to mostly implement the Turkish | |
| 7901 | casing rules. | |
| 7902 | ||
| 7903 | =end original | |
| 7904 | ||
| 7905 | その一つは、主張に反して、Unicode が完全にロケールに依存しない | |
| 7906 | 訳ではないからです。 | |
| 7907 | トルコ語およびいくつかの関連言語は、2 種類の C<"I"> 文字があります。 | |
| 7908 | 一つは大文字と小文字の両方でドットがあり、もう一つは両方ともドットが | |
| 7909 | ありません。 | |
| 7910 | Unicode はロケールがトルコ語の規則と、その他全ての場合に | |
| 7911 | 使われる規則、つまり一種類の C<"I"> だけで、大文字ではドットがなく、 | |
| 7912 | 小文字にはドットがあるもの、のどちらを使うことも許しています。 | |
| 7913 | perl コアは (まだ) トルコ語のケースを扱えず、このメッセージはそれを | |
| 7914 | 警告します。 | |
| 7915 | 代わりに、L<Unicode::Casing> モジュールはトルコ語のケース規則をほぼ | |
| 7916 | 実装しています。 | |
| 7917 | ||
| 7918 | =begin original | |
| 7919 | ||
| 7920 | The other common cause is for the characters | |
| 7921 | ||
| 7922 | =end original | |
| 7923 | ||
| 7924 | その他のよくある原因は次の文字です: | |
| 7925 | ||
| 7926 | $ + < = > ^ ` | ~ | |
| 7927 | ||
| 7928 | =begin original | |
| 7929 | ||
| 7930 | These are probematic. The C standard says that these should be | |
| 7931 | considered punctuation in the C locale (and the POSIX standard defers to | |
| 7932 | the C standard), and Unicode is generally considered a superset of | |
| 7933 | the C locale. But Unicode has added an extra category, "Symbol", and | |
| 7934 | classifies these particular characters as being symbols. Most UTF-8 | |
| 7935 | locales have them treated as punctuation, so that L<ispunct(2)> returns | |
| 7936 | non-zero for them. But a few locales have it return 0. Perl takes | |
| 7937 | the first approach, not using C<ispunct()> at all (see L<Note [5] in | |
| 7938 | perlrecharclass|perlrecharclass/[5]>), and this message is raised to notify you that you | |
| 7939 | are getting Perl's approach, not the locale's. | |
| 7940 | ||
| 7941 | =end original | |
| 7942 | ||
| 7943 | これらには問題があります。 | |
| 7944 | C 標準は、これらは C ロケールでは句読点として扱うよう規定されていて | |
| 7945 | (そして POSIX 標準は C 標準に従います)、Unicode は一般的に C ロケールの | |
| 7946 | 上位集合と考えられています。 | |
| 7947 | しかし Unicode は、"Symbol" というカテゴリが追加され、 | |
| 7948 | これはこれらの文字をシンボルとして分類しています。 | |
| 7949 | ほとんどの UTF-8 ロケールはこれらを句読点として扱うので、 | |
| 7950 | L<ispunct(2)> はこれらに対して非 0 を返します。 | |
| 7951 | しかしいくつかのロケールでは 0 を返します。 | |
| 7952 | Perl は最初の手法をとり、C<ispunct()> を全く使わず ( L<Note [5] in | |
| 7953 | perlrecharclass|perlrecharclass/[5]> 参照)、 | |
| 7954 | このメッセージはロケールのものではなく Perl の手法をとったことを | |
| 7955 | 知らせるために発生します。 | |
| 7956 | ||
| 7957 | =item Locale '%s' may not work well.%s | |
| 7958 | ||
| 7959 | =begin original | |
| 7960 | ||
| 7961 | (W locale) You are using the named locale, which is a non-UTF-8 one, and | |
| 7962 | which perl has determined is not fully compatible with what it can | |
| 7963 | handle. The second C<%s> gives a reason. | |
| 7964 | ||
| 7965 | =end original | |
| 7966 | ||
| 7967 | (W locale) 非 UTF-8 の名前付きロケールを使っていますが、 | |
| 7968 | perl はこれを扱うのに完全な互換性のあるものを決定できませんでした。 | |
| 7969 | 2 番目の C<%s> に理由があります。 | |
| 7970 | ||
| 7971 | =begin original | |
| 7972 | ||
| 7973 | By far the most common reason is that the locale has characters in it | |
| 7974 | that are represented by more than one byte. The only such locales that | |
| 7975 | Perl can handle are the UTF-8 locales. Most likely the specified locale | |
| 7976 | is a non-UTF-8 one for an East Asian language such as Chinese or | |
| 7977 | Japanese. If the locale is a superset of ASCII, the ASCII portion of it | |
| 7978 | may work in Perl. | |
| 7979 | ||
| 7980 | =end original | |
| 7981 | ||
| 7982 | もっともありそうな理由は、そのロケールが複数バイトで表現される文字を | |
| 7983 | 持っていることです。 | |
| 7984 | Perl が扱えるそのようなロケールで唯一のものは UTF-8 ロケールです。 | |
| 7985 | もっともありそうな指定されたロケールは、中国や日本のような東アジア言語の | |
| 7986 | 非 UTF-8 のものです。 | |
| 7987 | ロケールが ASCII の上位集合の場合、ASCII の部分は Perl で動作するでしょう。 | |
| 7988 | ||
| 7989 | =begin original | |
| 7990 | ||
| 7991 | Some essentially obsolete locales that aren't supersets of ASCII, mainly | |
| 7992 | those in ISO 646 or other 7-bit locales, such as ASMO 449, can also have | |
| 7993 | problems, depending on what portions of the ASCII character set get | |
| 7994 | changed by the locale and are also used by the program. | |
| 7995 | The warning message lists the determinable conflicting characters. | |
| 7996 | ||
| 7997 | =end original | |
| 7998 | ||
| 7999 | ASCII の上位集合でない、主に ISO 646 のものや、ASMO 449 のような | |
| 8000 | その他の 7 ビットロケールも問題になり得ます; | |
| 8001 | ASCII 文字集合のどの部分がロケールによって変更されるか、およびプログラムで | |
| 8002 | 使われるかによります。 | |
| 8003 | 警告メッセージは決定できる衝突している文字を一覧表示します。 | |
| 8004 | ||
| 8005 | =begin original | |
| 8006 | ||
| 8007 | Note that not all incompatibilities are found. | |
| 8008 | ||
| 8009 | =end original | |
| 8010 | ||
| 8011 | 全ての非互換性が発見されるわけではないことに注意してください。 | |
| 8012 | ||
| 8013 | =begin original | |
| 8014 | ||
| 8015 | If this happens to you, there's not much you can do except switch to use a | |
| 8016 | different locale or use L<Encode> to translate from the locale into | |
| 8017 | UTF-8; if that's impracticable, you have been warned that some things | |
| 8018 | may break. | |
| 8019 | ||
| 8020 | =end original | |
| 8021 | ||
| 8022 | これが起きた場合、異なるロケールを使うように変更するか、 | |
| 8023 | そのロケールから UTF-8 に変換するために L<Encode> を使う以外に | |
| 8024 | できることはあまりありません; もしそれができないなら、 | |
| 8025 | あなたは何かが壊れるかもしれないことを警告されました。 | |
| 8026 | ||
| 8027 | =begin original | |
| 8028 | ||
| 8029 | This message is output once each time a bad locale is switched into | |
| 8030 | within the scope of C<S<use locale>>, or on the first possibly-affected | |
| 8031 | operation if the C<S<use locale>> inherits a bad one. It is not raised | |
| 8032 | for any operations from the L<POSIX> module. | |
| 8033 | ||
| 8034 | =end original | |
| 8035 | ||
| 8036 | このメッセージは、C<S<use locale>> のスコープ内で悪いロケールに切り替わった | |
| 8037 | 毎に、あるいは C<S<use locale>> が悪いものを継承している場合は | |
| 8038 | 最初の影響があるかもしれない操作の時点で出力されます。 | |
| 8039 | これは L<POSIX> モジュールの操作では発生しません。 | |
| 8040 | ||
| 8041 | =item localtime(%f) failed | |
| 8042 | ||
| 8043 | =begin original | |
| 8044 | ||
| 8045 | (W overflow) You called C<localtime> with a number that it could not handle: | |
| 8046 | too large, too small, or NaN. The returned value is C<undef>. | |
| 8047 | ||
| 8048 | =end original | |
| 8049 | ||
| 8050 | (W overflow) 扱えない数値で C<localtime> を呼び出しました: 大きすぎたり | |
| 8051 | 小さすぎたり NaN だったりです。 | |
| 8052 | 返り値は C<undef> です。 | |
| 8053 | ||
| 8054 | =item localtime(%f) too large | |
| 8055 | ||
| 8056 | =begin original | |
| 8057 | ||
| 8058 | (W overflow) You called C<localtime> with a number that was larger | |
| 8059 | than it can reliably handle and C<localtime> probably returned the | |
| 8060 | wrong date. This warning is also triggered with NaN (the special | |
| 8061 | not-a-number value). | |
| 8062 | ||
| 8063 | =end original | |
| 8064 | ||
| 8065 | (W overflow) 信頼して扱えるよりも大きな数値で C<localtime> を呼び出したので | |
| 8066 | C<localtime> はおそらく間違った日付を返します。 | |
| 8067 | この警告は、NaN (特殊な非数) でも引き起こされます。 | |
| 8068 | ||
| 8069 | =item localtime(%f) too small | |
| 8070 | ||
| 8071 | =begin original | |
| 8072 | ||
| 8073 | (W overflow) You called C<localtime> with a number that was smaller | |
| 8074 | than it can reliably handle and C<localtime> probably returned the | |
| 8075 | wrong date. | |
| 8076 | ||
| 8077 | =end original | |
| 8078 | ||
| 8079 | (W overflow) 信頼して扱えるよりも小さな数値で C<localtime> を呼び出したので | |
| 8080 | C<localtime> はおそらく間違った日付を返します。 | |
| 8081 | ||
| 8082 | =item Lookbehind longer than %d not implemented in regex m/%s/ | |
| 8083 | ||
| 8084 | =begin original | |
| 8085 | ||
| 8086 | 4177 | (F) There is currently a limit on the length of string which lookbehind can |
| 8087 | handle. | |
| 4178 | handle. This restriction may be eased in a future release. The << HERE shows in | |
| 4179 | the regular expression about where the problem was discovered. | |
| 8088 | 4180 | |
| 8089 | 4181 | =end original |
| 8090 | 4182 | |
| 8091 | ||
| 4183 | 現在のところ前方参照が扱える文字列の長さには制限があります。 | |
| 8092 | 4184 | この制限は将来のリリースでは緩和されるでしょう。 |
| 4185 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 8093 | 4186 | |
| 8094 | =item Lost precision when %s %f by 1 | |
| 8095 | ||
| 8096 | =begin original | |
| 8097 | ||
| 8098 | (W imprecision) The value you attempted to increment or decrement by one | |
| 8099 | is too large for the underlying floating point representation to store | |
| 8100 | accurately, hence the target of C<++> or C<--> is unchanged. Perl issues this | |
| 8101 | warning because it has already switched from integers to floating point | |
| 8102 | when values are too large for integers, and now even floating point is | |
| 8103 | insufficient. You may wish to switch to using L<Math::BigInt> explicitly. | |
| 8104 | ||
| 8105 | =end original | |
| 8106 | ||
| 8107 | (W imprecision) インクリメントまたはデクリメントしようとしている値は、 | |
| 8108 | 基礎となっている浮動小数点数表現にとって正確に保管するには大きすぎるので、 | |
| 8109 | C<++> や C<--> のターゲットは変更されません。 | |
| 8110 | Perl は既に値が整数として大きすぎる時には整数から浮動小数点数に | |
| 8111 | 切り替えていて、浮動小数点数でも不十分なときにこの警告を出力します。 | |
| 8112 | 明示的に L<Math::BigInt> を使うように切り替えたいかもしれません。 | |
| 8113 | ||
| 8114 | =item lstat() on filehandle%s | |
| 8115 | ||
| 8116 | =begin original | |
| 8117 | ||
| 8118 | (W io) You tried to do an lstat on a filehandle. What did you mean | |
| 8119 | by that? lstat() makes sense only on filenames. (Perl did a fstat() | |
| 8120 | instead on the filehandle.) | |
| 8121 | ||
| 8122 | =end original | |
| 8123 | ||
| 8124 | (W io) ファイルハンドルに lstat を実行しようとしました。 | |
| 8125 | これで何をしようとしたのですか? | |
| 8126 | lstat() はファイル名に対してのみ意味があります。 | |
| 8127 | (Perl はファイルハンドルには代わりに fstat() を行いました。) | |
| 8128 | ||
| 8129 | =item lvalue attribute %s already-defined subroutine | |
| 8130 | ||
| 8131 | =begin original | |
| 8132 | ||
| 8133 | (W misc) Although L<attributes.pm|attributes> allows this, turning the lvalue | |
| 8134 | attribute on or off on a Perl subroutine that is already defined | |
| 8135 | does not always work properly. It may or may not do what you | |
| 8136 | want, depending on what code is inside the subroutine, with exact | |
| 8137 | details subject to change between Perl versions. Only do this | |
| 8138 | if you really know what you are doing. | |
| 8139 | ||
| 8140 | =end original | |
| 8141 | ||
| 8142 | (W misc) L<attributes.pm|attributes> ではこれは許されていますが、既に | |
| 8143 | 定義されている Perl サブルーチンに対して左辺値属性をオンまたはオフにするのは | |
| 8144 | 常に適切に動作するわけではありません。 | |
| 8145 | あなたの望むことが行われるかもしれませんし行われないかもしれません; | |
| 8146 | サブルーチンの内側にどんなコードがあるかに依存し、正確な詳細は | |
| 8147 | Perl バージョン間で変更されることがあります。 | |
| 8148 | 自分が何をしているのかが本当に分かっているときにだけこれを行ってください。 | |
| 8149 | ||
| 8150 | =item lvalue attribute ignored after the subroutine has been defined | |
| 8151 | ||
| 8152 | =begin original | |
| 8153 | ||
| 8154 | (W misc) Using the C<:lvalue> declarative syntax to make a Perl | |
| 8155 | subroutine an lvalue subroutine after it has been defined is | |
| 8156 | not permitted. To make the subroutine an lvalue subroutine, | |
| 8157 | add the lvalue attribute to the definition, or put the C<sub | |
| 8158 | foo :lvalue;> declaration before the definition. | |
| 8159 | ||
| 8160 | =end original | |
| 8161 | ||
| 8162 | (W misc) サブルーチンが定義された後、Perl サブルーチンを左辺値サブルーチンに | |
| 8163 | するために C<:lvalue> 宣言文を使うことはできません。 | |
| 8164 | サブルーチンを左辺値サブルーチンにするには定義時に左辺値属性を追加するか、 | |
| 8165 | 定義する前に C<sub foo :lvalue;> 宣言を行います。 | |
| 8166 | ||
| 8167 | =begin original | |
| 8168 | ||
| 8169 | See also L<attributes.pm|attributes>. | |
| 8170 | ||
| 8171 | =end original | |
| 8172 | ||
| 8173 | L<attributes.pm|attributes> も参照してください。 | |
| 8174 | ||
| 8175 | =item Magical list constants are not supported | |
| 8176 | ||
| 8177 | =begin original | |
| 8178 | ||
| 8179 | (F) You assigned a magical array to a stash element, and then tried | |
| 8180 | to use the subroutine from the same slot. You are asking Perl to do | |
| 8181 | something it cannot do, details subject to change between Perl versions. | |
| 8182 | ||
| 8183 | =end original | |
| 8184 | ||
| 8185 | (F) マジカルな配列をスタッシュ要素に代入し、それから同じスロットから | |
| 8186 | サブルーチンを使おうとしました。 | |
| 8187 | Perl のバージョンによって詳細が変わるかも知れないような、してはいけないことを | |
| 8188 | Perl にさせようとしました。 | |
| 8189 | ||
| 8190 | =item Malformed integer in [] in pack | |
| 8191 | ||
| 8192 | =begin original | |
| 8193 | ||
| 8194 | (F) Between the brackets enclosing a numeric repeat count only digits | |
| 8195 | are permitted. See L<perlfunc/pack>. | |
| 8196 | ||
| 8197 | =end original | |
| 8198 | ||
| 8199 | (F) 中かっこで数値繰り返し数を囲む場合、数値のみが許されます。 | |
| 8200 | L<perlfunc/pack> を参照してください。 | |
| 8201 | ||
| 8202 | =item Malformed integer in [] in unpack | |
| 8203 | ||
| 8204 | =begin original | |
| 8205 | ||
| 8206 | (F) Between the brackets enclosing a numeric repeat count only digits | |
| 8207 | are permitted. See L<perlfunc/pack>. | |
| 8208 | ||
| 8209 | =end original | |
| 8210 | ||
| 8211 | (F) 中かっこで数値繰り返し数を囲む場合、数値のみが許されます。 | |
| 8212 | L<perlfunc/pack> を参照してください。 | |
| 8213 | ||
| 8214 | 4187 | =item Malformed PERLLIB_PREFIX |
| 8215 | 4188 | |
| 8216 | 4189 | =begin original |
| 8217 | 4190 | |
| 8218 | 4191 | (F) An error peculiar to OS/2. PERLLIB_PREFIX should be of the form |
| 8219 | 4192 | |
| 8220 | 4193 | =end original |
| 8221 | 4194 | |
| 8222 | 4195 | (F) OS/2 固有のエラーです。 |
| 8223 | 4196 | PERLLIB_PREFIX は以下のような形か: |
| 8224 | 4197 | |
| 8225 | 4198 | prefix1;prefix2 |
| 8226 | 4199 | |
| 8227 | 4200 | =begin original |
| 8228 | 4201 | |
| 8229 | 4202 | or |
| 8230 | prefix1 prefix2 | |
| 8231 | 4203 | |
| 8232 | 4204 | =end original |
| 8233 | 4205 | |
| 8234 | ||
| 4206 | あるいはこのような形で: | |
| 4207 | ||
| 8235 | 4208 | prefix1 prefix2 |
| 8236 | 4209 | |
| 8237 | 4210 | =begin original |
| 8238 | 4211 | |
| 8239 | 4212 | with nonempty prefix1 and prefix2. If C<prefix1> is indeed a prefix of |
| 8240 | 4213 | a builtin library search path, prefix2 is substituted. The error may |
| 8241 | 4214 | appear if components are not found, or are too long. See |
| 8242 | 4215 | "PERLLIB_PREFIX" in L<perlos2>. |
| 8243 | 4216 | |
| 8244 | 4217 | =end original |
| 8245 | 4218 | |
| 8246 | 4219 | prefix1 と prefix2 が空でない形である必要があります。 |
| 8247 | 4220 | C<prefix1> が組み込みライブラリ検索パスのプレフィックスなら、 |
| 8248 | 4221 | prefix2 は置き換えられます。 |
| 8249 | 4222 | このエラーは、コンポーネントが見つからないか、長すぎる時に起こります。 |
| 8250 | 4223 | L<perlos2> の "PERLLIB_PREFIX" を参照してください。 |
| 8251 | 4224 | |
| 8252 | =item Malformed | |
| 4225 | =item Malformed UTF-8 character (%s) | |
| 8253 | 4226 | |
| 8254 | 4227 | =begin original |
| 8255 | 4228 | |
| 8256 | ||
| 4229 | Perl detected something that didn't comply with UTF-8 encoding rules. | |
| 8257 | syntax of function prototypes is given a brief compile-time check for | |
| 8258 | obvious errors like invalid characters. A more rigorous check is run | |
| 8259 | when the function is called. | |
| 8260 | Perhaps the function's author was trying to write a subroutine signature | |
| 8261 | but didn't enable that feature first (C<use feature 'signatures'>), | |
| 8262 | so the signature was instead interpreted as a bad prototype. | |
| 8263 | 4230 | |
| 8264 | 4231 | =end original |
| 8265 | 4232 | |
| 8266 | ||
| 4233 | Perl が、何か UTF-8 エンコーディングルールに従わないものを | |
| 8267 | ||
| 4234 | 検出しました。 | |
| 8268 | コンパイル時にチェックされます。 | |
| 8269 | より厳密なチェックは、関数が呼び出された時に実行されます。 | |
| 8270 | おそらく関数の作者はサブルーチンシグネチャを書こうとしたけれども、 | |
| 8271 | 先にこの機能を有効にしなかった (C<use feature 'signatures'>) ので、 | |
| 8272 | シグネチャは間違ったプロトタイプとして解釈されました。 | |
| 8273 | 4235 | |
| 8274 | =item Malformed UTF-8 character%s | |
| 8275 | ||
| 8276 | =begin original | |
| 8277 | ||
| 8278 | (S utf8)(F) Perl detected a string that should be UTF-8, but didn't | |
| 8279 | comply with UTF-8 encoding rules, or represents a code point whose | |
| 8280 | ordinal integer value doesn't fit into the word size of the current | |
| 8281 | platform (overflows). Details as to the exact malformation are given in | |
| 8282 | the variable, C<%s>, part of the message. | |
| 8283 | ||
| 8284 | =end original | |
| 8285 | ||
| 8286 | (S utf8)(F) Perl が、UTF-8 であるべき文字列を検出しましたが、 | |
| 8287 | UTF-8 エンコーディング規則に従わない、 | |
| 8288 | あるいは序数が現在のプラットフォームのワードサイズに収まらない | |
| 8289 | (オーバーフローする)符号位置を表現する文字列を検出しました。 | |
| 8290 | 不正な内容についての詳細は、メッセージの C<%s> の部分に入ります。 | |
| 8291 | ||
| 8292 | =begin original | |
| 8293 | ||
| 8294 | One possible cause is that you set the UTF8 flag yourself for data that | |
| 8295 | you thought to be in UTF-8 but it wasn't (it was for example legacy 8-bit | |
| 8296 | data). To guard against this, you can use C<Encode::decode('UTF-8', ...)>. | |
| 8297 | ||
| 8298 | =end original | |
| 8299 | ||
| 8300 | 原因の可能性の一つは、UTF-8 だと思っていたけれでもそうではなかったデータ | |
| 8301 | (例えばレガシーな 8 ビットデータ)にあなた自身で UTF8 フラグをセットした | |
| 8302 | ことです。 | |
| 8303 | これから守るためには、C<Encode::decode('UTF-8', ...)> を使えます。 | |
| 8304 | ||
| 8305 | =begin original | |
| 8306 | ||
| 8307 | If you use the C<:encoding(UTF-8)> PerlIO layer for input, invalid byte | |
| 8308 | sequences are handled gracefully, but if you use C<:utf8>, the flag is set | |
| 8309 | without validating the data, possibly resulting in this error message. | |
| 8310 | ||
| 8311 | =end original | |
| 8312 | ||
| 8313 | 入力に C<:encoding(UTF-8)> PerlIO 層を使うと、不正なバイトシーケンスは | |
| 8314 | 寛容に扱われますが、C<:utf8> を使うと、フラグはデータを検証せずに設定され、 | |
| 8315 | おそらく結果としてこのエラーメッセージが出力されます。 | |
| 8316 | ||
| 8317 | =begin original | |
| 8318 | ||
| 8319 | See also L<Encode/"Handling Malformed Data">. | |
| 8320 | ||
| 8321 | =end original | |
| 8322 | ||
| 8323 | L<Encode/"Handling Malformed Data"> も参照してください。 | |
| 8324 | ||
| 8325 | =item Malformed UTF-8 returned by \N{%s} immediately after '%s' | |
| 8326 | ||
| 8327 | =begin original | |
| 8328 | ||
| 8329 | (F) The charnames handler returned malformed UTF-8. | |
| 8330 | ||
| 8331 | =end original | |
| 8332 | ||
| 8333 | (F) charnames ハンドラが不正な UTF-8 を返しました。 | |
| 8334 | ||
| 8335 | =item Malformed UTF-8 string in "%s" | |
| 8336 | ||
| 8337 | =begin original | |
| 8338 | ||
| 8339 | (F) This message indicates a bug either in the Perl core or in XS | |
| 8340 | code. Such code was trying to find out if a character, allegedly | |
| 8341 | stored internally encoded as UTF-8, was of a given type, such as | |
| 8342 | being punctuation or a digit. But the character was not encoded | |
| 8343 | in legal UTF-8. The C<%s> is replaced by a string that can be used | |
| 8344 | by knowledgeable people to determine what the type being checked | |
| 8345 | against was. | |
| 8346 | ||
| 8347 | =end original | |
| 8348 | ||
| 8349 | (F) このメッセージは、Perl 内部か XS コードのどちらかにバグがあることを | |
| 8350 | 示しています。 | |
| 8351 | そのコードは、UTF-8 として内部でエンコードされて | |
| 8352 | 保管されているということになっているある文字が、 | |
| 8353 | 句読点や数字のような指定された型であるかどうかを見つけ出そうとしました。 | |
| 8354 | しかし、この文字は正当な UTF-8 としてエンコードされていません。 | |
| 8355 | C<%s> は、知識がある人々が、どの種類をチェックするべきかを | |
| 8356 | 決めるために使われる文字列で置き換えられます。 | |
| 8357 | ||
| 8358 | =begin original | |
| 8359 | ||
| 8360 | Passing malformed strings was deprecated in Perl 5.18, and | |
| 8361 | became fatal in Perl 5.26. | |
| 8362 | ||
| 8363 | =end original | |
| 8364 | ||
| 8365 | 不正な文字列を渡すことは Perl 5.18 で廃止予定になり、 | |
| 8366 | Perl 5.26 で致命的エラーになりました。 | |
| 8367 | ||
| 8368 | =item Malformed UTF-8 string in '%c' format in unpack | |
| 8369 | ||
| 8370 | =begin original | |
| 8371 | ||
| 8372 | (F) You tried to unpack something that didn't comply with UTF-8 encoding | |
| 8373 | rules and perl was unable to guess how to make more progress. | |
| 8374 | ||
| 8375 | =end original | |
| 8376 | ||
| 8377 | (F) UTF-8 エンコーディング規則に従わない何かを unpack しようとしたので、 | |
| 8378 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 | |
| 8379 | ||
| 8380 | =item Malformed UTF-8 string in pack | |
| 8381 | ||
| 8382 | =begin original | |
| 8383 | ||
| 8384 | (F) You tried to pack something that didn't comply with UTF-8 encoding | |
| 8385 | rules and perl was unable to guess how to make more progress. | |
| 8386 | ||
| 8387 | =end original | |
| 8388 | ||
| 8389 | (F) UTF-8 エンコーディング規則に従わない何かを pack しようとしたので、 | |
| 8390 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 | |
| 8391 | ||
| 8392 | =item Malformed UTF-8 string in unpack | |
| 8393 | ||
| 8394 | =begin original | |
| 8395 | ||
| 8396 | (F) You tried to unpack something that didn't comply with UTF-8 encoding | |
| 8397 | rules and perl was unable to guess how to make more progress. | |
| 8398 | ||
| 8399 | =end original | |
| 8400 | ||
| 8401 | (F) UTF-8 エンコーディング規則に従わない何かを unpack しようとしたので、 | |
| 8402 | perl はどうやってさらに進捗させればいいかが推測できませんでした。 | |
| 8403 | ||
| 8404 | 4236 | =item Malformed UTF-16 surrogate |
| 8405 | 4237 | |
| 8406 | 4238 | =begin original |
| 8407 | 4239 | |
| 8408 | ||
| 4240 | Perl thought it was reading UTF-16 encoded character data but while | |
| 8409 | 4241 | doing it Perl met a malformed Unicode surrogate. |
| 8410 | 4242 | |
| 8411 | 4243 | =end original |
| 8412 | 4244 | |
| 8413 | ||
| 4245 | Perl は UTF-16 エンコード文字データを読み込んでいると考えましたが、 | |
| 8414 | 4246 | その間に Perl が不正な Unicode サロゲートに遭遇しました。 |
| 8415 | 4247 | |
| 8416 | =item | |
| 4248 | =item %s matches null string many times | |
| 8417 | 4249 | |
| 8418 | 4250 | =begin original |
| 8419 | 4251 | |
| 8420 | (F) In a subroutine signature, you wrote something like "$a = undef, | |
| 8421 | $b", making an earlier parameter optional and a later one mandatory. | |
| 8422 | Parameters are filled from left to right, so it's impossible for the | |
| 8423 | caller to omit an earlier one and pass a later one. If you want to act | |
| 8424 | as if the parameters are filled from right to left, declare the rightmost | |
| 8425 | optional and then shuffle the parameters around in the subroutine's body. | |
| 8426 | ||
| 8427 | =end original | |
| 8428 | ||
| 8429 | (F) サブルーチンシグネチャで、"$a = undef, $b" のような、先の引数が | |
| 8430 | オプションで後の引数が必須のようなものを書きました。 | |
| 8431 | 引数は左から右に埋められるので、呼び出し側が先のものを省略して後のものに | |
| 8432 | 渡すことは不可能です。 | |
| 8433 | 引数が右から左に埋められるかのように振る舞ってほしい場合は、一番右を | |
| 8434 | オプションと宣言して、引数をサブルーチン本体で入れ替えてください。 | |
| 8435 | ||
| 8436 | =item Matched non-Unicode code point 0x%X against Unicode property; may | |
| 8437 | not be portable | |
| 8438 | ||
| 8439 | =begin original | |
| 8440 | ||
| 8441 | (S non_unicode) Perl allows strings to contain a superset of | |
| 8442 | Unicode code points; each code point may be as large as what is storable | |
| 8443 | in a signed integer on your system, but these may not be accepted by | |
| 8444 | other languages/systems. This message occurs when you matched a string | |
| 8445 | containing such a code point against a regular expression pattern, and | |
| 8446 | the code point was matched against a Unicode property, C<\p{...}> or | |
| 8447 | C<\P{...}>. Unicode properties are only defined on Unicode code points, | |
| 8448 | so the result of this match is undefined by Unicode, but Perl (starting | |
| 8449 | in v5.20) treats non-Unicode code points as if they were typical | |
| 8450 | unassigned Unicode ones, and matched this one accordingly. Whether a | |
| 8451 | given property matches these code points or not is specified in | |
| 8452 | L<perluniprops/Properties accessible through \p{} and \P{}>. | |
| 8453 | ||
| 8454 | =end original | |
| 8455 | ||
| 8456 | (S non_unicode) Perl は文字列に Unicode 符号位置の上位集合を | |
| 8457 | 含むことができます; それぞれの符号位置はシステムの符号付き整数に | |
| 8458 | 格納できるだけの大きさを指定できますが、これらは他の言語/システムでは | |
| 8459 | 受け付けられないかも知れません。 | |
| 8460 | このメッセージは、このような符号位置を含む文字列をある正規表現パターンで | |
| 8461 | マッチングし、符号位置が Unicode 特性 C<\p{...}> または C<\P{...}> と | |
| 8462 | マッチングしたときに発生します。 | |
| 8463 | Unicode 特性は Unicode 符号位置に対してのみ定義されているので、 | |
| 8464 | Unicode によればこのマッチングの結果は未定義ですが、 | |
| 8465 | Perl は (v5.20 から) 非 Unicode 符号位置を、典型的な未割り当て | |
| 8466 | Unicode 符号位置として扱い、それぞれマッチングします。 | |
| 8467 | 指定された特性がこれらの符号位置にマッチングするかどうかは | |
| 8468 | L<perluniprops/Properties accessible through \p{} and \P{}> で | |
| 8469 | 指定されています。 | |
| 8470 | ||
| 8471 | =begin original | |
| 8472 | ||
| 8473 | This message is suppressed (unless it has been made fatal) if it is | |
| 8474 | immaterial to the results of the match if the code point is Unicode or | |
| 8475 | not. For example, the property C<\p{ASCII_Hex_Digit}> only can match | |
| 8476 | the 22 characters C<[0-9A-Fa-f]>, so obviously all other code points, | |
| 8477 | Unicode or not, won't match it. (And C<\P{ASCII_Hex_Digit}> will match | |
| 8478 | every code point except these 22.) | |
| 8479 | ||
| 8480 | =end original | |
| 8481 | ||
| 8482 | このメッセージは、符号位置が Unicode かどうかがマッチングの結果に関係ない | |
| 8483 | 場合は、(致命的にしていない限り)抑制されます。 | |
| 8484 | 例えば、特性 C<\p{ASCII_Hex_Digit}> は 22 文字 C<[0-9A-Fa-f]> だけに | |
| 8485 | マッチングするので、明らかに他の符号位置は、Unicode かどうかに関わらず、 | |
| 8486 | マッチングしません。 | |
| 8487 | (そして C<\P{ASCII_Hex_Digit}> はこれら 22 以外の全ての符号位置に | |
| 8488 | マッチングします。) | |
| 8489 | ||
| 8490 | =begin original | |
| 8491 | ||
| 8492 | Getting this message indicates that the outcome of the match arguably | |
| 8493 | should have been the opposite of what actually happened. If you think | |
| 8494 | that is the case, you may wish to make the C<non_unicode> warnings | |
| 8495 | category fatal; if you agree with Perl's decision, you may wish to turn | |
| 8496 | off this category. | |
| 8497 | ||
| 8498 | =end original | |
| 8499 | ||
| 8500 | このメッセージが出たということは、マッチングの結果はおそらく実際に起きた結果と | |
| 8501 | 逆になっているはずだということを示しています。 | |
| 8502 | これに当てはまっていると考えられる場合は、C<non_unicode> 警告カテゴリを | |
| 8503 | 致命的にした方がよいでしょう; Perl の結果に同意する場合は、このカテゴリを | |
| 8504 | オフにした方がよいでしょう。 | |
| 8505 | ||
| 8506 | =begin original | |
| 8507 | ||
| 8508 | See L<perlunicode/Beyond Unicode code points> for more information. | |
| 8509 | ||
| 8510 | =end original | |
| 8511 | ||
| 8512 | さらなる情報については L<perlunicode/Beyond Unicode code points> を | |
| 8513 | 参照してください。 | |
| 8514 | ||
| 8515 | =item %s matches null string many times in regex; marked by S<<-- HERE> in | |
| 8516 | m/%s/ | |
| 8517 | ||
| 8518 | =begin original | |
| 8519 | ||
| 8520 | 4252 | (W regexp) The pattern you've specified would be an infinite loop if the |
| 8521 | regular expression engine didn't specifically check for that. | |
| 4253 | regular expression engine didn't specifically check for that. See | |
| 8522 | ||
| 4254 | L<perlre>. | |
| 8523 | See L<perlre>. | |
| 8524 | 4255 | |
| 8525 | 4256 | =end original |
| 8526 | 4257 | |
| 8527 | 4258 | (W) 指定したパターンは、もし、正規表現エンジンがチェックを |
| 8528 | 4259 | 行なっていなければ、無限ループに陥るものです。 |
| 8529 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 8530 | 4260 | L<perlre> を参照してください。 |
| 8531 | 4261 | |
| 8532 | =item | |
| 4262 | =item % may only be used in unpack | |
| 8533 | 4263 | |
| 8534 | 4264 | =begin original |
| 8535 | 4265 | |
| 8536 | (F) Perl aborted due to too high a number of signals pending. This | |
| 8537 | usually indicates that your operating system tried to deliver signals | |
| 8538 | too fast (with a very high priority), starving the perl process from | |
| 8539 | resources it would need to reach a point where it can process signals | |
| 8540 | safely. (See L<perlipc/"Deferred Signals (Safe Signals)">.) | |
| 8541 | ||
| 8542 | =end original | |
| 8543 | ||
| 8544 | (F) あまりにも多くのシグナルが保留中になったので Perl は中断しました。 | |
| 8545 | これは普通 OS が速くシグナルを(とても高い優先順位で)配達しようとしすぎて、 | |
| 8546 | perl のプロセスが安全にシグナルを処理できるところに到達するまでに必要な | |
| 8547 | リソースが不足したことを示しています。 | |
| 8548 | (L<perlipc/"Deferred Signals (Safe Signals)"> を参照してください。) | |
| 8549 | ||
| 8550 | =item "%s" may clash with future reserved word | |
| 8551 | ||
| 8552 | =begin original | |
| 8553 | ||
| 8554 | (W) This warning may be due to running a perl5 script through a perl4 | |
| 8555 | interpreter, especially if the word that is being warned about is | |
| 8556 | "use" or "my". | |
| 8557 | ||
| 8558 | =end original | |
| 8559 | ||
| 8560 | (W) この警告は perl5 のスクリプトを perl4 インタプリタで実行しようとした | |
| 8561 | ときに起きることが多いです; 特に警告された文字が "use" や "my" の場合は | |
| 8562 | そうです。 | |
| 8563 | ||
| 8564 | =item '%' may not be used in pack | |
| 8565 | ||
| 8566 | =begin original | |
| 8567 | ||
| 8568 | 4266 | (F) You can't pack a string by supplying a checksum, because the |
| 8569 | 4267 | checksumming process loses information, and you can't go the other way. |
| 8570 | 4268 | See L<perlfunc/unpack>. |
| 8571 | 4269 | |
| 8572 | 4270 | =end original |
| 8573 | 4271 | |
| 8574 | (F) チェックサムを指定して pack を行なうことはできません | |
| 4272 | (F) チェックサムを指定して pack を行なうことはできません。 | |
| 8575 | 4273 | チェックサム処理では、情報が失われ、どうしようもなくなるからです。 |
| 8576 | 4274 | L<perlfunc/unpack> を参照してください。 |
| 8577 | 4275 | |
| 8578 | 4276 | =item Method for operation %s not found in package %s during blessing |
| 8579 | 4277 | |
| 8580 | 4278 | =begin original |
| 8581 | 4279 | |
| 8582 | 4280 | (F) An attempt was made to specify an entry in an overloading table that |
| 8583 | 4281 | doesn't resolve to a valid subroutine. See L<overload>. |
| 8584 | 4282 | |
| 8585 | 4283 | =end original |
| 8586 | 4284 | |
| 8587 | 4285 | (F) 多重定義テーブルで、有効なサブルーチンに解決できない |
| 8588 | 4286 | エントリを指定しようとしました。 |
| 8589 | 4287 | L<overload> を参照してください。 |
| 8590 | 4288 | |
| 8591 | 4289 | =item Method %s not permitted |
| 8592 | 4290 | |
| 8593 | 4291 | =begin original |
| 8594 | 4292 | |
| 8595 | See | |
| 4293 | See Server error. | |
| 8596 | 4294 | |
| 8597 | 4295 | =end original |
| 8598 | 4296 | |
| 8599 | ||
| 4297 | "Server error" を参照してください。 | |
| 8600 | 4298 | |
| 8601 | 4299 | =item Might be a runaway multi-line %s string starting on line %d |
| 8602 | 4300 | |
| 8603 | 4301 | =begin original |
| 8604 | 4302 | |
| 8605 | 4303 | (S) An advisory indicating that the previous error may have been caused |
| 8606 | 4304 | by a missing delimiter on a string or pattern, because it eventually |
| 8607 | 4305 | ended earlier on the current line. |
| 8608 | 4306 | |
| 8609 | 4307 | =end original |
| 8610 | 4308 | |
| 8611 | 4309 | (S) ようやく現在行になって、文字列やパターンの終わりが見つかったことから、 |
| 8612 | 4310 | 先のエラーが、文字列やパターンのデリミタが、見つからなかったことで |
| 8613 | 4311 | 起ったかもしれないことを、補足的に示しています。 |
| 8614 | 4312 | |
| 8615 | 4313 | =item Misplaced _ in number |
| 8616 | 4314 | |
| 8617 | 4315 | =begin original |
| 8618 | 4316 | |
| 8619 | (W syntax) An under | |
| 4317 | (W syntax) An underline in a decimal constant wasn't on a 3-digit boundary. | |
| 8620 | separate two digits. | |
| 8621 | 4318 | |
| 8622 | 4319 | =end original |
| 8623 | 4320 | |
| 8624 | (W syntax) 数 | |
| 4321 | (W syntax) 十進数定数で下線が、3 桁ごとでありませんでした。 | |
| 8625 | 4322 | |
| 8626 | =item Missing | |
| 4323 | =item Missing %sbrace%s on \N{} | |
| 8627 | 4324 | |
| 8628 | 4325 | =begin original |
| 8629 | 4326 | |
| 8630 | (F) A C<%n> was used in a format string with no corresponding argument for | |
| 8631 | perl to write the current string length to. | |
| 8632 | ||
| 8633 | =end original | |
| 8634 | ||
| 8635 | (F) C<%n> がフォーマット文字列で使われましたが、perl が現在の文字列長を | |
| 8636 | 書くための対応する引数がありません。 | |
| 8637 | ||
| 8638 | =item Missing argument in %s | |
| 8639 | ||
| 8640 | =begin original | |
| 8641 | ||
| 8642 | (W missing) You called a function with fewer arguments than other | |
| 8643 | arguments you supplied indicated would be needed. | |
| 8644 | ||
| 8645 | =end original | |
| 8646 | ||
| 8647 | (W missing) 他で指定した引数によって必要であると示されているよりも | |
| 8648 | 少ない引数で関数を呼び出しました。 | |
| 8649 | ||
| 8650 | =begin original | |
| 8651 | ||
| 8652 | Currently only emitted when a printf-type format required more | |
| 8653 | arguments than were supplied, but might be used in the future for | |
| 8654 | other cases where we can statically determine that arguments to | |
| 8655 | functions are missing, e.g. for the L<perlfunc/pack> function. | |
| 8656 | ||
| 8657 | =end original | |
| 8658 | ||
| 8659 | 現在のところは printf 型式のフォーマットが提供されたよりも多くの引数を | |
| 8660 | 要求した場合にのみ発生しますが、 | |
| 8661 | 将来、L<perlfunc/pack> 関数のような、関数の引数を静的に決定できる | |
| 8662 | その他の場合に使われるかもしれません。 | |
| 8663 | ||
| 8664 | =item Missing argument to -%c | |
| 8665 | ||
| 8666 | =begin original | |
| 8667 | ||
| 8668 | (F) The argument to the indicated command line switch must follow | |
| 8669 | immediately after the switch, without intervening spaces. | |
| 8670 | ||
| 8671 | =end original | |
| 8672 | ||
| 8673 | (F) 示されたコマンドラインスイッチの引数は、 | |
| 8674 | スイッチの直後にスペースを空けないで書く必要があります。 | |
| 8675 | ||
| 8676 | =item Missing braces on \N{} | |
| 8677 | ||
| 8678 | =item Missing braces on \N{} in regex; marked by S<<-- HERE> in m/%s/ | |
| 8679 | ||
| 8680 | =begin original | |
| 8681 | ||
| 8682 | 4327 | (F) Wrong syntax of character name literal C<\N{charname}> within |
| 8683 | double-quotish context. | |
| 4328 | double-quotish context. | |
| 8684 | (or comment) between the C<\N> and the C<{> in a regex with the C</x> modifier. | |
| 8685 | This modifier does not change the requirement that the brace immediately | |
| 8686 | follow the C<\N>. | |
| 8687 | 4329 | |
| 8688 | 4330 | =end original |
| 8689 | 4331 | |
| 8690 | 4332 | (F) ダブルクォートされたコンテキストの中で、文字名リテラル C<\N{charname}> の |
| 8691 | 4333 | 文法が間違っています。 |
| 8692 | これはまた、C</x> 修飾子付きの正規表現の C<\N> と C<{> の間に空白(または | |
| 8693 | コメント)がある場合にも起こります。 | |
| 8694 | この修飾子は、C<\N> の直後に中かっこが必要であるという条件は変更しません。 | |
| 8695 | 4334 | |
| 8696 | =item Missing braces on \o{} | |
| 8697 | ||
| 8698 | =begin original | |
| 8699 | ||
| 8700 | (F) A C<\o> must be followed immediately by a C<{> in double-quotish context. | |
| 8701 | ||
| 8702 | =end original | |
| 8703 | ||
| 8704 | (F) ダブルクォート風コンテキストでは C<\o> は直後に C<{> が | |
| 8705 | 引き続かなければなりません。 | |
| 8706 | ||
| 8707 | 4335 | =item Missing comma after first argument to %s function |
| 8708 | 4336 | |
| 8709 | 4337 | =begin original |
| 8710 | 4338 | |
| 8711 | 4339 | (F) While certain functions allow you to specify a filehandle or an |
| 8712 | 4340 | "indirect object" before the argument list, this ain't one of them. |
| 8713 | 4341 | |
| 8714 | 4342 | =end original |
| 8715 | 4343 | |
| 8716 | 4344 | (F) ある種の関数では、引数リストの前に、ファイルハンドルや |
| 8717 | 4345 | 「間接オブジェクト」をおくことができますが、この関数は、 |
| 8718 | 4346 | そういったものではありません。 |
| 8719 | 4347 | |
| 8720 | 4348 | =item Missing command in piped open |
| 8721 | 4349 | |
| 8722 | 4350 | =begin original |
| 8723 | 4351 | |
| 8724 | 4352 | (W pipe) You used the C<open(FH, "| command")> or |
| 8725 | 4353 | C<open(FH, "command |")> construction, but the command was missing or |
| 8726 | 4354 | blank. |
| 8727 | 4355 | |
| 8728 | 4356 | =end original |
| 8729 | 4357 | |
| 8730 | 4358 | (W pipe) C<open(FH, "| command")> か C<open(FH, "command |")> の構文を |
| 8731 | 4359 | 使っていますが、コマンドが指定されていないか空白です。 |
| 8732 | 4360 | |
| 8733 | =item Missing | |
| 4361 | =item Missing name in "my sub" | |
| 8734 | 4362 | |
| 8735 | 4363 | =begin original |
| 8736 | 4364 | |
| 8737 | (F) | |
| 4365 | (F) The reserved syntax for lexically scoped subroutines requires that | |
| 8738 | character name. | |
| 8739 | ||
| 8740 | =end original | |
| 8741 | ||
| 8742 | (F) ダブルクォートされた文字列が "\c" で終わっています; 制御文字名が | |
| 8743 | 必要です。 | |
| 8744 | ||
| 8745 | =item Missing ']' in prototype for %s : %s | |
| 8746 | ||
| 8747 | =begin original | |
| 8748 | ||
| 8749 | (W illegalproto) A grouping was started with C<[> but never closed with C<]>. | |
| 8750 | ||
| 8751 | =end original | |
| 8752 | ||
| 8753 | (W illegalproto) グループ化は C<[> で始まりましたが C<]> で | |
| 8754 | 閉じられませんでした。 | |
| 8755 | ||
| 8756 | =item Missing name in "%s sub" | |
| 8757 | ||
| 8758 | =begin original | |
| 8759 | ||
| 8760 | (F) The syntax for lexically scoped subroutines requires that | |
| 8761 | 4366 | they have a name with which they can be found. |
| 8762 | 4367 | |
| 8763 | 4368 | =end original |
| 8764 | 4369 | |
| 8765 | (F) レキシカルスコープのサブルーチン | |
| 4370 | (F) 予約された文法である、レキシカルスコープのサブルーチンには | |
| 4371 | 探すことの出来る名前が必要です。 | |
| 8766 | 4372 | |
| 8767 | 4373 | =item Missing $ on loop variable |
| 8768 | 4374 | |
| 8769 | 4375 | =begin original |
| 8770 | 4376 | |
| 8771 | 4377 | (F) Apparently you've been programming in B<csh> too much. Variables |
| 8772 | 4378 | are always mentioned with the $ in Perl, unlike in the shells, where it |
| 8773 | 4379 | can vary from one line to the next. |
| 8774 | 4380 | |
| 8775 | 4381 | =end original |
| 8776 | 4382 | |
| 8777 | 4383 | (F) B<csh> を使いすぎた症状が現れているようです。 |
| 8778 | Perl では、変数は常に $ を付けて表わされます | |
| 4384 | Perl では、変数は常に $ を付けて表わされます。 | |
| 8779 | 違っています。 | |
| 4385 | その時によって違う、シェルとは違っています。 | |
| 8780 | 4386 | |
| 8781 | 4387 | =item (Missing operator before %s?) |
| 8782 | 4388 | |
| 8783 | 4389 | =begin original |
| 8784 | 4390 | |
| 8785 | (S | |
| 4391 | (S) This is an educated guess made in conjunction with the message "%s | |
| 8786 | ||
| 4392 | found where operator expected". Often the missing operator is a comma. | |
| 8787 | 4393 | |
| 8788 | 4394 | =end original |
| 8789 | 4395 | |
| 8790 | (S | |
| 4396 | (S) "%s found where operator expected" と共に表示される教育的な推測です。 | |
| 8791 | ||
| 4397 | しばしば抜けている演算子はカンマです。 | |
| 8792 | しばしば不足している演算子はカンマです。 | |
| 8793 | 4398 | |
| 8794 | =item Missing or undefined argument to %s | |
| 8795 | ||
| 8796 | =begin original | |
| 8797 | ||
| 8798 | (F) You tried to call require or do with no argument or with an undefined | |
| 8799 | value as an argument. Require expects either a package name or a | |
| 8800 | file-specification as an argument; do expects a filename. See | |
| 8801 | L<perlfunc/require EXPR> and L<perlfunc/do EXPR>. | |
| 8802 | ||
| 8803 | =end original | |
| 8804 | ||
| 8805 | (F) 引数なし、または未定義値を引数として require や do を | |
| 8806 | 呼び出そうとしました。 | |
| 8807 | require はパッケージ名またはファイル指定を引数として想定します; | |
| 8808 | do はファイル名を想定します。 | |
| 8809 | L<perlfunc/require EXPR> と L<perlfunc/do EXPR> を参照してください。 | |
| 8810 | ||
| 8811 | =item Missing right brace on \%c{} in regex; marked by S<<-- HERE> in m/%s/ | |
| 8812 | ||
| 8813 | =begin original | |
| 8814 | ||
| 8815 | (F) Missing right brace in C<\x{...}>, C<\p{...}>, C<\P{...}>, or C<\N{...}>. | |
| 8816 | ||
| 8817 | =end original | |
| 8818 | ||
| 8819 | (F) C<\x{...}>, C<\p{...}>, C<\P{...}>, C<\N{...}> の右側のかっこが | |
| 8820 | 抜けています。 | |
| 8821 | ||
| 8822 | =item Missing right brace on \N{} | |
| 8823 | ||
| 8824 | =item Missing right brace on \N{} or unescaped left brace after \N | |
| 8825 | ||
| 8826 | =begin original | |
| 8827 | ||
| 8828 | (F) C<\N> has two meanings. | |
| 8829 | ||
| 8830 | =end original | |
| 8831 | ||
| 8832 | (F) C<\N> には二つの意味があります。 | |
| 8833 | ||
| 8834 | =begin original | |
| 8835 | ||
| 8836 | The traditional one has it followed by a name enclosed in braces, | |
| 8837 | meaning the character (or sequence of characters) given by that | |
| 8838 | name. Thus C<\N{ASTERISK}> is another way of writing C<*>, valid in both | |
| 8839 | double-quoted strings and regular expression patterns. In patterns, | |
| 8840 | it doesn't have the meaning an unescaped C<*> does. | |
| 8841 | ||
| 8842 | =end original | |
| 8843 | ||
| 8844 | 伝統的なものは中かっこで囲まれた名前が引き続き、その名前を持つ文字 | |
| 8845 | (または文字並び)を意味します。 | |
| 8846 | 従って C<\N{ASTERISK}> は C<*> を書くためのもう一つの方法であり、 | |
| 8847 | ダブルクォート文字列と正規表現パターンの両方で妥当です。 | |
| 8848 | パターンでは、これはエスケープされない C<*> の持つ意味はありません。 | |
| 8849 | ||
| 8850 | =begin original | |
| 8851 | ||
| 8852 | Starting in Perl 5.12.0, C<\N> also can have an additional meaning (only) | |
| 8853 | in patterns, namely to match a non-newline character. (This is short | |
| 8854 | for C<[^\n]>, and like C<.> but is not affected by the C</s> regex modifier.) | |
| 8855 | ||
| 8856 | =end original | |
| 8857 | ||
| 8858 | Perl 5.12.0 から、C<\N> はパターンでの中(のみ)では追加の意味を持ちます; | |
| 8859 | 非改行文字にマッチングします。 | |
| 8860 | (これは C<[^\n]> の短縮形で、C<.> と似ていますが C</s> 正規表現修飾子によって | |
| 8861 | 影響を受けません。) | |
| 8862 | ||
| 8863 | =begin original | |
| 8864 | ||
| 8865 | This can lead to some ambiguities. When C<\N> is not followed immediately | |
| 8866 | by a left brace, Perl assumes the C<[^\n]> meaning. Also, if the braces | |
| 8867 | form a valid quantifier such as C<\N{3}> or C<\N{5,}>, Perl assumes that this | |
| 8868 | means to match the given quantity of non-newlines (in these examples, | |
| 8869 | 3; and 5 or more, respectively). In all other case, where there is a | |
| 8870 | C<\N{> and a matching C<}>, Perl assumes that a character name is desired. | |
| 8871 | ||
| 8872 | =end original | |
| 8873 | ||
| 8874 | これによりいくつかの曖昧さを引き起こします。 | |
| 8875 | C<\N> の直後に開き中かっこがなければ、Perl は C<[^\n]> の意味を仮定します。 | |
| 8876 | また、中かっこが C<\N{3}> や C<\N{5,}> のような妥当な量指定子の形に | |
| 8877 | なっているなら、Perl はこれを与えられた量の非改行 (この例では、それぞれ 3 と | |
| 8878 | 5 以上) にマッチングするという意味を仮定します。 | |
| 8879 | それ以外の場合、C<\N{> と対応する C<}> があれば、Perl は文字名が | |
| 8880 | 求められていると仮定します。 | |
| 8881 | ||
| 8882 | =begin original | |
| 8883 | ||
| 8884 | However, if there is no matching C<}>, Perl doesn't know if it was | |
| 8885 | mistakenly omitted, or if C<[^\n]{> was desired, and raises this error. | |
| 8886 | If you meant the former, add the right brace; if you meant the latter, | |
| 8887 | escape the brace with a backslash, like so: C<\N\{> | |
| 8888 | ||
| 8889 | =end original | |
| 8890 | ||
| 8891 | しかし、対応する C<}> がなければ、それが間違って省略されたのか、 | |
| 8892 | C<[^\n]{> が求められているものなのかが分からず、エラーを起こします。 | |
| 8893 | 前者を意味しているなら、閉じ中かっこを追加してください; 後者を | |
| 8894 | 意味しているなら、C<\N\{> のように中かっこを逆スラッシュで | |
| 8895 | エスケープしてください。 | |
| 8896 | ||
| 8897 | 4399 | =item Missing right curly or square bracket |
| 8898 | 4400 | |
| 8899 | 4401 | =begin original |
| 8900 | 4402 | |
| 8901 | 4403 | (F) The lexer counted more opening curly or square brackets than closing |
| 8902 | 4404 | ones. As a general rule, you'll find it's missing near the place you |
| 8903 | 4405 | were last editing. |
| 8904 | 4406 | |
| 8905 | 4407 | =end original |
| 8906 | 4408 | |
| 8907 | (F) 字句解析部が、閉じ中 | |
| 4409 | (F) 字句解析部が、閉じ中括弧(または大括弧)よりも | |
| 8908 | 開き中 | |
| 4410 | 開き中括弧(大括弧)を多く発見しました。 | |
| 8909 | 4411 | 一般的な規則として、最後に修正した場所の近くに間違いがあるといえます。 |
| 8910 | 4412 | |
| 8911 | 4413 | =item (Missing semicolon on previous line?) |
| 8912 | 4414 | |
| 8913 | 4415 | =begin original |
| 8914 | 4416 | |
| 8915 | (S | |
| 4417 | (S) This is an educated guess made in conjunction with the message "%s | |
| 8916 | ||
| 4418 | found where operator expected". Don't automatically put a semicolon on | |
| 8917 | 4419 | the previous line just because you saw this message. |
| 8918 | 4420 | |
| 8919 | 4421 | =end original |
| 8920 | 4422 | |
| 8921 | (S | |
| 4423 | (S) このメッセージは、"%s found where operator expected" という | |
| 8922 | ||
| 4424 | メッセージに伴って出される教育的な推測によるものです。 | |
| 8923 | このメッセージが出たからといって、機械的に前の行に | |
| 4425 | このメッセージが出たからといって、機械的に前の行に | |
| 8924 | しないでください。 | |
| 4426 | セミコロンを付けることはしないでください。 | |
| 8925 | 4427 | |
| 8926 | 4428 | =item Modification of a read-only value attempted |
| 8927 | 4429 | |
| 8928 | 4430 | =begin original |
| 8929 | 4431 | |
| 8930 | 4432 | (F) You tried, directly or indirectly, to change the value of a |
| 8931 | 4433 | constant. You didn't, of course, try "2 = 1", because the compiler |
| 8932 | 4434 | catches that. But an easy way to do the same thing is: |
| 8933 | 4435 | |
| 8934 | 4436 | =end original |
| 8935 | 4437 | |
| 8936 | 4438 | (F) 直接、間接に関らず、定数値を変更しようとしました。 |
| 8937 | 4439 | もちろん、コンパイラが発見できる、"2 = 1" などといったことを |
| 8938 | 4440 | したわけではありません。 |
| 8939 | 4441 | しかし、同じことは以下のようにしても起こります。 |
| 8940 | 4442 | |
| 8941 | 4443 | sub mod { $_[0] = 1 } |
| 8942 | 4444 | mod(2); |
| 8943 | 4445 | |
| 8944 | 4446 | =begin original |
| 8945 | 4447 | |
| 8946 | 4448 | Another way is to assign to a substr() that's off the end of the string. |
| 8947 | 4449 | |
| 8948 | 4450 | =end original |
| 8949 | 4451 | |
| 8950 | 4452 | substr() で、文字列の終わりよりも後ろに代入を行なうことでも起こります。 |
| 8951 | 4453 | |
| 8952 | 4454 | =begin original |
| 8953 | 4455 | |
| 8954 | 4456 | Yet another way is to assign to a C<foreach> loop I<VAR> when I<VAR> |
| 8955 | 4457 | is aliased to a constant in the look I<LIST>: |
| 8956 | 4458 | |
| 8957 | 4459 | =end original |
| 8958 | 4460 | |
| 8959 | 4461 | もう一つの可能性は、C<foreach> ループにおいて、I<VAR> が I<LIST> の中の |
| 8960 | 4462 | 定数のエイリアスであるときに、I<VAR> に代入した時です: |
| 8961 | 4463 | |
| 8962 | $x = 1; | |
| 4464 | $x = 1; | |
| 8963 | foreach my $n ($x, 2) { | |
| 4465 | foreach my $n ($x, 2) { | |
| 8964 | $n *= 2; # modifies the $x, but fails on attempt to | |
| 4466 | $n *= 2; # modifies the $x, but fails on attempt to modify the 2 | |
| 8965 | | |
| 4467 | } | |
| 8966 | 4468 | |
| 8967 | 4469 | =item Modification of non-creatable array value attempted, %s |
| 8968 | 4470 | |
| 8969 | 4471 | =begin original |
| 8970 | 4472 | |
| 8971 | 4473 | (F) You tried to make an array value spring into existence, and the |
| 8972 | 4474 | subscript was probably negative, even counting from end of the array |
| 8973 | 4475 | backwards. |
| 8974 | 4476 | |
| 8975 | 4477 | =end original |
| 8976 | 4478 | |
| 8977 | (F) 配列値を存在するようにしようとしました | |
| 4479 | (F) 配列値を存在するようにしようとしました。 おそらく、 | |
| 8978 | 終わりから逆に数えたとしても、 | |
| 4480 | 添字が負数で、配列の終わりから逆に数えたとしても、 | |
| 4481 | おかしな位置を指しているようです。 | |
| 8979 | 4482 | |
| 8980 | 4483 | =item Modification of non-creatable hash value attempted, %s |
| 8981 | 4484 | |
| 8982 | 4485 | =begin original |
| 8983 | 4486 | |
| 8984 | 4487 | (P) You tried to make a hash value spring into existence, and it |
| 8985 | 4488 | couldn't be created for some peculiar reason. |
| 8986 | 4489 | |
| 8987 | 4490 | =end original |
| 8988 | 4491 | |
| 8989 | 4492 | (F) ハッシュ値を存在するようにしようとしましたが、何か特別な理由で、 |
| 8990 | 4493 | できませんでした。 |
| 8991 | 4494 | |
| 8992 | 4495 | =item Module name must be constant |
| 8993 | 4496 | |
| 8994 | 4497 | =begin original |
| 8995 | 4498 | |
| 8996 | 4499 | (F) Only a bare module name is allowed as the first argument to a "use". |
| 8997 | 4500 | |
| 8998 | 4501 | =end original |
| 8999 | 4502 | |
| 9000 | 4503 | (F) "use" の最初の引数としてモジュール名を示すのに許されているのは、 |
| 9001 | 4504 | 裸の単語だけです。 |
| 9002 | 4505 | |
| 9003 | 4506 | =item Module name required with -%c option |
| 9004 | 4507 | |
| 9005 | 4508 | =begin original |
| 9006 | 4509 | |
| 9007 | 4510 | (F) The C<-M> or C<-m> options say that Perl should load some module, but |
| 9008 | 4511 | you omitted the name of the module. Consult L<perlrun> for full details |
| 9009 | 4512 | about C<-M> and C<-m>. |
| 9010 | 4513 | |
| 9011 | 4514 | =end original |
| 9012 | 4515 | |
| 9013 | 4516 | C<-M> と C<-m> のオプションは Perl にモジュールを読み込ませることを |
| 9014 | 4517 | 指示しますが、モジュール名がありませんでした。 |
| 9015 | 4518 | C<-M> と C<-m> に関する完全な詳細については L<perlrun> を参照してください。 |
| 9016 | 4519 | |
| 9017 | =item More than one argument to '%s' open | |
| 9018 | ||
| 9019 | =begin original | |
| 9020 | ||
| 9021 | (F) The C<open> function has been asked to open multiple files. This | |
| 9022 | can happen if you are trying to open a pipe to a command that takes a | |
| 9023 | list of arguments, but have forgotten to specify a piped open mode. | |
| 9024 | See L<perlfunc/open> for details. | |
| 9025 | ||
| 9026 | =end original | |
| 9027 | ||
| 9028 | (F) C<open> 関数に、複数のファイルを開くように指定されました。 | |
| 9029 | これは引数のリストを取るコマンドへのパイプを開こうとしたときに、パイプ | |
| 9030 | オープンモードを指定するのを忘れた時に起きます。 | |
| 9031 | 詳細は L<perlfunc/open> を参照してください。 | |
| 9032 | ||
| 9033 | =item mprotect for COW string %p %u failed with %d | |
| 9034 | ||
| 9035 | =begin original | |
| 9036 | ||
| 9037 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_COW (see | |
| 9038 | L<perlguts/"Copy on Write">), but a shared string buffer | |
| 9039 | could not be made read-only. | |
| 9040 | ||
| 9041 | =end original | |
| 9042 | ||
| 9043 | (S) perl を B<-D>PERL_DEBUG_READONLY_COW (L<perlguts/"Copy on Write"> 参照) で | |
| 9044 | コンパイルしましたが、共有文字列バッファを読み込み専用にできませんでした。 | |
| 9045 | ||
| 9046 | =item mprotect for %p %u failed with %d | |
| 9047 | ||
| 9048 | =begin original | |
| 9049 | ||
| 9050 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_OPS (see L<perlhacktips>), | |
| 9051 | but an op tree could not be made read-only. | |
| 9052 | ||
| 9053 | =end original | |
| 9054 | ||
| 9055 | (S) perl が B<-D>PERL_DEBUG_READONLY_OPS (L<perlhacktips> 参照) で | |
| 9056 | コンパイルされましたが、op 木を読み込み専用にできませんでした。 | |
| 9057 | ||
| 9058 | =item mprotect RW for COW string %p %u failed with %d | |
| 9059 | ||
| 9060 | =begin original | |
| 9061 | ||
| 9062 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_COW (see | |
| 9063 | L<perlguts/"Copy on Write">), but a read-only shared string | |
| 9064 | buffer could not be made mutable. | |
| 9065 | ||
| 9066 | =end original | |
| 9067 | ||
| 9068 | (S) perl を B<-D>PERL_DEBUG_READONLY_COW (L<perlguts/"Copy on Write"> 参照) で | |
| 9069 | コンパイルしましたが、読み込み専用共有文字列バッファを変更可能に | |
| 9070 | できませんでした。 | |
| 9071 | ||
| 9072 | =item mprotect RW for %p %u failed with %d | |
| 9073 | ||
| 9074 | =begin original | |
| 9075 | ||
| 9076 | (S) You compiled perl with B<-D>PERL_DEBUG_READONLY_OPS (see | |
| 9077 | L<perlhacktips>), but a read-only op tree could not be made | |
| 9078 | mutable before freeing the ops. | |
| 9079 | ||
| 9080 | =end original | |
| 9081 | ||
| 9082 | (S) perl が B<-D>PERL_DEBUG_READONLY_OPS (L<perlhacktips> 参照) で | |
| 9083 | コンパイルされましたが、読み込み専用の op 木を、op を解放する前に | |
| 9084 | ミュータブルにできませんでした。 | |
| 9085 | ||
| 9086 | 4520 | =item msg%s not implemented |
| 9087 | 4521 | |
| 9088 | 4522 | =begin original |
| 9089 | 4523 | |
| 9090 | 4524 | (F) You don't have System V message IPC on your system. |
| 9091 | 4525 | |
| 9092 | 4526 | =end original |
| 9093 | 4527 | |
| 9094 | 4528 | (F) このシステムでは、System V メッセージ IPC は使えません。 |
| 9095 | 4529 | |
| 9096 | 4530 | =item Multidimensional syntax %s not supported |
| 9097 | 4531 | |
| 9098 | 4532 | =begin original |
| 9099 | 4533 | |
| 9100 | 4534 | (W syntax) Multidimensional arrays aren't written like C<$foo[1,2,3]>. |
| 9101 | 4535 | They're written like C<$foo[1][2][3]>, as in C. |
| 9102 | 4536 | |
| 9103 | 4537 | =end original |
| 9104 | 4538 | |
| 9105 | 4539 | (W syntax) 多次元配列は、C<$foo[1,2,3]> のようには書けません。 |
| 9106 | 4540 | これは、C のように C<$foo[1][2][3]> のように書きます。 |
| 9107 | 4541 | |
| 9108 | =item | |
| 4542 | =item / must be followed by a*, A* or Z* | |
| 9109 | 4543 | |
| 9110 | 4544 | =begin original |
| 9111 | 4545 | |
| 9112 | (F) | |
| 4546 | (F) You had a pack template indicating a counted-length string, | |
| 9113 | the l | |
| 4547 | Currently the only things that can have their length counted are a*, A* | |
| 9114 | e | |
| 4548 | or Z*. See L<perlfunc/pack>. | |
| 9115 | 4549 | |
| 9116 | 4550 | =end original |
| 9117 | 4551 | |
| 9118 | (F) | |
| 4552 | (F) カウント長文字列を示す pack テンプレートがあります。 | |
| 9119 | ||
| 4553 | 現在のところ長さをカウントできるのは a*, A*, Z* だけです。 | |
| 4554 | L<perlfunc/pack> を参照してください。 | |
| 9120 | 4555 | |
| 9121 | | |
| 4556 | =item / must be followed by a, A or Z | |
| 9122 | sub foo ($a, @b, %) {} # invalid | |
| 9123 | 4557 | |
| 9124 | =item '/' must follow a numeric type in unpack | |
| 9125 | ||
| 9126 | 4558 | =begin original |
| 9127 | 4559 | |
| 9128 | (F) You had an unpack template | |
| 4560 | (F) You had an unpack template indicating a counted-length string, which | |
| 9129 | follow | |
| 4561 | must be followed by one of the letters a, A or Z to indicate what sort | |
| 9130 | See L<perlfunc/pack>. | |
| 4562 | of string is to be unpacked. See L<perlfunc/pack>. | |
| 9131 | 4563 | |
| 9132 | 4564 | =end original |
| 9133 | 4565 | |
| 9134 | (F) | |
| 4566 | (F) カウント長文字列を示す unpack テンプレートがあります; | |
| 9135 | ||
| 4567 | これはどの種類の文字列を unpack するかを指示する、文字 a, A, Z の | |
| 4568 | いずれかの後に続かなければなりません。 | |
| 9136 | 4569 | L<perlfunc/pack> を参照してください。 |
| 9137 | 4570 | |
| 9138 | =item | |
| 4571 | =item / must follow a numeric type | |
| 9139 | 4572 | |
| 9140 | 4573 | =begin original |
| 9141 | 4574 | |
| 9142 | (F) | |
| 4575 | (F) You had an unpack template that contained a '#', but this did not | |
| 9143 | ||
| 4576 | follow some numeric unpack specification. See L<perlfunc/pack>. | |
| 9144 | individual character, and hence doing this operation on it doesn't make | |
| 9145 | sense. | |
| 9146 | 4577 | |
| 9147 | 4578 | =end original |
| 9148 | 4579 | |
| 9149 | (F) | |
| 4580 | (F) '#' を含む unpack テンプレートがありますが、これがなんらかの | |
| 9150 | ||
| 4581 | 数値 unpack 指定に引き続いていません。 | |
| 9151 | ||
| 4582 | L<perlfunc/pack> を参照してください。 | |
| 9152 | 4583 | |
| 9153 | 4584 | =item "my sub" not yet implemented |
| 9154 | 4585 | |
| 9155 | 4586 | =begin original |
| 9156 | 4587 | |
| 9157 | 4588 | (F) Lexically scoped subroutines are not yet implemented. Don't try |
| 9158 | 4589 | that yet. |
| 9159 | 4590 | |
| 9160 | 4591 | =end original |
| 9161 | 4592 | |
| 9162 | 4593 | (F) レキシカルスコープのサブルーチンはまだ実装されていません。 |
| 9163 | 4594 | まだ試さないでください。 |
| 9164 | 4595 | |
| 9165 | =item "my" subroutine %s can't be in a package | |
| 9166 | ||
| 9167 | =begin original | |
| 9168 | ||
| 9169 | (F) Lexically scoped subroutines aren't in a package, so it doesn't make | |
| 9170 | sense to try to declare one with a package qualifier on the front. | |
| 9171 | ||
| 9172 | =end original | |
| 9173 | ||
| 9174 | (F) レキシカルスコープサブルーチンはパッケージ内にないので、 | |
| 9175 | 頭にパッケージ名を付けて宣言することは、無意味です。 | |
| 9176 | ||
| 9177 | =item "my %s" used in sort comparison | |
| 9178 | ||
| 9179 | =begin original | |
| 9180 | ||
| 9181 | (W syntax) The package variables $a and $b are used for sort comparisons. | |
| 9182 | You used $a or $b in as an operand to the C<< <=> >> or C<cmp> operator inside a | |
| 9183 | sort comparison block, and the variable had earlier been declared as a | |
| 9184 | lexical variable. Either qualify the sort variable with the package | |
| 9185 | name, or rename the lexical variable. | |
| 9186 | ||
| 9187 | =end original | |
| 9188 | ||
| 9189 | (W syntax) パッケージ変数 $a と $b はソート比較のために使われます。 | |
| 9190 | $a または $b をソート比較ブロックの中の C<< <=> >> または C<cmp> 演算子の | |
| 9191 | オペランドとして使いましたが、この変数はその前にレキシカル変数として | |
| 9192 | 宣言されています。 | |
| 9193 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を変えてください。 | |
| 9194 | ||
| 9195 | 4596 | =item "my" variable %s can't be in a package |
| 9196 | 4597 | |
| 9197 | 4598 | =begin original |
| 9198 | 4599 | |
| 9199 | 4600 | (F) Lexically scoped variables aren't in a package, so it doesn't make |
| 9200 | 4601 | sense to try to declare one with a package qualifier on the front. Use |
| 9201 | 4602 | local() if you want to localize a package variable. |
| 9202 | 4603 | |
| 9203 | 4604 | =end original |
| 9204 | 4605 | |
| 9205 | (F) | |
| 4606 | (F) 字句スコープの変数は、パッケージ内に置かれませんので、 | |
| 9206 | 4607 | 頭にパッケージ名を付けて宣言することは、無意味です。 |
| 9207 | 4608 | パッケージ変数をローカル化したい場合には、local() を使ってください。 |
| 9208 | 4609 | |
| 9209 | 4610 | =item Name "%s::%s" used only once: possible typo |
| 9210 | 4611 | |
| 9211 | 4612 | =begin original |
| 9212 | 4613 | |
| 9213 | (W once) Typographical errors often show up as unique variable | |
| 4614 | (W once) Typographical errors often show up as unique variable names. | |
| 9214 | ||
| 4615 | If you had a good reason for having a unique name, then just mention it | |
| 9215 | ||
| 4616 | again somehow to suppress the message. The C<our> declaration is | |
| 9216 | ||
| 4617 | provided for this purpose. | |
| 9217 | 4618 | |
| 9218 | 4619 | =end original |
| 9219 | 4620 | |
| 9220 | 4621 | (W once) しばしばタイプミスによってユニークな変数名として表示されます。 |
| 9221 | 4622 | ユニークな名前をを使う理由があるのなら、もう一度どこかで参照することで |
| 9222 | 4623 | このメッセージを抑制できます。 |
| 9223 | C<our> 宣言 | |
| 4624 | C<our> 宣言がこの目的のために提供されています。 | |
| 9224 | 4625 | |
| 9225 | =begin original | |
| 9226 | ||
| 9227 | NOTE: This warning detects package symbols that have been used | |
| 9228 | only once. This means lexical variables will never trigger this | |
| 9229 | warning. It also means that all of the package variables $c, @c, | |
| 9230 | %c, as well as *c, &c, sub c{}, c(), and c (the filehandle or | |
| 9231 | format) are considered the same; if a program uses $c only once | |
| 9232 | but also uses any of the others it will not trigger this warning. | |
| 9233 | Symbols beginning with an underscore and symbols using special | |
| 9234 | identifiers (q.v. L<perldata>) are exempt from this warning. | |
| 9235 | ||
| 9236 | =end original | |
| 9237 | ||
| 9238 | 注意: この警告は一度しか使われていないパッケージシンボルを検出します。 | |
| 9239 | つまり、レキシカル変数はこの警告を引き起こさないと言うことです。 | |
| 9240 | また、パッケージ変数 $c, @c, %c および | |
| 9241 | *c, &c, sub c{}, c(), c (ファイルハンドルまたはフォーマット) は | |
| 9242 | 同じであると考えます; プログラムが $c を一度だけ使っている蹴れどっも | |
| 9243 | その他のものも使っている場合、この警告は引き起こされません。 | |
| 9244 | 下線で始まるシンボルと特殊識別子 | |
| 9245 | (L<perldata> 参照) を使ったシンボルはこの警告を免れます。 | |
| 9246 | ||
| 9247 | =item Need exactly 3 octal digits in regex; marked by S<<-- HERE> in m/%s/ | |
| 9248 | ||
| 9249 | =begin original | |
| 9250 | ||
| 9251 | (F) Within S<C<(?[ ])>>, all constants interpreted as octal need to be | |
| 9252 | exactly 3 digits long. This helps catch some ambiguities. If your | |
| 9253 | constant is too short, add leading zeros, like | |
| 9254 | ||
| 9255 | =end original | |
| 9256 | ||
| 9257 | (F) S<C<(?[ ])>> の中で、8 進数として解釈される全ての定数は正確に 3 桁である | |
| 9258 | 必要があります。 | |
| 9259 | これはある種の曖昧さを捕まえる助けになります。 | |
| 9260 | 定数が短い場合は、以下のように先頭に 0 を追加してください | |
| 9261 | ||
| 9262 | (?[ [ \078 ] ]) # Syntax error! | |
| 9263 | (?[ [ \0078 ] ]) # Works | |
| 9264 | (?[ [ \007 8 ] ]) # Clearer | |
| 9265 | ||
| 9266 | =begin original | |
| 9267 | ||
| 9268 | The maximum number this construct can express is C<\777>. If you | |
| 9269 | need a larger one, you need to use L<\o{}|perlrebackslash/Octal escapes> instead. If you meant | |
| 9270 | two separate things, you need to separate them: | |
| 9271 | ||
| 9272 | =end original | |
| 9273 | ||
| 9274 | この構文が表現できる最大数は C<\777> です。 | |
| 9275 | より大きな値が必要なときは、代わりに L<\o{}|perlrebackslash/Octal escapes> を | |
| 9276 | 使う必要があります。 | |
| 9277 | 二つの別々のものを意味しているなら、分ける必要があります: | |
| 9278 | ||
| 9279 | (?[ [ \7776 ] ]) # Syntax error! | |
| 9280 | (?[ [ \o{7776} ] ]) # One meaning | |
| 9281 | (?[ [ \777 6 ] ]) # Another meaning | |
| 9282 | (?[ [ \777 \006 ] ]) # Still another | |
| 9283 | ||
| 9284 | =item Negative '/' count in unpack | |
| 9285 | ||
| 9286 | =begin original | |
| 9287 | ||
| 9288 | (F) The length count obtained from a length/code unpack operation was | |
| 9289 | negative. See L<perlfunc/pack>. | |
| 9290 | ||
| 9291 | =end original | |
| 9292 | ||
| 9293 | (F) 長さ/コード unpack 操作で得られた長さカウントが負数でした。 | |
| 9294 | L<perlfunc/pack> を参照してください。 | |
| 9295 | ||
| 9296 | 4626 | =item Negative length |
| 9297 | 4627 | |
| 9298 | 4628 | =begin original |
| 9299 | 4629 | |
| 9300 | 4630 | (F) You tried to do a read/write/send/recv operation with a buffer |
| 9301 | 4631 | length that is less than 0. This is difficult to imagine. |
| 9302 | 4632 | |
| 9303 | 4633 | =end original |
| 9304 | 4634 | |
| 9305 | 4635 | (F) ゼロより短い長さのバッファで、読み込み、書き込み、送信、受信を |
| 9306 | 4636 | 行なおうとしました。 |
| 9307 | こ | |
| 4637 | どのようなことがしたいのか判断できません。 | |
| 9308 | 4638 | |
| 9309 | =item Ne | |
| 4639 | =item Nested quantifiers before << HERE in regex m/%s/ | |
| 9310 | 4640 | |
| 9311 | 4641 | =begin original |
| 9312 | 4642 | |
| 9313 | (F) | |
| 4643 | (F) You can't quantify a quantifier without intervening parentheses. So | |
| 9314 | g | |
| 4644 | things like ** or +* or ?* are illegal. The << HERE shows in the regular | |
| 4645 | expression about where the problem was discovered. | |
| 9315 | 4646 | |
| 9316 | 4647 | =end original |
| 9317 | 4648 | |
| 9318 | (F) | |
| 4649 | (F) 括弧を挟まないで、数量子を数量子で修飾することはできません。 | |
| 9319 | 二つ目の引数は 0 以上でなければなりません。 | |
| 9320 | ||
| 9321 | =item Negative repeat count does nothing | |
| 9322 | ||
| 9323 | =begin original | |
| 9324 | ||
| 9325 | (W numeric) You tried to execute the | |
| 9326 | L<C<x>|perlop/Multiplicative Operators> repetition operator fewer than 0 | |
| 9327 | times, which doesn't make sense. | |
| 9328 | ||
| 9329 | =end original | |
| 9330 | ||
| 9331 | (W numeric) L<C<x>|perlop/Multiplicative Operators> 繰り返し演算子を | |
| 9332 | 0 より小さい回数実行しようとしました; これは無意味です。 | |
| 9333 | ||
| 9334 | =item Nested quantifiers in regex; marked by S<<-- HERE> in m/%s/ | |
| 9335 | ||
| 9336 | =begin original | |
| 9337 | ||
| 9338 | (F) You can't quantify a quantifier without intervening parentheses. | |
| 9339 | So things like ** or +* or ?* are illegal. The S<<-- HERE> shows | |
| 9340 | whereabouts in the regular expression the problem was discovered. | |
| 9341 | ||
| 9342 | =end original | |
| 9343 | ||
| 9344 | (F) かっこを挟まないで、数量子を数量子で修飾することはできません。 | |
| 9345 | 4650 | つまり、** や +* や ?* といったものは、正しくありません。 |
| 9346 | ||
| 4651 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 9347 | 4652 | |
| 9348 | 4653 | =begin original |
| 9349 | 4654 | |
| 9350 | Note that the minimal matching quantifiers, C<*?>, C<+?>, and | |
| 4655 | Note, however, that the minimal matching quantifiers, C<*?>, C<+?>, and | |
| 9351 | 4656 | C<??> appear to be nested quantifiers, but aren't. See L<perlre>. |
| 9352 | 4657 | |
| 9353 | 4658 | =end original |
| 9354 | 4659 | |
| 9355 | 最短一致数量子の C<*?>、C<+?>、C<??> は、ネストした数量子のように | |
| 4660 | しかし、最短一致数量子の C<*?>、C<+?>、C<??> は、ネストした数量子のように | |
| 9356 | 4661 | 見えますが、そうではありません。 |
| 9357 | 4662 | L<perlre> を参照してください。 |
| 9358 | 4663 | |
| 9359 | 4664 | =item %s never introduced |
| 9360 | 4665 | |
| 9361 | 4666 | =begin original |
| 9362 | 4667 | |
| 9363 | 4668 | (S internal) The symbol in question was declared but somehow went out of |
| 9364 | 4669 | scope before it could possibly have been used. |
| 9365 | 4670 | |
| 9366 | 4671 | =end original |
| 9367 | 4672 | |
| 9368 | 4673 | (S internal) 問題のシンボルは、宣言されましたが、使われる前にスコープから |
| 9369 | 4674 | 外れてしまいました。 |
| 9370 | 4675 | |
| 9371 | =item next::method/next::can/maybe::next::method cannot find enclosing method | |
| 9372 | ||
| 9373 | =begin original | |
| 9374 | ||
| 9375 | (F) C<next::method> needs to be called within the context of a | |
| 9376 | real method in a real package, and it could not find such a context. | |
| 9377 | See L<mro>. | |
| 9378 | ||
| 9379 | =end original | |
| 9380 | ||
| 9381 | (F) C<next::method> は実パッケージの実メソッドのコンテキストの中で呼ばれる | |
| 9382 | 必要がありますが、そのようなコンテキストが見つけられませんでした。 | |
| 9383 | L<mro> を参照してください。 | |
| 9384 | ||
| 9385 | =item \N in a character class must be a named character: \N{...} in regex; | |
| 9386 | marked by S<<-- HERE> in m/%s/ | |
| 9387 | ||
| 9388 | =begin original | |
| 9389 | ||
| 9390 | (F) The new (as of Perl 5.12) meaning of C<\N> as C<[^\n]> is not valid in a | |
| 9391 | bracketed character class, for the same reason that C<.> in a character | |
| 9392 | class loses its specialness: it matches almost everything, which is | |
| 9393 | probably not what you want. | |
| 9394 | ||
| 9395 | =end original | |
| 9396 | ||
| 9397 | (F) C<[^\n]> という新しい (5.12 からの) C<\N> の意味は大かっこ文字クラスでは | |
| 9398 | 妥当ではありません; 文字クラス内の C<.> がその特殊性を失うのと同じ理由です: | |
| 9399 | これはほとんど何にでもマッチングし、これはおそらくあなたの求めているものでは | |
| 9400 | ないでしょう。 | |
| 9401 | ||
| 9402 | =item \N{} in inverted character class or as a range end-point is restricted to one character in regex; marked by <-- HERE in m/%s/ | |
| 9403 | ||
| 9404 | =begin original | |
| 9405 | ||
| 9406 | (F) Named Unicode character escapes (C<\N{...}>) may return a | |
| 9407 | multi-character sequence. Even though a character class is | |
| 9408 | supposed to match just one character of input, perl will match the | |
| 9409 | whole thing correctly, except under certain conditions. These currently | |
| 9410 | are | |
| 9411 | ||
| 9412 | =end original | |
| 9413 | ||
| 9414 | (F) 名前付き Unicode 文字エスケープ (C<(\N{...})>) は複数文字並びを | |
| 9415 | 返すことがあります。 | |
| 9416 | 文字クラスは入力のただ一つの文字にマッチングすることを想定していますが、 | |
| 9417 | perl は全体を正しくマッチングします; 但しいくつかの場合は例外です。 | |
| 9418 | それは今のところ: | |
| 9419 | ||
| 9420 | =over 4 | |
| 9421 | ||
| 9422 | =item When the class is inverted (C<[^...]>) | |
| 9423 | ||
| 9424 | (クラスが反転された場合 (C<[^...]>)) | |
| 9425 | ||
| 9426 | =begin original | |
| 9427 | ||
| 9428 | The mathematically logical behavior for what matches when inverting | |
| 9429 | is very different from what people expect, so we have decided to | |
| 9430 | forbid it. | |
| 9431 | ||
| 9432 | =end original | |
| 9433 | ||
| 9434 | 反転したときに何にマッチングするかに関する厳密に論理的な振る舞いは | |
| 9435 | 人々が想定するものと大きく異なっているので、これは禁止することにしました。 | |
| 9436 | ||
| 9437 | =item The escape is the beginning or final end point of a range | |
| 9438 | ||
| 9439 | (エスケープが範囲の始点か終点の場合) | |
| 9440 | ||
| 9441 | =begin original | |
| 9442 | ||
| 9443 | Similarly unclear is what should be generated when the | |
| 9444 | C<\N{...}> is used as one of the end points of the range, such as in | |
| 9445 | ||
| 9446 | =end original | |
| 9447 | ||
| 9448 | 同様に不明確なものは、次のように、範囲の端点として C<\N{...}> が | |
| 9449 | 使われたときに何が生成されるべきかということです: | |
| 9450 | ||
| 9451 | [\x{41}-\N{ARABIC SEQUENCE YEH WITH HAMZA ABOVE WITH AE}] | |
| 9452 | ||
| 9453 | =begin original | |
| 9454 | ||
| 9455 | What is meant here is unclear, as the C<\N{...}> escape is a sequence | |
| 9456 | of code points, so this is made an error. | |
| 9457 | ||
| 9458 | =end original | |
| 9459 | ||
| 9460 | ここで意味しているものは不明確です; C<\N{...}> エスケープは | |
| 9461 | 符号位置の並びだからです; 従ってこれはエラーを発生させます。 | |
| 9462 | ||
| 9463 | =item In a regex set | |
| 9464 | ||
| 9465 | (正規表現集合の中の場合) | |
| 9466 | ||
| 9467 | =begin original | |
| 9468 | ||
| 9469 | The syntax S<C<(?[ ])>> in a regular expression yields a list of | |
| 9470 | single code points, none can be a sequence. | |
| 9471 | ||
| 9472 | =end original | |
| 9473 | ||
| 9474 | 正規表現の中の S<C<(?[ ])>> 構文は単一の符号位置のリストになり、 | |
| 9475 | 並びにはなりません。 | |
| 9476 | ||
| 9477 | =back | |
| 9478 | ||
| 9479 | 4676 | =item No %s allowed while running setuid |
| 9480 | 4677 | |
| 9481 | 4678 | =begin original |
| 9482 | 4679 | |
| 9483 | 4680 | (F) Certain operations are deemed to be too insecure for a setuid or |
| 9484 | 4681 | setgid script to even be allowed to attempt. Generally speaking there |
| 9485 | 4682 | will be another way to do what you want that is, if not secure, at least |
| 9486 | 4683 | securable. See L<perlsec>. |
| 9487 | 4684 | |
| 9488 | 4685 | =end original |
| 9489 | 4686 | |
| 9490 | 4687 | (F) ある種の操作は、setuid や setgid スクリプトにとって、 |
| 9491 | 4688 | やってみることはできても、とても安全なものとは考えられないものです。 |
| 9492 | 4689 | 一般に言って、安全ではなくても、安全にしうる、別の方法があるはずです。 |
| 9493 | 4690 | L<perlsec> を参照してください。 |
| 9494 | 4691 | |
| 9495 | =item No | |
| 4692 | =item No B<-e> allowed in setuid scripts | |
| 9496 | 4693 | |
| 9497 | 4694 | =begin original |
| 9498 | 4695 | |
| 9499 | (F) | |
| 4696 | (F) A setuid script can't be specified by the user. | |
| 9500 | you want to run an empty program, pass the empty string as a separate | |
| 9501 | argument or run a program consisting of a single 0 or 1: | |
| 9502 | 4697 | |
| 9503 | 4698 | =end original |
| 9504 | 4699 | |
| 9505 | (F) | |
| 4700 | (F) setuid スクリプトは、ユーザによって指定することはできません。 | |
| 9506 | 空のプログラムを実行したい場合は、空文字列を別の引数として渡すか、単一の | |
| 9507 | 0 または 1 からなるプログラムを実行してください: | |
| 9508 | 4701 | |
| 9509 | perl -e "" | |
| 9510 | perl -e0 | |
| 9511 | perl -e1 | |
| 9512 | ||
| 9513 | 4702 | =item No comma allowed after %s |
| 9514 | 4703 | |
| 9515 | 4704 | =begin original |
| 9516 | 4705 | |
| 9517 | (F) A list operator that has a filehandle or "indirect object" is | |
| 4706 | (F) A list operator that has a filehandle or "indirect object" is not | |
| 9518 | ||
| 4707 | allowed to have a comma between that and the following arguments. | |
| 9519 | 4708 | Otherwise it'd be just another one of the arguments. |
| 9520 | 4709 | |
| 9521 | 4710 | =end original |
| 9522 | 4711 | |
| 9523 | 4712 | (F) ファイルハンドルや「間接オブジェクト」を伴うリスト演算子では、 |
| 9524 | 4713 | それらとそれ以降の引数の間にコンマを入れることはできません。 |
| 9525 | 4714 | そのようにした場合には、引数の一つとなってしまいます。 |
| 9526 | 4715 | |
| 9527 | 4716 | =begin original |
| 9528 | 4717 | |
| 9529 | One possible cause for this is that you expected to have imported | |
| 4718 | One possible cause for this is that you expected to have imported a | |
| 9530 | ||
| 4719 | constant to your name space with B<use> or B<import> while no such | |
| 9531 | importing took place, it may for example be that your operating | |
| 4720 | importing took place, it may for example be that your operating system | |
| 9532 | ||
| 4721 | does not support that particular constant. Hopefully you did use an | |
| 9533 | ||
| 4722 | explicit import list for the constants you expect to see, please see | |
| 9534 | ||
| 4723 | L<perlfunc/use> and L<perlfunc/import>. While an explicit import list | |
| 9535 | ||
| 4724 | would probably have caught this error earlier it naturally does not | |
| 9536 | ||
| 4725 | remedy the fact that your operating system still does not support that | |
| 9537 | ||
| 4726 | constant. Maybe you have a typo in the constants of the symbol import | |
| 9538 | ||
| 4727 | list of B<use> or B<import> or in the constant name at the line where | |
| 9539 | ||
| 4728 | this error was triggered? | |
| 9540 | 4729 | |
| 9541 | 4730 | =end original |
| 9542 | 4731 | |
| 9543 | 4732 | これの原因としてあり得るものの一つは、B<use> や B<import> を使って |
| 9544 | 4733 | 名前空間にインポートしたつもりの定数が実際にはインポートされていなかった |
| 9545 | 4734 | 場合です; |
| 9546 | 4735 | 例えば OS が特定の定数に対応していない場合などです。 |
| 9547 | 4736 | できればインポートしたい定数のリストを明示的に使ってください; |
| 9548 | 4737 | L<perlfunc/use> と L<perlfunc/import> を参照して下さい。 |
| 9549 | 4738 | 明示的なインポートリストでおそらくこのエラーをより早く知ることができますが、 |
| 9550 | 4739 | そもそも OS がその定数に対応していないという問題を解決はしません。 |
| 9551 | 4740 | おそらく B<use> や B<import> のシンボルインポートリストの定数か、 |
| 9552 | 4741 | エラーを引き起こした行の定数名をタイプミスしたのでは? |
| 9553 | 4742 | |
| 9554 | 4743 | =item No command into which to pipe on command line |
| 9555 | 4744 | |
| 9556 | 4745 | =begin original |
| 9557 | 4746 | |
| 9558 | 4747 | (F) An error peculiar to VMS. Perl handles its own command line |
| 9559 | 4748 | redirection, and found a '|' at the end of the command line, so it |
| 9560 | 4749 | doesn't know where you want to pipe the output from this command. |
| 9561 | 4750 | |
| 9562 | 4751 | =end original |
| 9563 | 4752 | |
| 9564 | (F) VMS | |
| 4753 | (F) VMSに固有のエラーです。 | |
| 9565 | 4754 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
| 9566 | 4755 | コマンドラインの最後にに '|' を発見しましたが、 |
| 9567 | 4756 | このコマンドから出力をどこにパイプしたいのかがわかりませんでした。 |
| 9568 | 4757 | |
| 9569 | 4758 | =item No DB::DB routine defined |
| 9570 | 4759 | |
| 9571 | 4760 | =begin original |
| 9572 | 4761 | |
| 9573 | 4762 | (F) The currently executing code was compiled with the B<-d> switch, but |
| 9574 | for some reason the | |
| 4763 | for some reason the perl5db.pl file (or some facsimile thereof) didn't | |
| 9575 | ||
| 4764 | define a routine to be called at the beginning of each statement. Which | |
| 9576 | s | |
| 4765 | is odd, because the file should have been required automatically, and | |
| 4766 | should have blown up the require if it didn't parse right. | |
| 9577 | 4767 | |
| 9578 | 4768 | =end original |
| 9579 | 4769 | |
| 9580 | 4770 | (F) 現在実行中のコードは、B<-d> スイッチを付けてコンパイルされましたが、 |
| 9581 | 何らかの理由により、 | |
| 4771 | 何らかの理由により、perl5db.pl (あるいは、その複製) が各実行文の頭で | |
| 9582 | ||
| 4772 | 呼び出すルーティンを定義していません。 | |
| 4773 | そのファイルは自動的に require されるものであり、正しく解釈できなければ、 | |
| 4774 | require が失敗するはずですので、これはとても有り得ない状態です。 | |
| 9583 | 4775 | |
| 9584 | 4776 | =item No dbm on this machine |
| 9585 | 4777 | |
| 9586 | 4778 | =begin original |
| 9587 | 4779 | |
| 9588 | 4780 | (P) This is counted as an internal error, because every machine should |
| 9589 | 4781 | supply dbm nowadays, because Perl comes with SDBM. See L<SDBM_File>. |
| 9590 | 4782 | |
| 9591 | 4783 | =end original |
| 9592 | 4784 | |
| 9593 | (P) これは、内部エラーとして扱われます | |
| 4785 | (P) これは、内部エラーとして扱われます。 Perl に SDBM が付いてくるので、 | |
| 9594 | 4786 | どのマシンでも dbm が使えるはずだからです。 |
| 9595 | 4787 | L<SDBM_File> を参照してください。 |
| 9596 | 4788 | |
| 9597 | =item No DB | |
| 4789 | =item No DBsub routine | |
| 9598 | 4790 | |
| 9599 | 4791 | =begin original |
| 9600 | 4792 | |
| 9601 | (F) The currently executing code was compiled with the B<-d> switch, | |
| 4793 | (F) The currently executing code was compiled with the B<-d> switch, | |
| 9602 | for some reason the | |
| 4794 | but for some reason the perl5db.pl file (or some facsimile thereof) | |
| 9603 | ||
| 4795 | didn't define a DB::sub routine to be called at the beginning of each | |
| 9604 | o | |
| 4796 | ordinary subroutine call. | |
| 9605 | 4797 | |
| 9606 | 4798 | =end original |
| 9607 | 4799 | |
| 9608 | (F) 現在実行中のコードは、 | |
| 4800 | (F) 現在実行中のコードは、-d スイッチを付けてコンパイルされましたが、 | |
| 9609 | 何らかの理由により、 | |
| 4801 | 何らかの理由により、perl5db.pl (あるいは、その複製) が | |
| 9610 | 各サブルー | |
| 4802 | 各サブルーティン呼び出しの頭で呼び出す | |
| 9611 | 定義していませんでした。 | |
| 4803 | DB::sub ルーティンを定義していませんでした。 | |
| 9612 | 4804 | |
| 9613 | =item No directory specified for -I | |
| 9614 | ||
| 9615 | =begin original | |
| 9616 | ||
| 9617 | (F) The B<-I> command-line switch requires a directory name as part of the | |
| 9618 | I<same> argument. Use B<-Ilib>, for instance. B<-I lib> won't work. | |
| 9619 | ||
| 9620 | =end original | |
| 9621 | ||
| 9622 | (F) B<-I> コマンドラインオプションは I<同じ> 引数の一部としてディレクトリ名が | |
| 9623 | 必要です。 | |
| 9624 | 例えば、B<-Ilib> としてください。 | |
| 9625 | B<-I lib> は動作しません。 | |
| 9626 | ||
| 9627 | 4805 | =item No error file after 2> or 2>> on command line |
| 9628 | 4806 | |
| 9629 | 4807 | =begin original |
| 9630 | 4808 | |
| 9631 | 4809 | (F) An error peculiar to VMS. Perl handles its own command line |
| 9632 | 4810 | redirection, and found a '2>' or a '2>>' on the command line, but can't |
| 9633 | 4811 | find the name of the file to which to write data destined for stderr. |
| 9634 | 4812 | |
| 9635 | 4813 | =end original |
| 9636 | 4814 | |
| 9637 | (F) VMS | |
| 4815 | (F) VMSに固有のエラーです。 | |
| 9638 | 4816 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
| 9639 | 4817 | コマンドラインに '2>' や '2>>' を発見しましたが、 |
| 9640 | 4818 | 標準エラーとしてデータを書き込むファイル名が見つかりませんでした。 |
| 9641 | 4819 | |
| 9642 | =item No group ending character '%c' found in template | |
| 9643 | ||
| 9644 | =begin original | |
| 9645 | ||
| 9646 | (F) A pack or unpack template has an opening '(' or '[' without its | |
| 9647 | matching counterpart. See L<perlfunc/pack>. | |
| 9648 | ||
| 9649 | =end original | |
| 9650 | ||
| 9651 | (F) pack や unpack のテンプレートに開きかっこの '(' や '[' がありますが、 | |
| 9652 | 対応する閉じかっこがありません。 | |
| 9653 | L<perlfunc/pack> を参照してください。 | |
| 9654 | ||
| 9655 | 4820 | =item No input file after < on command line |
| 9656 | 4821 | |
| 9657 | 4822 | =begin original |
| 9658 | 4823 | |
| 9659 | 4824 | (F) An error peculiar to VMS. Perl handles its own command line |
| 9660 | 4825 | redirection, and found a '<' on the command line, but can't find the |
| 9661 | 4826 | name of the file from which to read data for stdin. |
| 9662 | 4827 | |
| 9663 | 4828 | =end original |
| 9664 | 4829 | |
| 9665 | (F) VMS | |
| 4830 | (F) VMS 特有のエラーです。 | |
| 9666 | 4831 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインに |
| 9667 | 4832 | '<' を発見しましたが、標準入力として読み込むためのファイル名が |
| 9668 | 4833 | 見つかりませんでした。 |
| 9669 | 4834 | |
| 9670 | =item No | |
| 4835 | =item No #! line | |
| 9671 | 4836 | |
| 9672 | 4837 | =begin original |
| 9673 | 4838 | |
| 9674 | (F) | |
| 4839 | (F) The setuid emulator requires that scripts have a well-formed #! line | |
| 9675 | ||
| 4840 | even on machines that don't support the #! construct. | |
| 9676 | it throwing an exception, use C<maybe::next::method> | |
| 9677 | or C<next::can>. See L<mro>. | |
| 9678 | 4841 | |
| 9679 | 4842 | =end original |
| 9680 | 4843 | |
| 9681 | (F) | |
| 4844 | (F) setuid エミュレータでは、たとえマシンがサポートしていなくても、 | |
| 9682 | ||
| 4845 | 完全な形の #! 行がスクリプトに書かれていなければなりません。 | |
| 9683 | もし例外を投げたくないなら、C<maybe::next::method> か C<next::can> を | |
| 9684 | 使ってください。 | |
| 9685 | L<mro> を参照してください。 | |
| 9686 | 4846 | |
| 9687 | =item Non-finite repeat count does nothing | |
| 9688 | ||
| 9689 | =begin original | |
| 9690 | ||
| 9691 | (W numeric) You tried to execute the | |
| 9692 | L<C<x>|perlop/Multiplicative Operators> repetition operator C<Inf> (or | |
| 9693 | C<-Inf>) or C<NaN> times, which doesn't make sense. | |
| 9694 | ||
| 9695 | =end original | |
| 9696 | ||
| 9697 | (W numeric) L<C<x>|perlop/Multiplicative Operators> 繰り返し演算子を | |
| 9698 | C<Inf> (または C<-Inf>) 回、または C<NaN> 回実行しようとしました; | |
| 9699 | これは意味がありません。 | |
| 9700 | ||
| 9701 | =item Non-hex character in regex; marked by S<<-- HERE> in m/%s/ | |
| 9702 | ||
| 9703 | =begin original | |
| 9704 | ||
| 9705 | (F) In a regular expression, there was a non-hexadecimal character where | |
| 9706 | a hex one was expected, like | |
| 9707 | ||
| 9708 | =end original | |
| 9709 | ||
| 9710 | (F) 正規表現で、次のように 16 進文字が想定されるところで非 16 進文字がありました | |
| 9711 | ||
| 9712 | (?[ [ \xDG ] ]) | |
| 9713 | (?[ [ \x{DEKA} ] ]) | |
| 9714 | ||
| 9715 | =item Non-octal character in regex; marked by S<<-- HERE> in m/%s/ | |
| 9716 | ||
| 9717 | =begin original | |
| 9718 | ||
| 9719 | (F) In a regular expression, there was a non-octal character where | |
| 9720 | an octal one was expected, like | |
| 9721 | ||
| 9722 | =end original | |
| 9723 | ||
| 9724 | (F) 正規表現で、次のように 8 進文字が想定されるところで非 8 進文字がありました | |
| 9725 | ||
| 9726 | (?[ [ \o{1278} ] ]) | |
| 9727 | ||
| 9728 | =item Non-octal character '%c'. Resolved as "%s" | |
| 9729 | ||
| 9730 | =begin original | |
| 9731 | ||
| 9732 | (W digit) In parsing an octal numeric constant, a character was | |
| 9733 | unexpectedly encountered that isn't octal. The resulting value | |
| 9734 | is as indicated. | |
| 9735 | ||
| 9736 | =end original | |
| 9737 | ||
| 9738 | (W digit) 8 進数定数をパースするときに、8 進数でない文字に遭遇しました。 | |
| 9739 | 結果の値は示された通りになります。 | |
| 9740 | ||
| 9741 | 4847 | =item "no" not allowed in expression |
| 9742 | 4848 | |
| 9743 | 4849 | =begin original |
| 9744 | 4850 | |
| 9745 | 4851 | (F) The "no" keyword is recognized and executed at compile time, and |
| 9746 | 4852 | returns no useful value. See L<perlmod>. |
| 9747 | 4853 | |
| 9748 | 4854 | =end original |
| 9749 | 4855 | |
| 9750 | 4856 | (F) "no" キーワードは、コンパイル時に認識され、実行されるもので、 |
| 9751 | 4857 | 意味のある値を返しません。 |
| 9752 | 4858 | L<perlmod> を参照してください。 |
| 9753 | 4859 | |
| 9754 | =item Non-string passed as bitmask | |
| 9755 | ||
| 9756 | =begin original | |
| 9757 | ||
| 9758 | (W misc) A number has been passed as a bitmask argument to select(). | |
| 9759 | Use the vec() function to construct the file descriptor bitmasks for | |
| 9760 | select. See L<perlfunc/select>. | |
| 9761 | ||
| 9762 | =end original | |
| 9763 | ||
| 9764 | (W misc) select() のビットマスク引数として数値が渡されました。 | |
| 9765 | select のためのファイル記述子のビットマスクを構成するには、 | |
| 9766 | vec() 関数を使ってください。 | |
| 9767 | L<perlfunc/select> を参照してください。 | |
| 9768 | ||
| 9769 | 4860 | =item No output file after > on command line |
| 9770 | 4861 | |
| 9771 | 4862 | =begin original |
| 9772 | 4863 | |
| 9773 | 4864 | (F) An error peculiar to VMS. Perl handles its own command line |
| 9774 | 4865 | redirection, and found a lone '>' at the end of the command line, so it |
| 9775 | 4866 | doesn't know where you wanted to redirect stdout. |
| 9776 | 4867 | |
| 9777 | 4868 | =end original |
| 9778 | 4869 | |
| 9779 | (F) VMS | |
| 4870 | (F) VMS 特有のエラーです。 | |
| 9780 | 4871 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインの |
| 9781 | 4872 | 最後に単独の '>' を発見したので、stdout をどこにリダイレクトしたいのかが |
| 9782 | 4873 | わかりませんでした。 |
| 9783 | 4874 | |
| 9784 | 4875 | =item No output file after > or >> on command line |
| 9785 | 4876 | |
| 9786 | 4877 | =begin original |
| 9787 | 4878 | |
| 9788 | 4879 | (F) An error peculiar to VMS. Perl handles its own command line |
| 9789 | 4880 | redirection, and found a '>' or a '>>' on the command line, but can't |
| 9790 | 4881 | find the name of the file to which to write data destined for stdout. |
| 9791 | 4882 | |
| 9792 | 4883 | =end original |
| 9793 | 4884 | |
| 9794 | (F) VMS | |
| 4885 | (F) VMS 特有のエラーです。 | |
| 9795 | 4886 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインに |
| 9796 | 4887 | '>' や '>>' を発見しましたが、stdout を書き込むためのファイル名が |
| 9797 | 4888 | 見つかりませんでした。 |
| 9798 | 4889 | |
| 9799 | =item No package name allowed for subroutine %s in "our" | |
| 9800 | ||
| 9801 | 4890 | =item No package name allowed for variable %s in "our" |
| 9802 | 4891 | |
| 9803 | 4892 | =begin original |
| 9804 | 4893 | |
| 9805 | (F) Fully qualified | |
| 4894 | (F) Fully qualified variable names are not allowed in "our" | |
| 9806 | declarations, because that doesn't make much sense under existing | |
| 4895 | declarations, because that doesn't make much sense under existing | |
| 9807 | Such syntax is reserved for future extensions. | |
| 4896 | semantics. Such syntax is reserved for future extensions. | |
| 9808 | 4897 | |
| 9809 | 4898 | =end original |
| 9810 | 4899 | |
| 9811 | (F) 完全修飾 | |
| 4900 | (F) 完全修飾変数名は "our" 宣言では使えません; | |
| 9812 | 4901 | なぜなら現在の動作ではほとんど意味がないからです。 |
| 9813 | 4902 | そのような文法は将来の拡張に予約されています。 |
| 9814 | 4903 | |
| 9815 | 4904 | =item No Perl script found in input |
| 9816 | 4905 | |
| 9817 | 4906 | =begin original |
| 9818 | 4907 | |
| 9819 | 4908 | (F) You called C<perl -x>, but no line was found in the file beginning |
| 9820 | 4909 | with #! and containing the word "perl". |
| 9821 | 4910 | |
| 9822 | 4911 | =end original |
| 9823 | 4912 | |
| 9824 | 4913 | (F) C<perl -x> を呼び出しましたが、そのファイルに #! で始まり、 |
| 9825 | 4914 | "perl" という語を含む行が見つかりませんでした。 |
| 9826 | 4915 | |
| 9827 | 4916 | =item No setregid available |
| 9828 | 4917 | |
| 9829 | 4918 | =begin original |
| 9830 | 4919 | |
| 9831 | 4920 | (F) Configure didn't find anything resembling the setregid() call for |
| 9832 | 4921 | your system. |
| 9833 | 4922 | |
| 9834 | 4923 | =end original |
| 9835 | 4924 | |
| 9836 | 4925 | (F) Configure が、システム上に setregid() のような関数を |
| 9837 | 4926 | 見つけられませんでした。 |
| 9838 | 4927 | |
| 9839 | 4928 | =item No setreuid available |
| 9840 | 4929 | |
| 9841 | 4930 | =begin original |
| 9842 | 4931 | |
| 9843 | 4932 | (F) Configure didn't find anything resembling the setreuid() call for |
| 9844 | 4933 | your system. |
| 9845 | 4934 | |
| 9846 | 4935 | =end original |
| 9847 | 4936 | |
| 9848 | 4937 | (F) Configure が、システム上に setreuid() のような関数を |
| 9849 | 4938 | 見つけられませんでした。 |
| 9850 | 4939 | |
| 9851 | =item No s | |
| 4940 | =item No space allowed after -%c | |
| 9852 | 4941 | |
| 9853 | 4942 | =begin original |
| 9854 | 4943 | |
| 9855 | (F) | |
| 4944 | (F) The argument to the indicated command line switch must follow | |
| 9856 | de | |
| 4945 | immediately after the switch, without intervening spaces. | |
| 9857 | 4946 | |
| 9858 | 4947 | =end original |
| 9859 | 4948 | |
| 9860 | (F) | |
| 4949 | (F) 示されたコマンドラインスイッチの引数は、 | |
| 9861 | ||
| 4950 | スイッチの直後にスペースを空けないで書く必要があります。 | |
| 9862 | 4951 | |
| 9863 | =item No s | |
| 4952 | =item No %s specified for -%c | |
| 9864 | 4953 | |
| 9865 | 4954 | =begin original |
| 9866 | 4955 | |
| 9867 | (F) | |
| 4956 | (F) The indicated command line switch needs a mandatory argument, but | |
| 9868 | ||
| 4957 | you haven't specified one. | |
| 9869 | The indicated package has restricted the set of allowed keys using the | |
| 9870 | L<fields> pragma. | |
| 9871 | 4958 | |
| 9872 | 4959 | =end original |
| 9873 | 4960 | |
| 9874 | (F) 示され | |
| 4961 | (F) 指示されたコマンドラインオプションには引数が必須ですが、それが | |
| 9875 | ||
| 4962 | 指定されませんでした。 | |
| 9876 | 示されているパッケージは L<fields> プラグマによって許可されるキーの集合が | |
| 9877 | 制限されています。 | |
| 9878 | 4963 | |
| 9879 | =item No such hook: %s | |
| 9880 | ||
| 9881 | =begin original | |
| 9882 | ||
| 9883 | (F) You specified a signal hook that was not recognized by Perl. | |
| 9884 | Currently, Perl accepts C<__DIE__> and C<__WARN__> as valid signal hooks. | |
| 9885 | ||
| 9886 | =end original | |
| 9887 | ||
| 9888 | (F) Perl が認識できないシグナルフックを指定しました。 | |
| 9889 | 現在のところ、Perl は有効なシグナルフックとして | |
| 9890 | C<__DIE__> と C<__WARN__> を受け付けます。 | |
| 9891 | ||
| 9892 | 4964 | =item No such pipe open |
| 9893 | 4965 | |
| 9894 | 4966 | =begin original |
| 9895 | 4967 | |
| 9896 | 4968 | (P) An error peculiar to VMS. The internal routine my_pclose() tried to |
| 9897 | 4969 | close a pipe which hadn't been opened. This should have been caught |
| 9898 | 4970 | earlier as an attempt to close an unopened filehandle. |
| 9899 | 4971 | |
| 9900 | 4972 | =end original |
| 9901 | 4973 | |
| 9902 | (P) VMS | |
| 4974 | (P) VMS 特有のエラーです。 | |
| 9903 | 4975 | 内部ルーチンである my_pclose() が、開いていないパイプを閉じようとしました。 |
| 9904 | 4976 | これは開いていないファイルハンドルを閉じようとしたとしてもっと早くに |
| 9905 | 4977 | 捕捉されるべきものです。 |
| 9906 | 4978 | |
| 9907 | =item No such s | |
| 4979 | =item No such pseudo-hash field "%s" | |
| 9908 | 4980 | |
| 9909 | 4981 | =begin original |
| 9910 | 4982 | |
| 9911 | ( | |
| 4983 | (F) You tried to access an array as a hash, but the field name used is | |
| 9912 | not | |
| 4984 | not defined. The hash at index 0 should map all valid field names to | |
| 9913 | ||
| 4985 | array indices for that to work. | |
| 9914 | 4986 | |
| 9915 | 4987 | =end original |
| 9916 | 4988 | |
| 9917 | ( | |
| 4989 | (F) 配列にハッシュとしてアクセスしようとしましたが、使われたフィールド名は | |
| 9918 | ||
| 4990 | 未定義です。 | |
| 9919 | ||
| 4991 | インデックス 0 のハッシュは全ての有効なフィールド名が動作する配列 | |
| 4992 | インデックスにマッピングされるべきです。 | |
| 9920 | 4993 | |
| 9921 | =item No | |
| 4994 | =item No such pseudo-hash field "%s" in variable %s of type %s | |
| 9922 | 4995 | |
| 9923 | 4996 | =begin original |
| 9924 | 4997 | |
| 9925 | ( | |
| 4998 | (F) You tried to access a field of a typed variable where the type does | |
| 9926 | t | |
| 4999 | not know about the field name. The field names are looked up in the | |
| 9927 | ||
| 5000 | %FIELDS hash in the type package at compile time. The %FIELDS hash is | |
| 5001 | %usually set up with the 'fields' pragma. | |
| 9928 | 5002 | |
| 9929 | 5003 | =end original |
| 9930 | 5004 | |
| 9931 | ( | |
| 5005 | (F) 型がフィールド名について知らない型付き変数のフィールドに | |
| 9932 | ||
| 5006 | アクセスしようとしました。 | |
| 9933 | ||
| 5007 | フィールド名はコンパイル時に型パッケージの %FIELDS ハッシュから | |
| 5008 | 検索されます。 | |
| 5009 | %FIELDS ハッシュは通常 'fields' プラグマで設定されます。 | |
| 9934 | 5010 | |
| 5011 | =item No such signal: SIG%s | |
| 5012 | ||
| 5013 | =begin original | |
| 5014 | ||
| 5015 | (W signal) You specified a signal name as a subscript to %SIG that was | |
| 5016 | not recognized. Say C<kill -l> in your shell to see the valid signal | |
| 5017 | names on your system. | |
| 5018 | ||
| 5019 | =end original | |
| 5020 | ||
| 5021 | (W signal) %SIG の添字として認識できないシグナル名を指定しました。 | |
| 5022 | お使いのシステムで使用可能なシグナル名を調べるには、 | |
| 5023 | シェル上で C<kill -l> などとしてください。 | |
| 5024 | ||
| 9935 | 5025 | =item Not a CODE reference |
| 9936 | 5026 | |
| 9937 | 5027 | =begin original |
| 9938 | 5028 | |
| 9939 | 5029 | (F) Perl was trying to evaluate a reference to a code value (that is, a |
| 9940 | 5030 | subroutine), but found a reference to something else instead. You can |
| 9941 | 5031 | use the ref() function to find out what kind of ref it really was. See |
| 9942 | 5032 | also L<perlref>. |
| 9943 | 5033 | |
| 9944 | 5034 | =end original |
| 9945 | 5035 | |
| 9946 | (F) Perl がコード値 (サブルー | |
| 5036 | (F) Perl がコード値 (サブルーティン) へのリファレンスを | |
| 9947 | 5037 | 評価しようとしましたが、別のものへのリファレンスでした。 |
| 9948 | 5038 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
| 9949 | 5039 | 使うことができます。 |
| 9950 | 5040 | L<perlref> も参照してください。 |
| 9951 | 5041 | |
| 5042 | =item Not a format reference | |
| 5043 | ||
| 5044 | =begin original | |
| 5045 | ||
| 5046 | (F) I'm not sure how you managed to generate a reference to an anonymous | |
| 5047 | format, but this indicates you did, and that it didn't exist. | |
| 5048 | ||
| 5049 | =end original | |
| 5050 | ||
| 5051 | (F) どのように無名のフォーマットへのリファレンスを生成したのかは | |
| 5052 | わかりませんが、このメッセージは、それが指定されて、 | |
| 5053 | 存在しなかったことを示します。 | |
| 5054 | ||
| 9952 | 5055 | =item Not a GLOB reference |
| 9953 | 5056 | |
| 9954 | 5057 | =begin original |
| 9955 | 5058 | |
| 9956 | 5059 | (F) Perl was trying to evaluate a reference to a "typeglob" (that is, a |
| 9957 | 5060 | symbol table entry that looks like C<*foo>), but found a reference to |
| 9958 | 5061 | something else instead. You can use the ref() function to find out what |
| 9959 | 5062 | kind of ref it really was. See L<perlref>. |
| 9960 | 5063 | |
| 9961 | 5064 | =end original |
| 9962 | 5065 | |
| 9963 | 5066 | (F) Perl が「型グロブ」(これは、C<*foo> のような |
| 9964 | 5067 | シンボルテーブルエントリです) へのリファレンスを評価しようとしましたが、 |
| 9965 | 5068 | 別のものへのリファレンスでした。 |
| 9966 | 5069 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
| 9967 | 5070 | 使うことができます。 |
| 9968 | 5071 | L<perlref> を参照してください。 |
| 9969 | 5072 | |
| 9970 | 5073 | =item Not a HASH reference |
| 9971 | 5074 | |
| 9972 | 5075 | =begin original |
| 9973 | 5076 | |
| 9974 | 5077 | (F) Perl was trying to evaluate a reference to a hash value, but found a |
| 9975 | 5078 | reference to something else instead. You can use the ref() function to |
| 9976 | 5079 | find out what kind of ref it really was. See L<perlref>. |
| 9977 | 5080 | |
| 9978 | 5081 | =end original |
| 9979 | 5082 | |
| 9980 | 5083 | (F) Perl がハッシュ値へのリファレンスを評価しようとしましたが、 |
| 9981 | 5084 | 別のものへのリファレンスでした。 |
| 9982 | 5085 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
| 9983 | 5086 | 使うことができます。 |
| 9984 | 5087 | L<perlref> を参照してください。 |
| 9985 | 5088 | |
| 9986 | =item '#' not allowed immediately following a sigil in a subroutine signature | |
| 9987 | ||
| 9988 | =begin original | |
| 9989 | ||
| 9990 | (F) In a subroutine signature definition, a comment following a sigil | |
| 9991 | (C<$>, C<@> or C<%>), needs to be separated by whitespace or a comma etc., in | |
| 9992 | particular to avoid confusion with the C<$#> variable. For example: | |
| 9993 | ||
| 9994 | =end original | |
| 9995 | ||
| 9996 | (F) サブルーチンシグネチャ定義で、印 (C<$>, C<@>, C<%>) に引き続く | |
| 9997 | コメントは、特に C<$#> 変数との混乱を避けるために、 | |
| 9998 | 空白やカンマなどで分ける必要があります; | |
| 9999 | 例えば: | |
| 10000 | ||
| 10001 | # bad | |
| 10002 | sub f ($# ignore first arg | |
| 10003 | , $b) {} | |
| 10004 | # good | |
| 10005 | sub f ($, # ignore first arg | |
| 10006 | $b) {} | |
| 10007 | ||
| 10008 | 5089 | =item Not an ARRAY reference |
| 10009 | 5090 | |
| 10010 | 5091 | =begin original |
| 10011 | 5092 | |
| 10012 | 5093 | (F) Perl was trying to evaluate a reference to an array value, but found |
| 10013 | 5094 | a reference to something else instead. You can use the ref() function |
| 10014 | 5095 | to find out what kind of ref it really was. See L<perlref>. |
| 10015 | 5096 | |
| 10016 | 5097 | =end original |
| 10017 | 5098 | |
| 10018 | 5099 | (F) Perl が配列値へのリファレンスを評価しようとしましたが、 |
| 10019 | 5100 | 別のものへのリファレンスでした。 |
| 10020 | 5101 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
| 10021 | 5102 | 使うことができます。 |
| 10022 | 5103 | L<perlref> を参照してください。 |
| 10023 | 5104 | |
| 5105 | =item Not a perl script | |
| 5106 | ||
| 5107 | =begin original | |
| 5108 | ||
| 5109 | (F) The setuid emulator requires that scripts have a well-formed #! line | |
| 5110 | even on machines that don't support the #! construct. The line must | |
| 5111 | mention perl. | |
| 5112 | ||
| 5113 | =end original | |
| 5114 | ||
| 5115 | (F) setuid エミュレータでは、たとえマシンがサポートしていなくても、 | |
| 5116 | 完全な形の #! 行がスクリプトに書かれていなければなりません。 | |
| 5117 | この行で指定されるのは、perl でなければなりません。 | |
| 5118 | ||
| 10024 | 5119 | =item Not a SCALAR reference |
| 10025 | 5120 | |
| 10026 | 5121 | =begin original |
| 10027 | 5122 | |
| 10028 | 5123 | (F) Perl was trying to evaluate a reference to a scalar value, but found |
| 10029 | 5124 | a reference to something else instead. You can use the ref() function |
| 10030 | 5125 | to find out what kind of ref it really was. See L<perlref>. |
| 10031 | 5126 | |
| 10032 | 5127 | =end original |
| 10033 | 5128 | |
| 10034 | 5129 | (F) Perl がスカラ値へのリファレンスを評価しようとしましたが、 |
| 10035 | 5130 | 別のものへのリファレンスでした。 |
| 10036 | 5131 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
| 10037 | 5132 | 使うことができます。 |
| 10038 | 5133 | L<perlref> を参照してください。 |
| 10039 | 5134 | |
| 10040 | 5135 | =item Not a subroutine reference |
| 10041 | 5136 | |
| 10042 | 5137 | =begin original |
| 10043 | 5138 | |
| 10044 | 5139 | (F) Perl was trying to evaluate a reference to a code value (that is, a |
| 10045 | 5140 | subroutine), but found a reference to something else instead. You can |
| 10046 | 5141 | use the ref() function to find out what kind of ref it really was. See |
| 10047 | 5142 | also L<perlref>. |
| 10048 | 5143 | |
| 10049 | 5144 | =end original |
| 10050 | 5145 | |
| 10051 | (F) Perl がコード値 (サブルー | |
| 5146 | (F) Perl がコード値 (サブルーティン) へのリファレンスを | |
| 10052 | 5147 | 評価しようとしましたが、別のものへのリファレンスでした。 |
| 10053 | 5148 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
| 10054 | 5149 | 使うことができます。 |
| 10055 | 5150 | L<perlref> も参照してください。 |
| 10056 | 5151 | |
| 10057 | 5152 | =item Not a subroutine reference in overload table |
| 10058 | 5153 | |
| 10059 | 5154 | =begin original |
| 10060 | 5155 | |
| 10061 | 5156 | (F) An attempt was made to specify an entry in an overloading table that |
| 10062 | 5157 | doesn't somehow point to a valid subroutine. See L<overload>. |
| 10063 | 5158 | |
| 10064 | 5159 | =end original |
| 10065 | 5160 | |
| 10066 | (F) 多重定義テーブルで、有効なサブルー | |
| 5161 | (F) 多重定義テーブルで、有効なサブルーティンを指していないエントリを | |
| 10067 | 5162 | 指定しようとしました。 |
| 10068 | 5163 | L<overload> を参照してください。 |
| 10069 | 5164 | |
| 10070 | 5165 | =item Not enough arguments for %s |
| 10071 | 5166 | |
| 10072 | 5167 | =begin original |
| 10073 | 5168 | |
| 10074 | 5169 | (F) The function requires more arguments than you specified. |
| 10075 | 5170 | |
| 10076 | 5171 | =end original |
| 10077 | 5172 | |
| 10078 | 5173 | (F) この関数は、指定したよりも多くの引数を必要とします。 |
| 10079 | 5174 | |
| 10080 | 5175 | =item Not enough format arguments |
| 10081 | 5176 | |
| 10082 | 5177 | =begin original |
| 10083 | 5178 | |
| 10084 | 5179 | (W syntax) A format specified more picture fields than the next line |
| 10085 | 5180 | supplied. See L<perlform>. |
| 10086 | 5181 | |
| 10087 | 5182 | =end original |
| 10088 | 5183 | |
| 10089 | 5184 | (W syntax) 指定したフォーマットに、次の行で指定したより多くの |
| 10090 | 5185 | ピクチャフィールドがあります。 |
| 10091 | 5186 | L<perlform> を参照してください。 |
| 10092 | 5187 | |
| 10093 | 5188 | =item %s: not found |
| 10094 | 5189 | |
| 10095 | 5190 | =begin original |
| 10096 | 5191 | |
| 10097 | 5192 | (A) You've accidentally run your script through the Bourne shell instead |
| 10098 | 5193 | of Perl. Check the #! line, or manually feed your script into Perl |
| 10099 | 5194 | yourself. |
| 10100 | 5195 | |
| 10101 | 5196 | =end original |
| 10102 | 5197 | |
| 10103 | (A) スクリプトを | |
| 5198 | (A) スクリプトを Perl ではなく Bourne shell で実行しようとしています。 | |
| 10104 | #! | |
| 5199 | #! ラインをチェックするか、手動でスクリプトを Perl に渡してください。 | |
| 10105 | 5200 | |
| 10106 | 5201 | =item no UTC offset information; assuming local time is UTC |
| 10107 | 5202 | |
| 10108 | 5203 | =begin original |
| 10109 | 5204 | |
| 10110 | 5205 | (S) A warning peculiar to VMS. Perl was unable to find the local |
| 10111 | 5206 | timezone offset, so it's assuming that local system time is equivalent |
| 10112 | 5207 | to UTC. If it's not, define the logical name |
| 10113 | 5208 | F<SYS$TIMEZONE_DIFFERENTIAL> to translate to the number of seconds which |
| 10114 | 5209 | need to be added to UTC to get local time. |
| 10115 | 5210 | |
| 10116 | 5211 | =end original |
| 10117 | 5212 | |
| 10118 | (S) VMS | |
| 5213 | (S) VMS 固有の警告です。 | |
| 10119 | 5214 | Perl はローカルタイムゾーンオフセットを見つけることができなかったので、 |
| 10120 | 5215 | ローカルシステムタイムは UTC と等価であると仮定します。 |
| 10121 | 5216 | もし違うなら、論理名 F<SYS$TIMEZONE_DIFFERENTIAL> に、UTC からローカル |
| 10122 | 5217 | 時刻を得るために加える必要がある秒数を定義してください。 |
| 10123 | 5218 | |
| 5219 | =item Null filename used | |
| 5220 | ||
| 5221 | =begin original | |
| 5222 | ||
| 5223 | (F) You can't require the null filename, especially because on many | |
| 5224 | machines that means the current directory! See L<perlfunc/require>. | |
| 5225 | ||
| 5226 | =end original | |
| 5227 | ||
| 5228 | (F) 特に、多くのマシンでカレントディレクトリを意味するため、 | |
| 5229 | 空のファイル名は require できません! | |
| 5230 | L<perlfunc/require> を参照してください。 | |
| 5231 | ||
| 10124 | 5232 | =item NULL OP IN RUN |
| 10125 | 5233 | |
| 10126 | 5234 | =begin original |
| 10127 | 5235 | |
| 10128 | ( | |
| 5236 | (P debugging) Some internal routine called run() with a null opcode | |
| 10129 | 5237 | pointer. |
| 10130 | 5238 | |
| 10131 | 5239 | =end original |
| 10132 | 5240 | |
| 10133 | ( | |
| 5241 | (P debugging) 内部ルーティンで、ヌル opcode ポインタで run() を | |
| 10134 | 5242 | 呼んだものがあります。 |
| 10135 | 5243 | |
| 10136 | 5244 | =item Null picture in formline |
| 10137 | 5245 | |
| 10138 | 5246 | =begin original |
| 10139 | 5247 | |
| 10140 | 5248 | (F) The first argument to formline must be a valid format picture |
| 10141 | 5249 | specification. It was found to be empty, which probably means you |
| 10142 | 5250 | supplied it an uninitialized value. See L<perlform>. |
| 10143 | 5251 | |
| 10144 | 5252 | =end original |
| 10145 | 5253 | |
| 10146 | 5254 | (F) formline の第 1 引数は有効なフォーマットピクチャー指定でなければ |
| 10147 | 5255 | なりません。 |
| 10148 | 5256 | これが空でした; おそらく初期化していない値を指定したのでしょう。 |
| 10149 | 5257 | L<perlform> を参照してください。 |
| 10150 | 5258 | |
| 10151 | 5259 | =item Null realloc |
| 10152 | 5260 | |
| 10153 | 5261 | =begin original |
| 10154 | 5262 | |
| 10155 | 5263 | (P) An attempt was made to realloc NULL. |
| 10156 | 5264 | |
| 10157 | 5265 | =end original |
| 10158 | 5266 | |
| 10159 | 5267 | (P) realloc NULL を行なおうとしました。 |
| 10160 | 5268 | |
| 10161 | 5269 | =item NULL regexp argument |
| 10162 | 5270 | |
| 10163 | 5271 | =begin original |
| 10164 | 5272 | |
| 10165 | 5273 | (P) The internal pattern matching routines blew it big time. |
| 10166 | 5274 | |
| 10167 | 5275 | =end original |
| 10168 | 5276 | |
| 10169 | 5277 | (P) 内部パターンマッチルーティンが、大当たりです。 |
| 10170 | 5278 | |
| 10171 | 5279 | =item NULL regexp parameter |
| 10172 | 5280 | |
| 10173 | 5281 | =begin original |
| 10174 | 5282 | |
| 10175 | 5283 | (P) The internal pattern matching routines are out of their gourd. |
| 10176 | 5284 | |
| 10177 | 5285 | =end original |
| 10178 | 5286 | |
| 10179 | 5287 | (P) 内部パターンマッチルーティンが、狂っています。 |
| 10180 | 5288 | |
| 10181 | 5289 | =item Number too long |
| 10182 | 5290 | |
| 10183 | 5291 | =begin original |
| 10184 | 5292 | |
| 10185 | 5293 | (F) Perl limits the representation of decimal numbers in programs to |
| 10186 | about 250 characters. You've exceeded that length. Future | |
| 5294 | about about 250 characters. You've exceeded that length. Future | |
| 10187 | 5295 | versions of Perl are likely to eliminate this arbitrary limitation. In |
| 10188 | 5296 | the meantime, try using scientific notation (e.g. "1e6" instead of |
| 10189 | 5297 | "1_000_000"). |
| 10190 | 5298 | |
| 10191 | 5299 | =end original |
| 10192 | 5300 | |
| 10193 | Perl はプログラム中での十進数の表現を 250 文字に制限しています。 | |
| 5301 | Perl はプログラム中での十進数の表現をおよそ 250 文字に制限しています。 | |
| 10194 | 5302 | この制限を越えました。 |
| 10195 | 5303 | Perl の将来のバージョンではこの恣意的な制限は除去されるでしょう。 |
| 10196 | 5304 | それまでの間は、科学的な記述法("1_000_000" ではなく "1e6")を |
| 10197 | 5305 | 使用してください。 |
| 10198 | 5306 | |
| 10199 | =item | |
| 5307 | =item Octal number in vector unsupported | |
| 10200 | 5308 | |
| 10201 | 5309 | =begin original |
| 10202 | 5310 | |
| 10203 | (F) | |
| 5311 | (F) Numbers with a leading C<0> are not currently allowed in vectors. | |
| 10204 | a number | |
| 5312 | The octal number interpretation of such numbers may be supported in a | |
| 10205 | t | |
| 5313 | future version. | |
| 10206 | 5314 | |
| 10207 | 5315 | =end original |
| 10208 | 5316 | |
| 10209 | ||
| 5317 | 頭に C<0> の付いた数値は現在のところベクタとしては使えません。 | |
| 10210 | こ | |
| 5318 | このような数値を 8 進数として解釈する機能は将来のバージョンで | |
| 5319 | 対応されるでしょう。 | |
| 10211 | 5320 | |
| 10212 | 5321 | =item Octal number > 037777777777 non-portable |
| 10213 | 5322 | |
| 10214 | 5323 | =begin original |
| 10215 | 5324 | |
| 10216 | 5325 | (W portable) The octal number you specified is larger than 2**32-1 |
| 10217 | 5326 | (4294967295) and therefore non-portable between systems. See |
| 10218 | 5327 | L<perlport> for more on portability concerns. |
| 10219 | 5328 | |
| 10220 | 5329 | =end original |
| 10221 | 5330 | |
| 10222 | 5331 | (W portable) 指定した 8 進数が 2**32-1 (4294967295) より大きいので、 |
| 10223 | 5332 | システム間で移植性がありません。 |
| 10224 | 5333 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
| 10225 | 5334 | |
| 10226 | =item Odd name/value argument for subroutine '%s' | |
| 10227 | ||
| 10228 | 5335 | =begin original |
| 10229 | 5336 | |
| 10230 | ||
| 5337 | See also L<perlport> for writing portable code. | |
| 10231 | received an odd number of arguments to populate the hash. It requires | |
| 10232 | the arguments to be paired, with the same number of keys as values. | |
| 10233 | The caller of the subroutine is presumably at fault. | |
| 10234 | 5338 | |
| 10235 | 5339 | =end original |
| 10236 | 5340 | |
| 10237 | ||
| 5341 | 移植性のあるコードの書き方についても L<perlport> を参照してください。 | |
| 10238 | ハッシュに展開するために奇数の数の引数を受け取りました。 | |
| 10239 | 引数は、同じ数のキーと値のペアになっていることが必要です。 | |
| 10240 | サブルーチンの呼び出しものがおそらく間違えているのでしょう。 | |
| 10241 | 5342 | |
| 10242 | =begin original | |
| 10243 | ||
| 10244 | The message attempts to include the name of the called subroutine. If the | |
| 10245 | subroutine has been aliased, the subroutine's original name will be shown, | |
| 10246 | regardless of what name the caller used. | |
| 10247 | ||
| 10248 | =end original | |
| 10249 | ||
| 10250 | メッセージには呼び出されたサブルーチンの名前を含めようとします。 | |
| 10251 | サブルーチンに別名がある場合、どの名前で呼び出されたかに関わらず、 | |
| 10252 | 元の名前が表示されます。 | |
| 10253 | ||
| 10254 | 5343 | =item Odd number of arguments for overload::constant |
| 10255 | 5344 | |
| 10256 | 5345 | =begin original |
| 10257 | 5346 | |
| 10258 | (W | |
| 5347 | (W) The call to overload::constant contained an odd number of arguments. | |
| 10259 | ||
| 5348 | The arguments should come in pairs. | |
| 10260 | 5349 | |
| 10261 | 5350 | =end original |
| 10262 | 5351 | |
| 10263 | (W | |
| 5352 | (W) 奇数の数の引数で overload::constant を呼び出しました。 | |
| 10264 | 5353 | 引数はペアになっている必要があります。 |
| 10265 | 5354 | |
| 10266 | =item Odd number of elements in anonymous hash | |
| 10267 | ||
| 10268 | =begin original | |
| 10269 | ||
| 10270 | (W misc) You specified an odd number of elements to initialize a hash, | |
| 10271 | which is odd, because hashes come in key/value pairs. | |
| 10272 | ||
| 10273 | =end original | |
| 10274 | ||
| 10275 | (W misc) ハッシュリストへの要素の数が奇数でした; ハッシュリストは、 | |
| 10276 | key/value のペアで与えられますから、これは奇妙なことです。 | |
| 10277 | ||
| 10278 | 5355 | =item Odd number of elements in hash assignment |
| 10279 | 5356 | |
| 10280 | 5357 | =begin original |
| 10281 | 5358 | |
| 10282 | 5359 | (W misc) You specified an odd number of elements to initialize a hash, |
| 10283 | 5360 | which is odd, because hashes come in key/value pairs. |
| 10284 | 5361 | |
| 10285 | 5362 | =end original |
| 10286 | 5363 | |
| 10287 | (W misc) ハッシュリストへの要素の数が奇数でした | |
| 5364 | (W misc) ハッシュリストへの要素の数が奇数でした。 | |
| 10288 | key/value のペアで与えられますから、 | |
| 5365 | ハッシュリストは、key/value のペアで与えられますから、 | |
| 5366 | これは奇妙なことです。 | |
| 10289 | 5367 | |
| 10290 | 5368 | =item Offset outside string |
| 10291 | 5369 | |
| 10292 | 5370 | =begin original |
| 10293 | 5371 | |
| 10294 | (F) | |
| 5372 | (F) You tried to do a read/write/send/recv operation with an offset | |
| 10295 | ||
| 5373 | pointing outside the buffer. This is difficult to imagine. The sole | |
| 10296 | ||
| 5374 | exception to this is that C<sysread()>ing past the buffer will extend | |
| 10297 | t | |
| 5375 | the buffer and zero pad the new area. | |
| 10298 | C<sysread()>ing a file, or when seeking past the end of a scalar opened | |
| 10299 | for I/O (in anticipation of future reads and to imitate the behavior | |
| 10300 | with real files). | |
| 10301 | 5376 | |
| 10302 | 5377 | =end original |
| 10303 | 5378 | |
| 10304 | (F) | |
| 5379 | (F) バッファの外を指すオフセットで read/write/send/recv 操作を | |
| 10305 | 5380 | しようとしました。 |
| 10306 | 5381 | これは想像しにくいことです。 |
| 10307 | 唯一の例外は、ファ | |
| 5382 | 唯一の例外は、バッファを通り過ぎて C<sysread()> するとバッファが | |
| 10308 | ||
| 5383 | 拡張され、新しいエリアには 0 でパッディングされます。 | |
| 10309 | I/O のためにオープンされているスカラの最後を越えてシークしたときに、 | |
| 10310 | 0 でパッディングされたときです。 | |
| 10311 | 5384 | |
| 10312 | =item | |
| 5385 | =item -%s on unopened filehandle %s | |
| 10313 | 5386 | |
| 10314 | 5387 | =begin original |
| 10315 | 5388 | |
| 10316 | (W | |
| 5389 | (W unopened) You tried to invoke a file test operator on a filehandle | |
| 10317 | ||
| 5390 | that isn't open. Check your logic. See also L<perlfunc/-X>. | |
| 10318 | is equivalent to C<"In $name::s house">. If you meant the former, put | |
| 10319 | a backslash before the apostrophe (C<"In $name\'s house">). | |
| 10320 | 5391 | |
| 10321 | 5392 | =end original |
| 10322 | 5393 | |
| 10323 | (W | |
| 5394 | (W unopened) 開いていないファイルハンドルに対してファイルテスト演算子を | |
| 10324 | ||
| 5395 | 使おうとしました。 | |
| 10325 | ||
| 5396 | 論理をチェックしてください。 | |
| 10326 | ||
| 5397 | L<perlfunc/-X> も参照してください。 | |
| 10327 | 前者の意味なら、アポストロフィの前に逆スラッシュを置いてください | |
| 10328 | (C<"In $name\'s house">)。 | |
| 10329 | 5398 | |
| 10330 | =item %s() on unopened %s | |
| 5399 | =item %s() on unopened %s %s | |
| 10331 | 5400 | |
| 10332 | 5401 | =begin original |
| 10333 | 5402 | |
| 10334 | 5403 | (W unopened) An I/O operation was attempted on a filehandle that was |
| 10335 | 5404 | never initialized. You need to do an open(), a sysopen(), or a socket() |
| 10336 | 5405 | call, or call a constructor from the FileHandle package. |
| 10337 | 5406 | |
| 10338 | 5407 | =end original |
| 10339 | 5408 | |
| 10340 | 5409 | (W unopened) 初期化していないファイルハンドルに I/O 操作をしようとしました。 |
| 10341 | 5410 | open(), sysopen(), socket() を呼び出すか、FileHandle パッケージの |
| 10342 | 5411 | コンストラクタを呼び出す必要があります。 |
| 10343 | 5412 | |
| 10344 | =item -%s on unopened filehandle %s | |
| 10345 | ||
| 10346 | =begin original | |
| 10347 | ||
| 10348 | (W unopened) You tried to invoke a file test operator on a filehandle | |
| 10349 | that isn't open. Check your control flow. See also L<perlfunc/-X>. | |
| 10350 | ||
| 10351 | =end original | |
| 10352 | ||
| 10353 | (W unopened) 開いていないファイルハンドルに対してファイルテスト演算子を | |
| 10354 | 使おうとしました。 | |
| 10355 | 制御フローをチェックしてください。 | |
| 10356 | L<perlfunc/-X> も参照してください。 | |
| 10357 | ||
| 10358 | 5413 | =item oops: oopsAV |
| 10359 | 5414 | |
| 10360 | 5415 | =begin original |
| 10361 | 5416 | |
| 10362 | 5417 | (S internal) An internal warning that the grammar is screwed up. |
| 10363 | 5418 | |
| 10364 | 5419 | =end original |
| 10365 | 5420 | |
| 10366 | 5421 | (S internal) 文法がおかしくなったことを示す内部警告です。 |
| 10367 | 5422 | |
| 10368 | 5423 | =item oops: oopsHV |
| 10369 | 5424 | |
| 10370 | 5425 | =begin original |
| 10371 | 5426 | |
| 10372 | 5427 | (S internal) An internal warning that the grammar is screwed up. |
| 10373 | 5428 | |
| 10374 | 5429 | =end original |
| 10375 | 5430 | |
| 10376 | 5431 | (S internal) 文法がおかしくなったことを示す内部警告です。 |
| 10377 | 5432 | |
| 10378 | =item Operan | |
| 5433 | =item Operation `%s': no method found, %s | |
| 10379 | m/%s/ | |
| 10380 | 5434 | |
| 10381 | 5435 | =begin original |
| 10382 | 5436 | |
| 10383 | (F) You wrote something like | |
| 10384 | ||
| 10385 | =end original | |
| 10386 | ||
| 10387 | (F) 以下のようなものを書きました | |
| 10388 | ||
| 10389 | (?[ \p{Digit} \p{Thai} ]) | |
| 10390 | ||
| 10391 | =begin original | |
| 10392 | ||
| 10393 | There are two operands, but no operator giving how you want to combine | |
| 10394 | them. | |
| 10395 | ||
| 10396 | =end original | |
| 10397 | ||
| 10398 | 二つのオペランドがありますが、それをどのように結びつけたいかを指定する | |
| 10399 | 演算子がありません。 | |
| 10400 | ||
| 10401 | =item Operation "%s": no method found, %s | |
| 10402 | ||
| 10403 | =begin original | |
| 10404 | ||
| 10405 | 5437 | (F) An attempt was made to perform an overloaded operation for which no |
| 10406 | 5438 | handler was defined. While some handlers can be autogenerated in terms |
| 10407 | 5439 | of other handlers, there is no default handler for any operation, unless |
| 10408 | ||
| 5440 | C<fallback> overloading key is specified to be true. See L<overload>. | |
| 10409 | 5441 | |
| 10410 | 5442 | =end original |
| 10411 | 5443 | |
| 10412 | 5444 | (F) ハンドラが定義されていないオーバーロード操作が行われました。 |
| 10413 | 5445 | 一部のハンドラは他のハンドラから自動生成されますが、C<fallback> |
| 10414 | 5446 | オーバーロードキーが真に指定されていない限り、どの動作にも |
| 10415 | 5447 | デフォルトのハンドラはありません。 |
| 10416 | 5448 | L<overload> を参照してください。 |
| 10417 | 5449 | |
| 10418 | =item Operation "%s" returns its argument for non-Unicode code point 0x%X | |
| 10419 | ||
| 10420 | =begin original | |
| 10421 | ||
| 10422 | (S non_unicode) You performed an operation requiring Unicode rules | |
| 10423 | on a code point that is not in Unicode, so what it should do is not | |
| 10424 | defined. Perl has chosen to have it do nothing, and warn you. | |
| 10425 | ||
| 10426 | =end original | |
| 10427 | ||
| 10428 | (S non_unicode) Unicode ではない符号位置に対して、Unicode の規則が | |
| 10429 | 必要な操作を実行しました; 何をするべきかは未定義です。 | |
| 10430 | Perl は何もしないことを選択し、警告を出します。 | |
| 10431 | ||
| 10432 | =begin original | |
| 10433 | ||
| 10434 | If the operation shown is "ToFold", it means that case-insensitive | |
| 10435 | matching in a regular expression was done on the code point. | |
| 10436 | ||
| 10437 | =end original | |
| 10438 | ||
| 10439 | 示された操作が "ToFold" なら、正規表現での大文字小文字を無視したマッチングが | |
| 10440 | その符号位置に対して行われたということです。 | |
| 10441 | ||
| 10442 | =begin original | |
| 10443 | ||
| 10444 | If you know what you are doing you can turn off this warning by | |
| 10445 | C<no warnings 'non_unicode';>. | |
| 10446 | ||
| 10447 | =end original | |
| 10448 | ||
| 10449 | 自分で何をしているのかが分かっているなら、 | |
| 10450 | C<no warnings 'non_unicode';> とすることでこの警告をオフにできます。 | |
| 10451 | ||
| 10452 | =item Operation "%s" returns its argument for UTF-16 surrogate U+%X | |
| 10453 | ||
| 10454 | =begin original | |
| 10455 | ||
| 10456 | (S surrogate) You performed an operation requiring Unicode | |
| 10457 | rules on a Unicode surrogate. Unicode frowns upon the use | |
| 10458 | of surrogates for anything but storing strings in UTF-16, but | |
| 10459 | rules are (reluctantly) defined for the surrogates, and | |
| 10460 | they are to do nothing for this operation. Because the use of | |
| 10461 | surrogates can be dangerous, Perl warns. | |
| 10462 | ||
| 10463 | =end original | |
| 10464 | ||
| 10465 | (S surrogate) Unicode サロゲートに対して Unicode の規則が必要な | |
| 10466 | 操作を実行しました。 | |
| 10467 | Unicode は文字列を UTF-16 で保管する以外のことでサロゲートを使うことに | |
| 10468 | 難色を示しますが、規則は(渋々)サロゲートのために定義されていて、それは | |
| 10469 | この操作に対して何もしないことです。 | |
| 10470 | サロゲートの使用は危険かも知れないので、Perl は警告します。 | |
| 10471 | ||
| 10472 | =begin original | |
| 10473 | ||
| 10474 | If the operation shown is "ToFold", it means that case-insensitive | |
| 10475 | matching in a regular expression was done on the code point. | |
| 10476 | ||
| 10477 | =end original | |
| 10478 | ||
| 10479 | 示された操作が "ToFold" なら、正規表現での大文字小文字を無視したマッチングが | |
| 10480 | その符号位置に対して行われたということです。 | |
| 10481 | ||
| 10482 | =begin original | |
| 10483 | ||
| 10484 | If you know what you are doing you can turn off this warning by | |
| 10485 | C<no warnings 'surrogate';>. | |
| 10486 | ||
| 10487 | =end original | |
| 10488 | ||
| 10489 | 自分で何をしているのかが分かっているなら、 | |
| 10490 | C<no warnings 'surrogate';> とすることでこの警告をオフにできます。 | |
| 10491 | ||
| 10492 | 5450 | =item Operator or semicolon missing before %s |
| 10493 | 5451 | |
| 10494 | 5452 | =begin original |
| 10495 | 5453 | |
| 10496 | 5454 | (S ambiguous) You used a variable or subroutine call where the parser |
| 10497 | 5455 | was expecting an operator. The parser has assumed you really meant to |
| 10498 | 5456 | use an operator, but this is highly likely to be incorrect. For |
| 10499 | 5457 | example, if you say "*foo *foo" it will be interpreted as if you said |
| 10500 | 5458 | "*foo * 'foo'". |
| 10501 | 5459 | |
| 10502 | 5460 | =end original |
| 10503 | 5461 | |
| 10504 | 5462 | (S ambiguous) パーサーが演算子を装置している場所で変数やサブルーチン |
| 10505 | 5463 | 呼び出しが使われました。 |
| 10506 | 5464 | パーサーはあなたが本当に演算子を使おうとしていると仮定しますが、 |
| 10507 | 5465 | これは大抵正しくありません。 |
| 10508 | 5466 | 例えば、"*foo *foo" とすると、"*foo * 'foo'" としたとして解釈されます。 |
| 10509 | 5467 | |
| 10510 | =item Optional parameter lacks default expression | |
| 10511 | ||
| 10512 | =begin original | |
| 10513 | ||
| 10514 | (F) In a subroutine signature, you wrote something like "$a =", making a | |
| 10515 | named optional parameter without a default value. A nameless optional | |
| 10516 | parameter is permitted to have no default value, but a named one must | |
| 10517 | have a specific default. You probably want "$a = undef". | |
| 10518 | ||
| 10519 | =end original | |
| 10520 | ||
| 10521 | (F) サブルーチンシグネチャで、"$a =" のような、デフォルト値のない名前付き | |
| 10522 | オプション引数を書きました。 | |
| 10523 | 無名オプション引数はデフォルト値を持たないことを許されていますが、 | |
| 10524 | 名前付きのものはデフォルトを指定しなければなりません。 | |
| 10525 | おそらく "$a = undef" としたかったのでしょう。 | |
| 10526 | ||
| 10527 | 5468 | =item "our" variable %s redeclared |
| 10528 | 5469 | |
| 10529 | 5470 | =begin original |
| 10530 | 5471 | |
| 10531 | (W s | |
| 5472 | (W misc) You seem to have already declared the same global once before | |
| 10532 | 5473 | in the current lexical scope. |
| 10533 | 5474 | |
| 10534 | 5475 | =end original |
| 10535 | 5476 | |
| 10536 | (W s | |
| 5477 | (W misc) 現在のレキシカルスコープで、既に同じ名前のグローバル変数を | |
| 10537 | 5478 | 宣言しているようです。 |
| 10538 | 5479 | |
| 10539 | 5480 | =item Out of memory! |
| 10540 | 5481 | |
| 10541 | 5482 | =begin original |
| 10542 | 5483 | |
| 10543 | 5484 | (X) The malloc() function returned 0, indicating there was insufficient |
| 10544 | 5485 | remaining memory (or virtual memory) to satisfy the request. Perl has |
| 10545 | 5486 | no option but to exit immediately. |
| 10546 | 5487 | |
| 10547 | 5488 | =end original |
| 10548 | 5489 | |
| 10549 | 5490 | (X) 要求を満たすだけの、十分な残メモリ (または、仮想メモリ) が |
| 10550 | 5491 | 取得できないことを示す、0 を malloc() 関数が返しました。 |
| 10551 | 5492 | Perl は直ちに終了するしかありませんでした。 |
| 10552 | 5493 | |
| 10553 | =begin original | |
| 10554 | ||
| 10555 | At least in Unix you may be able to get past this by increasing your | |
| 10556 | process datasize limits: in csh/tcsh use C<limit> and | |
| 10557 | C<limit datasize n> (where C<n> is the number of kilobytes) to check | |
| 10558 | the current limits and change them, and in ksh/bash/zsh use C<ulimit -a> | |
| 10559 | and C<ulimit -d n>, respectively. | |
| 10560 | ||
| 10561 | =end original | |
| 10562 | ||
| 10563 | 少なくとも Unix ではプロセスのデータサイズ制限を増やすことによって | |
| 10564 | これを回避することが可能です: | |
| 10565 | csh/tcsh では現在の制限を調べるのに C<limit> を、これを変更するには | |
| 10566 | C<limit datasize n> (ここで C<n> はキロバイト単位) を使ってください; | |
| 10567 | ksh/bash/zsh ではそれぞれ C<ulimit -a> と C<ulimit -d n> を使ってください。 | |
| 10568 | ||
| 10569 | =item Out of memory during %s extend | |
| 10570 | ||
| 10571 | =begin original | |
| 10572 | ||
| 10573 | (X) An attempt was made to extend an array, a list, or a string beyond | |
| 10574 | the largest possible memory allocation. | |
| 10575 | ||
| 10576 | =end original | |
| 10577 | ||
| 10578 | (X) 確保可能な最大メモリを越えて配列、リスト、文字列を拡張しようとしました。 | |
| 10579 | ||
| 10580 | 5494 | =item Out of memory during "large" request for %s |
| 10581 | 5495 | |
| 10582 | 5496 | =begin original |
| 10583 | 5497 | |
| 10584 | 5498 | (F) The malloc() function returned 0, indicating there was insufficient |
| 10585 | remaining memory (or virtual memory) to satisfy the request. | |
| 5499 | remaining memory (or virtual memory) to satisfy the request. However, | |
| 10586 | 5500 | the request was judged large enough (compile-time default is 64K), so a |
| 10587 | 5501 | possibility to shut down by trapping this error is granted. |
| 10588 | 5502 | |
| 10589 | 5503 | =end original |
| 10590 | 5504 | |
| 10591 | 5505 | (F) malloc() 関数が 0 を返しました; これは要求を満たすメモリ |
| 10592 | 5506 | (または仮想メモリ)が不十分であることを示しています。 |
| 10593 | 5507 | しかし、要求が十分大きい(コンパイル時のデフォルトは 64K)ので、 |
| 10594 | 5508 | このエラーをトラップすることでシャットダウンできる可能性があります。 |
| 10595 | 5509 | |
| 10596 | 5510 | =item Out of memory during request for %s |
| 10597 | 5511 | |
| 10598 | 5512 | =begin original |
| 10599 | 5513 | |
| 10600 | (X | |
| 5514 | (X|F) The malloc() function returned 0, indicating there was | |
| 10601 | 5515 | insufficient remaining memory (or virtual memory) to satisfy the |
| 10602 | 5516 | request. |
| 10603 | 5517 | |
| 10604 | 5518 | =end original |
| 10605 | 5519 | |
| 10606 | (X | |
| 5520 | (X|F) malloc() 関数が 0 を返しました; これは要求を満たすメモリ | |
| 10607 | 5521 | (または仮想メモリ)が不十分であることを示しています。 |
| 10608 | 5522 | |
| 10609 | 5523 | =begin original |
| 10610 | 5524 | |
| 10611 | 5525 | The request was judged to be small, so the possibility to trap it |
| 10612 | 5526 | depends on the way perl was compiled. By default it is not trappable. |
| 10613 | 5527 | However, if compiled for this, Perl may use the contents of C<$^M> as an |
| 10614 | 5528 | emergency pool after die()ing with this message. In this case the error |
| 10615 | 5529 | is trappable I<once>, and the error message will include the line and file |
| 10616 | 5530 | where the failed request happened. |
| 10617 | 5531 | |
| 10618 | 5532 | =end original |
| 10619 | 5533 | |
| 10620 | 5534 | 要求は小さいものと判定されたので、これをトラップできる確率は perl が |
| 10621 | 5535 | どのようにコンパイルされたかに依存します。 |
| 10622 | 5536 | デフォルトではこれはトラップできません。 |
| 10623 | 5537 | しかし、もしこのためにコンパイルすると、Perl はこのメッセージと共に |
| 10624 | 5538 | die() した後の非常用エリアとして C<$^M> の内容を使います。 |
| 10625 | 5539 | この場合エラーは I<一度だけ> トラップ可能で、エラーメッセージは失敗した |
| 10626 | 5540 | 要求が起きたファイルと行番号を含んでいます。 |
| 10627 | 5541 | |
| 10628 | 5542 | =item Out of memory during ridiculously large request |
| 10629 | 5543 | |
| 10630 | 5544 | =begin original |
| 10631 | 5545 | |
| 10632 | 5546 | (F) You can't allocate more than 2^31+"small amount" bytes. This error |
| 10633 | 5547 | is most likely to be caused by a typo in the Perl program. e.g., |
| 10634 | 5548 | C<$arr[time]> instead of C<$arr[$time]>. |
| 10635 | 5549 | |
| 10636 | 5550 | =end original |
| 10637 | 5551 | |
| 10638 | 5552 | (F) 2^31+「少量」バイト以上割り当てることはできません。 |
| 10639 | このエラーはほとんどの場合 | |
| 5553 | このエラーはほとんどの場合(C<$arr[$time]> の代わりに | |
| 10640 | ||
| 5554 | C<$arr[time]> のような) Perl プログラムのタイプミスが原因です。 | |
| 10641 | 5555 | |
| 10642 | 5556 | =item Out of memory for yacc stack |
| 10643 | 5557 | |
| 10644 | 5558 | =begin original |
| 10645 | 5559 | |
| 10646 | 5560 | (F) The yacc parser wanted to grow its stack so it could continue |
| 10647 | 5561 | parsing, but realloc() wouldn't give it more memory, virtual or |
| 10648 | 5562 | otherwise. |
| 10649 | 5563 | |
| 10650 | 5564 | =end original |
| 10651 | 5565 | |
| 10652 | 5566 | (F) yacc パーサーが解析を続けるために、スタックを広げようとしましたが、 |
| 10653 | 5567 | realloc() が仮想やその他のメモリを確保できませんでした。 |
| 10654 | 5568 | |
| 10655 | =item | |
| 5569 | =item @ outside of string | |
| 10656 | 5570 | |
| 10657 | 5571 | =begin original |
| 10658 | 5572 | |
| 10659 | (F) | |
| 5573 | (F) You had a pack template that specified an absolute position outside | |
| 10660 | position to before the start of the packed string being built. | |
| 10661 | ||
| 10662 | =end original | |
| 10663 | ||
| 10664 | (F) テンプレートでの '.' の引数として、pack された文字列が構築されたよりも | |
| 10665 | 前に作業位置を移動しようとしました。 | |
| 10666 | ||
| 10667 | =item '@' outside of string in unpack | |
| 10668 | ||
| 10669 | =begin original | |
| 10670 | ||
| 10671 | (F) You had a template that specified an absolute position outside | |
| 10672 | 5574 | the string being unpacked. See L<perlfunc/pack>. |
| 10673 | 5575 | |
| 10674 | 5576 | =end original |
| 10675 | 5577 | |
| 10676 | 5578 | (F) unpack される文字列の外に絶対位置指定している、 |
| 10677 | テンプレートを指定しました。 | |
| 5579 | pack テンプレートを指定しました。 | |
| 10678 | 5580 | L<perlfunc/pack> を参照してください。 |
| 10679 | 5581 | |
| 10680 | =item '@' outside of string with malformed UTF-8 in unpack | |
| 10681 | ||
| 10682 | =begin original | |
| 10683 | ||
| 10684 | (F) You had a template that specified an absolute position outside | |
| 10685 | the string being unpacked. The string being unpacked was also invalid | |
| 10686 | UTF-8. See L<perlfunc/pack>. | |
| 10687 | ||
| 10688 | =end original | |
| 10689 | ||
| 10690 | (F) unpack される文字列の外に絶対位置指定している、 | |
| 10691 | テンプレートを指定しました。 | |
| 10692 | unpack された文字列は不正な UTF-8 でもあります。 | |
| 10693 | L<perlfunc/pack> を参照してください。 | |
| 10694 | ||
| 10695 | =item overload arg '%s' is invalid | |
| 10696 | ||
| 10697 | =begin original | |
| 10698 | ||
| 10699 | (W overload) The L<overload> pragma was passed an argument it did not | |
| 10700 | recognize. Did you mistype an operator? | |
| 10701 | ||
| 10702 | =end original | |
| 10703 | ||
| 10704 | (W overload) L<overload> プラグマに、認識できない引数が渡されました。 | |
| 10705 | 演算子をタイプミスしましたか? | |
| 10706 | ||
| 10707 | =item Overloaded dereference did not return a reference | |
| 10708 | ||
| 10709 | =begin original | |
| 10710 | ||
| 10711 | (F) An object with an overloaded dereference operator was dereferenced, | |
| 10712 | but the overloaded operation did not return a reference. See | |
| 10713 | L<overload>. | |
| 10714 | ||
| 10715 | =end original | |
| 10716 | ||
| 10717 | (F) オーバーロードされたデリファレンス演算子のオブジェクトが | |
| 10718 | デリファレンスされましたが、オーバーロード演算がリファレンスを | |
| 10719 | 返しませんでした。 | |
| 10720 | L<overload> を参照してください。 | |
| 10721 | ||
| 10722 | =item Overloaded qr did not return a REGEXP | |
| 10723 | ||
| 10724 | =begin original | |
| 10725 | ||
| 10726 | (F) An object with a C<qr> overload was used as part of a match, but the | |
| 10727 | overloaded operation didn't return a compiled regexp. See L<overload>. | |
| 10728 | ||
| 10729 | =end original | |
| 10730 | ||
| 10731 | (F) C<qr> をオーバーロードしたオブジェクトがマッチングの一部として | |
| 10732 | 使われましたが、オーバーロード演算がコンパイルされた正規表現を | |
| 10733 | 返しませんでした。 | |
| 10734 | L<overload> を参照してください。 | |
| 10735 | ||
| 10736 | 5582 | =item %s package attribute may clash with future reserved word: %s |
| 10737 | 5583 | |
| 10738 | 5584 | =begin original |
| 10739 | 5585 | |
| 10740 | 5586 | (W reserved) A lowercase attribute name was used that had a |
| 10741 | 5587 | package-specific handler. That name might have a meaning to Perl itself |
| 10742 | 5588 | some day, even though it doesn't yet. Perhaps you should use a |
| 10743 | 5589 | mixed-case attribute name, instead. See L<attributes>. |
| 10744 | 5590 | |
| 10745 | 5591 | =end original |
| 10746 | 5592 | |
| 10747 | 5593 | (W reserved) パッケージ固有のハンドラが、小文字の属性名を使っています。 |
| 10748 | 5594 | この名前は、たとえ今は使っていなくても、 Perl 自身がいつか使うかもしれません。 |
| 10749 | 5595 | おそらく代わりに大文字小文字の混じった属性名を使うべきでしょう。 |
| 10750 | 5596 | L<attributes> を参照してください。 |
| 10751 | 5597 | |
| 10752 | =item pack/unpack repeat count overflow | |
| 10753 | ||
| 10754 | =begin original | |
| 10755 | ||
| 10756 | (F) You can't specify a repeat count so large that it overflows your | |
| 10757 | signed integers. See L<perlfunc/pack>. | |
| 10758 | ||
| 10759 | =end original | |
| 10760 | ||
| 10761 | (F) 繰り返し回数として符号付き整数をオーバーフローするような | |
| 10762 | 値は指定できません。 | |
| 10763 | L<perlfunc/pack> を参照してください。 | |
| 10764 | ||
| 10765 | 5598 | =item page overflow |
| 10766 | 5599 | |
| 10767 | 5600 | =begin original |
| 10768 | 5601 | |
| 10769 | 5602 | (W io) A single call to write() produced more lines than can fit on a |
| 10770 | 5603 | page. See L<perlform>. |
| 10771 | 5604 | |
| 10772 | 5605 | =end original |
| 10773 | 5606 | |
| 10774 | (W io) write() の 1 度の呼び出しで、1 ページに収まるより | |
| 5607 | (W io) write() の 1 度の呼び出しで、1 ページに収まるより | |
| 10775 | できました。 | |
| 5608 | 多くの行ができました。 | |
| 10776 | 5609 | L<perlform> を参照してください。 |
| 10777 | 5610 | |
| 10778 | 5611 | =item panic: %s |
| 10779 | 5612 | |
| 10780 | 5613 | =begin original |
| 10781 | 5614 | |
| 10782 | 5615 | (P) An internal error. |
| 10783 | 5616 | |
| 10784 | 5617 | =end original |
| 10785 | 5618 | |
| 10786 | 5619 | (P) 内部エラーです。 |
| 10787 | 5620 | |
| 10788 | =item panic: | |
| 5621 | =item panic: ck_grep | |
| 10789 | 5622 | |
| 10790 | 5623 | =begin original |
| 10791 | 5624 | |
| 10792 | (P) | |
| 5625 | (P) Failed an internal consistency check trying to compile a grep. | |
| 10793 | an ACL related-function, but that function is not available on this | |
| 10794 | platform. Earlier checks mean that it should not be possible to | |
| 10795 | enter this branch on this platform. | |
| 10796 | 5626 | |
| 10797 | 5627 | =end original |
| 10798 | 5628 | |
| 10799 | (P) | |
| 5629 | (P) grep をコンパイルしようとして、内部の一貫性チェックに | |
| 10800 | ||
| 5630 | 引っ掛かりました。 | |
| 10801 | より早いチェックは、このプラットフォームのこの分岐に入ることがないように | |
| 10802 | するべきことを意味します。 | |
| 10803 | 5631 | |
| 10804 | =item panic: c | |
| 5632 | =item panic: ck_split | |
| 10805 | 5633 | |
| 10806 | 5634 | =begin original |
| 10807 | 5635 | |
| 10808 | (P) | |
| 5636 | (P) Failed an internal consistency check trying to compile a split. | |
| 10809 | was not scheduled within the time period allowed and therefore was not | |
| 10810 | able to initialize properly. | |
| 10811 | 5637 | |
| 10812 | 5638 | =end original |
| 10813 | 5639 | |
| 10814 | (P) | |
| 5640 | (P) split をコンパイルしようとして、内部の一貫性チェックに | |
| 10815 | スケジューリングされなかったので、適切に初期化されなかった可能性があります。 | |
| 10816 | ||
| 10817 | =item panic: ck_grep, type=%u | |
| 10818 | ||
| 10819 | =begin original | |
| 10820 | ||
| 10821 | (P) Failed an internal consistency check trying to compile a grep. | |
| 10822 | ||
| 10823 | =end original | |
| 10824 | ||
| 10825 | (P) grep をコンパイルしようとして、内部の一貫性チェックに | |
| 10826 | 5641 | 引っ掛かりました。 |
| 10827 | 5642 | |
| 10828 | =item panic: corrupt saved stack index | |
| 5643 | =item panic: corrupt saved stack index | |
| 10829 | 5644 | |
| 10830 | 5645 | =begin original |
| 10831 | 5646 | |
| 10832 | 5647 | (P) The savestack was requested to restore more localized values than |
| 10833 | 5648 | there are in the savestack. |
| 10834 | 5649 | |
| 10835 | 5650 | =end original |
| 10836 | 5651 | |
| 10837 | 5652 | (P) セーブスタックにある以上のローカル化した値を元に戻す |
| 10838 | 5653 | 要求がありました。 |
| 10839 | 5654 | |
| 10840 | 5655 | =item panic: del_backref |
| 10841 | 5656 | |
| 10842 | 5657 | =begin original |
| 10843 | 5658 | |
| 10844 | 5659 | (P) Failed an internal consistency check while trying to reset a weak |
| 10845 | 5660 | reference. |
| 10846 | 5661 | |
| 10847 | 5662 | =end original |
| 10848 | 5663 | |
| 10849 | 5664 | (P) 弱いリファレンスをリセットしようとしたときに内部の |
| 10850 | 5665 | 一貫性チェックに引っ掛かりました。 |
| 10851 | 5666 | |
| 10852 | =item panic: d | |
| 5667 | =item panic: die %s | |
| 10853 | 5668 | |
| 10854 | 5669 | =begin original |
| 10855 | 5670 | |
| 10856 | (P) | |
| 5671 | (P) We popped the context stack to an eval context, and then discovered | |
| 5672 | it wasn't an eval context. | |
| 5673 | ||
| 5674 | =end original | |
| 5675 | ||
| 5676 | (P) eval コンテキストへコンテキストスタックをポップしたあと、 | |
| 5677 | eval コンテキストでないことがわかりました。 | |
| 5678 | ||
| 5679 | =item panic: pp_match | |
| 5680 | ||
| 5681 | =begin original | |
| 5682 | ||
| 5683 | (P) The internal pp_match() routine was called with invalid operational | |
| 10857 | 5684 | data. |
| 10858 | 5685 | |
| 10859 | 5686 | =end original |
| 10860 | 5687 | |
| 10861 | (P) 内部の pp_ | |
| 5688 | (P) 内部の pp_match() ルーティンが、無効な省略可能データを | |
| 10862 | 5689 | 付けて呼ばれました。 |
| 10863 | 5690 | |
| 10864 | =item panic: do_ | |
| 5691 | =item panic: do_subst | |
| 10865 | 5692 | |
| 10866 | 5693 | =begin original |
| 10867 | 5694 | |
| 10868 | (P) The internal | |
| 5695 | (P) The internal pp_subst() routine was called with invalid operational | |
| 10869 | 5696 | data. |
| 10870 | 5697 | |
| 10871 | 5698 | =end original |
| 10872 | 5699 | |
| 10873 | (P) 内部の pp_ | |
| 5700 | (P) 内部の pp_subst() ルーティンが、無効な省略可能データを | |
| 10874 | 5701 | 付けて呼ばれました。 |
| 10875 | 5702 | |
| 10876 | =item panic: | |
| 5703 | =item panic: do_trans_%s | |
| 10877 | 5704 | |
| 10878 | 5705 | =begin original |
| 10879 | 5706 | |
| 10880 | (P) | |
| 5707 | (P) The internal do_trans routines were called with invalid operational | |
| 10881 | ||
| 5708 | data. | |
| 10882 | 5709 | |
| 10883 | 5710 | =end original |
| 10884 | 5711 | |
| 10885 | (P) | |
| 5712 | (P) 内部の pp_trans ルーティンが、無効な省略可能データを | |
| 5713 | 付けて呼ばれました。 | |
| 10886 | 5714 | |
| 10887 | =item panic: frexp | |
| 5715 | =item panic: frexp | |
| 10888 | 5716 | |
| 10889 | 5717 | =begin original |
| 10890 | 5718 | |
| 10891 | 5719 | (P) The library function frexp() failed, making printf("%f") impossible. |
| 10892 | 5720 | |
| 10893 | 5721 | =end original |
| 10894 | 5722 | |
| 10895 | 5723 | (P) ライブラリ関数 frexp() が失敗したので、printf("%f") ができません。 |
| 10896 | 5724 | |
| 10897 | =item panic: goto | |
| 5725 | =item panic: goto | |
| 10898 | 5726 | |
| 10899 | 5727 | =begin original |
| 10900 | 5728 | |
| 10901 | 5729 | (P) We popped the context stack to a context with the specified label, |
| 10902 | 5730 | and then discovered it wasn't a context we know how to do a goto in. |
| 10903 | 5731 | |
| 10904 | 5732 | =end original |
| 10905 | 5733 | |
| 10906 | 5734 | (P) 指定したラベルを伴うコンテキストへコンテキストスタックを |
| 10907 | 5735 | ポップしたあと、どのように goto するかがわかっている |
| 10908 | 5736 | コンテキストでないことがわかりました。 |
| 10909 | 5737 | |
| 10910 | =item panic: | |
| 5738 | =item panic: INTERPCASEMOD | |
| 10911 | 5739 | |
| 10912 | 5740 | =begin original |
| 10913 | 5741 | |
| 10914 | (P) The internal routine used to clear a typeglob's entries tried | |
| 10915 | repeatedly, but each time something re-created entries in the glob. | |
| 10916 | Most likely the glob contains an object with a reference back to | |
| 10917 | the glob and a destructor that adds a new object to the glob. | |
| 10918 | ||
| 10919 | =end original | |
| 10920 | ||
| 10921 | (P) 型グロブのエントリをクリアするために使われる内部ルーチンが複数回 | |
| 10922 | 試しましたが、毎回何かがグロブにエントリを再作成しました。 | |
| 10923 | おそらくグロブにそのグロブへのリファレンスと、グロブへの新しいオブジェクトを | |
| 10924 | 追加するデストラクタを持つオブジェクトが含まれています。 | |
| 10925 | ||
| 10926 | =item panic: INTERPCASEMOD, %s | |
| 10927 | ||
| 10928 | =begin original | |
| 10929 | ||
| 10930 | 5742 | (P) The lexer got into a bad state at a case modifier. |
| 10931 | 5743 | |
| 10932 | 5744 | =end original |
| 10933 | 5745 | |
| 10934 | 5746 | (P) 大文字小文字修飾子のところで、字句解析部がおかしな状態に陥りました。 |
| 10935 | 5747 | |
| 10936 | =item panic: INTERPCONCAT | |
| 5748 | =item panic: INTERPCONCAT | |
| 10937 | 5749 | |
| 10938 | 5750 | =begin original |
| 10939 | 5751 | |
| 10940 | 5752 | (P) The lexer got into a bad state parsing a string with brackets. |
| 10941 | 5753 | |
| 10942 | 5754 | =end original |
| 10943 | 5755 | |
| 10944 | (P) 中 | |
| 5756 | (P) 中括弧を伴う文字列を解析中に、字句解析部がおかしな状態に陥りました。 | |
| 10945 | 5757 | |
| 10946 | 5758 | =item panic: kid popen errno read |
| 10947 | 5759 | |
| 10948 | 5760 | =begin original |
| 10949 | 5761 | |
| 10950 | (F) | |
| 5762 | (F) forked child returned an incomprehensible message about its errno. | |
| 10951 | 5763 | |
| 10952 | 5764 | =end original |
| 10953 | 5765 | |
| 10954 | 5766 | (F) fork した子プロセスが errno に関して不完全なメッセージを返しました。 |
| 10955 | 5767 | |
| 10956 | =item panic: last | |
| 5768 | =item panic: last | |
| 10957 | 5769 | |
| 10958 | 5770 | =begin original |
| 10959 | 5771 | |
| 10960 | 5772 | (P) We popped the context stack to a block context, and then discovered |
| 10961 | 5773 | it wasn't a block context. |
| 10962 | 5774 | |
| 10963 | 5775 | =end original |
| 10964 | 5776 | |
| 10965 | 5777 | (P) block コンテキストへコンテキストスタックをポップしたあと、 |
| 10966 | 5778 | block コンテキストでないことがわかりました。 |
| 10967 | 5779 | |
| 10968 | 5780 | =item panic: leave_scope clearsv |
| 10969 | 5781 | |
| 10970 | 5782 | =begin original |
| 10971 | 5783 | |
| 10972 | 5784 | (P) A writable lexical variable became read-only somehow within the |
| 10973 | 5785 | scope. |
| 10974 | 5786 | |
| 10975 | 5787 | =end original |
| 10976 | 5788 | |
| 10977 | 5789 | (P) 書き込み可能な字句スコープ変数が、どういうわけか、スコープ内で |
| 10978 | 5790 | リードオンリーになりました。 |
| 10979 | 5791 | |
| 10980 | =item panic: leave_scope inconsistency | |
| 5792 | =item panic: leave_scope inconsistency | |
| 10981 | 5793 | |
| 10982 | 5794 | =begin original |
| 10983 | 5795 | |
| 10984 | 5796 | (P) The savestack probably got out of sync. At least, there was an |
| 10985 | 5797 | invalid enum on the top of it. |
| 10986 | 5798 | |
| 10987 | 5799 | =end original |
| 10988 | 5800 | |
| 10989 | 5801 | (P) おそらく、セーブスタックの同期がとれていません。 |
| 10990 | 5802 | 少なくとも、トップに不正な enum がありました。 |
| 10991 | 5803 | |
| 10992 | 5804 | =item panic: magic_killbackrefs |
| 10993 | 5805 | |
| 10994 | 5806 | =begin original |
| 10995 | 5807 | |
| 10996 | 5808 | (P) Failed an internal consistency check while trying to reset all weak |
| 10997 | 5809 | references to an object. |
| 10998 | 5810 | |
| 10999 | 5811 | =end original |
| 11000 | 5812 | |
| 11001 | 5813 | (P) あるオブジェクトへの全ての弱い参照をリセットしようとした時に内部の |
| 11002 | 5814 | 一貫性チェックに引っ掛かりました。 |
| 11003 | 5815 | |
| 11004 | =item panic: malloc | |
| 5816 | =item panic: malloc | |
| 11005 | 5817 | |
| 11006 | 5818 | =begin original |
| 11007 | 5819 | |
| 11008 | 5820 | (P) Something requested a negative number of bytes of malloc. |
| 11009 | 5821 | |
| 11010 | 5822 | =end original |
| 11011 | 5823 | |
| 11012 | 5824 | (P) malloc に負のバイト数で要求が行なわれました。 |
| 11013 | 5825 | |
| 11014 | =item panic: m | |
| 5826 | =item panic: mapstart | |
| 11015 | 5827 | |
| 11016 | 5828 | =begin original |
| 11017 | 5829 | |
| 11018 | (P) | |
| 5830 | (P) The compiler is screwed up with respect to the map() function. | |
| 11019 | negative amount. | |
| 11020 | 5831 | |
| 11021 | 5832 | =end original |
| 11022 | 5833 | |
| 11023 | (P) | |
| 5834 | (P) コンパイラが、map() 関数に関しておかしくなりました。 | |
| 11024 | 5835 | |
| 11025 | =item panic: | |
| 5836 | =item panic: null array | |
| 11026 | 5837 | |
| 11027 | 5838 | =begin original |
| 11028 | 5839 | |
| 5840 | (P) One of the internal array routines was passed a null AV pointer. | |
| 5841 | ||
| 5842 | =end original | |
| 5843 | ||
| 5844 | (P) 内部配列ルーティンで、ヌル AV ポインタを渡されたものがありました。 | |
| 5845 | ||
| 5846 | =item panic: pad_alloc | |
| 5847 | ||
| 5848 | =begin original | |
| 5849 | ||
| 11029 | 5850 | (P) The compiler got confused about which scratch pad it was allocating |
| 11030 | 5851 | and freeing temporaries and lexicals from. |
| 11031 | 5852 | |
| 11032 | 5853 | =end original |
| 11033 | 5854 | |
| 11034 | 5855 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
| 11035 | 5856 | スクラッチパッドについて混乱しました。 |
| 11036 | 5857 | |
| 11037 | =item panic: pad_free curpad | |
| 5858 | =item panic: pad_free curpad | |
| 11038 | 5859 | |
| 11039 | 5860 | =begin original |
| 11040 | 5861 | |
| 11041 | 5862 | (P) The compiler got confused about which scratch pad it was allocating |
| 11042 | 5863 | and freeing temporaries and lexicals from. |
| 11043 | 5864 | |
| 11044 | 5865 | =end original |
| 11045 | 5866 | |
| 11046 | 5867 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
| 11047 | 5868 | スクラッチパッドについて混乱しました。 |
| 11048 | 5869 | |
| 11049 | 5870 | =item panic: pad_free po |
| 11050 | 5871 | |
| 11051 | 5872 | =begin original |
| 11052 | 5873 | |
| 11053 | (P) A | |
| 5874 | (P) An invalid scratch pad offset was detected internally. | |
| 11054 | made to free a target that had not been allocated to begin with. | |
| 11055 | 5875 | |
| 11056 | 5876 | =end original |
| 11057 | 5877 | |
| 11058 | (P) スクラッチパッドのオフセット | |
| 5878 | (P) 不正なスクラッチパッドのオフセットが、内部的に検出されました。 | |
| 11059 | 始めるために割り当てられていないターゲットを解放しようとしました。 | |
| 11060 | 5879 | |
| 11061 | =item panic: pad_reset curpad | |
| 5880 | =item panic: pad_reset curpad | |
| 11062 | 5881 | |
| 11063 | 5882 | =begin original |
| 11064 | 5883 | |
| 11065 | 5884 | (P) The compiler got confused about which scratch pad it was allocating |
| 11066 | 5885 | and freeing temporaries and lexicals from. |
| 11067 | 5886 | |
| 11068 | 5887 | =end original |
| 11069 | 5888 | |
| 11070 | 5889 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
| 11071 | 5890 | スクラッチパッドについて混乱しました。 |
| 11072 | 5891 | |
| 11073 | 5892 | =item panic: pad_sv po |
| 11074 | 5893 | |
| 11075 | 5894 | =begin original |
| 11076 | 5895 | |
| 11077 | (P) A | |
| 5896 | (P) An invalid scratch pad offset was detected internally. | |
| 11078 | an operator needed a target but that target had not been allocated | |
| 11079 | for whatever reason. | |
| 11080 | 5897 | |
| 11081 | 5898 | =end original |
| 11082 | 5899 | |
| 11083 | (P) スクラッチパッドのオフセット | |
| 5900 | (P) 不正なスクラッチパッドのオフセットが、内部的に検出されました。 | |
| 11084 | おそらく演算子がターゲットを必要としたけれどもターゲットが何らかの理由で | |
| 11085 | 割り当てられていません。 | |
| 11086 | 5901 | |
| 11087 | =item panic: pad_swipe curpad | |
| 5902 | =item panic: pad_swipe curpad | |
| 11088 | 5903 | |
| 11089 | 5904 | =begin original |
| 11090 | 5905 | |
| 11091 | 5906 | (P) The compiler got confused about which scratch pad it was allocating |
| 11092 | 5907 | and freeing temporaries and lexicals from. |
| 11093 | 5908 | |
| 11094 | 5909 | =end original |
| 11095 | 5910 | |
| 11096 | 5911 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
| 11097 | 5912 | スクラッチパッドについて混乱しました。 |
| 11098 | 5913 | |
| 11099 | 5914 | =item panic: pad_swipe po |
| 11100 | 5915 | |
| 11101 | 5916 | =begin original |
| 11102 | 5917 | |
| 11103 | 5918 | (P) An invalid scratch pad offset was detected internally. |
| 11104 | 5919 | |
| 11105 | 5920 | =end original |
| 11106 | 5921 | |
| 11107 | 5922 | (P) 不正なスクラッチパッドのオフセットが、内部的に検出されました。 |
| 11108 | 5923 | |
| 11109 | =item panic: pp_iter | |
| 5924 | =item panic: pp_iter | |
| 11110 | 5925 | |
| 11111 | 5926 | =begin original |
| 11112 | 5927 | |
| 11113 | 5928 | (P) The foreach iterator got called in a non-loop context frame. |
| 11114 | 5929 | |
| 11115 | 5930 | =end original |
| 11116 | 5931 | |
| 11117 | 5932 | (P) foreach の繰返し子が、ループ文脈以外のところで呼ばれました。 |
| 11118 | 5933 | |
| 11119 | =item panic: pp_ | |
| 5934 | =item panic: pp_split | |
| 11120 | 5935 | |
| 11121 | 5936 | =begin original |
| 11122 | 5937 | |
| 11123 | (P) | |
| 5938 | (P) Something terrible went wrong in setting up for the split. | |
| 11124 | data. | |
| 11125 | 5939 | |
| 11126 | 5940 | =end original |
| 11127 | 5941 | |
| 11128 | (P) | |
| 5942 | (P) split の準備中に何かまずいことが起こってしまいました。 | |
| 11129 | 付けて呼ばれました。 | |
| 11130 | 5943 | |
| 11131 | =item panic: realloc | |
| 5944 | =item panic: realloc | |
| 11132 | 5945 | |
| 11133 | 5946 | =begin original |
| 11134 | 5947 | |
| 11135 | 5948 | (P) Something requested a negative number of bytes of realloc. |
| 11136 | 5949 | |
| 11137 | 5950 | =end original |
| 11138 | 5951 | |
| 11139 | 5952 | (P) 何か、realloc に負のバイト数を要求したものがあります。 |
| 11140 | 5953 | |
| 11141 | =item panic: re | |
| 5954 | =item panic: restartop | |
| 11142 | 5955 | |
| 11143 | 5956 | =begin original |
| 11144 | 5957 | |
| 11145 | (P) The internal sv_replace() function was handed a new SV with a | |
| 11146 | reference count other than 1. | |
| 11147 | ||
| 11148 | =end original | |
| 11149 | ||
| 11150 | (P) 内部の sv_replace() 関数は、参照カウントが 1 でない新しい SV を | |
| 11151 | 扱いました。 | |
| 11152 | ||
| 11153 | =item panic: restartop in %s | |
| 11154 | ||
| 11155 | =begin original | |
| 11156 | ||
| 11157 | 5958 | (P) Some internal routine requested a goto (or something like it), and |
| 11158 | 5959 | didn't supply the destination. |
| 11159 | 5960 | |
| 11160 | 5961 | =end original |
| 11161 | 5962 | |
| 11162 | 5963 | (P) 内部ルーティンから goto (または、同じようなもの) が |
| 11163 | 5964 | 要求されましたが、飛び先が与えれていません。 |
| 11164 | 5965 | |
| 11165 | =item panic: return | |
| 5966 | =item panic: return | |
| 11166 | 5967 | |
| 11167 | 5968 | =begin original |
| 11168 | 5969 | |
| 11169 | 5970 | (P) We popped the context stack to a subroutine or eval context, and |
| 11170 | 5971 | then discovered it wasn't a subroutine or eval context. |
| 11171 | 5972 | |
| 11172 | 5973 | =end original |
| 11173 | 5974 | |
| 11174 | (P) サブルー | |
| 5975 | (P) サブルーティンコンテキストや eval コンテキストへ、 | |
| 11175 | コンテキストスタックをポップしたあと、サブルー | |
| 5976 | コンテキストスタックをポップしたあと、サブルーティンコンテキストや | |
| 11176 | 5977 | eval コンテキストでないことがわかりました。 |
| 11177 | 5978 | |
| 11178 | =item panic: scan_num | |
| 5979 | =item panic: scan_num | |
| 11179 | 5980 | |
| 11180 | 5981 | =begin original |
| 11181 | 5982 | |
| 11182 | 5983 | (P) scan_num() got called on something that wasn't a number. |
| 11183 | 5984 | |
| 11184 | 5985 | =end original |
| 11185 | 5986 | |
| 11186 | 5987 | (P) scan_num() が、何か数字でないものに対して呼ばれました。 |
| 11187 | 5988 | |
| 11188 | =item panic: | |
| 5989 | =item panic: sv_insert | |
| 11189 | 5990 | |
| 11190 | 5991 | =begin original |
| 11191 | 5992 | |
| 11192 | (P) While compiling a pattern that has embedded (?{}) or (??{}) code | |
| 11193 | blocks, perl couldn't locate the code block that should have already been | |
| 11194 | seen and compiled by perl before control passed to the regex compiler. | |
| 11195 | ||
| 11196 | =end original | |
| 11197 | ||
| 11198 | (P) 組み込みの (?{}) や (??{}) コードブロックを持つパターンをコンパイル中に、 | |
| 11199 | 既に現れていて、正規表現コンパイラに制御を渡す前に perl によって | |
| 11200 | コンパイルされているコードブロックを発見できませんでした。 | |
| 11201 | ||
| 11202 | =item panic: strxfrm() gets absurd - a => %u, ab => %u | |
| 11203 | ||
| 11204 | =begin original | |
| 11205 | ||
| 11206 | (P) The interpreter's sanity check of the C function strxfrm() failed. | |
| 11207 | In your current locale the returned transformation of the string "ab" | |
| 11208 | is shorter than that of the string "a", which makes no sense. | |
| 11209 | ||
| 11210 | =end original | |
| 11211 | ||
| 11212 | (P) C 関数 strxfrm() のインタプリタの正気度チェックが失敗しました。 | |
| 11213 | 現在のロケールでは、文字列 "ab" の変換で返されたものは 文字列 "a" の | |
| 11214 | 変換で返されたものよりも短いので、おかしいです。 | |
| 11215 | ||
| 11216 | =item panic: sv_chop %s | |
| 11217 | ||
| 11218 | =begin original | |
| 11219 | ||
| 11220 | (P) The sv_chop() routine was passed a position that is not within the | |
| 11221 | scalar's string buffer. | |
| 11222 | ||
| 11223 | =end original | |
| 11224 | ||
| 11225 | (P) sv_chop() ルーチンは、スカラの文字列バッファ内でない位置を | |
| 11226 | 渡されました。 | |
| 11227 | ||
| 11228 | =item panic: sv_insert, midend=%p, bigend=%p | |
| 11229 | ||
| 11230 | =begin original | |
| 11231 | ||
| 11232 | 5993 | (P) The sv_insert() routine was told to remove more string than there |
| 11233 | 5994 | was string. |
| 11234 | 5995 | |
| 11235 | 5996 | =end original |
| 11236 | 5997 | |
| 11237 | 5998 | (P) sv_insert() ルーティンが、存在する以上の文字列を削除するように |
| 11238 | 5999 | 指示されました。 |
| 11239 | 6000 | |
| 11240 | 6001 | =item panic: top_env |
| 11241 | 6002 | |
| 11242 | 6003 | =begin original |
| 11243 | 6004 | |
| 11244 | 6005 | (P) The compiler attempted to do a goto, or something weird like that. |
| 11245 | 6006 | |
| 11246 | 6007 | =end original |
| 11247 | 6008 | |
| 11248 | 6009 | (P) コンパイラが、goto など妙なことを行なおうとしました。 |
| 11249 | 6010 | |
| 11250 | =item panic: | |
| 6011 | =item panic: yylex | |
| 11251 | 6012 | |
| 11252 | 6013 | =begin original |
| 11253 | 6014 | |
| 11254 | (P) The | |
| 6015 | (P) The lexer got into a bad state while processing a case modifier. | |
| 11255 | permitted at run time. | |
| 11256 | 6016 | |
| 11257 | 6017 | =end original |
| 11258 | 6018 | |
| 11259 | (P) | |
| 6019 | (P) 大文字小文字修飾子を処理中に、字句解析部がおかしな状態に陥りました。 | |
| 11260 | しようとしました。 | |
| 11261 | 6020 | |
| 11262 | =item panic: unknown OA_*: %x | |
| 11263 | ||
| 11264 | =begin original | |
| 11265 | ||
| 11266 | (P) The internal routine that handles arguments to C<&CORE::foo()> | |
| 11267 | subroutine calls was unable to determine what type of arguments | |
| 11268 | were expected. | |
| 11269 | ||
| 11270 | =end original | |
| 11271 | ||
| 11272 | (P) C<&CORE::foo()> サブルーチン呼び出しの引数を扱う内部ルーチンは、 | |
| 11273 | どの種類の引数が想定されているかを決定できませんでした。 | |
| 11274 | ||
| 11275 | 6021 | =item panic: utf16_to_utf8: odd bytelen |
| 11276 | 6022 | |
| 11277 | 6023 | =begin original |
| 11278 | 6024 | |
| 11279 | 6025 | (P) Something tried to call utf16_to_utf8 with an odd (as opposed |
| 11280 | to even) byte length. | |
| 6026 | to even) byte length. | |
| 11281 | 6027 | |
| 11282 | 6028 | =end original |
| 11283 | 6029 | |
| 11284 | 6030 | (P) 何かが(偶数ではなく)奇数のバイト長で utf16_to_utf8 を |
| 11285 | 6031 | 呼び出そうとしました。 |
| 11286 | 6032 | |
| 11287 | =item panic: utf16_to_utf8_reversed: odd bytelen | |
| 11288 | ||
| 11289 | =begin original | |
| 11290 | ||
| 11291 | (P) Something tried to call utf16_to_utf8_reversed with an odd (as opposed | |
| 11292 | to even) byte length. | |
| 11293 | ||
| 11294 | =end original | |
| 11295 | ||
| 11296 | (P) 何かが utf16_to_utf8_reversed を奇数バイト長で呼び出そうとしました。 | |
| 11297 | ||
| 11298 | =item panic: yylex, %s | |
| 11299 | ||
| 11300 | =begin original | |
| 11301 | ||
| 11302 | (P) The lexer got into a bad state while processing a case modifier. | |
| 11303 | ||
| 11304 | =end original | |
| 11305 | ||
| 11306 | (P) 大文字小文字修飾子を処理中に、字句解析部がおかしな状態に陥りました。 | |
| 11307 | ||
| 11308 | 6033 | =item Parentheses missing around "%s" list |
| 11309 | 6034 | |
| 11310 | 6035 | =begin original |
| 11311 | 6036 | |
| 11312 | 6037 | (W parenthesis) You said something like |
| 11313 | 6038 | |
| 11314 | 6039 | =end original |
| 11315 | 6040 | |
| 11316 | 6041 | (W parenthesis) おそらく以下のようにしたのでしょう: |
| 11317 | 6042 | |
| 11318 | 6043 | my $foo, $bar = @_; |
| 11319 | 6044 | |
| 11320 | 6045 | =begin original |
| 11321 | 6046 | |
| 11322 | 6047 | when you meant |
| 11323 | 6048 | |
| 11324 | 6049 | =end original |
| 11325 | 6050 | |
| 11326 | 6051 | 以下のようにすべきです: |
| 11327 | 6052 | |
| 11328 | 6053 | my ($foo, $bar) = @_; |
| 11329 | 6054 | |
| 11330 | 6055 | =begin original |
| 11331 | 6056 | |
| 11332 | Remember that "my", "our", | |
| 6057 | Remember that "my", "our", and "local" bind tighter than comma. | |
| 11333 | 6058 | |
| 11334 | 6059 | =end original |
| 11335 | 6060 | |
| 11336 | "my" | |
| 6061 | "my" や "local" は、コンマよりも強く結合することを忘れないでください。 | |
| 11337 | 忘れないでください。 | |
| 11338 | 6062 | |
| 11339 | =item P | |
| 6063 | =item Perl %s required--this is only version %s, stopped | |
| 11340 | 6064 | |
| 11341 | 6065 | =begin original |
| 11342 | 6066 | |
| 11343 | (F) Parsing code supplied by an extension violated the parser's API in | |
| 11344 | a detectable way. | |
| 11345 | ||
| 11346 | =end original | |
| 11347 | ||
| 11348 | (F) エクステンションによって供給されたパースコードが、検出できる形で | |
| 11349 | パーサの API に違反しています。 | |
| 11350 | ||
| 11351 | =item Pattern subroutine nesting without pos change exceeded limit in regex | |
| 11352 | ||
| 11353 | =begin original | |
| 11354 | ||
| 11355 | (F) You used a pattern that uses too many nested subpattern calls without | |
| 11356 | consuming any text. Restructure the pattern so text is consumed before | |
| 11357 | the nesting limit is exceeded. | |
| 11358 | ||
| 11359 | =end original | |
| 11360 | ||
| 11361 | (F) テキストを全く消費することなく、あまりに多くネストした副パターンを使う | |
| 11362 | パターンを使いました。 | |
| 11363 | ネストの制限を越える前にテキストを消費するようにパターンを | |
| 11364 | 再構成してください。 | |
| 11365 | ||
| 11366 | =item C<-p> destination: %s | |
| 11367 | ||
| 11368 | =begin original | |
| 11369 | ||
| 11370 | (F) An error occurred during the implicit output invoked by the C<-p> | |
| 11371 | command-line switch. (This output goes to STDOUT unless you've | |
| 11372 | redirected it with select().) | |
| 11373 | ||
| 11374 | =end original | |
| 11375 | ||
| 11376 | (F) C<-p> コマンドラインオプションで起動された | |
| 11377 | 暗黙の出力中にエラーが発生しました。 | |
| 11378 | (この出力は select() でリダイレクトしていない限り STDOUT に出力されます。) | |
| 11379 | ||
| 11380 | =item Perl API version %s of %s does not match %s | |
| 11381 | ||
| 11382 | =begin original | |
| 11383 | ||
| 11384 | (F) The XS module in question was compiled against a different incompatible | |
| 11385 | version of Perl than the one that has loaded the XS module. | |
| 11386 | ||
| 11387 | =end original | |
| 11388 | ||
| 11389 | (F) この XS モジュールは、これを読み込んだ Perl とは互換性のないバージョンの | |
| 11390 | Perl 用にコンパイルされたものです。 | |
| 11391 | ||
| 11392 | =item Perl folding rules are not up-to-date for 0x%X; please use the perlbug | |
| 11393 | utility to report; in regex; marked by S<<-- HERE> in m/%s/ | |
| 11394 | ||
| 11395 | =begin original | |
| 11396 | ||
| 11397 | (S regexp) You used a regular expression with case-insensitive matching, | |
| 11398 | and there is a bug in Perl in which the built-in regular expression | |
| 11399 | folding rules are not accurate. This may lead to incorrect results. | |
| 11400 | Please report this as a bug using the L<perlbug> utility. | |
| 11401 | ||
| 11402 | =end original | |
| 11403 | ||
| 11404 | (S regexp) 大文字小文字を無視するマッチングを行う正規表現を使いました; そして | |
| 11405 | 組み込みの正規表現畳み込み規則が正確でないという Perl のバグがありました。 | |
| 11406 | これは間違った結果を引き起こします。 | |
| 11407 | どうか L<perlbug> ユーティリティを使ってバグとして報告してください。 | |
| 11408 | ||
| 11409 | =item PerlIO layer ':win32' is experimental | |
| 11410 | ||
| 11411 | =begin original | |
| 11412 | ||
| 11413 | (S experimental::win32_perlio) The C<:win32> PerlIO layer is | |
| 11414 | experimental. If you want to take the risk of using this layer, | |
| 11415 | simply disable this warning: | |
| 11416 | ||
| 11417 | =end original | |
| 11418 | ||
| 11419 | (S experimental::win32_perlio) C<:win32> PerlIO 層は実験的です。 | |
| 11420 | この層を使うリスクを取りたい場合は、単にこの警告を無効にしてください: | |
| 11421 | ||
| 11422 | no warnings "experimental::win32_perlio"; | |
| 11423 | ||
| 11424 | =item Perl_my_%s() not available | |
| 11425 | ||
| 11426 | =begin original | |
| 11427 | ||
| 11428 | (F) Your platform has very uncommon byte-order and integer size, | |
| 11429 | so it was not possible to set up some or all fixed-width byte-order | |
| 11430 | conversion functions. This is only a problem when you're using the | |
| 11431 | '<' or '>' modifiers in (un)pack templates. See L<perlfunc/pack>. | |
| 11432 | ||
| 11433 | =end original | |
| 11434 | ||
| 11435 | (F) あなたのプラットフォームはとても珍しいバイト順と整数サイズを | |
| 11436 | 使っているので、固定長バイト順変換関数の一部または全部を使うことができません。 | |
| 11437 | これは (un)pack テンプレートの中で | |
| 11438 | '<' か '>' の修飾子を使った場合にのみ問題となります。 | |
| 11439 | L<perlfunc/pack> を参照してください。 | |
| 11440 | ||
| 11441 | =item Perl %s required (did you mean %s?)--this is only %s, stopped | |
| 11442 | ||
| 11443 | =begin original | |
| 11444 | ||
| 11445 | (F) The code you are trying to run has asked for a newer version of | |
| 11446 | Perl than you are running. Perhaps C<use 5.10> was written instead | |
| 11447 | of C<use 5.010> or C<use v5.10>. Without the leading C<v>, the number is | |
| 11448 | interpreted as a decimal, with every three digits after the | |
| 11449 | decimal point representing a part of the version number. So 5.10 | |
| 11450 | is equivalent to v5.100. | |
| 11451 | ||
| 11452 | =end original | |
| 11453 | ||
| 11454 | (F) 実行しようとしたコードは、実行している Perl のバージョンよりも高いものを | |
| 11455 | 尋ねました。 | |
| 11456 | おそらく C<use 5.010> or C<use v5.10> ではなく C<use 5.10> と | |
| 11457 | 書かれているのでしょう。 | |
| 11458 | 先頭の C<v> がないと、数値は 10 進数で、小数点の後の 3 桁毎にバージョン番号の | |
| 11459 | 部分を表現していると解釈されます。 | |
| 11460 | それで、5.10 は v5.100 と等価です。 | |
| 11461 | ||
| 11462 | =item Perl %s required--this is only %s, stopped | |
| 11463 | ||
| 11464 | =begin original | |
| 11465 | ||
| 11466 | 6067 | (F) The module in question uses features of a version of Perl more |
| 11467 | 6068 | recent than the currently running version. How long has it been since |
| 11468 | 6069 | you upgraded, anyway? See L<perlfunc/require>. |
| 11469 | 6070 | |
| 11470 | 6071 | =end original |
| 11471 | 6072 | |
| 11472 | 6073 | (F) 問題のモジュールは、現在実行中の Perl よりも最近のバージョンの |
| 11473 | 6074 | 機能を使っています。 |
| 11474 | 6075 | ところで、いつからアップグレードしていないのですか? |
| 11475 | 6076 | L<perlfunc/require> を参照してください。 |
| 11476 | 6077 | |
| 11477 | 6078 | =item PERL_SH_DIR too long |
| 11478 | 6079 | |
| 11479 | 6080 | =begin original |
| 11480 | 6081 | |
| 11481 | (F) An error peculiar to OS/2. | |
| 6082 | (F) An error peculiar to OS/2. PERL_SH_DIR is the directory to find the | |
| 11482 | 6083 | C<sh>-shell in. See "PERL_SH_DIR" in L<perlos2>. |
| 11483 | 6084 | |
| 11484 | 6085 | =end original |
| 11485 | 6086 | |
| 11486 | 6087 | (F) OS/2 固有のエラーです。 |
| 11487 | 6088 | PERL_SH_DIR は C<sh>-shell を見つけるためのディレクトリです。 |
| 11488 | 6089 | L<perlos2> の "PERL_SH_DIR" を参照してください。 |
| 11489 | 6090 | |
| 11490 | =item PERL_SIGNALS illegal: "%s" | |
| 11491 | ||
| 11492 | =begin original | |
| 11493 | ||
| 11494 | (X) See L<perlrun/PERL_SIGNALS> for legal values. | |
| 11495 | ||
| 11496 | =end original | |
| 11497 | ||
| 11498 | (X) 有効な値については L<perlrun/PERL_SIGNALS> を参照してください。 | |
| 11499 | ||
| 11500 | =item Perls since %s too modern--this is %s, stopped | |
| 11501 | ||
| 11502 | =begin original | |
| 11503 | ||
| 11504 | (F) The code you are trying to run claims it will not run | |
| 11505 | on the version of Perl you are using because it is too new. | |
| 11506 | Maybe the code needs to be updated, or maybe it is simply | |
| 11507 | wrong and the version check should just be removed. | |
| 11508 | ||
| 11509 | =end original | |
| 11510 | ||
| 11511 | (F) 実行しようとしているコードは、使っている Perl のバージョンが新しすぎると | |
| 11512 | 主張しています。 | |
| 11513 | コードを更新する必要があるかもしれませんし、単に間違っていて単純に | |
| 11514 | バージョンチェックを削除するべきかもしれません。 | |
| 11515 | ||
| 11516 | =item perl: warning: Non hex character in '$ENV{PERL_HASH_SEED}', seed only partially set | |
| 11517 | ||
| 11518 | =begin original | |
| 11519 | ||
| 11520 | (S) PERL_HASH_SEED should match /^\s*(?:0x)?[0-9a-fA-F]+\s*\z/ but it | |
| 11521 | contained a non hex character. This could mean you are not using the | |
| 11522 | hash seed you think you are. | |
| 11523 | ||
| 11524 | =end original | |
| 11525 | ||
| 11526 | (S) PERL_HASH_SEED は /^\s*(?:0x)?[0-9a-fA-F]+\s*\z/ にマッチングするけれども | |
| 11527 | 非 16 進数文字を含む必要があります。 | |
| 11528 | これは、考えているようなハッシュの種が使われないことを | |
| 11529 | 意味しているかもしれません。 | |
| 11530 | ||
| 11531 | 6091 | =item perl: warning: Setting locale failed. |
| 11532 | 6092 | |
| 11533 | 6093 | =begin original |
| 11534 | 6094 | |
| 11535 | 6095 | (S) The whole warning message will look something like: |
| 11536 | 6096 | |
| 11537 | 6097 | =end original |
| 11538 | 6098 | |
| 11539 | 6099 | (S) 警告全体は以下のような形になります: |
| 11540 | 6100 | |
| 11541 | 6101 | perl: warning: Setting locale failed. |
| 11542 | 6102 | perl: warning: Please check that your locale settings: |
| 11543 | 6103 | LC_ALL = "En_US", |
| 11544 | 6104 | LANG = (unset) |
| 11545 | 6105 | are supported and installed on your system. |
| 11546 | 6106 | perl: warning: Falling back to the standard locale ("C"). |
| 11547 | 6107 | |
| 11548 | 6108 | =begin original |
| 11549 | 6109 | |
| 11550 | 6110 | Exactly what were the failed locale settings varies. In the above the |
| 11551 | 6111 | settings were that the LC_ALL was "En_US" and the LANG had no value. |
| 11552 | 6112 | This error means that Perl detected that you and/or your operating |
| 11553 | 6113 | system supplier and/or system administrator have set up the so-called |
| 11554 | 6114 | locale system but Perl could not use those settings. This was not |
| 11555 | 6115 | dead serious, fortunately: there is a "default locale" called "C" that |
| 11556 | Perl can and will use, | |
| 6116 | Perl can and will use, the script will be run. Before you really fix | |
| 11557 | ||
| 6117 | the problem, however, you will get the same error message each time | |
| 11558 | ||
| 6118 | you run Perl. How to really fix the problem can be found in | |
| 11559 | 6119 | L<perllocale> section B<LOCALE PROBLEMS>. |
| 11560 | 6120 | |
| 11561 | 6121 | =end original |
| 11562 | 6122 | |
| 11563 | 6123 | 正確にどのロケール設定が失敗したのかは様々です。 |
| 11564 | 6124 | 上記では設定は LC_ALL は "En_US" で、LANG は空でした。 |
| 11565 | 6125 | このエラーは、あなたや OS 供給者やシステム管理者がロケールシステムと呼ばれる |
| 11566 | 6126 | ものをセットアップしましたが、Perl がこれらの設定を使えないことを |
| 11567 | 6127 | 検出したことを意味します。 |
| 11568 | 6128 | これは幸いにして致命的ではありません; Perl が使用できる "C" と呼ばれる |
| 11569 | 6129 | 「デフォルトロケール」が存在するので、スクリプトは実行されます。 |
| 11570 | 6130 | しかし、本当にこの問題を解決するまでは、Perl を実行する毎に同じエラー |
| 11571 | 6131 | メッセージが表示されます。 |
| 11572 | 6132 | 本当にこの問題を修正する方法は L<perllocale> の B<LOCALE PROBLEMS> の |
| 11573 | 6133 | 章にあります。 |
| 11574 | 6134 | |
| 11575 | =item | |
| 6135 | =item Permission denied | |
| 11576 | 6136 | |
| 11577 | 6137 | =begin original |
| 11578 | 6138 | |
| 11579 | ( | |
| 6139 | (F) The setuid emulator in suidperl decided you were up to no good. | |
| 11580 | but containing an unexpected value. The legal values of this setting | |
| 11581 | are as follows. | |
| 11582 | 6140 | |
| 11583 | 6141 | =end original |
| 11584 | 6142 | |
| 11585 | ( | |
| 6143 | (F) suidperl の setuid エミュレータは、実行者が安全とは | |
| 11586 | ||
| 6144 | 言えないと判断しました。 | |
| 11587 | この設定の正当な値は以下のものです。 | |
| 11588 | 6145 | |
| 11589 | Numeric | String | Result | |
| 11590 | --------+---------------+----------------------------------------- | |
| 11591 | 0 | NO | Disables key traversal randomization | |
| 11592 | 1 | RANDOM | Enables full key traversal randomization | |
| 11593 | 2 | DETERMINISTIC | Enables repeatable key traversal | |
| 11594 | | | randomization | |
| 11595 | ||
| 11596 | =begin original | |
| 11597 | ||
| 11598 | Both numeric and string values are accepted, but note that string values are | |
| 11599 | case sensitive. The default for this setting is "RANDOM" or 1. | |
| 11600 | ||
| 11601 | =end original | |
| 11602 | ||
| 11603 | 数値と文字列の値の両方が受け入れられますが、文字列の値は大文字小文字を | |
| 11604 | 区別することに注意してください。 | |
| 11605 | この設定のデフォルトは "RANDOM"、つまり 1 です。 | |
| 11606 | ||
| 11607 | 6146 | =item pid %x not a child |
| 11608 | 6147 | |
| 11609 | 6148 | =begin original |
| 11610 | 6149 | |
| 11611 | 6150 | (W exec) A warning peculiar to VMS. Waitpid() was asked to wait for a |
| 11612 | 6151 | process which isn't a subprocess of the current process. While this is |
| 11613 | 6152 | fine from VMS' perspective, it's probably not what you intended. |
| 11614 | 6153 | |
| 11615 | 6154 | =end original |
| 11616 | 6155 | |
| 11617 | (W exec) VMS | |
| 6156 | (W exec) VMS 固有の警告です。 | |
| 11618 | 6157 | 現在のプロセスのサブプロセスでないプロセスに Waitpid() を使いました。 |
| 11619 | 6158 | これは VMS の観点からは問題ありませんが、おそらくあなたの望んでいることでは |
| 11620 | 6159 | ないでしょう。 |
| 11621 | 6160 | |
| 11622 | =item | |
| 6161 | =item POSIX syntax [%s] belongs inside character classes | |
| 11623 | 6162 | |
| 11624 | 6163 | =begin original |
| 11625 | 6164 | |
| 11626 | ( | |
| 6165 | (W unsafe) The character class constructs [: :], [= =], and [. .] go | |
| 6166 | I<inside> character classes, the [] are part of the construct, for | |
| 6167 | example: /[012[:alpha:]345]/. Note that [= =] and [. .] are not | |
| 6168 | currently implemented; they are simply placeholders for future | |
| 6169 | extensions and will cause fatal errors. | |
| 11627 | 6170 | |
| 11628 | 6171 | =end original |
| 11629 | 6172 | |
| 11630 | ( | |
| 6173 | (W regexp) 例えば /[012[:alpha:]345]/ のように、文字クラス構造 [: :], [= =], | |
| 11631 | ||
| 6174 | [. .] が文字クラスの I<内側> にあり、[] は構造の一部です。 | |
| 6175 | [= =] と [. .] は現在のところ実装されていないことに注意してください; | |
| 6176 | これらは単に将来の拡張のためのプレースホルダであり、致命的エラーを | |
| 6177 | 生成します。 | |
| 11632 | 6178 | |
| 11633 | =item POSIX | |
| 6179 | =item POSIX syntax [. .] is reserved for future extensions | |
| 11634 | 6180 | |
| 11635 | 6181 | =begin original |
| 11636 | 6182 | |
| 11637 | (F) | |
| 6183 | (F regexp) Within regular expression character classes ([]) the syntax | |
| 11638 | ||
| 6184 | beginning with "[." and ending with ".]" is reserved for future | |
| 11639 | ||
| 6185 | extensions. If you need to represent those character sequences inside | |
| 11640 | ||
| 6186 | a regular expression character class, just quote the square brackets | |
| 11641 | ||
| 6187 | with the backslash: "\[." and ".\]". | |
| 11642 | 6188 | |
| 11643 | 6189 | =end original |
| 11644 | 6190 | |
| 11645 | (F) 文字クラス [ | |
| 6191 | (F regexp) 正規表現文字クラス ([]) の中では、"[." で始まる文法と ".]" で | |
| 11646 | ||
| 6192 | 終わる文法は将来の拡張のために予約されます。 | |
| 11647 | ||
| 6193 | 正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある | |
| 11648 | ||
| 6194 | 場合には、"\[." と ".\]" のように、大かっこをバックスラッシュで | |
| 11649 | ||
| 6195 | クォートしてください。 | |
| 11650 | L<perlre> を参照してください。 | |
| 11651 | 6196 | |
| 11652 | =item POSIX | |
| 6197 | =item POSIX syntax [= =] is reserved for future extensions | |
| 11653 | 6198 | |
| 11654 | 6199 | =begin original |
| 11655 | 6200 | |
| 11656 | (F) | |
| 6201 | (F) Within regular expression character classes ([]) the syntax | |
| 11657 | th | |
| 6202 | beginning with "[=" and ending with "=]" is reserved for future | |
| 6203 | extensions. If you need to represent those character sequences inside | |
| 6204 | a regular expression character class, just quote the square brackets | |
| 6205 | with the backslash: "\[=" and "=\]". | |
| 11658 | 6206 | |
| 11659 | 6207 | =end original |
| 11660 | 6208 | |
| 11661 | (F) | |
| 6209 | (F) 正規表現文字クラス ([]) の中では、"[=" で始まる文法と "=]" で | |
| 11662 | ||
| 6210 | 終わる文法は将来の拡張のために予約されます。 | |
| 6211 | 正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある | |
| 6212 | 場合には、"\[=" と "=\]" のように、大かっこをバックスラッシュで | |
| 6213 | クォートしてください。 | |
| 11663 | 6214 | |
| 11664 | =item POSIX | |
| 6215 | =item POSIX class [:%s:] unknown | |
| 11665 | S<<-- HERE> in m/%s/ | |
| 11666 | 6216 | |
| 11667 | 6217 | =begin original |
| 11668 | 6218 | |
| 11669 | ( | |
| 6219 | (F) The class in the character class [: :] syntax is unknown. See | |
| 11670 | ||
| 6220 | L<perlre>. | |
| 11671 | :], [= =], and [. .] go I<inside> character classes, the [] are part of | |
| 11672 | the construct, for example: C<qr/[012[:alpha:]345]/>. What the regular | |
| 11673 | expression pattern compiled to is probably not what you were intending. | |
| 11674 | For example, C<qr/[:alpha:]/> compiles to a regular bracketed character | |
| 11675 | class consisting of the four characters C<":">, C<"a">, C<"l">, | |
| 11676 | C<"h">, and C<"p">. To specify the POSIX class, it should have been | |
| 11677 | written C<qr/[[:alpha:]]/>. | |
| 11678 | 6221 | |
| 11679 | 6222 | =end original |
| 11680 | 6223 | |
| 11681 | ( | |
| 6224 | (F) 文字クラス [: :] 文法の中のクラスは不明です。 | |
| 11682 | 考えましたが、大かっこが足りませんでした。 | |
| 11683 | 例えば C<qr/[012[:alpha:]345]/> のように、POSIX クラス構造 | |
| 11684 | [: :], [= =], [. .] が文字クラスの I<内側> にあり、[] は構文の一部です。 | |
| 11685 | コンパイルされた正規表現パターンはおそらくあなたが意図したものでは | |
| 11686 | ないでしょう。 | |
| 11687 | 例えば、C<qr/[:alpha:]/> は、C<":">, C<"a">, C<"l">, C<"h">, C<"p"> の | |
| 11688 | 四つの文字からなる 正規表現大かっこ文字クラスにコンパイルされます。 | |
| 11689 | POSIX クラスを指定するには、C<qr/[[:alpha:]]/> と書く必要があります。 | |
| 11690 | ||
| 11691 | =begin original | |
| 11692 | ||
| 11693 | Note that [= =] and [. .] are not currently | |
| 11694 | implemented; they are simply placeholders for future extensions and | |
| 11695 | will cause fatal errors. The S<<-- HERE> shows whereabouts in the regular | |
| 11696 | expression the problem was discovered. See L<perlre>. | |
| 11697 | ||
| 11698 | =end original | |
| 11699 | ||
| 11700 | [= =] と [. .] は現在のところ実装されていないことに注意してください; | |
| 11701 | これらは単に将来の拡張のためのプレースホルダであり、致命的エラーを | |
| 11702 | 生成します。 | |
| 11703 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 11704 | 6225 | L<perlre> を参照してください。 |
| 11705 | 6226 | |
| 11706 | = | |
| 6227 | =item POSIX getpgrp can't take an argument | |
| 11707 | 6228 | |
| 11708 | If the specification of the class was not completely valid, the message | |
| 11709 | indicates that. | |
| 11710 | ||
| 11711 | =end original | |
| 11712 | ||
| 11713 | このクラスの仕様が完全に正当出ない場合、このメッセージはそれを示しています。 | |
| 11714 | ||
| 11715 | =item POSIX syntax [. .] is reserved for future extensions in regex; marked by | |
| 11716 | S<<-- HERE> in m/%s/ | |
| 11717 | ||
| 11718 | 6229 | =begin original |
| 11719 | 6230 | |
| 11720 | (F) | |
| 6231 | (F) Your system has POSIX getpgrp(), which takes no argument, unlike | |
| 11721 | ||
| 6232 | the BSD version, which takes a pid. | |
| 11722 | need to represent those character sequences inside a regular expression | |
| 11723 | character class, just quote the square brackets with the backslash: "\[." | |
| 11724 | and ".\]". The S<<-- HERE> shows whereabouts in the regular expression the | |
| 11725 | problem was discovered. See L<perlre>. | |
| 11726 | 6233 | |
| 11727 | 6234 | =end original |
| 11728 | 6235 | |
| 11729 | (F) | |
| 6236 | (F) お使いのシステムは、引数に pid をとる BSD バージョンの | |
| 11730 | ||
| 6237 | getpgrp() と違って、引数をとらない POSIX のものを使っています。 | |
| 11731 | 正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある | |
| 11732 | 場合には、"\[." と ".\]" のように、大かっこをバックスラッシュで | |
| 11733 | クォートしてください。 | |
| 11734 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 11735 | L<perlre> を参照してください。 | |
| 11736 | 6238 | |
| 11737 | =item POSIX syntax [= =] is reserved for future extensions in regex; marked by | |
| 11738 | S<<-- HERE> in m/%s/ | |
| 11739 | ||
| 11740 | =begin original | |
| 11741 | ||
| 11742 | (F) Within regular expression character classes ([]) the syntax beginning | |
| 11743 | with "[=" and ending with "=]" is reserved for future extensions. If you | |
| 11744 | need to represent those character sequences inside a regular expression | |
| 11745 | character class, just quote the square brackets with the backslash: "\[=" | |
| 11746 | and "=\]". The S<<-- HERE> shows whereabouts in the regular expression the | |
| 11747 | problem was discovered. See L<perlre>. | |
| 11748 | ||
| 11749 | =end original | |
| 11750 | ||
| 11751 | (F) 正規表現文字クラス ([]) の中では、"[=" で始まる文法と "=]" で | |
| 11752 | 終わる文法は将来の拡張のために予約されます。 | |
| 11753 | 正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある | |
| 11754 | 場合には、"\[=" と "=\]" のように、大かっこをバックスラッシュで | |
| 11755 | クォートしてください。 | |
| 11756 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 11757 | L<perlre> を参照してください。 | |
| 11758 | ||
| 11759 | 6239 | =item Possible attempt to put comments in qw() list |
| 11760 | 6240 | |
| 11761 | 6241 | =begin original |
| 11762 | 6242 | |
| 11763 | 6243 | (W qw) qw() lists contain items separated by whitespace; as with literal |
| 11764 | 6244 | strings, comment characters are not ignored, but are instead treated as |
| 11765 | 6245 | literal data. (You may have used different delimiters than the |
| 11766 | 6246 | parentheses shown here; braces are also frequently used.) |
| 11767 | 6247 | |
| 11768 | 6248 | =end original |
| 11769 | 6249 | |
| 11770 | 6250 | (W qw) qw() リストは空白で分割されたアイテムを含んでいます; |
| 11771 | 6251 | リテラル文字列では、コメント文字無視されず、リテラルデータとして扱われます。 |
| 11772 | (こ | |
| 6252 | (かっこ以外のデリミタを使うこともできます; 中かっこもよく使われます。) | |
| 11773 | 大かっこもよく使われます。) | |
| 11774 | 6253 | |
| 11775 | 6254 | =begin original |
| 11776 | 6255 | |
| 11777 | 6256 | You probably wrote something like this: |
| 11778 | 6257 | |
| 11779 | 6258 | =end original |
| 11780 | 6259 | |
| 11781 | 6260 | おそらく以下のように書いたのでしょう: |
| 11782 | 6261 | |
| 11783 | 6262 | @list = qw( |
| 11784 | 6263 | a # a comment |
| 11785 | 6264 | b # another comment |
| 11786 | 6265 | ); |
| 11787 | 6266 | |
| 11788 | 6267 | =begin original |
| 11789 | 6268 | |
| 11790 | 6269 | when you should have written this: |
| 11791 | 6270 | |
| 11792 | 6271 | =end original |
| 11793 | 6272 | |
| 11794 | 6273 | 以下のように書くべきです: |
| 11795 | 6274 | |
| 11796 | 6275 | @list = qw( |
| 11797 | 6276 | a |
| 11798 | 6277 | b |
| 11799 | 6278 | ); |
| 11800 | 6279 | |
| 11801 | 6280 | =begin original |
| 11802 | 6281 | |
| 11803 | 6282 | If you really want comments, build your list the |
| 11804 | 6283 | old-fashioned way, with quotes and commas: |
| 11805 | 6284 | |
| 11806 | 6285 | =end original |
| 11807 | 6286 | |
| 11808 | 6287 | 本当にコメントをつけたいのなら、 |
| 11809 | 6288 | リストを昔のクォートとカンマの形で書いてください。 |
| 11810 | 6289 | |
| 11811 | 6290 | @list = ( |
| 11812 | 6291 | 'a', # a comment |
| 11813 | 6292 | 'b', # another comment |
| 11814 | 6293 | ); |
| 11815 | 6294 | |
| 11816 | 6295 | =item Possible attempt to separate words with commas |
| 11817 | 6296 | |
| 11818 | 6297 | =begin original |
| 11819 | 6298 | |
| 11820 | 6299 | (W qw) qw() lists contain items separated by whitespace; therefore |
| 11821 | 6300 | commas aren't needed to separate the items. (You may have used |
| 11822 | 6301 | different delimiters than the parentheses shown here; braces are also |
| 11823 | 6302 | frequently used.) |
| 11824 | 6303 | |
| 11825 | 6304 | =end original |
| 11826 | 6305 | |
| 11827 | 6306 | (W qw) qw() リストに空白で分割された項目があります; |
| 11828 | 6307 | そのため、カンマは項目を分割する必要がありません。 |
| 11829 | 6308 | (ここで使われているのと違うデリミタを用いているかもしれません; |
| 11830 | 大 | |
| 6309 | 大括弧もよく使われます。) | |
| 11831 | 6310 | |
| 11832 | 6311 | =begin original |
| 11833 | 6312 | |
| 11834 | 6313 | You probably wrote something like this: |
| 11835 | 6314 | |
| 11836 | 6315 | =end original |
| 11837 | 6316 | |
| 11838 | 6317 | おそらく以下のように書いたのでしょう: |
| 11839 | 6318 | |
| 11840 | 6319 | qw! a, b, c !; |
| 11841 | 6320 | |
| 11842 | 6321 | =begin original |
| 11843 | 6322 | |
| 11844 | 6323 | which puts literal commas into some of the list items. Write it without |
| 11845 | 6324 | commas if you don't want them to appear in your data: |
| 11846 | 6325 | |
| 11847 | 6326 | =end original |
| 11848 | 6327 | |
| 11849 | 6328 | リスト要素の中にリテラルのカンマを書いています。 |
| 11850 | 6329 | データの中にカンマを出したくないなら、カンマなしで書きます: |
| 11851 | 6330 | |
| 11852 | 6331 | qw! a b c !; |
| 11853 | 6332 | |
| 11854 | 6333 | =item Possible memory corruption: %s overflowed 3rd argument |
| 11855 | 6334 | |
| 11856 | 6335 | =begin original |
| 11857 | 6336 | |
| 11858 | 6337 | (F) An ioctl() or fcntl() returned more than Perl was bargaining for. |
| 11859 | 6338 | Perl guesses a reasonable buffer size, but puts a sentinel byte at the |
| 11860 | 6339 | end of the buffer just in case. This sentinel byte got clobbered, and |
| 11861 | 6340 | Perl assumes that memory is now corrupted. See L<perlfunc/ioctl>. |
| 11862 | 6341 | |
| 11863 | 6342 | =end original |
| 11864 | 6343 | |
| 11865 | 6344 | (F) ioctl() や fcntl() が、Perl が求めていた以上のものを返してきました。 |
| 11866 | 6345 | Perl は、適量のバッファサイズを見積もりますが、念のためにバッファの |
| 11867 | 6346 | 最後に目印を付けています。 |
| 11868 | 6347 | この目印が壊されたため、Perl はメモリの破壊が起こったと判断しました。 |
| 11869 | 6348 | L<perlfunc/ioctl> を参照してください。 |
| 11870 | 6349 | |
| 11871 | =item Possible | |
| 6350 | =item Possible Y2K bug: %s | |
| 11872 | 6351 | |
| 11873 | 6352 | =begin original |
| 11874 | 6353 | |
| 11875 | (W | |
| 6354 | (W y2k) You are concatenating the number 19 with another number, which | |
| 11876 | ||
| 6355 | could be a potential Year 2000 problem. | |
| 11877 | C<or>. Consider: | |
| 11878 | 6356 | |
| 11879 | 6357 | =end original |
| 11880 | 6358 | |
| 11881 | (W | |
| 6359 | (W y2k) 数値 19 を他の数値と結合しています; これは潜在的な | |
| 11882 | ||
| 6360 | 2000 年問題かもしれません。 | |
| 11883 | 次を考えると: | |
| 11884 | 6361 | |
| 11885 | | |
| 6362 | =item pragma "attrs" is deprecated, use "sub NAME : ATTRS" instead | |
| 11886 | 6363 | |
| 11887 | 6364 | =begin original |
| 11888 | 6365 | |
| 11889 | ||
| 6366 | (W deprecated) You have written something like this: | |
| 11890 | 6367 | |
| 11891 | 6368 | =end original |
| 11892 | 6369 | |
| 11893 | ||
| 6370 | (W deprecated) おそらく以下のように書いたのでしょう: | |
| 11894 | 6371 | |
| 11895 | sub | |
| 6372 | sub doit | |
| 6373 | { | |
| 6374 | use attrs qw(locked); | |
| 6375 | } | |
| 11896 | 6376 | |
| 11897 | 6377 | =begin original |
| 11898 | 6378 | |
| 11899 | ||
| 6379 | You should use the new declaration syntax instead. | |
| 11900 | 6380 | |
| 11901 | 6381 | =end original |
| 11902 | 6382 | |
| 11903 | ||
| 6383 | 代わりに新しい定義の文法で書くべきです: | |
| 11904 | 6384 | |
| 11905 | sub | |
| 6385 | sub doit : locked | |
| 6386 | { | |
| 6387 | ... | |
| 11906 | 6388 | |
| 11907 | 6389 | =begin original |
| 11908 | 6390 | |
| 11909 | ||
| 6391 | The C<use attrs> pragma is now obsolete, and is only provided for | |
| 6392 | backward-compatibility. See L<perlsub/"Subroutine Attributes">. | |
| 11910 | 6393 | |
| 11911 | 6394 | =end original |
| 11912 | 6395 | |
| 11913 | ||
| 6396 | C<use attrs> プラグマはもう古いもので、後方互換性のためだけに | |
| 6397 | 提供されています。 | |
| 6398 | L<perlsub/"Subroutine Attributes"> を参照してください。 | |
| 11914 | 6399 | |
| 11915 | =begin original | |
| 11916 | ||
| 11917 | Note this may be also triggered for constructs like: | |
| 11918 | ||
| 11919 | =end original | |
| 11920 | ||
| 11921 | これは次のような構文でも引き起こされることに注意してください: | |
| 11922 | ||
| 11923 | sub { 1 if die; } | |
| 11924 | ||
| 11925 | =item Possible precedence problem on bitwise %s operator | |
| 11926 | ||
| 11927 | =begin original | |
| 11928 | ||
| 11929 | (W precedence) Your program uses a bitwise logical operator in conjunction | |
| 11930 | with a numeric comparison operator, like this : | |
| 11931 | ||
| 11932 | =end original | |
| 11933 | ||
| 11934 | (W precedence) 以下のように、ビット単位の論理演算子を数値比較演算子と | |
| 11935 | 結合して使用しています: | |
| 11936 | ||
| 11937 | if ($x & $y == 0) { ... } | |
| 11938 | ||
| 11939 | =begin original | |
| 11940 | ||
| 11941 | This expression is actually equivalent to C<$x & ($y == 0)>, due to the | |
| 11942 | higher precedence of C<==>. This is probably not what you want. (If you | |
| 11943 | really meant to write this, disable the warning, or, better, put the | |
| 11944 | parentheses explicitly and write C<$x & ($y == 0)>). | |
| 11945 | ||
| 11946 | =end original | |
| 11947 | ||
| 11948 | この式は、C<==> の優先順位の方が高いので、C<$x & ($y == 0)> と | |
| 11949 | 等価になります。 | |
| 11950 | これはおそらく望んでいるものではないでしょう。 | |
| 11951 | (もし本当にこのように書きたいのなら、警告を無効にするか、あるいは | |
| 11952 | よりよいのはかっこを明示的に使って C<$x & ($y == 0)> と書きます)。 | |
| 11953 | ||
| 11954 | =item Possible unintended interpolation of $\ in regex | |
| 11955 | ||
| 11956 | =begin original | |
| 11957 | ||
| 11958 | (W ambiguous) You said something like C<m/$\/> in a regex. | |
| 11959 | The regex C<m/foo$\s+bar/m> translates to: match the word 'foo', the output | |
| 11960 | record separator (see L<perlvar/$\>) and the letter 's' (one time or more) | |
| 11961 | followed by the word 'bar'. | |
| 11962 | ||
| 11963 | =end original | |
| 11964 | ||
| 11965 | (W ambiguous) 正規表現で C<m/$\/> のようなことをしました。 | |
| 11966 | 正規表現 C<m/foo$\s+bar/m> は以下のように翻訳されます: 単語 'foo'、出力 | |
| 11967 | レコードセパレータ (L<perlvar/$\> 参照)、文字 's' (1 回以上)、単語 | |
| 11968 | 'bar' にマッチングします。 | |
| 11969 | ||
| 11970 | =begin original | |
| 11971 | ||
| 11972 | If this is what you intended then you can silence the warning by using | |
| 11973 | C<m/${\}/> (for example: C<m/foo${\}s+bar/>). | |
| 11974 | ||
| 11975 | =end original | |
| 11976 | ||
| 11977 | これがあなたのしたいことなら、C<m/${\}/> を使うことで警告を抑制できます | |
| 11978 | (例えば: C<m/foo${\}s+bar/>)。 | |
| 11979 | ||
| 11980 | =begin original | |
| 11981 | ||
| 11982 | If instead you intended to match the word 'foo' at the end of the line | |
| 11983 | followed by whitespace and the word 'bar' on the next line then you can use | |
| 11984 | C<m/$(?)\/> (for example: C<m/foo$(?)\s+bar/>). | |
| 11985 | ||
| 11986 | =end original | |
| 11987 | ||
| 11988 | そうではなく、行末の単語 'foo' に引き続いて、次の行で空白と単語 'bar' に | |
| 11989 | マッチングしたいなら、C<m/$(?)\/> を使ってください (例えば: | |
| 11990 | C<m/foo$(?)\s+bar/>)。 | |
| 11991 | ||
| 11992 | =item Possible unintended interpolation of %s in string | |
| 11993 | ||
| 11994 | =begin original | |
| 11995 | ||
| 11996 | (W ambiguous) You said something like '@foo' in a double-quoted string | |
| 11997 | but there was no array C<@foo> in scope at the time. If you wanted a | |
| 11998 | literal @foo, then write it as \@foo; otherwise find out what happened | |
| 11999 | to the array you apparently lost track of. | |
| 12000 | ||
| 12001 | =end original | |
| 12002 | ||
| 12003 | (W ambiguous) 「@foo」のようなものをダブルクォート文字列の中に書きましたが、 | |
| 12004 | 現在のスコープ内に C<@foo> という配列はありません。 | |
| 12005 | リテラルな @foo を指定したい場合は、\@foo と書いてください; | |
| 12006 | そうでなければ、どうやら見失ってしまったらしい配列に何が起こったを | |
| 12007 | 調べてください。 | |
| 12008 | ||
| 12009 | 6400 | =item Precedence problem: open %s should be open(%s) |
| 12010 | 6401 | |
| 12011 | 6402 | =begin original |
| 12012 | 6403 | |
| 12013 | 6404 | (S precedence) The old irregular construct |
| 12014 | 6405 | |
| 12015 | 6406 | =end original |
| 12016 | 6407 | |
| 12017 | 6408 | (S precedence) 古い変則的な構文 |
| 12018 | 6409 | |
| 12019 | 6410 | open FOO || die; |
| 12020 | 6411 | |
| 12021 | 6412 | =begin original |
| 12022 | 6413 | |
| 12023 | 6414 | is now misinterpreted as |
| 12024 | 6415 | |
| 12025 | 6416 | =end original |
| 12026 | 6417 | |
| 12027 | 6418 | は現在は、Perl 5 の文法の厳しい正規化の結果、単項演算子か |
| 12028 | 6419 | リスト演算子と解釈されますので、 |
| 12029 | 6420 | |
| 12030 | 6421 | open(FOO || die); |
| 12031 | 6422 | |
| 12032 | 6423 | =begin original |
| 12033 | 6424 | |
| 12034 | 6425 | because of the strict regularization of Perl 5's grammar into unary and |
| 12035 | 6426 | list operators. (The old open was a little of both.) You must put |
| 12036 | 6427 | parentheses around the filehandle, or use the new "or" operator instead |
| 12037 | 6428 | of "||". |
| 12038 | 6429 | |
| 12039 | 6430 | =end original |
| 12040 | 6431 | |
| 12041 | 6432 | という風に誤った解釈がなされます。 |
| 12042 | 6433 | (古い open は、単項演算子とリスト演算子の中間のようなものでした。) |
| 12043 | ファイルハンドルの前後を | |
| 6434 | ファイルハンドルの前後を括弧で囲むか、"||" 演算子の代わりに | |
| 12044 | 6435 | "or" 演算子を使わなくてはなりません。 |
| 12045 | 6436 | |
| 12046 | 6437 | =item Premature end of script headers |
| 12047 | 6438 | |
| 12048 | 6439 | =begin original |
| 12049 | 6440 | |
| 12050 | See | |
| 6441 | See Server error. | |
| 12051 | 6442 | |
| 12052 | 6443 | =end original |
| 12053 | 6444 | |
| 12054 | ||
| 6445 | "Server error"を参照してください。 | |
| 12055 | 6446 | |
| 12056 | 6447 | =item printf() on closed filehandle %s |
| 12057 | 6448 | |
| 12058 | 6449 | =begin original |
| 12059 | 6450 | |
| 12060 | 6451 | (W closed) The filehandle you're writing to got itself closed sometime |
| 12061 | before now. Check your | |
| 6452 | before now. Check your logic flow. | |
| 12062 | 6453 | |
| 12063 | 6454 | =end original |
| 12064 | 6455 | |
| 12065 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既に | |
| 6456 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既にクローズされています。 | |
| 12066 | ||
| 6457 | 論理フローをチェックしてください。 | |
| 12067 | 6458 | |
| 12068 | 6459 | =item print() on closed filehandle %s |
| 12069 | 6460 | |
| 12070 | 6461 | =begin original |
| 12071 | 6462 | |
| 12072 | 6463 | (W closed) The filehandle you're printing on got itself closed sometime |
| 12073 | before now. Check your | |
| 6464 | before now. Check your logic flow. | |
| 12074 | 6465 | |
| 12075 | 6466 | =end original |
| 12076 | 6467 | |
| 12077 | (W closed) print を行なおうとしたファイルハンドルは、既に | |
| 6468 | (W closed) print を行なおうとしたファイルハンドルは、既にクローズされています。 | |
| 12078 | ||
| 6469 | 論理フローをチェックしてください。 | |
| 12079 | 6470 | |
| 12080 | 6471 | =item Process terminated by SIG%s |
| 12081 | 6472 | |
| 12082 | 6473 | =begin original |
| 12083 | 6474 | |
| 12084 | 6475 | (W) This is a standard message issued by OS/2 applications, while *nix |
| 12085 | 6476 | applications die in silence. It is considered a feature of the OS/2 |
| 12086 | 6477 | port. One can easily disable this by appropriate sighandlers, see |
| 12087 | 6478 | L<perlipc/"Signals">. See also "Process terminated by SIGTERM/SIGINT" |
| 12088 | 6479 | in L<perlos2>. |
| 12089 | 6480 | |
| 12090 | 6481 | =end original |
| 12091 | 6482 | |
| 12092 | 6483 | (W) *nix アプリケーションは何も出力せずに終了しますが、 |
| 12093 | 6484 | OS/2 アプリケーションはこれを標準メッセージとして出力します。 |
| 12094 | 6485 | これは OS/2 版の仕様とみなされています。 |
| 12095 | 6486 | 適切なシグナルハンドラによって簡単に無効にできます; |
| 12096 | 6487 | L<perlipc/"Signals"> を参照してください。 |
| 12097 | 6488 | L<perlos2> の "Process terminated by SIGTERM/SIGINT" も参照してください。 |
| 12098 | 6489 | |
| 12099 | =item Prototype after '%c' for %s : %s | |
| 12100 | ||
| 12101 | =begin original | |
| 12102 | ||
| 12103 | (W illegalproto) A character follows % or @ in a prototype. This is | |
| 12104 | useless, since % and @ gobble the rest of the subroutine arguments. | |
| 12105 | ||
| 12106 | =end original | |
| 12107 | ||
| 12108 | (W illegalproto) プロトタイプで % または @ に文字が引き続いています。 | |
| 12109 | これは無意味です; % と @ は残りのサブルーチン引数を全て飲み込むからです。 | |
| 12110 | ||
| 12111 | 6490 | =item Prototype mismatch: %s vs %s |
| 12112 | 6491 | |
| 12113 | 6492 | =begin original |
| 12114 | 6493 | |
| 12115 | (S | |
| 6494 | (S unsafe) The subroutine being declared or defined had previously been | |
| 12116 | 6495 | declared or defined with a different function prototype. |
| 12117 | 6496 | |
| 12118 | 6497 | =end original |
| 12119 | 6498 | |
| 12120 | (S | |
| 6499 | (S unsafe) 以前異なる関数プロトタイプで宣言または定義されたサブルーチンが | |
| 12121 | ||
| 6500 | 宣言または定義されました。 | |
| 12122 | 6501 | |
| 12123 | =item | |
| 6502 | =item Quantifier in {,} bigger than %d before << HERE in regex m/%s/ | |
| 12124 | 6503 | |
| 12125 | 6504 | =begin original |
| 12126 | 6505 | |
| 12127 | (F) | |
| 6506 | (F) There is currently a limit to the size of the min and max values of the | |
| 12128 | ||
| 6507 | {min,max} construct. The << HERE shows in the regular expression about where | |
| 6508 | the problem was discovered. See L<perlre>. | |
| 12129 | 6509 | |
| 12130 | 6510 | =end original |
| 12131 | 6511 | |
| 12132 | (F) 関数プロトタイプ宣言で、閉じかっこがありませんでした。 | |
| 12133 | ||
| 12134 | =item Prototype '%s' overridden by attribute 'prototype(%s)' in %s | |
| 12135 | ||
| 12136 | =begin original | |
| 12137 | ||
| 12138 | (W prototype) A prototype was declared in both the parentheses after | |
| 12139 | the sub name and via the prototype attribute. The prototype in | |
| 12140 | parentheses is useless, since it will be replaced by the prototype | |
| 12141 | from the attribute before it's ever used. | |
| 12142 | ||
| 12143 | =end original | |
| 12144 | ||
| 12145 | (W prototype) サブルーチン名の後のかっことプロトタイプ属性の両方で | |
| 12146 | プロトタイプが宣言されました。 | |
| 12147 | 先に宣言されていたプロトタイプは属性で置き換えられるので、かっこ内の | |
| 12148 | プロトタイプは無駄です。 | |
| 12149 | ||
| 12150 | =item Quantifier follows nothing in regex; marked by S<<-- HERE> in m/%s/ | |
| 12151 | ||
| 12152 | =begin original | |
| 12153 | ||
| 12154 | (F) You started a regular expression with a quantifier. Backslash it if | |
| 12155 | you meant it literally. The S<<-- HERE> shows whereabouts in the regular | |
| 12156 | expression the problem was discovered. See L<perlre>. | |
| 12157 | ||
| 12158 | =end original | |
| 12159 | ||
| 12160 | (F) 正規表現を量指定子で開始しています。 | |
| 12161 | もしそれをリテラルに使いたいなら、バックスラッシュでクォートしてください。 | |
| 12162 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 12163 | L<perlre> を参照してください。 | |
| 12164 | ||
| 12165 | =item Quantifier in {,} bigger than %d in regex; marked by S<<-- HERE> in m/%s/ | |
| 12166 | ||
| 12167 | =begin original | |
| 12168 | ||
| 12169 | (F) There is currently a limit to the size of the min and max values of | |
| 12170 | the {min,max} construct. The S<<-- HERE> shows whereabouts in the regular | |
| 12171 | expression the problem was discovered. See L<perlre>. | |
| 12172 | ||
| 12173 | =end original | |
| 12174 | ||
| 12175 | 6512 | 現在のところ、{min,max} 構造の最大値と最小値には制限があります。 |
| 12176 | ||
| 6513 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 12177 | 6514 | L<perlre> を参照してください。 |
| 12178 | 6515 | |
| 12179 | =item Quantifier | |
| 6516 | =item Quantifier unexpected on zero-length expression before << HERE %s | |
| 12180 | 6517 | |
| 12181 | =item Quantifier {n,m} with n > m can't match in regex; marked by | |
| 12182 | S<<-- HERE> in m/%s/ | |
| 12183 | ||
| 12184 | 6518 | =begin original |
| 12185 | 6519 | |
| 12186 | (W regexp) Minima should be less than or equal to maxima. If you really | |
| 12187 | want your regexp to match something 0 times, just put {0}. | |
| 12188 | ||
| 12189 | =end original | |
| 12190 | ||
| 12191 | (W regexp) 最小値は最大値以下である必要があります。 | |
| 12192 | 本当に 0 回マッチングする正規表現がほしいなら、単に {0} を指定してください。 | |
| 12193 | ||
| 12194 | =item Quantifier unexpected on zero-length expression in regex m/%s/ | |
| 12195 | ||
| 12196 | =begin original | |
| 12197 | ||
| 12198 | 6520 | (W regexp) You applied a regular expression quantifier in a place where |
| 12199 | 6521 | it makes no sense, such as on a zero-width assertion. Try putting the |
| 12200 | 6522 | quantifier inside the assertion instead. For example, the way to match |
| 12201 | 6523 | "abc" provided that it is followed by three repetitions of "xyz" is |
| 12202 | 6524 | C</abc(?=(?:xyz){3})/>, not C</abc(?=xyz){3}/>. |
| 12203 | 6525 | |
| 12204 | 6526 | =end original |
| 12205 | 6527 | |
| 12206 | 6528 | (W regexp) 正規表現量指定子をゼロ幅アサーションのような意味のない場所に |
| 12207 | 6529 | 適用しました。 |
| 12208 | 6530 | 代わりにアサーションの中に量指定子を置いてください。 |
| 12209 | 6531 | 例えば、"xyz" を 3 回繰り返した後の "abc" にマッチングさせるには、 |
| 12210 | 6532 | C</abc(?=xyz){3}/> ではなく C</abc(?=(?:xyz){3})/> としてください。 |
| 12211 | 6533 | |
| 12212 | 6534 | =item Range iterator outside integer range |
| 12213 | 6535 | |
| 12214 | 6536 | =begin original |
| 12215 | 6537 | |
| 12216 | 6538 | (F) One (or both) of the numeric arguments to the range operator ".." |
| 12217 | 6539 | are outside the range which can be represented by integers internally. |
| 12218 | 6540 | One possible workaround is to force Perl to use magical string increment |
| 12219 | 6541 | by prepending "0" to your numbers. |
| 12220 | 6542 | |
| 12221 | 6543 | =end original |
| 12222 | 6544 | |
| 12223 | 6545 | (F) 範囲演算子 ".." の一つ(または両方)の数値引数が、内部で整数として |
| 12224 | 6546 | 表現できる範囲を越えています。 |
| 12225 | 6547 | 回避方法のひとつとしては、数値の頭に "0" を付けることで Perl に |
| 12226 | 6548 | マジカル文字列インクリメントの使用を強制させることです。 |
| 12227 | 6549 | |
| 12228 | =item Ranges of ASCII printables should be some subset of "0-9", "A-Z", or | |
| 12229 | "a-z" in regex; marked by S<<-- HERE> in m/%s/ | |
| 12230 | ||
| 12231 | =begin original | |
| 12232 | ||
| 12233 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
| 12234 | ||
| 12235 | =end original | |
| 12236 | ||
| 12237 | (W regexp) (C<S<use re 'strict'>> の下か C<(?[...])> の内側のみ) | |
| 12238 | ||
| 12239 | =begin original | |
| 12240 | ||
| 12241 | Stricter rules help to find typos and other errors. Perhaps you didn't | |
| 12242 | even intend a range here, if the C<"-"> was meant to be some other | |
| 12243 | character, or should have been escaped (like C<"\-">). If you did | |
| 12244 | intend a range, the one that was used is not portable between ASCII and | |
| 12245 | EBCDIC platforms, and doesn't have an obvious meaning to a casual | |
| 12246 | reader. | |
| 12247 | ||
| 12248 | =end original | |
| 12249 | ||
| 12250 | より厳密な規則はタイプミスやその他のエラーを見つける助けになります。 | |
| 12251 | おそらくそもそもここで範囲を意図していないか、C<"-"> が他の文字の | |
| 12252 | つもりだったか、(C<"\-"> のように)エスケープされるべきだったのでしょう。 | |
| 12253 | 範囲を意図していたのなら、使われているものは ASCII と EBCDIC | |
| 12254 | プラットフォームの間で移植性がなく、カジュアルな読者には不明確な | |
| 12255 | 意味になります。 | |
| 12256 | ||
| 12257 | [3-7] # OK; Obvious and portable | |
| 12258 | [d-g] # OK; Obvious and portable | |
| 12259 | [A-Y] # OK; Obvious and portable | |
| 12260 | [A-z] # WRONG; Not portable; not clear what is meant | |
| 12261 | [a-Z] # WRONG; Not portable; not clear what is meant | |
| 12262 | [%-.] # WRONG; Not portable; not clear what is meant | |
| 12263 | [\x41-Z] # WRONG; Not portable; not obvious to non-geek | |
| 12264 | ||
| 12265 | =begin original | |
| 12266 | ||
| 12267 | (You can force portability by specifying a Unicode range, which means that | |
| 12268 | the endpoints are specified by | |
| 12269 | L<C<\N{...}>|perlrecharclass/Character Ranges>, but the meaning may | |
| 12270 | still not be obvious.) | |
| 12271 | The stricter rules require that ranges that start or stop with an ASCII | |
| 12272 | character that is not a control have all their endpoints be the literal | |
| 12273 | character, and not some escape sequence (like C<"\x41">), and the ranges | |
| 12274 | must be all digits, or all uppercase letters, or all lowercase letters. | |
| 12275 | ||
| 12276 | =end original | |
| 12277 | ||
| 12278 | (Unicode の範囲を指定することで移植性を共生することができます; | |
| 12279 | これは端点を L<C<\N{...}>|perlrecharclass/Character Ranges> で | |
| 12280 | 指定するということですが、意味はやはり明確ではないかもしれません。) | |
| 12281 | より厳密な規則は、制御文字でなく、全てリテラルな文字で、 | |
| 12282 | (C<"\x41"> のような)一部のエスケープシーケンスでない | |
| 12283 | ASCII 文字で開始および終了することを要求し、 | |
| 12284 | 範囲は全て数字か、全て大文字か、全て小文字でなければなりません。 | |
| 12285 | ||
| 12286 | =item Ranges of digits should be from the same group in regex; marked by | |
| 12287 | S<<-- HERE> in m/%s/ | |
| 12288 | ||
| 12289 | =begin original | |
| 12290 | ||
| 12291 | (W regexp) (only under C<S<use re 'strict'>> or within C<(?[...])>) | |
| 12292 | ||
| 12293 | =end original | |
| 12294 | ||
| 12295 | (W regexp) (C<S<use re 'strict'>> の基か C<(?[...])> の内側のみ) | |
| 12296 | ||
| 12297 | =begin original | |
| 12298 | ||
| 12299 | Stricter rules help to find typos and other errors. You included a | |
| 12300 | range, and at least one of the end points is a decimal digit. Under the | |
| 12301 | stricter rules, when this happens, both end points should be digits in | |
| 12302 | the same group of 10 consecutive digits. | |
| 12303 | ||
| 12304 | =end original | |
| 12305 | ||
| 12306 | より厳密な規則はタイプミスやその他のエラーを見つける助けになります。 | |
| 12307 | 範囲を含んでいて、少なくとも片方の端は数字です。 | |
| 12308 | より厳密な規則では、これが起きたときは、両端が 10 連続した数字の同じ | |
| 12309 | グループに属する符号位置である必要があります。 | |
| 12310 | ||
| 12311 | =item readdir() attempted on invalid dirhandle %s | |
| 12312 | ||
| 12313 | =begin original | |
| 12314 | ||
| 12315 | (W io) The dirhandle you're reading from is either closed or not really | |
| 12316 | a dirhandle. Check your control flow. | |
| 12317 | ||
| 12318 | =end original | |
| 12319 | ||
| 12320 | (W io) 読み込もうとしたディレクトリハンドルは既に閉じられているか、 | |
| 12321 | 実際にはディレクトリハンドルではありません。 | |
| 12322 | 制御フローをチェックしてください。 | |
| 12323 | ||
| 12324 | 6550 | =item readline() on closed filehandle %s |
| 12325 | 6551 | |
| 12326 | 6552 | =begin original |
| 12327 | 6553 | |
| 12328 | 6554 | (W closed) The filehandle you're reading from got itself closed sometime |
| 12329 | before now. Check your | |
| 6555 | before now. Check your logic flow. | |
| 12330 | 6556 | |
| 12331 | 6557 | =end original |
| 12332 | 6558 | |
| 12333 | (W closed) 読み込 | |
| 6559 | (W closed) 読み込みを行なおうとしたファイルハンドルは、既にクローズされています。 | |
| 12334 | ||
| 6560 | 論理フローをチェックしてください。 | |
| 12335 | 6561 | |
| 12336 | =item | |
| 6562 | =item Reallocation too large: %lx | |
| 12337 | 6563 | |
| 12338 | 6564 | =begin original |
| 12339 | 6565 | |
| 12340 | (W closed) You tried to read from a closed filehandle. | |
| 12341 | ||
| 12342 | =end original | |
| 12343 | ||
| 12344 | (W closed) 閉じたファイルハンドルから読み込もうとしました。 | |
| 12345 | ||
| 12346 | =item read() on unopened filehandle %s | |
| 12347 | ||
| 12348 | =begin original | |
| 12349 | ||
| 12350 | (W unopened) You tried to read from a filehandle that was never opened. | |
| 12351 | ||
| 12352 | =end original | |
| 12353 | ||
| 12354 | (W unopened) 開いていないファイルハンドルから読み込もうとしました。 | |
| 12355 | ||
| 12356 | =item Reallocation too large: %x | |
| 12357 | ||
| 12358 | =begin original | |
| 12359 | ||
| 12360 | 6566 | (F) You can't allocate more than 64K on an MS-DOS machine. |
| 12361 | 6567 | |
| 12362 | 6568 | =end original |
| 12363 | 6569 | |
| 12364 | 6570 | (F) MS-DOS マシンでは、64K を越えるメモリを割り当てることはできません。 |
| 12365 | 6571 | |
| 12366 | 6572 | =item realloc() of freed memory ignored |
| 12367 | 6573 | |
| 12368 | 6574 | =begin original |
| 12369 | 6575 | |
| 12370 | 6576 | (S malloc) An internal routine called realloc() on something that had |
| 12371 | 6577 | already been freed. |
| 12372 | 6578 | |
| 12373 | 6579 | =end original |
| 12374 | 6580 | |
| 12375 | 6581 | 内部ルーチンが、何か既に解放されているものに対して realloc() を |
| 12376 | 6582 | 呼び出しました。 |
| 12377 | 6583 | |
| 12378 | 6584 | =item Recompile perl with B<-D>DEBUGGING to use B<-D> switch |
| 12379 | 6585 | |
| 12380 | 6586 | =begin original |
| 12381 | 6587 | |
| 12382 | ( | |
| 6588 | (F debugging) You can't use the B<-D> option unless the code to produce | |
| 12383 | 6589 | the desired output is compiled into Perl, which entails some overhead, |
| 12384 | 6590 | which is why it's currently left out of your copy. |
| 12385 | 6591 | |
| 12386 | 6592 | =end original |
| 12387 | 6593 | |
| 12388 | ( | |
| 6594 | (F debugging) Perl のコンパイル時に、適切な出力ルーティンが | |
| 12389 | 組み込まれていなければ、B<-D> スイッチを使うことはできません | |
| 6595 | 組み込まれていなければ、B<-D> スイッチを使うことはできません。 | |
| 12390 | 6596 | これは、多少のオーバヘッドがかかるもので、それが現在使っている |
| 12391 | 6597 | Perl に組み込んでない理由でしょう。 |
| 12392 | 6598 | |
| 12393 | =item Recursive call to Perl_load_module in PerlIO_find_layer | |
| 12394 | ||
| 12395 | =begin original | |
| 12396 | ||
| 12397 | (P) It is currently not permitted to load modules when creating | |
| 12398 | a filehandle inside an %INC hook. This can happen with C<open my | |
| 12399 | $fh, '<', \$scalar>, which implicitly loads PerlIO::scalar. Try | |
| 12400 | loading PerlIO::scalar explicitly first. | |
| 12401 | ||
| 12402 | =end original | |
| 12403 | ||
| 12404 | (P) %INC フックの内側でファイルハンドルを作る時にモジュールを読み込むのは | |
| 12405 | 現在のところ許されていません。 | |
| 12406 | これは、C<open my $fh, '<', \$scalar> で暗黙に PerlIO::scalar を読み込むときに | |
| 12407 | 起こることがあります。 | |
| 12408 | 最初に PerlIO::scalar を明示的に読み込むことを試してください。 | |
| 12409 | ||
| 12410 | 6599 | =item Recursive inheritance detected in package '%s' |
| 12411 | 6600 | |
| 12412 | 6601 | =begin original |
| 12413 | 6602 | |
| 12414 | (F) | |
| 6603 | (F) More than 100 levels of inheritance were used. Probably indicates | |
| 12415 | ||
| 6604 | an unintended loop in your inheritance hierarchy. | |
| 12416 | crude check that bails out after 100 levels of C<@ISA> depth. | |
| 12417 | 6605 | |
| 12418 | 6606 | =end original |
| 12419 | 6607 | |
| 12420 | (F) | |
| 6608 | (F) 100 レベル以上の継承が行なわれました。 | |
| 12421 | ||
| 6609 | おそらく、継承階層の中で、予想外のループになっている部分があるものと | |
| 12422 | ||
| 6610 | 思われます。 | |
| 12423 | 6611 | |
| 12424 | =item Re | |
| 6612 | =item Recursive inheritance detected while looking for method %s | |
| 12425 | 6613 | |
| 12426 | 6614 | =begin original |
| 12427 | 6615 | |
| 12428 | ( | |
| 6616 | (F) More than 100 levels of inheritance were encountered while invoking | |
| 12429 | a | |
| 6617 | a method. Probably indicates an unintended loop in your inheritance | |
| 12430 | ||
| 6618 | hierarchy. | |
| 12431 | supplied, but might be used in the future for e.g. L<perlfunc/pack>. | |
| 12432 | 6619 | |
| 12433 | 6620 | =end original |
| 12434 | 6621 | |
| 12435 | ( | |
| 6622 | (F) メソッドの起動中に 100 レベル以上の継承が行なわれました。 | |
| 12436 | ||
| 6623 | おそらく、継承階層の中で、予想外のループになっている部分があるものと | |
| 12437 | ||
| 6624 | 思われます。 | |
| 12438 | 引数しか必要としていない場合にのみ発生しますが、将来は | |
| 12439 | 例えば L<perlfunc/pack> で使われるかもしれません。 | |
| 12440 | 6625 | |
| 12441 | =item refcnt_dec: fd %d%s | |
| 12442 | ||
| 12443 | =item refcnt: fd %d%s | |
| 12444 | ||
| 12445 | =item refcnt_inc: fd %d%s | |
| 12446 | ||
| 12447 | =begin original | |
| 12448 | ||
| 12449 | (P) Perl's I/O implementation failed an internal consistency check. If | |
| 12450 | you see this message, something is very wrong. | |
| 12451 | ||
| 12452 | =end original | |
| 12453 | ||
| 12454 | (P) Perl の I/O 実装は内部の一貫性チェックに失敗しました。 | |
| 12455 | このメッセージを見たなら、何かがすごく悪いです。 | |
| 12456 | ||
| 12457 | 6626 | =item Reference found where even-sized list expected |
| 12458 | 6627 | |
| 12459 | 6628 | =begin original |
| 12460 | 6629 | |
| 12461 | 6630 | (W misc) You gave a single reference where Perl was expecting a list |
| 12462 | with an even number of elements (for assignment to a hash). | |
| 6631 | with an even number of elements (for assignment to a hash). This usually | |
| 12463 | ||
| 6632 | means that you used the anon hash constructor when you meant to use | |
| 12464 | ||
| 6633 | parens. In any case, a hash requires key/value B<pairs>. | |
| 12465 | 6634 | |
| 12466 | 6635 | =end original |
| 12467 | 6636 | |
| 12468 | 6637 | (W misc) Perl が(ハッシュへの代入のために)偶数の数の要素のリストを |
| 12469 | 想定しているところに | |
| 6638 | 想定しているところに 1 つのリファレンスを渡しました。 | |
| 12470 | 6639 | これは普通かっこを使うべきところで無名ハッシュコンストラクタを使ったことを |
| 12471 | 6640 | 意味します。 |
| 12472 | 6641 | とにかく、ハッシュはキー/値の B<組> を要求します。 |
| 12473 | 6642 | |
| 12474 | 6643 | %hash = { one => 1, two => 2, }; # WRONG |
| 12475 | 6644 | %hash = [ qw/ an anon array / ]; # WRONG |
| 12476 | 6645 | %hash = ( one => 1, two => 2, ); # right |
| 12477 | 6646 | %hash = qw( one 1 two 2 ); # also fine |
| 12478 | 6647 | |
| 12479 | 6648 | =item Reference is already weak |
| 12480 | 6649 | |
| 12481 | 6650 | =begin original |
| 12482 | 6651 | |
| 12483 | 6652 | (W misc) You have attempted to weaken a reference that is already weak. |
| 12484 | 6653 | Doing so has no effect. |
| 12485 | 6654 | |
| 12486 | 6655 | =end original |
| 12487 | 6656 | |
| 12488 | 6657 | (W misc) 既に弱いリファレンスを弱めようとしました。 |
| 12489 | 6658 | そうしても何の効果もありません。 |
| 12490 | 6659 | |
| 12491 | =item Reference is | |
| 6660 | =item Reference miscount in sv_replace() | |
| 12492 | 6661 | |
| 12493 | 6662 | =begin original |
| 12494 | 6663 | |
| 12495 | (W | |
| 6664 | (W internal) The internal sv_replace() function was handed a new SV with | |
| 12496 | ||
| 6665 | a reference count of other than 1. | |
| 12497 | 6666 | |
| 12498 | 6667 | =end original |
| 12499 | 6668 | |
| 12500 | (W | |
| 6669 | (W internal) 内部の sv_replace() 関数が、参照数が 1 でない、新規の | |
| 12501 | ||
| 6670 | SV を扱いました。 | |
| 12502 | 6671 | |
| 12503 | =item Reference to | |
| 6672 | =item Reference to nonexistent group before << HERE in regex m/%s/ | |
| 12504 | 6673 | |
| 12505 | 6674 | =begin original |
| 12506 | 6675 | |
| 12507 | (F) You used C<\g0> or similar in a regular expression. You may refer | |
| 12508 | to capturing parentheses only with strictly positive integers | |
| 12509 | (normal backreferences) or with strictly negative integers (relative | |
| 12510 | backreferences). Using 0 does not make sense. | |
| 12511 | ||
| 12512 | =end original | |
| 12513 | ||
| 12514 | (F) 正規表現で C<\g0> のようなものを使いました。 | |
| 12515 | 捕捉用のかっこへの参照は、正数(通常の後方参照)か、負数(相対後方参照) | |
| 12516 | のみです。 | |
| 12517 | 0 は意味を成しません。 | |
| 12518 | ||
| 12519 | =item Reference to nonexistent group in regex; marked by S<<-- HERE> in | |
| 12520 | m/%s/ | |
| 12521 | ||
| 12522 | =begin original | |
| 12523 | ||
| 12524 | 6676 | (F) You used something like C<\7> in your regular expression, but there are |
| 12525 | not at least seven sets of capturing parentheses in the expression. | |
| 6677 | not at least seven sets of capturing parentheses in the expression. If you | |
| 12526 | ||
| 6678 | wanted to have the character with value 7 inserted into the regular expression, | |
| 12527 | ||
| 6679 | prepend a zero to make the number at least two digits: C<\07> | |
| 12528 | 6680 | |
| 12529 | 6681 | =end original |
| 12530 | 6682 | |
| 12531 | 6683 | 正規表現の中で C<\7> のような記述がありますが、 |
| 12532 | 正規表現の中に値を捕らえる | |
| 6684 | 正規表現の中に値を捕らえる括弧が 7 つありません。 | |
| 12533 | 6685 | 正規表現の中に値 7 を持つ文字を挿入したい場合、 |
| 12534 | ゼロをつけて最低 | |
| 6686 | ゼロをつけて最低二桁の数値にする必要があります: C<\07> | |
| 12535 | 6687 | |
| 12536 | 6688 | =begin original |
| 12537 | 6689 | |
| 12538 | The | |
| 6690 | The << HERE shows in the regular expression about where the problem was | |
| 12539 | 6691 | discovered. |
| 12540 | 6692 | |
| 12541 | 6693 | =end original |
| 12542 | 6694 | |
| 12543 | ||
| 6695 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 12544 | 6696 | |
| 12545 | =item Reference to nonexistent named group in regex; marked by S<<-- HERE> | |
| 12546 | in m/%s/ | |
| 12547 | ||
| 12548 | =begin original | |
| 12549 | ||
| 12550 | (F) You used something like C<\k'NAME'> or C<< \k<NAME> >> in your regular | |
| 12551 | expression, but there is no corresponding named capturing parentheses | |
| 12552 | such as C<(?'NAME'...)> or C<< (?<NAME>...) >>. Check if the name has been | |
| 12553 | spelled correctly both in the backreference and the declaration. | |
| 12554 | ||
| 12555 | =end original | |
| 12556 | ||
| 12557 | (F) 正規表現中に C<\k'NAME'> や C<< \k<NAME> >> のようなものを使いましたが、 | |
| 12558 | C<(?'NAME'...)> や C<< (?<NAME>...) >> のような、対応する名前付き捕捉かっこが | |
| 12559 | ありません。 | |
| 12560 | 前方参照と定義の両方において、名前のスペルが正しいかどうか | |
| 12561 | チェックしてください。 | |
| 12562 | ||
| 12563 | =begin original | |
| 12564 | ||
| 12565 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
| 12566 | discovered. | |
| 12567 | ||
| 12568 | =end original | |
| 12569 | ||
| 12570 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 12571 | ||
| 12572 | =item Reference to nonexistent or unclosed group in regex; marked by | |
| 12573 | S<<-- HERE> in m/%s/ | |
| 12574 | ||
| 12575 | =begin original | |
| 12576 | ||
| 12577 | (F) You used something like C<\g{-7}> in your regular expression, but there | |
| 12578 | are not at least seven sets of closed capturing parentheses in the | |
| 12579 | expression before where the C<\g{-7}> was located. | |
| 12580 | ||
| 12581 | =end original | |
| 12582 | ||
| 12583 | (F) 正規表現で C<\g{-7}> のようなものを使いましたが、式中で C<\g{-7}> の | |
| 12584 | 位置より前に少なくとも 7 組の捕捉用のかっこの組がありません。 | |
| 12585 | ||
| 12586 | =begin original | |
| 12587 | ||
| 12588 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
| 12589 | discovered. | |
| 12590 | ||
| 12591 | =end original | |
| 12592 | ||
| 12593 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 12594 | ||
| 12595 | 6697 | =item regexp memory corruption |
| 12596 | 6698 | |
| 12597 | 6699 | =begin original |
| 12598 | 6700 | |
| 12599 | 6701 | (P) The regular expression engine got confused by what the regular |
| 12600 | 6702 | expression compiler gave it. |
| 12601 | 6703 | |
| 12602 | 6704 | =end original |
| 12603 | 6705 | |
| 12604 | 6706 | (P) 正規表現コンパイラが渡したもので、正規表現エンジンが |
| 12605 | 6707 | 処理できなくなりました。 |
| 12606 | 6708 | |
| 12607 | =item Regexp | |
| 6709 | =item Regexp out of space | |
| 12608 | 6710 | |
| 12609 | =item Regexp modifier "%c" may appear a maximum of twice in regex; marked | |
| 12610 | by S<<-- HERE> in m/%s/ | |
| 12611 | ||
| 12612 | 6711 | =begin original |
| 12613 | 6712 | |
| 12614 | (F) The regular expression pattern had too many occurrences | |
| 12615 | of the specified modifier. Remove the extraneous ones. | |
| 12616 | ||
| 12617 | =end original | |
| 12618 | ||
| 12619 | (F) 正規表現パターンに指定された修飾子が多すぎます。 | |
| 12620 | 余分なものを削除してください。 | |
| 12621 | ||
| 12622 | =item Regexp modifier "%c" may not appear after the "-" in regex; marked by <-- | |
| 12623 | HERE in m/%s/ | |
| 12624 | ||
| 12625 | =begin original | |
| 12626 | ||
| 12627 | (F) Turning off the given modifier has the side effect of turning on | |
| 12628 | another one. Perl currently doesn't allow this. Reword the regular | |
| 12629 | expression to use the modifier you want to turn on (and place it before | |
| 12630 | the minus), instead of the one you want to turn off. | |
| 12631 | ||
| 12632 | =end original | |
| 12633 | ||
| 12634 | (F regexp) 指定された修飾子をオフにするのは他の修飾子をオンにするという | |
| 12635 | 副作用があります。 | |
| 12636 | Perl は現在のところこれを受け入れません。 | |
| 12637 | オフにしたいものではなく、オンにしたい修飾子を使う(そしてマイナスの | |
| 12638 | 前に置く)ように正規表現を書き直してください。 | |
| 12639 | ||
| 12640 | =item Regexp modifier "/%c" may not appear twice | |
| 12641 | ||
| 12642 | =item Regexp modifier "%c" may not appear twice in regex; marked by <-- | |
| 12643 | HERE in m/%s/ | |
| 12644 | ||
| 12645 | =begin original | |
| 12646 | ||
| 12647 | (F) The regular expression pattern had too many occurrences | |
| 12648 | of the specified modifier. Remove the extraneous ones. | |
| 12649 | ||
| 12650 | =end original | |
| 12651 | ||
| 12652 | (F) 正規表現パターンに指定された修飾子が多すぎます。 | |
| 12653 | 余分なものを削除してください。 | |
| 12654 | ||
| 12655 | =item Regexp modifiers "/%c" and "/%c" are mutually exclusive | |
| 12656 | ||
| 12657 | =item Regexp modifiers "%c" and "%c" are mutually exclusive in regex; | |
| 12658 | marked by S<<-- HERE> in m/%s/ | |
| 12659 | ||
| 12660 | =begin original | |
| 12661 | ||
| 12662 | (F) The regular expression pattern had more than one of these | |
| 12663 | mutually exclusive modifiers. Retain only the modifier that is | |
| 12664 | supposed to be there. | |
| 12665 | ||
| 12666 | =end original | |
| 12667 | ||
| 12668 | (F) 正規表現パターンに相互に排他的な修飾子が複数あります。 | |
| 12669 | ここで使うであろう修飾子のみを保持します。 | |
| 12670 | ||
| 12671 | =item Regexp out of space in regex m/%s/ | |
| 12672 | ||
| 12673 | =begin original | |
| 12674 | ||
| 12675 | 6713 | (P) A "can't happen" error, because safemalloc() should have caught it |
| 12676 | 6714 | earlier. |
| 12677 | 6715 | |
| 12678 | 6716 | =end original |
| 12679 | 6717 | |
| 12680 | (P) safemalloc() が見つけるはずなので、「起こるはずのない | |
| 6718 | (P) safemalloc() が見つけるはずなので、「起こるはずのないエラー」です。 | |
| 12681 | 6719 | |
| 12682 | =item Repeat | |
| 6720 | =item Repeat count in pack overflows | |
| 12683 | 6721 | |
| 12684 | 6722 | =begin original |
| 12685 | 6723 | |
| 12686 | (F) You | |
| 6724 | (F) You can't specify a repeat count so large that it overflows your | |
| 12687 | n | |
| 6725 | signed integers. See L<perlfunc/pack>. | |
| 12688 | terminates. You might use ^# instead. See L<perlform>. | |
| 12689 | 6726 | |
| 12690 | 6727 | =end original |
| 12691 | 6728 | |
| 12692 | (F) | |
| 6729 | (F) 繰り返し回数として符号付き整数をオーバーフローするような | |
| 12693 | ||
| 6730 | 値は指定できません。 | |
| 12694 | ||
| 6731 | L<perlfunc/pack> を参照してください。 | |
| 12695 | L<perlform> を参照してください。 | |
| 12696 | 6732 | |
| 12697 | =item Rep | |
| 6733 | =item Repeat count in unpack overflows | |
| 12698 | 6734 | |
| 12699 | 6735 | =begin original |
| 12700 | 6736 | |
| 12701 | ( | |
| 6737 | (F) You can't specify a repeat count so large that it overflows your | |
| 12702 | se | |
| 6738 | signed integers. See L<perlfunc/unpack>. | |
| 12703 | are meaningless. | |
| 12704 | 6739 | |
| 12705 | 6740 | =end original |
| 12706 | 6741 | |
| 12707 | ( | |
| 6742 | (F) 繰り返し回数として符号付き整数をオーバーフローするような | |
| 12708 | ||
| 6743 | 値は指定できません。 | |
| 6744 | L<perlfunc/unpack> を参照してください。 | |
| 12709 | 6745 | |
| 12710 | =item '(*%s' requires a terminating ':' in regex; marked by <-- HERE in m/%s/ | |
| 12711 | ||
| 12712 | =begin original | |
| 12713 | ||
| 12714 | (F) You used a construct that needs a colon and pattern argument. | |
| 12715 | Supply these or check that you are using the right construct. | |
| 12716 | ||
| 12717 | =end original | |
| 12718 | ||
| 12719 | (F) コロンとパターン引数を必要とする構文を使いました。 | |
| 12720 | これらを補うか、正しい構文を使っているか確認してください。 | |
| 12721 | ||
| 12722 | =item '%s' resolved to '\o{%s}%d' | |
| 12723 | ||
| 12724 | =begin original | |
| 12725 | ||
| 12726 | (W misc, regexp) You wrote something like C<\08>, or C<\179> in a | |
| 12727 | double-quotish string. All but the last digit is treated as a single | |
| 12728 | character, specified in octal. The last digit is the next character in | |
| 12729 | the string. To tell Perl that this is indeed what you want, you can use | |
| 12730 | the C<\o{ }> syntax, or use exactly three digits to specify the octal | |
| 12731 | for the character. | |
| 12732 | ||
| 12733 | =end original | |
| 12734 | ||
| 12735 | (W misc, regexp) ダブルクォート風の文字列の中で C<\08> や C<\179> のような | |
| 12736 | ものを書きました。 | |
| 12737 | 最後以外の数字は、8 進数で指定された単一の文字として扱われます。 | |
| 12738 | 最後の数字は文字列中の次の文字です。 | |
| 12739 | これがまさしく望んでいるものであることを Perl に伝えるには、 | |
| 12740 | C<\o{ }> 構文を使うか、文字を 8 進数で指定するために正確に 3 桁を | |
| 12741 | 使ってください。 | |
| 12742 | ||
| 12743 | 6746 | =item Reversed %s= operator |
| 12744 | 6747 | |
| 12745 | 6748 | =begin original |
| 12746 | 6749 | |
| 12747 | 6750 | (W syntax) You wrote your assignment operator backwards. The = must |
| 12748 | always come last, to avoid ambiguity with subsequent unary operators. | |
| 6751 | always comes last, to avoid ambiguity with subsequent unary operators. | |
| 12749 | 6752 | |
| 12750 | 6753 | =end original |
| 12751 | 6754 | |
| 12752 | 6755 | (W syntax) 代入演算子を逆順に書いています。 |
| 12753 | 6756 | 等号の後に単項演算子が続くときに、曖昧になるのを避けるため、 |
| 12754 | 6757 | 代入演算子では、等号 = が、最後にこないといけません。 |
| 12755 | 6758 | |
| 12756 | =item | |
| 6759 | =item Runaway format | |
| 12757 | 6760 | |
| 12758 | 6761 | =begin original |
| 12759 | 6762 | |
| 12760 | ( | |
| 6763 | (F) Your format contained the ~~ repeat-until-blank sequence, but it | |
| 12761 | ||
| 6764 | produced 200 lines at once, and the 200th line looked exactly like the | |
| 6765 | 199th line. Apparently you didn't arrange for the arguments to exhaust | |
| 6766 | themselves, either by using ^ instead of @ (for scalar variables), or by | |
| 6767 | shifting or popping (for array variables). See L<perlform>. | |
| 12762 | 6768 | |
| 12763 | 6769 | =end original |
| 12764 | 6770 | |
| 12765 | ( | |
| 6771 | (F) 定義したフォーマットに、空になるまで繰り返す ~~ が | |
| 12766 | ||
| 6772 | 含まれていましたが、一度に 200 行以上となり、199 行目と 200 行目が | |
| 12767 | ||
| 6773 | 全く同じになりました。 | |
| 6774 | (スカラ変数には) @ の代わりに ^ を用いるか、(配列変数には) shift か pop を | |
| 6775 | 行なうかして、引数が自動的になくなるようになっていないといけませんが、 | |
| 6776 | そうなっていないようです。 | |
| 6777 | L<perlform> を参照してください。 | |
| 12768 | 6778 | |
| 12769 | =item Scalars leaked: %d | |
| 12770 | ||
| 12771 | =begin original | |
| 12772 | ||
| 12773 | (S internal) Something went wrong in Perl's internal bookkeeping | |
| 12774 | of scalars: not all scalar variables were deallocated by the time | |
| 12775 | Perl exited. What this usually indicates is a memory leak, which | |
| 12776 | is of course bad, especially if the Perl program is intended to be | |
| 12777 | long-running. | |
| 12778 | ||
| 12779 | =end original | |
| 12780 | ||
| 12781 | (P) Perl 内部のスカラ管理で何かがおかしくなりました: | |
| 12782 | Perl 終了時に全てのスカラ変数が解放されませんでした。 | |
| 12783 | これは普通メモリリークを示していて、これはもちろん悪いことですが、 | |
| 12784 | Perl プログラムが長い間動作する場合には特にそうです。 | |
| 12785 | ||
| 12786 | 6779 | =item Scalar value @%s[%s] better written as $%s[%s] |
| 12787 | 6780 | |
| 12788 | 6781 | =begin original |
| 12789 | 6782 | |
| 12790 | 6783 | (W syntax) You've used an array slice (indicated by @) to select a |
| 12791 | 6784 | single element of an array. Generally it's better to ask for a scalar |
| 12792 | 6785 | value (indicated by $). The difference is that C<$foo[&bar]> always |
| 12793 | 6786 | behaves like a scalar, both when assigning to it and when evaluating its |
| 12794 | 6787 | argument, while C<@foo[&bar]> behaves like a list when you assign to it, |
| 12795 | 6788 | and provides a list context to its subscript, which can do weird things |
| 12796 | 6789 | if you're expecting only one subscript. |
| 12797 | 6790 | |
| 12798 | 6791 | =end original |
| 12799 | 6792 | |
| 12800 | 6793 | (W syntax) 配列の一つの要素を選ぶのに、(@ で示される) 配列 |
| 12801 | 6794 | スライスを用いました。 |
| 12802 | 6795 | 一般には、($ で示される) スカラ値を使った方が良いと思われます。 |
| 12803 | 6796 | 違いは、C<$foo[&bar]> とした場合、代入の対象としたときにも、 |
| 12804 | 6797 | 添字を評価するときにも、常にスカラとして振る舞うのに対し、 |
| 12805 | 6798 | C<@foo[&bar]> の場合には、代入の対象としてもリストとして振る舞い、 |
| 12806 | 添字にもリストコンテキストを与えることになります | |
| 6799 | 添字にもリストコンテキストを与えることになります。 | |
| 12807 | これは、 | |
| 6800 | これは、1 つの添字だけを期待するときには、おかしなこととなるでしょう。 | |
| 12808 | 6801 | |
| 12809 | 6802 | =begin original |
| 12810 | 6803 | |
| 12811 | 6804 | On the other hand, if you were actually hoping to treat the array |
| 12812 | 6805 | element as a list, you need to look into how references work, because |
| 12813 | 6806 | Perl will not magically convert between scalars and lists for you. See |
| 12814 | 6807 | L<perlref>. |
| 12815 | 6808 | |
| 12816 | 6809 | =end original |
| 12817 | 6810 | |
| 12818 | 6811 | 一方、もし本当に配列要素をリストとして扱いたい場合、リファレンスが |
| 12819 | 6812 | どのように働くかについて詳しく知る必要があります; なぜなら |
| 12820 | 6813 | Perl はスカラとリストを自動的に変換したりはしないからです。 |
| 12821 | 6814 | L<perlref> を参照してください。 |
| 12822 | 6815 | |
| 12823 | 6816 | =item Scalar value @%s{%s} better written as $%s{%s} |
| 12824 | 6817 | |
| 12825 | 6818 | =begin original |
| 12826 | 6819 | |
| 12827 | 6820 | (W syntax) You've used a hash slice (indicated by @) to select a single |
| 12828 | 6821 | element of a hash. Generally it's better to ask for a scalar value |
| 12829 | 6822 | (indicated by $). The difference is that C<$foo{&bar}> always behaves |
| 12830 | 6823 | like a scalar, both when assigning to it and when evaluating its |
| 12831 | 6824 | argument, while C<@foo{&bar}> behaves like a list when you assign to it, |
| 12832 | 6825 | and provides a list context to its subscript, which can do weird things |
| 12833 | 6826 | if you're expecting only one subscript. |
| 12834 | 6827 | |
| 12835 | 6828 | =end original |
| 12836 | 6829 | |
| 12837 | 6830 | (W syntax) ハッシュの一つの要素を選ぶのに、(@ で示される) ハッシュ |
| 12838 | 6831 | スライスを用いました。 |
| 12839 | 6832 | 一般には、($ で示される) スカラ値を使った方が良いと思われます。 |
| 12840 | 6833 | 違いは、C<$foo{&bar}> とした場合、代入の対象としたときにも、 |
| 12841 | 6834 | 添字を評価するときにも、常にスカラとして振る舞うのに対し、 |
| 12842 | 6835 | C<@foo{&bar}> の場合には、代入の対象としてもリストとして振る舞い、 |
| 12843 | 添字にもリストコンテキストを与えることになります | |
| 6836 | 添字にもリストコンテキストを与えることになります。 | |
| 12844 | これは、 | |
| 6837 | これは、1 つの添字だけを期待するときには、おかしなこととなるでしょう。 | |
| 12845 | 6838 | |
| 12846 | 6839 | =begin original |
| 12847 | 6840 | |
| 12848 | 6841 | On the other hand, if you were actually hoping to treat the hash element |
| 12849 | 6842 | as a list, you need to look into how references work, because Perl will |
| 12850 | 6843 | not magically convert between scalars and lists for you. See |
| 12851 | 6844 | L<perlref>. |
| 12852 | 6845 | |
| 12853 | 6846 | =end original |
| 12854 | 6847 | |
| 12855 | 6848 | 一方、もし本当にハッシュ要素をリストとして扱いたい場合、リファレンスが |
| 12856 | 6849 | どのように働くかについて詳しく知る必要があります; なぜなら |
| 12857 | 6850 | Perl はスカラとリストを自動的に変換したりはしないからです。 |
| 12858 | 6851 | L<perlref> を参照してください。 |
| 12859 | 6852 | |
| 12860 | =item S | |
| 6853 | =item Scalars leaked: %d | |
| 12861 | 6854 | |
| 12862 | 6855 | =begin original |
| 12863 | 6856 | |
| 12864 | ( | |
| 6857 | (P) Something went wrong in Perl's internal bookkeeping of scalars: | |
| 12865 | ||
| 6858 | not all scalar variables were deallocated by the time Perl exited. | |
| 12866 | ||
| 6859 | What this usually indicates is a memory leak, which is of course bad, | |
| 6860 | especially if the Perl program is intended to be long-running. | |
| 12867 | 6861 | |
| 12868 | 6862 | =end original |
| 12869 | 6863 | |
| 12870 | ( | |
| 6864 | (P) Perl 内部のスカラ管理で何かがおかしくなりました: | |
| 12871 | ||
| 6865 | Perl 終了時に全てのスカラ変数が解放されませんでした。 | |
| 12872 | ||
| 6866 | これは普通メモリリークを示していて、これはもちろん悪いことですが、 | |
| 6867 | Perl プログラムが長い間動作する場合には特にそうです。 | |
| 12873 | 6868 | |
| 6869 | =item Script is not setuid/setgid in suidperl | |
| 6870 | ||
| 12874 | 6871 | =begin original |
| 12875 | 6872 | |
| 12876 | ||
| 6873 | (F) Oddly, the suidperl program was invoked on a script without a setuid | |
| 12877 | ||
| 6874 | or setgid bit set. This doesn't make much sense. | |
| 12878 | in Perl 5.10.0 or later that uses the // as the I<defined-or> can be | |
| 12879 | misparsed by pre-5.10.0 Perls as a non-terminated search pattern. | |
| 12880 | 6875 | |
| 12881 | 6876 | =end original |
| 12882 | 6877 | |
| 12883 | ||
| 6878 | (F) 妙なことに、setuid ビット、もしくは setgid ビットが立っていない | |
| 12884 | ||
| 6879 | スクリプトに対して、suidperl プログラムが起動されました。 | |
| 12885 | ||
| 6880 | これは意味がありません。 | |
| 12886 | コードは、5.10.0 以前の Perl では、終端していない検索パターンとして | |
| 12887 | 誤パースされるかもしれません。 | |
| 12888 | 6881 | |
| 12889 | =item | |
| 6882 | =item Search pattern not terminated | |
| 12890 | 6883 | |
| 12891 | 6884 | =begin original |
| 12892 | 6885 | |
| 12893 | ( | |
| 6886 | (F) The lexer couldn't find the final delimiter of a // or m{} | |
| 12894 | re | |
| 6887 | construct. Remember that bracketing delimiters count nesting level. | |
| 6888 | Missing the leading C<$> from a variable C<$m> may cause this error. | |
| 12895 | 6889 | |
| 12896 | 6890 | =end original |
| 12897 | 6891 | |
| 12898 | ( | |
| 6892 | (F) // もしくは m{} 構文の最後の区切り文字が見つかりませんでした。 | |
| 12899 | ||
| 6893 | 括弧類の区切り文字では、ネストを数えることを忘れないでください。 | |
| 12900 | ||
| 6894 | C<$m> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 | |
| 12901 | 6895 | |
| 12902 | 6896 | =item %sseek() on unopened filehandle |
| 12903 | 6897 | |
| 12904 | 6898 | =begin original |
| 12905 | 6899 | |
| 12906 | 6900 | (W unopened) You tried to use the seek() or sysseek() function on a |
| 12907 | 6901 | filehandle that was either never opened or has since been closed. |
| 12908 | 6902 | |
| 12909 | 6903 | =end original |
| 12910 | 6904 | |
| 12911 | 6905 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
| 12912 | 6906 | ファイルハンドルに対して、seek() 関数や sysseek() 関数を使おうとしました。 |
| 12913 | 6907 | |
| 12914 | 6908 | =item select not implemented |
| 12915 | 6909 | |
| 12916 | 6910 | =begin original |
| 12917 | 6911 | |
| 12918 | 6912 | (F) This machine doesn't implement the select() system call. |
| 12919 | 6913 | |
| 12920 | 6914 | =end original |
| 12921 | 6915 | |
| 12922 | 6916 | (F) このマシンでは、select() システムコールは実装されていません。 |
| 12923 | 6917 | |
| 12924 | =item Self-ties of arrays and hashes are not supported | |
| 12925 | ||
| 12926 | =begin original | |
| 12927 | ||
| 12928 | (F) Self-ties are of arrays and hashes are not supported in | |
| 12929 | the current implementation. | |
| 12930 | ||
| 12931 | =end original | |
| 12932 | ||
| 12933 | (F) 配列やハッシュの自己 tie は現在の実装では対応していません。 | |
| 12934 | ||
| 12935 | 6918 | =item Semicolon seems to be missing |
| 12936 | 6919 | |
| 12937 | 6920 | =begin original |
| 12938 | 6921 | |
| 12939 | 6922 | (W semicolon) A nearby syntax error was probably caused by a missing |
| 12940 | 6923 | semicolon, or possibly some other missing operator, such as a comma. |
| 12941 | 6924 | |
| 12942 | 6925 | =end original |
| 12943 | 6926 | |
| 12944 | 6927 | (W semicolon) この付近の構文エラーは、おそらくセミコロンか、コンマなどの |
| 12945 | 6928 | 演算子がなかったために起こったものと考えられます。 |
| 12946 | 6929 | |
| 12947 | 6930 | =item semi-panic: attempt to dup freed string |
| 12948 | 6931 | |
| 12949 | 6932 | =begin original |
| 12950 | 6933 | |
| 12951 | 6934 | (S internal) The internal newSVsv() routine was called to duplicate a |
| 12952 | 6935 | scalar that had previously been marked as free. |
| 12953 | 6936 | |
| 12954 | 6937 | =end original |
| 12955 | 6938 | |
| 12956 | 6939 | (S internal) 既に解放と印を付けたスカラを複製するために、内部の |
| 12957 | 6940 | newSVsv() ルーティンが呼ばれました。 |
| 12958 | 6941 | |
| 12959 | 6942 | =item sem%s not implemented |
| 12960 | 6943 | |
| 12961 | 6944 | =begin original |
| 12962 | 6945 | |
| 12963 | 6946 | (F) You don't have System V semaphore IPC on your system. |
| 12964 | 6947 | |
| 12965 | 6948 | =end original |
| 12966 | 6949 | |
| 12967 | 6950 | (F) このシステムでは、System V セマフォ IPC は使えません。 |
| 12968 | 6951 | |
| 12969 | 6952 | =item send() on closed socket %s |
| 12970 | 6953 | |
| 12971 | 6954 | =begin original |
| 12972 | 6955 | |
| 12973 | 6956 | (W closed) The socket you're sending to got itself closed sometime |
| 12974 | before now. Check your | |
| 6957 | before now. Check your logic flow. | |
| 12975 | 6958 | |
| 12976 | 6959 | =end original |
| 12977 | 6960 | |
| 12978 | (W closed) 送信を行なおうとしたソケットは、既に | |
| 6961 | (W closed) 送信を行なおうとしたソケットは、既にクローズされています。 | |
| 12979 | ||
| 6962 | 論理フローをチェックしてください。 | |
| 12980 | 6963 | |
| 12981 | =item Sequence | |
| 6964 | =item Sequence (? incomplete before << HERE mark in regex m/%s/ | |
| 12982 | 6965 | |
| 12983 | 6966 | =begin original |
| 12984 | 6967 | |
| 12985 | (F) | |
| 6968 | (F) A regular expression ended with an incomplete extension (?. The <<<HERE | |
| 12986 | ||
| 6969 | shows in the regular expression about where the problem was discovered. See | |
| 12987 | p | |
| 6970 | L<perlre>. | |
| 12988 | were intending to specify a control character with this sequence, you'll | |
| 12989 | have to use a different way to specify it. | |
| 12990 | 6971 | |
| 12991 | 6972 | =end original |
| 12992 | 6973 | |
| 12993 | (F) | |
| 6974 | (F) 正規表現が不完全な拡張 (? で終わっています。 | |
| 12994 | ||
| 6975 | <<<HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 12995 | ||
| 6976 | L<perlre> を参照してください。 | |
| 12996 | (ASCII では異なったえらメッセージが出力されます)。 | |
| 12997 | この並びの制御文字を指定することを意図している場合は、指定するために | |
| 12998 | 異なる方法を使う必要があります。 | |
| 12999 | 6977 | |
| 13000 | =item Sequence (? | |
| 6978 | =item Sequence (?{...}) not terminated or not {}-balanced in %s | |
| 13001 | 6979 | |
| 13002 | 6980 | =begin original |
| 13003 | 6981 | |
| 13004 | (F) | |
| 6982 | (F) If the contents of a (?{...}) clause contains braces, they must balance | |
| 13005 | ||
| 6983 | for Perl to properly detect the end of the clause. See L<perlre>. | |
| 13006 | discovered. See L<perlre>. | |
| 13007 | 6984 | |
| 13008 | 6985 | =end original |
| 13009 | 6986 | |
| 13010 | (F) | |
| 6987 | (F) (?{...}) 節の中に大括弧がある場合、対応していなければなりません。 | |
| 13011 | ||
| 6988 | Perl が正しく節の最後を検出するためです。 | |
| 13012 | 6989 | L<perlre> を参照してください。 |
| 13013 | 6990 | |
| 13014 | =item Sequence (?% | |
| 6991 | =item Sequence (?%s...) not implemented before << HERE mark in %s | |
| 13015 | m/%s/ | |
| 13016 | 6992 | |
| 13017 | 6993 | =begin original |
| 13018 | 6994 | |
| 13019 | (F) A proposed regular expression extension has the character reserved | |
| 6995 | (F) A proposed regular expression extension has the character reserved but | |
| 13020 | ||
| 6996 | has not yet been written. The << HERE shows in the regular expression about | |
| 13021 | ||
| 6997 | where the problem was discovered. See L<perlre>. | |
| 13022 | 6998 | |
| 13023 | 6999 | =end original |
| 13024 | 7000 | |
| 13025 | 7001 | (F) 使おうとした正規表現の拡張は、予約された文字ですが、 |
| 13026 | 7002 | まだ実装されていません。 |
| 13027 | ||
| 7003 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 13028 | 7004 | L<perlre> を参照してください。 |
| 13029 | 7005 | |
| 13030 | =item Sequence (?%s...) not recognized | |
| 7006 | =item Sequence (?%s...) not recognized before << HERE mark in %s | |
| 13031 | m/%s/ | |
| 13032 | 7007 | |
| 13033 | 7008 | =begin original |
| 13034 | 7009 | |
| 13035 | 7010 | (F) You used a regular expression extension that doesn't make sense. |
| 13036 | The | |
| 7011 | The << HERE shows in the regular expression about | |
| 13037 | ||
| 7012 | where the problem was discovered. | |
| 13038 | ||
| 7013 | See L<perlre>. | |
| 13039 | redundantly specify a default modifier. For other | |
| 13040 | causes, see L<perlre>. | |
| 13041 | 7014 | |
| 13042 | 7015 | =end original |
| 13043 | 7016 | |
| 13044 | 7017 | (F) お使いになった正規表現の拡張は、意味をなしません。 |
| 13045 | ||
| 7018 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 13046 | ||
| 7019 | L<perlre> を参照してください。 | |
| 13047 | C<(?^...)> 構文を使ったときや、デフォルトの演算子を冗長に指定しています。 | |
| 13048 | その他の理由については、L<perlre> を参照してください。 | |
| 13049 | 7020 | |
| 13050 | 7021 | =item Sequence (?#... not terminated in regex m/%s/ |
| 13051 | 7022 | |
| 13052 | 7023 | =begin original |
| 13053 | 7024 | |
| 13054 | 7025 | (F) A regular expression comment must be terminated by a closing |
| 13055 | parenthesis. Embedded parentheses aren't allowed. See | |
| 7026 | parenthesis. Embedded parentheses aren't allowed. See L<perlre>. | |
| 13056 | L<perlre>. | |
| 13057 | 7027 | |
| 13058 | 7028 | =end original |
| 13059 | 7029 | |
| 13060 | (F) 正規表現 | |
| 7030 | (F) 正規表現コメントは、閉じ括弧で終わらなければなりません。 | |
| 13061 | ||
| 7031 | 括弧を含めることは許されません。 | |
| 13062 | 7032 | L<perlre> を参照してください。 |
| 13063 | 7033 | |
| 13064 | =item Se | |
| 7034 | =item 500 Server error | |
| 13065 | m/%s/ | |
| 13066 | 7035 | |
| 13067 | 7036 | =begin original |
| 13068 | 7037 | |
| 13069 | ||
| 7038 | See Server error. | |
| 13070 | closing parenthesis after the name. The S<<-- HERE> shows whereabouts | |
| 13071 | in the regular expression the problem was discovered. | |
| 13072 | 7039 | |
| 13073 | 7040 | =end original |
| 13074 | 7041 | |
| 13075 | ||
| 7042 | "Server error" を参照してください。 | |
| 13076 | ありません。 | |
| 13077 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 13078 | 7043 | |
| 13079 | =item Se | |
| 7044 | =item Server error | |
| 13080 | in m/%s/ | |
| 13081 | 7045 | |
| 13082 | 7046 | =begin original |
| 13083 | 7047 | |
| 13084 | ||
| 7048 | This is the error message generally seen in a browser window when trying | |
| 13085 | cl | |
| 7049 | to run a CGI program (including SSI) over the web. The actual error text | |
| 13086 | re | |
| 7050 | varies widely from server to server. The most frequently-seen variants | |
| 7051 | are "500 Server error", "Method (something) not permitted", "Document | |
| 7052 | contains no data", "Premature end of script headers", and "Did not | |
| 7053 | produce a valid header". | |
| 13087 | 7054 | |
| 13088 | 7055 | =end original |
| 13089 | 7056 | |
| 13090 | ||
| 7057 | これは、一般的には CGI (SSI を含みます)プログラムを WWW 越しに | |
| 13091 | 最後の閉じクォートまたは山かっこがありません。 | |
| 13092 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 13093 | ||
| 13094 | =item Sequence (?(%c... not terminated in regex; marked by S<<-- HERE> | |
| 13095 | in m/%s/ | |
| 13096 | ||
| 13097 | =begin original | |
| 13098 | ||
| 13099 | (F) A named reference of the form C<(?('...')...)> or C<< (?(<...>)...) >> was | |
| 13100 | missing the final closing quote or angle bracket after the name. The | |
| 13101 | S<<-- HERE> shows whereabouts in the regular expression the problem was | |
| 13102 | discovered. | |
| 13103 | ||
| 13104 | =end original | |
| 13105 | ||
| 13106 | (F) C<(?('...')...)> または C<< (?(<...>)...) >> の形式の名前付き | |
| 13107 | リファレンスで、名前の後の最後の閉じクォートまたは山かっこがありません。 | |
| 13108 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 13109 | ||
| 13110 | =item Sequence (?... not terminated in regex; marked by S<<-- HERE> in | |
| 13111 | m/%s/ | |
| 13112 | ||
| 13113 | =begin original | |
| 13114 | ||
| 13115 | (F) There was no matching closing parenthesis for the '('. The | |
| 13116 | S<<-- HERE> shows whereabouts in the regular expression the problem was | |
| 13117 | discovered. | |
| 13118 | ||
| 13119 | =end original | |
| 13120 | ||
| 13121 | (F) '(' に対応する閉じかっこがありません。 | |
| 13122 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 13123 | ||
| 13124 | =item Sequence \%s... not terminated in regex; marked by S<<-- HERE> in | |
| 13125 | m/%s/ | |
| 13126 | ||
| 13127 | =begin original | |
| 13128 | ||
| 13129 | (F) The regular expression expects a mandatory argument following the escape | |
| 13130 | sequence and this has been omitted or incorrectly written. | |
| 13131 | ||
| 13132 | =end original | |
| 13133 | ||
| 13134 | (F) 正規表現でエスケープシーケンスの後に必須の引き数を想定しましたが、 | |
| 13135 | それが省略されているか適切に書かれていません。 | |
| 13136 | ||
| 13137 | =item Sequence (?{...}) not terminated with ')' | |
| 13138 | ||
| 13139 | =begin original | |
| 13140 | ||
| 13141 | (F) The end of the perl code contained within the {...} must be | |
| 13142 | followed immediately by a ')'. | |
| 13143 | ||
| 13144 | =end original | |
| 13145 | ||
| 13146 | (F) {} の中に含まれている perl コードの末尾は直後に ')' が | |
| 13147 | 引き続かなければなりません。 | |
| 13148 | ||
| 13149 | =item Sequence (?PE<gt>... not terminated in regex; marked by S<<-- HERE> in m/%s/ | |
| 13150 | ||
| 13151 | =begin original | |
| 13152 | ||
| 13153 | (F) A named reference of the form C<(?PE<gt>...)> was missing the final | |
| 13154 | closing parenthesis after the name. The S<<-- HERE> shows whereabouts | |
| 13155 | in the regular expression the problem was discovered. | |
| 13156 | ||
| 13157 | =end original | |
| 13158 | ||
| 13159 | (F) C<(?PE<gt>...)> 形式の名前付き参照で、名前の後の最後の閉じかっこが | |
| 13160 | ありません。 | |
| 13161 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 13162 | ||
| 13163 | =item Sequence (?PE<lt>... not terminated in regex; marked by S<<-- HERE> in m/%s/ | |
| 13164 | ||
| 13165 | =begin original | |
| 13166 | ||
| 13167 | (F) A named group of the form C<(?PE<lt>...E<gt>')> was missing the final | |
| 13168 | closing angle bracket. The S<<-- HERE> shows whereabouts in the | |
| 13169 | regular expression the problem was discovered. | |
| 13170 | ||
| 13171 | =end original | |
| 13172 | ||
| 13173 | (F) C<(?PE<lt>...E<gt>')> 形式の名前付きグループで、 | |
| 13174 | 最後の閉じ山かっこがありません。 | |
| 13175 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 13176 | ||
| 13177 | =item Sequence ?P=... not terminated in regex; marked by S<<-- HERE> in | |
| 13178 | m/%s/ | |
| 13179 | ||
| 13180 | =begin original | |
| 13181 | ||
| 13182 | (F) A named reference of the form C<(?P=...)> was missing the final | |
| 13183 | closing parenthesis after the name. The S<<-- HERE> shows whereabouts | |
| 13184 | in the regular expression the problem was discovered. | |
| 13185 | ||
| 13186 | =end original | |
| 13187 | ||
| 13188 | (F) C<(?P=...)> の形式の名前付きリファレンスで、名前の後の最後の | |
| 13189 | 閉じかっこがありません。 | |
| 13190 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 13191 | ||
| 13192 | =item Sequence (?R) not terminated in regex m/%s/ | |
| 13193 | ||
| 13194 | =begin original | |
| 13195 | ||
| 13196 | (F) An C<(?R)> or C<(?0)> sequence in a regular expression was missing the | |
| 13197 | final parenthesis. | |
| 13198 | ||
| 13199 | =end original | |
| 13200 | ||
| 13201 | (F) 正規表現中の C<(?R)> または C<(?0)> で最後のかっこがありません。 | |
| 13202 | ||
| 13203 | =item Z<>500 Server error | |
| 13204 | ||
| 13205 | =begin original | |
| 13206 | ||
| 13207 | (A) This is the error message generally seen in a browser window | |
| 13208 | when trying to run a CGI program (including SSI) over the web. The | |
| 13209 | actual error text varies widely from server to server. The most | |
| 13210 | frequently-seen variants are "500 Server error", "Method (something) | |
| 13211 | not permitted", "Document contains no data", "Premature end of script | |
| 13212 | headers", and "Did not produce a valid header". | |
| 13213 | ||
| 13214 | =end original | |
| 13215 | ||
| 13216 | (A) これは、一般的には CGI (SSI を含みます)プログラムを WWW 越しに | |
| 13217 | 7058 | 実行しようとしたときにブラウザのウィンドウに表示されるメッセージです。 |
| 13218 | 7059 | 実際のエラーテキストはサーバーによって大きく異なります。 |
| 13219 | 7060 | もっともよく見られるものとしては、"500 Server error", |
| 13220 | 7061 | "Method (something) not permitted", "Document contains no data", |
| 13221 | 7062 | "Premature end of script headers", "Did not produce a valid header" が |
| 13222 | 7063 | あります。 |
| 13223 | 7064 | |
| 13224 | 7065 | =begin original |
| 13225 | 7066 | |
| 13226 | 7067 | B<This is a CGI error, not a Perl error>. |
| 13227 | 7068 | |
| 13228 | 7069 | =end original |
| 13229 | 7070 | |
| 13230 | 7071 | B<これは CGI のエラーであり、Perl のエラーではありません>. |
| 13231 | 7072 | |
| 13232 | 7073 | =begin original |
| 13233 | 7074 | |
| 13234 | You need to make sure your script is executable, is accessible by | |
| 7075 | You need to make sure your script is executable, is accessible by the | |
| 13235 | ||
| 7076 | user CGI is running the script under (which is probably not the user | |
| 13236 | ||
| 7077 | account you tested it under), does not rely on any environment variables | |
| 13237 | ||
| 7078 | (like PATH) from the user it isn't running under, and isn't in a | |
| 13238 | ||
| 7079 | location where the CGI server can't find it, basically, more or less. | |
| 13239 | ||
| 7080 | Please see the following for more information: | |
| 13240 | 7081 | |
| 13241 | 7082 | =end original |
| 13242 | 7083 | |
| 13243 | 7084 | まずはあなたのスクリプトが実行可能か、CGI を実行するユーザー(これはおそらく |
| 13244 | 7085 | あなたがテストしたユーザーではありません)で読み込み可能か、実行しているのとは |
| 13245 | 7086 | 異なるユーザーの環境変数(PATH など)に依存していないか、CGI サーバーが |
| 13246 | 7087 | 見つけられない場所に置いていないか、といったことを確認する必要があるでしょう。 |
| 13247 | 7088 | さらなる情報については以下を参照してください。 |
| 13248 | 7089 | |
| 13249 | http://www.perl.o | |
| 7090 | http://www.perl.com/CPAN/doc/FAQs/cgi/idiots-guide.html | |
| 13250 | http://www. | |
| 7091 | http://www.perl.com/CPAN/doc/FAQs/cgi/perl-cgi-faq.html | |
| 13251 | | |
| 7092 | ftp://rtfm.mit.edu/pub/usenet/news.answers/www/cgi-faq | |
| 7093 | http://hoohoo.ncsa.uiuc.edu/cgi/interface.html | |
| 7094 | http://www-genome.wi.mit.edu/WWW/faqs/www-security-faq.html | |
| 13252 | 7095 | |
| 13253 | 7096 | =begin original |
| 13254 | 7097 | |
| 13255 | 7098 | You should also look at L<perlfaq9>. |
| 13256 | 7099 | |
| 13257 | 7100 | =end original |
| 13258 | 7101 | |
| 13259 | 7102 | L<perlfaq9> も見るべきでしょう。 |
| 13260 | 7103 | |
| 13261 | 7104 | =item setegid() not implemented |
| 13262 | 7105 | |
| 13263 | 7106 | =begin original |
| 13264 | 7107 | |
| 13265 | 7108 | (F) You tried to assign to C<$)>, and your operating system doesn't |
| 13266 | 7109 | support the setegid() system call (or equivalent), or at least Configure |
| 13267 | 7110 | didn't think so. |
| 13268 | 7111 | |
| 13269 | 7112 | =end original |
| 13270 | 7113 | |
| 13271 | 7114 | (F) C<$)> へ代入を行なおうとしましたが、この OS では、setegid() |
| 13272 | システムコール (または、同等のもの) がサポートされていません | |
| 7115 | システムコール (または、同等のもの) がサポートされていません。 | |
| 13273 | 7116 | 少なくとも Configure では、そう判断されました。 |
| 13274 | 7117 | |
| 13275 | 7118 | =item seteuid() not implemented |
| 13276 | 7119 | |
| 13277 | 7120 | =begin original |
| 13278 | 7121 | |
| 13279 | 7122 | (F) You tried to assign to C<< $> >>, and your operating system doesn't |
| 13280 | 7123 | support the seteuid() system call (or equivalent), or at least Configure |
| 13281 | 7124 | didn't think so. |
| 13282 | 7125 | |
| 13283 | 7126 | =end original |
| 13284 | 7127 | |
| 13285 | 7128 | (F) C<< $> >> へ代入を行なおうとしましたが、この OS では、seteuid() |
| 13286 | システムコール (または、同等のもの) がサポートされていません | |
| 7129 | システムコール (または、同等のもの) がサポートされていません。 | |
| 13287 | 7130 | 少なくとも Configure では、そう判断されました。 |
| 13288 | 7131 | |
| 13289 | 7132 | =item setpgrp can't take arguments |
| 13290 | 7133 | |
| 13291 | 7134 | =begin original |
| 13292 | 7135 | |
| 13293 | 7136 | (F) Your system has the setpgrp() from BSD 4.2, which takes no |
| 13294 | 7137 | arguments, unlike POSIX setpgid(), which takes a process ID and process |
| 13295 | 7138 | group ID. |
| 13296 | 7139 | |
| 13297 | 7140 | =end original |
| 13298 | 7141 | |
| 13299 | (F) このシステムの setpgrp() は BSD 4.2 由来のもので、引数がありません | |
| 7142 | (F) このシステムの setpgrp() は BSD 4.2 由来のもので、引数がありません。 | |
| 13300 | 7143 | POSIX setpgid() はプロセス ID とプロセスグループ ID を引数にとります。 |
| 13301 | 7144 | |
| 13302 | 7145 | =item setrgid() not implemented |
| 13303 | 7146 | |
| 13304 | 7147 | =begin original |
| 13305 | 7148 | |
| 13306 | 7149 | (F) You tried to assign to C<$(>, and your operating system doesn't |
| 13307 | 7150 | support the setrgid() system call (or equivalent), or at least Configure |
| 13308 | 7151 | didn't think so. |
| 13309 | 7152 | |
| 13310 | 7153 | =end original |
| 13311 | 7154 | |
| 13312 | 7155 | (F) C<$(> へ代入を行なおうとしましたが、この OS では、setrgid() |
| 13313 | システムコール (または、同等のもの) がサポートされていません | |
| 7156 | システムコール (または、同等のもの) がサポートされていません。 | |
| 13314 | 7157 | 少なくとも Configure では、そう判断されました。 |
| 13315 | 7158 | |
| 13316 | 7159 | =item setruid() not implemented |
| 13317 | 7160 | |
| 13318 | 7161 | =begin original |
| 13319 | 7162 | |
| 13320 | 7163 | (F) You tried to assign to C<$<>, and your operating system doesn't |
| 13321 | 7164 | support the setruid() system call (or equivalent), or at least Configure |
| 13322 | 7165 | didn't think so. |
| 13323 | 7166 | |
| 13324 | 7167 | =end original |
| 13325 | 7168 | |
| 13326 | 7169 | (F) C<$<> へ代入を行なおうとしましたが、この OS では、setruid() |
| 13327 | システムコール (または、同等のもの) がサポートされていません | |
| 7170 | システムコール (または、同等のもの) がサポートされていません。 | |
| 13328 | 7171 | 少なくとも Configure では、そう判断されました。 |
| 13329 | 7172 | |
| 13330 | 7173 | =item setsockopt() on closed socket %s |
| 13331 | 7174 | |
| 13332 | 7175 | =begin original |
| 13333 | 7176 | |
| 13334 | 7177 | (W closed) You tried to set a socket option on a closed socket. Did you |
| 13335 | 7178 | forget to check the return value of your socket() call? See |
| 13336 | 7179 | L<perlfunc/setsockopt>. |
| 13337 | 7180 | |
| 13338 | 7181 | =end original |
| 13339 | 7182 | |
| 13340 | 7183 | (W closed) 閉じているソケットにソケットオプションを設定しようとしました。 |
| 13341 | socket() | |
| 7184 | socket() 呼び出しの返り値のチェックを忘れていませんか? | |
| 13342 | 7185 | L<perlfunc/setsockopt> を参照してください。 |
| 13343 | 7186 | |
| 13344 | =item Set | |
| 7187 | =item Setuid/gid script is writable by world | |
| 13345 | 7188 | |
| 13346 | 7189 | =begin original |
| 13347 | 7190 | |
| 13348 | (F) | |
| 7191 | (F) The setuid emulator won't run a script that is writable by the | |
| 13349 | ||
| 7192 | world, because the world might have written on it already. | |
| 13350 | setting it to C<undef> but was in fact internally different, less efficient | |
| 13351 | and with very bad luck could have resulted in your file being split by a | |
| 13352 | stringified form of the reference. | |
| 13353 | 7193 | |
| 13354 | 7194 | =end original |
| 13355 | 7195 | |
| 13356 | (F) | |
| 7196 | (F) setuid エミュレータは、誰もが書き込みができるようになっている | |
| 13357 | ||
| 7197 | スクリプトは実行しません。 | |
| 13358 | ||
| 7198 | 誰かが既に書き換えたかも知れないからです。 | |
| 13359 | 内部的には異なっていて、より非効率で、とても運が悪い場合はファイルが | |
| 13360 | このリファレンスの文字列化形式で split されることになっていました。 | |
| 13361 | 7199 | |
| 13362 | =begin original | |
| 13363 | ||
| 13364 | In Perl 5.20.0 this was changed so that it would be B<exactly> the same as | |
| 13365 | setting C<$/> to undef, with the exception that this warning would be thrown. | |
| 13366 | ||
| 13367 | =end original | |
| 13368 | ||
| 13369 | Perl 5.20.0 でこれは変更され、これはこの警告が投げられることを除いては | |
| 13370 | C<$/> に undef を設定するのと B<正確に> 同じになりました。 | |
| 13371 | ||
| 13372 | =begin original | |
| 13373 | ||
| 13374 | You are recommended to change your code to set C<$/> to C<undef> explicitly if | |
| 13375 | you wish to slurp the file. As of Perl 5.28 assigning C<$/> to a reference | |
| 13376 | to an integer which isn't positive is a fatal error. | |
| 13377 | ||
| 13378 | =end original | |
| 13379 | ||
| 13380 | ファイル全体を読み込みたい場合は、明示的に C<$/> に C<undef> を | |
| 13381 | 設定するようにコードを変更することを勧めます。 | |
| 13382 | Perl 5.28 から、C<$/> への正でない整数へのリファレンスの代入は | |
| 13383 | 致命的エラーです。 | |
| 13384 | ||
| 13385 | =item Setting $/ to %s reference is forbidden | |
| 13386 | ||
| 13387 | =begin original | |
| 13388 | ||
| 13389 | (F) You tried to assign a reference to a non integer to C<$/>. In older | |
| 13390 | Perls this would have behaved similarly to setting it to a reference to | |
| 13391 | a positive integer, where the integer was the address of the reference. | |
| 13392 | As of Perl 5.20.0 this is a fatal error, to allow future versions of Perl | |
| 13393 | to use non-integer refs for more interesting purposes. | |
| 13394 | ||
| 13395 | =end original | |
| 13396 | ||
| 13397 | (F) 非整数へのリファレンスを C<$/> に代入しようとしました。 | |
| 13398 | 以前の Perl ではこれは正の整数(リファレンスのアドレス)へのリファレンスを | |
| 13399 | 設定するのと似たように振る舞っていました。 | |
| 13400 | 将来のバージョンの Perl で非整数リファレンスをより興味深い目的に使えるように | |
| 13401 | Perl 5.20.0 から、これは致命的エラーになりました。 | |
| 13402 | ||
| 13403 | 7200 | =item shm%s not implemented |
| 13404 | 7201 | |
| 13405 | 7202 | =begin original |
| 13406 | 7203 | |
| 13407 | 7204 | (F) You don't have System V shared memory IPC on your system. |
| 13408 | 7205 | |
| 13409 | 7206 | =end original |
| 13410 | 7207 | |
| 13411 | 7208 | (F) このシステムでは、System V 共有メモリ IPC は使えません。 |
| 13412 | 7209 | |
| 13413 | =item | |
| 7210 | =item <> should be quotes | |
| 13414 | 7211 | |
| 13415 | 7212 | =begin original |
| 13416 | 7213 | |
| 13417 | ( | |
| 7214 | (F) You wrote C<< require <file> >> when you should have written | |
| 13418 | ||
| 7215 | C<require 'file'>. | |
| 13419 | operators: probably not what you intended. | |
| 13420 | 7216 | |
| 13421 | 7217 | =end original |
| 13422 | 7218 | |
| 13423 | ( | |
| 7219 | (F) C<require 'file'> と書くべきところで C<< require <file> >> と | |
| 13424 | ||
| 7220 | 書いています。 | |
| 13425 | おそらくあなたの意図していることではないでしょう。 | |
| 13426 | 7221 | |
| 13427 | 7222 | =item /%s/ should probably be written as "%s" |
| 13428 | 7223 | |
| 13429 | 7224 | =begin original |
| 13430 | 7225 | |
| 13431 | 7226 | (W syntax) You have used a pattern where Perl expected to find a string, |
| 13432 | 7227 | as in the first argument to C<join>. Perl will treat the true or false |
| 13433 | 7228 | result of matching the pattern against $_ as the string, which is |
| 13434 | 7229 | probably not what you had in mind. |
| 13435 | 7230 | |
| 13436 | 7231 | =end original |
| 13437 | 7232 | |
| 13438 | 7233 | (W syntax) C<join> の最初の引数として、Perl が文字列を想定しているところに |
| 13439 | 7234 | パターンを使いました。 |
| 13440 | 7235 | Perl は $_ をパターンマッチングした結果の真か偽の値を文字列として |
| 13441 | 7236 | 扱いますが、これはおそらく望んでいることではないでしょう。 |
| 13442 | 7237 | |
| 13443 | 7238 | =item shutdown() on closed socket %s |
| 13444 | 7239 | |
| 13445 | 7240 | =begin original |
| 13446 | 7241 | |
| 13447 | 7242 | (W closed) You tried to do a shutdown on a closed socket. Seems a bit |
| 13448 | 7243 | superfluous. |
| 13449 | 7244 | |
| 13450 | 7245 | =end original |
| 13451 | 7246 | |
| 13452 | 7247 | (W closed) クローズされたソケットに shutdown を行なおうとしました。 |
| 13453 | 7248 | 多少、無駄のように思われます。 |
| 13454 | 7249 | |
| 13455 | 7250 | =item SIG%s handler "%s" not defined |
| 13456 | 7251 | |
| 13457 | 7252 | =begin original |
| 13458 | 7253 | |
| 13459 | 7254 | (W signal) The signal handler named in %SIG doesn't, in fact, exist. |
| 13460 | 7255 | Perhaps you put it into the wrong package? |
| 13461 | 7256 | |
| 13462 | 7257 | =end original |
| 13463 | 7258 | |
| 13464 | 7259 | (W signal) %SIG 内で指定したシグナルハンドラが、存在しません。 |
| 13465 | 7260 | 間違ったパッケージで、設定を行なっているのかもしれません。 |
| 13466 | 7261 | |
| 13467 | =item Slab leaked from cv %p | |
| 13468 | ||
| 13469 | =begin original | |
| 13470 | ||
| 13471 | (S) If you see this message, then something is seriously wrong with the | |
| 13472 | internal bookkeeping of op trees. An op tree needed to be freed after | |
| 13473 | a compilation error, but could not be found, so it was leaked instead. | |
| 13474 | ||
| 13475 | =end original | |
| 13476 | ||
| 13477 | (S) このメッセージが出た場合、構文木の内部管理で何かひどく | |
| 13478 | 悪いことになっています。 | |
| 13479 | ある構文木がコンパイルエラーの後で解放される必要がありますが、 | |
| 13480 | 見つからないので、リークしています。 | |
| 13481 | ||
| 13482 | =item sleep(%u) too large | |
| 13483 | ||
| 13484 | =begin original | |
| 13485 | ||
| 13486 | (W overflow) You called C<sleep> with a number that was larger than | |
| 13487 | it can reliably handle and C<sleep> probably slept for less time than | |
| 13488 | requested. | |
| 13489 | ||
| 13490 | =end original | |
| 13491 | ||
| 13492 | (W overflow) 確実に扱えるよりも大きな値で C<sleep> を呼び出したので、 | |
| 13493 | C<sleep> はおそらく指定されたより短い時間だけスリープします。 | |
| 13494 | ||
| 13495 | =item Slurpy parameter not last | |
| 13496 | ||
| 13497 | =begin original | |
| 13498 | ||
| 13499 | (F) In a subroutine signature, you put something after a slurpy (array or | |
| 13500 | hash) parameter. The slurpy parameter takes all the available arguments, | |
| 13501 | so there can't be any left to fill later parameters. | |
| 13502 | ||
| 13503 | =end original | |
| 13504 | ||
| 13505 | (F) サブルーチンシグネチャの中で、吸い込み(配列またはハッシュ)パラメータの後に | |
| 13506 | 何かを起きました。 | |
| 13507 | 吸い込みパラメータは利用可能な全ての引数を取るので、その後のパラメータに | |
| 13508 | 対応するものを残しません。 | |
| 13509 | ||
| 13510 | =item Smart matching a non-overloaded object breaks encapsulation | |
| 13511 | ||
| 13512 | =begin original | |
| 13513 | ||
| 13514 | (F) You should not use the C<~~> operator on an object that does not | |
| 13515 | overload it: Perl refuses to use the object's underlying structure | |
| 13516 | for the smart match. | |
| 13517 | ||
| 13518 | =end original | |
| 13519 | ||
| 13520 | (F) オーバーロードしていないオブジェクトに対して C<~~> 演算子を | |
| 13521 | 使うべきではありません: Perl はスマートマッチング時にオブジェクトの | |
| 13522 | 基礎となる構造を使うことを拒否します。 | |
| 13523 | ||
| 13524 | =item Smartmatch is experimental | |
| 13525 | ||
| 13526 | =begin original | |
| 13527 | ||
| 13528 | (S experimental::smartmatch) This warning is emitted if you | |
| 13529 | use the smartmatch (C<~~>) operator. This is currently an experimental | |
| 13530 | feature, and its details are subject to change in future releases of | |
| 13531 | Perl. Particularly, its current behavior is noticed for being | |
| 13532 | unnecessarily complex and unintuitive, and is very likely to be | |
| 13533 | overhauled. | |
| 13534 | ||
| 13535 | =end original | |
| 13536 | ||
| 13537 | (S experimental::smartmatch) この警告は、スマートマッチング (C<~~>) 演算子を | |
| 13538 | 使ったときに出力されます。 | |
| 13539 | これは現在のところ実験的な機能で、Perl の将来のリリースでは変更される | |
| 13540 | 可能性があります。 | |
| 13541 | 特に、現在の実装は不必要に複雑かつ直感的でないとされており、ほぼ確実に | |
| 13542 | 見直されます。 | |
| 13543 | ||
| 13544 | =item Sorry, hash keys must be smaller than 2**31 bytes | |
| 13545 | ||
| 13546 | =begin original | |
| 13547 | ||
| 13548 | (F) You tried to create a hash containing a very large key, where "very | |
| 13549 | large" means that it needs at least 2 gigabytes to store. Unfortunately, | |
| 13550 | Perl doesn't yet handle such large hash keys. You should | |
| 13551 | reconsider your design to avoid hashing such a long string directly. | |
| 13552 | ||
| 13553 | =end original | |
| 13554 | ||
| 13555 | (F) とても大きなキーを含むハッシュを作ろうとしました; | |
| 13556 | ここで「とても大きな」とは、保管に最低 2 ギガバイト必要なものです。 | |
| 13557 | 残念ながら、Perl はまだそのような大きなハッシュキーを扱えません。 | |
| 13558 | そのような長い文字列で直接ハッシュを作るのを避けるように、 | |
| 13559 | 設計を再考する必要があります。 | |
| 13560 | ||
| 13561 | 7262 | =item sort is now a reserved word |
| 13562 | 7263 | |
| 13563 | 7264 | =begin original |
| 13564 | 7265 | |
| 13565 | 7266 | (F) An ancient error message that almost nobody ever runs into anymore. |
| 13566 | 7267 | But before sort was a keyword, people sometimes used it as a filehandle. |
| 13567 | 7268 | |
| 13568 | 7269 | =end original |
| 13569 | 7270 | |
| 13570 | 7271 | (F) もはや、誰もお目にかかることのない、旧世代のエラーメッセージです。 |
| 13571 | 7272 | ただ、sort がキーワードとなる前には、これをファイルハンドルとして |
| 13572 | 7273 | 使う方がいました。 |
| 13573 | 7274 | |
| 13574 | =item Sour | |
| 7275 | =item Sort subroutine didn't return a numeric value | |
| 13575 | 7276 | |
| 13576 | 7277 | =begin original |
| 13577 | 7278 | |
| 13578 | (F) | |
| 7279 | (F) A sort comparison routine must return a number. You probably blew | |
| 13579 | ||
| 7280 | it by not using C<< <=> >> or C<cmp>, or by not using them correctly. | |
| 13580 | ||
| 7281 | See L<perlfunc/sort>. | |
| 13581 | C<evalbytes> instead. See L<feature>. | |
| 13582 | 7282 | |
| 13583 | 7283 | =end original |
| 13584 | 7284 | |
| 13585 | (F) | |
| 7285 | (F) sort の比較ルーティンは、必ず数値を返さなければなりません。 | |
| 13586 | ||
| 7286 | C<< <=> >> や C<cmp> を使わなかったか、正しく使わなかったものと思います。 | |
| 13587 | ||
| 7287 | L<perlfunc/sort> を参照してください。 | |
| 13588 | 代わりに C<evalbytes> を使うことを検討してください。 | |
| 13589 | L<feature> を参照してください。 | |
| 13590 | 7288 | |
| 13591 | =item s | |
| 7289 | =item Sort subroutine didn't return single value | |
| 13592 | 7290 | |
| 13593 | 7291 | =begin original |
| 13594 | 7292 | |
| 13595 | ( | |
| 7293 | (F) A sort comparison subroutine may not return a list value with more | |
| 13596 | ||
| 7294 | or less than one element. See L<perlfunc/sort>. | |
| 13597 | end of the array, rather than past it. If this isn't what you want, | |
| 13598 | try explicitly pre-extending the array by assigning $#array = $offset. | |
| 13599 | See L<perlfunc/splice>. | |
| 13600 | 7295 | |
| 13601 | 7296 | =end original |
| 13602 | 7297 | |
| 13603 | ( | |
| 7298 | (F) sort の比較サブルーティンは、要素が 1 個以外のリスト値を | |
| 13604 | ||
| 7299 | 返すことはできません。 | |
| 13605 | ||
| 7300 | L<perlfunc/sort>を参照してください。 | |
| 13606 | 明示的に事前に配列を拡張してください。 | |
| 13607 | L<perlfunc/splice> を参照してください。 | |
| 13608 | 7301 | |
| 13609 | 7302 | =item Split loop |
| 13610 | 7303 | |
| 13611 | 7304 | =begin original |
| 13612 | 7305 | |
| 13613 | 7306 | (P) The split was looping infinitely. (Obviously, a split shouldn't |
| 13614 | 7307 | iterate more times than there are characters of input, which is what |
| 13615 | happened.) | |
| 7308 | happened.) See L<perlfunc/split>. | |
| 13616 | 7309 | |
| 13617 | 7310 | =end original |
| 13618 | 7311 | |
| 13619 | 7312 | (P) split が無限ループに陥りました。 |
| 13620 | 7313 | (明らかに、split は、入力文字数以上にはできないはずですが、 |
| 13621 | 7314 | そうなってしまいました。) |
| 13622 | 7315 | L<perlfunc/split> を参照してください。 |
| 13623 | 7316 | |
| 13624 | 7317 | =item Statement unlikely to be reached |
| 13625 | 7318 | |
| 13626 | 7319 | =begin original |
| 13627 | 7320 | |
| 13628 | 7321 | (W exec) You did an exec() with some statement after it other than a |
| 13629 | 7322 | die(). This is almost always an error, because exec() never returns |
| 13630 | 7323 | unless there was a failure. You probably wanted to use system() |
| 13631 | 7324 | instead, which does return. To suppress this warning, put the exec() in |
| 13632 | 7325 | a block by itself. |
| 13633 | 7326 | |
| 13634 | 7327 | =end original |
| 13635 | 7328 | |
| 13636 | 7329 | (W exec) exec() の後に、die() 以外の実行文があります。 |
| 13637 | 7330 | 失敗したとき以外は、exec() から戻ってくることはありませんから、 |
| 13638 | 7331 | ほとんどの場合には誤りでしょう。 |
| 13639 | 7332 | 戻ってくるsystem() に置き換える必要があるかもしれません。 |
| 13640 | 7333 | この警告を止めるには、ブロック内に exec() だけを記述してください。 |
| 13641 | 7334 | |
| 13642 | =item "state" subroutine %s can't be in a package | |
| 13643 | ||
| 13644 | =begin original | |
| 13645 | ||
| 13646 | (F) Lexically scoped subroutines aren't in a package, so it doesn't make | |
| 13647 | sense to try to declare one with a package qualifier on the front. | |
| 13648 | ||
| 13649 | =end original | |
| 13650 | ||
| 13651 | (F) レキシカルスコープサブルーチンはパッケージ内にないので、 | |
| 13652 | 頭にパッケージ名を付けて宣言することは、無意味です。 | |
| 13653 | ||
| 13654 | =item "state %s" used in sort comparison | |
| 13655 | ||
| 13656 | =begin original | |
| 13657 | ||
| 13658 | (W syntax) The package variables $a and $b are used for sort comparisons. | |
| 13659 | You used $a or $b in as an operand to the C<< <=> >> or C<cmp> operator inside a | |
| 13660 | sort comparison block, and the variable had earlier been declared as a | |
| 13661 | lexical variable. Either qualify the sort variable with the package | |
| 13662 | name, or rename the lexical variable. | |
| 13663 | ||
| 13664 | =end original | |
| 13665 | ||
| 13666 | (W syntax) パッケージ変数 $a と $b はソート比較のために使われます。 | |
| 13667 | $a または $b をソート比較ブロックの中の C<< <=> >> または C<cmp> 演算子の | |
| 13668 | オペランドとして使いましたが、この変数はその前にレキシカル変数として | |
| 13669 | 宣言されています。 | |
| 13670 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を変えてください。 | |
| 13671 | ||
| 13672 | =item "state" variable %s can't be in a package | |
| 13673 | ||
| 13674 | =begin original | |
| 13675 | ||
| 13676 | (F) Lexically scoped variables aren't in a package, so it doesn't make | |
| 13677 | sense to try to declare one with a package qualifier on the front. Use | |
| 13678 | local() if you want to localize a package variable. | |
| 13679 | ||
| 13680 | =end original | |
| 13681 | ||
| 13682 | (F) レキシカルスコープサブルーチンはパッケージ内にないので、 | |
| 13683 | 頭にパッケージ名を付けて宣言することは、無意味です。 | |
| 13684 | パッケージ変数をローカル化したい場合には、local() を使ってください。 | |
| 13685 | ||
| 13686 | 7335 | =item stat() on unopened filehandle %s |
| 13687 | 7336 | |
| 13688 | 7337 | =begin original |
| 13689 | 7338 | |
| 13690 | 7339 | (W unopened) You tried to use the stat() function on a filehandle that |
| 13691 | 7340 | was either never opened or has since been closed. |
| 13692 | 7341 | |
| 13693 | 7342 | =end original |
| 13694 | 7343 | |
| 13695 | 7344 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
| 13696 | 7345 | ファイルハンドルに対して、stat() 関数を使おうとしました。 |
| 13697 | 7346 | |
| 13698 | =item St | |
| 7347 | =item Stub found while resolving method `%s' overloading %s | |
| 13699 | 7348 | |
| 13700 | 7349 | =begin original |
| 13701 | 7350 | |
| 13702 | (W utf8) You tried to open a reference to a scalar for read or append | |
| 13703 | where the scalar contained code points over 0xFF. In-memory files | |
| 13704 | model on-disk files and can only contain bytes. | |
| 13705 | ||
| 13706 | =end original | |
| 13707 | ||
| 13708 | (W utf8) 0xFF を超える符号位置を含むスカラに対して、読み込みや追加で | |
| 13709 | スカラへのリファレンスを開こうとしました。 | |
| 13710 | インメモリファイルはディスクのファイルをモデル化していて、バイトのみが | |
| 13711 | 使えます。 | |
| 13712 | ||
| 13713 | =item Stub found while resolving method "%s" overloading "%s" in package "%s" | |
| 13714 | ||
| 13715 | =begin original | |
| 13716 | ||
| 13717 | 7351 | (P) Overloading resolution over @ISA tree may be broken by importation |
| 13718 | 7352 | stubs. Stubs should never be implicitly created, but explicit calls to |
| 13719 | 7353 | C<can> may break this. |
| 13720 | 7354 | |
| 13721 | 7355 | =end original |
| 13722 | 7356 | |
| 13723 | 7357 | (P) @ISA ツリーでのオーバーロードの解決がインポートのスタブで壊されました。 |
| 13724 | 7358 | スタブは暗黙に作られることはありませんが、明示的に C<can> を呼び出すと |
| 13725 | 7359 | これを破壊することがあります。 |
| 13726 | 7360 | |
| 13727 | =item Subroutine attributes must come before the signature | |
| 13728 | ||
| 13729 | =begin original | |
| 13730 | ||
| 13731 | (F) When subroutine signatures are enabled, any subroutine attributes must | |
| 13732 | come before the signature. Note that this order was the opposite in | |
| 13733 | versions 5.22..5.26. So: | |
| 13734 | ||
| 13735 | =end original | |
| 13736 | ||
| 13737 | (F) サブルーチンシグネチャが有効の場合、サブルーチン属性は | |
| 13738 | シグネチャの前に来なければなりません。 | |
| 13739 | この順序はバージョン 5.22 .. 5.26 と反対であることに注意してください。 | |
| 13740 | 従って: | |
| 13741 | ||
| 13742 | sub foo :lvalue ($a, $b) { ... } # 5.20 and 5.28 + | |
| 13743 | sub foo ($a, $b) :lvalue { ... } # 5.22 .. 5.26 | |
| 13744 | ||
| 13745 | =item Subroutine "&%s" is not available | |
| 13746 | ||
| 13747 | =begin original | |
| 13748 | ||
| 13749 | (W closure) During compilation, an inner named subroutine or eval is | |
| 13750 | attempting to capture an outer lexical subroutine that is not currently | |
| 13751 | available. This can happen for one of two reasons. First, the lexical | |
| 13752 | subroutine may be declared in an outer anonymous subroutine that has | |
| 13753 | not yet been created. (Remember that named subs are created at compile | |
| 13754 | time, while anonymous subs are created at run-time.) For example, | |
| 13755 | ||
| 13756 | =end original | |
| 13757 | ||
| 13758 | (W closure) コンパイル時に、内部の名前付きサブルーチンや eval が、現在 | |
| 13759 | 利用できない外側のレキシカルサブルーチンを捕捉しようとしました。 | |
| 13760 | これは二つの理由で起こります。 | |
| 13761 | まず、レキシカルサブルーチンが、まだ作成されていない外側の無名サブルーチンで | |
| 13762 | 宣言されたときです。 | |
| 13763 | (名前付きサブルーチンはコンパイル時に作成されますが、無名サブルーチンは | |
| 13764 | 実行時に作成されることを思い出してください。) | |
| 13765 | 例えば、 | |
| 13766 | ||
| 13767 | sub { my sub a {...} sub f { \&a } } | |
| 13768 | ||
| 13769 | =begin original | |
| 13770 | ||
| 13771 | At the time that f is created, it can't capture the current "a" sub, | |
| 13772 | since the anonymous subroutine hasn't been created yet. Conversely, the | |
| 13773 | following won't give a warning since the anonymous subroutine has by now | |
| 13774 | been created and is live: | |
| 13775 | ||
| 13776 | =end original | |
| 13777 | ||
| 13778 | f が作成された時点で、現在の "a" サブルーチンは捕捉できません; なぜなら | |
| 13779 | 無名サブルーチンはまだ作成されていないからです。 | |
| 13780 | 逆に、以下のものは警告されません; 無名サブルーチンはこの時点で作成されていて | |
| 13781 | 生きているからです: | |
| 13782 | ||
| 13783 | sub { my sub a {...} eval 'sub f { \&a }' }->(); | |
| 13784 | ||
| 13785 | =begin original | |
| 13786 | ||
| 13787 | The second situation is caused by an eval accessing a lexical subroutine | |
| 13788 | that has gone out of scope, for example, | |
| 13789 | ||
| 13790 | =end original | |
| 13791 | ||
| 13792 | 2 番目の状況は eval がスコープ外となったレキシカルサブルーチンに | |
| 13793 | アクセスすることで起こります; 例えば: | |
| 13794 | ||
| 13795 | sub f { | |
| 13796 | my sub a {...} | |
| 13797 | sub { eval '\&a' } | |
| 13798 | } | |
| 13799 | f()->(); | |
| 13800 | ||
| 13801 | =begin original | |
| 13802 | ||
| 13803 | Here, when the '\&a' in the eval is being compiled, f() is not currently | |
| 13804 | being executed, so its &a is not available for capture. | |
| 13805 | ||
| 13806 | =end original | |
| 13807 | ||
| 13808 | ここで、eval の中の '\&a' がコンパイルされるとき、f() はこの時点では | |
| 13809 | 実行されていないので、&a は捕捉として利用できません。 | |
| 13810 | ||
| 13811 | =item "%s" subroutine &%s masks earlier declaration in same %s | |
| 13812 | ||
| 13813 | =begin original | |
| 13814 | ||
| 13815 | (W shadow) A "my" or "state" subroutine has been redeclared in the | |
| 13816 | current scope or statement, effectively eliminating all access to | |
| 13817 | the previous instance. This is almost always a typographical error. | |
| 13818 | Note that the earlier subroutine will still exist until the end of | |
| 13819 | the scope or until all closure references to it are destroyed. | |
| 13820 | ||
| 13821 | =end original | |
| 13822 | ||
| 13823 | (W shadow) "my" または "state" サブルーチンは現在のスコープまたは文で | |
| 13824 | 再定義されたため、事実上以前の実体への全てのアクセスが取り除かれます。 | |
| 13825 | これはほとんど常にタイプミスです。 | |
| 13826 | 最初のサブルーチンはスコープの末尾に到達するか、これを参照している | |
| 13827 | 全てのクロージャが破壊されるまで存在したままであることに注意してください。 | |
| 13828 | ||
| 13829 | 7361 | =item Subroutine %s redefined |
| 13830 | 7362 | |
| 13831 | 7363 | =begin original |
| 13832 | 7364 | |
| 13833 | 7365 | (W redefine) You redefined a subroutine. To suppress this warning, say |
| 13834 | 7366 | |
| 13835 | 7367 | =end original |
| 13836 | 7368 | |
| 13837 | (W redefine) サブルー | |
| 7369 | (W redefine) サブルーティンを再定義しました。 | |
| 13838 | この警告を止めるには以下のようにしてください: | |
| 7370 | この警告を止めるには、以下のようにしてください: | |
| 13839 | 7371 | |
| 13840 | 7372 | { |
| 13841 | no warnings | |
| 7373 | no warnings; | |
| 13842 | 7374 | eval "sub name { ... }"; |
| 13843 | 7375 | } |
| 13844 | 7376 | |
| 13845 | =item Subroutine "%s" will not stay shared | |
| 13846 | ||
| 13847 | =begin original | |
| 13848 | ||
| 13849 | (W closure) An inner (nested) I<named> subroutine is referencing a "my" | |
| 13850 | subroutine defined in an outer named subroutine. | |
| 13851 | ||
| 13852 | =end original | |
| 13853 | ||
| 13854 | (W closure) 内側の (ネストした) I<名前付き> サブルーチンが、 | |
| 13855 | 外側の名前付きサブルーチンで定義された "my" サブルーチンを参照しています。 | |
| 13856 | ||
| 13857 | =begin original | |
| 13858 | ||
| 13859 | When the inner subroutine is called, it will see the value of the outer | |
| 13860 | subroutine's lexical subroutine as it was before and during the *first* | |
| 13861 | call to the outer subroutine; in this case, after the first call to the | |
| 13862 | outer subroutine is complete, the inner and outer subroutines will no | |
| 13863 | longer share a common value for the lexical subroutine. In other words, | |
| 13864 | it will no longer be shared. This will especially make a difference | |
| 13865 | if the lexical subroutines accesses lexical variables declared in its | |
| 13866 | surrounding scope. | |
| 13867 | ||
| 13868 | =end original | |
| 13869 | ||
| 13870 | 内側のサブルーチンが呼び出されるとき、 | |
| 13871 | 外側のサブルーチンのレキシカルサブルーチンの値は、 | |
| 13872 | 外側のサブルーチンの「最初の」呼び出し前と呼び出し中のものになります; | |
| 13873 | この場合、外側のサブルーチンへの最初の呼び出しが終了した後、 | |
| 13874 | 内側と外側のサブルーチンはもはやレキシカルサブルーチンについて | |
| 13875 | 共通の値を共有しません。 | |
| 13876 | 言い換えると、これはもはや共有されません。 | |
| 13877 | これは特に、レキシカルサブルーチンがその周りのスコープで宣言された | |
| 13878 | レキシカル変数にアクセスしたときに違いがあります。 | |
| 13879 | ||
| 13880 | =begin original | |
| 13881 | ||
| 13882 | This problem can usually be solved by making the inner subroutine | |
| 13883 | anonymous, using the C<sub {}> syntax. When inner anonymous subs that | |
| 13884 | reference lexical subroutines in outer subroutines are created, they | |
| 13885 | are automatically rebound to the current values of such lexical subs. | |
| 13886 | ||
| 13887 | =end original | |
| 13888 | ||
| 13889 | この問題は普通、C<sub {}> 構文を使って内側のサブルーチンを無名にすることで | |
| 13890 | 解決します。 | |
| 13891 | 外側のサブルーチンのレキシカルサブルーチンを参照する内側の | |
| 13892 | 無名サブルーチンが作成されたとき、そのレキシカルサブルーチンの現在の値に | |
| 13893 | 自動的に回復します。 | |
| 13894 | ||
| 13895 | 7377 | =item Substitution loop |
| 13896 | 7378 | |
| 13897 | 7379 | =begin original |
| 13898 | 7380 | |
| 13899 | 7381 | (P) The substitution was looping infinitely. (Obviously, a substitution |
| 13900 | 7382 | shouldn't iterate more times than there are characters of input, which |
| 13901 | 7383 | is what happened.) See the discussion of substitution in |
| 13902 | L<perlop/" | |
| 7384 | L<perlop/"Quote and Quote-like Operators">. | |
| 13903 | 7385 | |
| 13904 | 7386 | =end original |
| 13905 | 7387 | |
| 13906 | 7388 | (P) 置換が無限ループに陥りました。 |
| 13907 | 7389 | (明らかに、置換は入力文字数以上には起こらないはずですが、 |
| 13908 | 7390 | それが起こってしまいました。) |
| 13909 | L<perlop/"Quote and Quote- | |
| 7391 | L<perlop/"Quote and Quote-like Operators"> を参照してください。 | |
| 13910 | 7392 | |
| 13911 | 7393 | =item Substitution pattern not terminated |
| 13912 | 7394 | |
| 13913 | 7395 | =begin original |
| 13914 | 7396 | |
| 13915 | (F) The lexer couldn't find the interior delimiter of a | |
| 7397 | (F) The lexer couldn't find the interior delimiter of a s/// or s{}{} | |
| 13916 | 7398 | construct. Remember that bracketing delimiters count nesting level. |
| 13917 | 7399 | Missing the leading C<$> from variable C<$s> may cause this error. |
| 13918 | 7400 | |
| 13919 | 7401 | =end original |
| 13920 | 7402 | |
| 13921 | 7403 | (F) s/// もしくは s{}{} 構文の真ん中の区切り文字が見つかりませんでした。 |
| 13922 | ||
| 7404 | 括弧類の区切り文字では、ネストを数えることを忘れないでください。 | |
| 13923 | 7405 | C<$s> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 |
| 13924 | 7406 | |
| 13925 | 7407 | =item Substitution replacement not terminated |
| 13926 | 7408 | |
| 13927 | 7409 | =begin original |
| 13928 | 7410 | |
| 13929 | (F) The lexer couldn't find the final delimiter of a | |
| 7411 | (F) The lexer couldn't find the final delimiter of a s/// or s{}{} | |
| 13930 | 7412 | construct. Remember that bracketing delimiters count nesting level. |
| 13931 | 7413 | Missing the leading C<$> from variable C<$s> may cause this error. |
| 13932 | 7414 | |
| 13933 | 7415 | =end original |
| 13934 | 7416 | |
| 13935 | 7417 | (F) s/// もしくは s{}{} 構文の最後の区切り文字が見つかりませんでした。 |
| 13936 | ||
| 7418 | 括弧類の区切り文字では、ネストを数えることを忘れないでください。 | |
| 13937 | 7419 | C<$s> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 |
| 13938 | 7420 | |
| 13939 | 7421 | =item substr outside of string |
| 13940 | 7422 | |
| 13941 | 7423 | =begin original |
| 13942 | 7424 | |
| 13943 | (W substr)(F) You tried to reference a substr() that pointed outside of | |
| 7425 | (W substr),(F) You tried to reference a substr() that pointed outside of | |
| 13944 | 7426 | a string. That is, the absolute value of the offset was larger than the |
| 13945 | 7427 | length of the string. See L<perlfunc/substr>. This warning is fatal if |
| 13946 | 7428 | substr is used in an lvalue context (as the left hand side of an |
| 13947 | 7429 | assignment or as a subroutine argument for example). |
| 13948 | 7430 | |
| 13949 | 7431 | =end original |
| 13950 | 7432 | |
| 13951 | (W substr)(F) 文字列の外を指す substr() を参照しようとしました。 | |
| 7433 | (W substr),(F) 文字列の外を指す substr() を参照しようとしました。 | |
| 13952 | 7434 | つまり、オフセットの絶対値が、文字列の長さより大きくなっています。 |
| 13953 | 7435 | L<perlfunc/substr> を参照してください。 |
| 13954 | 7436 | この警告は、substr が(代入の左側やサブルーチンの引数といった) |
| 13955 | 7437 | 左辺値として使われた場合は致命的となります。 |
| 13956 | 7438 | |
| 13957 | =item s | |
| 7439 | =item suidperl is no longer needed since %s | |
| 13958 | 7440 | |
| 13959 | 7441 | =begin original |
| 13960 | 7442 | |
| 13961 | ( | |
| 7443 | (F) Your Perl was compiled with B<-D>SETUID_SCRIPTS_ARE_SECURE_NOW, but | |
| 13962 | ||
| 7444 | a version of the setuid emulator somehow got run anyway. | |
| 13963 | 7445 | |
| 13964 | 7446 | =end original |
| 13965 | 7447 | |
| 13966 | ( | |
| 7448 | (F) お使いの Perl は、-DSETUID_SCRIPTS_ARE_SECURE_NOW を | |
| 13967 | ||
| 7449 | 指定してコンパイルされていますが、setuid エミュレータが、 | |
| 7450 | 実行されてしまいました。 | |
| 13968 | 7451 | |
| 13969 | =item S | |
| 7452 | =item Switch (?(condition)... contains too many branches before << HE%s | |
| 13970 | 7453 | |
| 13971 | 7454 | =begin original |
| 13972 | 7455 | |
| 13973 | ( | |
| 7456 | (F) A (?(condition)if-clause|else-clause) construct can have at most two | |
| 13974 | ||
| 7457 | branches (the if-clause and the else-clause). If you want one or both to | |
| 7458 | contain alternation, such as using C<this|that|other>, enclose it in | |
| 7459 | clustering parentheses: | |
| 13975 | 7460 | |
| 13976 | 7461 | =end original |
| 13977 | 7462 | |
| 13978 | ( | |
| 7463 | (F) (?(condition)if-clause|else-clause) 構造は最大で 2 つの分岐 | |
| 13979 | ||
| 13980 | =item Switch (?(condition)... contains too many branches in regex; marked by | |
| 13981 | S<<-- HERE> in m/%s/ | |
| 13982 | ||
| 13983 | =begin original | |
| 13984 | ||
| 13985 | (F) A (?(condition)if-clause|else-clause) construct can have at most | |
| 13986 | two branches (the if-clause and the else-clause). If you want one or | |
| 13987 | both to contain alternation, such as using C<this|that|other>, enclose | |
| 13988 | it in clustering parentheses: | |
| 13989 | ||
| 13990 | =end original | |
| 13991 | ||
| 13992 | (F) (?(condition)if-clause|else-clause) 構造は最大で二つの分岐 | |
| 13993 | 7464 | (if-clause と else-clause) を持つことができます。 |
| 13994 | 7465 | 片方、または両方に選択肢を含めたいときは、それをかっこで囲んでください: |
| 13995 | 7466 | |
| 13996 | 7467 | (?(condition)(?:this|that|other)|else-clause) |
| 13997 | 7468 | |
| 13998 | 7469 | =begin original |
| 13999 | 7470 | |
| 14000 | The | |
| 7471 | The << HERE shows in the regular expression about where the problem was | |
| 14001 | ||
| 7472 | discovered. See L<perlre>. | |
| 14002 | 7473 | |
| 14003 | 7474 | =end original |
| 14004 | 7475 | |
| 14005 | ||
| 7476 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 14006 | 7477 | L<perlre> を参照してください。 |
| 14007 | 7478 | |
| 14008 | =item Switch condition not recognized | |
| 7479 | =item Switch condition not recognized before << HERE in regex m/%s/ | |
| 14009 | m/%s/ | |
| 14010 | 7480 | |
| 14011 | 7481 | =begin original |
| 14012 | 7482 | |
| 14013 | (F) | |
| 7483 | (F) If the argument to the (?(...)if-clause|else-clause) construct is a | |
| 14014 | ||
| 7484 | number, it can be only a number. The << HERE shows in the regular expression | |
| 7485 | about where the problem was discovered. See L<perlre>. | |
| 14015 | 7486 | |
| 14016 | 7487 | =end original |
| 14017 | 7488 | |
| 14018 | (?(...)if-clause|else-clause) 構造の | |
| 7489 | (?(...)if-clause|else-clause) 構造の引数が数値なら、数値だけが可能です。 | |
| 14019 | ||
| 7490 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 14020 | ||
| 14021 | (1) (2) ... true if 1st, 2nd, etc., capture matched | |
| 14022 | (<NAME>) ('NAME') true if named capture matched | |
| 14023 | (?=...) (?<=...) true if subpattern matches | |
| 14024 | (?!...) (?<!...) true if subpattern fails to match | |
| 14025 | (?{ CODE }) true if code returns a true value | |
| 14026 | (R) true if evaluating inside recursion | |
| 14027 | (R1) (R2) ... true if directly inside capture group 1, 2, etc. | |
| 14028 | (R&NAME) true if directly inside named capture | |
| 14029 | (DEFINE) always false; for defining named subpatterns | |
| 14030 | ||
| 14031 | =begin original | |
| 14032 | ||
| 14033 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
| 14034 | discovered. See L<perlre>. | |
| 14035 | ||
| 14036 | =end original | |
| 14037 | ||
| 14038 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 14039 | 7491 | L<perlre> を参照してください。 |
| 14040 | 7492 | |
| 14041 | =item Switch (?(condition)... not terminated in regex; marked by | |
| 14042 | S<<-- HERE> in m/%s/ | |
| 14043 | ||
| 14044 | =begin original | |
| 14045 | ||
| 14046 | (F) You omitted to close a (?(condition)...) block somewhere | |
| 14047 | in the pattern. Add a closing parenthesis in the appropriate | |
| 14048 | position. See L<perlre>. | |
| 14049 | ||
| 14050 | =end original | |
| 14051 | ||
| 14052 | (F) パターン中のどこかで (?(condition)...) ブロックを閉じるのを省略しました。 | |
| 14053 | 適切な位置に閉じかっこを追加してください。 | |
| 14054 | L<perlre> を参照してください。 | |
| 14055 | ||
| 14056 | 7493 | =item switching effective %s is not implemented |
| 14057 | 7494 | |
| 14058 | 7495 | =begin original |
| 14059 | 7496 | |
| 14060 | 7497 | (F) While under the C<use filetest> pragma, we cannot switch the real |
| 14061 | 7498 | and effective uids or gids. |
| 14062 | 7499 | |
| 14063 | 7500 | =end original |
| 14064 | 7501 | |
| 14065 | 7502 | (F) C<use filetest> プラグマを使っている間に、 |
| 14066 | 7503 | 実と実効の UID や GID の切り替えに失敗しました。 |
| 14067 | 7504 | |
| 14068 | 7505 | =item syntax error |
| 14069 | 7506 | |
| 14070 | 7507 | =begin original |
| 14071 | 7508 | |
| 14072 | 7509 | (F) Probably means you had a syntax error. Common reasons include: |
| 14073 | 7510 | |
| 14074 | 7511 | =end original |
| 14075 | 7512 | |
| 14076 | 7513 | (F) おそらく、構文エラーが起こっています。 |
| 14077 | 7514 | よくある原因としては以下のことが考えられます: |
| 14078 | 7515 | |
| 14079 | 7516 | =begin original |
| 14080 | 7517 | |
| 14081 | 7518 | A keyword is misspelled. |
| 14082 | 7519 | A semicolon is missing. |
| 14083 | 7520 | A comma is missing. |
| 14084 | 7521 | An opening or closing parenthesis is missing. |
| 14085 | 7522 | An opening or closing brace is missing. |
| 14086 | 7523 | A closing quote is missing. |
| 14087 | 7524 | |
| 14088 | 7525 | =end original |
| 14089 | 7526 | |
| 14090 | 7527 | キーワードのスペルミス。 |
| 14091 | 7528 | セミコロンを忘れた。 |
| 14092 | 7529 | コンマを忘れた。 |
| 14093 | 開き | |
| 7530 | 開き括弧、閉じ括弧を忘れた。 | |
| 14094 | 開き中 | |
| 7531 | 開き中括弧、閉じ中括弧を忘れた。 | |
| 14095 | 7532 | クォートの閉じ忘れ。 |
| 14096 | 7533 | |
| 14097 | 7534 | =begin original |
| 14098 | 7535 | |
| 14099 | 7536 | Often there will be another error message associated with the syntax |
| 14100 | 7537 | error giving more information. (Sometimes it helps to turn on B<-w>.) |
| 14101 | 7538 | The error message itself often tells you where it was in the line when |
| 14102 | 7539 | it decided to give up. Sometimes the actual error is several tokens |
| 14103 | 7540 | before this, because Perl is good at understanding random input. |
| 14104 | 7541 | Occasionally the line number may be misleading, and once in a blue moon |
| 14105 | 7542 | the only way to figure out what's triggering the error is to call |
| 14106 | 7543 | C<perl -c> repeatedly, chopping away half the program each time to see |
| 14107 | if the error went away. Sort of the cybernetic version of S<20 | |
| 7544 | if the error went away. Sort of the cybernetic version of S<20 | |
| 7545 | questions>. | |
| 14108 | 7546 | |
| 14109 | 7547 | =end original |
| 14110 | 7548 | |
| 14111 | 7549 | 多くの場合、構文エラーと一緒に、別のエラーメッセージが出て、 |
| 14112 | 7550 | 情報を与えてくれます。(-w を付けることが、助けになることもあります。) |
| 14113 | 7551 | エラーメッセージ自身には、何行目まで行って、諦めたのかということも |
| 14114 | 7552 | 含まれています。 |
| 14115 | 7553 | Perl はでたらめな入力を理解するのが得意なので、実際のエラーはもう少し前に |
| 14116 | 7554 | 在ることもあります。 |
| 14117 | 7555 | ときには、行番号が全く役に立たないこともあり、はまってしまったなら、 |
| 14118 | 7556 | エラーのきっかけが何かを見つける唯一の手段は、プログラムを寸断して、 |
| 14119 | 7557 | エラーがなくなるまで、perl -c を繰り返すしかありません。 |
| 14120 | 7558 | S<頭の体操 20 問>だと思ってください。 |
| 14121 | 7559 | |
| 14122 | =item syntax error at line %d: | |
| 7560 | =item syntax error at line %d: `%s' unexpected | |
| 14123 | 7561 | |
| 14124 | 7562 | =begin original |
| 14125 | 7563 | |
| 14126 | 7564 | (A) You've accidentally run your script through the Bourne shell instead |
| 14127 | 7565 | of Perl. Check the #! line, or manually feed your script into Perl |
| 14128 | 7566 | yourself. |
| 14129 | 7567 | |
| 14130 | 7568 | =end original |
| 14131 | 7569 | |
| 14132 | 7570 | (A) スクリプトを perl ではなく Bourne shell で実行しようとしました。 |
| 14133 | 7571 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
| 14134 | 7572 | |
| 14135 | =item syntax error in file %s at line %d, next 2 tokens "%s" | |
| 14136 | ||
| 14137 | =begin original | |
| 14138 | ||
| 14139 | (F) This error is likely to occur if you run a perl5 script through | |
| 14140 | a perl4 interpreter, especially if the next 2 tokens are "use strict" | |
| 14141 | or "my $var" or "our $var". | |
| 14142 | ||
| 14143 | =end original | |
| 14144 | ||
| 14145 | (F) このエラーは、perl5 のスクリプトを perl4 インタプリタで実行したときに | |
| 14146 | おきそうなものです; 特に次の二つのトークンが "use strict" か | |
| 14147 | "my $var" か "our $var" の場合はそうです。 | |
| 14148 | ||
| 14149 | =item Syntax error in (?[...]) in regex; marked by <-- HERE in m/%s/ | |
| 14150 | ||
| 14151 | =begin original | |
| 14152 | ||
| 14153 | (F) Perl could not figure out what you meant inside this construct; this | |
| 14154 | notifies you that it is giving up trying. | |
| 14155 | ||
| 14156 | =end original | |
| 14157 | ||
| 14158 | (F) Perl はこの構文の中で何を意味しようとしているのかが分かりませんでした; | |
| 14159 | これは試すのを諦めたことを知らせます。 | |
| 14160 | ||
| 14161 | 7573 | =item %s syntax OK |
| 14162 | 7574 | |
| 14163 | 7575 | =begin original |
| 14164 | 7576 | |
| 14165 | 7577 | (F) The final summary message when a C<perl -c> succeeds. |
| 14166 | 7578 | |
| 14167 | 7579 | =end original |
| 14168 | 7580 | |
| 14169 | 7581 | (F) C<perl -c> が成功したときの最終まとめメッセージです。 |
| 14170 | 7582 | |
| 14171 | =item sysread() on closed filehandle %s | |
| 14172 | ||
| 14173 | =begin original | |
| 14174 | ||
| 14175 | (W closed) You tried to read from a closed filehandle. | |
| 14176 | ||
| 14177 | =end original | |
| 14178 | ||
| 14179 | (W closed) 閉じたファイルハンドルから読み込もうとしました。 | |
| 14180 | ||
| 14181 | =item sysread() on unopened filehandle %s | |
| 14182 | ||
| 14183 | =begin original | |
| 14184 | ||
| 14185 | (W unopened) You tried to read from a filehandle that was never opened. | |
| 14186 | ||
| 14187 | =end original | |
| 14188 | ||
| 14189 | (W unopened) 開いていないファイルハンドルから読み込もうとしました。 | |
| 14190 | ||
| 14191 | 7583 | =item System V %s is not implemented on this machine |
| 14192 | 7584 | |
| 14193 | 7585 | =begin original |
| 14194 | 7586 | |
| 14195 | 7587 | (F) You tried to do something with a function beginning with "sem", |
| 14196 | 7588 | "shm", or "msg" but that System V IPC is not implemented in your |
| 14197 | 7589 | machine. In some machines the functionality can exist but be |
| 14198 | 7590 | unconfigured. Consult your system support. |
| 14199 | 7591 | |
| 14200 | 7592 | =end original |
| 14201 | 7593 | |
| 14202 | 7594 | (F) 何か、名前が "sem"、"shm"、"msg" で始まる関数を実行しようとしましたが、 |
| 14203 | 7595 | あなたのマシンには System V IPC が実装されていません。 |
| 14204 | 7596 | 機能はあっても設定されていない場合もあります。 |
| 14205 | 7597 | システムサポートに相談してください。 |
| 14206 | 7598 | |
| 14207 | 7599 | =item syswrite() on closed filehandle %s |
| 14208 | 7600 | |
| 14209 | 7601 | =begin original |
| 14210 | 7602 | |
| 14211 | 7603 | (W closed) The filehandle you're writing to got itself closed sometime |
| 14212 | before now. Check your | |
| 7604 | before now. Check your logic flow. | |
| 14213 | 7605 | |
| 14214 | 7606 | =end original |
| 14215 | 7607 | |
| 14216 | (W closed) 書き込みを行なおうとしたファイルハンドルは、 | |
| 7608 | (W closed) 書き込みを行なおうとしたファイルハンドルは、 | |
| 14217 | ||
| 7609 | 既にクローズされています。 | |
| 7610 | 論理フローをチェックしてください。 | |
| 14218 | 7611 | |
| 14219 | =item C<-T> and C<-B> not implemented on filehandles | |
| 14220 | ||
| 14221 | =begin original | |
| 14222 | ||
| 14223 | (F) Perl can't peek at the stdio buffer of filehandles when it doesn't | |
| 14224 | know about your kind of stdio. You'll have to use a filename instead. | |
| 14225 | ||
| 14226 | =end original | |
| 14227 | ||
| 14228 | (F) Perl が、お使いの stdio のことをよく知らないとき、 | |
| 14229 | ファイルハンドルの stdio バッファを覗くことはできません。 | |
| 14230 | 代わりにファイル名を使わなければなりません。 | |
| 14231 | ||
| 14232 | 7612 | =item Target of goto is too deeply nested |
| 14233 | 7613 | |
| 14234 | 7614 | =begin original |
| 14235 | 7615 | |
| 14236 | 7616 | (F) You tried to use C<goto> to reach a label that was too deeply nested |
| 14237 | 7617 | for Perl to reach. Perl is doing you a favor by refusing. |
| 14238 | 7618 | |
| 14239 | 7619 | =end original |
| 14240 | 7620 | |
| 14241 | 7621 | (F) C<goto> で、Perl が届かないほど深くネストしたラベルに移動しようとしました。 |
| 14242 | 7622 | Perl は親切にもこれを拒否します。 |
| 14243 | 7623 | |
| 14244 | =item tell | |
| 7624 | =item tell() on unopened filehandle | |
| 14245 | 7625 | |
| 14246 | 7626 | =begin original |
| 14247 | 7627 | |
| 14248 | (W | |
| 7628 | (W unopened) You tried to use the tell() function on a filehandle that | |
| 14249 | a | |
| 7629 | was either never opened or has since been closed. | |
| 14250 | 7630 | |
| 14251 | 7631 | =end original |
| 14252 | 7632 | |
| 14253 | (W | |
| 7633 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた | |
| 14254 | ||
| 7634 | ファイルハンドルに対して、tell() 関数を使おうとしました。 | |
| 14255 | 制御フローをチェックしてください。 | |
| 14256 | 7635 | |
| 14257 | =item te | |
| 7636 | =item That use of $[ is unsupported | |
| 14258 | 7637 | |
| 14259 | 7638 | =begin original |
| 14260 | 7639 | |
| 14261 | ( | |
| 7640 | (F) Assignment to C<$[> is now strictly circumscribed, and interpreted | |
| 14262 | ||
| 7641 | as a compiler directive. You may say only one of | |
| 14263 | 7642 | |
| 14264 | 7643 | =end original |
| 14265 | 7644 | |
| 14266 | ( | |
| 7645 | (F) 現在、C<$[> への代入は、厳しく制限され、コンパイラ指示子と解釈されます。 | |
| 14267 | ||
| 7646 | 使えるのは以下の形だけです: | |
| 14268 | 7647 | |
| 14269 | ||
| 7648 | $[ = 0; | |
| 7649 | $[ = 1; | |
| 7650 | ... | |
| 7651 | local $[ = 0; | |
| 7652 | local $[ = 1; | |
| 7653 | ... | |
| 14270 | 7654 | |
| 14271 | 7655 | =begin original |
| 14272 | 7656 | |
| 14273 | ||
| 7657 | This is to prevent the problem of one module changing the array base out | |
| 14274 | ||
| 7658 | from under another module inadvertently. See L<perlvar/$[>. | |
| 14275 | L<perlre/Extended Patterns>. | |
| 14276 | 7659 | |
| 14277 | 7660 | =end original |
| 14278 | 7661 | |
| 14279 | ||
| 7662 | これは、一つのモジュールで、他のモジュールが意図しないような、 | |
| 14280 | ||
| 7663 | 配列のベースを変更する問題を回避するためのものです。 | |
| 14281 | L<perl | |
| 7664 | L<perlvar/$[> を参照してください。 | |
| 14282 | 7665 | |
| 14283 | =item The crypt() function is unimplemented due to excessive paranoia | |
| 7666 | =item The crypt() function is unimplemented due to excessive paranoia | |
| 14284 | 7667 | |
| 14285 | 7668 | =begin original |
| 14286 | 7669 | |
| 14287 | 7670 | (F) Configure couldn't find the crypt() function on your machine, |
| 14288 | 7671 | probably because your vendor didn't supply it, probably because they |
| 14289 | 7672 | think the U.S. Government thinks it's a secret, or at least that they |
| 14290 | 7673 | will continue to pretend that it is. And if you quote me on that, I |
| 14291 | 7674 | will deny it. |
| 14292 | 7675 | |
| 14293 | 7676 | =end original |
| 14294 | 7677 | |
| 14295 | (F) Configure は、マシン上で crypt() 関数を見つけられませんでした | |
| 7678 | (F) Configure は、マシン上で crypt() 関数を見つけられませんでした。 | |
| 14296 | 7679 | おそらく、ベンダからの供給がなかったからで、おそらく、ベンダは |
| 14297 | 7680 | アメリカ政府がそれを秘密だとしていると思っているか、 |
| 14298 | 7681 | 少なくとも思っているというふりをしているのでしょう。 |
| 14299 | 7682 | 私を引き合いに出したところで、それは否定されることでしょう。 |
| 14300 | 7683 | |
| 14301 | =item The experimental declared_refs feature is not enabled | |
| 14302 | ||
| 14303 | =begin original | |
| 14304 | ||
| 14305 | (F) To declare references to variables, as in C<my \%x>, you must first enable | |
| 14306 | the feature: | |
| 14307 | ||
| 14308 | =end original | |
| 14309 | ||
| 14310 | (F) C<my \%x> のように、変数へのリファレンスを定義するには、 | |
| 14311 | 最初にこの機能を有効にしなければなりません: | |
| 14312 | ||
| 14313 | no warnings "experimental::declared_refs"; | |
| 14314 | use feature "declared_refs"; | |
| 14315 | ||
| 14316 | 7684 | =item The %s function is unimplemented |
| 14317 | 7685 | |
| 14318 | 7686 | =begin original |
| 14319 | 7687 | |
| 14320 | ||
| 7688 | The function indicated isn't implemented on this architecture, according | |
| 14321 | ||
| 7689 | to the probings of Configure. | |
| 14322 | 7690 | |
| 14323 | 7691 | =end original |
| 14324 | 7692 | |
| 14325 | 7693 | (F) この関数は、Configure の調査によると、このアーキテクチャでは、 |
| 14326 | 7694 | 実装されていないようです。 |
| 14327 | 7695 | |
| 14328 | =item The | |
| 7696 | =item The stat preceding C<-l _> wasn't an lstat | |
| 14329 | 7697 | |
| 14330 | 7698 | =begin original |
| 14331 | 7699 | |
| 14332 | (S experimental::private_use) This feature is actually a hook for future | |
| 14333 | use. | |
| 14334 | ||
| 14335 | =end original | |
| 14336 | ||
| 14337 | (S experimental::private_use) この機能は実際には将来の使用のための | |
| 14338 | フックです。 | |
| 14339 | ||
| 14340 | =item The regex_sets feature is experimental | |
| 14341 | ||
| 14342 | =begin original | |
| 14343 | ||
| 14344 | (S experimental::regex_sets) This warning is emitted if you | |
| 14345 | use the syntax S<C<(?[ ])>> in a regular expression. | |
| 14346 | The details of this feature are subject to change. | |
| 14347 | If you want to use it, but know that in doing so you | |
| 14348 | are taking the risk of using an experimental feature which may | |
| 14349 | change in a future Perl version, you can do this to silence the | |
| 14350 | warning: | |
| 14351 | ||
| 14352 | =end original | |
| 14353 | ||
| 14354 | (S experimental::regex_sets) この警告は、正規表現で S<C<(?[ ])>> 構文を | |
| 14355 | 使うと出力されます。 | |
| 14356 | この機能の詳細は変更されることがあります。 | |
| 14357 | この機能を使いたいけれども、そうすることで将来の Perl バージョンで | |
| 14358 | 変更されるかもしれない実験的機能を使うリスクを取ることを分かっている場合は、 | |
| 14359 | 以下のようにして警告を黙らせられます: | |
| 14360 | ||
| 14361 | no warnings "experimental::regex_sets"; | |
| 14362 | ||
| 14363 | =item The script_run feature is experimental | |
| 14364 | ||
| 14365 | =begin original | |
| 14366 | ||
| 14367 | (S experimental::script_run) This feature is experimental | |
| 14368 | and its behavior may in any future release of perl. See | |
| 14369 | L<perlre/Script Runs>. | |
| 14370 | ||
| 14371 | =end original | |
| 14372 | ||
| 14373 | (S experimental::script_run) この機能は実験的で、その振る舞いは | |
| 14374 | Perl の将来のリリースで変わるかもしれません。 | |
| 14375 | L<perlre/Script Runs> を参照してください。 | |
| 14376 | ||
| 14377 | =item The signatures feature is experimental | |
| 14378 | ||
| 14379 | =begin original | |
| 14380 | ||
| 14381 | (S experimental::signatures) This warning is emitted if you unwrap a | |
| 14382 | subroutine's arguments using a signature. Simply suppress the warning | |
| 14383 | if you want to use the feature, but know that in doing so you are taking | |
| 14384 | the risk of using an experimental feature which may change or be removed | |
| 14385 | in a future Perl version: | |
| 14386 | ||
| 14387 | =end original | |
| 14388 | ||
| 14389 | (S experimental::signatures) この警告は、シグネチャを使ったサブルーチンの | |
| 14390 | 引数を展開するときに出力されます。 | |
| 14391 | この機能を使いたいけれども、そうすることで将来の Perl バージョンで | |
| 14392 | 変更されるかもしれない実験的機能を使うリスクを取ることを分かっている場合は、 | |
| 14393 | 単に警告を抑制してください: | |
| 14394 | ||
| 14395 | no warnings "experimental::signatures"; | |
| 14396 | use feature "signatures"; | |
| 14397 | sub foo ($left, $right) { ... } | |
| 14398 | ||
| 14399 | =item The stat preceding %s wasn't an lstat | |
| 14400 | ||
| 14401 | =begin original | |
| 14402 | ||
| 14403 | 7700 | (F) It makes no sense to test the current stat buffer for symbolic |
| 14404 | 7701 | linkhood if the last stat that wrote to the stat buffer already went |
| 14405 | 7702 | past the symlink to get to the real file. Use an actual filename |
| 14406 | 7703 | instead. |
| 14407 | 7704 | |
| 14408 | 7705 | =end original |
| 14409 | 7706 | |
| 14410 | 7707 | (F) 過去の stat がシンボリックリンクを通り過ぎた、実際のファイルの |
| 14411 | 7708 | 情報を取って、stat バッファに入れているときに、シンボリックタイプの |
| 14412 | 7709 | stat をカレント stat バッファに対して行なっても意味がありません。 |
| 14413 | 7710 | 実際のファイル名を使ってください。 |
| 14414 | 7711 | |
| 14415 | =item The Unicode property wildcards feature is experimental | |
| 14416 | ||
| 14417 | =begin original | |
| 14418 | ||
| 14419 | (S experimental::uniprop_wildcards) This feature is experimental | |
| 14420 | and its behavior may in any future release of perl. See | |
| 14421 | L<perlunicode/Wildcards in Property Values>. | |
| 14422 | ||
| 14423 | =end original | |
| 14424 | ||
| 14425 | (S experimental::uniprop_wildcards) この機能は実験的で、 | |
| 14426 | その振る舞いは将来のリリースの perl で変わるかもしれません。 | |
| 14427 | L<perlunicode/Wildcards in Property Values> を参照してください。 | |
| 14428 | ||
| 14429 | =item The 'unique' attribute may only be applied to 'our' variables | |
| 14430 | ||
| 14431 | =begin original | |
| 14432 | ||
| 14433 | (F) This attribute was never supported on C<my> or C<sub> declarations. | |
| 14434 | ||
| 14435 | =end original | |
| 14436 | ||
| 14437 | (F) この属性は C<my> や C<sub> の宣言では対応していません。 | |
| 14438 | ||
| 14439 | 7712 | =item This Perl can't reset CRTL environ elements (%s) |
| 14440 | 7713 | |
| 14441 | 7714 | =item This Perl can't set CRTL environ elements (%s=%s) |
| 14442 | 7715 | |
| 14443 | 7716 | =begin original |
| 14444 | 7717 | |
| 14445 | 7718 | (W internal) Warnings peculiar to VMS. You tried to change or delete an |
| 14446 | 7719 | element of the CRTL's internal environ array, but your copy of Perl |
| 14447 | 7720 | wasn't built with a CRTL that contained the setenv() function. You'll |
| 14448 | 7721 | need to rebuild Perl with a CRTL that does, or redefine |
| 14449 | 7722 | F<PERL_ENV_TABLES> (see L<perlvms>) so that the environ array isn't the |
| 14450 | 7723 | target of the change to |
| 14451 | 7724 | %ENV which produced the warning. |
| 14452 | 7725 | |
| 14453 | 7726 | =end original |
| 14454 | 7727 | |
| 14455 | (W internal) VMS | |
| 7728 | (W internal) VMS 固有の警告です。 | |
| 14456 | 7729 | CRTL の内部環境配列を変更または削除しようとしましたが、この Perl は |
| 14457 | 7730 | setenv() 関数を含んだ CRTL でビルドされていません。 |
| 14458 | 7731 | これを含む CRTL を使って Perl を再ビルドするか、環境配列がこの警告を |
| 14459 | 7732 | 出力している %ENV を変更するターゲットとならないように |
| 14460 | 7733 | F<PERL_ENV_TABLES> (L<perlvms> を参照してください) を再定義してください。 |
| 14461 | 7734 | |
| 14462 | =item | |
| 7735 | =item times not implemented | |
| 14463 | 7736 | |
| 14464 | 7737 | =begin original |
| 14465 | 7738 | |
| 14466 | (F) | |
| 7739 | (F) Your version of the C library apparently doesn't do times(). I | |
| 14467 | ||
| 7740 | suspect you're not running on Unix. | |
| 14468 | key traversal, but this Perl has been compiled without it. You should | |
| 14469 | report this warning to the relevant upstream party, or recompile perl | |
| 14470 | with default options. | |
| 14471 | 7741 | |
| 14472 | 7742 | =end original |
| 14473 | 7743 | |
| 14474 | (F) | |
| 7744 | (F) お使いの C ライブラリでは、times() を行わないようです。 | |
| 14475 | ||
| 7745 | UNIX ではない環境でしょうか。 | |
| 14476 | コンパイルされていました。 | |
| 14477 | この警告を関係する上流グループに報告するか、デフォルトオプションで perl を | |
| 14478 | 再コンパイルしてください。 | |
| 14479 | 7746 | |
| 14480 | =item T | |
| 7747 | =item Too few args to syscall | |
| 14481 | 7748 | |
| 14482 | 7749 | =begin original |
| 14483 | 7750 | |
| 14484 | (F) | |
| 7751 | (F) There has to be at least one argument to syscall() to specify the | |
| 14485 | ||
| 7752 | system call to call, silly dilly. | |
| 14486 | not to be cleared at scope exit when its declaration includes a false | |
| 14487 | conditional. Some people have exploited this bug to achieve a kind of | |
| 14488 | static variable. Since we intend to fix this bug, we don't want people | |
| 14489 | relying on this behavior. You can achieve a similar static effect by | |
| 14490 | declaring the variable in a separate block outside the function, eg | |
| 14491 | 7753 | |
| 14492 | 7754 | =end original |
| 14493 | 7755 | |
| 14494 | (F) | |
| 7756 | (F) syscall() には、最低限でも呼び出すシステムコールを示す、 | |
| 14495 | ||
| 7757 | 引数が一つ必要です。 | |
| 14496 | 長年のバグが Perl にはありました。 | |
| 14497 | 一部の人々は、ある種の静的変数を実現するためにこのバグを悪用してきました。 | |
| 14498 | 私たちはこのバグを修正したいので、人々にこの振る舞いに | |
| 14499 | 依存してほしくありません。 | |
| 14500 | 関数の外側の独立したブロックで変数を宣言することで、同様の静的な効果を | |
| 14501 | 得られます; 例えば: | |
| 14502 | 7758 | |
| 14503 | | |
| 7759 | =item Too late for "B<-T>" option | |
| 14504 | 7760 | |
| 14505 | 7761 | =begin original |
| 14506 | 7762 | |
| 14507 | ||
| 7763 | (X) The #! line (or local equivalent) in a Perl script contains the | |
| 7764 | B<-T> option, but Perl was not invoked with B<-T> in its command line. | |
| 7765 | This is an error because, by the time Perl discovers a B<-T> in a | |
| 7766 | script, it's too late to properly taint everything from the environment. | |
| 7767 | So Perl gives up. | |
| 14508 | 7768 | |
| 14509 | 7769 | =end original |
| 14510 | 7770 | |
| 14511 | これは次のようになります: | |
| 14512 | ||
| 14513 | { my $x; sub f { return $x++ } } | |
| 14514 | ||
| 14515 | =begin original | |
| 14516 | ||
| 14517 | Beginning with perl 5.10.0, you can also use C<state> variables to have | |
| 14518 | lexicals that are initialized only once (see L<feature>): | |
| 14519 | ||
| 14520 | =end original | |
| 14521 | ||
| 14522 | perl 5.10.0 から、一度だけ初期化されるレキシカル変数のために | |
| 14523 | C<state> 変数を使うこともできます (L<feature> を参照してください): | |
| 14524 | ||
| 14525 | sub f { state $x; return $x++ } | |
| 14526 | ||
| 14527 | =begin original | |
| 14528 | ||
| 14529 | This use of C<my()> in a false conditional was deprecated beginning in | |
| 14530 | Perl 5.10 and became a fatal error in Perl 5.30. | |
| 14531 | ||
| 14532 | =end original | |
| 14533 | ||
| 14534 | 偽の条件での C<my()> のこの使用法は Perl 5.10 から廃止予定になり、 | |
| 14535 | Perl 5.30 で致命的エラーになりました。 | |
| 14536 | ||
| 14537 | =item times not implemented | |
| 14538 | ||
| 14539 | =begin original | |
| 14540 | ||
| 14541 | (F) Your version of the C library apparently doesn't do times(). I | |
| 14542 | suspect you're not running on Unix. | |
| 14543 | ||
| 14544 | =end original | |
| 14545 | ||
| 14546 | (F) お使いの C ライブラリでは、times() を行わないようです。 | |
| 14547 | UNIX ではない環境でしょうか。 | |
| 14548 | ||
| 14549 | =item "-T" is on the #! line, it must also be used on the command line | |
| 14550 | ||
| 14551 | =begin original | |
| 14552 | ||
| 14553 | (X) The #! line (or local equivalent) in a Perl script contains | |
| 14554 | the B<-T> option (or the B<-t> option), but Perl was not invoked with | |
| 14555 | B<-T> in its command line. This is an error because, by the time | |
| 14556 | Perl discovers a B<-T> in a script, it's too late to properly taint | |
| 14557 | everything from the environment. So Perl gives up. | |
| 14558 | ||
| 14559 | =end original | |
| 14560 | ||
| 14561 | 7771 | (X) Perl スクリプトの #! 行(あるいはローカルで等価なもの)に B<-T> |
| 14562 | オプション | |
| 7772 | オプションが含まれていますが、Perl はコマンドラインで B<-T> 付きで | |
| 14563 | ||
| 7773 | 起動されていません。 | |
| 14564 | 7774 | Perl がスクリプトの中で B<-T> を発見した時点では、環境からの全てを |
| 14565 | 7775 | 汚染チェックするには遅すぎるので、これはエラーになります。 |
| 14566 | 7776 | それで Perl は諦めます。 |
| 14567 | 7777 | |
| 14568 | 7778 | =begin original |
| 14569 | 7779 | |
| 14570 | 7780 | If the Perl script is being executed as a command using the #! |
| 14571 | mechanism (or its local equivalent), this error can usually be | |
| 7781 | mechanism (or its local equivalent), this error can usually be fixed by | |
| 14572 | ||
| 7782 | editing the #! line so that the B<-T> option is a part of Perl's first | |
| 14573 | ||
| 7783 | argument: e.g. change C<perl -n -T> to C<perl -T -n>. | |
| 14574 | 7784 | |
| 14575 | 7785 | =end original |
| 14576 | 7786 | |
| 14577 | 7787 | perl スクリプトが #! 機構(またはローカルな等価な機構)を使ってコマンドとして |
| 14578 | 実行される場合、このエラーは普通 B<- | |
| 7788 | 実行される場合、このエラーは普通 B<-T> オプションを Perl の最初の引数に | |
| 14579 | 変更する(C<perl -n - | |
| 7789 | 変更する(C<perl -n -T> を C<perl -T -n> に変更する)ことで修正されます。 | |
| 14580 | 7790 | |
| 14581 | 7791 | =begin original |
| 14582 | 7792 | |
| 14583 | 7793 | If the Perl script is being executed as C<perl scriptname>, then the |
| 14584 | B<- | |
| 7794 | B<-T> option must appear on the command line: C<perl -T scriptname>. | |
| 14585 | 7795 | |
| 14586 | 7796 | =end original |
| 14587 | 7797 | |
| 14588 | 7798 | Perl スクリプトが C<perl scriptname> として起動される場合、B<-T> オプションは |
| 14589 | コマンドラインに書かなければなりません: C<perl - | |
| 7799 | コマンドラインに書かなければなりません: C<perl -T scriptname> | |
| 14590 | 7800 | |
| 14591 | =item To%s: illegal mapping '%s' | |
| 14592 | ||
| 14593 | =begin original | |
| 14594 | ||
| 14595 | (F) You tried to define a customized To-mapping for lc(), lcfirst, | |
| 14596 | uc(), or ucfirst() (or their string-inlined versions), but you | |
| 14597 | specified an illegal mapping. | |
| 14598 | See L<perlunicode/"User-Defined Character Properties">. | |
| 14599 | ||
| 14600 | =end original | |
| 14601 | ||
| 14602 | (F) lc(), lcfirst, uc(), or ucfirst() (またはこれらの文字列組み込み版)の | |
| 14603 | ためのカスタマイズされた変換先マッピングを定義しようとしましたが、 | |
| 14604 | 不正なマッピングを指定しました。 | |
| 14605 | L<perlunicode/"User-Defined Character Properties"> を参照してください。 | |
| 14606 | ||
| 14607 | =item Too deeply nested ()-groups | |
| 14608 | ||
| 14609 | =begin original | |
| 14610 | ||
| 14611 | (F) Your template contains ()-groups with a ridiculously deep nesting level. | |
| 14612 | ||
| 14613 | =end original | |
| 14614 | ||
| 14615 | (F) テンプレートに、おかしいぐらいネストした () グループがあります。 | |
| 14616 | ||
| 14617 | =item Too few args to syscall | |
| 14618 | ||
| 14619 | =begin original | |
| 14620 | ||
| 14621 | (F) There has to be at least one argument to syscall() to specify the | |
| 14622 | system call to call, silly dilly. | |
| 14623 | ||
| 14624 | =end original | |
| 14625 | ||
| 14626 | (F) syscall() には、最低限でも呼び出すシステムコールを示す、 | |
| 14627 | 引数が一つ必要です。 | |
| 14628 | ||
| 14629 | =item Too few arguments for subroutine '%s' | |
| 14630 | ||
| 14631 | =begin original | |
| 14632 | ||
| 14633 | (F) A subroutine using a signature fewer arguments than required by the | |
| 14634 | signature. The caller of the subroutine is presumably at fault. | |
| 14635 | ||
| 14636 | =end original | |
| 14637 | ||
| 14638 | (F) シグネチャを使っているサブルーチンが、シグネチャが要求しているよりも | |
| 14639 | 少ない引数を受け取りました。 | |
| 14640 | おそらくサブルーチンの呼び出し元が間違っています。 | |
| 14641 | ||
| 14642 | =begin original | |
| 14643 | ||
| 14644 | The message attempts to include the name of the called subroutine. If | |
| 14645 | the subroutine has been aliased, the subroutine's original name will be | |
| 14646 | shown, regardless of what name the caller used. | |
| 14647 | ||
| 14648 | =end original | |
| 14649 | ||
| 14650 | このメッセージは呼び出されたサブルーチン名を含めようとします。 | |
| 14651 | サブルーチンが別名化されている場合、どの名前で呼びされたかにかかわらず | |
| 14652 | サブルーチンの元の名前が表示されます。 | |
| 14653 | ||
| 14654 | 7801 | =item Too late for "-%s" option |
| 14655 | 7802 | |
| 14656 | 7803 | =begin original |
| 14657 | 7804 | |
| 14658 | 7805 | (X) The #! line (or local equivalent) in a Perl script contains the |
| 14659 | B<-M> | |
| 7806 | B<-M> or B<-m> option. This is an error because B<-M> and B<-m> options | |
| 14660 | ||
| 14661 | =end original | |
| 14662 | ||
| 14663 | (X) Perl スクリプトの #! 行(またはローカルな等価な機構)に B<-M>, B<-m>, | |
| 14664 | B<-C> オプションが含まれています。 | |
| 14665 | ||
| 14666 | =begin original | |
| 14667 | ||
| 14668 | In the case of B<-M> and B<-m>, this is an error because those options | |
| 14669 | 7807 | are not intended for use inside scripts. Use the C<use> pragma instead. |
| 14670 | 7808 | |
| 14671 | 7809 | =end original |
| 14672 | 7810 | |
| 14673 | ||
| 7811 | (X) Perl スクリプトの #! 行(またはローカルな等価な機構)に B<-M> や | |
| 7812 | B<-m> オプションが含まれています。 | |
| 7813 | B<-M> と B<-m> のオプションは、スクリプト内部で使うためのものではないので、 | |
| 14674 | 7814 | これはエラーになります。 |
| 14675 | 7815 | 代わりに C<use> プラグマを使ってください。 |
| 14676 | 7816 | |
| 14677 | =begin original | |
| 14678 | ||
| 14679 | The B<-C> option only works if it is specified on the command line as | |
| 14680 | well (with the same sequence of letters or numbers following). Either | |
| 14681 | specify this option on the command line, or, if your system supports | |
| 14682 | it, make your script executable and run it directly instead of passing | |
| 14683 | it to perl. | |
| 14684 | ||
| 14685 | =end original | |
| 14686 | ||
| 14687 | B<-C> オプションは、コマンドラインも (以下と同じ文字と数値の並びで) | |
| 14688 | 指定されたときにのみ動作します。 | |
| 14689 | このオプションをコマンドラインで指定するか、もしシステムが対応しているなら、 | |
| 14690 | スクリプトを perl に渡すのではなく、スクリプトを実行可能にして | |
| 14691 | 直接実行してください。 | |
| 14692 | ||
| 14693 | 7817 | =item Too late to run %s block |
| 14694 | 7818 | |
| 14695 | 7819 | =begin original |
| 14696 | 7820 | |
| 14697 | 7821 | (W void) A CHECK or INIT block is being defined during run time proper, |
| 14698 | 7822 | when the opportunity to run them has already passed. Perhaps you are |
| 14699 | 7823 | loading a file with C<require> or C<do> when you should be using C<use> |
| 14700 | 7824 | instead. Or perhaps you should put the C<require> or C<do> inside a |
| 14701 | 7825 | BEGIN block. |
| 14702 | 7826 | |
| 14703 | 7827 | =end original |
| 14704 | 7828 | |
| 14705 | 7829 | (W void) CHECK か INIT のブロックが、それが実行される機会が過ぎてから |
| 14706 | 7830 | 実行時に定義されました。 |
| 14707 | 7831 | おそらく C<use> を使うべきときに C<require> か C<do> を使ってファイルを |
| 14708 | 7832 | 読み込んでいます。 |
| 14709 | 7833 | あるいはおそらく BEGIN ブロックの中に C<require> か C<do> を |
| 14710 | 7834 | 書いたのでしょう。 |
| 14711 | 7835 | |
| 14712 | 7836 | =item Too many args to syscall |
| 14713 | 7837 | |
| 14714 | 7838 | =begin original |
| 14715 | 7839 | |
| 14716 | 7840 | (F) Perl supports a maximum of only 14 args to syscall(). |
| 14717 | 7841 | |
| 14718 | 7842 | =end original |
| 14719 | 7843 | |
| 14720 | 7844 | (F) Perl では、syscall() に最大 14 までしか、引数を渡すことができません。 |
| 14721 | 7845 | |
| 14722 | 7846 | =item Too many arguments for %s |
| 14723 | 7847 | |
| 14724 | 7848 | =begin original |
| 14725 | 7849 | |
| 14726 | 7850 | (F) The function requires fewer arguments than you specified. |
| 14727 | 7851 | |
| 14728 | 7852 | =end original |
| 14729 | 7853 | |
| 14730 | 7854 | (F) 関数が要求する以上の引数を指定しました。 |
| 14731 | 7855 | |
| 14732 | =item Too many arguments for subroutine '%s' | |
| 14733 | ||
| 14734 | =begin original | |
| 14735 | ||
| 14736 | (F) A subroutine using a signature received more arguments than permitted | |
| 14737 | by the signature. The caller of the subroutine is presumably at fault. | |
| 14738 | ||
| 14739 | =end original | |
| 14740 | ||
| 14741 | (F) シグネチャを使っているサブルーチンが、シグネチャで許されているよりも | |
| 14742 | 多い引数を受け取りました。 | |
| 14743 | おそらくサブルーチンの呼び出し元が間違っています。 | |
| 14744 | ||
| 14745 | =begin original | |
| 14746 | ||
| 14747 | The message attempts to include the name of the called subroutine. If the | |
| 14748 | subroutine has been aliased, the subroutine's original name will be shown, | |
| 14749 | regardless of what name the caller used. | |
| 14750 | ||
| 14751 | =end original | |
| 14752 | ||
| 14753 | メッセージには呼び出されたサブルーチンの名前を含めようとします。 | |
| 14754 | サブルーチンに別名がある場合、どの名前で呼び出されたかに関わらず、 | |
| 14755 | 元の名前が表示されます。 | |
| 14756 | ||
| 14757 | =item Too many nested open parens in regex; marked by <-- HERE in m/%s/ | |
| 14758 | ||
| 14759 | =begin original | |
| 14760 | ||
| 14761 | (F) You have exceeded the number of open C<"("> parentheses that haven't | |
| 14762 | been matched by corresponding closing ones. This limit prevents eating | |
| 14763 | up too much memory. It is initially set to 1000, but may be changed by | |
| 14764 | setting C<${^RE_COMPILE_RECURSION_LIMIT}> to some other value. This may | |
| 14765 | need to be done in a BEGIN block before the regular expression pattern | |
| 14766 | is compiled. | |
| 14767 | ||
| 14768 | =end original | |
| 14769 | ||
| 14770 | (F) 対応する閉じかっこのない開き C<"("> かっこの数が制限を超えました。 | |
| 14771 | この制限は、あまりに多くのメモリを食べ尽くすことを防ぎます。 | |
| 14772 | これは 1000 に初期化されていますが、 | |
| 14773 | C<${^RE_COMPILE_RECURSION_LIMIT}> に他の値を設定することで変更されます。 | |
| 14774 | これは正規表現パターンがコンパイルされる前に BEGIN ブロックの中で | |
| 14775 | 行われる必要があります。 | |
| 14776 | ||
| 14777 | 7856 | =item Too many )'s |
| 14778 | 7857 | |
| 14779 | 7858 | =begin original |
| 14780 | 7859 | |
| 14781 | 7860 | (A) You've accidentally run your script through B<csh> instead of Perl. |
| 14782 | 7861 | Check the #! line, or manually feed your script into Perl yourself. |
| 14783 | 7862 | |
| 14784 | 7863 | =end original |
| 14785 | 7864 | |
| 14786 | 7865 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
| 14787 | 7866 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
| 14788 | 7867 | |
| 14789 | 7868 | =item Too many ('s |
| 14790 | 7869 | |
| 14791 | = | |
| 7870 | =item trailing \ in regexp | |
| 14792 | 7871 | |
| 14793 | (A) You've accidentally run your script through B<csh> instead of Perl. | |
| 14794 | Check the #! line, or manually feed your script into Perl yourself. | |
| 14795 | ||
| 14796 | =end original | |
| 14797 | ||
| 14798 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 | |
| 14799 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 | |
| 14800 | ||
| 14801 | =item Trailing \ in regex m/%s/ | |
| 14802 | ||
| 14803 | 7872 | =begin original |
| 14804 | 7873 | |
| 14805 | 7874 | (F) The regular expression ends with an unbackslashed backslash. |
| 14806 | 7875 | Backslash it. See L<perlre>. |
| 14807 | 7876 | |
| 14808 | 7877 | =end original |
| 14809 | 7878 | |
| 14810 | 7879 | (F) 正規表現が、バックスラッシュを付けていないバックスラッシュで |
| 14811 | 7880 | 終了しました。バックスラッシュを付けてください。 |
| 14812 | 7881 | L<perlre> を参照してください。 |
| 14813 | 7882 | |
| 14814 | 7883 | =item Transliteration pattern not terminated |
| 14815 | 7884 | |
| 14816 | 7885 | =begin original |
| 14817 | 7886 | |
| 14818 | 7887 | (F) The lexer couldn't find the interior delimiter of a tr/// or tr[][] |
| 14819 | 7888 | or y/// or y[][] construct. Missing the leading C<$> from variables |
| 14820 | 7889 | C<$tr> or C<$y> may cause this error. |
| 14821 | 7890 | |
| 14822 | 7891 | =end original |
| 14823 | 7892 | |
| 14824 | (F) tr///, tr[][], y///, y[][] 構文の真ん中の区切り文字が | |
| 7893 | (F) tr///, tr[][], y///, y[][] 構文の真ん中の区切り文字が | |
| 14825 | 7894 | 見つかりませんでした。 |
| 14826 | 7895 | C<$tr> 変数 や C<$y> 変数の前に C<$> をつけるのを忘れると |
| 14827 | 7896 | このエラーが出ることがあります。 |
| 14828 | 7897 | |
| 7898 | ||
| 14829 | 7899 | =item Transliteration replacement not terminated |
| 14830 | 7900 | |
| 14831 | 7901 | =begin original |
| 14832 | 7902 | |
| 14833 | (F) The lexer couldn't find the final delimiter of a tr/// | |
| 7903 | (F) The lexer couldn't find the final delimiter of a tr/// or tr[][] | |
| 14834 | ||
| 7904 | construct. | |
| 14835 | 7905 | |
| 14836 | 7906 | =end original |
| 14837 | 7907 | |
| 14838 | (F) tr/// | |
| 7908 | (F) tr/// もしくは tr[][] 構文の最後の区切り文字が見つかりませんでした。 | |
| 14839 | 見つかりませんでした。 | |
| 14840 | 7909 | |
| 14841 | =item '%s' trapped by operation mask | |
| 14842 | ||
| 14843 | =begin original | |
| 14844 | ||
| 14845 | (F) You tried to use an operator from a Safe compartment in which it's | |
| 14846 | disallowed. See L<Safe>. | |
| 14847 | ||
| 14848 | =end original | |
| 14849 | ||
| 14850 | (F) Safe 区画の中で、許されていない演算子を使おうとしました。 | |
| 14851 | L<Safe> を参照してください。 | |
| 14852 | ||
| 14853 | 7910 | =item truncate not implemented |
| 14854 | 7911 | |
| 14855 | 7912 | =begin original |
| 14856 | 7913 | |
| 14857 | 7914 | (F) Your machine doesn't implement a file truncation mechanism that |
| 14858 | 7915 | Configure knows about. |
| 14859 | 7916 | |
| 14860 | 7917 | =end original |
| 14861 | 7918 | |
| 14862 | 7919 | (F) このマシンでは、Configure が知りうる、ファイルの切り詰めの機能が |
| 14863 | 7920 | 実装されていません。 |
| 14864 | 7921 | |
| 14865 | =item Type of arg %d to &CORE::%s must be %s | |
| 14866 | ||
| 14867 | =begin original | |
| 14868 | ||
| 14869 | (F) The subroutine in question in the CORE package requires its argument | |
| 14870 | to be a hard reference to data of the specified type. Overloading is | |
| 14871 | ignored, so a reference to an object that is not the specified type, but | |
| 14872 | nonetheless has overloading to handle it, will still not be accepted. | |
| 14873 | ||
| 14874 | =end original | |
| 14875 | ||
| 14876 | (F) CORE パッケージにある問題のサブルーチンは、引数に特定の型のデータへの | |
| 14877 | ハードリファレンスを要求しています。 | |
| 14878 | オーバーロードは無視されるので、指定された型ではないけれども、それを | |
| 14879 | 扱えるようにオーバーロードされたオブジェクトへのリファレンスでも | |
| 14880 | 受け付けられません。 | |
| 14881 | ||
| 14882 | 7922 | =item Type of arg %d to %s must be %s (not %s) |
| 14883 | 7923 | |
| 14884 | 7924 | =begin original |
| 14885 | 7925 | |
| 14886 | 7926 | (F) This function requires the argument in that position to be of a |
| 14887 | 7927 | certain type. Arrays must be @NAME or C<@{EXPR}>. Hashes must be |
| 14888 | 7928 | %NAME or C<%{EXPR}>. No implicit dereferencing is allowed--use the |
| 14889 | 7929 | {EXPR} forms as an explicit dereference. See L<perlref>. |
| 14890 | 7930 | |
| 14891 | 7931 | =end original |
| 14892 | 7932 | |
| 14893 | 7933 | (F) この関数は、その位置に決まった型の引数を必要とします。 |
| 14894 | 配列は、@NAME もしくは C<@{EXPR}> でな | |
| 7934 | 配列は、@NAME もしくは C<@{EXPR}> でなくてはならず、ハッシュは、 | |
| 14895 | ||
| 7935 | %NAME もしくは C<%{EXPR}> でなければなりません。 | |
| 14896 | 7936 | 暗黙の被参照は許されませんので、明示的な被参照として、 |
| 14897 | 7937 | {EXPR} 形式を使ってください。 |
| 14898 | 7938 | L<perlref> を参照してください。 |
| 14899 | 7939 | |
| 7940 | =item umask: argument is missing initial 0 | |
| 7941 | ||
| 7942 | =begin original | |
| 7943 | ||
| 7944 | (W umask) A umask of 222 is incorrect. It should be 0222, because octal | |
| 7945 | literals always start with 0 in Perl, as in C. | |
| 7946 | ||
| 7947 | =end original | |
| 7948 | ||
| 7949 | (W umask) umask 222 は正しくありません。 | |
| 7950 | Perl の 8 進数リテラルは、C と同じように 0 で始まりますから、 | |
| 7951 | 0222 とすべきです。 | |
| 7952 | ||
| 14900 | 7953 | =item umask not implemented |
| 14901 | 7954 | |
| 14902 | 7955 | =begin original |
| 14903 | 7956 | |
| 14904 | 7957 | (F) Your machine doesn't implement the umask function and you tried to |
| 14905 | 7958 | use it to restrict permissions for yourself (EXPR & 0700). |
| 14906 | 7959 | |
| 14907 | 7960 | =end original |
| 14908 | 7961 | |
| 14909 | 7962 | (F) umask 関数が実装されていないマシンで、自分自身の権限を制限する |
| 14910 | 7963 | (EXPR & 0700) ためにこれを使おうとしました。 |
| 14911 | 7964 | |
| 7965 | =item Unable to create sub named "%s" | |
| 7966 | ||
| 7967 | =begin original | |
| 7968 | ||
| 7969 | (F) You attempted to create or access a subroutine with an illegal name. | |
| 7970 | ||
| 7971 | =end original | |
| 7972 | ||
| 7973 | (F) 不正な名前のサブルーチンを作成または呼び出ししようとしました。 | |
| 7974 | ||
| 14912 | 7975 | =item Unbalanced context: %d more PUSHes than POPs |
| 14913 | 7976 | |
| 14914 | 7977 | =begin original |
| 14915 | 7978 | |
| 14916 | ( | |
| 7979 | (W internal) The exit code detected an internal inconsistency in how | |
| 14917 | 7980 | many execution contexts were entered and left. |
| 14918 | 7981 | |
| 14919 | 7982 | =end original |
| 14920 | 7983 | |
| 14921 | ( | |
| 7984 | (W internal) いくつの実行コンテキストに入って、出たかということの | |
| 14922 | 7985 | 内部矛盾が exit コードで発見されました。 |
| 14923 | 7986 | |
| 14924 | 7987 | =item Unbalanced saves: %d more saves than restores |
| 14925 | 7988 | |
| 14926 | 7989 | =begin original |
| 14927 | 7990 | |
| 14928 | ( | |
| 7991 | (W internal) The exit code detected an internal inconsistency in how | |
| 14929 | 7992 | many values were temporarily localized. |
| 14930 | 7993 | |
| 14931 | 7994 | =end original |
| 14932 | 7995 | |
| 14933 | ( | |
| 7996 | (W internal) いくつの値が、一時的にローカル化されたかということの | |
| 14934 | 7997 | 内部矛盾が exit コードで発見されました。 |
| 14935 | 7998 | |
| 14936 | 7999 | =item Unbalanced scopes: %d more ENTERs than LEAVEs |
| 14937 | 8000 | |
| 14938 | 8001 | =begin original |
| 14939 | 8002 | |
| 14940 | ( | |
| 8003 | (W internal) The exit code detected an internal inconsistency in how | |
| 14941 | 8004 | many blocks were entered and left. |
| 14942 | 8005 | |
| 14943 | 8006 | =end original |
| 14944 | 8007 | |
| 14945 | ( | |
| 8008 | (W internal) いくつのブロックに入って、出たかということの | |
| 14946 | 8009 | 内部矛盾が exit コードで発見されました。 |
| 14947 | 8010 | |
| 14948 | =item Unbalanced string table refcount: (%d) for "%s" | |
| 14949 | ||
| 14950 | =begin original | |
| 14951 | ||
| 14952 | (S internal) On exit, Perl found some strings remaining in the shared | |
| 14953 | string table used for copy on write and for hash keys. The entries | |
| 14954 | should have been freed, so this indicates a bug somewhere. | |
| 14955 | ||
| 14956 | =end original | |
| 14957 | ||
| 14958 | (S internal) 終了時に、ハッシュキーのためのコピーオンライトのための | |
| 14959 | 共有文字列テーブルに文字列が残っていることを Perl が発見しました。 | |
| 14960 | エントリは開放されている必要があるので、これはどこかにバグがあることを | |
| 14961 | 示しています。 | |
| 14962 | ||
| 14963 | 8011 | =item Unbalanced tmps: %d more allocs than frees |
| 14964 | 8012 | |
| 14965 | 8013 | =begin original |
| 14966 | 8014 | |
| 14967 | ( | |
| 8015 | (W internal) The exit code detected an internal inconsistency in how | |
| 14968 | 8016 | many mortal scalars were allocated and freed. |
| 14969 | 8017 | |
| 14970 | 8018 | =end original |
| 14971 | 8019 | |
| 14972 | ( | |
| 8020 | (W internal) いくつの揮発性スカラの割り当てを行ない、解放したかと | |
| 14973 | 8021 | いうことの内部矛盾が exit コードで発見されました。 |
| 14974 | 8022 | |
| 14975 | 8023 | =item Undefined format "%s" called |
| 14976 | 8024 | |
| 14977 | 8025 | =begin original |
| 14978 | 8026 | |
| 14979 | 8027 | (F) The format indicated doesn't seem to exist. Perhaps it's really in |
| 14980 | 8028 | another package? See L<perlform>. |
| 14981 | 8029 | |
| 14982 | 8030 | =end original |
| 14983 | 8031 | |
| 14984 | (F) | |
| 8032 | (F) このフォーマットは存在しないように見えます。 | |
| 14985 | おそらく | |
| 8033 | おそらく、別のパッケージに存在するのではないでしょうか。 | |
| 14986 | 8034 | L<perlform> を参照してください。 |
| 14987 | 8035 | |
| 14988 | 8036 | =item Undefined sort subroutine "%s" called |
| 14989 | 8037 | |
| 14990 | 8038 | =begin original |
| 14991 | 8039 | |
| 14992 | 8040 | (F) The sort comparison routine specified doesn't seem to exist. |
| 14993 | 8041 | Perhaps it's in a different package? See L<perlfunc/sort>. |
| 14994 | 8042 | |
| 14995 | 8043 | =end original |
| 14996 | 8044 | |
| 14997 | 8045 | (F) 指定された sort の比較ルーティンは存在していないように思われます。 |
| 14998 | 8046 | おそらく、別のパッケージに存在するのではないでしょうか。 |
| 14999 | L<perlfunc/sort> | |
| 8047 | L<perlfunc/sort>を参照してください。 | |
| 15000 | 8048 | |
| 15001 | 8049 | =item Undefined subroutine &%s called |
| 15002 | 8050 | |
| 15003 | 8051 | =begin original |
| 15004 | 8052 | |
| 15005 | 8053 | (F) The subroutine indicated hasn't been defined, or if it was, it has |
| 15006 | 8054 | since been undefined. |
| 15007 | 8055 | |
| 15008 | 8056 | =end original |
| 15009 | 8057 | |
| 15010 | (F) 指定されたサブルー | |
| 8058 | (F) 指定されたサブルーティンが定義されていません。 | |
| 15011 | 既に未定義になっています。 | |
| 8059 | 定義されていたとしても、既に未定義になっています。 | |
| 15012 | 8060 | |
| 15013 | 8061 | =item Undefined subroutine called |
| 15014 | 8062 | |
| 15015 | 8063 | =begin original |
| 15016 | 8064 | |
| 15017 | 8065 | (F) The anonymous subroutine you're trying to call hasn't been defined, |
| 15018 | 8066 | or if it was, it has since been undefined. |
| 15019 | 8067 | |
| 15020 | 8068 | =end original |
| 15021 | 8069 | |
| 15022 | (F) 呼びだそうとしている無名のサブルー | |
| 8070 | (F) 呼びだそうとしている無名のサブルーティンは、定義されていません。 | |
| 15023 | 8071 | 定義されていたとしても、既に未定義になっています。 |
| 15024 | 8072 | |
| 15025 | 8073 | =item Undefined subroutine in sort |
| 15026 | 8074 | |
| 15027 | 8075 | =begin original |
| 15028 | 8076 | |
| 15029 | 8077 | (F) The sort comparison routine specified is declared but doesn't seem |
| 15030 | 8078 | to have been defined yet. See L<perlfunc/sort>. |
| 15031 | 8079 | |
| 15032 | 8080 | =end original |
| 15033 | 8081 | |
| 15034 | 8082 | (F) 指定された sort の比較ルーティンは宣言されましたが、 |
| 15035 | 8083 | 定義されていないようです。 |
| 15036 | 8084 | L<perlfunc/sort> を参照してください。 |
| 15037 | 8085 | |
| 15038 | 8086 | =item Undefined top format "%s" called |
| 15039 | 8087 | |
| 15040 | 8088 | =begin original |
| 15041 | 8089 | |
| 15042 | 8090 | (F) The format indicated doesn't seem to exist. Perhaps it's really in |
| 15043 | 8091 | another package? See L<perlform>. |
| 15044 | 8092 | |
| 15045 | 8093 | =end original |
| 15046 | 8094 | |
| 15047 | 8095 | (F) 示されたフォーマットが存在しないようです。 |
| 15048 | 8096 | おそらく本当は他のパッケージにあるのでは? |
| 15049 | 8097 | L<perlform> を参照してください。 |
| 15050 | 8098 | |
| 15051 | 8099 | =item Undefined value assigned to typeglob |
| 15052 | 8100 | |
| 15053 | 8101 | =begin original |
| 15054 | 8102 | |
| 15055 | 8103 | (W misc) An undefined value was assigned to a typeglob, a la |
| 15056 | 8104 | C<*foo = undef>. This does nothing. It's possible that you really mean |
| 15057 | 8105 | C<undef *foo>. |
| 15058 | 8106 | |
| 15059 | 8107 | =end original |
| 15060 | 8108 | |
| 15061 | 8109 | (W misc) C<*foo = undef> のように、未定義値を型グロブに代入しました。 |
| 15062 | 8110 | これは何もしません。 |
| 15063 | 8111 | 本当は C<undef *foo> としたかったのかもしれません。 |
| 15064 | 8112 | |
| 15065 | 8113 | =item %s: Undefined variable |
| 15066 | 8114 | |
| 15067 | 8115 | =begin original |
| 15068 | 8116 | |
| 15069 | 8117 | (A) You've accidentally run your script through B<csh> instead of Perl. |
| 15070 | 8118 | Check the #! line, or manually feed your script into Perl yourself. |
| 15071 | 8119 | |
| 15072 | 8120 | =end original |
| 15073 | 8121 | |
| 15074 | 8122 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
| 15075 | 8123 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
| 15076 | 8124 | |
| 15077 | =item Unescaped left brace in regex is passed through in regex; marked by S<<-- HERE> in m/%s/ | |
| 15078 | ||
| 15079 | =begin original | |
| 15080 | ||
| 15081 | (W regexp) The simple rule to remember, if you want to | |
| 15082 | match a literal C<"{"> character (U+007B C<LEFT CURLY BRACKET>) in a | |
| 15083 | regular expression pattern, is to escape each literal instance of it in | |
| 15084 | some way. Generally easiest is to precede it with a backslash, like | |
| 15085 | C<"\{"> or enclose it in square brackets (C<"[{]">). If the pattern | |
| 15086 | delimiters are also braces, any matching right brace (C<"}">) should | |
| 15087 | also be escaped to avoid confusing the parser, for example, | |
| 15088 | ||
| 15089 | =end original | |
| 15090 | ||
| 15091 | (W regexp) 正規表現中で | |
| 15092 | リテラルな C<"{"> 文字 (U+007B C<LEFT CURLY BRACKET>) にマッチングしたいときに | |
| 15093 | 覚えておくべき単純な規則は、何らかの方法で | |
| 15094 | それぞれのリテラルな実体をエスケープすることです。 | |
| 15095 | 一般的に一番簡単なのは、C<"\{"> のように逆スラッシュを前置するか、 | |
| 15096 | かっこでかこむ (C<"[{]">) ことです。. | |
| 15097 | パターン区切り文字も中かっこの場合、マッチングする右中かっこ | |
| 15098 | (C<"}">) も、パーサーの混乱を避けるためにエスケープするべきです; 例えば: | |
| 15099 | ||
| 15100 | qr{abc\{def\}ghi} | |
| 15101 | ||
| 15102 | =begin original | |
| 15103 | ||
| 15104 | Forcing literal C<"{"> characters to be escaped will enable the Perl | |
| 15105 | language to be extended in various ways in future releases. To avoid | |
| 15106 | needlessly breaking existing code, the restriction is is not enforced in | |
| 15107 | contexts where there are unlikely to ever be extensions that could | |
| 15108 | conflict with the use there of C<"{"> as a literal. Those that are | |
| 15109 | not potentially ambiguous do not warn; those that are do raise a | |
| 15110 | non-deprecation warning. | |
| 15111 | ||
| 15112 | =end original | |
| 15113 | ||
| 15114 | リテラルな C<"{"> 文字にエスケープを強制することにより、 | |
| 15115 | 将来のリリースで様々な方法で Perl 言語を拡張できるようになります。 | |
| 15116 | 既存のコードを不必要に壊すことを避けるために、 | |
| 15117 | 拡張が C<"{"> をリテラルとして使うことと競合しそうにない文脈では | |
| 15118 | 制限は強制されません。 | |
| 15119 | 潜在的にあいまいでないものは警告されません; あいまいなものは | |
| 15120 | 廃止予定でない警告が発生します。 | |
| 15121 | ||
| 15122 | =begin original | |
| 15123 | ||
| 15124 | In this release of Perl, some literal uses of C<"{"> are fatal, and some | |
| 15125 | still just deprecated. This is because of an oversight: some uses of a | |
| 15126 | literal C<"{"> that should have raised a deprecation warning starting in | |
| 15127 | v5.20 did not warn until v5.26. By making the already-warned uses fatal | |
| 15128 | now, some of the planned extensions can be made to the language sooner. | |
| 15129 | The cases which are still allowed will be fatal in Perl 5.32. | |
| 15130 | ||
| 15131 | =end original | |
| 15132 | ||
| 15133 | このリリースの Perl では、C<"{"> のリテラルな使用法の一部は致命的エラーで、 | |
| 15134 | 一部は単に廃止予定です。 | |
| 15135 | これは見落としによるものです: v5.20 から廃止予定警告をだすべきだった | |
| 15136 | リテラルな C<"{"> の使用法の一部は v5.26 まで警告されていませんでした。 | |
| 15137 | すでに警告されていた使用法を今致命的エラーにすることで、 | |
| 15138 | 言語に計画されていた拡張の一部をより早く実行できます。 | |
| 15139 | まだ許されている使用法は Perl 5.32 で致命的エラーになる予定です。 | |
| 15140 | ||
| 15141 | =begin original | |
| 15142 | ||
| 15143 | The contexts where no warnings or errors are raised are: | |
| 15144 | ||
| 15145 | =end original | |
| 15146 | ||
| 15147 | 警告やエラーが出ない文脈は: | |
| 15148 | ||
| 15149 | =over 4 | |
| 15150 | ||
| 15151 | =item * | |
| 15152 | ||
| 15153 | =begin original | |
| 15154 | ||
| 15155 | as the first character in a pattern, or following C<"^"> indicating to | |
| 15156 | anchor the match to the beginning of a line. | |
| 15157 | ||
| 15158 | =end original | |
| 15159 | ||
| 15160 | パターンの最初の文字、あるいは行頭にマッチングすることを示す | |
| 15161 | C<"^"> に引き続いている場合。 | |
| 15162 | ||
| 15163 | =item * | |
| 15164 | ||
| 15165 | =begin original | |
| 15166 | ||
| 15167 | as the first character following a C<"|"> indicating alternation. | |
| 15168 | ||
| 15169 | =end original | |
| 15170 | ||
| 15171 | 代替を示す C<"|"> に引き続く最初の文字の場合。 | |
| 15172 | ||
| 15173 | =item * | |
| 15174 | ||
| 15175 | =begin original | |
| 15176 | ||
| 15177 | as the first character in a parenthesized grouping like | |
| 15178 | ||
| 15179 | =end original | |
| 15180 | ||
| 15181 | 次のようなかっこ付きグループの最初の文字の場合: | |
| 15182 | ||
| 15183 | /foo({bar)/ | |
| 15184 | /foo(?:{bar)/ | |
| 15185 | ||
| 15186 | =item * | |
| 15187 | ||
| 15188 | =begin original | |
| 15189 | ||
| 15190 | as the first character following a quantifier | |
| 15191 | ||
| 15192 | =end original | |
| 15193 | ||
| 15194 | 量指定子に引き続く最初の文字の場合 | |
| 15195 | ||
| 15196 | /\s*{/ | |
| 15197 | ||
| 15198 | =back | |
| 15199 | ||
| 15200 | =for comment | |
| 15201 | The text of the message above is duplicated below to allow splain (and | |
| 15202 | 'use diagnostics') to work. Since one is deprecated, and one not, khw | |
| 15203 | thinks they can't be combined as one message. | |
| 15204 | ||
| 15205 | =item Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32), passed through in regex; marked by S<<-- HERE> in m/%s/ | |
| 15206 | ||
| 15207 | =begin original | |
| 15208 | ||
| 15209 | (D deprecated, regexp) The simple rule to remember, if you want to | |
| 15210 | match a literal C<"{"> character (U+007B C<LEFT CURLY BRACKET>) in a | |
| 15211 | regular expression pattern, is to escape each literal instance of it in | |
| 15212 | some way. Generally easiest is to precede it with a backslash, like | |
| 15213 | C<"\{"> or enclose it in square brackets (C<"[{]">). If the pattern | |
| 15214 | delimiters are also braces, any matching right brace (C<"}">) should | |
| 15215 | also be escaped to avoid confusing the parser, for example, | |
| 15216 | ||
| 15217 | =end original | |
| 15218 | ||
| 15219 | (D deprecated, regexp) 正規表現中で | |
| 15220 | リテラルな C<"{"> 文字 (U+007B C<LEFT CURLY BRACKET>) にマッチングしたいときに | |
| 15221 | 覚えておくべき単純な規則は、何らかの方法で | |
| 15222 | それぞれのリテラルな実体をエスケープすることです。 | |
| 15223 | 一般的に一番簡単なのは、C<"\{"> のように逆スラッシュを前置するか、 | |
| 15224 | かっこでかこむ (C<"[{]">) ことです。. | |
| 15225 | パターン区切り文字も中かっこの場合、マッチングする右中かっこ | |
| 15226 | (C<"}">) も、パーサーの混乱を避けるためにエスケープするべきです; 例えば: | |
| 15227 | ||
| 15228 | qr{abc\{def\}ghi} | |
| 15229 | ||
| 15230 | =begin original | |
| 15231 | ||
| 15232 | Forcing literal C<"{"> characters to be escaped will enable the Perl | |
| 15233 | language to be extended in various ways in future releases. To avoid | |
| 15234 | needlessly breaking existing code, the restriction is is not enforced in | |
| 15235 | contexts where there are unlikely to ever be extensions that could | |
| 15236 | conflict with the use there of C<"{"> as a literal. Those that are | |
| 15237 | not potentially ambiguous do not warn; those that are do raise a | |
| 15238 | non-deprecation warning. | |
| 15239 | ||
| 15240 | =end original | |
| 15241 | ||
| 15242 | リテラルな C<"{"> 文字にエスケープを強制することにより、 | |
| 15243 | 将来のリリースで様々な方法で Perl 言語を拡張できるようになります。 | |
| 15244 | 既存のコードを不必要に壊すことを避けるために、 | |
| 15245 | 拡張が C<"{"> をリテラルとして使うことと競合しそうにない文脈では | |
| 15246 | 制限は強制されません。 | |
| 15247 | 潜在的にあいまいでないものは警告されません; あいまいなものは | |
| 15248 | 廃止予定でない警告が発生します。 | |
| 15249 | ||
| 15250 | =begin original | |
| 15251 | ||
| 15252 | In this release of Perl, some literal uses of C<"{"> are fatal, and some | |
| 15253 | still just deprecated. This is because of an oversight: some uses of a | |
| 15254 | literal C<"{"> that should have raised a deprecation warning starting in | |
| 15255 | v5.20 did not warn until v5.26. By making the already-warned uses fatal | |
| 15256 | now, some of the planned extensions can be made to the language sooner. | |
| 15257 | The cases which are still allowed will be fatal in Perl 5.32. | |
| 15258 | ||
| 15259 | =end original | |
| 15260 | ||
| 15261 | このリリースの Perl では、C<"{"> のリテラルな使用法の一部は致命的エラーで、 | |
| 15262 | 一部は単に廃止予定です。 | |
| 15263 | これは見落としによるものです: v5.20 から廃止予定警告をだすべきだった | |
| 15264 | リテラルな C<"{"> の使用法の一部は v5.26 まで警告されていませんでした。 | |
| 15265 | すでに警告されていた使用法を今致命的エラーにすることで、 | |
| 15266 | 言語に計画されていた拡張の一部をより早く実行できます。 | |
| 15267 | まだ許されている使用法は Perl 5.32 で致命的エラーになる予定です。 | |
| 15268 | ||
| 15269 | =begin original | |
| 15270 | ||
| 15271 | The contexts where no warnings or errors are raised are: | |
| 15272 | ||
| 15273 | =end original | |
| 15274 | ||
| 15275 | 警告やエラーが出ない文脈は: | |
| 15276 | ||
| 15277 | =over 4 | |
| 15278 | ||
| 15279 | =item * | |
| 15280 | ||
| 15281 | =begin original | |
| 15282 | ||
| 15283 | as the first character in a pattern, or following C<"^"> indicating to | |
| 15284 | anchor the match to the beginning of a line. | |
| 15285 | ||
| 15286 | =end original | |
| 15287 | ||
| 15288 | パターンの最初の文字、あるいは行頭にマッチングすることを示す | |
| 15289 | C<"^"> に引き続いている場合。 | |
| 15290 | ||
| 15291 | =item * | |
| 15292 | ||
| 15293 | =begin original | |
| 15294 | ||
| 15295 | as the first character following a C<"|"> indicating alternation. | |
| 15296 | ||
| 15297 | =end original | |
| 15298 | ||
| 15299 | 代替を示す C<"|"> に引き続く最初の文字の場合。 | |
| 15300 | ||
| 15301 | =item * | |
| 15302 | ||
| 15303 | =begin original | |
| 15304 | ||
| 15305 | as the first character in a parenthesized grouping like | |
| 15306 | ||
| 15307 | =end original | |
| 15308 | ||
| 15309 | 次のようなかっこ付きグループの最初の文字の場合: | |
| 15310 | ||
| 15311 | /foo({bar)/ | |
| 15312 | /foo(?:{bar)/ | |
| 15313 | ||
| 15314 | =item * | |
| 15315 | ||
| 15316 | =begin original | |
| 15317 | ||
| 15318 | as the first character following a quantifier | |
| 15319 | ||
| 15320 | =end original | |
| 15321 | ||
| 15322 | 量指定子に引き続く最初の文字の場合 | |
| 15323 | ||
| 15324 | /\s*{/ | |
| 15325 | ||
| 15326 | =back | |
| 15327 | ||
| 15328 | =for comment | |
| 15329 | The text of the message above is duplicated below to allow splain (and | |
| 15330 | 'use diagnostics') to work. Since one is fatal, and one not, they can't | |
| 15331 | be combined as one message. Perhaps perldiag could be enhanced to | |
| 15332 | handle this case. | |
| 15333 | ||
| 15334 | =item Unescaped left brace in regex is illegal here in regex; | |
| 15335 | marked by S<<-- HERE> in m/%s/ | |
| 15336 | ||
| 15337 | =begin original | |
| 15338 | ||
| 15339 | (F) The simple rule to remember, if you want to | |
| 15340 | match a literal C<"{"> character (U+007B C<LEFT CURLY BRACKET>) in a | |
| 15341 | regular expression pattern, is to escape each literal instance of it in | |
| 15342 | some way. Generally easiest is to precede it with a backslash, like | |
| 15343 | C<"\{"> or enclose it in square brackets (C<"[{]">). If the pattern | |
| 15344 | delimiters are also braces, any matching right brace (C<"}">) should | |
| 15345 | also be escaped to avoid confusing the parser, for example, | |
| 15346 | ||
| 15347 | =end original | |
| 15348 | ||
| 15349 | (F) 正規表現中で | |
| 15350 | リテラルな C<"{"> 文字 (U+007B C<LEFT CURLY BRACKET>) にマッチングしたいときに | |
| 15351 | 覚えておくべき単純な規則は、何らかの方法で | |
| 15352 | それぞれのリテラルな実体をエスケープすることです。 | |
| 15353 | 一般的に一番簡単なのは、C<"\{"> のように逆スラッシュを前置するか、 | |
| 15354 | かっこでかこむ (C<"[{]">) ことです。. | |
| 15355 | パターン区切り文字も中かっこの場合、マッチングする右中かっこ | |
| 15356 | (C<"}">) も、パーサーの混乱を避けるためにエスケープするべきです; 例えば: | |
| 15357 | ||
| 15358 | qr{abc\{def\}ghi} | |
| 15359 | ||
| 15360 | =begin original | |
| 15361 | ||
| 15362 | Forcing literal C<"{"> characters to be escaped will enable the Perl | |
| 15363 | language to be extended in various ways in future releases. To avoid | |
| 15364 | needlessly breaking existing code, the restriction is is not enforced in | |
| 15365 | contexts where there are unlikely to ever be extensions that could | |
| 15366 | conflict with the use there of C<"{"> as a literal. Those that are | |
| 15367 | not potentially ambiguous do not warn; those that are do raise a | |
| 15368 | non-deprecation warning. | |
| 15369 | ||
| 15370 | =end original | |
| 15371 | ||
| 15372 | リテラルな C<"{"> 文字にエスケープを強制することにより、 | |
| 15373 | 将来のリリースで様々な方法で Perl 言語を拡張できるようになります。 | |
| 15374 | 既存のコードを不必要に壊すことを避けるために、 | |
| 15375 | 拡張が C<"{"> をリテラルとして使うことと競合しそうにない文脈では | |
| 15376 | 制限は強制されません。 | |
| 15377 | 潜在的にあいまいでないものは警告されません; あいまいなものは | |
| 15378 | 廃止予定でない警告が発生します。 | |
| 15379 | ||
| 15380 | =begin original | |
| 15381 | ||
| 15382 | In this release of Perl, some literal uses of C<"{"> are fatal, and some | |
| 15383 | still just deprecated. This is because of an oversight: some uses of a | |
| 15384 | literal C<"{"> that should have raised a deprecation warning starting in | |
| 15385 | v5.20 did not warn until v5.26. By making the already-warned uses fatal | |
| 15386 | now, some of the planned extensions can be made to the language sooner. | |
| 15387 | The cases which are still allowed will be fatal in Perl 5.32. | |
| 15388 | ||
| 15389 | =end original | |
| 15390 | ||
| 15391 | このリリースの Perl では、C<"{"> のリテラルな使用法の一部は致命的エラーで、 | |
| 15392 | 一部は単に廃止予定です。 | |
| 15393 | これは見落としによるものです: v5.20 から廃止予定警告をだすべきだった | |
| 15394 | リテラルな C<"{"> の使用法の一部は v5.26 まで警告されていませんでした。 | |
| 15395 | すでに警告されていた使用法を今致命的エラーにすることで、 | |
| 15396 | 言語に計画されていた拡張の一部をより早く実行できます。 | |
| 15397 | まだ許されている使用法は Perl 5.32 で致命的エラーになる予定です。 | |
| 15398 | ||
| 15399 | =begin original | |
| 15400 | ||
| 15401 | The contexts where no warnings or errors are raised are: | |
| 15402 | ||
| 15403 | =end original | |
| 15404 | ||
| 15405 | 警告やエラーが出ない文脈は: | |
| 15406 | ||
| 15407 | =over 4 | |
| 15408 | ||
| 15409 | =item * | |
| 15410 | ||
| 15411 | =begin original | |
| 15412 | ||
| 15413 | as the first character in a pattern, or following C<"^"> indicating to | |
| 15414 | anchor the match to the beginning of a line. | |
| 15415 | ||
| 15416 | =end original | |
| 15417 | ||
| 15418 | パターンの最初の文字、あるいは行頭にマッチングすることを示す | |
| 15419 | C<"^"> に引き続いている場合。 | |
| 15420 | ||
| 15421 | =item * | |
| 15422 | ||
| 15423 | =begin original | |
| 15424 | ||
| 15425 | as the first character following a C<"|"> indicating alternation. | |
| 15426 | ||
| 15427 | =end original | |
| 15428 | ||
| 15429 | 代替を示す C<"|"> に引き続く最初の文字の場合。 | |
| 15430 | ||
| 15431 | =item * | |
| 15432 | ||
| 15433 | =begin original | |
| 15434 | ||
| 15435 | as the first character in a parenthesized grouping like | |
| 15436 | ||
| 15437 | =end original | |
| 15438 | ||
| 15439 | 次のようなかっこ付きグループの最初の文字の場合: | |
| 15440 | ||
| 15441 | /foo({bar)/ | |
| 15442 | /foo(?:{bar)/ | |
| 15443 | ||
| 15444 | =item * | |
| 15445 | ||
| 15446 | =begin original | |
| 15447 | ||
| 15448 | as the first character following a quantifier | |
| 15449 | ||
| 15450 | =end original | |
| 15451 | ||
| 15452 | 量指定子に引き続く最初の文字の場合 | |
| 15453 | ||
| 15454 | /\s*{/ | |
| 15455 | ||
| 15456 | =back | |
| 15457 | ||
| 15458 | =item Unescaped literal '%c' in regex; marked by <-- HERE in m/%s/ | |
| 15459 | ||
| 15460 | =begin original | |
| 15461 | ||
| 15462 | (W regexp) (only under C<S<use re 'strict'>>) | |
| 15463 | ||
| 15464 | =end original | |
| 15465 | ||
| 15466 | (W regexp) (C<S<use re 'strict'>> の下のみ) | |
| 15467 | ||
| 15468 | =begin original | |
| 15469 | ||
| 15470 | Within the scope of C<S<use re 'strict'>> in a regular expression | |
| 15471 | pattern, you included an unescaped C<}> or C<]> which was interpreted | |
| 15472 | literally. These two characters are sometimes metacharacters, and | |
| 15473 | sometimes literals, depending on what precedes them in the | |
| 15474 | pattern. This is unlike the similar C<)> which is always a | |
| 15475 | metacharacter unless escaped. | |
| 15476 | ||
| 15477 | =end original | |
| 15478 | ||
| 15479 | C<S<use re 'strict'>> スコープでの正規表現パターンの中で、 | |
| 15480 | リテラルとして解釈される、エスケープされない C<}> や C<]> を置きました。 | |
| 15481 | これらの二つの文字は時にはメタ文字で、ときにはリテラルです; | |
| 15482 | パターン中で何が前に置かれるかによります。 | |
| 15483 | これは、エスケープされない限り常にメタ文字である C<)> に似ていますが | |
| 15484 | 異なります。 | |
| 15485 | ||
| 15486 | =begin original | |
| 15487 | ||
| 15488 | This action at a distance, perhaps a large distance, can lead to Perl | |
| 15489 | silently misinterpreting what you meant, so when you specify that you | |
| 15490 | want extra checking by C<S<use re 'strict'>>, this warning is generated. | |
| 15491 | If you meant the character as a literal, simply confirm that to Perl by | |
| 15492 | preceding the character with a backslash, or make it into a bracketed | |
| 15493 | character class (like C<[}]>). If you meant it as closing a | |
| 15494 | corresponding C<[> or C<{>, you'll need to look back through the pattern | |
| 15495 | to find out why that isn't happening. | |
| 15496 | ||
| 15497 | =end original | |
| 15498 | ||
| 15499 | 遠くで、おそらくはとても遠くでこの動作をすると、Perl は暗黙のままで | |
| 15500 | あなたの意図を間違って解釈するかもしれないので、 | |
| 15501 | C<S<use re 'strict'>> で追加のチェックを求めるように指定すると、 | |
| 15502 | この警告が出力されます。 | |
| 15503 | この文字がリテラルであるなら、文字の前に逆スラッシュを置くか、 | |
| 15504 | (C<[}]> のように)大かっこ文字クラスの中に入れることで、Perl に | |
| 15505 | はっきりさせてください。 | |
| 15506 | これが対応する C<[> や C<{> を閉じるものなら、 | |
| 15507 | なぜそれが起きないかを見つけるためにパターン全体を見直してください。 | |
| 15508 | ||
| 15509 | 8125 | =item unexec of %s into %s failed! |
| 15510 | 8126 | |
| 15511 | 8127 | =begin original |
| 15512 | 8128 | |
| 15513 | 8129 | (F) The unexec() routine failed for some reason. See your local FSF |
| 15514 | 8130 | representative, who probably put it there in the first place. |
| 15515 | 8131 | |
| 15516 | 8132 | =end original |
| 15517 | 8133 | |
| 15518 | 8134 | (F) unexec() ルーティンが何らかの理由によって失敗しました。 |
| 15519 | 8135 | 最初にインストールしたであろう、サイトの FSF 代表者にたずねてみてください。 |
| 15520 | 8136 | |
| 15521 | =item Un | |
| 8137 | =item Unknown BYTEORDER | |
| 15522 | marked by S<<-- HERE> in m/%s/ | |
| 15523 | 8138 | |
| 15524 | 8139 | =begin original |
| 15525 | 8140 | |
| 15526 | (F) | |
| 8141 | (F) There are no byte-swapping functions for a machine with this byte | |
| 8142 | order. | |
| 15527 | 8143 | |
| 15528 | 8144 | =end original |
| 15529 | 8145 | |
| 15530 | (F) | |
| 8146 | (F) このバイト順序を入れ替える関数がありません。 | |
| 15531 | 8147 | |
| 15532 | (? | |
| 8148 | =item Unknown switch condition (?(%.2s before << HERE in regex m/%s/ | |
| 15533 | 8149 | |
| 15534 | 8150 | =begin original |
| 15535 | 8151 | |
| 15536 | ||
| 8152 | (F) The condition of a (?(condition)if-clause|else-clause) construct is not | |
| 15537 | no | |
| 8153 | known. The condition may be lookaround (the condition is true if the | |
| 8154 | lookaround is true), a (?{...}) construct (the condition is true if the | |
| 8155 | code evaluates to a true value), or a number (the condition is true if the | |
| 8156 | set of capturing parentheses named by the number is defined). | |
| 15538 | 8157 | |
| 15539 | 8158 | =end original |
| 15540 | 8159 | |
| 15541 | ||
| 8160 | (F) (?(condition)if-clause|else-clause) 構文の条件が不明です。 | |
| 15542 | ||
| 8161 | 条件は参照 (参照が真なら条件は真)、 | |
| 8162 | (?{...}) 構文 (コードが真の値に評価されれば真)、 | |
| 8163 | 数値 (番号付けされた、捕捉されたかっこの集合が定義されていれば真) の | |
| 8164 | いずれかです。 | |
| 15543 | 8165 | |
| 15544 | =item Unexpected character in regex; marked by S<<-- HERE> in m/%s/ | |
| 15545 | ||
| 15546 | 8166 | =begin original |
| 15547 | 8167 | |
| 15548 | ||
| 8168 | The << HERE shows in the regular expression about where the problem was | |
| 8169 | discovered. See L<perlre>. | |
| 15549 | 8170 | |
| 15550 | 8171 | =end original |
| 15551 | 8172 | |
| 15552 | ||
| 8173 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 8174 | L<perlre> を参照してください。 | |
| 15553 | 8175 | |
| 15554 | (?[ z ]) | |
| 15555 | ||
| 15556 | =begin original | |
| 15557 | ||
| 15558 | Within C<(?[ ])>, no literal characters are allowed unless they are | |
| 15559 | within an inner pair of square brackets, like | |
| 15560 | ||
| 15561 | =end original | |
| 15562 | ||
| 15563 | C<(?[ ])> の中では、次のようにさらに内側の大かっこの内側でない限り | |
| 15564 | リテラル文字は許されません | |
| 15565 | ||
| 15566 | (?[ [ z ] ]) | |
| 15567 | ||
| 15568 | =begin original | |
| 15569 | ||
| 15570 | Another possibility is that you forgot a backslash. Perl isn't smart | |
| 15571 | enough to figure out what you really meant. | |
| 15572 | ||
| 15573 | =end original | |
| 15574 | ||
| 15575 | もう一つの可能性は、逆スラッシュを忘れたことです。 | |
| 15576 | Perl はあなたが何を意味しているのかを見つけ出せるほど賢くはありませんでした。 | |
| 15577 | ||
| 15578 | =item Unexpected constant lvalue entersub entry via type/targ %d:%d | |
| 15579 | ||
| 15580 | =begin original | |
| 15581 | ||
| 15582 | (P) When compiling a subroutine call in lvalue context, Perl failed an | |
| 15583 | internal consistency check. It encountered a malformed op tree. | |
| 15584 | ||
| 15585 | =end original | |
| 15586 | ||
| 15587 | (P) 左辺値コンテキストでのサブルーチン呼び出しをコンパイルするときに、Perl は | |
| 15588 | 内部一貫性チェックに失敗しました。 | |
| 15589 | 不正な構文木に遭遇しました。 | |
| 15590 | ||
| 15591 | =item Unexpected exit %u | |
| 15592 | ||
| 15593 | =begin original | |
| 15594 | ||
| 15595 | (S) exit() was called or the script otherwise finished gracefully when | |
| 15596 | C<PERL_EXIT_WARN> was set in C<PL_exit_flags>. | |
| 15597 | ||
| 15598 | =end original | |
| 15599 | ||
| 15600 | (S) C<PL_exit_flags> に C<PERL_EXIT_WARN> が設定されているときに exit() が | |
| 15601 | 呼び出されたりその他の理由で通常終了しました。 | |
| 15602 | ||
| 15603 | =item Unexpected exit failure %d | |
| 15604 | ||
| 15605 | =begin original | |
| 15606 | ||
| 15607 | (S) An uncaught die() was called when C<PERL_EXIT_WARN> was set in | |
| 15608 | C<PL_exit_flags>. | |
| 15609 | ||
| 15610 | =end original | |
| 15611 | ||
| 15612 | (S) C<PL_exit_flags> に C<PERL_EXIT_WARN> が設定されているときに | |
| 15613 | 捕らえられていない die() が呼び出されました。 | |
| 15614 | ||
| 15615 | =item Unexpected ')' in regex; marked by S<<-- HERE> in m/%s/ | |
| 15616 | ||
| 15617 | =begin original | |
| 15618 | ||
| 15619 | (F) You had something like this: | |
| 15620 | ||
| 15621 | =end original | |
| 15622 | ||
| 15623 | (F) 以下のようなものを書きました: | |
| 15624 | ||
| 15625 | (?[ ( \p{Digit} + ) ]) | |
| 15626 | ||
| 15627 | =begin original | |
| 15628 | ||
| 15629 | The C<")"> is out-of-place. Something apparently was supposed to | |
| 15630 | be combined with the digits, or the C<"+"> shouldn't be there, or | |
| 15631 | something like that. Perl can't figure out what was intended. | |
| 15632 | ||
| 15633 | =end original | |
| 15634 | ||
| 15635 | C<")"> の場所がおかしいです。 | |
| 15636 | 何かを数値と結合しようとしていたのか、C<"+"> があるべきでないのか、あるいは | |
| 15637 | 似たような何かです。 | |
| 15638 | Perl は何を意図しているのかが分かりませんでした。 | |
| 15639 | ||
| 15640 | =item Unexpected ']' with no following ')' in (?[... in regex; marked by | |
| 15641 | <-- HERE in m/%s/ | |
| 15642 | ||
| 15643 | =begin original | |
| 15644 | ||
| 15645 | (F) While parsing an extended character class a ']' character was | |
| 15646 | encountered at a point in the definition where the only legal use of | |
| 15647 | ']' is to close the character class definition as part of a '])', you | |
| 15648 | may have forgotten the close paren, or otherwise confused the parser. | |
| 15649 | ||
| 15650 | =end original | |
| 15651 | ||
| 15652 | (F) 拡張文字クラスのパース中、'])' の一部として文字クラス定義を | |
| 15653 | 閉じることが唯一の有効な ']' の使い方である位置で ']' に遭遇しました; | |
| 15654 | 閉じかっこを忘れているか、さもなければパーサが混乱しています。 | |
| 15655 | ||
| 15656 | =item Unexpected '(' with no preceding operator in regex; marked by | |
| 15657 | S<<-- HERE> in m/%s/ | |
| 15658 | ||
| 15659 | =begin original | |
| 15660 | ||
| 15661 | (F) You had something like this: | |
| 15662 | ||
| 15663 | =end original | |
| 15664 | ||
| 15665 | (F) 以下のようなものを書きました: | |
| 15666 | ||
| 15667 | (?[ \p{Digit} ( \p{Lao} + \p{Thai} ) ]) | |
| 15668 | ||
| 15669 | =begin original | |
| 15670 | ||
| 15671 | There should be an operator before the C<"(">, as there's | |
| 15672 | no indication as to how the digits are to be combined | |
| 15673 | with the characters in the Lao and Thai scripts. | |
| 15674 | ||
| 15675 | =end original | |
| 15676 | ||
| 15677 | これらは C<"("> の前の演算子であるべきです; ラオ語やタイ語で数字とこれらの | |
| 15678 | 文字がどのように結びつくかの指示がないからです。 | |
| 15679 | ||
| 15680 | =item Unicode non-character U+%X is not recommended for open interchange | |
| 15681 | ||
| 15682 | =begin original | |
| 15683 | ||
| 15684 | (S nonchar) Certain codepoints, such as U+FFFE and U+FFFF, are | |
| 15685 | defined by the Unicode standard to be non-characters. Those | |
| 15686 | are legal codepoints, but are reserved for internal use; so, | |
| 15687 | applications shouldn't attempt to exchange them. An application | |
| 15688 | may not be expecting any of these characters at all, and receiving | |
| 15689 | them may lead to bugs. If you know what you are doing you can | |
| 15690 | turn off this warning by C<no warnings 'nonchar';>. | |
| 15691 | ||
| 15692 | =end original | |
| 15693 | ||
| 15694 | (S nonchar) U+FFFE や U+FFFF のようないくつかの符号位置は | |
| 15695 | Unicode 標準によって非文字として指定されています。 | |
| 15696 | これらは有効な符号位置ですが、内部使用のために予約されています; 従って、 | |
| 15697 | アプリケーションはこれを交換しようとするべきではありません。 | |
| 15698 | アプリケーションは、これらの文字を想定するべきではなく、これらを | |
| 15699 | 受け取るとバグを引き起こすことがあります。 | |
| 15700 | もし自分が何をしているかを理解しているなら、C<no warnings 'nonchar';> で | |
| 15701 | 警告を無効にできます。 | |
| 15702 | ||
| 15703 | =begin original | |
| 15704 | ||
| 15705 | This is not really a "severe" error, but it is supposed to be | |
| 15706 | raised by default even if warnings are not enabled, and currently | |
| 15707 | the only way to do that in Perl is to mark it as serious. | |
| 15708 | ||
| 15709 | =end original | |
| 15710 | ||
| 15711 | これは実際には「重大な」エラーではありませんが、例え警告が有効でなくても | |
| 15712 | デフォルトで発生させることになっていて、今のところ Perl で出来る唯一のことは | |
| 15713 | これを重大なものとして扱うことです。 | |
| 15714 | ||
| 15715 | =item Unicode property wildcard not terminated | |
| 15716 | ||
| 15717 | =begin original | |
| 15718 | ||
| 15719 | (F) A Unicode property wildcard looks like a delimited regular | |
| 15720 | expression pattern (all within the braces of the enclosing C<\p{...}>. | |
| 15721 | The closing delimtter to match the opening one was not found. If the | |
| 15722 | opening one is escaped by preceding it with a backslash, the closing one | |
| 15723 | must also be so escaped. | |
| 15724 | ||
| 15725 | =end original | |
| 15726 | ||
| 15727 | (F) Unicode 特性ワイルドカードは区切られた正規表現パターン | |
| 15728 | (C<\p{...}> を囲む中かっこの中に全てがある) のように見えます。 | |
| 15729 | 開き区切り文字に対応する閉じ区切り文字が見つかりませんでした。 | |
| 15730 | 前に逆スラッシュを置くことで開き文字がエスケープされている場合、 | |
| 15731 | 閉じ文字もエスケープされていなければなりません。 | |
| 15732 | ||
| 15733 | =item Unicode surrogate U+%X is illegal in UTF-8 | |
| 15734 | ||
| 15735 | =begin original | |
| 15736 | ||
| 15737 | (S surrogate) You had a UTF-16 surrogate in a context where they are | |
| 15738 | not considered acceptable. These code points, between U+D800 and | |
| 15739 | U+DFFF (inclusive), are used by Unicode only for UTF-16. However, Perl | |
| 15740 | internally allows all unsigned integer code points (up to the size limit | |
| 15741 | available on your platform), including surrogates. But these can cause | |
| 15742 | problems when being input or output, which is likely where this message | |
| 15743 | came from. If you really really know what you are doing you can turn | |
| 15744 | off this warning by C<no warnings 'surrogate';>. | |
| 15745 | ||
| 15746 | =end original | |
| 15747 | ||
| 15748 | (S surrogate) 受け付けられないと考えられる場所に UTF-16 サロゲートを | |
| 15749 | 使いました。 | |
| 15750 | これらの符号位置、U+D800 から U+DFFF (両端含む) は UTF-16 のためだけに | |
| 15751 | Unicode によって使われます。 | |
| 15752 | しかし Perl は、サロゲートを含む、内部で全ての符号なし整数の符号位置(最大値は | |
| 15753 | プラットフォームで利用可能なサイズ上限)を受け付けます。 | |
| 15754 | しかし、これらは入力や出力になるときに問題を引き起こします; それは | |
| 15755 | おそらくこのメッセージが出た場所です。 | |
| 15756 | 自分で何をしているのかが本当に本当に分かっているなら、 | |
| 15757 | C<no warnings 'surrogate';> とすることでこの警告をオフにできます。 | |
| 15758 | ||
| 15759 | =item Unknown charname '%s' | |
| 15760 | ||
| 15761 | =begin original | |
| 15762 | ||
| 15763 | (F) The name you used inside C<\N{}> is unknown to Perl. Check the | |
| 15764 | spelling. You can say C<use charnames ":loose"> to not have to be | |
| 15765 | so precise about spaces, hyphens, and capitalization on standard Unicode | |
| 15766 | names. (Any custom aliases that have been created must be specified | |
| 15767 | exactly, regardless of whether C<:loose> is used or not.) This error may | |
| 15768 | also happen if the C<\N{}> is not in the scope of the corresponding | |
| 15769 | C<S<use charnames>>. | |
| 15770 | ||
| 15771 | =end original | |
| 15772 | ||
| 15773 | (F) C<\N{}> の内側で使った名前は Perl が知らないものでした。 | |
| 15774 | 綴りをチェックしてください。 | |
| 15775 | C<use charnames ":loose"> と指定することで、標準 Unicode 名の空白、ハイフン、 | |
| 15776 | 大文字小文字についてはそれほど正確でなくてもいいようになります。 | |
| 15777 | (作成されたカスタム別名は、C<:loose> のありなしに関わらず正確に | |
| 15778 | 指定されなければなりません。) | |
| 15779 | このエラーは、C<\N{}> が、対応する C<S<use charnames>> のスコープ内に | |
| 15780 | ないときにも起こることがあります。 | |
| 15781 | ||
| 15782 | =item Unknown '(*...)' construct '%s' in regex; marked by <-- HERE in m/%s/ | |
| 15783 | ||
| 15784 | =begin original | |
| 15785 | ||
| 15786 | (F) The C<(*> was followed by something that the regular expression | |
| 15787 | compiler does not recognize. Check your spelling. | |
| 15788 | ||
| 15789 | =end original | |
| 15790 | ||
| 15791 | (F) C<(*> に、何か正規表現コンパイラが理解できないものが | |
| 15792 | 引き続いていました。 | |
| 15793 | 綴りをチェックしてください。 | |
| 15794 | ||
| 15795 | =item Unknown error | |
| 15796 | ||
| 15797 | =begin original | |
| 15798 | ||
| 15799 | (P) Perl was about to print an error message in C<$@>, but the C<$@> variable | |
| 15800 | did not exist, even after an attempt to create it. | |
| 15801 | ||
| 15802 | =end original | |
| 15803 | ||
| 15804 | (P) Perl は C<$@> のエラーメッセージを表示しようとしましたが、C<$@> 変数が | |
| 15805 | (たとえ作ろうとした後でも) 存在しませんでした。 | |
| 15806 | ||
| 15807 | =item Unknown locale category %d; can't set it to %s | |
| 15808 | ||
| 15809 | =begin original | |
| 15810 | ||
| 15811 | (W locale) You used a locale category that perl doesn't recognize, so it | |
| 15812 | cannot carry out your request. Check that you are using a valid | |
| 15813 | category. If so, see L<perllocale/Multi-threaded> for advice on | |
| 15814 | reporting this as a bug, and for modifying perl locally to accommodate | |
| 15815 | your needs. | |
| 15816 | ||
| 15817 | =end original | |
| 15818 | ||
| 15819 | (W locale) perl が認識できないロケールカテゴリを使ったので、 | |
| 15820 | 要求を実行することができません。 | |
| 15821 | 正しいカテゴリを使っているかチェックしてください。 | |
| 15822 | もしそうなら、これをバグとして報告する助言や、必要性に対応するために | |
| 15823 | perl をローカルで修正する方法について L<perllocale/Multi-threaded> を | |
| 15824 | 参照してください。 | |
| 15825 | ||
| 15826 | 8176 | =item Unknown open() mode '%s' |
| 15827 | 8177 | |
| 15828 | 8178 | =begin original |
| 15829 | 8179 | |
| 15830 | 8180 | (F) The second argument of 3-argument open() is not among the list |
| 15831 | 8181 | of valid modes: C<< < >>, C<< > >>, C<<< >> >>>, C<< +< >>, |
| 15832 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|-> | |
| 8182 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|->. | |
| 15833 | 8183 | |
| 15834 | 8184 | =end original |
| 15835 | 8185 | |
| 15836 | 8186 | (F) 3 引数 open() の 第 2 引数が以下の有効なモードの |
| 15837 | 8187 | どれでもありませんでした: |
| 15838 | 8188 | C<< < >>, C<< > >>, C<<< >> >>>, C<< +< >>, |
| 15839 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|-> | |
| 8189 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|->. | |
| 15840 | 8190 | |
| 15841 | =item Unknown PerlIO layer "%s" | |
| 15842 | ||
| 15843 | =begin original | |
| 15844 | ||
| 15845 | (W layer) An attempt was made to push an unknown layer onto the Perl I/O | |
| 15846 | system. (Layers take care of transforming data between external and | |
| 15847 | internal representations.) Note that some layers, such as C<mmap>, | |
| 15848 | are not supported in all environments. If your program didn't | |
| 15849 | explicitly request the failing operation, it may be the result of the | |
| 15850 | value of the environment variable PERLIO. | |
| 15851 | ||
| 15852 | =end original | |
| 15853 | ||
| 15854 | (W layer) 不明な層をPerl I/O システムに追加しようとしました。 | |
| 15855 | (層はデータの外部表現と内部表現の変換を扱います。) | |
| 15856 | C<mmap> のような層は、全ての環境で対応しているわけではないことに | |
| 15857 | 注意してください。 | |
| 15858 | 明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の | |
| 15859 | 値が原因かもしれません。 | |
| 15860 | ||
| 15861 | 8191 | =item Unknown process %x sent message to prime_env_iter: %s |
| 15862 | 8192 | |
| 15863 | 8193 | =begin original |
| 15864 | 8194 | |
| 15865 | 8195 | (P) An error peculiar to VMS. Perl was reading values for %ENV before |
| 15866 | 8196 | iterating over it, and someone else stuck a message in the stream of |
| 15867 | 8197 | data Perl expected. Someone's very confused, or perhaps trying to |
| 15868 | 8198 | subvert Perl's population of %ENV for nefarious purposes. |
| 15869 | 8199 | |
| 15870 | 8200 | =end original |
| 15871 | 8201 | |
| 15872 | (P) VMS | |
| 8202 | (P) VMS 固有のエラーです。 | |
| 15873 | 8203 | Perl は %ENV を反復する前に %ENV から値を読み込み、Perl が想定している |
| 15874 | 8204 | データストリームの中に誰かがメッセージを差し込みました。 |
| 15875 | 8205 | 誰かはとても混乱しているか、邪悪な目的のために %ENV の Perl の集団を |
| 15876 | 8206 | 滅亡させようとしています。 |
| 15877 | 8207 | |
| 15878 | =item | |
| 8208 | =item unmatched [ before << HERE mark in regex m/%s/ | |
| 15879 | 8209 | |
| 15880 | 8210 | =begin original |
| 15881 | 8211 | |
| 15882 | (F) | |
| 8212 | (F) The brackets around a character class must match. If you wish to | |
| 15883 | of a regular expression pattern are interpreted by Perl as modifier | |
| 15884 | flags for the regex. One of the ones you specified is invalid. One way | |
| 15885 | this can happen is if you didn't put in white space between the end of | |
| 15886 | the regex and a following alphanumeric operator: | |
| 15887 | ||
| 15888 | =end original | |
| 15889 | ||
| 15890 | (F) 正規表現で、閉じデリミタの直後の英数字は Perl によって正規表現への | |
| 15891 | 修飾子フラグと解釈されます。 | |
| 15892 | その一つが不正でした。 | |
| 15893 | これが起きる一つの可能性は、正規表現の終わりと引き続く英数字演算子の間に | |
| 15894 | 空白を置いていない場合です: | |
| 15895 | ||
| 15896 | if ($a =~ /foo/and $bar == 3) { ... } | |
| 15897 | ||
| 15898 | =begin original | |
| 15899 | ||
| 15900 | The C<"a"> is a valid modifier flag, but the C<"n"> is not, and raises | |
| 15901 | this error. Likely what was meant instead was: | |
| 15902 | ||
| 15903 | =end original | |
| 15904 | ||
| 15905 | C<"a"> は正当な修飾子フラグですが、C<"n"> は違うので、このエラーが起こります。 | |
| 15906 | おそらくしたかったのは以下のようなことでしょう: | |
| 15907 | ||
| 15908 | if ($a =~ /foo/ and $bar == 3) { ... } | |
| 15909 | ||
| 15910 | =item Unknown "re" subpragma '%s' (known ones are: %s) | |
| 15911 | ||
| 15912 | =begin original | |
| 15913 | ||
| 15914 | (W) You tried to use an unknown subpragma of the "re" pragma. | |
| 15915 | ||
| 15916 | =end original | |
| 15917 | ||
| 15918 | (W) "re" プラグマの、不明なサブプラグマを使おうとしました。 | |
| 15919 | ||
| 15920 | =item Unknown switch condition (?(...)) in regex; marked by S<<-- HERE> in | |
| 15921 | m/%s/ | |
| 15922 | ||
| 15923 | =begin original | |
| 15924 | ||
| 15925 | (F) The condition part of a (?(condition)if-clause|else-clause) construct | |
| 15926 | is not known. The condition must be one of the following: | |
| 15927 | ||
| 15928 | =end original | |
| 15929 | ||
| 15930 | (?(...)if-clause|else-clause) 構造の条件部が不明です。 | |
| 15931 | 条件は以下のいずれかでなければなりません。 | |
| 15932 | ||
| 15933 | (1) (2) ... true if 1st, 2nd, etc., capture matched | |
| 15934 | (<NAME>) ('NAME') true if named capture matched | |
| 15935 | (?=...) (?<=...) true if subpattern matches | |
| 15936 | (*pla:...) (*plb:...) true if subpattern matches; also | |
| 15937 | (*positive_lookahead:...) | |
| 15938 | (*positive_lookbehind:...) | |
| 15939 | (*nla:...) (*nlb:...) true if subpattern fails to match; also | |
| 15940 | (*negative_lookahead:...) | |
| 15941 | (*negative_lookbehind:...) | |
| 15942 | (?{ CODE }) true if code returns a true value | |
| 15943 | (R) true if evaluating inside recursion | |
| 15944 | (R1) (R2) ... true if directly inside capture group 1, 2, | |
| 15945 | etc. | |
| 15946 | (R&NAME) true if directly inside named capture | |
| 15947 | (DEFINE) always false; for defining named subpatterns | |
| 15948 | ||
| 15949 | =begin original | |
| 15950 | ||
| 15951 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
| 15952 | discovered. See L<perlre>. | |
| 15953 | ||
| 15954 | =end original | |
| 15955 | ||
| 15956 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 15957 | L<perlre> を参照してください。 | |
| 15958 | ||
| 15959 | =item Unknown Unicode option letter '%c' | |
| 15960 | ||
| 15961 | =begin original | |
| 15962 | ||
| 15963 | (F) You specified an unknown Unicode option. See L<perlrun> documentation | |
| 15964 | of the C<-C> switch for the list of known options. | |
| 15965 | ||
| 15966 | =end original | |
| 15967 | ||
| 15968 | (F) 不明な Unicode オプションを指定しました。 | |
| 15969 | オプションの一覧については、L<perlrun> ドキュメントの C<-C> オプションを | |
| 15970 | 参照してください。 | |
| 15971 | ||
| 15972 | =item Unknown Unicode option value %d | |
| 15973 | ||
| 15974 | =begin original | |
| 15975 | ||
| 15976 | (F) You specified an unknown Unicode option. See L<perlrun> documentation | |
| 15977 | of the C<-C> switch for the list of known options. | |
| 15978 | ||
| 15979 | =end original | |
| 15980 | ||
| 15981 | (F) 不明な Unicode オプションを指定しました。 | |
| 15982 | オプションの一覧については、L<perlrun> ドキュメントの C<-C> オプションを | |
| 15983 | 参照してください。 | |
| 15984 | ||
| 15985 | =item Unknown verb pattern '%s' in regex; marked by S<<-- HERE> in m/%s/ | |
| 15986 | ||
| 15987 | =begin original | |
| 15988 | ||
| 15989 | (F) You either made a typo or have incorrectly put a C<*> quantifier | |
| 15990 | after an open brace in your pattern. Check the pattern and review | |
| 15991 | L<perlre> for details on legal verb patterns. | |
| 15992 | ||
| 15993 | =end original | |
| 15994 | ||
| 15995 | (F) タイプミスをしたか、間違ってパターン中の開き大かっこの後に | |
| 15996 | C<*> 量指定子を書いたかどちらかです。 | |
| 15997 | パターンをチェックして、有効な動詞パターンの詳細については | |
| 15998 | L<perlre> を再チェックしてください。 | |
| 15999 | ||
| 16000 | =item Unknown warnings category '%s' | |
| 16001 | ||
| 16002 | =begin original | |
| 16003 | ||
| 16004 | (F) An error issued by the C<warnings> pragma. You specified a warnings | |
| 16005 | category that is unknown to perl at this point. | |
| 16006 | ||
| 16007 | =end original | |
| 16008 | ||
| 16009 | (F) C<warnings> プラグマによるエラーです。 | |
| 16010 | 現在のところ perl が知らない警告カテゴリを指定しました。 | |
| 16011 | ||
| 16012 | =begin original | |
| 16013 | ||
| 16014 | Note that if you want to enable a warnings category registered by a | |
| 16015 | module (e.g. C<use warnings 'File::Find'>), you must have loaded this | |
| 16016 | module first. | |
| 16017 | ||
| 16018 | =end original | |
| 16019 | ||
| 16020 | (C<use warnings 'File::Find'> のように)モジュールによって登録される | |
| 16021 | 警告カテゴリを有効にしたい場合、このモジュールを先に読み込む必要が | |
| 16022 | あることに注意してください。 | |
| 16023 | ||
| 16024 | =item Unmatched [ in regex; marked by S<<-- HERE> in m/%s/ | |
| 16025 | ||
| 16026 | =begin original | |
| 16027 | ||
| 16028 | (F) The brackets around a character class must match. If you wish to | |
| 16029 | 8213 | include a closing bracket in a character class, backslash it or put it |
| 16030 | first. The | |
| 8214 | first. See L<perlre>. The << HERE shows in the regular expression about | |
| 16031 | ||
| 8215 | where the escape was discovered. | |
| 16032 | 8216 | |
| 16033 | 8217 | =end original |
| 16034 | 8218 | |
| 16035 | 8219 | (F) 文字クラスの周りの大かっこが一致していません。 |
| 16036 | 8220 | 文字クラスに閉じ大かっこを含めたい場合は、バックスラッシュをつけるか |
| 16037 | 8221 | 先頭に置いてください。 |
| 16038 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 16039 | 8222 | L<perlre> を参照してください。 |
| 8223 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 16040 | 8224 | |
| 16041 | =item | |
| 8225 | =item unmatched ( in regexp before << HERE mark in regex m/%s/ | |
| 16042 | 8226 | |
| 16043 | =item Unmatched ) in regex; marked by S<<-- HERE> in m/%s/ | |
| 16044 | ||
| 16045 | 8227 | =begin original |
| 16046 | 8228 | |
| 16047 | 8229 | (F) Unbackslashed parentheses must always be balanced in regular |
| 16048 | expressions. If you're a vi user, the % key is valuable for finding | |
| 8230 | expressions. If you're a vi user, the % key is valuable for finding the | |
| 16049 | ||
| 8231 | matching parenthesis. See L<perlre>. | |
| 16050 | regular expression the problem was discovered. See L<perlre>. | |
| 16051 | 8232 | |
| 16052 | 8233 | =end original |
| 16053 | 8234 | |
| 16054 | 8235 | (F) 正規表現の中ではバックスラッシュのついていないかっこは常に |
| 16055 | 8236 | 対応していなければなりません。 |
| 16056 | 8237 | vi ユーザーであれば、% キーが対応するかっこの発見に有用です。 |
| 16057 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 16058 | 8238 | L<perlre> を参照してください。 |
| 16059 | 8239 | |
| 16060 | 8240 | =item Unmatched right %s bracket |
| 16061 | 8241 | |
| 16062 | 8242 | =begin original |
| 16063 | 8243 | |
| 16064 | 8244 | (F) The lexer counted more closing curly or square brackets than opening |
| 16065 | 8245 | ones, so you're probably missing a matching opening bracket. As a |
| 16066 | 8246 | general rule, you'll find the missing one (so to speak) near the place |
| 16067 | 8247 | you were last editing. |
| 16068 | 8248 | |
| 16069 | 8249 | =end original |
| 16070 | 8250 | |
| 16071 | (F) | |
| 8251 | (F) 字句解析部が開き中括弧よりも多くの閉じ中括弧または大括弧を | |
| 16072 | 見つけました | |
| 8252 | 見つけました。 | |
| 16073 | ||
| 8253 | 開き中括弧または大括弧のもれと思われます。 | |
| 16074 | 場所の近 | |
| 8254 | 一般的な規則として、最後に修正した場所の付近に、忘れた中括弧 | |
| 8255 | または大括弧 (であるはずのもの) があることでしょう。 | |
| 16075 | 8256 | |
| 16076 | 8257 | =item Unquoted string "%s" may clash with future reserved word |
| 16077 | 8258 | |
| 16078 | 8259 | =begin original |
| 16079 | 8260 | |
| 16080 | 8261 | (W reserved) You used a bareword that might someday be claimed as a |
| 16081 | 8262 | reserved word. It's best to put such a word in quotes, or capitalize it |
| 16082 | 8263 | somehow, or insert an underbar into it. You might also declare it as a |
| 16083 | 8264 | subroutine. |
| 16084 | 8265 | |
| 16085 | 8266 | =end original |
| 16086 | 8267 | |
| 16087 | 8268 | (W) いつの日にか、予約語とかち合うかもしれない、裸の単語を使用しています。 |
| 16088 | 8269 | そのような単語は、クォートするか、大文字を入れるか、アンダーバー (_) を |
| 16089 | 8270 | いれるかしてください。 |
| 16090 | その裸の単語は、サブルー | |
| 8271 | その裸の単語は、サブルーティンとして宣言することも可能です。 | |
| 16091 | 8272 | |
| 16092 | =item Unrecognized character %s | |
| 8273 | =item Unrecognized character %s | |
| 16093 | %d | |
| 16094 | 8274 | |
| 16095 | 8275 | =begin original |
| 16096 | 8276 | |
| 16097 | 8277 | (F) The Perl parser has no idea what to do with the specified character |
| 16098 | in your Perl script (or eval) | |
| 8278 | in your Perl script (or eval). Perhaps you tried to run a compressed | |
| 16099 | ||
| 8279 | script, a binary program, or a directory as a Perl program. | |
| 16100 | a Perl program. | |
| 16101 | 8280 | |
| 16102 | 8281 | =end original |
| 16103 | 8282 | |
| 16104 | (F) Perl パーサーは、Perl スクリプト(または eval) で | |
| 8283 | (F) Perl パーサーは、Perl スクリプト(または eval) で出てきた文字に対して | |
| 16105 | ||
| 8284 | どうすればよいか分かりませんでした。 | |
| 16106 | 8285 | おそらく圧縮したスクリプト、バイナリプログラム、ディレクトリといったものを |
| 16107 | 8286 | Perl プログラムとして実行しようとしたのでしょう。 |
| 16108 | 8287 | |
| 16109 | =item Unrecognized escape \%c in character class | |
| 8288 | =item /%s/: Unrecognized escape \\%c in character class passed through | |
| 16110 | S<<-- HERE> in m/%s/ | |
| 16111 | 8289 | |
| 16112 | 8290 | =begin original |
| 16113 | 8291 | |
| 16114 | (F) You used a backslash-character combination which is not | |
| 16115 | recognized by Perl inside character classes. This is a fatal | |
| 16116 | error when the character class is used within C<(?[ ])>. | |
| 16117 | ||
| 16118 | =end original | |
| 16119 | ||
| 16120 | (F) Perl の内部文字クラスとして認識されない逆スラッシュ文字並びを使いました。 | |
| 16121 | これは文字クラスが C<(?[ ])> の中で使われた時は致命的エラーです。 | |
| 16122 | ||
| 16123 | =item Unrecognized escape \%c in character class passed through in regex; | |
| 16124 | marked by S<<-- HERE> in m/%s/ | |
| 16125 | ||
| 16126 | =begin original | |
| 16127 | ||
| 16128 | 8292 | (W regexp) You used a backslash-character combination which is not |
| 16129 | 8293 | recognized by Perl inside character classes. The character was |
| 16130 | understood literally | |
| 8294 | understood literally. | |
| 16131 | The S<<-- HERE> shows whereabouts in the regular expression the | |
| 16132 | escape was discovered. | |
| 16133 | 8295 | |
| 16134 | 8296 | =end original |
| 16135 | 8297 | |
| 16136 | 8298 | (W regexp) Perl 内部文字クラスで認識できない、バックスラッシュ-文字の |
| 16137 | 8299 | 組み合わせを使いました。 |
| 16138 | 文字はリテラルに | |
| 8300 | 文字はリテラルに理解されます。 | |
| 16139 | 変更されるかもしれません。 | |
| 16140 | S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。 | |
| 16141 | 8301 | |
| 16142 | =item Unrecognized escape \%c passed through | |
| 8302 | =item Unrecognized escape \\%c passed through before << HERE in m/%s/ | |
| 16143 | 8303 | |
| 16144 | 8304 | =begin original |
| 16145 | 8305 | |
| 16146 | (W | |
| 8306 | (W regexp) You used a backslash-character combination which is not | |
| 16147 | recognized by Perl. | |
| 8307 | recognized by Perl. This combination appears in an interpolated variable or | |
| 16148 | ||
| 8308 | a C<'>-delimited regular expression. The character was understood | |
| 8309 | literally. The << HERE shows in the regular expression about where the escape | |
| 8310 | was discovered. | |
| 16149 | 8311 | |
| 16150 | 8312 | =end original |
| 16151 | 8313 | |
| 16152 | (W | |
| 8314 | (W regexp) Perl が認識できない、バックスラッシュ-文字の組み合わせが | |
| 16153 | 8315 | 使われています。 |
| 16154 | ||
| 8316 | この組み合わせは展開された変数の中か、C<'>-デリミタの正規表現で | |
| 16155 | ||
| 8317 | 出現します。 | |
| 8318 | この文字はリテラルに処理されます。 | |
| 8319 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 16156 | 8320 | |
| 16157 | =item Unrecognized escape \% | |
| 8321 | =item Unrecognized escape \\%c passed through | |
| 16158 | S<<-- HERE> in m/%s/ | |
| 16159 | 8322 | |
| 16160 | 8323 | =begin original |
| 16161 | 8324 | |
| 16162 | (W | |
| 8325 | (W misc) You used a backslash-character combination which is not | |
| 16163 | recognized by Perl. | |
| 8326 | recognized by Perl. | |
| 16164 | this may change in a future version of Perl. The S<<-- HERE> shows | |
| 16165 | whereabouts in the regular expression the escape was discovered. | |
| 16166 | 8327 | |
| 16167 | 8328 | =end original |
| 16168 | 8329 | |
| 16169 | (W | |
| 8330 | (W misc) Perl が理解できないバックスラッシュ-文字の組み合わせが | |
| 16170 | 8331 | 使われています。 |
| 16171 | 文字はリテラルに処理されますが、将来のバージョンの Perl では | |
| 16172 | 変更されるかもしれません。 | |
| 16173 | S<<-- HERE> で正規表現のどこにエスケープが発見されたかを示しています。 | |
| 16174 | 8332 | |
| 16175 | 8333 | =item Unrecognized signal name "%s" |
| 16176 | 8334 | |
| 16177 | 8335 | =begin original |
| 16178 | 8336 | |
| 16179 | 8337 | (F) You specified a signal name to the kill() function that was not |
| 16180 | 8338 | recognized. Say C<kill -l> in your shell to see the valid signal names |
| 16181 | 8339 | on your system. |
| 16182 | 8340 | |
| 16183 | 8341 | =end original |
| 16184 | 8342 | |
| 16185 | 8343 | (F) kill() 関数に、認識できないシグナル名を指定しました。 |
| 16186 | 8344 | お使いのシステムで使用可能なシグナル名を調べるには、 |
| 16187 | 8345 | シェル上で C<kill -l> などとしてください。 |
| 16188 | 8346 | |
| 16189 | 8347 | =item Unrecognized switch: -%s (-h will show valid options) |
| 16190 | 8348 | |
| 16191 | 8349 | =begin original |
| 16192 | 8350 | |
| 16193 | 8351 | (F) You specified an illegal option to Perl. Don't do that. (If you |
| 16194 | 8352 | think you didn't do that, check the #! line to see if it's supplying the |
| 16195 | 8353 | bad switch on your behalf.) |
| 16196 | 8354 | |
| 16197 | 8355 | =end original |
| 16198 | 8356 | |
| 16199 | 8357 | (F) Perl に間違ったオプションを指定しました。 |
| 16200 | 8358 | これを行なってはいけません。 |
| 16201 | 8359 | (指定したつもりがないのであれば、#! 行に間違ったオプションが |
| 16202 | 8360 | スイッチが指定されていないかをチェックしてください。) |
| 16203 | 8361 | |
| 16204 | 8362 | =item Unsuccessful %s on filename containing newline |
| 16205 | 8363 | |
| 16206 | 8364 | =begin original |
| 16207 | 8365 | |
| 16208 | 8366 | (W newline) A file operation was attempted on a filename, and that |
| 16209 | 8367 | operation failed, PROBABLY because the filename contained a newline, |
| 16210 | 8368 | PROBABLY because you forgot to chomp() it off. See L<perlfunc/chomp>. |
| 16211 | 8369 | |
| 16212 | 8370 | =end original |
| 16213 | 8371 | |
| 16214 | 8372 | (W newline) あるファイル名に対して、ファイル操作を行ないましたが、 |
| 16215 | 失敗しました | |
| 8373 | 失敗しました。 | |
| 8374 | 「おそらく」ファイル名に改行文字がついていたからで、 | |
| 16216 | 8375 | 「おそらく」 chomp() するのを忘れたのでしょう。 |
| 16217 | 8376 | L<perlfunc/chomp> を参照してください。 |
| 16218 | 8377 | |
| 16219 | 8378 | =item Unsupported directory function "%s" called |
| 16220 | 8379 | |
| 16221 | 8380 | =begin original |
| 16222 | 8381 | |
| 16223 | 8382 | (F) Your machine doesn't support opendir() and readdir(). |
| 16224 | 8383 | |
| 16225 | 8384 | =end original |
| 16226 | 8385 | |
| 16227 | 8386 | (F) このマシンでは、opendir() や readdir() がサポートされていません。 |
| 16228 | 8387 | |
| 16229 | 8388 | =item Unsupported function %s |
| 16230 | 8389 | |
| 16231 | 8390 | =begin original |
| 16232 | 8391 | |
| 16233 | 8392 | (F) This machine doesn't implement the indicated function, apparently. |
| 16234 | 8393 | At least, Configure doesn't think so. |
| 16235 | 8394 | |
| 16236 | 8395 | =end original |
| 16237 | 8396 | |
| 16238 | 8397 | (F) このマシンでは、表示した関数は実装されていません。 |
| 16239 | 8398 | 少なくとも、Configure はそう判断しました。 |
| 16240 | 8399 | |
| 16241 | 8400 | =item Unsupported function fork |
| 16242 | 8401 | |
| 16243 | 8402 | =begin original |
| 16244 | 8403 | |
| 16245 | 8404 | (F) Your version of executable does not support forking. |
| 16246 | 8405 | |
| 16247 | 8406 | =end original |
| 16248 | 8407 | |
| 16249 | 8408 | (F) この実行ファイルは fork に対応していません。 |
| 16250 | 8409 | |
| 16251 | 8410 | =begin original |
| 16252 | 8411 | |
| 16253 | 8412 | Note that under some systems, like OS/2, there may be different flavors |
| 16254 | of Perl executables, some of which may support fork, some not. | |
| 8413 | of Perl executables, some of which may support fork, some not. Try | |
| 16255 | 8414 | changing the name you call Perl by to C<perl_>, C<perl__>, and so on. |
| 16256 | 8415 | |
| 16257 | 8416 | =end original |
| 16258 | 8417 | |
| 16259 | 8418 | OS/2 のようなシステムには、Perl 実行ファイルにいくつかの種類があり、 |
| 16260 | 8419 | fork に対応しているものとしていないものがあります。 |
| 16261 | 8420 | Perl を呼び出す時の名前を C<perl_>, C<perl__> のように |
| 16262 | 8421 | 変えてみてください。 |
| 16263 | 8422 | |
| 16264 | =item Unsupported script encoding | |
| 8423 | =item Unsupported script encoding | |
| 16265 | 8424 | |
| 16266 | 8425 | =begin original |
| 16267 | 8426 | |
| 16268 | 8427 | (F) Your program file begins with a Unicode Byte Order Mark (BOM) which |
| 16269 | declares it to be in a Unicode encoding that Perl cannot read. | |
| 8428 | declares it to be in a Unicode encoding that Perl cannot yet read. | |
| 16270 | 8429 | |
| 16271 | 8430 | =end original |
| 16272 | 8431 | |
| 16273 | 8432 | (F) プログラムファイルが、Perl が読み込めない Unicode エンコーディングを |
| 16274 | 8433 | 宣言する Unicode Byte Order Mark (BOM) で始まっています。 |
| 16275 | 8434 | |
| 16276 | 8435 | =item Unsupported socket function "%s" called |
| 16277 | 8436 | |
| 16278 | 8437 | =begin original |
| 16279 | 8438 | |
| 16280 | 8439 | (F) Your machine doesn't support the Berkeley socket mechanism, or at |
| 16281 | 8440 | least that's what Configure thought. |
| 16282 | 8441 | |
| 16283 | 8442 | =end original |
| 16284 | 8443 | |
| 16285 | 8444 | (F) このマシンでは、Berkeley ソケット機構がサポートされていないか、 |
| 16286 | 8445 | 少なくとも Configure がそう判断しました。 |
| 16287 | 8446 | |
| 16288 | =item Unterminated '(*...' argument in regex; marked by <-- HERE in m/%s/ | |
| 16289 | ||
| 16290 | =begin original | |
| 16291 | ||
| 16292 | (F) You used a pattern of the form C<(*...:...)> but did not terminate | |
| 16293 | the pattern with a C<)>. Fix the pattern and retry. | |
| 16294 | ||
| 16295 | =end original | |
| 16296 | ||
| 16297 | (F) C<(*...:...)> 形式のパターンを使いましたが、パターンが | |
| 16298 | C<)> で終端されていません。 | |
| 16299 | パターンを修正して再挑戦してください。 | |
| 16300 | ||
| 16301 | 8447 | =item Unterminated attribute list |
| 16302 | 8448 | |
| 16303 | 8449 | =begin original |
| 16304 | 8450 | |
| 16305 | 8451 | (F) The lexer found something other than a simple identifier at the |
| 16306 | 8452 | start of an attribute, and it wasn't a semicolon or the start of a |
| 16307 | 8453 | block. Perhaps you terminated the parameter list of the previous |
| 16308 | 8454 | attribute too soon. See L<attributes>. |
| 16309 | 8455 | |
| 16310 | 8456 | =end original |
| 16311 | 8457 | |
| 16312 | 8458 | (F) 字句解析器が、属性の先頭として単純な識別子やセミコロンやブロックの |
| 16313 | 8459 | 開始でないものを発見しました。 |
| 16314 | 8460 | おそらく以前の属性のパラメータリストを早く終端しすぎたのでしょう。 |
| 16315 | 8461 | L<attributes> を参照してください。 |
| 16316 | 8462 | |
| 16317 | 8463 | =item Unterminated attribute parameter in attribute list |
| 16318 | 8464 | |
| 16319 | 8465 | =begin original |
| 16320 | 8466 | |
| 16321 | 8467 | (F) The lexer saw an opening (left) parenthesis character while parsing |
| 16322 | 8468 | an attribute list, but the matching closing (right) parenthesis |
| 16323 | 8469 | character was not found. You may need to add (or remove) a backslash |
| 16324 | 8470 | character to get your parentheses to balance. See L<attributes>. |
| 16325 | 8471 | |
| 16326 | 8472 | =end original |
| 16327 | 8473 | |
| 16328 | 8474 | (F) 字句解析器が、属性リストをパースしているときに開き(左)かっこを |
| 16329 | 8475 | 発見しましたが、対応する閉じ(右)かっこが見つかりませんでした。 |
| 16330 | 8476 | かっこのバランスを取るために、バックスラッシュを追加(または削除)する |
| 16331 | 8477 | 必要があるでしょう。 |
| 16332 | 8478 | L<attributes> を参照してください。 |
| 16333 | 8479 | |
| 16334 | 8480 | =item Unterminated compressed integer |
| 16335 | 8481 | |
| 16336 | 8482 | =begin original |
| 16337 | 8483 | |
| 16338 | 8484 | (F) An argument to unpack("w",...) was incompatible with the BER |
| 16339 | 8485 | compressed integer format and could not be converted to an integer. |
| 16340 | 8486 | See L<perlfunc/pack>. |
| 16341 | 8487 | |
| 16342 | 8488 | =end original |
| 16343 | 8489 | |
| 16344 | 8490 | (F) unpack("w",...) の引数が BER 圧縮整数フォーマットと互換性がなく、 |
| 16345 | 8491 | 整数に変換できませんでした。 |
| 16346 | 8492 | L<perlfunc/pack> を参照してください。 |
| 16347 | 8493 | |
| 16348 | =item Unterminated '(*...' construct in regex; marked by <-- HERE in m/%s/ | |
| 16349 | ||
| 16350 | =begin original | |
| 16351 | ||
| 16352 | (F) You used a pattern of the form C<(*...)> but did not terminate | |
| 16353 | the pattern with a C<)>. Fix the pattern and retry. | |
| 16354 | ||
| 16355 | =end original | |
| 16356 | ||
| 16357 | (F) C<(*...)> 形式のパターンを使いましたが、パターンが | |
| 16358 | C<)> で終端されていません。 | |
| 16359 | パターンを修正して再挑戦してください。 | |
| 16360 | ||
| 16361 | =item Unterminated delimiter for here document | |
| 16362 | ||
| 16363 | =begin original | |
| 16364 | ||
| 16365 | (F) This message occurs when a here document label has an initial | |
| 16366 | quotation mark but the final quotation mark is missing. Perhaps | |
| 16367 | you wrote: | |
| 16368 | ||
| 16369 | =end original | |
| 16370 | ||
| 16371 | (F) このメッセージは、ヒヤドキュメントのラベルがクォートで始まっているけれども | |
| 16372 | 末尾のクォートがありません。 | |
| 16373 | おそらく以下のように書いたのでしょう: | |
| 16374 | ||
| 16375 | <<"foo | |
| 16376 | ||
| 16377 | =begin original | |
| 16378 | ||
| 16379 | instead of: | |
| 16380 | ||
| 16381 | =end original | |
| 16382 | ||
| 16383 | 次のように書いてください: | |
| 16384 | ||
| 16385 | <<"foo" | |
| 16386 | ||
| 16387 | =item Unterminated \g... pattern in regex; marked by S<<-- HERE> in m/%s/ | |
| 16388 | ||
| 16389 | =item Unterminated \g{...} pattern in regex; marked by S<<-- HERE> in m/%s/ | |
| 16390 | ||
| 16391 | =begin original | |
| 16392 | ||
| 16393 | (F) In a regular expression, you had a C<\g> that wasn't followed by a | |
| 16394 | proper group reference. In the case of C<\g{>, the closing brace is | |
| 16395 | missing; otherwise the C<\g> must be followed by an integer. Fix the | |
| 16396 | pattern and retry. | |
| 16397 | ||
| 16398 | =end original | |
| 16399 | ||
| 16400 | (F) 正規表現の中で、適切なグループ参照が引き続かない C<\g> を使いました。 | |
| 16401 | C<\g{> の場合、閉じ中かっこがありません; さもなければ、C<\g> には整数が | |
| 16402 | 引き続かなければ鳴りません。 | |
| 16403 | パターンを修正して再挑戦してください。 | |
| 16404 | ||
| 16405 | 8494 | =item Unterminated <> operator |
| 16406 | 8495 | |
| 16407 | 8496 | =begin original |
| 16408 | 8497 | |
| 16409 | 8498 | (F) The lexer saw a left angle bracket in a place where it was expecting |
| 16410 | 8499 | a term, so it's looking for the corresponding right angle bracket, and |
| 16411 | 8500 | not finding it. Chances are you left some needed parentheses out |
| 16412 | 8501 | earlier in the line, and you really meant a "less than". |
| 16413 | 8502 | |
| 16414 | 8503 | =end original |
| 16415 | 8504 | |
| 16416 | (F) 項が必要とされるところで、開き山 | |
| 8505 | (F) 項が必要とされるところで、開き山括弧が見つけたため、 | |
| 16417 | 対応する閉じ山 | |
| 8506 | 対応する閉じ山括弧を探しましたが、見つかりませんでした。 | |
| 16418 | 可能性としては、必要な | |
| 8507 | 可能性としては、必要な括弧を省いてしまい、本当は、「小なり記号」を | |
| 16419 | 8508 | 表したかった場合が考えられます。 |
| 16420 | 8509 | |
| 16421 | =item Unterminated verb pattern argument in regex; marked by S<<-- HERE> in | |
| 16422 | m/%s/ | |
| 16423 | ||
| 16424 | =begin original | |
| 16425 | ||
| 16426 | (F) You used a pattern of the form C<(*VERB:ARG)> but did not terminate | |
| 16427 | the pattern with a C<)>. Fix the pattern and retry. | |
| 16428 | ||
| 16429 | =end original | |
| 16430 | ||
| 16431 | (F) C<(*VERB:ARG)> の形のパターンを使いましたが、パターンが C<)> で | |
| 16432 | 終わっていません。 | |
| 16433 | パターンを修正して再挑戦してください。 | |
| 16434 | ||
| 16435 | =item Unterminated verb pattern in regex; marked by S<<-- HERE> in m/%s/ | |
| 16436 | ||
| 16437 | =begin original | |
| 16438 | ||
| 16439 | (F) You used a pattern of the form C<(*VERB)> but did not terminate | |
| 16440 | the pattern with a C<)>. Fix the pattern and retry. | |
| 16441 | ||
| 16442 | =end original | |
| 16443 | ||
| 16444 | (F) C<(*VERB)> の形のパターンを使いましたが、パターンが C<)> で | |
| 16445 | 終わっていません。 | |
| 16446 | パターンを修正して再挑戦してください。 | |
| 16447 | ||
| 16448 | 8510 | =item untie attempted while %d inner references still exist |
| 16449 | 8511 | |
| 16450 | 8512 | =begin original |
| 16451 | 8513 | |
| 16452 | 8514 | (W untie) A copy of the object returned from C<tie> (or C<tied>) was |
| 16453 | 8515 | still valid when C<untie> was called. |
| 16454 | 8516 | |
| 16455 | 8517 | =end original |
| 16456 | 8518 | |
| 16457 | 8519 | (W untie) C<tie> (または C<tied>) から返されたオブジェクトが、 |
| 16458 | 8520 | C<untie> が呼び出されたときにまだ有効でした。 |
| 16459 | 8521 | |
| 16460 | =item Usage: POSIX::%s(%s) | |
| 16461 | ||
| 16462 | =begin original | |
| 16463 | ||
| 16464 | (F) You called a POSIX function with incorrect arguments. | |
| 16465 | See L<POSIX/FUNCTIONS> for more information. | |
| 16466 | ||
| 16467 | =end original | |
| 16468 | ||
| 16469 | (F) POSIX 関数を間違った引数で呼び出しました。 | |
| 16470 | さらなる情報については L<POSIX/FUNCTIONS> を参照してください。 | |
| 16471 | ||
| 16472 | =item Usage: Win32::%s(%s) | |
| 16473 | ||
| 16474 | =begin original | |
| 16475 | ||
| 16476 | (F) You called a Win32 function with incorrect arguments. | |
| 16477 | See L<Win32> for more information. | |
| 16478 | ||
| 16479 | =end original | |
| 16480 | ||
| 16481 | (F) Win32 関数を間違った引数で呼び出しました。 | |
| 16482 | 更なる情報については L<Win32> を参照してください。 | |
| 16483 | ||
| 16484 | =item $[ used in %s (did you mean $] ?) | |
| 16485 | ||
| 16486 | =begin original | |
| 16487 | ||
| 16488 | (W syntax) You used C<$[> in a comparison, such as: | |
| 16489 | ||
| 16490 | =end original | |
| 16491 | ||
| 16492 | (W syntax) 以下のように、比較で C<$[> を使いました: | |
| 16493 | ||
| 16494 | if ($[ > 5.006) { | |
| 16495 | ... | |
| 16496 | } | |
| 16497 | ||
| 16498 | =begin original | |
| 16499 | ||
| 16500 | You probably meant to use C<$]> instead. C<$[> is the base for indexing | |
| 16501 | arrays. C<$]> is the Perl version number in decimal. | |
| 16502 | ||
| 16503 | =end original | |
| 16504 | ||
| 16505 | おそらく C<$]> を使いたかったのでしょう。 | |
| 16506 | C<$[> は配列の基数です。 | |
| 16507 | C<$]> は Perl のバージョン番号の 10 進数です。 | |
| 16508 | ||
| 16509 | =item Use "%s" instead of "%s" | |
| 16510 | ||
| 16511 | =begin original | |
| 16512 | ||
| 16513 | (F) The second listed construct is no longer legal. Use the first one | |
| 16514 | instead. | |
| 16515 | ||
| 16516 | =end original | |
| 16517 | ||
| 16518 | (F) 2 番目に挙げられた構文はもはや有効ではありません。 | |
| 16519 | 代わりに 1 番目のものを使ってください。 | |
| 16520 | ||
| 16521 | =item Useless assignment to a temporary | |
| 16522 | ||
| 16523 | =begin original | |
| 16524 | ||
| 16525 | (W misc) You assigned to an lvalue subroutine, but what | |
| 16526 | the subroutine returned was a temporary scalar about to | |
| 16527 | be discarded, so the assignment had no effect. | |
| 16528 | ||
| 16529 | =end original | |
| 16530 | ||
| 16531 | (W misc) 左辺値サブルーチンに代入しましたが、サブルーチンが返したものは | |
| 16532 | 捨てられようとする一時的なスカラなので、代入は向こうです。 | |
| 16533 | ||
| 16534 | =item Useless (?-%s) - don't use /%s modifier in regex; marked by | |
| 16535 | S<<-- HERE> in m/%s/ | |
| 16536 | ||
| 16537 | =begin original | |
| 16538 | ||
| 16539 | (W regexp) You have used an internal modifier such as (?-o) that has no | |
| 16540 | meaning unless removed from the entire regexp: | |
| 16541 | ||
| 16542 | =end original | |
| 16543 | ||
| 16544 | (W regexp) (?-o) のような内部修飾子は、正規表現全体から除去されなければ | |
| 16545 | 意味がありません: | |
| 16546 | ||
| 16547 | if ($string =~ /(?-o)$pattern/o) { ... } | |
| 16548 | ||
| 16549 | =begin original | |
| 16550 | ||
| 16551 | must be written as | |
| 16552 | ||
| 16553 | =end original | |
| 16554 | ||
| 16555 | これは以下のように書かなければなりません: | |
| 16556 | ||
| 16557 | if ($string =~ /$pattern/) { ... } | |
| 16558 | ||
| 16559 | =begin original | |
| 16560 | ||
| 16561 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
| 16562 | discovered. See L<perlre>. | |
| 16563 | ||
| 16564 | =end original | |
| 16565 | ||
| 16566 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 16567 | L<perlre> を参照してください。 | |
| 16568 | ||
| 16569 | =item Useless localization of %s | |
| 16570 | ||
| 16571 | =begin original | |
| 16572 | ||
| 16573 | (W syntax) The localization of lvalues such as C<local($x=10)> is legal, | |
| 16574 | but in fact the local() currently has no effect. This may change at | |
| 16575 | some point in the future, but in the meantime such code is discouraged. | |
| 16576 | ||
| 16577 | =end original | |
| 16578 | ||
| 16579 | (W syntax) C<local($x=10)> のような左辺値のローカル化は有効ですが、 | |
| 16580 | 実際のところ local() は現在のところ何の効果もありません。 | |
| 16581 | これは将来変更されるかもしれませんが、今のところはこのようなコードは | |
| 16582 | 勧められません。 | |
| 16583 | ||
| 16584 | =item Useless (?%s) - use /%s modifier in regex; marked by S<<-- HERE> in | |
| 16585 | m/%s/ | |
| 16586 | ||
| 16587 | =begin original | |
| 16588 | ||
| 16589 | (W regexp) You have used an internal modifier such as (?o) that has no | |
| 16590 | meaning unless applied to the entire regexp: | |
| 16591 | ||
| 16592 | =end original | |
| 16593 | ||
| 16594 | (W regexp) (?o) のような内部修飾子は、正規表現全体に適用されなければ | |
| 16595 | 意味がありません: | |
| 16596 | ||
| 16597 | if ($string =~ /(?o)$pattern/) { ... } | |
| 16598 | ||
| 16599 | =begin original | |
| 16600 | ||
| 16601 | must be written as | |
| 16602 | ||
| 16603 | =end original | |
| 16604 | ||
| 16605 | これは以下のように書かなければなりません: | |
| 16606 | ||
| 16607 | if ($string =~ /$pattern/o) { ... } | |
| 16608 | ||
| 16609 | =begin original | |
| 16610 | ||
| 16611 | The S<<-- HERE> shows whereabouts in the regular expression the problem was | |
| 16612 | discovered. See L<perlre>. | |
| 16613 | ||
| 16614 | =end original | |
| 16615 | ||
| 16616 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 16617 | L<perlre> を参照してください。 | |
| 16618 | ||
| 16619 | =item Useless use of attribute "const" | |
| 16620 | ||
| 16621 | =begin original | |
| 16622 | ||
| 16623 | (W misc) The C<const> attribute has no effect except | |
| 16624 | on anonymous closure prototypes. You applied it to | |
| 16625 | a subroutine via L<attributes.pm|attributes>. This is only useful | |
| 16626 | inside an attribute handler for an anonymous subroutine. | |
| 16627 | ||
| 16628 | =end original | |
| 16629 | ||
| 16630 | (W misc) C<const> 属性は、無名クロージャプロトタイプ以外では効果がありません。 | |
| 16631 | あなたはこれを L<attributes.pm|attributes> 経由でサブルーチンに適用しました。 | |
| 16632 | これは無名サブルーチンのための属性ハンドラの中でしか有用ではありません。 | |
| 16633 | ||
| 16634 | =item Useless use of /d modifier in transliteration operator | |
| 16635 | ||
| 16636 | =begin original | |
| 16637 | ||
| 16638 | (W misc) You have used the /d modifier where the searchlist has the | |
| 16639 | same length as the replacelist. See L<perlop> for more information | |
| 16640 | about the /d modifier. | |
| 16641 | ||
| 16642 | =end original | |
| 16643 | ||
| 16644 | (W misc) 検索リストが置換リストと同じ長さの時に /d 修飾子を使いました。 | |
| 16645 | /d 修飾子に関するさらなる情報については L<perlop> を参照してください。 | |
| 16646 | ||
| 16647 | =item Useless use of \E | |
| 16648 | ||
| 16649 | =begin original | |
| 16650 | ||
| 16651 | (W misc) You have a \E in a double-quotish string without a C<\U>, | |
| 16652 | C<\L> or C<\Q> preceding it. | |
| 16653 | ||
| 16654 | =end original | |
| 16655 | ||
| 16656 | (W misc) ダブルクォート風文字列の中で C<\U>, C<\L>, C<\Q> を前置することなく | |
| 16657 | \E を書きました。 | |
| 16658 | ||
| 16659 | =item Useless use of greediness modifier '%c' in regex; marked by S<<-- HERE> in m/%s/ | |
| 16660 | ||
| 16661 | =begin original | |
| 16662 | ||
| 16663 | (W regexp) You specified something like these: | |
| 16664 | ||
| 16665 | =end original | |
| 16666 | ||
| 16667 | (W regexp) 次のようなものを指定しました: | |
| 16668 | ||
| 16669 | qr/a{3}?/ | |
| 16670 | qr/b{1,1}+/ | |
| 16671 | ||
| 16672 | =begin original | |
| 16673 | ||
| 16674 | The C<"?"> and C<"+"> don't have any effect, as they modify whether to | |
| 16675 | match more or fewer when there is a choice, and by specifying to match | |
| 16676 | exactly a given numer, there is no room left for a choice. | |
| 16677 | ||
| 16678 | =end original | |
| 16679 | ||
| 16680 | C<"?"> と C<"+"> は何の効果もありません; これはマッチングする数に幅がある時に | |
| 16681 | より多くまたは少なく変更します。 | |
| 16682 | そして指定された数に正確にマッチングすることを指定されているので、 | |
| 16683 | 選択の余地はありません。 | |
| 16684 | ||
| 16685 | 8522 | =item Useless use of %s in void context |
| 16686 | 8523 | |
| 16687 | 8524 | =begin original |
| 16688 | 8525 | |
| 16689 | 8526 | (W void) You did something without a side effect in a context that does |
| 16690 | 8527 | nothing with the return value, such as a statement that doesn't return a |
| 16691 | 8528 | value from a block, or the left side of a scalar comma operator. Very |
| 16692 | 8529 | often this points not to stupidity on your part, but a failure of Perl |
| 16693 | 8530 | to parse your program the way you thought it would. For example, you'd |
| 16694 | 8531 | get this if you mixed up your C precedence with Python precedence and |
| 16695 | 8532 | said |
| 16696 | 8533 | |
| 16697 | 8534 | =end original |
| 16698 | 8535 | |
| 16699 | 8536 | (W void) ブロックの値を返さない文や、スカラのコンマ演算子の左側のように |
| 16700 | 8537 | 返却値の無い文脈で、副作用のないことを行ないました。 |
| 16701 | 8538 | 多くは、みなさんの間違いを指摘するものではなく、Perl がみなさんの |
| 16702 | 8539 | 意向を汲み取った解釈ができないことで起こります。 |
| 16703 | 8540 | たとえば、みなさんが C の優先順位を Python の優先順位と混同して |
| 16704 | 8541 | 以下のようにした場合です: |
| 16705 | 8542 | |
| 16706 | 8543 | $one, $two = 1, 2; |
| 16707 | 8544 | |
| 16708 | 8545 | =begin original |
| 16709 | 8546 | |
| 16710 | 8547 | when you meant to say |
| 16711 | 8548 | |
| 16712 | 8549 | =end original |
| 16713 | 8550 | |
| 16714 | 8551 | 以下のようにするべきです。 |
| 16715 | 8552 | |
| 16716 | 8553 | ($one, $two) = (1, 2); |
| 16717 | 8554 | |
| 16718 | 8555 | =begin original |
| 16719 | 8556 | |
| 16720 | 8557 | Another common error is to use ordinary parentheses to construct a list |
| 16721 | 8558 | reference when you should be using square or curly brackets, for |
| 16722 | 8559 | example, if you say |
| 16723 | 8560 | |
| 16724 | 8561 | =end original |
| 16725 | 8562 | |
| 16726 | その他の良くあるエラーとしては、リストを作るのに中 | |
| 8563 | その他の良くあるエラーとしては、リストを作るのに中括弧や | |
| 16727 | 使うべきところで普通の | |
| 8564 | 大括弧を使うべきところで普通の括弧を使うことです。 | |
| 16728 | 場合です: | |
| 8565 | 例えば、以下のように書いた場合です: | |
| 16729 | 8566 | |
| 16730 | 8567 | $array = (1,2); |
| 16731 | 8568 | |
| 16732 | 8569 | =begin original |
| 16733 | 8570 | |
| 16734 | 8571 | when you should have said |
| 16735 | 8572 | |
| 16736 | 8573 | =end original |
| 16737 | 8574 | |
| 16738 | 8575 | 以下のように書くべきです: |
| 16739 | 8576 | |
| 16740 | 8577 | $array = [1,2]; |
| 16741 | 8578 | |
| 16742 | 8579 | =begin original |
| 16743 | 8580 | |
| 16744 | 8581 | The square brackets explicitly turn a list value into a scalar value, |
| 16745 | 8582 | while parentheses do not. So when a parenthesized list is evaluated in |
| 16746 | 8583 | a scalar context, the comma is treated like C's comma operator, which |
| 16747 | 8584 | throws away the left argument, which is not what you want. See |
| 16748 | 8585 | L<perlref> for more on this. |
| 16749 | 8586 | |
| 16750 | 8587 | =end original |
| 16751 | 8588 | |
| 16752 | 8589 | 角かっこはリスト値を明示的にスカラ値に変換しますが、かっこは変換しません。 |
| 16753 | 8590 | そのため、かっこで括られたリストをスカラコンテキストで評価すると、 |
| 16754 | 8591 | カンマは C のカンマ演算子のように扱われ、左側の引数は捨てられます; |
| 16755 | 8592 | これは望んでいることではないでしょう。 |
| 16756 | 8593 | これに関するさらなる情報については L<perlref> を参照してください。 |
| 16757 | 8594 | |
| 16758 | =begin original | |
| 16759 | ||
| 16760 | This warning will not be issued for numerical constants equal to 0 or 1 | |
| 16761 | since they are often used in statements like | |
| 16762 | ||
| 16763 | =end original | |
| 16764 | ||
| 16765 | この警告は、0 か 1 と等しい数値定数では起きません; なぜなら、 | |
| 16766 | しばしば以下のような文で使われるからです: | |
| 16767 | ||
| 16768 | 1 while sub_with_side_effects(); | |
| 16769 | ||
| 16770 | =begin original | |
| 16771 | ||
| 16772 | String constants that would normally evaluate to 0 or 1 are warned | |
| 16773 | about. | |
| 16774 | ||
| 16775 | =end original | |
| 16776 | ||
| 16777 | 通常 0 か 1 に評価される文字列定数は警告されます。 | |
| 16778 | ||
| 16779 | =item Useless use of (?-p) in regex; marked by S<<-- HERE> in m/%s/ | |
| 16780 | ||
| 16781 | =begin original | |
| 16782 | ||
| 16783 | (W regexp) The C<p> modifier cannot be turned off once set. Trying to do | |
| 16784 | so is futile. | |
| 16785 | ||
| 16786 | =end original | |
| 16787 | ||
| 16788 | (W regexp) | |
| 16789 | C<p> 修飾子は、一度設定したものをオフにはできません。 | |
| 16790 | そうしようとしても無効です。 | |
| 16791 | ||
| 16792 | 8595 | =item Useless use of "re" pragma |
| 16793 | 8596 | |
| 16794 | 8597 | =begin original |
| 16795 | 8598 | |
| 16796 | (W) You did C<use re;> without any arguments. That isn't very useful. | |
| 8599 | (W) You did C<use re;> without any arguments. That isn't very useful. | |
| 16797 | 8600 | |
| 16798 | 8601 | =end original |
| 16799 | 8602 | |
| 16800 | 8603 | (W) C<use re;> プラグマを引数なしで指定しました。これは無意味です。 |
| 16801 | 8604 | |
| 16802 | =item Useless use of sort in scalar context | |
| 16803 | ||
| 16804 | =begin original | |
| 16805 | ||
| 16806 | (W void) You used sort in scalar context, as in : | |
| 16807 | ||
| 16808 | =end original | |
| 16809 | ||
| 16810 | (W void) こんな風に、ソートをスカラコンテキストで使いました: | |
| 16811 | ||
| 16812 | my $x = sort @y; | |
| 16813 | ||
| 16814 | =begin original | |
| 16815 | ||
| 16816 | This is not very useful, and perl currently optimizes this away. | |
| 16817 | ||
| 16818 | =end original | |
| 16819 | ||
| 16820 | これは全く便利ではないので、perl は現在のところ最適化して取り除きます。 | |
| 16821 | ||
| 16822 | =item Useless use of %s with no values | |
| 16823 | ||
| 16824 | =begin original | |
| 16825 | ||
| 16826 | (W syntax) You used the push() or unshift() function with no arguments | |
| 16827 | apart from the array, like C<push(@x)> or C<unshift(@foo)>. That won't | |
| 16828 | usually have any effect on the array, so is completely useless. It's | |
| 16829 | possible in principle that push(@tied_array) could have some effect | |
| 16830 | if the array is tied to a class which implements a PUSH method. If so, | |
| 16831 | you can write it as C<push(@tied_array,())> to avoid this warning. | |
| 16832 | ||
| 16833 | =end original | |
| 16834 | ||
| 16835 | (W syntax) C<push(@x)> や C<unshift(@foo)> のようにして、push() 関数や | |
| 16836 | unshift() 関数を、配列以外の引数なしで使いました。 | |
| 16837 | これは普通は配列に何の影響も与えないので、完全に無意味です。 | |
| 16838 | 理論的には、配列が tie されているクラスの PUSH メソッドの実装によっては | |
| 16839 | push(@tied_array) が何らかの効果を持つ可能性はあります。 | |
| 16840 | もしそうなら、これを C<push(@tied_array,())> のように書くことで警告を | |
| 16841 | 回避できます。 | |
| 16842 | ||
| 16843 | 8605 | =item "use" not allowed in expression |
| 16844 | 8606 | |
| 16845 | 8607 | =begin original |
| 16846 | 8608 | |
| 16847 | 8609 | (F) The "use" keyword is recognized and executed at compile time, and |
| 16848 | 8610 | returns no useful value. See L<perlmod>. |
| 16849 | 8611 | |
| 16850 | 8612 | =end original |
| 16851 | 8613 | |
| 16852 | 8614 | (F) "use" キーワードは、コンパイル時に認識され、実行されるもので、 |
| 16853 | 8615 | 意味のある値を返しません。 |
| 16854 | 8616 | L<perlmod> を参照してください。 |
| 16855 | 8617 | |
| 16856 | =item Use of bare << to mean <<"" is | |
| 8618 | =item Use of bare << to mean <<"" is deprecated | |
| 16857 | 8619 | |
| 16858 | 8620 | =begin original |
| 16859 | 8621 | |
| 16860 | ( | |
| 8622 | (D deprecated) You are now encouraged to use the explicitly quoted form | |
| 16861 | to use an empty line as the terminator of the here-document. | |
| 8623 | if you wish to use an empty line as the terminator of the here-document. | |
| 16862 | 8624 | |
| 16863 | 8625 | =end original |
| 16864 | 8626 | |
| 16865 | ( | |
| 8627 | (D deprecated) ヒアドキュメントの終端子として空行を使いたいときには、 | |
| 16866 | クォートされた形を使うこと | |
| 8628 | 明示的にクォートされた形を使うことを推奨しています。 | |
| 16867 | 8629 | |
| 16868 | = | |
| 8630 | =item Use of implicit split to @_ is deprecated | |
| 16869 | 8631 | |
| 16870 | Use of a bare terminator was deprecated in Perl 5.000, and is a fatal | |
| 16871 | error as of Perl 5.28. | |
| 16872 | ||
| 16873 | =end original | |
| 16874 | ||
| 16875 | 裸の終端子は Perl 5.000 で廃止予定になっていて、 | |
| 16876 | Perl 5.28 から致命的エラーです。 | |
| 16877 | ||
| 16878 | =item Use of /c modifier is meaningless in s/// | |
| 16879 | ||
| 16880 | 8632 | =begin original |
| 16881 | 8633 | |
| 16882 | ( | |
| 8634 | (D deprecated) It makes a lot of work for the compiler when you clobber | |
| 16883 | ||
| 8635 | a subroutine's argument list, so it's better if you assign the results | |
| 8636 | of a split() explicitly to an array (or list). | |
| 16884 | 8637 | |
| 16885 | 8638 | =end original |
| 16886 | 8639 | |
| 16887 | ( | |
| 8640 | (D deprecated) サブルーティンの引数を壊すとコンパイラに多大な労力を | |
| 16888 | ||
| 8641 | かけることになるので、split() の結果は明示的に配列 (やリスト) に | |
| 8642 | 代入を行なうようにしてください。 | |
| 16889 | 8643 | |
| 16890 | =item Use of | |
| 8644 | =item Use of inherited AUTOLOAD for non-method %s() is deprecated | |
| 16891 | 8645 | |
| 16892 | 8646 | =begin original |
| 16893 | 8647 | |
| 16894 | ( | |
| 8648 | (D deprecated) As an (ahem) accidental feature, C<AUTOLOAD> subroutines | |
| 16895 | ||
| 8649 | are looked up as methods (using the C<@ISA> hierarchy) even when the | |
| 16896 | ||
| 8650 | subroutines to be autoloaded were called as plain functions (e.g. | |
| 8651 | C<Foo::bar()>), not as methods (e.g. C<< Foo->bar() >> or C<< | |
| 8652 | $obj->bar() >>). | |
| 16897 | 8653 | |
| 16898 | 8654 | =end original |
| 16899 | 8655 | |
| 16900 | ( | |
| 8656 | (D deprecated) (エヘン)偶発的な仕様によって、C<AUTOLOAD> サブルーチンは、 | |
| 16901 | ||
| 8657 | autoload されるサブルーチンがメソッド (C<< Foo->bar() >> や | |
| 16902 | ||
| 8658 | C<< $obj->bar() >>) ではなく、普通の関数 (C<Foo::bar()>) として | |
| 16903 | ||
| 8659 | 呼び出された場合にも、(C<@ISA> 階層を使って) メソッドとして検索します。 | |
| 16904 | 8660 | |
| 16905 | =item Use of code point 0x%s is not allowed; the permissible max is 0x%x | |
| 16906 | ||
| 16907 | =item Use of code point 0x%s is not allowed; the permissible max is 0x%x | |
| 16908 | in regex; marked by <-- HERE in m/%s/ | |
| 16909 | ||
| 16910 | 8661 | =begin original |
| 16911 | 8662 | |
| 16912 | ||
| 8663 | This bug will be rectified in future by using method lookup only for | |
| 16913 | ||
| 8664 | methods' C<AUTOLOAD>s. However, there is a significant base of existing | |
| 16914 | ||
| 8665 | code that may be using the old behavior. So, as an interim step, Perl | |
| 16915 | ||
| 8666 | currently issues an optional warning when non-methods use inherited | |
| 16916 | ||
| 8667 | C<AUTOLOAD>s. | |
| 16917 | including causing it to hang in a few cases. | |
| 16918 | 8668 | |
| 16919 | 8669 | =end original |
| 16920 | 8670 | |
| 16921 | ||
| 8671 | このバグは、メソッドの検索をメソッドの C<AUTOLOAD> のみで使うことによって | |
| 16922 | ||
| 8672 | 将来修正される予定です。 | |
| 16923 | ||
| 8673 | しかし、現在のコードの大部分は古い振る舞いを使っています。 | |
| 16924 | ||
| 8674 | それで、暫定的なステップとして、Perl は現在のところは、 | |
| 16925 | ||
| 8675 | メソッド以外が継承されたC<AUTOLOAD> を使うときにオプションの警告を | |
| 16926 | ||
| 8676 | 発生させます。 | |
| 16927 | これは一部の構文で perl インタプリタを壊すことがあり、 | |
| 16928 | 場合によってはハングアップすることがありました。 | |
| 16929 | 8677 | |
| 16930 | 8678 | =begin original |
| 16931 | 8679 | |
| 16932 | ||
| 8680 | The simple rule is: Inheritance will not work when autoloading | |
| 16933 | ||
| 8681 | non-methods. The simple fix for old code is: In any module that used | |
| 16934 | t | |
| 8682 | to depend on inheriting C<AUTOLOAD> for non-methods from a base class | |
| 8683 | named C<BaseClass>, execute C<*AUTOLOAD = \&BaseClass::AUTOLOAD> during | |
| 8684 | startup. | |
| 16935 | 8685 | |
| 16936 | 8686 | =end original |
| 16937 | 8687 | |
| 16938 | ||
| 8688 | 単純な規則は: 継承は autoload された非メソッドには動作しません。 | |
| 16939 | ||
| 8689 | 古いコードを修正する簡単な方法は: C<BaseClass> という名前のベースクラスから | |
| 16940 | ||
| 8690 | 非メソッドのための継承した C<AUTOLOAD> に依存しているモジュールに対して、 | |
| 8691 | 開始時に C<*AUTOLOAD = \&BaseClass::AUTOLOAD> を実行してください。 | |
| 16941 | 8692 | |
| 16942 | 8693 | =begin original |
| 16943 | 8694 | |
| 16944 | ||
| 8695 | In code that currently says C<use AutoLoader; @ISA = qw(AutoLoader);> | |
| 16945 | ||
| 8696 | you should remove AutoLoader from @ISA and change C<use AutoLoader;> to | |
| 8697 | C<use AutoLoader 'AUTOLOAD';>. | |
| 16946 | 8698 | |
| 16947 | 8699 | =end original |
| 16948 | 8700 | |
| 16949 | ||
| 8701 | C<use AutoLoader; @ISA = qw(AutoLoader);> としているコードでは、 | |
| 16950 | ||
| 8702 | @ISA から AutoLoader を取り除いて、C<use AutoLoader;> を | |
| 8703 | C<use AutoLoader 'AUTOLOAD';> に変更するべきです。 | |
| 16951 | 8704 | |
| 16952 | =item Use of each() on hash after insertion without resetting hash iterator results in undefined behavior | |
| 16953 | ||
| 16954 | =begin original | |
| 16955 | ||
| 16956 | (S internal) The behavior of C<each()> after insertion is undefined; | |
| 16957 | it may skip items, or visit items more than once. Consider using | |
| 16958 | C<keys()> instead of C<each()>. | |
| 16959 | ||
| 16960 | =end original | |
| 16961 | ||
| 16962 | (S internal) 挿入の後の C<each()> の振る舞いは未定義です; アイテムを | |
| 16963 | 読み飛ばしたり、複数回読んだりします。 | |
| 16964 | C<each()> の代わりに C<keys()> を使うことを検討してください。 | |
| 16965 | ||
| 16966 | =item Use of := for an empty attribute list is not allowed | |
| 16967 | ||
| 16968 | =begin original | |
| 16969 | ||
| 16970 | (F) The construction C<my $x := 42> used to parse as equivalent to | |
| 16971 | C<my $x : = 42> (applying an empty attribute list to C<$x>). | |
| 16972 | This construct was deprecated in 5.12.0, and has now been made a syntax | |
| 16973 | error, so C<:=> can be reclaimed as a new operator in the future. | |
| 16974 | ||
| 16975 | =end original | |
| 16976 | ||
| 16977 | (F) 構文 C<my $x := 42> は C<my $x : = 42> と等価にパースされていました | |
| 16978 | (C<$x> に空の属性リストを適用する)。 | |
| 16979 | この構文は 5.12.0 に廃止予定となり、今回文法エラーとなったので、 | |
| 16980 | C<:=> は将来新しい演算子として再利用できます。 | |
| 16981 | ||
| 16982 | =begin original | |
| 16983 | ||
| 16984 | If you need an empty attribute list, for example in a code generator, add | |
| 16985 | a space before the C<=>. | |
| 16986 | ||
| 16987 | =end original | |
| 16988 | ||
| 16989 | 例えばコードジェネレータのために、空属性リストが必要なら、C<=> の前に | |
| 16990 | スペースを加えてください。 | |
| 16991 | ||
| 16992 | =item Use of %s for non-UTF-8 locale is wrong. Assuming a UTF-8 locale | |
| 16993 | ||
| 16994 | =begin original | |
| 16995 | ||
| 16996 | (W locale) You are matching a regular expression using locale rules, | |
| 16997 | and the specified construct was encountered. This construct is only | |
| 16998 | valid for UTF-8 locales, which the current locale isn't. This doesn't | |
| 16999 | make sense. Perl will continue, assuming a Unicode (UTF-8) locale, but | |
| 17000 | the results are likely to be wrong. | |
| 17001 | ||
| 17002 | =end original | |
| 17003 | ||
| 17004 | (W locale) ロケールの規則を使って正規表現のマッチングを行い、 | |
| 17005 | 指定した構文が出現しました。 | |
| 17006 | この構文は UTF-8 ロケールでのみ有効ですが、現在のロケールは異なります。 | |
| 17007 | これは意味がありません。 | |
| 17008 | Perl は Unicode (UTF-8) ロケールを仮定して動作を続けますが、 | |
| 17009 | 結果はおそらく間違ったものです。 | |
| 17010 | ||
| 17011 | =item Use of freed value in iteration | |
| 17012 | ||
| 17013 | =begin original | |
| 17014 | ||
| 17015 | (F) Perhaps you modified the iterated array within the loop? | |
| 17016 | This error is typically caused by code like the following: | |
| 17017 | ||
| 17018 | =end original | |
| 17019 | ||
| 17020 | (F) おそらくループの中で反復される配列を変更したのでは? | |
| 17021 | このエラーは典型的には以下のようなコードで発生します: | |
| 17022 | ||
| 17023 | @a = (3,4); | |
| 17024 | @a = () for (1,2,@a); | |
| 17025 | ||
| 17026 | =begin original | |
| 17027 | ||
| 17028 | You are not supposed to modify arrays while they are being iterated over. | |
| 17029 | For speed and efficiency reasons, Perl internally does not do full | |
| 17030 | reference-counting of iterated items, hence deleting such an item in the | |
| 17031 | middle of an iteration causes Perl to see a freed value. | |
| 17032 | ||
| 17033 | =end original | |
| 17034 | ||
| 17035 | 反復中の配列は変更してはいけないことになっています。 | |
| 17036 | 速度と効率上の理由から、Perl 内部では反復されたアイテムの参照カウントを | |
| 17037 | 完全には数えていません; 従って反復中のアイテムのを削除すると Perl は | |
| 17038 | 解放された値を見ることになります。 | |
| 17039 | ||
| 17040 | =item Use of /g modifier is meaningless in split | |
| 17041 | ||
| 17042 | =begin original | |
| 17043 | ||
| 17044 | (W regexp) You used the /g modifier on the pattern for a C<split> | |
| 17045 | operator. Since C<split> always tries to match the pattern | |
| 17046 | repeatedly, the C</g> has no effect. | |
| 17047 | ||
| 17048 | =end original | |
| 17049 | ||
| 17050 | (W regexp) C<split> 演算子のパターンで /g 修飾子を使いました。 | |
| 17051 | C<split> は常にパターンを繰り返しマッチングしようとするので、 | |
| 17052 | C</g> は効果がありません。 | |
| 17053 | ||
| 17054 | =item Use of "goto" to jump into a construct is deprecated | |
| 17055 | ||
| 17056 | =begin original | |
| 17057 | ||
| 17058 | (D deprecated) Using C<goto> to jump from an outer scope into an inner | |
| 17059 | scope is deprecated and should be avoided. | |
| 17060 | ||
| 17061 | =end original | |
| 17062 | ||
| 17063 | (D deprecated) 外側のスコープから内側のスコープに飛び込むために C<goto> を | |
| 17064 | 使うことは廃止予定であり、避けるべきです。 | |
| 17065 | ||
| 17066 | =begin original | |
| 17067 | ||
| 17068 | This was deprecated in Perl 5.12. | |
| 17069 | ||
| 17070 | =end original | |
| 17071 | ||
| 17072 | これは Perl 5.12 で廃止予定になりました。 | |
| 17073 | ||
| 17074 | =item Use of '%s' in \p{} or \P{} is deprecated because: %s | |
| 17075 | ||
| 17076 | =begin original | |
| 17077 | ||
| 17078 | (D deprecated) Certain properties are deprecated by Unicode, and may | |
| 17079 | eventually be removed from the Standard, at which time Perl will follow | |
| 17080 | along. In the meantime, this message is raised to notify you. | |
| 17081 | ||
| 17082 | =end original | |
| 17083 | ||
| 17084 | (D deprecated) 一部の特性は Unicode によって廃止予定とされており、 | |
| 17085 | 最終的に標準から削除されるかもしれません; その時点で Perl も追随します。 | |
| 17086 | 今のところは、通知のためにこのメッセージが発生します。 | |
| 17087 | ||
| 17088 | =item Use of inherited AUTOLOAD for non-method %s::%s() is no longer allowed | |
| 17089 | ||
| 17090 | =begin original | |
| 17091 | ||
| 17092 | (F) As an accidental feature, C<AUTOLOAD> subroutines were looked up as | |
| 17093 | methods (using the C<@ISA> hierarchy), even when the subroutines to be | |
| 17094 | autoloaded were called as plain functions (e.g. C<Foo::bar()>), not as | |
| 17095 | methods (e.g. C<< Foo->bar() >> or C<< $obj->bar() >>). | |
| 17096 | ||
| 17097 | =end original | |
| 17098 | ||
| 17099 | (F) 偶発的な仕様によって、C<AUTOLOAD> サブルーチンは、 | |
| 17100 | autoload されるサブルーチンがメソッド (C<< Foo->bar() >> や | |
| 17101 | C<< $obj->bar() >>) ではなく、普通の関数 (C<Foo::bar()>) として | |
| 17102 | 呼び出された場合にも、(C<@ISA> 階層を使って) メソッドとして検索していました。 | |
| 17103 | ||
| 17104 | =begin original | |
| 17105 | ||
| 17106 | This was deprecated in Perl 5.004, and was made fatal in Perl 5.28. | |
| 17107 | ||
| 17108 | =end original | |
| 17109 | ||
| 17110 | この機能は Perl 5.004 で廃止予定になり、Perl 5.28 で致命的エラーになりました。 | |
| 17111 | ||
| 17112 | 8705 | =item Use of %s in printf format not supported |
| 17113 | 8706 | |
| 17114 | 8707 | =begin original |
| 17115 | 8708 | |
| 17116 | 8709 | (F) You attempted to use a feature of printf that is accessible from |
| 17117 | 8710 | only C. This usually means there's a better way to do it in Perl. |
| 17118 | 8711 | |
| 17119 | 8712 | =end original |
| 17120 | 8713 | |
| 17121 | 8714 | (F) C でのみアクセス可能な printf の機能を使おうとしました。 |
| 17122 | 8715 | これは普通 Perl で行うより良い方法があります。 |
| 17123 | 8716 | |
| 17124 | =item Use of | |
| 8717 | =item Use of $* is deprecated | |
| 17125 | 8718 | |
| 17126 | 8719 | =begin original |
| 17127 | 8720 | |
| 17128 | ( | |
| 8721 | (D deprecated) This variable magically turned on multi-line pattern | |
| 17129 | it | |
| 8722 | matching, both for you and for any luckless subroutine that you happen | |
| 17130 | ||
| 8723 | to call. You should use the new C<//m> and C<//s> modifiers now to do | |
| 8724 | that without the dangerous action-at-a-distance effects of C<$*>. | |
| 17131 | 8725 | |
| 17132 | 8726 | =end original |
| 17133 | 8727 | |
| 17134 | ( | |
| 8728 | (D) この変数は、自分のスクリプトでも、たまたま呼んだ先のサブルーティンでも、 | |
| 17135 | ||
| 8729 | 複数行のパターンマッチを有効にしてしまいます。 | |
| 17136 | ||
| 8730 | C<$*> の離れたところに与える危険な影響を避けてこれを行なうために、 | |
| 17137 | ||
| 8731 | 新しい C<//m> 修飾子と C<//s> 修飾子を使ってください。 | |
| 17138 | 代わりにファイル名を使ってください。 | |
| 17139 | 8732 | |
| 17140 | =item Use of | |
| 8733 | =item Use of %s is deprecated | |
| 17141 | 8734 | |
| 17142 | 8735 | =begin original |
| 17143 | 8736 | |
| 17144 | ( | |
| 8737 | (D deprecated) The construct indicated is no longer recommended for use, | |
| 17145 | ||
| 8738 | generally because there's a better way to do it, and also because the | |
| 17146 | ||
| 8739 | old way has bad side effects. | |
| 17147 | 8740 | |
| 17148 | 8741 | =end original |
| 17149 | 8742 | |
| 17150 | ( | |
| 8743 | (D deprecated) 示した構文は、もはや使うことが推奨されません。 | |
| 17151 | ||
| 8744 | 一般にはもっと良い方法があるからであり、また古い方法は、悪い副作用が | |
| 17152 | ||
| 8745 | あるからです。 | |
| 17153 | ミスを意味しています。 | |
| 17154 | 8746 | |
| 17155 | = | |
| 8747 | =item Use of $# is deprecated | |
| 17156 | 8748 | |
| 17157 | If you really do mean it, explicitly numify your reference, like so: | |
| 17158 | C<$array[0+$ref]>. This warning is not given for overloaded objects, | |
| 17159 | however, because you can overload the numification and stringification | |
| 17160 | operators and then you presumably know what you are doing. | |
| 17161 | ||
| 17162 | =end original | |
| 17163 | ||
| 17164 | 本当にそうしたい場合は、C<$array[0+$ref]> のように、リファレンスを明示的に | |
| 17165 | 数値化してください。 | |
| 17166 | しかし、この警告はオーバーロードされたオブジェクトでは発生しません; | |
| 17167 | 数値化と文字列化の演算子をオーバーロードして、何をしているかをわかっていると | |
| 17168 | 仮定できるからです。 | |
| 17169 | ||
| 17170 | =item Use of strings with code points over 0xFF as arguments to %s | |
| 17171 | operator is not allowed | |
| 17172 | ||
| 17173 | 8749 | =begin original |
| 17174 | 8750 | |
| 17175 | ( | |
| 8751 | (D deprecated) This was an ill-advised attempt to emulate a poorly | |
| 17176 | ||
| 8752 | defined B<awk> feature. Use an explicit printf() or sprintf() instead. | |
| 17177 | operators treat their operands as strings of bytes, and values beyond | |
| 17178 | 0xFF are nonsensical in this context. | |
| 17179 | 8753 | |
| 17180 | 8754 | =end original |
| 17181 | 8755 | |
| 17182 | ( | |
| 8756 | (D deprecated) これは、貧相な awk の機能をエミュレートしようとする | |
| 17183 | ||
| 8757 | ものでした。 | |
| 17184 | ||
| 8758 | 代わりに、明示的に printf() や sprintf() を使ってください。 | |
| 17185 | 0xFF を超える値はこの文脈では無意味です。 | |
| 17186 | 8759 | |
| 17187 | = | |
| 8760 | =item Use of reserved word "%s" is deprecated | |
| 17188 | 8761 | |
| 17189 | This became fatal in Perl 5.28. | |
| 17190 | ||
| 17191 | =end original | |
| 17192 | ||
| 17193 | このような使用法は Perl 5.28 で致命的エラーになりました。 | |
| 17194 | ||
| 17195 | =item Use of strings with code points over 0xFF as arguments to C<vec> | |
| 17196 | is deprecated. This will be a fatal error in Perl 5.32 | |
| 17197 | ||
| 17198 | 8762 | =begin original |
| 17199 | 8763 | |
| 17200 | (D deprecated) | |
| 8764 | (D deprecated) The indicated bareword is a reserved word. Future | |
| 17201 | on a s | |
| 8765 | versions of perl may use it as a keyword, so you're better off either | |
| 8766 | explicitly quoting the word in a manner appropriate for its context of | |
| 8767 | use, or using a different name altogether. The warning can be | |
| 8768 | suppressed for subroutine names by either adding a C<&> prefix, or using | |
| 8769 | a package qualifier, e.g. C<&our()>, or C<Foo::our()>. | |
| 17202 | 8770 | |
| 17203 | 8771 | =end original |
| 17204 | 8772 | |
| 17205 | (D deprecated) | |
| 8773 | (D deprecated) 示されている裸の単語は予約語です。 | |
| 17206 | ||
| 8774 | 将来のバージョンの perl ではこれをキーワードとして使う可能性があるので、 | |
| 17207 | ||
| 8775 | 使っているコンテキストに適した形で単語をクォートするか、違う名前を | |
| 8776 | 使ってください。 | |
| 8777 | この警告は、サブルーチン名の前に C<&> を付ける(C<&our()>)か、 | |
| 8778 | パッケージ修飾子を付ける(C<Foo::our()>)ことで消すことができます。 | |
| 17208 | 8779 | |
| 17209 | =begin original | |
| 17210 | ||
| 17211 | Such usage will be a fatal error in Perl 5.32. | |
| 17212 | ||
| 17213 | =end original | |
| 17214 | ||
| 17215 | このような使用法は Perl 5.32 で致命的エラーになる予定です。 | |
| 17216 | ||
| 17217 | =item Use of tainted arguments in %s is deprecated | |
| 17218 | ||
| 17219 | =begin original | |
| 17220 | ||
| 17221 | (W taint, deprecated) You have supplied C<system()> or C<exec()> with multiple | |
| 17222 | arguments and at least one of them is tainted. This used to be allowed | |
| 17223 | but will become a fatal error in a future version of perl. Untaint your | |
| 17224 | arguments. See L<perlsec>. | |
| 17225 | ||
| 17226 | =end original | |
| 17227 | ||
| 17228 | (W taint, deprecated) C<system()> や C<exec()> に複数の引数を与えましたが、 | |
| 17229 | そのうち少なくとも一つが汚染されています。 | |
| 17230 | これは許されていましたが、将来のバージョンの perl では致命的エラーに | |
| 17231 | なるでしょう。 | |
| 17232 | 引数を浄化してください。 | |
| 17233 | L<perlsec> を参照してください。 | |
| 17234 | ||
| 17235 | =item Use of unassigned code point or non-standalone grapheme for a | |
| 17236 | delimiter is not allowed | |
| 17237 | ||
| 17238 | =begin original | |
| 17239 | ||
| 17240 | (F) | |
| 17241 | A grapheme is what appears to a native-speaker of a language to be a | |
| 17242 | character. In Unicode (and hence Perl) a grapheme may actually be | |
| 17243 | several adjacent characters that together form a complete grapheme. For | |
| 17244 | example, there can be a base character, like "R" and an accent, like a | |
| 17245 | circumflex "^", that appear when displayed to be a single character with | |
| 17246 | the circumflex hovering over the "R". Perl currently allows things like | |
| 17247 | that circumflex to be delimiters of strings, patterns, I<etc>. When | |
| 17248 | displayed, the circumflex would look like it belongs to the character | |
| 17249 | just to the left of it. In order to move the language to be able to | |
| 17250 | accept graphemes as delimiters, we cannot allow the use of | |
| 17251 | delimiters which aren't graphemes by themselves. Also, a delimiter must | |
| 17252 | already be assigned (or known to be never going to be assigned) to try | |
| 17253 | to future-proof code, for otherwise code that works today would fail to | |
| 17254 | compile if the currently unassigned delimiter ends up being something | |
| 17255 | that isn't a stand-alone grapheme. Because Unicode is never going to | |
| 17256 | assign | |
| 17257 | L<non-character code points|perlunicode/Noncharacter code points>, nor | |
| 17258 | L<code points that are above the legal Unicode maximum| | |
| 17259 | perlunicode/Beyond Unicode code points>, those can be delimiters, and | |
| 17260 | their use is legal. | |
| 17261 | ||
| 17262 | =end original | |
| 17263 | ||
| 17264 | (F) | |
| 17265 | 書記素は言語のネイティブスピーカーにとって文字のように見えるものです。 | |
| 17266 | Unicode (従って Perl) では、 | |
| 17267 | 書記素は実際には互いに完全な書記素を形成するいくつかの隣接する | |
| 17268 | 文字かもしれません。 | |
| 17269 | 例えば、"R" のような基底文字と曲折アクセント "^" のような | |
| 17270 | アクセントかもしれません; これは表示されるときには | |
| 17271 | "R" の上に曲折アクセントがある単一の文字となります。 | |
| 17272 | Perl は現在の所曲折アクセントのようなものを文字列、パターンなどの | |
| 17273 | 区切り文字にすることを許しています。 | |
| 17274 | 表示されるとき、曲折アクセントは、 | |
| 17275 | そのすぐ左にある文字に付属するかのように見えます。 | |
| 17276 | 言語が書記素を区切り文字として受けいられられるようにするために、 | |
| 17277 | それ自体が書記素でない区切り文字の使用は認められません。 | |
| 17278 | また、区切り文字は将来も動作するコードであり続けるために、 | |
| 17279 | 既に割り当てられている(または決して割り当てられないと分かっている) | |
| 17280 | ものでなければなりません; | |
| 17281 | さもなければ、もし現在割り当てられていない書記素が単体の書記素でないものに | |
| 17282 | なった場合、今日動作しているコードがコンパイルに失敗することになります。 | |
| 17283 | Unicode は決して | |
| 17284 | L<非文字符号位置|perlunicode/Noncharacter code points> や | |
| 17285 | L<正当な Unicode の最大値より大きな符号位置| | |
| 17286 | perlunicode/Beyond Unicode code points> を割り当てないので、 | |
| 17287 | これらは区切り文字になることができ、これらの使用は正当です。 | |
| 17288 | ||
| 17289 | 8780 | =item Use of uninitialized value%s |
| 17290 | 8781 | |
| 17291 | 8782 | =begin original |
| 17292 | 8783 | |
| 17293 | 8784 | (W uninitialized) An undefined value was used as if it were already |
| 17294 | 8785 | defined. It was interpreted as a "" or a 0, but maybe it was a mistake. |
| 17295 | 8786 | To suppress this warning assign a defined value to your variables. |
| 17296 | 8787 | |
| 17297 | 8788 | =end original |
| 17298 | 8789 | |
| 17299 | 8790 | (W uninitialized) 未定義値を、あたかも既に定義されているかのように |
| 17300 | 8791 | 使用しました。 |
| 17301 | 8792 | これは、"" か 0 と解釈されますが、間違いの可能性があります。 |
| 17302 | 8793 | この警告を止めるには、変数に定義された値を代入してください。 |
| 17303 | 8794 | |
| 17304 | 8795 | =begin original |
| 17305 | 8796 | |
| 17306 | To help you figure out what was undefined, perl | |
| 8797 | To help you figure out what was undefined, perl tells you what operation | |
| 17307 | the n | |
| 8798 | you used the undefined value in. Note, however, that perl optimizes your | |
| 17308 | ||
| 8799 | program and the operation displayed in the warning may not necessarily | |
| 17309 | ||
| 8800 | appear literally in your program. For example, C<"that $foo"> is | |
| 17310 | a | |
| 8801 | usually optimized into C<"that " . $foo>, and the warning will refer to | |
| 17311 | ||
| 8802 | the C<concatenation (.)> operator, even though there is no C<.> in your | |
| 17312 | ||
| 8803 | program. | |
| 17313 | C<concatenation (.)> operator, even though there is no C<.> in | |
| 17314 | your program. | |
| 17315 | 8804 | |
| 17316 | 8805 | =end original |
| 17317 | 8806 | |
| 17318 | ||
| 8807 | To help you figure out what was undefined, perl tells you what operation | |
| 17319 | ||
| 8808 | you used the undefined value in. Note, however, that perl optimizes your | |
| 17320 | ||
| 8809 | program and the operation displayed in the warning may not necessarily | |
| 17321 | ||
| 8810 | appear literally in your program. For example, C<"that $foo"> is | |
| 17322 | ||
| 8811 | usually optimized into C<"that " . $foo>, and the warning will refer to | |
| 17323 | ||
| 8812 | the C<concatenation (.)> operator, even though there is no C<.> in your | |
| 17324 | ||
| 8813 | program. | |
| 17325 | 出ます。 | |
| 17326 | 8814 | |
| 17327 | =item "use re 'strict'" is experimental | |
| 17328 | ||
| 17329 | =begin original | |
| 17330 | ||
| 17331 | (S experimental::re_strict) The things that are different when a regular | |
| 17332 | expression pattern is compiled under C<'strict'> are subject to change | |
| 17333 | in future Perl releases in incompatible ways. This means that a pattern | |
| 17334 | that compiles today may not in a future Perl release. This warning is | |
| 17335 | to alert you to that risk. | |
| 17336 | ||
| 17337 | =end original | |
| 17338 | ||
| 17339 | (S experimental::re_strict) 正規表現が C<'strict'> の基で | |
| 17340 | コンパイルされたときに何が異なるかは、 | |
| 17341 | 将来の Perl のリリースで互換性のない形で変更される予定です。 | |
| 17342 | つまり、今日コンパイルしたパターンは将来の Perl リリースのものとは | |
| 17343 | 違うかもしれません。 | |
| 17344 | この警告はそのリスクを知らせるためのものです。 | |
| 17345 | ||
| 17346 | =item Use \x{...} for more than two hex characters in regex; marked by | |
| 17347 | S<<-- HERE> in m/%s/ | |
| 17348 | ||
| 17349 | =begin original | |
| 17350 | ||
| 17351 | (F) In a regular expression, you said something like | |
| 17352 | ||
| 17353 | =end original | |
| 17354 | ||
| 17355 | (F) 正規表現で、以下のようなことをしました | |
| 17356 | ||
| 17357 | (?[ [ \xBEEF ] ]) | |
| 17358 | ||
| 17359 | =begin original | |
| 17360 | ||
| 17361 | Perl isn't sure if you meant this | |
| 17362 | ||
| 17363 | =end original | |
| 17364 | ||
| 17365 | Perl は、これが以下のものを意味しているのか | |
| 17366 | ||
| 17367 | (?[ [ \x{BEEF} ] ]) | |
| 17368 | ||
| 17369 | =begin original | |
| 17370 | ||
| 17371 | or if you meant this | |
| 17372 | ||
| 17373 | =end original | |
| 17374 | ||
| 17375 | それとも次のものかがわかりません。 | |
| 17376 | ||
| 17377 | (?[ [ \x{BE} E F ] ]) | |
| 17378 | ||
| 17379 | =begin original | |
| 17380 | ||
| 17381 | You need to add either braces or blanks to disambiguate. | |
| 17382 | ||
| 17383 | =end original | |
| 17384 | ||
| 17385 | 明確にするために大かっこか空白を追加する必要があります。 | |
| 17386 | ||
| 17387 | =item Using just the first character returned by \N{} in character class in | |
| 17388 | regex; marked by S<<-- HERE> in m/%s/ | |
| 17389 | ||
| 17390 | =begin original | |
| 17391 | ||
| 17392 | (W regexp) Named Unicode character escapes C<(\N{...})> may return | |
| 17393 | a multi-character sequence. Even though a character class is | |
| 17394 | supposed to match just one character of input, perl will match | |
| 17395 | the whole thing correctly, except when the class is inverted | |
| 17396 | (C<[^...]>), or the escape is the beginning or final end point of | |
| 17397 | a range. For these, what should happen isn't clear at all. In | |
| 17398 | these circumstances, Perl discards all but the first character | |
| 17399 | of the returned sequence, which is not likely what you want. | |
| 17400 | ||
| 17401 | =end original | |
| 17402 | ||
| 17403 | (W regexp) 名前付き Unicode 文字エスケープ C<(\N{...})> は | |
| 17404 | 複数文字並びを返すことがあります。 | |
| 17405 | 文字クラスは入力のただ一つの文字にマッチングすることを想定していますが、 | |
| 17406 | perl は全体を正しくマッチングします; 但し例外は、 | |
| 17407 | クラスが反転された場合 (C<[^...]>) と、 | |
| 17408 | エスケープが範囲の始点か終点の場合です。 | |
| 17409 | これらの場合、何をするべきかは全く明らかではありません。 | |
| 17410 | このため、Perl は返された並びの最初以外の文字を捨てます; | |
| 17411 | おそらくこれはあなたが求めているものではないでしょう。 | |
| 17412 | ||
| 17413 | =item Using /u for '%s' instead of /%s in regex; marked by S<<-- HERE> in m/%s/ | |
| 17414 | ||
| 17415 | =begin original | |
| 17416 | ||
| 17417 | (W regexp) You used a Unicode boundary (C<\b{...}> or C<\B{...}>) in a | |
| 17418 | portion of a regular expression where the character set modifiers C</a> | |
| 17419 | or C</aa> are in effect. These two modifiers indicate an ASCII | |
| 17420 | interpretation, and this doesn't make sense for a Unicode definition. | |
| 17421 | The generated regular expression will compile so that the boundary uses | |
| 17422 | all of Unicode. No other portion of the regular expression is affected. | |
| 17423 | ||
| 17424 | =end original | |
| 17425 | ||
| 17426 | (W regexp) 文字集合修飾子 C</a> または C</aa> が有効の場合に正規表現の一部で | |
| 17427 | Unicode 境界 (C<\b{...}> または C<\B{...}>) を使いました。 | |
| 17428 | これら二つの修飾子は ASCII での解釈を示していて、これは | |
| 17429 | Unicode の定義では意味がありません。 | |
| 17430 | 生成された正規表現は、境界は全て Unicode としてコンパイルします。 | |
| 17431 | 正規表現のその他の部分は影響を受けません。 | |
| 17432 | ||
| 17433 | =item Using !~ with %s doesn't make sense | |
| 17434 | ||
| 17435 | =begin original | |
| 17436 | ||
| 17437 | (F) Using the C<!~> operator with C<s///r>, C<tr///r> or C<y///r> is | |
| 17438 | currently reserved for future use, as the exact behavior has not | |
| 17439 | been decided. (Simply returning the boolean opposite of the | |
| 17440 | modified string is usually not particularly useful.) | |
| 17441 | ||
| 17442 | =end original | |
| 17443 | ||
| 17444 | (F) C<s///r>, C<tr///r>, C<y///r> での C<!~> 演算子の使用は、正確な振る舞いが | |
| 17445 | まだ決定されていないので、将来の使用のために予約されています。 | |
| 17446 | (単に修正された文字列の真偽値としての逆を返すのは普通特に | |
| 17447 | 有用ではありません。) | |
| 17448 | ||
| 17449 | =item UTF-16 surrogate U+%X | |
| 17450 | ||
| 17451 | =begin original | |
| 17452 | ||
| 17453 | (S surrogate) You had a UTF-16 surrogate in a context where they are | |
| 17454 | not considered acceptable. These code points, between U+D800 and | |
| 17455 | U+DFFF (inclusive), are used by Unicode only for UTF-16. However, Perl | |
| 17456 | internally allows all unsigned integer code points (up to the size limit | |
| 17457 | available on your platform), including surrogates. But these can cause | |
| 17458 | problems when being input or output, which is likely where this message | |
| 17459 | came from. If you really really know what you are doing you can turn | |
| 17460 | off this warning by C<no warnings 'surrogate';>. | |
| 17461 | ||
| 17462 | =end original | |
| 17463 | ||
| 17464 | (S surrogate) 受け付けられないと考えられる場所に UTF-16 サロゲートを | |
| 17465 | 使いました。 | |
| 17466 | これらの符号位置、U+D800 から U+DFFF (両端含む) は UTF-16 のためだけに | |
| 17467 | Unicode によって使われます。 | |
| 17468 | しかし Perl は、サロゲートを含む、内部で全ての符号なし整数の符号位置(最大値は | |
| 17469 | プラットフォームで利用可能なサイズ上限)を受け付けます。 | |
| 17470 | しかし、これらは入力や出力になるときに問題を引き起こします; それは | |
| 17471 | おそらくこのメッセージが出た場所です。 | |
| 17472 | 自分で何をしているのかが本当に本当に分かっているなら、 | |
| 17473 | C<no warnings 'surrogate';> とすることでこの警告をオフにできます。 | |
| 17474 | ||
| 17475 | 8815 | =item Value of %s can be "0"; test with defined() |
| 17476 | 8816 | |
| 17477 | 8817 | =begin original |
| 17478 | 8818 | |
| 17479 | 8819 | (W misc) In a conditional expression, you used <HANDLE>, <*> (glob), |
| 17480 | 8820 | C<each()>, or C<readdir()> as a boolean value. Each of these constructs |
| 17481 | 8821 | can return a value of "0"; that would make the conditional expression |
| 17482 | 8822 | false, which is probably not what you intended. When using these |
| 17483 | 8823 | constructs in conditional expressions, test their values with the |
| 17484 | 8824 | C<defined> operator. |
| 17485 | 8825 | |
| 17486 | 8826 | =end original |
| 17487 | 8827 | |
| 17488 | 8828 | (W misc) 条件式の中で、<HANDLE>, <*> (グロブ), C<each()>, C<readdir()> を |
| 17489 | 8829 | 真偽値として使いました。 |
| 17490 | 8830 | これらの構文は値 "0" を返すことがあります; これは条件式では偽を示しますが、 |
| 17491 | 8831 | これはおそらく望んでいることではないでしょう。 |
| 17492 | 8832 | これらの構文を条件式の中で使うときは、その値を C<defined> 演算子で |
| 17493 | 8833 | テストしてください。 |
| 17494 | 8834 | |
| 17495 | 8835 | =item Value of CLI symbol "%s" too long |
| 17496 | 8836 | |
| 17497 | 8837 | =begin original |
| 17498 | 8838 | |
| 17499 | 8839 | (W misc) A warning peculiar to VMS. Perl tried to read the value of an |
| 17500 | 8840 | %ENV element from a CLI symbol table, and found a resultant string |
| 17501 | 8841 | longer than 1024 characters. The return value has been truncated to |
| 17502 | 8842 | 1024 characters. |
| 17503 | 8843 | |
| 17504 | 8844 | =end original |
| 17505 | 8845 | |
| 17506 | (W misc) VMS | |
| 8846 | (W misc) VMS 固有の警告です。 | |
| 17507 | 8847 | Perl は CLI シンボルテーブルから %ENV 要素の値を読み込もうとしましたが、 |
| 17508 | 8848 | 結果の文字列が 1024 文字を越えました。 |
| 17509 | 8849 | 返り値は 1024 文字に切り詰められます。 |
| 17510 | 8850 | |
| 17511 | =item Variable "%s" is not available | |
| 17512 | ||
| 17513 | =begin original | |
| 17514 | ||
| 17515 | (W closure) During compilation, an inner named subroutine or eval is | |
| 17516 | attempting to capture an outer lexical that is not currently available. | |
| 17517 | This can happen for one of two reasons. First, the outer lexical may be | |
| 17518 | declared in an outer anonymous subroutine that has not yet been created. | |
| 17519 | (Remember that named subs are created at compile time, while anonymous | |
| 17520 | subs are created at run-time.) For example, | |
| 17521 | ||
| 17522 | =end original | |
| 17523 | ||
| 17524 | (W closure) コンパイル中に、内側の名前付きサブルーチンや eval が | |
| 17525 | まだ利用可能でない外側のレキシカルを捕捉しようとしました。 | |
| 17526 | これは二つの理由で起こります。 | |
| 17527 | まず、外側のレキシカルが、まだ作成されていない外側の無名サブルーチンで | |
| 17528 | 定義されている場合です。 | |
| 17529 | (名前付きサブルーチンはコンパイル時に作成されますが、無名サブルーチンは | |
| 17530 | 実行時に作成されることを思い出してください。) | |
| 17531 | 例えば、 | |
| 17532 | ||
| 17533 | sub { my $a; sub f { $a } } | |
| 17534 | ||
| 17535 | =begin original | |
| 17536 | ||
| 17537 | At the time that f is created, it can't capture the current value of $a, | |
| 17538 | since the anonymous subroutine hasn't been created yet. Conversely, | |
| 17539 | the following won't give a warning since the anonymous subroutine has by | |
| 17540 | now been created and is live: | |
| 17541 | ||
| 17542 | =end original | |
| 17543 | ||
| 17544 | f が作成された時点で、$a の現在の値を捕捉できません; | |
| 17545 | なぜなら無名サブルーチンはまだ作成されていないからです。 | |
| 17546 | 逆に、以下のものは警告されません; 無名サブルーチンはこの時点で作成されていて | |
| 17547 | 生きているからです: | |
| 17548 | ||
| 17549 | sub { my $a; eval 'sub f { $a }' }->(); | |
| 17550 | ||
| 17551 | =begin original | |
| 17552 | ||
| 17553 | The second situation is caused by an eval accessing a variable that has | |
| 17554 | gone out of scope, for example, | |
| 17555 | ||
| 17556 | =end original | |
| 17557 | ||
| 17558 | 2 番目の状況は eval がスコープ外となった変数にアクセスすることで起こります; | |
| 17559 | 例えば: | |
| 17560 | ||
| 17561 | sub f { | |
| 17562 | my $a; | |
| 17563 | sub { eval '$a' } | |
| 17564 | } | |
| 17565 | f()->(); | |
| 17566 | ||
| 17567 | =begin original | |
| 17568 | ||
| 17569 | Here, when the '$a' in the eval is being compiled, f() is not currently | |
| 17570 | being executed, so its $a is not available for capture. | |
| 17571 | ||
| 17572 | =end original | |
| 17573 | ||
| 17574 | ここで、eval の中の '$a' がコンパイルされるとき、f() はまだ | |
| 17575 | 実行されていないので、この $a は捕捉出来ません。 | |
| 17576 | ||
| 17577 | 8851 | =item Variable "%s" is not imported%s |
| 17578 | 8852 | |
| 17579 | 8853 | =begin original |
| 17580 | 8854 | |
| 17581 | ( | |
| 8855 | (F) While "use strict" in effect, you referred to a global variable that | |
| 17582 | ||
| 8856 | you apparently thought was imported from another module, because | |
| 17583 | 8857 | something else of the same name (usually a subroutine) is exported by |
| 17584 | 8858 | that module. It usually means you put the wrong funny character on the |
| 17585 | 8859 | front of your variable. |
| 17586 | 8860 | |
| 17587 | 8861 | =end original |
| 17588 | 8862 | |
| 17589 | ( | |
| 8863 | (F) "use strict" が有効のときに、見たところ他のモジュールから | |
| 17590 | 8864 | インポートされたとあなたが考えたグローバル変数を参照しました; |
| 17591 | 8865 | なぜなら同じ名前の何か他のもの(通常はサブルーチン)がそのモジュールから |
| 17592 | 8866 | エクスポートされています。 |
| 17593 | 8867 | これは普通は変数の前に間違ったおかしな文字を置いたことを意味します。 |
| 17594 | 8868 | |
| 17595 | =item | |
| 8869 | =item "%s" variable %s masks earlier declaration in same %s | |
| 17596 | 8870 | |
| 17597 | 8871 | =begin original |
| 17598 | 8872 | |
| 17599 | ( | |
| 8873 | (W misc) A "my" or "our" variable has been redeclared in the current | |
| 17600 | ||
| 8874 | scope or statement, effectively eliminating all access to the previous | |
| 17601 | ||
| 8875 | instance. This is almost always a typographical error. Note that the | |
| 8876 | earlier variable will still exist until the end of the scope or until | |
| 8877 | all closure referents to it are destroyed. | |
| 17602 | 8878 | |
| 17603 | 8879 | =end original |
| 17604 | 8880 | |
| 17605 | ( | |
| 8881 | (W misc) 現在のスコープや文で "my" 変数や "our" 変数が再宣言されたので、 | |
| 17606 | ||
| 8882 | 以前の実体への全てのアクセスができなくなりました。 | |
| 17607 | この | |
| 8883 | これはほとんどの場合タイプミスです。 | |
| 8884 | 以前の変数は、スコープが終わるか、それを参照している全てのクロージャが | |
| 8885 | 破壊されるまでは存在し続けることに注意してください。 | |
| 17608 | 8886 | |
| 17609 | = | |
| 8887 | =item Variable "%s" may be unavailable | |
| 17610 | 8888 | |
| 17611 | In Perl 5.30 and earlier, lookbehind is allowed | |
| 17612 | only for subexpressions whose length is fixed and | |
| 17613 | known at compile time. For positive lookbehind, you can use the C<\K> | |
| 17614 | regex construct as a way to get the equivalent functionality. See | |
| 17615 | L<(?<=pattern) and \K in perlre|perlre/\K>. | |
| 17616 | ||
| 17617 | =end original | |
| 17618 | ||
| 17619 | Perl 5.30 以前では、後方参照は長さが固定で、 | |
| 17620 | コンパイル時に確定している副式に対してのみ可能です。 | |
| 17621 | 正の後方参照では、等価な機能を得るために C<\K> 正規表現構文が使えます。 | |
| 17622 | L<(?<=pattern) and \K in perlre|perlre/\K> を参照してください。 | |
| 17623 | ||
| 17624 | 8889 | =begin original |
| 17625 | 8890 | |
| 17626 | ||
| 8891 | (W closure) An inner (nested) I<anonymous> subroutine is inside a | |
| 17627 | ||
| 8892 | I<named> subroutine, and outside that is another subroutine; and the | |
| 17628 | ||
| 8893 | anonymous (innermost) subroutine is referencing a lexical variable | |
| 17629 | ||
| 8894 | defined in the outermost subroutine. For example: | |
| 17630 | affecting ASCII characters: | |
| 17631 | 8895 | |
| 17632 | 8896 | =end original |
| 17633 | 8897 | |
| 17634 | ||
| 8898 | (W closure) 内部の(ネストした) I<無名> サブルーチンが I<名前つき> | |
| 17635 | ||
| 8899 | サブルーチンの内側にあり、その外側は別のサブルーチンです; | |
| 17636 | ||
| 8900 | そして無名の(一番内側の)サブルーチンが一番外側のサブルーチンで | |
| 17637 | ||
| 8901 | 定義されているレキシカル変数で参照されています。 | |
| 17638 | ||
| 8902 | 例えば: | |
| 17639 | 8903 | |
| 17640 | | |
| 8904 | sub outermost { my $a; sub middle { sub { $a } } } | |
| 17641 | sequence Matches single letter under /i | |
| 17642 | FF U+FB00 LATIN SMALL LIGATURE FF | |
| 17643 | FFI U+FB03 LATIN SMALL LIGATURE FFI | |
| 17644 | FFL U+FB04 LATIN SMALL LIGATURE FFL | |
| 17645 | FI U+FB01 LATIN SMALL LIGATURE FI | |
| 17646 | FL U+FB02 LATIN SMALL LIGATURE FL | |
| 17647 | SS U+00DF LATIN SMALL LETTER SHARP S | |
| 17648 | U+1E9E LATIN CAPITAL LETTER SHARP S | |
| 17649 | ST U+FB06 LATIN SMALL LIGATURE ST | |
| 17650 | U+FB05 LATIN SMALL LIGATURE LONG S T | |
| 17651 | 8905 | |
| 17652 | 8906 | =begin original |
| 17653 | 8907 | |
| 17654 | ||
| 8908 | If the anonymous subroutine is called or referenced (directly or | |
| 17655 | ||
| 8909 | indirectly) from the outermost subroutine, it will share the variable as | |
| 8910 | you would expect. But if the anonymous subroutine is called or | |
| 8911 | referenced when the outermost subroutine is not active, it will see the | |
| 8912 | value of the shared variable as it was before and during the *first* | |
| 8913 | call to the outermost subroutine, which is probably not what you want. | |
| 17656 | 8914 | |
| 17657 | 8915 | =end original |
| 17658 | 8916 | |
| 17659 | ||
| 8917 | 無名サブルーチンが一番外側のサブルーチンから呼び出されるか(直接または | |
| 17660 | ||
| 8918 | 間接に)リファレンスされたとき、予想通りに変数は共有されます。 | |
| 8919 | しかし、一番外側のサブルーチンが有効でない時に無名サブルーチンが呼び出されたり | |
| 8920 | リファレンスされたりすると、共有された変数の値は一番外側のサブルーチンへの | |
| 8921 | 最初の呼び出し前および呼び出し中のものになります; | |
| 8922 | これはおそらく望んでいることではないでしょう。 | |
| 17661 | 8923 | |
| 17662 | 8924 | =begin original |
| 17663 | 8925 | |
| 17664 | ||
| 8926 | In these circumstances, it is usually best to make the middle subroutine | |
| 17665 | ||
| 8927 | anonymous, using the C<sub {}> syntax. Perl has specific support for | |
| 8928 | shared variables in nested anonymous subroutines; a named subroutine in | |
| 8929 | between interferes with this feature. | |
| 17666 | 8930 | |
| 17667 | 8931 | =end original |
| 17668 | 8932 | |
| 17669 | ||
| 8933 | このような状況では、普通は C<sub {}> 構文を使って、サブルーチン middle を | |
| 8934 | 無名にするのが最良です。 | |
| 8935 | Perl はネストした無名サブルーチンで変数を共有する機能をサポートしています; | |
| 8936 | この機能のインターフェースの間の名前付きサブルーチンです。 | |
| 17670 | 8937 | |
| 17671 | (?<![sS]t) | |
| 17672 | (?<![fF]f[iI]) | |
| 17673 | ||
| 17674 | =begin original | |
| 17675 | ||
| 17676 | This fools Perl into not matching the ligatures. | |
| 17677 | ||
| 17678 | =end original | |
| 17679 | ||
| 17680 | これは合字にマッチングしないように Perl を騙します。 | |
| 17681 | ||
| 17682 | =begin original | |
| 17683 | ||
| 17684 | Another option for Perls starting with 5.16, if you only care about | |
| 17685 | ASCII matches, is to add the C</aa> modifier to the regex. This will | |
| 17686 | exclude all these non-obvious matches, thus getting rid of this message. | |
| 17687 | You can also say | |
| 17688 | ||
| 17689 | =end original | |
| 17690 | ||
| 17691 | Perl v5.16 からのもう一つの選択肢として、 | |
| 17692 | もし ASCII のマッチングにだけ関心があるのなら、 | |
| 17693 | 正規表現に C</aa> を追加することでこれらの明確でないマッチングを全て | |
| 17694 | 除くことができるので、このメッセージを避けられます。 | |
| 17695 | また、次のようにすることで: | |
| 17696 | ||
| 17697 | use if $] ge 5.016, re => '/aa'; | |
| 17698 | ||
| 17699 | =begin original | |
| 17700 | ||
| 17701 | to apply C</aa> to all regular expressions compiled within its scope. | |
| 17702 | See L<re>. | |
| 17703 | ||
| 17704 | =end original | |
| 17705 | ||
| 17706 | スコープ内でコンパイルされた全ての正規表現に対して C</aa> を適用します。 | |
| 17707 | L<re> を参照してください。 | |
| 17708 | ||
| 17709 | =item "%s" variable %s masks earlier declaration in same %s | |
| 17710 | ||
| 17711 | =begin original | |
| 17712 | ||
| 17713 | (W shadow) A "my", "our" or "state" variable has been redeclared in the | |
| 17714 | current scope or statement, effectively eliminating all access to the | |
| 17715 | previous instance. This is almost always a typographical error. Note | |
| 17716 | that the earlier variable will still exist until the end of the scope | |
| 17717 | or until all closure references to it are destroyed. | |
| 17718 | ||
| 17719 | =end original | |
| 17720 | ||
| 17721 | (W shadow) 現在のスコープや文で "my", "our", "state" 変数が再宣言されたので、 | |
| 17722 | 以前の実体への全てのアクセスができなくなりました。 | |
| 17723 | これはほとんど常にタイプミスです。 | |
| 17724 | 以前の変数は、スコープが終わるか、それを参照している全てのクロージャが | |
| 17725 | 破壊されるまでは存在し続けることに注意してください。 | |
| 17726 | ||
| 17727 | 8938 | =item Variable syntax |
| 17728 | 8939 | |
| 17729 | 8940 | =begin original |
| 17730 | 8941 | |
| 17731 | 8942 | (A) You've accidentally run your script through B<csh> instead |
| 17732 | 8943 | of Perl. Check the #! line, or manually feed your script into |
| 17733 | 8944 | Perl yourself. |
| 17734 | 8945 | |
| 17735 | 8946 | =end original |
| 17736 | 8947 | |
| 17737 | 8948 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
| 17738 | 8949 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
| 17739 | 8950 | |
| 17740 | 8951 | =item Variable "%s" will not stay shared |
| 17741 | 8952 | |
| 17742 | 8953 | =begin original |
| 17743 | 8954 | |
| 17744 | 8955 | (W closure) An inner (nested) I<named> subroutine is referencing a |
| 17745 | lexical variable defined in an outer | |
| 8956 | lexical variable defined in an outer subroutine. | |
| 17746 | 8957 | |
| 17747 | 8958 | =end original |
| 17748 | 8959 | |
| 17749 | 8960 | (W closure) 内部の(ネストした) I<名前付き> サブルーチンが、 |
| 17750 | 外側の | |
| 8961 | 外側のサブルーチンで定義したレキシカル変数を参照しています。 | |
| 17751 | 8962 | |
| 17752 | 8963 | =begin original |
| 17753 | 8964 | |
| 17754 | When the inner subroutine is called, it will see the value of | |
| 8965 | When the inner subroutine is called, it will probably see the value of | |
| 17755 | 8966 | the outer subroutine's variable as it was before and during the *first* |
| 17756 | 8967 | call to the outer subroutine; in this case, after the first call to the |
| 17757 | 8968 | outer subroutine is complete, the inner and outer subroutines will no |
| 17758 | 8969 | longer share a common value for the variable. In other words, the |
| 17759 | 8970 | variable will no longer be shared. |
| 17760 | 8971 | |
| 17761 | 8972 | =end original |
| 17762 | 8973 | |
| 17763 | 内側のサブルーチンが呼び出され | |
| 8974 | 内側のサブルーチンが呼び出された時、おそらく外側のサブルーチンの値は、 | |
| 17764 | 外側のサブルーチンの | |
| 8975 | 最初の外側のサブルーチンへの呼び出し前および呼び出し中のものになります; | |
| 17765 | ||
| 8976 | この場合、外側のサブルーチンへの最初の呼び出しが終了した後、内側と | |
| 17766 | ||
| 8977 | 外側のサブルーチンは変数に関して同じ値を共有しなくなります。 | |
| 17767 | ||
| 8978 | 言い換えると、変数はもはや共有されません。 | |
| 17768 | 言い換えると、この変数はもはや共有されません。 | |
| 17769 | 8979 | |
| 17770 | 8980 | =begin original |
| 17771 | 8981 | |
| 8982 | Furthermore, if the outer subroutine is anonymous and references a | |
| 8983 | lexical variable outside itself, then the outer and inner subroutines | |
| 8984 | will I<never> share the given variable. | |
| 8985 | ||
| 8986 | =end original | |
| 8987 | ||
| 8988 | さらに、外側のサブルーチンが無名で、それ自身の外側のレキシカル変数を | |
| 8989 | 参照している場合、外側と内側のサブルーチンは与えられた変数は | |
| 8990 | 共有 I<しません>。 | |
| 8991 | ||
| 8992 | =begin original | |
| 8993 | ||
| 17772 | 8994 | This problem can usually be solved by making the inner subroutine |
| 17773 | 8995 | anonymous, using the C<sub {}> syntax. When inner anonymous subs that |
| 17774 | reference variables in outer subroutines are cre | |
| 8996 | reference variables in outer subroutines are called or referenced, they | |
| 17775 | 8997 | are automatically rebound to the current values of such variables. |
| 17776 | 8998 | |
| 17777 | 8999 | =end original |
| 17778 | 9000 | |
| 17779 | 9001 | この問題は普通、C<sub {}> 構文を使って内側のサブルーチンを無名にすることで |
| 17780 | 9002 | 解決します。 |
| 17781 | 9003 | 外側のサブルーチンの変数を参照している内側の無名サブルーチンが |
| 17782 | ||
| 9004 | 呼び出されたり参照されたとき、これらはそのような変数の現在の値に | |
| 9005 | 自動的に回復します。 | |
| 17783 | 9006 | |
| 17784 | =item | |
| 9007 | =item Variable length lookbehind not implemented before << HERE in %s | |
| 17785 | 9008 | |
| 17786 | 9009 | =begin original |
| 17787 | 9010 | |
| 17788 | ( | |
| 9011 | (F) Lookbehind is allowed only for subexpressions whose length is fixed and | |
| 17789 | with | |
| 9012 | known at compile time. The << HERE shows in the regular expression about where | |
| 9013 | the problem was discovered. | |
| 17790 | 9014 | |
| 17791 | 9015 | =end original |
| 17792 | 9016 | |
| 17793 | ( | |
| 9017 | (F) 後方参照は長さが固定で、コンパイル時に確定している副式に対してのみ可能です。 | |
| 17794 | ||
| 9018 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 17795 | 9019 | |
| 17796 | =item Verb pattern '%s' has a mandatory argument in regex; marked by | |
| 17797 | S<<-- HERE> in m/%s/ | |
| 17798 | ||
| 17799 | =begin original | |
| 17800 | ||
| 17801 | (F) You used a verb pattern that requires an argument. Supply an | |
| 17802 | argument or check that you are using the right verb. | |
| 17803 | ||
| 17804 | =end original | |
| 17805 | ||
| 17806 | (F) 引き数が必要な動詞パターンを使いました。 | |
| 17807 | 引き数を追加するか、正しい動詞を使ってください。 | |
| 17808 | ||
| 17809 | =item Verb pattern '%s' may not have an argument in regex; marked by | |
| 17810 | S<<-- HERE> in m/%s/ | |
| 17811 | ||
| 17812 | =begin original | |
| 17813 | ||
| 17814 | (F) You used a verb pattern that is not allowed an argument. Remove the | |
| 17815 | argument or check that you are using the right verb. | |
| 17816 | ||
| 17817 | =end original | |
| 17818 | ||
| 17819 | (F) 引き数が認められていない動詞パターンを使いました。 | |
| 17820 | 引き数を削除するか、正しい動詞を使ってください。 | |
| 17821 | ||
| 17822 | =item Version control conflict marker | |
| 17823 | ||
| 17824 | =begin original | |
| 17825 | ||
| 17826 | (F) The parser found a line starting with C<E<lt><<<<<<>, | |
| 17827 | C<E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>>, or C<=======>. These may be left by a | |
| 17828 | version control system to mark conflicts after a failed merge operation. | |
| 17829 | ||
| 17830 | =end original | |
| 17831 | ||
| 17832 | (F) パーサは C<E<lt><<<<<<>, | |
| 17833 | C<E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>E<gt>>, C<=======> で始まる行を発見しました。 | |
| 17834 | これらはマージ操作に失敗したあと衝突を記録するために | |
| 17835 | バージョン制御システムによって残されたものかもしれません。 | |
| 17836 | ||
| 17837 | 9020 | =item Version number must be a constant number |
| 17838 | 9021 | |
| 17839 | 9022 | =begin original |
| 17840 | 9023 | |
| 17841 | 9024 | (P) The attempt to translate a C<use Module n.n LIST> statement into |
| 17842 | 9025 | its equivalent C<BEGIN> block found an internal inconsistency with |
| 17843 | 9026 | the version number. |
| 17844 | 9027 | |
| 17845 | 9028 | =end original |
| 17846 | 9029 | |
| 17847 | 9030 | (P) C<use Module n.n LIST> 文を等価な C<BEGIN> ブロックに変換しようと |
| 17848 | 9031 | したときに、バージョン番号について内部の不整合を発見しました。 |
| 17849 | 9032 | |
| 17850 | =item Version string '%s' contains invalid data; ignoring: '%s' | |
| 17851 | ||
| 17852 | =begin original | |
| 17853 | ||
| 17854 | (W misc) The version string contains invalid characters at the end, which | |
| 17855 | are being ignored. | |
| 17856 | ||
| 17857 | =end original | |
| 17858 | ||
| 17859 | (W misc) バージョン文字列の末尾に不正な文字が含まれていたので、その文字は | |
| 17860 | 無視されます。 | |
| 17861 | ||
| 17862 | 9033 | =item Warning: something's wrong |
| 17863 | 9034 | |
| 17864 | 9035 | =begin original |
| 17865 | 9036 | |
| 17866 | 9037 | (W) You passed warn() an empty string (the equivalent of C<warn "">) or |
| 17867 | you called it with no args and C<$ | |
| 9038 | you called it with no args and C<$_> was empty. | |
| 17868 | 9039 | |
| 17869 | 9040 | =end original |
| 17870 | 9041 | |
| 17871 | 9042 | (W) warn() に空文字列を渡した (C<warn ""> と透過です) か、 |
| 17872 | 引数なしで呼び出され、C<$ | |
| 9043 | 引数なしで呼び出され、C<$_> も空でした。 | |
| 17873 | 9044 | |
| 17874 | 9045 | =item Warning: unable to close filehandle %s properly |
| 17875 | 9046 | |
| 17876 | 9047 | =begin original |
| 17877 | 9048 | |
| 17878 | 9049 | (S) The implicit close() done by an open() got an error indication on |
| 17879 | 9050 | the close(). This usually indicates your file system ran out of disk |
| 17880 | 9051 | space. |
| 17881 | 9052 | |
| 17882 | 9053 | =end original |
| 17883 | 9054 | |
| 17884 | 9055 | (S) open() によって暗黙のうちに行なわれる close() が、 |
| 17885 | 9056 | close() のエラーとなりました。 |
| 17886 | 9057 | 通常、ファイルシステムがいっぱいであることを示します。 |
| 17887 | 9058 | |
| 17888 | =item Warning: unable to close filehandle properly: %s | |
| 17889 | ||
| 17890 | =item Warning: unable to close filehandle %s properly: %s | |
| 17891 | ||
| 17892 | =begin original | |
| 17893 | ||
| 17894 | (S io) There were errors during the implicit close() done on a filehandle | |
| 17895 | when its reference count reached zero while it was still open, e.g.: | |
| 17896 | ||
| 17897 | =end original | |
| 17898 | ||
| 17899 | (S io) まだ開いているけれども参照カウントがゼロになったときに | |
| 17900 | ファイルハンドルに対して行われる暗黙の close() 中にエラーが起きました; | |
| 17901 | 例えば: | |
| 17902 | ||
| 17903 | { | |
| 17904 | open my $fh, '>', $file or die "open: '$file': $!\n"; | |
| 17905 | print $fh $data or die "print: $!"; | |
| 17906 | } # implicit close here | |
| 17907 | ||
| 17908 | =begin original | |
| 17909 | ||
| 17910 | Because various errors may only be detected by close() (e.g. buffering could | |
| 17911 | allow the C<print> in this example to return true even when the disk is full), | |
| 17912 | it is dangerous to ignore its result. So when it happens implicitly, perl | |
| 17913 | will signal errors by warning. | |
| 17914 | ||
| 17915 | =end original | |
| 17916 | ||
| 17917 | 様々なエラーは close() によってのみ検出される | |
| 17918 | (バッファリングによって、この例の C<print> はディスクフルの場合でも | |
| 17919 | 真を返すことが可能です)ので、 | |
| 17920 | その結果を無視するのは危険です。 | |
| 17921 | 従って、それが暗黙に起きたとき、perl は警告によってエラーを知らせます。 | |
| 17922 | ||
| 17923 | =begin original | |
| 17924 | ||
| 17925 | B<Prior to version 5.22.0, perl ignored such errors>, so the common idiom shown | |
| 17926 | above was liable to cause B<silent data loss>. | |
| 17927 | ||
| 17928 | =end original | |
| 17929 | ||
| 17930 | B<バージョン 5.22.0 より前では、perl はこのようなエラーを無視していました>; | |
| 17931 | 従って、前述のような一般的な慣用句は | |
| 17932 | B<暗黙なデータの損失> を引き起こすことがありました。 | |
| 17933 | ||
| 17934 | 9059 | =item Warning: Use of "%s" without parentheses is ambiguous |
| 17935 | 9060 | |
| 17936 | 9061 | =begin original |
| 17937 | 9062 | |
| 17938 | 9063 | (S ambiguous) You wrote a unary operator followed by something that |
| 17939 | 9064 | looks like a binary operator that could also have been interpreted as a |
| 17940 | 9065 | term or unary operator. For instance, if you know that the rand |
| 17941 | 9066 | function has a default argument of 1.0, and you write |
| 17942 | 9067 | |
| 17943 | 9068 | =end original |
| 17944 | 9069 | |
| 17945 | 9070 | (S ambiguous) 単項演算子の後に、何か項にも単項演算子にも解釈できる、 |
| 17946 | 9071 | 二項演算子のようなものが置かれました。 |
| 17947 | 9072 | たとえば、rand 関数がデフォルトの引数として、1.0 をとることを知って |
| 17948 | 9073 | いれば、以下のように書いて: |
| 17949 | 9074 | |
| 17950 | 9075 | rand + 5; |
| 17951 | 9076 | |
| 17952 | 9077 | =begin original |
| 17953 | 9078 | |
| 17954 | 9079 | you may THINK you wrote the same thing as |
| 17955 | 9080 | |
| 17956 | 9081 | =end original |
| 17957 | 9082 | |
| 17958 | 9083 | 以下の同じことと思うかもしれませんが: |
| 17959 | 9084 | |
| 17960 | 9085 | rand() + 5; |
| 17961 | 9086 | |
| 17962 | 9087 | =begin original |
| 17963 | 9088 | |
| 17964 | 9089 | but in actual fact, you got |
| 17965 | 9090 | |
| 17966 | 9091 | =end original |
| 17967 | 9092 | |
| 17968 | 9093 | 実際には以下のようになります: |
| 17969 | 9094 | |
| 17970 | 9095 | rand(+5); |
| 17971 | 9096 | |
| 17972 | 9097 | =begin original |
| 17973 | 9098 | |
| 17974 | 9099 | So put in parentheses to say what you really mean. |
| 17975 | 9100 | |
| 17976 | 9101 | =end original |
| 17977 | 9102 | |
| 17978 | したがって、思うように解釈させるには、 | |
| 9103 | したがって、思うように解釈させるには、括弧が必要になります。 | |
| 17979 | 9104 | |
| 17980 | =item when is experimental | |
| 17981 | ||
| 17982 | =begin original | |
| 17983 | ||
| 17984 | (S experimental::smartmatch) C<when> depends on smartmatch, which is | |
| 17985 | experimental. Additionally, it has several special cases that may | |
| 17986 | not be immediately obvious, and their behavior may change or | |
| 17987 | even be removed in any future release of perl. See the explanation | |
| 17988 | under L<perlsyn/Experimental Details on given and when>. | |
| 17989 | ||
| 17990 | =end original | |
| 17991 | ||
| 17992 | (S experimental::smartmatch) C<when> は、実験的であるスマートマッチングに | |
| 17993 | 依存しています。 | |
| 17994 | さらに、完全に明らかとは言えないいくつかの特殊なケースがあるので、その | |
| 17995 | 振る舞いは将来のリリースの perl で変更されたり削除されたりするかもしれません。 | |
| 17996 | L<perlsyn/Experimental Details on given and when> の説明を参照してください。 | |
| 17997 | ||
| 17998 | 9105 | =item Wide character in %s |
| 17999 | 9106 | |
| 18000 | 9107 | =begin original |
| 18001 | 9108 | |
| 18002 | ( | |
| 9109 | (F) Perl met a wide character (>255) when it wasn't expecting one. | |
| 18003 | expecting one. This warning is by default on for I/O (like print). | |
| 18004 | 9110 | |
| 18005 | 9111 | =end original |
| 18006 | 9112 | |
| 18007 | ( | |
| 9113 | (F) Perl が(想定していないところで)ワイド文字(>255)に遭遇しました。 | |
| 18008 | この警告は、(print のような) I/O に対してはデフォルトでオンです。 | |
| 18009 | 9114 | |
| 18010 | = | |
| 9115 | =item write() on closed filehandle %s | |
| 18011 | 9116 | |
| 18012 | If this warning does come from I/O, the easiest | |
| 18013 | way to quiet it is simply to add the C<:utf8> layer, I<e.g.>, | |
| 18014 | S<C<binmode STDOUT, ':utf8'>>. Another way to turn off the warning is | |
| 18015 | to add S<C<no warnings 'utf8';>> but that is often closer to | |
| 18016 | cheating. In general, you are supposed to explicitly mark the | |
| 18017 | filehandle with an encoding, see L<open> and L<perlfunc/binmode>. | |
| 18018 | ||
| 18019 | =end original | |
| 18020 | ||
| 18021 | この警告が I/O からのものなら、これを黙らせる最も簡単な方法は、 | |
| 18022 | S<C<binmode STDOUT, ':utf8'>> のように | |
| 18023 | 出力に単に C<:utf8> 層を追加することです。 | |
| 18024 | もう一つの方法は S<C<no warnings 'utf8';>> を追加することですが、これは | |
| 18025 | しばしばいかさまに近い方法です。 | |
| 18026 | 一般的に、ファイルハンドルにはエンコーディングを明示的に指定することに | |
| 18027 | なっています; L<open> と L<perlfunc/binmode> を参照してください。 | |
| 18028 | ||
| 18029 | 9117 | =begin original |
| 18030 | 9118 | |
| 18031 | ||
| 9119 | (W closed) The filehandle you're writing to got itself closed sometime | |
| 18032 | ||
| 9120 | before now. Check your logic flow. | |
| 18033 | your code to determine how a wide character is getting to an operation | |
| 18034 | that doesn't handle them. | |
| 18035 | 9121 | |
| 18036 | 9122 | =end original |
| 18037 | 9123 | |
| 18038 | ||
| 9124 | (W) 書き込みを行なおうとしたファイルハンドルは、既にクローズされています。 | |
| 18039 | ||
| 9125 | 論理フローをチェックしてください。 | |
| 18040 | どのようにしてワイド文字が、それを扱えない操作に渡されたのかを | |
| 18041 | 決定するために、ソースコードを調べる必要があります。 | |
| 18042 | 9126 | |
| 18043 | =item | |
| 9127 | =item X outside of string | |
| 18044 | 9128 | |
| 18045 | 9129 | =begin original |
| 18046 | 9130 | |
| 18047 | ( | |
| 9131 | (F) You had a pack template that specified a relative position before | |
| 18048 | ||
| 9132 | the beginning of the string being unpacked. See L<perlfunc/pack>. | |
| 18049 | character to be the specified Unicode code point. Combining non-UTF-8 | |
| 18050 | locales and Unicode is dangerous. Almost certainly some characters | |
| 18051 | will have two different representations. For example, in the ISO 8859-7 | |
| 18052 | (Greek) locale, the code point 0xC3 represents a Capital Gamma. But so | |
| 18053 | also does 0x393. This will make string comparisons unreliable. | |
| 18054 | 9133 | |
| 18055 | 9134 | =end original |
| 18056 | 9135 | |
| 18057 | ( | |
| 9136 | (F) unpack している文字列の先頭より前の相対位置を示している | |
| 18058 | ||
| 9137 | pack テンプレートを指定しました。 | |
| 18059 | ||
| 9138 | L<perlfunc/pack> を参照してください。 | |
| 18060 | 非 UTF-8 ロケールと Unicode を結合するのは危険です。 | |
| 18061 | ほとんど確実に一部の文字は複数の異なる表現を持ちます。 | |
| 18062 | 例えば、ISO 8859-7 (ギリシャ語) ロケールでは、 | |
| 18063 | 符号位置 0xC3 は Capital Gamma を表現します。 | |
| 18064 | しかし 0x393 も同じです。 | |
| 18065 | これは文字列比較を信頼できないものにします。 | |
| 18066 | 9139 | |
| 18067 | = | |
| 9140 | =item x outside of string | |
| 18068 | 9141 | |
| 18069 | You likely need to figure out how this multi-byte character got mixed up | |
| 18070 | with your single-byte locale (or perhaps you thought you had a UTF-8 | |
| 18071 | locale, but Perl disagrees). | |
| 18072 | ||
| 18073 | =end original | |
| 18074 | ||
| 18075 | おそらくどうしてこのマルチバイト文字が単一バイトロケールで混ざったかを | |
| 18076 | 見つける必要があるでしょう(あるいはおそらくあなたは UTF-8 ロケールを | |
| 18077 | 使っていると考えているけれども Perl は同意していないのでしょう)。 | |
| 18078 | ||
| 18079 | =item Within []-length '%c' not allowed | |
| 18080 | ||
| 18081 | 9142 | =begin original |
| 18082 | 9143 | |
| 18083 | (F) | |
| 9144 | (F) You had a pack template that specified a relative position after | |
| 18084 | ||
| 9145 | the end of the string being unpacked. See L<perlfunc/pack>. | |
| 18085 | can be determined from the template alone. This is not possible if | |
| 18086 | it contains any of the codes @, /, U, u, w or a *-length. Redesign | |
| 18087 | the template. | |
| 18088 | 9146 | |
| 18089 | 9147 | =end original |
| 18090 | 9148 | |
| 18091 | (F) | |
| 9149 | (F) unpack している文字列の最後より後の相対位置を示している | |
| 18092 | テンプレート | |
| 9150 | pack テンプレートを指定しました。 | |
| 18093 | ||
| 9151 | L<perlfunc/pack> を参照してください。 | |
| 18094 | これは、コード @, /, U, u, w や、長さ * が含まれていると不可能です。 | |
| 18095 | テンプレートを再設計してください。 | |
| 18096 | 9152 | |
| 18097 | =item %s | |
| 9153 | =item Xsub "%s" called in sort | |
| 18098 | 9154 | |
| 18099 | 9155 | =begin original |
| 18100 | 9156 | |
| 18101 | ( | |
| 9157 | (F) The use of an external subroutine as a sort comparison is not yet | |
| 18102 | ||
| 9158 | supported. | |
| 18103 | 9159 | |
| 18104 | 9160 | =end original |
| 18105 | 9161 | |
| 18106 | ( | |
| 9162 | (F) ソートの比較ルーティンとして、外部サブルーティンを使用することは、 | |
| 18107 | ||
| 9163 | まだサポートされていません。 | |
| 18108 | 9164 | |
| 18109 | =item | |
| 9165 | =item Xsub called in sort | |
| 18110 | 9166 | |
| 18111 | 9167 | =begin original |
| 18112 | 9168 | |
| 18113 | ( | |
| 9169 | (F) The use of an external subroutine as a sort comparison is not yet | |
| 18114 | ||
| 9170 | supported. | |
| 18115 | 9171 | |
| 18116 | 9172 | =end original |
| 18117 | 9173 | |
| 18118 | ( | |
| 9174 | (F) ソートの比較ルーティンとして、外部サブルーティンを使用することは、 | |
| 18119 | ||
| 9175 | まだサポートされていません。 | |
| 18120 | 9176 | |
| 18121 | =item | |
| 9177 | =item You can't use C<-l> on a filehandle | |
| 18122 | 9178 | |
| 18123 | 9179 | =begin original |
| 18124 | 9180 | |
| 18125 | ( | |
| 9181 | (F) A filehandle represents an opened file, and when you opened the file | |
| 18126 | ||
| 9182 | it already went past any symlink you are presumably trying to look for. | |
| 18127 | ||
| 9183 | Use a filename instead. | |
| 18128 | 9184 | |
| 18129 | 9185 | =end original |
| 18130 | 9186 | |
| 18131 | ( | |
| 9187 | (F) ファイルはオープンされたファイルを表わすものであり、 | |
| 18132 | ||
| 9188 | ファイルをオープンしたときには、探しているシンボリックリンクは、 | |
| 18133 | ||
| 9189 | 既に通り過ぎた後です。 | |
| 18134 | ||
| 9190 | 代わりにファイル名を使ってください。 | |
| 18135 | 9191 | |
| 18136 | utf8 "\xE4" does not map to Unicode | |
| 18137 | ||
| 18138 | =begin original | |
| 18139 | ||
| 18140 | if you try to read in the a-diaereses Latin-1 as UTF-8. | |
| 18141 | ||
| 18142 | =end original | |
| 18143 | ||
| 18144 | というのは、Latin-1 の a 分節を UTF-8 として読み込もうとした場合です。 | |
| 18145 | ||
| 18146 | =item 'X' outside of string | |
| 18147 | ||
| 18148 | =begin original | |
| 18149 | ||
| 18150 | (F) You had a (un)pack template that specified a relative position before | |
| 18151 | the beginning of the string being (un)packed. See L<perlfunc/pack>. | |
| 18152 | ||
| 18153 | =end original | |
| 18154 | ||
| 18155 | (F) (un)pack している文字列の最後より後の相対位置を示している | |
| 18156 | (un)pack テンプレートを指定しました。 | |
| 18157 | L<perlfunc/pack> を参照してください。 | |
| 18158 | ||
| 18159 | =item 'x' outside of string in unpack | |
| 18160 | ||
| 18161 | =begin original | |
| 18162 | ||
| 18163 | (F) You had a pack template that specified a relative position after | |
| 18164 | the end of the string being unpacked. See L<perlfunc/pack>. | |
| 18165 | ||
| 18166 | =end original | |
| 18167 | ||
| 18168 | (F) unpack している文字列の最後より後の相対位置を示している | |
| 18169 | pack テンプレートを指定しました。 | |
| 18170 | L<perlfunc/pack> を参照してください。 | |
| 18171 | ||
| 18172 | 9192 | =item YOU HAVEN'T DISABLED SET-ID SCRIPTS IN THE KERNEL YET! |
| 18173 | 9193 | |
| 18174 | 9194 | =begin original |
| 18175 | 9195 | |
| 18176 | 9196 | (F) And you probably never will, because you probably don't have the |
| 18177 | 9197 | sources to your kernel, and your vendor probably doesn't give a rip |
| 18178 | about what you want. | |
| 9198 | about what you want. Your best bet is to use the wrapsuid script in the | |
| 18179 | ||
| 9199 | eg directory to put a setuid C wrapper around your script. | |
| 18180 | the script that you're attempting to run. To actually run the script | |
| 18181 | set-id, your best bet is to put a set-id C wrapper around your script. | |
| 18182 | 9200 | |
| 18183 | 9201 | =end original |
| 18184 | 9202 | |
| 18185 | (F) | |
| 9203 | (F) (このカーネルでは、SET-ID スクリプトが禁止されていません!) | |
| 18186 | ||
| 9204 | そして、そうすることはできないでしょう。 カーネルのソースはお持ちでは | |
| 18187 | くれないでしょうから。 | |
| 9205 | ないでしょうし、ベンダも欲しいものを提供してはくれないでしょうから。 | |
| 18188 | set | |
| 9206 | もっとも良いのは、スクリプトに setuid C ラッパーを被せるために、 | |
| 18189 | ||
| 9207 | eg ディレクトリの wrapsuid スクリプトを使ってみることです。 | |
| 18190 | set-id ビットを削除する必要があります。 | |
| 18191 | 実際にスクリプトを set-id で実行するために | |
| 18192 | もっとも良いのは、スクリプトに set-id C ラッパーを被せることです。 | |
| 18193 | 9208 | |
| 18194 | 9209 | =item You need to quote "%s" |
| 18195 | 9210 | |
| 18196 | 9211 | =begin original |
| 18197 | 9212 | |
| 18198 | 9213 | (W syntax) You assigned a bareword as a signal handler name. |
| 18199 | 9214 | Unfortunately, you already have a subroutine of that name declared, |
| 18200 | 9215 | which means that Perl 5 will try to call the subroutine when the |
| 18201 | 9216 | assignment is executed, which is probably not what you want. (If it IS |
| 18202 | 9217 | what you want, put an & in front.) |
| 18203 | 9218 | |
| 18204 | 9219 | =end original |
| 18205 | 9220 | |
| 18206 | 9221 | (W syntax) シグナルハンドラ名に、裸の単語を代入しました。 |
| 18207 | 残念ながら、そのサブルー | |
| 9222 | 残念ながら、そのサブルーティンは既に宣言されていて、Perl 5 では、 | |
| 18208 | おそらく思惑とは違って、代入の実行時にサブルー | |
| 9223 | おそらく思惑とは違って、代入の実行時にサブルーティンの呼び出しが起こります。 | |
| 18209 | (もし、本当にそうしたいのであれば、サブルー | |
| 9224 | (もし、本当にそうしたいのであれば、サブルーティン名に & を付けてください。) | |
| 18210 | 9225 | |
| 18211 | =item Your random numbers are not that random | |
| 18212 | ||
| 18213 | =begin original | |
| 18214 | ||
| 18215 | (F) When trying to initialize the random seed for hashes, Perl could | |
| 18216 | not get any randomness out of your system. This usually indicates | |
| 18217 | Something Very Wrong. | |
| 18218 | ||
| 18219 | =end original | |
| 18220 | ||
| 18221 | (F) ハッシュのための乱数の種を初期化しようとしたとき、Perl はシステムから | |
| 18222 | 何の乱数性も得られませんでした。 | |
| 18223 | これは普通「何かとても具合が悪い」ことを示しています。 | |
| 18224 | ||
| 18225 | =item Zero length \N{} in regex; marked by S<<-- HERE> in m/%s/ | |
| 18226 | ||
| 18227 | =begin original | |
| 18228 | ||
| 18229 | (F) Named Unicode character escapes (C<\N{...}>) may return a zero-length | |
| 18230 | sequence. Such an escape was used in an extended character class, i.e. | |
| 18231 | C<(?[...])>, or under C<use re 'strict'>, which is not permitted. Check | |
| 18232 | that the correct escape has been used, and the correct charnames handler | |
| 18233 | is in scope. The S<<-- HERE> shows whereabouts in the regular | |
| 18234 | expression the problem was discovered. | |
| 18235 | ||
| 18236 | =end original | |
| 18237 | ||
| 18238 | (F) 名前付き Unicode 文字エスケープ (C<(\N{...})>) はゼロ幅並びを | |
| 18239 | 返すことがあります。 | |
| 18240 | このようなエスケープが拡張文字クラス、つまり C<(?[...])> の中、 | |
| 18241 | あるいは C<use re 'strict'> の基で使われました; | |
| 18242 | これは認められていません。 | |
| 18243 | 正しいエスケープを使っているか、および正しい文字名ハンドラがスコープ内に | |
| 18244 | あるかをチェックしてください。 | |
| 18245 | S<<-- HERE> で正規表現のどこに問題が発見されたかを示しています。 | |
| 18246 | ||
| 18247 | 9226 | =back |
| 18248 | 9227 | |
| 18249 | =head1 SEE ALSO | |
| 18250 | ||
| 18251 | L<warnings>, L<diagnostics>. | |
| 18252 | ||
| 18253 | =cut | |
| 18254 | ||
| 18255 | 9228 | =begin meta |
| 18256 | 9229 | |
| 18257 | Translate: 吉村 寿人 <JAE00534@niftyserve.or.jp> | |
| 9230 | Translate: 吉村 寿人 <JAE00534@niftyserve.or.jp> | |
| 18258 | Update: | |
| 9231 | Update: Kentaro Shirakata <argrath@ub32.org> | |
| 18259 | ||
| 9232 | License: GPL or Artistic | |
| 18260 | 9233 | |
| 18261 | 9234 | =end meta |
| 9235 | ||
| 9236 | =cut |