perldiag >
5.8.8
との差分
perldiag 5.8.8 と 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 | 29 | (D) A deprecation (optional). |
| 30 | 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 | 38 | (W) 警告 (オプション) |
| 39 | 39 | (D) 非推奨 (オプション) |
| 40 | 40 | (S) 重大な警告 (デフォルト) |
| 41 | 41 | (F) 致命的エラー (トラップ可能) |
| 42 | 42 | (P) 起こるはずのない内部エラー (トラップ可能) |
| 43 | 43 | (X) 重大致命的エラー (トラップ不可能) |
| 44 | 44 | (A) 外部エラーメッセージ (Perl 以外で生成されたもの) |
| 45 | 45 | |
| 46 | 46 | =begin original |
| 47 | 47 | |
| 48 | 48 | The majority of messages from the first three classifications above |
| 49 | (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 | 60 | below. |
| 61 | 61 | |
| 62 | 62 | =end original |
| 63 | 63 | |
| 64 | 64 | メッセージが C<warnings> プラグマで制御できる場合、 |
| 65 | 65 | 警告カテゴリは以下の説明で分類文字と共に記されています。 |
| 66 | 66 | |
| 67 | 67 | =begin original |
| 68 | 68 | |
| 69 | 69 | Optional warnings are enabled by using the C<warnings> pragma or the B<-w> |
| 70 | 70 | and B<-W> switches. Warnings may be captured by setting C<$SIG{__WARN__}> |
| 71 | 71 | to a reference to a routine that will be called on each warning instead |
| 72 | 72 | of printing it. See L<perlvar>. |
| 73 | 73 | |
| 74 | 74 | =end original |
| 75 | 75 | |
| 76 | 76 | C<warnings> プラグマか B<-w> と B<-W> のオプションを使うと追加の警告が |
| 77 | 77 | 有効になります。 |
| 78 | 78 | 警告は、表示する変わりに警告が出るたびに呼び出されるサブルーチンへの |
| 79 | 79 | リファレンスを C<$SIG{__WARN__}> にセットすることで捕捉できます。 |
| 80 | 80 | L<perlvar> を参照してください。 |
| 81 | 81 | |
| 82 | 82 | =begin original |
| 83 | 83 | |
| 84 | 84 | Default warnings are always enabled unless they are explicitly disabled |
| 85 | 85 | with the C<warnings> pragma or the B<-X> switch. |
| 86 | 86 | |
| 87 | 87 | =end original |
| 88 | 88 | |
| 89 | 89 | デフォルトでは C<warnings> プラグマか B<-X> オプションで明示的に |
| 90 | 90 | 無効にされない限り、警告は常に有効です。 |
| 91 | 91 | |
| 92 | 92 | =begin original |
| 93 | 93 | |
| 94 | 94 | Trappable errors may be trapped using the eval operator. See |
| 95 | 95 | L<perlfunc/eval>. In almost all cases, warnings may be selectively |
| 96 | 96 | disabled or promoted to fatal errors using the C<warnings> pragma. |
| 97 | 97 | See L<warnings>. |
| 98 | 98 | |
| 99 | 99 | =end original |
| 100 | 100 | |
| 101 | 101 | トラップ可能なエラーは評価演算子を使ってトラップできます。 |
| 102 | 102 | L<perlfunc/eval> を参照してください。 |
| 103 | 103 | ほとんど全ての場合、警告は C<warnings> プラグマを使うことで |
| 104 | 104 | 選択的に無効にしたり致命的エラーに昇格させたりできます。 |
| 105 | 105 | L<warnings> を参照してください。 |
| 106 | 106 | |
| 107 | 107 | =begin original |
| 108 | 108 | |
| 109 | 109 | The messages are in alphabetical order, without regard to upper or |
| 110 | 110 | lower-case. Some of these messages are generic. Spots that vary are |
| 111 | 111 | denoted with a %s or other printf-style escape. These escapes are |
| 112 | 112 | ignored by the alphabetical order, as are all characters other than |
| 113 | 113 | letters. To look up your message, just ignore anything that is not a |
| 114 | 114 | letter. |
| 115 | 115 | |
| 116 | 116 | =end original |
| 117 | 117 | |
| 118 | 118 | メッセージは大文字小文字を無視してアルファベット順に並んでいます。 |
| 119 | 119 | これらの中には一般的なものもあります。 |
| 120 | 120 | 変化する部分は %s またはその他の printf スタイルの表記をしています。 |
| 121 | 121 | これらの表記や、その他の英文字以外の文字は並び順に関しては |
| 122 | 122 | 無視されています。 |
| 123 | 123 | メッセージを探すには、英文字以外は無視してください。 |
| 124 | 124 | |
| 125 | 125 | =over 4 |
| 126 | 126 | |
| 127 | 127 | =item accept() on closed socket %s |
| 128 | 128 | |
| 129 | 129 | =begin original |
| 130 | 130 | |
| 131 | 131 | (W closed) You tried to do an accept on a closed socket. Did you forget |
| 132 | 132 | to check the return value of your socket() call? See |
| 133 | 133 | L<perlfunc/accept>. |
| 134 | 134 | |
| 135 | 135 | =end original |
| 136 | 136 | |
| 137 | 137 | (W closed) クローズされたソケットに accept を行なおうとしました。 |
| 138 | 138 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
| 139 | 139 | L<perlfunc/accept> を参照してください。 |
| 140 | 140 | |
| 141 | 141 | =item Allocation too large: %lx |
| 142 | 142 | |
| 143 | 143 | =begin original |
| 144 | 144 | |
| 145 | 145 | (X) You can't allocate more than 64K on an MS-DOS machine. |
| 146 | 146 | |
| 147 | 147 | =end original |
| 148 | 148 | |
| 149 | 149 | (X) MS-DOS マシンでは、64K を越えるメモリアロケートをおこなえません。 |
| 150 | 150 | |
| 151 | 151 | =item '!' allowed only after types %s |
| 152 | 152 | |
| 153 | 153 | =begin original |
| 154 | 154 | |
| 155 | (F) The '!' is allowed in pack() | |
| 155 | (F) The '!' is allowed in pack() and unpack() only after certain types. | |
| 156 | 156 | See L<perlfunc/pack>. |
| 157 | 157 | |
| 158 | 158 | =end original |
| 159 | 159 | |
| 160 | 160 | (F) pack() や unpack() での '!' は特定のタイプの後にのみ |
| 161 | 161 | つけることができます。 |
| 162 | 162 | L<perlfunc/pack> を参照してください。 |
| 163 | 163 | |
| 164 | 164 | =item Ambiguous call resolved as CORE::%s(), qualify as such or use & |
| 165 | 165 | |
| 166 | 166 | =begin original |
| 167 | 167 | |
| 168 | 168 | (W ambiguous) A subroutine you have declared has the same name as a Perl |
| 169 | 169 | keyword, and you have used the name without qualification for calling |
| 170 | 170 | one or the other. Perl decided to call the builtin because the |
| 171 | 171 | subroutine is not imported. |
| 172 | 172 | |
| 173 | 173 | =end original |
| 174 | 174 | |
| 175 | 175 | (W ambiguous) 定義したサブルーチンの名前が Perl のキーワードと同じで、 |
| 176 | 176 | どちらかを呼び出すために修飾なしで名前を使っています。 |
| 177 | 177 | Perl は、サブルーチンがインポートされたものではないので、 |
| 178 | 178 | 組み込みのものを呼び出すことにしました。 |
| 179 | 179 | |
| 180 | 180 | =begin original |
| 181 | 181 | |
| 182 | 182 | To force interpretation as a subroutine call, either put an ampersand |
| 183 | 183 | before the subroutine name, or qualify the name with its package. |
| 184 | 184 | Alternatively, you can import the subroutine (or pretend that it's |
| 185 | 185 | imported with the C<use subs> pragma). |
| 186 | 186 | |
| 187 | 187 | =end original |
| 188 | 188 | |
| 189 | 189 | サブルーチン呼び出しとして解釈することを強制させるためには、 |
| 190 | 190 | サブルーチン名の前にアンパサンドをつけるか、名前をパッケージ名で |
| 191 | 191 | 修飾してください。 |
| 192 | 192 | 他の方法として、サブルーチンをインポートする(あるいは C<use subs> |
| 193 | 193 | プラグマを使ってインポートされたふりをする)方法もあります。 |
| 194 | 194 | |
| 195 | 195 | =begin original |
| 196 | 196 | |
| 197 | 197 | To silently interpret it as the Perl operator, use the C<CORE::> prefix |
| 198 | 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 | |
| 199 | 199 | to be an object method (see L<perlsub/"Subroutine Attributes"> or |
| 200 | 200 | L<attributes>). |
| 201 | 201 | |
| 202 | 202 | =end original |
| 203 | 203 | |
| 204 | 204 | 警告なしに Perl 演算子として解釈させるためには、(C<CORE::log($x)> のように) |
| 205 | 205 | 演算子に C<CORE::> 接頭辞をつけるか、サブルーチンをオブジェクト |
| 206 | 206 | メソッド(L<perlsub/"Subroutine Attributes"> や L<attributes> を |
| 207 | 207 | 参照してください)として定義してください。 |
| 208 | 208 | |
| 209 | =item Ambiguous range in transliteration operator | |
| 210 | ||
| 211 | =begin original | |
| 212 | ||
| 213 | (F) You wrote something like C<tr/a-z-0//> which doesn't mean anything at | |
| 214 | all. To include a C<-> character in a transliteration, put it either | |
| 215 | first or last. (In the past, C<tr/a-z-0//> was synonymous with | |
| 216 | C<tr/a-y//>, which was probably not what you would have expected.) | |
| 217 | ||
| 218 | =end original | |
| 219 | ||
| 220 | (F) C<tr/a-z-0//> のような、何の意味もないことをしようとしました。 | |
| 221 | 文字変換の文字に C<-> を加える時は、最初か最後に置いてください。 | |
| 222 | (以前は C<tr/a-z-0//> は C<tr/a-y//> と同義でしたが、これはおそらく | |
| 223 | 予想していたものと違うでしょう。) | |
| 224 | ||
| 225 | 209 | =item Ambiguous use of %s resolved as %s |
| 226 | 210 | |
| 227 | 211 | =begin original |
| 228 | 212 | |
| 229 | 213 | (W ambiguous)(S) You said something that may not be interpreted the way |
| 230 | 214 | you thought. Normally it's pretty easy to disambiguate it by supplying |
| 231 | 215 | a missing quote, operator, parenthesis pair or declaration. |
| 232 | 216 | |
| 233 | 217 | =end original |
| 234 | 218 | |
| 235 | 219 | (W ambiguous)(S) 何か、あなたが考えているようには解釈できないものが |
| 236 | 220 | ありました。 |
| 237 | 221 | 普通は、不足しているクォート、演算子、かっこ、宣言を追加することで |
| 238 | 222 | かなり簡単にあいまいさを解消できます。 |
| 239 | 223 | |
| 240 | 224 | =item '|' and '<' may not both be specified on command line |
| 241 | 225 | |
| 242 | 226 | =begin original |
| 243 | 227 | |
| 244 | 228 | (F) An error peculiar to VMS. Perl does its own command line |
| 245 | 229 | redirection, and found that STDIN was a pipe, and that you also tried to |
| 246 | 230 | redirect STDIN using '<'. Only one STDIN stream to a customer, please. |
| 247 | 231 | |
| 248 | 232 | =end original |
| 249 | 233 | |
| 250 | 234 | (F) VMS 特有のエラーです。 |
| 251 | 235 | Perl は独自にコマンドラインのリダイレクトを扱っていて、STDIN がパイプで |
| 252 | 236 | あることを発見しましたが、さらに '<' を使って STDIN をリダイレクトしようと |
| 253 | 237 | しました。 |
| 254 | 238 | STDIN ストリームは一つだけにしてください。 |
| 255 | 239 | お願いします。 |
| 256 | 240 | |
| 257 | 241 | =item '|' and '>' may not both be specified on command line |
| 258 | 242 | |
| 259 | 243 | =begin original |
| 260 | 244 | |
| 261 | 245 | (F) An error peculiar to VMS. Perl does its own command line |
| 262 | 246 | redirection, and thinks you tried to redirect stdout both to a file and |
| 263 | 247 | into a pipe to another command. You need to choose one or the other, |
| 264 | 248 | though nothing's stopping you from piping into a program or Perl script |
| 265 | 249 | which 'splits' output into two streams, such as |
| 266 | 250 | |
| 267 | 251 | =end original |
| 268 | 252 | |
| 269 | 253 | (F) VMS 特有のエラーです。 |
| 270 | 254 | Perl は独自にコマンドラインのリダイレクトを扱っていて、STDOUT を |
| 271 | 255 | ファイルと他のコマンドへのパイプと両方にリダイレクトしようとしていると |
| 272 | 256 | 判断しました。 |
| 273 | 257 | どちらかを選ぶ必要がありますが、以下のように出力を二つのストリームに |
| 274 | 258 | 「分割」するプログラムや Perl スクリプトにパイプすることを止めるものは |
| 275 | 259 | 何もありません。 |
| 276 | 260 | |
| 277 | 261 | open(OUT,">$ARGV[0]") or die "Can't write to $ARGV[0]: $!"; |
| 278 | 262 | while (<STDIN>) { |
| 279 | 263 | print; |
| 280 | 264 | print OUT; |
| 281 | 265 | } |
| 282 | 266 | close OUT; |
| 283 | 267 | |
| 284 | 268 | =item Applying %s to %s will act on scalar(%s) |
| 285 | 269 | |
| 286 | 270 | =begin original |
| 287 | 271 | |
| 288 | (W misc) The pattern match ( | |
| 272 | (W misc) The pattern match (//), substitution (s///), and | |
| 289 | transliteration ( | |
| 273 | transliteration (tr///) operators work on scalar values. If you apply | |
| 290 | 274 | one of them to an array or a hash, it will convert the array or hash to |
| 291 | 275 | a scalar value -- the length of an array, or the population info of a |
| 292 | 276 | hash -- and then work on that scalar value. This is probably not what |
| 293 | 277 | you meant to do. See L<perlfunc/grep> and L<perlfunc/map> for |
| 294 | 278 | alternatives. |
| 295 | 279 | |
| 296 | 280 | =end original |
| 297 | 281 | |
| 298 | (W misc) パターンマッチ ( | |
| 282 | (W misc) パターンマッチ (//), 置換 (s///), 文字置換 | |
| 299 | ( | |
| 283 | (tr///) 演算子はスカラ値に対して動作します。 | |
| 300 | 284 | これらを配列やハッシュに適用すると、配列やハッシュをスカラ値 -- |
| 301 | 285 | 配列の長さかハッシュの大きさの情報 -- に変換し、そのスカラ値に対して |
| 302 | 286 | 動作します。 |
| 303 | 287 | これはおそらくしたいこととは違うでしょう。 |
| 304 | 288 | 代替案については L<perlfunc/grep> と L<perlfunc/map> を参照してください。 |
| 305 | 289 | |
| 306 | 290 | =item Args must match #! line |
| 307 | 291 | |
| 308 | 292 | =begin original |
| 309 | 293 | |
| 310 | 294 | (F) The setuid emulator requires that the arguments Perl was invoked |
| 311 | 295 | with match the arguments specified on the #! line. Since some systems |
| 312 | 296 | impose a one-argument limit on the #! line, try combining switches; |
| 313 | 297 | for example, turn C<-w -U> into C<-wU>. |
| 314 | 298 | |
| 315 | 299 | =end original |
| 316 | 300 | |
| 317 | 301 | (F) setuid エミュレータでは、Perl を起動したときの引数と、 |
| 318 | 302 | #! の行で指定された引数はマッチすることが要求されます。 |
| 319 | 303 | #! 行の 1 引数制限があるシステムがあるので、 |
| 320 | 304 | 組み合わせスイッチを試してみてください; |
| 321 | 305 | 例えば、C<-w -U> を C<-wU> にしてください。 |
| 322 | 306 | |
| 323 | 307 | =item Arg too short for msgsnd |
| 324 | 308 | |
| 325 | 309 | =begin original |
| 326 | 310 | |
| 327 | 311 | (F) msgsnd() requires a string at least as long as sizeof(long). |
| 328 | 312 | |
| 329 | 313 | =end original |
| 330 | 314 | |
| 331 | 315 | (F) msgsnd() に渡す文字列は、少なくとも sizeof(long) の |
| 332 | 316 | 長さが必要です。 |
| 333 | 317 | |
| 334 | 318 | =item %s argument is not a HASH or ARRAY element |
| 335 | 319 | |
| 336 | 320 | =begin original |
| 337 | 321 | |
| 338 | 322 | (F) The argument to exists() must be a hash or array element, such as: |
| 339 | 323 | |
| 340 | 324 | =end original |
| 341 | 325 | |
| 342 | 326 | (F) exists() の引数は、 |
| 343 | 327 | 以下のようなハッシュの要素でなければなりません。 |
| 344 | 328 | |
| 345 | 329 | $foo{$bar} |
| 346 | 330 | $ref->{"susie"}[12] |
| 347 | 331 | |
| 348 | 332 | =item %s argument is not a HASH or ARRAY element or slice |
| 349 | 333 | |
| 350 | 334 | =begin original |
| 351 | 335 | |
| 352 | 336 | (F) The argument to delete() must be either a hash or array element, |
| 353 | 337 | such as: |
| 354 | 338 | |
| 355 | 339 | =end original |
| 356 | 340 | |
| 357 | 341 | (F) delete() の引数は以下のようにハッシュか配列の要素であるか: |
| 358 | 342 | |
| 359 | 343 | $foo{$bar} |
| 360 | 344 | $ref->{"susie"}[12] |
| 361 | 345 | |
| 362 | 346 | =begin original |
| 363 | 347 | |
| 364 | 348 | or a hash or array slice, such as: |
| 365 | 349 | |
| 366 | 350 | =end original |
| 367 | 351 | |
| 368 | 352 | あるいは以下のようにハッシュか配列のスライスでなければなりません: |
| 369 | 353 | |
| 370 | 354 | @foo[$bar, $baz, $xyzzy] |
| 371 | 355 | @{$ref->[12]}{"susie", "queue"} |
| 372 | 356 | |
| 373 | 357 | =item %s argument is not a subroutine name |
| 374 | 358 | |
| 375 | 359 | =begin original |
| 376 | 360 | |
| 377 | 361 | (F) The argument to exists() for C<exists &sub> must be a subroutine |
| 378 | 362 | name, and not a subroutine call. C<exists &sub()> will generate this |
| 379 | 363 | error. |
| 380 | 364 | |
| 381 | 365 | =end original |
| 382 | 366 | |
| 383 | 367 | (F) C<exists &sub> の形の exists() の引数はサブルーチン呼び出しではなく、 |
| 384 | 368 | サブルーチン名でなければなりません。 |
| 385 | 369 | C<exists &sub()> とするとこのエラーが生成されます。 |
| 386 | 370 | |
| 387 | 371 | =item Argument "%s" isn't numeric%s |
| 388 | 372 | |
| 389 | 373 | =begin original |
| 390 | 374 | |
| 391 | 375 | (W numeric) The indicated string was fed as an argument to an operator |
| 392 | 376 | that expected a numeric value instead. If you're fortunate the message |
| 393 | 377 | will identify which operator was so unfortunate. |
| 394 | 378 | |
| 395 | 379 | =end original |
| 396 | 380 | |
| 397 | 381 | (W numeric) ここに示した文字列は、数値が必要な演算子の引数として、 |
| 398 | 382 | 与えられました。 |
| 399 | 383 | 運がよければ、このメッセージによって、どの演算子が |
| 400 | 384 | 問題となったかがわかります。 |
| 401 | 385 | |
| 402 | =item Argument list not closed for PerlIO layer "%s" | |
| 403 | ||
| 404 | =begin original | |
| 405 | ||
| 406 | (W layer) When pushing a layer with arguments onto the Perl I/O system you | |
| 407 | forgot the ) that closes the argument list. (Layers take care of transforming | |
| 408 | data between external and internal representations.) Perl stopped parsing | |
| 409 | the layer list at this point and did not attempt to push this layer. | |
| 410 | If your program didn't explicitly request the failing operation, it may be | |
| 411 | the result of the value of the environment variable PERLIO. | |
| 412 | ||
| 413 | =end original | |
| 414 | ||
| 415 | (W layer) Perl I/O システムに層を引数付きで追加するときに、引数リストを | |
| 416 | 閉じる ) を忘れています。 | |
| 417 | (層はデータの外部表現と内部表現の変換を扱います。) | |
| 418 | Perl はここで層のリストのパースを中止し、この層の追加は行われませんでした。 | |
| 419 | 明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の | |
| 420 | 値が原因かもしれません。 | |
| 421 | ||
| 422 | 386 | =item Array @%s missing the @ in argument %d of %s() |
| 423 | 387 | |
| 424 | 388 | =begin original |
| 425 | 389 | |
| 426 | 390 | (D deprecated) Really old Perl let you omit the @ on array names in some |
| 427 | 391 | spots. This is now heavily deprecated. |
| 428 | 392 | |
| 429 | 393 | =end original |
| 430 | 394 | |
| 431 | 395 | (D deprecated) 本当に古い Perl では、場所によっては、配列名の @ を |
| 432 | 396 | 省略できました。 |
| 433 | 397 | この省略は、止めてください。 |
| 434 | 398 | |
| 435 | 399 | =item assertion botched: %s |
| 436 | 400 | |
| 437 | 401 | =begin original |
| 438 | 402 | |
| 439 | 403 | (P) The malloc package that comes with Perl had an internal failure. |
| 440 | 404 | |
| 441 | 405 | =end original |
| 442 | 406 | |
| 443 | 407 | (P) Perl に付属の malloc ルーティンが内部エラーを起こしました。 |
| 444 | 408 | |
| 445 | 409 | =item Assertion failed: file "%s" |
| 446 | 410 | |
| 447 | 411 | =begin original |
| 448 | 412 | |
| 449 | 413 | (P) A general assertion failed. The file in question must be examined. |
| 450 | 414 | |
| 451 | 415 | =end original |
| 452 | 416 | |
| 453 | 417 | (P) 一般的なアサーションが失敗しました。 |
| 454 | 418 | 問題の file を調べる必要があります。 |
| 455 | 419 | |
| 456 | 420 | =item Assignment to both a list and a scalar |
| 457 | 421 | |
| 458 | 422 | =begin original |
| 459 | 423 | |
| 460 | 424 | (F) If you assign to a conditional operator, the 2nd and 3rd arguments |
| 461 | 425 | must either both be scalars or both be lists. Otherwise Perl won't |
| 462 | 426 | know which context to supply to the right side. |
| 463 | 427 | |
| 464 | 428 | =end original |
| 465 | 429 | |
| 466 | 430 | (F) 条件演算子へ代入を行なう場合には、2 つめの引数と、3 つめの引数は、 |
| 467 | 431 | ともにスカラか、ともにリストでなければなりません。 |
| 468 | 432 | そうでないと、Perl は右辺のコンテキストを決めることができません。 |
| 469 | 433 | |
| 470 | =item | |
| 434 | =item Negative offset to vec in lvalue context | |
| 471 | 435 | |
| 472 | 436 | =begin original |
| 473 | 437 | |
| 474 | ( | |
| 438 | (F) When vec is called in an lvalue context, the second argument must be | |
| 475 | ||
| 439 | greater than or equal to zero. | |
| 476 | Usually it's a good idea to first collect the return values of the | |
| 477 | created threads by joining them, and only then exit from the main | |
| 478 | thread. See L<threads>. | |
| 479 | 440 | |
| 480 | 441 | =end original |
| 481 | 442 | |
| 482 | ( | |
| 443 | (F) 左辺値コンテキストで vec が呼び出されたとき、 | |
| 483 | ||
| 444 | 二つ目の引数は 0 以上でなければなりません。 | |
| 484 | 終了しました。 | |
| 485 | 普通は、作成したスレッドに join することで返り値を集めて、それから | |
| 486 | メインスレッドから終了するのがよい考えです。 | |
| 487 | L<threads> を参照してください。 | |
| 488 | 445 | |
| 489 | =item Attempt to access disallowed key '%s' in a restricted hash | |
| 490 | ||
| 491 | =begin original | |
| 492 | ||
| 493 | (F) The failing code has attempted to get or set a key which is not in | |
| 494 | the current set of allowed keys of a restricted hash. | |
| 495 | ||
| 496 | =end original | |
| 497 | ||
| 498 | (F) 制限ハッシュで許されているキーの集合に含まれていないキーに対して | |
| 499 | 取得または設定しようとして失敗しました。 | |
| 500 | ||
| 501 | =item Attempt to bless into a reference | |
| 502 | ||
| 503 | =begin original | |
| 504 | ||
| 505 | (F) The CLASSNAME argument to the bless() operator is expected to be | |
| 506 | the name of the package to bless the resulting object into. You've | |
| 507 | supplied instead a reference to something: perhaps you wrote | |
| 508 | ||
| 509 | =end original | |
| 510 | ||
| 511 | (F) bless() 演算子の CLASSNAME 引数は結果のオブジェクトに bless する | |
| 512 | パッケージ名を想定しています。 | |
| 513 | そこに何かへのリファレンスが与えられました。 | |
| 514 | おそらく以下のようにしたのでしょう: | |
| 515 | ||
| 516 | bless $self, $proto; | |
| 517 | ||
| 518 | =begin original | |
| 519 | ||
| 520 | when you intended | |
| 521 | ||
| 522 | =end original | |
| 523 | ||
| 524 | 以下を意図していたはずです: | |
| 525 | ||
| 526 | bless $self, ref($proto) || $proto; | |
| 527 | ||
| 528 | =begin original | |
| 529 | ||
| 530 | If you actually want to bless into the stringified version | |
| 531 | of the reference supplied, you need to stringify it yourself, for | |
| 532 | example by: | |
| 533 | ||
| 534 | =end original | |
| 535 | ||
| 536 | 実際に与えられたリファレンスを文字列化したものに bless したい場合は、 | |
| 537 | 以下のようにして自分で文字列化する必要があります: | |
| 538 | ||
| 539 | bless $self, "$proto"; | |
| 540 | ||
| 541 | =item Attempt to delete disallowed key '%s' from a restricted hash | |
| 542 | ||
| 543 | =begin original | |
| 544 | ||
| 545 | (F) The failing code attempted to delete from a restricted hash a key | |
| 546 | which is not in its key set. | |
| 547 | ||
| 548 | =end original | |
| 549 | ||
| 550 | (F) 制限ハッシュで、キー集合に含まれていないキーから削除しようとしました。 | |
| 551 | ||
| 552 | =item Attempt to delete readonly key '%s' from a restricted hash | |
| 553 | ||
| 554 | =begin original | |
| 555 | ||
| 556 | (F) The failing code attempted to delete a key whose value has been | |
| 557 | declared readonly from a restricted hash. | |
| 558 | ||
| 559 | =end original | |
| 560 | ||
| 561 | (F) 制限ハッシュで、読み込み専用として宣言されている値のキーを | |
| 562 | 削除しようとしました。 | |
| 563 | ||
| 564 | 446 | =item Attempt to free non-arena SV: 0x%lx |
| 565 | 447 | |
| 566 | 448 | =begin original |
| 567 | 449 | |
| 568 | 450 | (P internal) All SV objects are supposed to be allocated from arenas |
| 569 | 451 | that will be garbage collected on exit. An SV was discovered to be |
| 570 | 452 | outside any of those arenas. |
| 571 | 453 | |
| 572 | 454 | =end original |
| 573 | 455 | |
| 574 | 456 | (P internal) すべての SV オブジェクトは、exit 時にガーベジコレクションが |
| 575 | 457 | 行なわれるアリーナに割り当てるようになっています。 |
| 576 | 458 | ある SV が、そういったアリーナに入っていないことが、見つかりました。 |
| 577 | 459 | |
| 578 | 460 | =item Attempt to free nonexistent shared string |
| 579 | 461 | |
| 580 | 462 | =begin original |
| 581 | 463 | |
| 582 | 464 | (P internal) Perl maintains a reference counted internal table of |
| 583 | 465 | strings to optimize the storage and access of hash keys and other |
| 584 | 466 | strings. This indicates someone tried to decrement the reference count |
| 585 | 467 | of a string that can no longer be found in the table. |
| 586 | 468 | |
| 587 | 469 | =end original |
| 588 | 470 | |
| 589 | 471 | (P internal) Perl はストレージおよびハッシュキーとその他の |
| 590 | 472 | 文字列へのアクセスを最適化するために、文字列の参照数テーブルを |
| 591 | 473 | 管理しています。 |
| 592 | 474 | これは誰かがもうテーブルにない文字列の参照カウントを減らそうと |
| 593 | 475 | したことを示します。 |
| 594 | 476 | |
| 595 | 477 | =item Attempt to free temp prematurely |
| 596 | 478 | |
| 597 | 479 | =begin original |
| 598 | 480 | |
| 599 | 481 | (W debugging) Mortalized values are supposed to be freed by the |
| 600 | 482 | free_tmps() routine. This indicates that something else is freeing the |
| 601 | 483 | SV before the free_tmps() routine gets a chance, which means that the |
| 602 | 484 | free_tmps() routine will be freeing an unreferenced scalar when it does |
| 603 | 485 | try to free it. |
| 604 | 486 | |
| 605 | 487 | =end original |
| 606 | 488 | |
| 607 | 489 | (W debugging) 消滅する値は、free_tmps() ルーティンで解放されるように |
| 608 | 490 | なっています。 |
| 609 | 491 | このメッセージは、free_tmps() ルーティンの前に何ものかが、SV を |
| 610 | 492 | 解放しようとしていることを示していて、これは、free_tmps() が |
| 611 | 493 | 解放しようとしたときには、どこからも参照されていないスカラを |
| 612 | 494 | 解放することになるということです。 |
| 613 | 495 | |
| 614 | 496 | =item Attempt to free unreferenced glob pointers |
| 615 | 497 | |
| 616 | 498 | =begin original |
| 617 | 499 | |
| 618 | 500 | (P internal) The reference counts got screwed up on symbol aliases. |
| 619 | 501 | |
| 620 | 502 | =end original |
| 621 | 503 | |
| 622 | 504 | (P internal) シンボルのエイリアスについて、参照カウントの値がおかしな |
| 623 | 505 | 状態になりました。 |
| 624 | 506 | |
| 625 | 507 | =item Attempt to free unreferenced scalar |
| 626 | 508 | |
| 627 | 509 | =begin original |
| 628 | 510 | |
| 629 | 511 | (W internal) Perl went to decrement the reference count of a scalar to |
| 630 | 512 | see if it would go to 0, and discovered that it had already gone to 0 |
| 631 | 513 | earlier, and should have been freed, and in fact, probably was freed. |
| 632 | 514 | This could indicate that SvREFCNT_dec() was called too many times, or |
| 633 | 515 | that SvREFCNT_inc() was called too few times, or that the SV was |
| 634 | 516 | mortalized when it shouldn't have been, or that memory has been |
| 635 | 517 | corrupted. |
| 636 | 518 | |
| 637 | 519 | =end original |
| 638 | 520 | |
| 639 | 521 | (W) Perl がスカラの参照カウントをデクリメントしようとして、0 に |
| 640 | 522 | なるかを見たところ、既に 0 になっていることがわかりました。 |
| 641 | 523 | これは、既に解放されているべきものであり、実際は、おそらく、 |
| 642 | 524 | 解放されたものでしょう。 |
| 643 | 525 | これは、SvREFCNT_dec() が必要以上に呼ばれたか、SvREFCNT_inc() が必要な |
| 644 | 526 | ときに呼ばれなかったか、SV が消滅すべきで無いときに消滅してしまったか、 |
| 645 | 527 | メモリ異常になったことが考えられます。 |
| 646 | 528 | |
| 647 | 529 | =item Attempt to join self |
| 648 | 530 | |
| 649 | 531 | =begin original |
| 650 | 532 | |
| 651 | 533 | (F) You tried to join a thread from within itself, which is an |
| 652 | 534 | impossible task. You may be joining the wrong thread, or you may need |
| 653 | 535 | to move the join() to some other thread. |
| 654 | 536 | |
| 655 | 537 | =end original |
| 656 | 538 | |
| 657 | 539 | (F) スレッドをそれ自身の中から join しようとしました。 |
| 658 | 540 | これは不可能な動作です。 |
| 659 | 541 | 間違ったスレッドに join しようとしているか、 |
| 660 | 542 | あるいは join() を他のスレッドに移動させる必要があります。 |
| 661 | 543 | |
| 662 | 544 | =item Attempt to pack pointer to temporary value |
| 663 | 545 | |
| 664 | 546 | =begin original |
| 665 | 547 | |
| 666 | 548 | (W pack) You tried to pass a temporary value (like the result of a |
| 667 | 549 | function, or a computed expression) to the "p" pack() template. This |
| 668 | 550 | means the result contains a pointer to a location that could become |
| 669 | 551 | invalid anytime, even before the end of the current statement. Use |
| 670 | 552 | literals or global values as arguments to the "p" pack() template to |
| 671 | 553 | avoid this warning. |
| 672 | 554 | |
| 673 | 555 | =end original |
| 674 | 556 | |
| 675 | 557 | (W pack) (関数の結果や計算された式といった)一時的な値を pack() の |
| 676 | 558 | "p" テンプレートに渡そうとしました。 |
| 677 | 559 | これは、たとえ現在の文の終了前でも、不正な値となり得ます。 |
| 678 | 560 | この警告を避けるためには、pack テンプレート "p" の引数として、 |
| 679 | 561 | リテラルかグローバルな値を使ってください。 |
| 680 | 562 | |
| 681 | =item Attempt to set length of freed array | |
| 682 | ||
| 683 | =begin original | |
| 684 | ||
| 685 | (W) You tried to set the length of an array which has been freed. You | |
| 686 | can do this by storing a reference to the scalar representing the last index | |
| 687 | of an array and later assigning through that reference. For example | |
| 688 | ||
| 689 | =end original | |
| 690 | ||
| 691 | (W) 既に解放された配列の長さを設定しようとしました。 | |
| 692 | 配列の最後のインデックスを表現するスカラをリファレンスに保存して、 | |
| 693 | 後でこのリファレンスを通して代入することでこれを行えます。 | |
| 694 | 例えば: | |
| 695 | ||
| 696 | $r = do {my @a; \$#a}; | |
| 697 | $$r = 503 | |
| 698 | ||
| 699 | 563 | =item Attempt to use reference as lvalue in substr |
| 700 | 564 | |
| 701 | 565 | =begin original |
| 702 | 566 | |
| 703 | 567 | (W substr) You supplied a reference as the first argument to substr() |
| 704 | 568 | used as an lvalue, which is pretty strange. Perhaps you forgot to |
| 705 | 569 | dereference it first. See L<perlfunc/substr>. |
| 706 | 570 | |
| 707 | 571 | =end original |
| 708 | 572 | |
| 709 | 573 | (W substr) 左辺値として使われる substr() の 1 番目の引数としてリファレンスを |
| 710 | 574 | 渡しました; これはやや奇妙なことです。 |
| 711 | 575 | おそらくはまずデリファレンスするのを忘れたのでしょう。 |
| 712 | 576 | L<perlfunc/substr> を参照してください。 |
| 713 | 577 | |
| 714 | =item Bad arg length for %s, is %d, should be % | |
| 578 | =item Bad arg length for %s, is %d, should be %d | |
| 715 | 579 | |
| 716 | 580 | =begin original |
| 717 | 581 | |
| 718 | 582 | (F) You passed a buffer of the wrong size to one of msgctl(), semctl() |
| 719 | 583 | or shmctl(). In C parlance, the correct sizes are, respectively, |
| 720 | 584 | S<sizeof(struct msqid_ds *)>, S<sizeof(struct semid_ds *)>, and |
| 721 | 585 | S<sizeof(struct shmid_ds *)>. |
| 722 | 586 | |
| 723 | 587 | =end original |
| 724 | 588 | |
| 725 | 589 | (F) msgctl()、semctl()、shmctl() のいずれかに、間違ったサイズのバッファを |
| 726 | 590 | 渡してしまいました。 |
| 727 | 591 | C の言い方で書くと、正しいサイズはそれぞれ、sizeof(struct msqid_ds *)、 |
| 728 | 592 | sizeof(struct semid_ds *)、sizeof(struct shmid_ds *) です。 |
| 729 | 593 | |
| 730 | 594 | =item Bad evalled substitution pattern |
| 731 | 595 | |
| 732 | 596 | =begin original |
| 733 | 597 | |
| 734 | (F) You've used the | |
| 598 | (F) You've used the /e switch to evaluate the replacement for a | |
| 735 | 599 | substitution, but perl found a syntax error in the code to evaluate, |
| 736 | 600 | most likely an unexpected right brace '}'. |
| 737 | 601 | |
| 738 | 602 | =end original |
| 739 | 603 | |
| 740 | 604 | (F)置換のための置き換え文字列を評価するために C</e> オプションを指定して |
| 741 | 605 | いますが、評価するコードに文法エラーがありました; |
| 742 | 606 | 最もありそうなことは、予期しない位置に右中かっこ '}' があったことです。 |
| 743 | 607 | |
| 744 | 608 | =item Bad filehandle: %s |
| 745 | 609 | |
| 746 | 610 | =begin original |
| 747 | 611 | |
| 748 | 612 | (F) A symbol was passed to something wanting a filehandle, but the |
| 749 | 613 | symbol has no filehandle associated with it. Perhaps you didn't do an |
| 750 | 614 | open(), or did it in another package. |
| 751 | 615 | |
| 752 | 616 | =end original |
| 753 | 617 | |
| 754 | 618 | (F) ファイルハンドルが必要なものに、シンボルを渡しましたが、 |
| 755 | 619 | そのシンボルは、それに伴うファイルハンドルがありません。 |
| 756 | 620 | おそらく、open() を忘れたか、別のパッケージで open() したかでしょう。 |
| 757 | 621 | |
| 758 | 622 | =item Bad free() ignored |
| 759 | 623 | |
| 760 | 624 | =begin original |
| 761 | 625 | |
| 762 | 626 | (S malloc) An internal routine called free() on something that had never |
| 763 | 627 | been malloc()ed in the first place. Mandatory, but can be disabled by |
| 764 | 628 | setting environment variable C<PERL_BADFREE> to 0. |
| 765 | 629 | |
| 766 | 630 | =end original |
| 767 | 631 | |
| 768 | 632 | (S malloc) まず、malloc() されていないものに対して、内部ルーティンが |
| 769 | 633 | free() を呼びました。 |
| 770 | 634 | 強制ですが、環境変数 C<PERL_BADFREE> を 0 にすることで無効化できます。 |
| 771 | 635 | |
| 772 | 636 | =begin original |
| 773 | 637 | |
| 774 | 638 | This message can be seen quite often with DB_File on systems with "hard" |
| 775 | 639 | dynamic linking, like C<AIX> and C<OS/2>. It is a bug of C<Berkeley DB> |
| 776 | 640 | which is left unnoticed if C<DB> uses I<forgiving> system malloc(). |
| 777 | 641 | |
| 778 | 642 | =end original |
| 779 | 643 | |
| 780 | 644 | このメッセージ は、C<AIX> や C<OS/2> のような、「ハード」動的リンクを |
| 781 | 645 | 行うシステムで DB_File を使うとしばしば表示されます。 |
| 782 | 646 | これは C<DB> がシステムの malloc() を許していることに気が付かない |
| 783 | 647 | C<Berkeley DB> のバグです。 |
| 784 | 648 | |
| 785 | 649 | =item Bad hash |
| 786 | 650 | |
| 787 | 651 | =begin original |
| 788 | 652 | |
| 789 | 653 | (P) One of the internal hash routines was passed a null HV pointer. |
| 790 | 654 | |
| 791 | 655 | =end original |
| 792 | 656 | |
| 793 | 657 | (P) 内部ハッシュルーティンで、ヌル HV ポインタを渡されたものがありました。 |
| 794 | 658 | |
| 795 | 659 | =item Bad index while coercing array into hash |
| 796 | 660 | |
| 797 | 661 | =begin original |
| 798 | 662 | |
| 799 | 663 | (F) The index looked up in the hash found as the 0'th element of a |
| 800 | 664 | pseudo-hash is not legal. Index values must be at 1 or greater. |
| 801 | 665 | See L<perlref>. |
| 802 | 666 | |
| 803 | 667 | =end original |
| 804 | 668 | |
| 805 | 669 | (F) 擬似ハッシュの 0 番目の要素として見つかったハッシュの中の |
| 806 | 670 | インデックス検索は不正です。 |
| 807 | 671 | インデックスの値は 1 以上でなければなりません。 |
| 808 | 672 | L<perlref> を参照してください。 |
| 809 | 673 | |
| 810 | 674 | =item Badly placed ()'s |
| 811 | 675 | |
| 812 | 676 | =begin original |
| 813 | 677 | |
| 814 | 678 | (A) You've accidentally run your script through B<csh> instead |
| 815 | 679 | of Perl. Check the #! line, or manually feed your script into |
| 816 | 680 | Perl yourself. |
| 817 | 681 | |
| 818 | 682 | =end original |
| 819 | 683 | |
| 820 | 684 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
| 821 | 685 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
| 822 | 686 | |
| 823 | 687 | =item Bad name after %s:: |
| 824 | 688 | |
| 825 | 689 | =begin original |
| 826 | 690 | |
| 827 | 691 | (F) You started to name a symbol by using a package prefix, and then |
| 828 | 692 | didn't finish the symbol. In particular, you can't interpolate outside |
| 829 | 693 | of quotes, so |
| 830 | 694 | |
| 831 | 695 | =end original |
| 832 | 696 | |
| 833 | 697 | (F) パッケージプレフィクスでシンボル名を書き始めましたが、 |
| 834 | 698 | そのシンボルが終了しませんでした。 |
| 835 | 699 | 特に、クォートの外で、変数展開はできませんから、 |
| 836 | 700 | |
| 837 | 701 | $var = 'myvar'; |
| 838 | 702 | $sym = mypack::$var; |
| 839 | 703 | |
| 840 | 704 | =begin original |
| 841 | 705 | |
| 842 | 706 | is not the same as |
| 843 | 707 | |
| 844 | 708 | =end original |
| 845 | 709 | |
| 846 | 710 | は、以下と同じではありません。 |
| 847 | 711 | |
| 848 | 712 | $var = 'myvar'; |
| 849 | 713 | $sym = "mypack::$var"; |
| 850 | 714 | |
| 851 | 715 | =item Bad realloc() ignored |
| 852 | 716 | |
| 853 | 717 | =begin original |
| 854 | 718 | |
| 855 | 719 | (S malloc) An internal routine called realloc() on something that had |
| 856 | 720 | never been malloc()ed in the first place. Mandatory, but can be disabled |
| 857 | 721 | by setting environment variable C<PERL_BADFREE> to 1. |
| 858 | 722 | |
| 859 | 723 | =end original |
| 860 | 724 | |
| 861 | 725 | (S malloc) 内部ルーチンが、最初に malloc() されていない何かに対して |
| 862 | 726 | realloc() を呼び出しました。 |
| 863 | 727 | 必須ですが、環境変数 C<PERL_BADFREE> に 1 をセットすることで無効化できます。 |
| 864 | 728 | |
| 865 | 729 | =item Bad symbol for array |
| 866 | 730 | |
| 867 | 731 | =begin original |
| 868 | 732 | |
| 869 | 733 | (P) An internal request asked to add an array entry to something that |
| 870 | 734 | wasn't a symbol table entry. |
| 871 | 735 | |
| 872 | 736 | =end original |
| 873 | 737 | |
| 874 | 738 | (P) シンボルテーブルエントリではないものに、配列エントリを登録するような |
| 875 | 739 | 内部要求があがりました。 |
| 876 | 740 | |
| 877 | 741 | =item Bad symbol for filehandle |
| 878 | 742 | |
| 879 | 743 | =begin original |
| 880 | 744 | |
| 881 | 745 | (P) An internal request asked to add a filehandle entry to something |
| 882 | 746 | that wasn't a symbol table entry. |
| 883 | 747 | |
| 884 | 748 | =end original |
| 885 | 749 | |
| 886 | 750 | (P) シンボルテーブルエントリではないものに、ファイルハンドルエントリを |
| 887 | 751 | 登録するような内部要求があがりました。 |
| 888 | 752 | |
| 889 | 753 | =item Bad symbol for hash |
| 890 | 754 | |
| 891 | 755 | =begin original |
| 892 | 756 | |
| 893 | 757 | (P) An internal request asked to add a hash entry to something that |
| 894 | 758 | wasn't a symbol table entry. |
| 895 | 759 | |
| 896 | 760 | =end original |
| 897 | 761 | |
| 898 | 762 | (P) シンボルテーブルエントリではないものに、ハッシュエントリを |
| 899 | 763 | 登録するような内部要求があがった。 |
| 900 | 764 | |
| 901 | 765 | =item Bareword found in conditional |
| 902 | 766 | |
| 903 | 767 | =begin original |
| 904 | 768 | |
| 905 | 769 | (W bareword) The compiler found a bareword where it expected a |
| 906 | 770 | conditional, which often indicates that an || or && was parsed as part |
| 907 | 771 | of the last argument of the previous construct, for example: |
| 908 | 772 | |
| 909 | 773 | =end original |
| 910 | 774 | |
| 911 | 775 | (W bareword) コンパイラが、条件が想定される位置に裸の単語を発見しました。 |
| 912 | 776 | これはしばしば、|| や && が直前の構造の最後の引数の一部として |
| 913 | 777 | パースされたことを意味します; 例えば: |
| 914 | 778 | |
| 915 | 779 | open FOO || die; |
| 916 | 780 | |
| 917 | 781 | =begin original |
| 918 | 782 | |
| 919 | 783 | It may also indicate a misspelled constant that has been interpreted as |
| 920 | 784 | a bareword: |
| 921 | 785 | |
| 922 | 786 | =end original |
| 923 | 787 | |
| 924 | 788 | これはまた、裸の単語として解釈されるような定数をタイプミスしたことを |
| 925 | 789 | 示している場合もあります: |
| 926 | 790 | |
| 927 | 791 | use constant TYPO => 1; |
| 928 | 792 | if (TYOP) { print "foo" } |
| 929 | 793 | |
| 930 | 794 | =begin original |
| 931 | 795 | |
| 932 | 796 | The C<strict> pragma is useful in avoiding such errors. |
| 933 | 797 | |
| 934 | 798 | =end original |
| 935 | 799 | |
| 936 | 800 | C<strict> プラグマはこのようなエラーを防ぐのに便利です。 |
| 937 | 801 | |
| 938 | 802 | =item Bareword "%s" not allowed while "strict subs" in use |
| 939 | 803 | |
| 940 | 804 | =begin original |
| 941 | 805 | |
| 942 | 806 | (F) With "strict subs" in use, a bareword is only allowed as a |
| 943 | 807 | subroutine identifier, in curly brackets or to the left of the "=>" |
| 944 | 808 | symbol. Perhaps you need to predeclare a subroutine? |
| 945 | 809 | |
| 946 | 810 | =end original |
| 947 | 811 | |
| 948 | 812 | "strict subs" が有効の場合、裸の単語はサブルーチンの識別子、 |
| 949 | 813 | 中かっこの中、シンボル "=>" の左側でのみ許されます。 |
| 950 | 814 | おそらくサブルーチンを先行宣言する必要があるのでは? |
| 951 | 815 | |
| 952 | 816 | =item Bareword "%s" refers to nonexistent package |
| 953 | 817 | |
| 954 | 818 | =begin original |
| 955 | 819 | |
| 956 | 820 | (W bareword) You used a qualified bareword of the form C<Foo::>, but the |
| 957 | 821 | compiler saw no other uses of that namespace before that point. Perhaps |
| 958 | 822 | you need to predeclare a package? |
| 959 | 823 | |
| 960 | 824 | =end original |
| 961 | 825 | |
| 962 | 826 | (W bareword) C<Foo::> の形で修飾された裸の単語が使われていますが、 |
| 963 | 827 | コンパイラはこの場所以外でこの名前空間が使われている場所を |
| 964 | 828 | 発見できませんでした。 |
| 965 | 829 | おそらくパッケージを専攻宣言する必要があるのでは? |
| 966 | 830 | |
| 967 | 831 | =item BEGIN failed--compilation aborted |
| 968 | 832 | |
| 969 | 833 | =begin original |
| 970 | 834 | |
| 971 | 835 | (F) An untrapped exception was raised while executing a BEGIN |
| 972 | 836 | subroutine. Compilation stops immediately and the interpreter is |
| 973 | 837 | exited. |
| 974 | 838 | |
| 975 | 839 | =end original |
| 976 | 840 | |
| 977 | 841 | (F) BEGIN サブルーティンの実行中にトラップ不可能な例外が発生しました。 |
| 978 | 842 | コンパイルは即座に停止し、インタプリタは中止します。 |
| 979 | 843 | |
| 980 | 844 | =item BEGIN not safe after errors--compilation aborted |
| 981 | 845 | |
| 982 | 846 | =begin original |
| 983 | 847 | |
| 984 | 848 | (F) Perl found a C<BEGIN {}> subroutine (or a C<use> directive, which |
| 985 | 849 | implies a C<BEGIN {}>) after one or more compilation errors had already |
| 986 | 850 | occurred. Since the intended environment for the C<BEGIN {}> could not |
| 987 | 851 | be guaranteed (due to the errors), and since subsequent code likely |
| 988 | 852 | depends on its correct operation, Perl just gave up. |
| 989 | 853 | |
| 990 | 854 | =end original |
| 991 | 855 | |
| 992 | 856 | (F) Perl は既にコンパイルエラーが発生した後に C<BEGIN {}> サブルーチン |
| 993 | 857 | (または C<use> 指示子(これは C<BEGIN {}> を暗示します))を |
| 994 | 858 | 発見しました。 |
| 995 | 859 | C<BEGIN {}> が意図した環境は(エラーのために)保証されず、 |
| 996 | 860 | 引き続くコードは正しい処理に依存していると考えられるので、 |
| 997 | 861 | Perl は単に諦めました。 |
| 998 | 862 | |
| 999 | 863 | =item \1 better written as $1 |
| 1000 | 864 | |
| 1001 | 865 | =begin original |
| 1002 | 866 | |
| 1003 | 867 | (W syntax) Outside of patterns, backreferences live on as variables. |
| 1004 | 868 | The use of backslashes is grandfathered on the right-hand side of a |
| 1005 | 869 | substitution, but stylistically it's better to use the variable form |
| 1006 | 870 | because other Perl programmers will expect it, and it works better if |
| 1007 | 871 | there are more than 9 backreferences. |
| 1008 | 872 | |
| 1009 | 873 | =end original |
| 1010 | 874 | |
| 1011 | 875 | (W syntax) パターンの外では、後方参照は変数の形で存在します。 |
| 1012 | 876 | 後方参照の利用は、置換の右側の部分で扱われますが、スタイル的には、 |
| 1013 | 877 | 他の Perl プログラマが期待し、9 個以上の後方参照があるときにも |
| 1014 | 878 | うまく動作する、変数形式を使う方が良いでしょう。 |
| 1015 | 879 | |
| 1016 | 880 | =item Binary number > 0b11111111111111111111111111111111 non-portable |
| 1017 | 881 | |
| 1018 | 882 | =begin original |
| 1019 | 883 | |
| 1020 | 884 | (W portable) The binary number you specified is larger than 2**32-1 |
| 1021 | 885 | (4294967295) and therefore non-portable between systems. See |
| 1022 | 886 | L<perlport> for more on portability concerns. |
| 1023 | 887 | |
| 1024 | 888 | =end original |
| 1025 | 889 | |
| 1026 | 890 | (W portable) 指定された 2 進数が 2**32-1 (4294967295) を越えるので、 |
| 1027 | 891 | システム間での移植性がありません。 |
| 1028 | 892 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
| 1029 | 893 | |
| 1030 | 894 | =item bind() on closed socket %s |
| 1031 | 895 | |
| 1032 | 896 | =begin original |
| 1033 | 897 | |
| 1034 | 898 | (W closed) You tried to do a bind on a closed socket. Did you forget to |
| 1035 | 899 | check the return value of your socket() call? See L<perlfunc/bind>. |
| 1036 | 900 | |
| 1037 | 901 | =end original |
| 1038 | 902 | |
| 1039 | 903 | (W closed) クローズされたソケットに bind を行なおうとしました。 |
| 1040 | 904 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
| 1041 | 905 | L<perlfunc/bind> を参照してください。 |
| 1042 | 906 | |
| 1043 | =item binmode() on closed filehandle %s | |
| 1044 | ||
| 1045 | =begin original | |
| 1046 | ||
| 1047 | (W unopened) You tried binmode() on a filehandle that was never opened. | |
| 1048 | Check you control flow and number of arguments. | |
| 1049 | ||
| 1050 | =end original | |
| 1051 | ||
| 1052 | (W unopened) 開いていないファイルハンドルに binmode() を使おうとしました。 | |
| 1053 | 制御フローと引数の数をチェックしてください。 | |
| 1054 | ||
| 1055 | 907 | =item Bit vector size > 32 non-portable |
| 1056 | 908 | |
| 1057 | 909 | =begin original |
| 1058 | 910 | |
| 1059 | 911 | (W portable) Using bit vector sizes larger than 32 is non-portable. |
| 1060 | 912 | |
| 1061 | 913 | =end original |
| 1062 | 914 | |
| 1063 | 915 | (W portable) 32 を越えるサイズのビットベクタは移植性がありません。 |
| 1064 | 916 | |
| 1065 | 917 | =item Bizarre copy of %s in %s |
| 1066 | 918 | |
| 1067 | 919 | =begin original |
| 1068 | 920 | |
| 1069 | 921 | (P) Perl detected an attempt to copy an internal value that is not |
| 1070 | 922 | copyable. |
| 1071 | 923 | |
| 1072 | 924 | =end original |
| 1073 | 925 | |
| 1074 | 926 | (P) コピーできない内部の値をコピーしようとしました。 |
| 1075 | 927 | |
| 928 | =item B<-P> not allowed for setuid/setgid script | |
| 929 | ||
| 930 | =begin original | |
| 931 | ||
| 932 | (F) The script would have to be opened by the C preprocessor by name, | |
| 933 | which provides a race condition that breaks security. | |
| 934 | ||
| 935 | =end original | |
| 936 | ||
| 937 | (F) C プリプロセッサがスクリプトをオープンするときには、 | |
| 938 | 名前でオープンしなければいけませんが、これは、安全性を損なう競合条件を | |
| 939 | もたらします。 | |
| 940 | ||
| 1076 | 941 | =item Buffer overflow in prime_env_iter: %s |
| 1077 | 942 | |
| 1078 | 943 | =begin original |
| 1079 | 944 | |
| 1080 | 945 | (W internal) A warning peculiar to VMS. While Perl was preparing to |
| 1081 | 946 | iterate over %ENV, it encountered a logical name or symbol definition |
| 1082 | 947 | which was too long, so it was truncated to the string shown. |
| 1083 | 948 | |
| 1084 | 949 | =end original |
| 1085 | 950 | |
| 1086 | 951 | (W) VMS 特有の警告です。 |
| 1087 | 952 | Perl が %ENV を反復する準備中、長すぎる論理名かシンボル定義に |
| 1088 | 953 | 遭遇したので、文字列は表示したように切り詰められました。 |
| 1089 | 954 | |
| 1090 | 955 | =item Callback called exit |
| 1091 | 956 | |
| 1092 | 957 | =begin original |
| 1093 | 958 | |
| 1094 | 959 | (F) A subroutine invoked from an external package via call_sv() |
| 1095 | 960 | exited by calling exit. |
| 1096 | 961 | |
| 1097 | 962 | =end original |
| 1098 | 963 | |
| 1099 | 964 | (F) 外部パッケージから call_sv() で起動されたサブルーティンが exit を |
| 1100 | 965 | 呼んで終了しました。 |
| 1101 | 966 | |
| 1102 | 967 | =item %s() called too early to check prototype |
| 1103 | 968 | |
| 1104 | 969 | =begin original |
| 1105 | 970 | |
| 1106 | 971 | (W prototype) You've called a function that has a prototype before the |
| 1107 | 972 | parser saw a definition or declaration for it, and Perl could not check |
| 1108 | 973 | that the call conforms to the prototype. You need to either add an |
| 1109 | 974 | early prototype declaration for the subroutine in question, or move the |
| 1110 | 975 | subroutine definition ahead of the call to get proper prototype |
| 1111 | 976 | checking. Alternatively, if you are certain that you're calling the |
| 1112 | 977 | function correctly, you may put an ampersand before the name to avoid |
| 1113 | 978 | the warning. See L<perlsub>. |
| 1114 | 979 | |
| 1115 | 980 | =end original |
| 1116 | 981 | |
| 1117 | 982 | (W prototype) 以前にパーサが宣言または定義されているのを見た、 |
| 1118 | 983 | プロトタイプ付きの関数を呼び出しましたが、Perl は呼び出しがプロトタイプに |
| 1119 | 984 | 従っているかどうかをチェックできませんでした。 |
| 1120 | 985 | 問題になっているサブルーチンのプロトタイプ宣言を最初の方に追加するか、 |
| 1121 | 986 | 適切なプロトタイプチェックを行うためにサブルーチン定義を呼び出しの前に |
| 1122 | 987 | 移動させる必要があります。 |
| 1123 | 988 | または、関数を正しく呼び出していることが確かな場合は、名前の前に |
| 1124 | 989 | アンパサンドを付けることで警告を回避できます。 |
| 1125 | 990 | L<perlsub> を参照してください。 |
| 1126 | 991 | |
| 1127 | =item | |
| 992 | =item / cannot take a count | |
| 1128 | 993 | |
| 1129 | 994 | =begin original |
| 1130 | 995 | |
| 1131 | (F) | |
| 996 | (F) You had an unpack template indicating a counted-length string, but | |
| 1132 | ||
| 997 | you have also specified an explicit size for the string. See | |
| 1133 | ||
| 998 | L<perlfunc/pack>. | |
| 1134 | See L<perlfunc/pack>. | |
| 1135 | 999 | |
| 1136 | 1000 | =end original |
| 1137 | 1001 | |
| 1138 | (F) pack | |
| 1002 | (F) unpack のテンプレートとしてカウント長文字列を示していますが、 | |
| 1139 | ||
| 1003 | 文字列の長さも明示的に指定しています。 | |
| 1140 | (> 1e308) を圧縮しようとしました。 | |
| 1141 | 1004 | L<perlfunc/pack> を参照してください。 |
| 1142 | 1005 | |
| 1143 | =item Cannot compress negative numbers in pack | |
| 1144 | ||
| 1145 | =begin original | |
| 1146 | ||
| 1147 | (F) An argument to pack("w",...) was negative. The BER compressed integer | |
| 1148 | format can only be used with positive integers. See L<perlfunc/pack>. | |
| 1149 | ||
| 1150 | =end original | |
| 1151 | ||
| 1152 | (F) pack("w",...) の引数が負数です。 | |
| 1153 | BER 圧縮整数フォーマットは正の整数のみ扱えます。 | |
| 1154 | L<perlfunc/pack> を参照してください。 | |
| 1155 | ||
| 1156 | =item Can only compress unsigned integers in pack | |
| 1157 | ||
| 1158 | =begin original | |
| 1159 | ||
| 1160 | (F) An argument to pack("w",...) was not an integer. The BER compressed | |
| 1161 | integer format can only be used with positive integers, and you attempted | |
| 1162 | to compress something else. See L<perlfunc/pack>. | |
| 1163 | ||
| 1164 | =end original | |
| 1165 | ||
| 1166 | (F) pack("w",...) の引数が整数ではありません。 | |
| 1167 | BER 圧縮整数フォーマットは正の整数のみ扱えますが、何か他のものを | |
| 1168 | 圧縮しようとしました。 | |
| 1169 | L<perlfunc/pack> を参照してください。 | |
| 1170 | ||
| 1171 | 1006 | =item Can't bless non-reference value |
| 1172 | 1007 | |
| 1173 | 1008 | =begin original |
| 1174 | 1009 | |
| 1175 | 1010 | (F) Only hard references may be blessed. This is how Perl "enforces" |
| 1176 | 1011 | encapsulation of objects. See L<perlobj>. |
| 1177 | 1012 | |
| 1178 | 1013 | =end original |
| 1179 | 1014 | |
| 1180 | 1015 | (F) ハードリファレンスのみが bless できます。 |
| 1181 | 1016 | これによって、Perl はオブジェクトのカプセル化を「強制」します。 |
| 1182 | 1017 | L<perlobj> を参照してください。 |
| 1183 | 1018 | |
| 1184 | 1019 | =item Can't call method "%s" in empty package "%s" |
| 1185 | 1020 | |
| 1186 | 1021 | =begin original |
| 1187 | 1022 | |
| 1188 | 1023 | (F) You called a method correctly, and it correctly indicated a package |
| 1189 | 1024 | functioning as a class, but that package doesn't have ANYTHING defined |
| 1190 | 1025 | in it, let alone methods. See L<perlobj>. |
| 1191 | 1026 | |
| 1192 | 1027 | =end original |
| 1193 | 1028 | |
| 1194 | 1029 | (F) 正しくメソッドを呼び出し、それは、クラスとして機能するパッケージを |
| 1195 | 1030 | 正しく示していますが、そのパッケージには、何も定義されておらず、 |
| 1196 | 1031 | メソッドだけになっています。 |
| 1197 | 1032 | L<perlobj> を参照してください。 |
| 1198 | 1033 | |
| 1199 | 1034 | =item Can't call method "%s" on an undefined value |
| 1200 | 1035 | |
| 1201 | 1036 | =begin original |
| 1202 | 1037 | |
| 1203 | 1038 | (F) You used the syntax of a method call, but the slot filled by the |
| 1204 | 1039 | object reference or package name contains an undefined value. Something |
| 1205 | 1040 | like this will reproduce the error: |
| 1206 | 1041 | |
| 1207 | 1042 | =end original |
| 1208 | 1043 | |
| 1209 | 1044 | (F) メソッド呼び出しの文法が使われていますが、 |
| 1210 | 1045 | オブジェクトリファレンスかパッケージ名であるべきところが未定義値です。 |
| 1211 | 1046 | 以下のように書くとエラーが再現します: |
| 1212 | 1047 | |
| 1213 | 1048 | $BADREF = undef; |
| 1214 | 1049 | process $BADREF 1,2,3; |
| 1215 | 1050 | $BADREF->process(1,2,3); |
| 1216 | 1051 | |
| 1217 | 1052 | =item Can't call method "%s" on unblessed reference |
| 1218 | 1053 | |
| 1219 | 1054 | =begin original |
| 1220 | 1055 | |
| 1221 | 1056 | (F) A method call must know in what package it's supposed to run. It |
| 1222 | 1057 | ordinarily finds this out from the object reference you supply, but you |
| 1223 | 1058 | didn't supply an object reference in this case. A reference isn't an |
| 1224 | 1059 | object reference until it has been blessed. See L<perlobj>. |
| 1225 | 1060 | |
| 1226 | 1061 | =end original |
| 1227 | 1062 | |
| 1228 | 1063 | (F) メソッド呼び出しは、自分が呼び出されたパッケージがどれであるかを |
| 1229 | 1064 | 知る必要があります。 普通は、渡したオブジェクトリファレンスから |
| 1230 | 1065 | その情報を受け取りますが、この場合にはオブジェクトリファレンスが |
| 1231 | 1066 | 渡されませんでした。 |
| 1232 | 1067 | リファレンスは、bless されて始めて、オブジェクトリファレンスとなります。 |
| 1233 | 1068 | L<perlobj> を参照してください。 |
| 1234 | 1069 | |
| 1235 | 1070 | =item Can't call method "%s" without a package or object reference |
| 1236 | 1071 | |
| 1237 | 1072 | =begin original |
| 1238 | 1073 | |
| 1239 | 1074 | (F) You used the syntax of a method call, but the slot filled by the |
| 1240 | 1075 | object reference or package name contains an expression that returns a |
| 1241 | 1076 | defined value which is neither an object reference nor a package name. |
| 1242 | 1077 | Something like this will reproduce the error: |
| 1243 | 1078 | |
| 1244 | 1079 | =end original |
| 1245 | 1080 | |
| 1246 | 1081 | (F) メソッド呼び出しの構文を用いましたが、オブジェクトリファレンス、 |
| 1247 | 1082 | もしくはパッケージ名が書かれるべき場所に、オブジェクトリファレンスも |
| 1248 | 1083 | パッケージ名も返さない定義された式が書かれています。 |
| 1249 | 1084 | (おそらく、何も書いてないかもしれません。) |
| 1250 | 1085 | 以下のようなものは、エラーとなります: |
| 1251 | 1086 | |
| 1252 | 1087 | $BADREF = 42; |
| 1253 | 1088 | process $BADREF 1,2,3; |
| 1254 | 1089 | $BADREF->process(1,2,3); |
| 1255 | 1090 | |
| 1256 | 1091 | =item Can't chdir to %s |
| 1257 | 1092 | |
| 1258 | 1093 | =begin original |
| 1259 | 1094 | |
| 1260 | 1095 | (F) You called C<perl -x/foo/bar>, but C</foo/bar> is not a directory |
| 1261 | 1096 | that you can chdir to, possibly because it doesn't exist. |
| 1262 | 1097 | |
| 1263 | 1098 | =end original |
| 1264 | 1099 | |
| 1265 | 1100 | (F) C<perl -x/foo/bar> のようにして起動したましたが、 |
| 1266 | 1101 | C</foo/bar> にchdir することができません。 |
| 1267 | 1102 | おそらく、存在しないのではないでしょうか。 |
| 1268 | 1103 | |
| 1269 | 1104 | =item Can't check filesystem of script "%s" for nosuid |
| 1270 | 1105 | |
| 1271 | 1106 | =begin original |
| 1272 | 1107 | |
| 1273 | 1108 | (P) For some reason you can't check the filesystem of the script for |
| 1274 | 1109 | nosuid. |
| 1275 | 1110 | |
| 1276 | 1111 | =end original |
| 1277 | 1112 | |
| 1278 | 1113 | (P) なぜかスクリプトが nosuid かどうかをファイルシステムから |
| 1279 | 1114 | 調べることができません。 |
| 1280 | 1115 | |
| 1281 | 1116 | =item Can't coerce array into hash |
| 1282 | 1117 | |
| 1283 | 1118 | =begin original |
| 1284 | 1119 | |
| 1285 | 1120 | (F) You used an array where a hash was expected, but the array has no |
| 1286 | 1121 | information on how to map from keys to array indices. You can do that |
| 1287 | 1122 | only with arrays that have a hash reference at index 0. |
| 1288 | 1123 | |
| 1289 | 1124 | =end original |
| 1290 | 1125 | |
| 1291 | 1126 | (F) ハッシュが想定される場所で配列を使っていますが、 |
| 1292 | 1127 | この配列にはキーから添え字に変換するための情報がありません。 |
| 1293 | 1128 | このようなことは添え字 0 にハッシュリファレンスがある配列でのみ可能です。 |
| 1294 | 1129 | |
| 1295 | 1130 | =item Can't coerce %s to integer in %s |
| 1296 | 1131 | |
| 1297 | 1132 | =begin original |
| 1298 | 1133 | |
| 1299 | 1134 | (F) Certain types of SVs, in particular real symbol table entries |
| 1300 | 1135 | (typeglobs), can't be forced to stop being what they are. So you can't |
| 1301 | 1136 | say things like: |
| 1302 | 1137 | |
| 1303 | 1138 | =end original |
| 1304 | 1139 | |
| 1305 | 1140 | (F) ある種の SV、特に本物のシンボルテーブルエントリ (型グロブ) は、 |
| 1306 | 1141 | 1 つの型に留めておくことができません。 |
| 1307 | 1142 | したがって、以下のようにすることはできません: |
| 1308 | 1143 | |
| 1309 | 1144 | *foo += 1; |
| 1310 | 1145 | |
| 1311 | 1146 | =begin original |
| 1312 | 1147 | |
| 1313 | 1148 | You CAN say |
| 1314 | 1149 | |
| 1315 | 1150 | =end original |
| 1316 | 1151 | |
| 1317 | 1152 | 以下のようにはできますが: |
| 1318 | 1153 | |
| 1319 | 1154 | $foo = *foo; |
| 1320 | 1155 | $foo += 1; |
| 1321 | 1156 | |
| 1322 | 1157 | =begin original |
| 1323 | 1158 | |
| 1324 | 1159 | but then $foo no longer contains a glob. |
| 1325 | 1160 | |
| 1326 | 1161 | =end original |
| 1327 | 1162 | |
| 1328 | 1163 | $foo にはもはやグロブは残っていません。 |
| 1329 | 1164 | |
| 1330 | 1165 | =item Can't coerce %s to number in %s |
| 1331 | 1166 | |
| 1332 | 1167 | =begin original |
| 1333 | 1168 | |
| 1334 | 1169 | (F) Certain types of SVs, in particular real symbol table entries |
| 1335 | 1170 | (typeglobs), can't be forced to stop being what they are. |
| 1336 | 1171 | |
| 1337 | 1172 | =end original |
| 1338 | 1173 | |
| 1339 | 1174 | (F) ある種の SV、特に本物のシンボルテーブルエントリ (型グロブ) は、 |
| 1340 | 1175 | 1 つの型に留めておくことができません。 |
| 1341 | 1176 | |
| 1342 | 1177 | =item Can't coerce %s to string in %s |
| 1343 | 1178 | |
| 1344 | 1179 | =begin original |
| 1345 | 1180 | |
| 1346 | 1181 | (F) Certain types of SVs, in particular real symbol table entries |
| 1347 | 1182 | (typeglobs), can't be forced to stop being what they are. |
| 1348 | 1183 | |
| 1349 | 1184 | =end original |
| 1350 | 1185 | |
| 1351 | 1186 | (F) ある種の SV、特に本物のシンボルテーブルエントリ (型グロブ) は、 |
| 1352 | 1187 | 1 つの型に留めておくことができません。 |
| 1353 | 1188 | |
| 1354 | 1189 | =item Can't create pipe mailbox |
| 1355 | 1190 | |
| 1356 | 1191 | =begin original |
| 1357 | 1192 | |
| 1358 | 1193 | (P) An error peculiar to VMS. The process is suffering from exhausted |
| 1359 | 1194 | quotas or other plumbing problems. |
| 1360 | 1195 | |
| 1361 | 1196 | =end original |
| 1362 | 1197 | |
| 1363 | 1198 | (F) VMS 特有のエラーです。 |
| 1364 | 1199 | プロセスはクォータを使い切ったか、その他の設備問題の影響を受けました。 |
| 1365 | 1200 | |
| 1366 | 1201 | =item Can't declare class for non-scalar %s in "%s" |
| 1367 | 1202 | |
| 1368 | 1203 | =begin original |
| 1369 | 1204 | |
| 1370 | ( | |
| 1205 | (S) Currently, only scalar variables can declared with a specific class | |
| 1371 | ||
| 1206 | qualifier in a "my" or "our" declaration. The semantics may be extended | |
| 1372 | ||
| 1207 | for other types of variables in future. | |
| 1373 | 1208 | |
| 1374 | 1209 | =end original |
| 1375 | 1210 | |
| 1376 | ( | |
| 1211 | (S) 現在のところ、スカラ変数のみが "my" や "our" 定義の中で特定の | |
| 1377 | 1212 | クラス修飾子と共に定義できます。 |
| 1378 | 1213 | この動作は将来には他の種類の変数に拡張されるでしょう。 |
| 1379 | 1214 | |
| 1380 | 1215 | =item Can't declare %s in "%s" |
| 1381 | 1216 | |
| 1382 | 1217 | =begin original |
| 1383 | 1218 | |
| 1384 | 1219 | (F) Only scalar, array, and hash variables may be declared as "my" or |
| 1385 | 1220 | "our" variables. They must have ordinary identifiers as names. |
| 1386 | 1221 | |
| 1387 | 1222 | =end original |
| 1388 | 1223 | |
| 1389 | 1224 | (F) スカラ変数、配列変数、ハッシュ変数だけが、"my" や "our" 変数として |
| 1390 | 1225 | 宣言できます。 |
| 1391 | 1226 | これらは、名前として通常の識別子を持たなければなりません。 |
| 1392 | 1227 | |
| 1393 | 1228 | =item Can't do inplace edit: %s is not a regular file |
| 1394 | 1229 | |
| 1395 | 1230 | =begin original |
| 1396 | 1231 | |
| 1397 | 1232 | (S inplace) You tried to use the B<-i> switch on a special file, such as |
| 1398 | 1233 | a file in /dev, or a FIFO. The file was ignored. |
| 1399 | 1234 | |
| 1400 | 1235 | =end original |
| 1401 | 1236 | |
| 1402 | 1237 | (S inplace) /dev や FIFO のような、特殊ファイルに対して、B<-i> スイッチを |
| 1403 | 1238 | 使おうとしました。 |
| 1404 | 1239 | そのファイルは、無視されました。 |
| 1405 | 1240 | |
| 1406 | 1241 | =item Can't do inplace edit on %s: %s |
| 1407 | 1242 | |
| 1408 | 1243 | =begin original |
| 1409 | 1244 | |
| 1410 | 1245 | (S inplace) The creation of the new file failed for the indicated |
| 1411 | 1246 | reason. |
| 1412 | 1247 | |
| 1413 | 1248 | =end original |
| 1414 | 1249 | |
| 1415 | 1250 | (S inplace) 表示された理由により、新しいファイルの生成に失敗しました。 |
| 1416 | 1251 | |
| 1417 | 1252 | =item Can't do inplace edit without backup |
| 1418 | 1253 | |
| 1419 | 1254 | =begin original |
| 1420 | 1255 | |
| 1421 | 1256 | (F) You're on a system such as MS-DOS that gets confused if you try |
| 1422 | 1257 | reading from a deleted (but still opened) file. You have to say |
| 1423 | 1258 | C<-i.bak>, or some such. |
| 1424 | 1259 | |
| 1425 | 1260 | =end original |
| 1426 | 1261 | |
| 1427 | 1262 | (F) 削除した (が、まだオープンされている) ファイルを読もうとすると |
| 1428 | 1263 | おかしくなる MS-DOS のようなシステムで実行しています。 |
| 1429 | 1264 | C<-i.bak> のようにバックアップを指定してください。 |
| 1430 | 1265 | |
| 1431 | 1266 | =item Can't do inplace edit: %s would not be unique |
| 1432 | 1267 | |
| 1433 | 1268 | =begin original |
| 1434 | 1269 | |
| 1435 | 1270 | (S inplace) Your filesystem does not support filenames longer than 14 |
| 1436 | 1271 | characters and Perl was unable to create a unique filename during |
| 1437 | 1272 | inplace editing with the B<-i> switch. The file was ignored. |
| 1438 | 1273 | |
| 1439 | 1274 | =end original |
| 1440 | 1275 | |
| 1441 | 1276 | (S inplace) ファイルシステムが 14 文字より長いファイル名に対応しておらず、 |
| 1442 | 1277 | Perl は B<-i> オプションによるその場編集の間のユニークなファイル名の |
| 1443 | 1278 | 作成ができませんでした。 |
| 1444 | 1279 | このファイルは無視されます。 |
| 1445 | 1280 | |
| 1446 | =item Can't do {n,m} with n > m | |
| 1281 | =item Can't do {n,m} with n > m before << HERE in regex m/%s/ | |
| 1447 | 1282 | |
| 1448 | 1283 | =begin original |
| 1449 | 1284 | |
| 1450 | 1285 | (F) Minima must be less than or equal to maxima. If you really want your |
| 1451 | regexp to match something 0 times, just put {0}. The < | |
| 1286 | regexp to match something 0 times, just put {0}. The << HERE shows in the | |
| 1452 | 1287 | regular expression about where the problem was discovered. See L<perlre>. |
| 1453 | 1288 | |
| 1454 | 1289 | =end original |
| 1455 | 1290 | |
| 1456 | 1291 | (F) 最小値は最大値以下でなければなりません。 |
| 1457 | 1292 | もし、本当に正規表現が 0 回繰り返したものにマッチさせたいなら、単に |
| 1458 | 1293 | {0} としてください。 |
| 1459 | < | |
| 1294 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 1460 | 1295 | L<perlre> を参照してください。 |
| 1461 | 1296 | |
| 1462 | 1297 | =item Can't do setegid! |
| 1463 | 1298 | |
| 1464 | 1299 | =begin original |
| 1465 | 1300 | |
| 1466 | 1301 | (P) The setegid() call failed for some reason in the setuid emulator of |
| 1467 | 1302 | suidperl. |
| 1468 | 1303 | |
| 1469 | 1304 | =end original |
| 1470 | 1305 | |
| 1471 | 1306 | (P) suidperl の setuid エミュレータで何らかの理由により、 |
| 1472 | 1307 | setegid() 呼び出しが失敗しました。 |
| 1473 | 1308 | |
| 1474 | 1309 | =item Can't do seteuid! |
| 1475 | 1310 | |
| 1476 | 1311 | =begin original |
| 1477 | 1312 | |
| 1478 | 1313 | (P) The setuid emulator of suidperl failed for some reason. |
| 1479 | 1314 | |
| 1480 | 1315 | =end original |
| 1481 | 1316 | |
| 1482 | 1317 | (P) suidperl の setuid エミュレータが何らかの理由によって失敗しました。 |
| 1483 | 1318 | |
| 1484 | 1319 | =item Can't do setuid |
| 1485 | 1320 | |
| 1486 | 1321 | =begin original |
| 1487 | 1322 | |
| 1488 | 1323 | (F) This typically means that ordinary perl tried to exec suidperl to do |
| 1489 | 1324 | setuid emulation, but couldn't exec it. It looks for a name of the form |
| 1490 | 1325 | sperl5.000 in the same directory that the perl executable resides under |
| 1491 | 1326 | the name perl5.000, typically /usr/local/bin on Unix machines. If the |
| 1492 | 1327 | file is there, check the execute permissions. If it isn't, ask your |
| 1493 | 1328 | sysadmin why he and/or she removed it. |
| 1494 | 1329 | |
| 1495 | 1330 | =end original |
| 1496 | 1331 | |
| 1497 | 1332 | (F) このエラーは、通常、普通の perl が setuid エミュレーションのために |
| 1498 | 1333 | suidperl を実行しようとしましたが、実行できなかったことを意味します。 |
| 1499 | 1334 | 特に UNIX マシンの /usr/local/bin などでは、perl の実行ファイルが、 |
| 1500 | 1335 | perl5.000 という名前のときには、同じディレクトリで sperl5.000 という形式の |
| 1501 | 1336 | 名前を探します。 |
| 1502 | 1337 | もし、ファイルが存在していれば、実行パーミッションをチェックしてください。 |
| 1503 | 1338 | 許可されていないようであれば、システム管理者の方に、わけを |
| 1504 | 1339 | 尋ねてみてください。 |
| 1505 | 1340 | |
| 1506 | 1341 | =item Can't do waitpid with flags |
| 1507 | 1342 | |
| 1508 | 1343 | =begin original |
| 1509 | 1344 | |
| 1510 | 1345 | (F) This machine doesn't have either waitpid() or wait4(), so only |
| 1511 | 1346 | waitpid() without flags is emulated. |
| 1512 | 1347 | |
| 1513 | 1348 | =end original |
| 1514 | 1349 | |
| 1515 | 1350 | (F) このマシンには、waitpid() も wait4() もありませんので、 |
| 1516 | 1351 | フラグの無い waitpid() のみがエミュレート可能です。 |
| 1517 | 1352 | |
| 1518 | 1353 | =item Can't emulate -%s on #! line |
| 1519 | 1354 | |
| 1520 | 1355 | =begin original |
| 1521 | 1356 | |
| 1522 | 1357 | (F) The #! line specifies a switch that doesn't make sense at this |
| 1523 | 1358 | point. For example, it'd be kind of silly to put a B<-x> on the #! |
| 1524 | 1359 | line. |
| 1525 | 1360 | |
| 1526 | 1361 | =end original |
| 1527 | 1362 | |
| 1528 | 1363 | (F) #! 行にその時点で意味をなさないスイッチが指定されました。 |
| 1529 | 1364 | たとえば、#! 行に B<-x> をおいても意味がありません。 |
| 1530 | 1365 | |
| 1531 | 1366 | =item Can't exec "%s": %s |
| 1532 | 1367 | |
| 1533 | 1368 | =begin original |
| 1534 | 1369 | |
| 1535 | (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 | |
| 1536 | 1371 | named program for the indicated reason. Typical reasons include: the |
| 1537 | 1372 | permissions were wrong on the file, the file wasn't found in |
| 1538 | 1373 | C<$ENV{PATH}>, the executable in question was compiled for another |
| 1539 | 1374 | architecture, or the #! line in a script points to an interpreter that |
| 1540 | 1375 | can't be run for similar reasons. (Or maybe your system doesn't support |
| 1541 | 1376 | #! at all.) |
| 1542 | 1377 | |
| 1543 | 1378 | =end original |
| 1544 | 1379 | |
| 1545 | 1380 | (W exec) 提示した理由によって、system() や exec() やパイプオープン |
| 1546 | 1381 | 呼び出しの指定されたプログラムが実行できませんでした。 |
| 1547 | 1382 | 考えられる理由には: ファイルのパーミッションが間違っている、 |
| 1548 | 1383 | ファイルが C<$ENV{PATH}> の中にない、問題の実行ファイルが |
| 1549 | 1384 | このマシン用ではない、スクリプトの #! 行が同じような理由で実行できない |
| 1550 | 1385 | インタプリタを指している、というようなものがあります。 |
| 1551 | 1386 | (あるいは、このシステムで、#! がサポートされていません。) |
| 1552 | 1387 | |
| 1553 | 1388 | =item Can't exec %s |
| 1554 | 1389 | |
| 1555 | 1390 | =begin original |
| 1556 | 1391 | |
| 1557 | 1392 | (F) Perl was trying to execute the indicated program for you because |
| 1558 | 1393 | that's what the #! line said. If that's not what you wanted, you may |
| 1559 | 1394 | need to mention "perl" on the #! line somewhere. |
| 1560 | 1395 | |
| 1561 | 1396 | =end original |
| 1562 | 1397 | |
| 1563 | 1398 | (F) #! 行に書かれた内容にしたがって、Perl は示されたプログラムを |
| 1564 | 1399 | 実行しようとしました。 |
| 1565 | 1400 | そうしたくないのであれば、#! 行のどこかに、"perl" と書いておいてください。 |
| 1566 | 1401 | |
| 1567 | 1402 | =item Can't execute %s |
| 1568 | 1403 | |
| 1569 | 1404 | =begin original |
| 1570 | 1405 | |
| 1571 | 1406 | (F) You used the B<-S> switch, but the copies of the script to execute |
| 1572 | 1407 | found in the PATH did not have correct permissions. |
| 1573 | 1408 | |
| 1574 | 1409 | =end original |
| 1575 | 1410 | |
| 1576 | 1411 | (F) B<-S> スイッチを使いましたが、PATH に見つかった実行するスクリプトが |
| 1577 | 1412 | 正しいパーミッションではありませんでした。 |
| 1578 | 1413 | |
| 1579 | 1414 | =item Can't find an opnumber for "%s" |
| 1580 | 1415 | |
| 1581 | 1416 | =begin original |
| 1582 | 1417 | |
| 1583 | 1418 | (F) A string of a form C<CORE::word> was given to prototype(), but there |
| 1584 | 1419 | is no builtin with the name C<word>. |
| 1585 | 1420 | |
| 1586 | 1421 | =end original |
| 1587 | 1422 | |
| 1588 | 1423 | (F) C<CORE::word> の形の文字列が prototype() に与えられましたが、 |
| 1589 | 1424 | 名前 C<word> は組み込みではありません。 |
| 1590 | 1425 | |
| 1591 | =item Can't find %s character property "%s" | |
| 1592 | ||
| 1593 | =begin original | |
| 1594 | ||
| 1595 | (F) You used C<\p{}> or C<\P{}> but the character property by that name | |
| 1596 | could not be found. Maybe you misspelled the name of the property | |
| 1597 | (remember that the names of character properties consist only of | |
| 1598 | alphanumeric characters), or maybe you forgot the C<Is> or C<In> prefix? | |
| 1599 | ||
| 1600 | =end original | |
| 1601 | ||
| 1602 | (F) C<\p{}> か C<\P{}> を使っていますが、そのような名前の文字プロパティは | |
| 1603 | 見つかりませんでした。 | |
| 1604 | おそらくプロパティ名をタイプミスした(文字プロパティ名は英数字だけから | |
| 1605 | 構成されていることを忘れないでください)か、C<Is> か C<In> の接頭辞を | |
| 1606 | 忘れたのでしょう。 | |
| 1607 | ||
| 1608 | 1426 | =item Can't find label %s |
| 1609 | 1427 | |
| 1610 | 1428 | =begin original |
| 1611 | 1429 | |
| 1612 | 1430 | (F) You said to goto a label that isn't mentioned anywhere that it's |
| 1613 | 1431 | possible for us to go to. See L<perlfunc/goto>. |
| 1614 | 1432 | |
| 1615 | 1433 | =end original |
| 1616 | 1434 | |
| 1617 | 1435 | (F) どこにも見つからないラベルへ goto を行なおうとしました。 |
| 1618 | 1436 | L<perlfunc/goto> を参照してください。 |
| 1619 | 1437 | |
| 1620 | 1438 | =item Can't find %s on PATH |
| 1621 | 1439 | |
| 1622 | 1440 | =begin original |
| 1623 | 1441 | |
| 1624 | 1442 | (F) You used the B<-S> switch, but the script to execute could not be |
| 1625 | 1443 | found in the PATH. |
| 1626 | 1444 | |
| 1627 | 1445 | =end original |
| 1628 | 1446 | |
| 1629 | 1447 | B<-S> オプションを使いましたが、実行するスクリプトは PATH に |
| 1630 | 1448 | 見つかりませんでした。 |
| 1631 | 1449 | |
| 1632 | 1450 | =item Can't find %s on PATH, '.' not in PATH |
| 1633 | 1451 | |
| 1634 | 1452 | =begin original |
| 1635 | 1453 | |
| 1636 | 1454 | (F) You used the B<-S> switch, but the script to execute could not be |
| 1637 | 1455 | found in the PATH, or at least not with the correct permissions. The |
| 1638 | 1456 | script exists in the current directory, but PATH prohibits running it. |
| 1639 | 1457 | |
| 1640 | 1458 | =end original |
| 1641 | 1459 | |
| 1642 | 1460 | (F) B<-S> オプションが使われましたが、 PATH に実行するスクリプトが |
| 1643 | 1461 | 見つかりません。あるいは少なくとも適切なパーミッションがありません。 |
| 1644 | 1462 | スクリプトはカレントディレクトリにはありますが、PATH に |
| 1645 | 1463 | カレントディレクトリは含まれていません。 |
| 1646 | 1464 | |
| 1647 | =item Can't find %s property definition %s | |
| 1648 | ||
| 1649 | =begin original | |
| 1650 | ||
| 1651 | (F) You may have tried to use C<\p> which means a Unicode property (for | |
| 1652 | example C<\p{Lu}> is all uppercase letters). If you did mean to use a | |
| 1653 | Unicode property, see L<perlunicode> for the list of known properties. | |
| 1654 | If you didn't mean to use a Unicode property, escape the C<\p>, either | |
| 1655 | by C<\\p> (just the C<\p>) or by C<\Q\p> (the rest of the string, until | |
| 1656 | possible C<\E>). | |
| 1657 | ||
| 1658 | =end original | |
| 1659 | ||
| 1660 | (F) (例えば \p{Lu} が全て大文字、のように) Unicode プロパティを意味する | |
| 1661 | C<\p> を使おうとしました。 | |
| 1662 | Unicode プロパティを使いたい場合は、既知のプロパティの一覧について | |
| 1663 | L<perlunicode> を参照してください。 | |
| 1664 | Unicode プロパティを使うつもりでない場合は、C<\\p> (単に C<\p>) または | |
| 1665 | C<\Q\p> (C<\E> までの残りの文字列) を使って C<\p> を | |
| 1666 | エスケープしてください。 | |
| 1667 | ||
| 1668 | 1465 | =item Can't find string terminator %s anywhere before EOF |
| 1669 | 1466 | |
| 1670 | 1467 | =begin original |
| 1671 | 1468 | |
| 1672 | 1469 | (F) Perl strings can stretch over multiple lines. This message means |
| 1673 | 1470 | that the closing delimiter was omitted. Because bracketed quotes count |
| 1674 | 1471 | nesting levels, the following is missing its final parenthesis: |
| 1675 | 1472 | |
| 1676 | 1473 | =end original |
| 1677 | 1474 | |
| 1678 | 1475 | (F) Perl の文字列は、複数行に渡ることができます。このメッセージは、 |
| 1679 | 1476 | 文字列を終わる区切り文字が見つからなかったことを意味します。 |
| 1680 | 1477 | 括弧類の区切り文字では、ネストを数えるので、以下では、最後の括弧が |
| 1681 | 1478 | 無いと言われます: |
| 1682 | 1479 | |
| 1683 | 1480 | print q(The character '(' starts a side comment.); |
| 1684 | 1481 | |
| 1685 | 1482 | =begin original |
| 1686 | 1483 | |
| 1687 | 1484 | If you're getting this error from a here-document, you may have included |
| 1688 | 1485 | unseen whitespace before or after your closing tag. A good programmer's |
| 1689 | 1486 | editor will have a way to help you find these characters. |
| 1690 | 1487 | |
| 1691 | 1488 | =end original |
| 1692 | 1489 | |
| 1693 | 1490 | このエラーがヒアドキュメントで起きた場合、閉じタグの前か後に |
| 1694 | 1491 | 見えない空白を含んでいるかもしれません。 |
| 1695 | 1492 | よいプログラマ用エディタには、このような文字を探す助けになる方法が |
| 1696 | 1493 | あります。 |
| 1697 | 1494 | |
| 1495 | =item Can't find %s property definition %s | |
| 1496 | ||
| 1497 | =begin original | |
| 1498 | ||
| 1499 | (F) You may have tried to use C<\p> which means a Unicode property for | |
| 1500 | example \p{Lu} is all uppercase letters. Escape the C<\p>, either | |
| 1501 | C<\\p> (just the C<\p>) or by C<\Q\p> (the rest of the string, until | |
| 1502 | possible C<\E>). | |
| 1503 | ||
| 1504 | =end original | |
| 1505 | ||
| 1506 | (F) 例えば \p{Lu} が全て大文字、のように、Unicode プロパティを意味する | |
| 1507 | C<\p> を使おうとしました。 | |
| 1508 | C<\\p> (単に C<\p>) または C<\Q\p> (C<\E> までの残りの文字列) を使って | |
| 1509 | C<\p> をエスケープしてください。 | |
| 1510 | ||
| 1698 | 1511 | =item Can't fork |
| 1699 | 1512 | |
| 1700 | 1513 | =begin original |
| 1701 | 1514 | |
| 1702 | 1515 | (F) A fatal error occurred while trying to fork while opening a |
| 1703 | 1516 | pipeline. |
| 1704 | 1517 | |
| 1705 | 1518 | =end original |
| 1706 | 1519 | |
| 1707 | 1520 | (F) パイプラインをオープンしようとして、fork を行なおうとして、 |
| 1708 | 1521 | 致命的エラーが発生しました。 |
| 1709 | 1522 | |
| 1710 | 1523 | =item Can't get filespec - stale stat buffer? |
| 1711 | 1524 | |
| 1712 | 1525 | =begin original |
| 1713 | 1526 | |
| 1714 | 1527 | (S) A warning peculiar to VMS. This arises because of the difference |
| 1715 | 1528 | between access checks under VMS and under the Unix model Perl assumes. |
| 1716 | 1529 | Under VMS, access checks are done by filename, rather than by bits in |
| 1717 | 1530 | the stat buffer, so that ACLs and other protections can be taken into |
| 1718 | 1531 | account. Unfortunately, Perl assumes that the stat buffer contains all |
| 1719 | 1532 | the necessary information, and passes it, instead of the filespec, to |
| 1720 | 1533 | the access checking routine. It will try to retrieve the filespec using |
| 1721 | 1534 | the device name and FID present in the stat buffer, but this works only |
| 1722 | 1535 | if you haven't made a subsequent call to the CRTL stat() routine, |
| 1723 | 1536 | because the device name is overwritten with each call. If this warning |
| 1724 | 1537 | appears, the name lookup failed, and the access checking routine gave up |
| 1725 | 1538 | and returned FALSE, just to be conservative. (Note: The access checking |
| 1726 | 1539 | routine knows about the Perl C<stat> operator and file tests, so you |
| 1727 | 1540 | shouldn't ever see this warning in response to a Perl command; it arises |
| 1728 | 1541 | only if some internal code takes stat buffers lightly.) |
| 1729 | 1542 | |
| 1730 | 1543 | =end original |
| 1731 | 1544 | |
| 1732 | 1545 | (S) VMS 特有の警告です。 |
| 1733 | 1546 | これは VMS と、Perl が仮定している Unix モデルでは、アクセスチェックに違いが |
| 1734 | 1547 | あることによって起こります。 |
| 1735 | 1548 | VMS では、アクセスチェックは stat バッファのビットではなくファイル名によって |
| 1736 | 1549 | 行われるので、ACL やその他の保護が考慮されます。 |
| 1737 | 1550 | 残念ながら、Perl は stat バッファに全ての必要な情報が含まれていると仮定して、 |
| 1738 | 1551 | アクセスチェックルーチンにはファイルスペックではなくこれを渡します。 |
| 1739 | 1552 | stat バッファにあるデバイス名と FID を使ってファイルスペックを |
| 1740 | 1553 | 取得しようとしますが、これは引き続いて CRTL stat() ルーチンを呼び出さない |
| 1741 | 1554 | 場合にのみ動作します; なぜならデバイス名は呼出し毎に上書きされるからです。 |
| 1742 | 1555 | この警告が出ると、名前の検索が失敗し、アクセスチェックルーチンは諦めて、 |
| 1743 | 1556 | 安全のためだけに FALSE を返します。 |
| 1744 | 1557 | (注意: アクセスチェックルーチンは Perl の C<stat> 演算子とファイル |
| 1745 | 1558 | テストについて知っているので、Perl コマンドの結果としてこの警告を見ることは |
| 1746 | 1559 | ないはずです; これは内部コートが stat バッファを軽率に扱った場合にのみ |
| 1747 | 1560 | 発生します。) |
| 1748 | 1561 | |
| 1749 | 1562 | =item Can't get pipe mailbox device name |
| 1750 | 1563 | |
| 1751 | 1564 | =begin original |
| 1752 | 1565 | |
| 1753 | 1566 | (P) An error peculiar to VMS. After creating a mailbox to act as a |
| 1754 | 1567 | pipe, Perl can't retrieve its name for later use. |
| 1755 | 1568 | |
| 1756 | 1569 | =end original |
| 1757 | 1570 | |
| 1758 | 1571 | (F) VMS 特有のエラーです。 |
| 1759 | 1572 | パイプとして働くメールボックスの作成後、後で使うための名前を |
| 1760 | 1573 | Perl が取得できませんでした。 |
| 1761 | 1574 | |
| 1762 | 1575 | =item Can't get SYSGEN parameter value for MAXBUF |
| 1763 | 1576 | |
| 1764 | 1577 | =begin original |
| 1765 | 1578 | |
| 1766 | 1579 | (P) An error peculiar to VMS. Perl asked $GETSYI how big you want your |
| 1767 | 1580 | mailbox buffers to be, and didn't get an answer. |
| 1768 | 1581 | |
| 1769 | 1582 | =end original |
| 1770 | 1583 | |
| 1771 | 1584 | (F) VMS 特有のエラーです。 |
| 1772 | 1585 | メールボックスバッファをどれくらいとるべきかを $GETSYI に |
| 1773 | 1586 | 問い合わせましたが、答えが得られませんでした。 |
| 1774 | 1587 | |
| 1775 | 1588 | =item Can't "goto" into the middle of a foreach loop |
| 1776 | 1589 | |
| 1777 | 1590 | =begin original |
| 1778 | 1591 | |
| 1779 | 1592 | (F) A "goto" statement was executed to jump into the middle of a foreach |
| 1780 | 1593 | loop. You can't get there from here. See L<perlfunc/goto>. |
| 1781 | 1594 | |
| 1782 | 1595 | =end original |
| 1783 | 1596 | |
| 1784 | 1597 | (F) "goto" 文で foreach ループの中に飛び込もうとしました。 |
| 1785 | 1598 | ここからそこへは行けません。 |
| 1786 | 1599 | L<perlfunc/goto> を参照してください。 |
| 1787 | 1600 | |
| 1788 | 1601 | =item Can't "goto" out of a pseudo block |
| 1789 | 1602 | |
| 1790 | 1603 | =begin original |
| 1791 | 1604 | |
| 1792 | 1605 | (F) A "goto" statement was executed to jump out of what might look like |
| 1793 | 1606 | a block, except that it isn't a proper block. This usually occurs if |
| 1794 | 1607 | you tried to jump out of a sort() block or subroutine, which is a no-no. |
| 1795 | 1608 | See L<perlfunc/goto>. |
| 1796 | 1609 | |
| 1797 | 1610 | =end original |
| 1798 | 1611 | |
| 1799 | 1612 | (F) "goto" 文でブロックのように見えるけれども、適切な |
| 1800 | 1613 | ブロックではないところから飛び出そうとしました。 |
| 1801 | 1614 | これは普通 sort() ブロックやサブルーチンから飛び出そうとしたときに |
| 1802 | 1615 | 起きますが、それはできません。 |
| 1803 | 1616 | L<perlfunc/goto> を参照してください。 |
| 1804 | 1617 | |
| 1805 | =item Can't goto subroutine from an eval- | |
| 1618 | =item Can't goto subroutine from an eval-string | |
| 1806 | 1619 | |
| 1807 | 1620 | =begin original |
| 1808 | 1621 | |
| 1809 | 1622 | (F) The "goto subroutine" call can't be used to jump out of an eval |
| 1810 | "string" o | |
| 1623 | "string". (You can use it to jump out of an eval {BLOCK}, but you | |
| 1624 | probably don't want to.) | |
| 1811 | 1625 | |
| 1812 | 1626 | =end original |
| 1813 | 1627 | |
| 1814 | (F) "goto subroutine" 呼び出しは eval "string" | |
| 1628 | (F) "goto subroutine" 呼び出しは eval "string" から飛び出すことは | |
| 1815 | ||
| 1629 | できません。 | |
| 1630 | (eval {BLOCK} から飛び出すことはできますが、多分そうしたくはないでしょう。) | |
| 1816 | 1631 | |
| 1817 | 1632 | =item Can't goto subroutine outside a subroutine |
| 1818 | 1633 | |
| 1819 | 1634 | =begin original |
| 1820 | 1635 | |
| 1821 | 1636 | (F) The deeply magical "goto subroutine" call can only replace one |
| 1822 | 1637 | subroutine call for another. It can't manufacture one out of whole |
| 1823 | 1638 | cloth. In general you should be calling it out of only an AUTOLOAD |
| 1824 | 1639 | routine anyway. See L<perlfunc/goto>. |
| 1825 | 1640 | |
| 1826 | 1641 | =end original |
| 1827 | 1642 | |
| 1828 | 1643 | (F) 結構マジカルな "goto subroutine" の呼び出しは、あるサブルーティン |
| 1829 | 1644 | 呼び出しを別のもので置き換えるだけです。 |
| 1830 | 1645 | 反物の状態から作り上げることはできません。 |
| 1831 | 1646 | 一般に、これを行なうのは、AUTOLOAD ルーティンから抜け出すときだけに |
| 1832 | 1647 | しておくべきです。 |
| 1833 | 1648 | L<perlfunc/goto> の項を参照してください。 |
| 1834 | 1649 | |
| 1835 | 1650 | =item Can't ignore signal CHLD, forcing to default |
| 1836 | 1651 | |
| 1837 | 1652 | =begin original |
| 1838 | 1653 | |
| 1839 | 1654 | (W signal) Perl has detected that it is being run with the SIGCHLD |
| 1840 | 1655 | signal (sometimes known as SIGCLD) disabled. Since disabling this |
| 1841 | 1656 | signal will interfere with proper determination of exit status of child |
| 1842 | 1657 | processes, Perl has reset the signal to its default value. This |
| 1843 | 1658 | situation typically indicates that the parent program under which Perl |
| 1844 | 1659 | may be running (e.g. cron) is being very careless. |
| 1845 | 1660 | |
| 1846 | 1661 | =end original |
| 1847 | 1662 | |
| 1848 | 1663 | (W signal) Perl は、SIGCHLD (SIGCLD としても知られます) シグナルが |
| 1849 | 1664 | 無効化された状態で実行されていることを検出しました。 |
| 1850 | 1665 | このシグナルが無効化されると子プロセスの終了ステータスを適切に |
| 1851 | 1666 | 決定できなくなるので、Perl はシグナルをデフォルト値にリセットしました。 |
| 1852 | 1667 | この状況は典型的には Perl が動作している親プログラム(cron など)が |
| 1853 | 1668 | とても不注意であることを示しています。 |
| 1854 | 1669 | |
| 1855 | 1670 | =item Can't "last" outside a loop block |
| 1856 | 1671 | |
| 1857 | 1672 | =begin original |
| 1858 | 1673 | |
| 1859 | 1674 | (F) A "last" statement was executed to break out of the current block, |
| 1860 | 1675 | except that there's this itty bitty problem called there isn't a current |
| 1861 | 1676 | block. Note that an "if" or "else" block doesn't count as a "loopish" |
| 1862 | 1677 | block, as doesn't a block given to sort(), map() or grep(). You can |
| 1863 | 1678 | usually double the curlies to get the same effect though, because the |
| 1864 | 1679 | inner curlies will be considered a block that loops once. See |
| 1865 | 1680 | L<perlfunc/last>. |
| 1866 | 1681 | |
| 1867 | 1682 | =end original |
| 1868 | 1683 | |
| 1869 | 1684 | (F) 現在のブロックから脱出するために、"last" 文を実行しましたが、 |
| 1870 | 1685 | 残念なことにブロックの中ではありませんでした。 |
| 1871 | 1686 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
| 1872 | 1687 | 同様「ループ風」ブロックではないので、注意してください。 |
| 1873 | 1688 | ただし、中括弧を二重にすれば、内側の中括弧が、1 度だけループするブロックと |
| 1874 | 1689 | みなされますから、同じ効果が得られます。 |
| 1875 | 1690 | L<perlfunc/last> を参照してください。 |
| 1876 | 1691 | |
| 1877 | =item Can't load '%s' for module %s | |
| 1878 | ||
| 1879 | =begin original | |
| 1880 | ||
| 1881 | (F) The module you tried to load failed to load a dynamic extension. This | |
| 1882 | may either mean that you upgraded your version of perl to one that is | |
| 1883 | incompatible with your old dynamic extensions (which is known to happen | |
| 1884 | between major versions of perl), or (more likely) that your dynamic | |
| 1885 | extension was built against an older version of the library that is | |
| 1886 | installed on your system. You may need to rebuild your old dynamic | |
| 1887 | extensions. | |
| 1888 | ||
| 1889 | =end original | |
| 1890 | ||
| 1891 | (F) 読み込もうとしたモジュールは、動的拡張モジュールの読み込みに | |
| 1892 | 失敗しました。 | |
| 1893 | これは古い動的拡張モジュールと互換性のない perl にアップグレードしたか | |
| 1894 | (これは perl のメジャーバージョン間で起きることが知られています)、 | |
| 1895 | (よりあり得るのは)動的拡張モジュールがシステムにインストールされている古い | |
| 1896 | バージョンのライブラリに対してビルドされているかです。 | |
| 1897 | 古い動的拡張モジュールをリビルドする必要があるでしょう。 | |
| 1898 | ||
| 1899 | 1692 | =item Can't localize lexical variable %s |
| 1900 | 1693 | |
| 1901 | 1694 | =begin original |
| 1902 | 1695 | |
| 1903 | 1696 | (F) You used local on a variable name that was previously declared as a |
| 1904 | 1697 | lexical variable using "my". This is not allowed. If you want to |
| 1905 | 1698 | localize a package variable of the same name, qualify it with the |
| 1906 | 1699 | package name. |
| 1907 | 1700 | |
| 1908 | 1701 | =end original |
| 1909 | 1702 | |
| 1910 | 1703 | (F) 以前に "my" を使ってレキシカル変数として宣言された変数名に対して |
| 1911 | 1704 | local を使いました。 |
| 1912 | 1705 | これは認められていません。 |
| 1913 | 1706 | 同じ名前のパッケージ変数をローカル化したい場合は、 |
| 1914 | 1707 | パッケージ名で修飾してください。 |
| 1915 | 1708 | |
| 1916 | 1709 | =item Can't localize pseudo-hash element |
| 1917 | 1710 | |
| 1918 | 1711 | =begin original |
| 1919 | 1712 | |
| 1920 | 1713 | (F) You said something like C<< local $ar->{'key'} >>, where $ar is a |
| 1921 | 1714 | reference to a pseudo-hash. That hasn't been implemented yet, but you |
| 1922 | 1715 | can get a similar effect by localizing the corresponding array element |
| 1923 | 1716 | directly -- C<< local $ar->[$ar->[0]{'key'}] >>. |
| 1924 | 1717 | |
| 1925 | 1718 | =end original |
| 1926 | 1719 | |
| 1927 | 1720 | (F) $ar が擬似ハッシュへのリファレンスのとき、C<< local $ar->{'key'} >> の |
| 1928 | 1721 | ようなことをしました。 |
| 1929 | 1722 | これはまだ実装されていませんが、対応する配列要素を直接ローカル化することで |
| 1930 | 1723 | 似たような効果が得られます -- C<< local $ar->[$ar->[0]{'key'}] >>。 |
| 1931 | 1724 | |
| 1932 | 1725 | =item Can't localize through a reference |
| 1933 | 1726 | |
| 1934 | 1727 | =begin original |
| 1935 | 1728 | |
| 1936 | 1729 | (F) You said something like C<local $$ref>, which Perl can't currently |
| 1937 | 1730 | handle, because when it goes to restore the old value of whatever $ref |
| 1938 | 1731 | pointed to after the scope of the local() is finished, it can't be sure |
| 1939 | that $ref will still be a reference. | |
| 1732 | that $ref will still be a reference. | |
| 1940 | 1733 | |
| 1941 | 1734 | =end original |
| 1942 | 1735 | |
| 1943 | 1736 | (F) C<local $$ref> のようなことをしましたが、Perl は現在のところこれを |
| 1944 | 1737 | 扱えません; なぜなら、local() のスコープが終了した後、$ref が |
| 1945 | 1738 | 指しているものの古い値を戻すとき、$ref がまだリファレンスかどうかが |
| 1946 | 1739 | わからないからです。 |
| 1947 | 1740 | |
| 1948 | 1741 | =item Can't locate %s |
| 1949 | 1742 | |
| 1950 | 1743 | =begin original |
| 1951 | 1744 | |
| 1952 | 1745 | (F) You said to C<do> (or C<require>, or C<use>) a file that couldn't be |
| 1953 | 1746 | found. Perl looks for the file in all the locations mentioned in @INC, |
| 1954 | 1747 | unless the file name included the full path to the file. Perhaps you |
| 1955 | 1748 | need to set the PERL5LIB or PERL5OPT environment variable to say where |
| 1956 | 1749 | the extra library is, or maybe the script needs to add the library name |
| 1957 | 1750 | to @INC. Or maybe you just misspelled the name of the file. See |
| 1958 | 1751 | L<perlfunc/require> and L<lib>. |
| 1959 | 1752 | |
| 1960 | 1753 | =end original |
| 1961 | 1754 | |
| 1962 | 1755 | (F) ファイルを C<do> (または、C<require>、C<use>) するように |
| 1963 | 1756 | 指示されましたが、見つかりませんでした。 |
| 1964 | 1757 | Perl は、フルパスで指定されていない場合ファイルを @INC で示される |
| 1965 | 1758 | 全ての場所を検索します。 |
| 1966 | 1759 | おそらく、追加ライブラリの場所を示すために、 |
| 1967 | 1760 | PERL5LIB または PERL5OPT の環境変数を指定する必要があるか、 |
| 1968 | 1761 | スクリプトの中で @INC にライブラリ名を追加する必要があります。 |
| 1969 | 1762 | ファイル名のスペルミスの可能性もあります。 |
| 1970 | 1763 | L<perlfunc/require> と L<lib> を参照してください。 |
| 1971 | 1764 | |
| 1972 | 1765 | =item Can't locate auto/%s.al in @INC |
| 1973 | 1766 | |
| 1974 | 1767 | =begin original |
| 1975 | 1768 | |
| 1976 | 1769 | (F) A function (or method) was called in a package which allows |
| 1977 | 1770 | autoload, but there is no function to autoload. Most probable causes |
| 1978 | 1771 | are a misprint in a function/method name or a failure to C<AutoSplit> |
| 1979 | 1772 | the file, say, by doing C<make install>. |
| 1980 | 1773 | |
| 1981 | 1774 | =end original |
| 1982 | 1775 | |
| 1983 | 1776 | (F) 関数(またはメソッド)がオートロードを許可しているパッケージで |
| 1984 | 1777 | 呼び出されましたが、オートロードする関数がありませんでした。 |
| 1985 | 1778 | 最も可能性のある原因は関数/メソッド名の誤記か、C<make install> と |
| 1986 | 1779 | することによるファイルの C<AutoSplit> の失敗です。 |
| 1987 | 1780 | |
| 1988 | =item Can't locate loadable object for module %s in @INC | |
| 1989 | ||
| 1990 | =begin original | |
| 1991 | ||
| 1992 | (F) The module you loaded is trying to load an external library, like | |
| 1993 | for example, C<foo.so> or C<bar.dll>, but the L<DynaLoader> module was | |
| 1994 | unable to locate this library. See L<DynaLoader>. | |
| 1995 | ||
| 1996 | =end original | |
| 1997 | ||
| 1998 | (F) 読み込まれたモジュールは C<foo.so> や C<bar.dll> のような外部 | |
| 1999 | ライブラリを読み込もうとしましたが、L<DynaLoader> モジュールは、この | |
| 2000 | ライブラリの位置がわかりませんでした。 | |
| 2001 | L<DynaLoader> を参照してください。 | |
| 2002 | ||
| 2003 | 1781 | =item Can't locate object method "%s" via package "%s" |
| 2004 | 1782 | |
| 2005 | 1783 | =begin original |
| 2006 | 1784 | |
| 2007 | 1785 | (F) You called a method correctly, and it correctly indicated a package |
| 2008 | 1786 | functioning as a class, but that package doesn't define that particular |
| 2009 | 1787 | method, nor does any of its base classes. See L<perlobj>. |
| 2010 | 1788 | |
| 2011 | 1789 | =end original |
| 2012 | 1790 | |
| 2013 | 1791 | (F) 正しくメソッドを呼び出し、それは、クラスとして機能するパッケージを |
| 2014 | 1792 | 正しく示していますが、そのパッケージにも、基底クラスにも、 |
| 2015 | 1793 | 該当のメソッドが定義されていません。 |
| 2016 | 1794 | L<perlobj> を参照してください。 |
| 2017 | 1795 | |
| 2018 | =item | |
| 1796 | =item (perhaps you forgot to load "%s"?) | |
| 2019 | 1797 | |
| 2020 | 1798 | =begin original |
| 2021 | 1799 | |
| 2022 | ( | |
| 1800 | (F) This is an educated guess made in conjunction with the message | |
| 2023 | ||
| 1801 | "Can't locate object method \"%s\" via package \"%s\"". It often means | |
| 1802 | that a method requires a package that has not been loaded. | |
| 2024 | 1803 | |
| 2025 | 1804 | =end original |
| 2026 | 1805 | |
| 2027 | ( | |
| 1806 | (F) これは "Can't locate object method \"%s\" via package \"%s\"" の | |
| 2028 | ||
| 1807 | メッセージと共に出る教育的な推測です。 | |
| 1808 | これはしばしばメソッドがまだロードされていないパッケージを | |
| 1809 | 要求していることを意味します。 | |
| 2029 | 1810 | |
| 2030 | =item Can't locate | |
| 1811 | =item Can't locate package %s for @%s::ISA | |
| 2031 | 1812 | |
| 2032 | 1813 | =begin original |
| 2033 | 1814 | |
| 2034 | ( | |
| 1815 | (W syntax) The @ISA array contained the name of another package that | |
| 2035 | ||
| 1816 | doesn't seem to exist. | |
| 2036 | 1817 | |
| 2037 | 1818 | =end original |
| 2038 | 1819 | |
| 2039 | ( | |
| 1820 | (W syntax) 配列 @ISA に別のパッケージ名が記されていますが、 | |
| 2040 | ||
| 1821 | 存在していないようです。 | |
| 2041 | 1822 | |
| 2042 | 1823 | =item Can't make list assignment to \%ENV on this system |
| 2043 | 1824 | |
| 2044 | 1825 | =begin original |
| 2045 | 1826 | |
| 2046 | 1827 | (F) List assignment to %ENV is not supported on some systems, notably |
| 2047 | 1828 | VMS. |
| 2048 | 1829 | |
| 2049 | 1830 | =end original |
| 2050 | 1831 | |
| 2051 | 1832 | (F) %ENV へのリスト代入はいくつかのシステム、特に VMS では |
| 2052 | 1833 | 対応していません。 |
| 2053 | 1834 | |
| 2054 | 1835 | =item Can't modify %s in %s |
| 2055 | 1836 | |
| 2056 | 1837 | =begin original |
| 2057 | 1838 | |
| 2058 | 1839 | (F) You aren't allowed to assign to the item indicated, or otherwise try |
| 2059 | 1840 | to change it, such as with an auto-increment. |
| 2060 | 1841 | |
| 2061 | 1842 | =end original |
| 2062 | 1843 | |
| 2063 | 1844 | (F) 指定されたものは、代入、インクリメントなど、変更が許されていません。 |
| 2064 | 1845 | |
| 2065 | 1846 | =item Can't modify nonexistent substring |
| 2066 | 1847 | |
| 2067 | 1848 | =begin original |
| 2068 | 1849 | |
| 2069 | 1850 | (P) The internal routine that does assignment to a substr() was handed |
| 2070 | 1851 | a NULL. |
| 2071 | 1852 | |
| 2072 | 1853 | =end original |
| 2073 | 1854 | |
| 2074 | 1855 | (P) substr() への代入を行なう内部ルーティンに NULL が渡されました。 |
| 2075 | 1856 | |
| 2076 | 1857 | =item Can't modify non-lvalue subroutine call |
| 2077 | 1858 | |
| 2078 | 1859 | =begin original |
| 2079 | 1860 | |
| 2080 | 1861 | (F) Subroutines meant to be used in lvalue context should be declared as |
| 2081 | 1862 | such, see L<perlsub/"Lvalue subroutines">. |
| 2082 | 1863 | |
| 2083 | 1864 | =end original |
| 2084 | 1865 | |
| 2085 | 1866 | (F) 左辺値コンテキストとして使うサブルーチンは、そのように |
| 2086 | 1867 | 宣言しなければなりません; |
| 2087 | 1868 | L<perlsub/"Lvalue subroutines"> を参照してください。 |
| 2088 | 1869 | |
| 2089 | 1870 | =item Can't msgrcv to read-only var |
| 2090 | 1871 | |
| 2091 | 1872 | =begin original |
| 2092 | 1873 | |
| 2093 | 1874 | (F) The target of a msgrcv must be modifiable to be used as a receive |
| 2094 | 1875 | buffer. |
| 2095 | 1876 | |
| 2096 | 1877 | =end original |
| 2097 | 1878 | |
| 2098 | 1879 | (F) msgrcv で使用する変数は、受信バッファとして使用しますので、 |
| 2099 | 1880 | 変更可能なものでなければなりません。 |
| 2100 | 1881 | |
| 2101 | 1882 | =item Can't "next" outside a loop block |
| 2102 | 1883 | |
| 2103 | 1884 | =begin original |
| 2104 | 1885 | |
| 2105 | 1886 | (F) A "next" statement was executed to reiterate the current block, but |
| 2106 | 1887 | there isn't a current block. Note that an "if" or "else" block doesn't |
| 2107 | 1888 | count as a "loopish" block, as doesn't a block given to sort(), map() or |
| 2108 | 1889 | grep(). You can usually double the curlies to get the same effect |
| 2109 | 1890 | though, because the inner curlies will be considered a block that loops |
| 2110 | 1891 | once. See L<perlfunc/next>. |
| 2111 | 1892 | |
| 2112 | 1893 | =end original |
| 2113 | 1894 | |
| 2114 | 1895 | (F) 現在のブロックの繰り返しを進めるために、"next" 文を実行しましたが、 |
| 2115 | 1896 | ブロックの中ではありませんでした。 |
| 2116 | 1897 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
| 2117 | 1898 | 同様「ループ風」ブロックではないので、注意してください。 |
| 2118 | 1899 | ただし、中括弧を二重にすれば、内側の中括弧が、1 度だけループするブロックと |
| 2119 | 1900 | みなされますから、同じ効果が得られます。 |
| 2120 | 1901 | L<perlfunc/next> を参照してください。 |
| 2121 | 1902 | |
| 2122 | 1903 | =item Can't open %s: %s |
| 2123 | 1904 | |
| 2124 | 1905 | =begin original |
| 2125 | 1906 | |
| 2126 | 1907 | (S inplace) The implicit opening of a file through use of the C<< <> >> |
| 2127 | 1908 | filehandle, either implicitly under the C<-n> or C<-p> command-line |
| 2128 | 1909 | switches, or explicitly, failed for the indicated reason. Usually this |
| 2129 | 1910 | is because you don't have read permission for a file which you named on |
| 2130 | 1911 | the command line. |
| 2131 | 1912 | |
| 2132 | 1913 | =end original |
| 2133 | 1914 | |
| 2134 | 1915 | (S inplace) C<< <> >> ファイルハンドルによる暗黙的なファイルオープンまたは |
| 2135 | 1916 | C<-n> か C<-p> コマンドラインスイッチによる暗黙的な、あるいは |
| 2136 | 1917 | 明示的なファイルオープンが表示した理由によって失敗しました。 |
| 2137 | 1918 | 通常、これはコマンドラインで指定したファイルの読み込み権限が無いときに起こります。 |
| 2138 | 1919 | |
| 2139 | =item Can't open a reference | |
| 2140 | ||
| 2141 | =begin original | |
| 2142 | ||
| 2143 | (W io) You tried to open a scalar reference for reading or writing, | |
| 2144 | using the 3-arg open() syntax : | |
| 2145 | ||
| 2146 | =end original | |
| 2147 | ||
| 2148 | (W io) 3 引数の open() の構文を使ってスカラリファレンスを読み込みまたは | |
| 2149 | 書き込みのために開こうとしました: | |
| 2150 | ||
| 2151 | open FH, '>', $ref; | |
| 2152 | ||
| 2153 | =begin original | |
| 2154 | ||
| 2155 | but your version of perl is compiled without perlio, and this form of | |
| 2156 | open is not supported. | |
| 2157 | ||
| 2158 | =end original | |
| 2159 | ||
| 2160 | しかしこのバージョンの perl は perlio なしでコンパイルされていて、 | |
| 2161 | この形式の open は対応していません。 | |
| 2162 | ||
| 2163 | 1920 | =item Can't open bidirectional pipe |
| 2164 | 1921 | |
| 2165 | 1922 | =begin original |
| 2166 | 1923 | |
| 2167 | 1924 | (W pipe) You tried to say C<open(CMD, "|cmd|")>, which is not supported. |
| 2168 | 1925 | You can try any of several modules in the Perl library to do this, such |
| 2169 | 1926 | as IPC::Open2. Alternately, direct the pipe's output to a file using |
| 2170 | 1927 | ">", and then read it in under a different file handle. |
| 2171 | 1928 | |
| 2172 | 1929 | =end original |
| 2173 | 1930 | |
| 2174 | 1931 | (W pipe) サポートされていない C<open(CMD, "|cmd|")> を行なおうとしました。 |
| 2175 | 1932 | これを行なうためには、Perl ライブラリの IPC::Open2 のようないくつかの |
| 2176 | 1933 | モジュールを使うことができます。 |
| 2177 | 1934 | 別の方法として、パイプされたものを ">" を使っていったんファイルに出力し、 |
| 2178 | 1935 | あとで別のファイルハンドルで読み込みを行なうことも考えられます。 |
| 2179 | 1936 | |
| 2180 | 1937 | =item Can't open error file %s as stderr |
| 2181 | 1938 | |
| 2182 | 1939 | =begin original |
| 2183 | 1940 | |
| 2184 | 1941 | (F) An error peculiar to VMS. Perl does its own command line |
| 2185 | 1942 | redirection, and couldn't open the file specified after '2>' or '2>>' on |
| 2186 | 1943 | the command line for writing. |
| 2187 | 1944 | |
| 2188 | 1945 | =end original |
| 2189 | 1946 | |
| 2190 | 1947 | (F) VMSに固有のエラーです。 |
| 2191 | 1948 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
| 2192 | 1949 | コマンドラインで書き込みのために '2>' や '2>>' の後に指定された |
| 2193 | 1950 | ファイルを開けませんでした。 |
| 2194 | 1951 | |
| 2195 | 1952 | =item Can't open input file %s as stdin |
| 2196 | 1953 | |
| 2197 | 1954 | =begin original |
| 2198 | 1955 | |
| 2199 | 1956 | (F) An error peculiar to VMS. Perl does its own command line |
| 2200 | 1957 | redirection, and couldn't open the file specified after '<' on the |
| 2201 | 1958 | command line for reading. |
| 2202 | 1959 | |
| 2203 | 1960 | =end original |
| 2204 | 1961 | |
| 2205 | 1962 | (F) VMSに固有のエラーです。 |
| 2206 | 1963 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
| 2207 | 1964 | コマンドラインで読み込みのために '<' の後に指定された |
| 2208 | 1965 | ファイルを開けませんでした。 |
| 2209 | 1966 | |
| 2210 | 1967 | =item Can't open output file %s as stdout |
| 2211 | 1968 | |
| 2212 | 1969 | =begin original |
| 2213 | 1970 | |
| 2214 | 1971 | (F) An error peculiar to VMS. Perl does its own command line |
| 2215 | 1972 | redirection, and couldn't open the file specified after '>' or '>>' on |
| 2216 | 1973 | the command line for writing. |
| 2217 | 1974 | |
| 2218 | 1975 | =end original |
| 2219 | 1976 | |
| 2220 | 1977 | (F) VMSに固有のエラーです。 |
| 2221 | 1978 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
| 2222 | 1979 | コマンドラインで書き込みのために '>' や '>>' の後に指定された |
| 2223 | 1980 | ファイルを開けませんでした。 |
| 2224 | 1981 | |
| 2225 | 1982 | =item Can't open output pipe (name: %s) |
| 2226 | 1983 | |
| 2227 | 1984 | =begin original |
| 2228 | 1985 | |
| 2229 | 1986 | (P) An error peculiar to VMS. Perl does its own command line |
| 2230 | 1987 | redirection, and couldn't open the pipe into which to send data destined |
| 2231 | 1988 | for stdout. |
| 2232 | 1989 | |
| 2233 | 1990 | =end original |
| 2234 | 1991 | |
| 2235 | 1992 | (P) VMSに固有のエラーです。 |
| 2236 | 1993 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
| 2237 | 1994 | 標準出力としてデータを送るパイプを開けませんでした。 |
| 2238 | 1995 | |
| 2239 | =item Can't open perl script%s | |
| 1996 | =item Can't open perl script "%s": %s | |
| 2240 | 1997 | |
| 2241 | 1998 | =begin original |
| 2242 | 1999 | |
| 2243 | 2000 | (F) The script you specified can't be opened for the indicated reason. |
| 2244 | 2001 | |
| 2245 | 2002 | =end original |
| 2246 | 2003 | |
| 2247 | 2004 | (F) 指定したスクリプトが、表示した理由によってオープンできませんでした。 |
| 2248 | 2005 | |
| 2249 | =begin original | |
| 2250 | ||
| 2251 | If you're debugging a script that uses #!, and normally relies on the | |
| 2252 | shell's $PATH search, the -S option causes perl to do that search, so | |
| 2253 | you don't have to type the path or C<`which $scriptname`>. | |
| 2254 | ||
| 2255 | =end original | |
| 2256 | ||
| 2257 | #! を使うスクリプトをデバッグしていて、普通はシェルの $PATH 検索に | |
| 2258 | 頼っている場合は、-S オプションを付けることで perl が検索するようになり、 | |
| 2259 | パスや C<`which $scriptname`> をタイプする必要がなくなります。 | |
| 2260 | ||
| 2261 | 2006 | =item Can't read CRTL environ |
| 2262 | 2007 | |
| 2263 | 2008 | =begin original |
| 2264 | 2009 | |
| 2265 | 2010 | (S) A warning peculiar to VMS. Perl tried to read an element of %ENV |
| 2266 | 2011 | from the CRTL's internal environment array and discovered the array was |
| 2267 | 2012 | missing. You need to figure out where your CRTL misplaced its environ |
| 2268 | 2013 | or define F<PERL_ENV_TABLES> (see L<perlvms>) so that environ is not |
| 2269 | 2014 | searched. |
| 2270 | 2015 | |
| 2271 | 2016 | =end original |
| 2272 | 2017 | |
| 2273 | 2018 | (S) VMSに固有の警告です。 |
| 2274 | 2019 | Perl は %ENV の要素を CRTL の内部環境配列から読み込もうとしましたが、 |
| 2275 | 2020 | 配列がないことを発見しました。 |
| 2276 | 2021 | CRTL が環境をどこに間違えて置いたかを探し出すか、F<PERL_ENV_TABLE> を |
| 2277 | 2022 | 定義して(L<perlvms> を参照してください)環境を検索しないようにする |
| 2278 | 2023 | 必要があります。 |
| 2279 | 2024 | |
| 2280 | 2025 | =item Can't redefine active sort subroutine %s |
| 2281 | 2026 | |
| 2282 | 2027 | =begin original |
| 2283 | 2028 | |
| 2284 | 2029 | (F) Perl optimizes the internal handling of sort subroutines and keeps |
| 2285 | 2030 | pointers into them. You tried to redefine one such sort subroutine when |
| 2286 | 2031 | it was currently active, which is not allowed. If you really want to do |
| 2287 | 2032 | this, you should write C<sort { &func } @x> instead of C<sort func @x>. |
| 2288 | 2033 | |
| 2289 | 2034 | =end original |
| 2290 | 2035 | |
| 2291 | 2036 | (F) Perl はソートサブルーチンの内部操作を最適化して、 |
| 2292 | 2037 | そこへのポインタを保持しています。 |
| 2293 | 2038 | そのようなソートサブルーチンを現在アクティブな状態の時に |
| 2294 | 2039 | 再定義しようとしましたが、それはできません。 |
| 2295 | 2040 | 本当にそのようなことがしたい場合は、 |
| 2296 | 2041 | C<sort func @x> ではなく C<sort { &func } @x> と書くべきです。 |
| 2297 | 2042 | |
| 2298 | 2043 | =item Can't "redo" outside a loop block |
| 2299 | 2044 | |
| 2300 | 2045 | =begin original |
| 2301 | 2046 | |
| 2302 | 2047 | (F) A "redo" statement was executed to restart the current block, but |
| 2303 | 2048 | there isn't a current block. Note that an "if" or "else" block doesn't |
| 2304 | 2049 | count as a "loopish" block, as doesn't a block given to sort(), map() |
| 2305 | 2050 | or grep(). You can usually double the curlies to get the same effect |
| 2306 | 2051 | though, because the inner curlies will be considered a block that |
| 2307 | 2052 | loops once. See L<perlfunc/redo>. |
| 2308 | 2053 | |
| 2309 | 2054 | =end original |
| 2310 | 2055 | |
| 2311 | 2056 | (F) 現在のブロックの繰り返しをもう一度行なうために、 |
| 2312 | 2057 | "redo" 文を実行しましたが、ブロックの中ではありませんでした。 |
| 2313 | 2058 | "if" や "else" のブロックは、sort(), map(), grep() のブロックが違うのと |
| 2314 | 2059 | 同様「ループ風」ブロックではないので、注意してください。 |
| 2315 | 2060 | ただし、中括弧を二重にすれば、内側の中括弧が、1 度だけループする |
| 2316 | 2061 | ブロックとみなされますから、同じ効果が得られます。 |
| 2317 | 2062 | L<perlfunc/redo> を参照してください。 |
| 2318 | 2063 | |
| 2319 | =item Can't remove %s: %s, skipping file | |
| 2064 | =item Can't remove %s: %s, skipping file | |
| 2320 | 2065 | |
| 2321 | 2066 | =begin original |
| 2322 | 2067 | |
| 2323 | 2068 | (S inplace) You requested an inplace edit without creating a backup |
| 2324 | 2069 | file. Perl was unable to remove the original file to replace it with |
| 2325 | 2070 | the modified file. The file was left unmodified. |
| 2326 | 2071 | |
| 2327 | 2072 | =end original |
| 2328 | 2073 | |
| 2329 | 2074 | (S inplace) バックアップを作成せずにその場編集することを要求しました。 |
| 2330 | 2075 | Perl は変更したファイルで置き換えるために元のファイルを削除することが |
| 2331 | 2076 | できませんでした。 |
| 2332 | 2077 | ファイルは変更されずに残されます。 |
| 2333 | 2078 | |
| 2334 | 2079 | =item Can't rename %s to %s: %s, skipping file |
| 2335 | 2080 | |
| 2336 | 2081 | =begin original |
| 2337 | 2082 | |
| 2338 | 2083 | (S inplace) The rename done by the B<-i> switch failed for some reason, |
| 2339 | 2084 | probably because you don't have write permission to the directory. |
| 2340 | 2085 | |
| 2341 | 2086 | =end original |
| 2342 | 2087 | |
| 2343 | 2088 | (S inplace) B<-i> スイッチで行なわれた rename が何らかの理由によって、 |
| 2344 | 2089 | うまく行きませんでした。 |
| 2345 | 2090 | ディレクトリに書き込み権がないことも考えられます。 |
| 2346 | 2091 | |
| 2347 | 2092 | =item Can't reopen input pipe (name: %s) in binary mode |
| 2348 | 2093 | |
| 2349 | 2094 | =begin original |
| 2350 | 2095 | |
| 2351 | 2096 | (P) An error peculiar to VMS. Perl thought stdin was a pipe, and tried |
| 2352 | 2097 | to reopen it to accept binary data. Alas, it failed. |
| 2353 | 2098 | |
| 2354 | 2099 | =end original |
| 2355 | 2100 | |
| 2356 | 2101 | (P) VMS に固有のエラーです。 |
| 2357 | 2102 | Perl は標準入力がパイプであると考えて、バイナリデータを受け入れるために |
| 2358 | 2103 | 再オープンしようとしました。 |
| 2359 | 2104 | 悲しいかな、それは失敗しました。 |
| 2360 | 2105 | |
| 2361 | 2106 | =item Can't resolve method `%s' overloading `%s' in package `%s' |
| 2362 | 2107 | |
| 2363 | 2108 | =begin original |
| 2364 | 2109 | |
| 2365 | 2110 | (F|P) Error resolving overloading specified by a method name (as opposed |
| 2366 | 2111 | to a subroutine reference): no such method callable via the package. If |
| 2367 | 2112 | method name is C<???>, this is an internal error. |
| 2368 | 2113 | |
| 2369 | 2114 | =end original |
| 2370 | 2115 | |
| 2371 | 2116 | (F|P) (サブルーチンのリファレンスではなく)メソッド名で指定された |
| 2372 | 2117 | オーバーロードの解決でのエラー: そのようなメソッドはパッケージ経由で |
| 2373 | 2118 | 呼び出せません。 |
| 2374 | 2119 | もしメソッド名が C<???> なら、内部エラーです。 |
| 2375 | 2120 | |
| 2376 | 2121 | =item Can't reswap uid and euid |
| 2377 | 2122 | |
| 2378 | 2123 | =begin original |
| 2379 | 2124 | |
| 2380 | 2125 | (P) The setreuid() call failed for some reason in the setuid emulator of |
| 2381 | 2126 | suidperl. |
| 2382 | 2127 | |
| 2383 | 2128 | =end original |
| 2384 | 2129 | |
| 2385 | 2130 | (P) suidperl の setuid エミュレータで何らかの理由により、 |
| 2386 | 2131 | setreuid() 呼び出しが失敗しました。 |
| 2387 | 2132 | |
| 2388 | 2133 | =item Can't return %s from lvalue subroutine |
| 2389 | 2134 | |
| 2390 | 2135 | =begin original |
| 2391 | 2136 | |
| 2392 | 2137 | (F) Perl detected an attempt to return illegal lvalues (such as |
| 2393 | 2138 | temporary or readonly values) from a subroutine used as an lvalue. This |
| 2394 | 2139 | is not allowed. |
| 2395 | 2140 | |
| 2396 | 2141 | =end original |
| 2397 | 2142 | |
| 2398 | 2143 | (F) Perl が、左辺値として使われるサブルーチンから(一時的や |
| 2399 | 2144 | 読み込み専用のような)不正な左辺値が返されようとしているのを |
| 2400 | 2145 | 検出しました。 |
| 2401 | 2146 | これはできません。 |
| 2402 | 2147 | |
| 2403 | =item Can't return outside a subroutine | |
| 2404 | ||
| 2405 | =begin original | |
| 2406 | ||
| 2407 | (F) The return statement was executed in mainline code, that is, where | |
| 2408 | there was no subroutine call to return out of. See L<perlsub>. | |
| 2409 | ||
| 2410 | =end original | |
| 2411 | ||
| 2412 | (F) return 文が、return で抜けるべきサブルーティンがない、 | |
| 2413 | "main" コードで実行されました。 | |
| 2414 | L<perlsub> を参照してください。 | |
| 2415 | ||
| 2416 | 2148 | =item Can't return %s to lvalue scalar context |
| 2417 | 2149 | |
| 2418 | 2150 | =begin original |
| 2419 | 2151 | |
| 2420 | 2152 | (F) You tried to return a complete array or hash from an lvalue subroutine, |
| 2421 | 2153 | but you called the subroutine in a way that made Perl think you meant |
| 2422 | 2154 | to return only one value. You probably meant to write parentheses around |
| 2423 | 2155 | the call to the subroutine, which tell Perl that the call should be in |
| 2424 | 2156 | list context. |
| 2425 | 2157 | |
| 2426 | 2158 | =end original |
| 2427 | 2159 | |
| 2428 | 2160 | (F) 左辺値サブルーチンから配列やハッシュ全体を返そうとしましたが、 |
| 2429 | 2161 | 一つだけの値を返そうとしていると Perl が考えるような方法でサブルーチンを |
| 2430 | 2162 | 呼び出しました。 |
| 2431 | 2163 | おそらく、Perl にこの呼び出しがリストコンテキストであると伝えるために、 |
| 2432 | 2164 | サブルーチン呼び出しの周りにかっこを書いているのでしょう。 |
| 2433 | 2165 | |
| 2166 | =item Can't return outside a subroutine | |
| 2167 | ||
| 2168 | =begin original | |
| 2169 | ||
| 2170 | (F) The return statement was executed in mainline code, that is, where | |
| 2171 | there was no subroutine call to return out of. See L<perlsub>. | |
| 2172 | ||
| 2173 | =end original | |
| 2174 | ||
| 2175 | (F) return 文が、return で抜けるべきサブルーティンがない、 | |
| 2176 | "main" コードで実行されました。 | |
| 2177 | L<perlsub> を参照してください。 | |
| 2178 | ||
| 2434 | 2179 | =item Can't stat script "%s" |
| 2435 | 2180 | |
| 2436 | 2181 | =begin original |
| 2437 | 2182 | |
| 2438 | 2183 | (P) For some reason you can't fstat() the script even though you have it |
| 2439 | 2184 | open already. Bizarre. |
| 2440 | 2185 | |
| 2441 | 2186 | =end original |
| 2442 | 2187 | |
| 2443 | 2188 | (P) 何らかの理由で、例え既にオープンしていたとしても、fstat() が |
| 2444 | 2189 | 行なえません。困ったもんだ。 |
| 2445 | 2190 | |
| 2446 | 2191 | =item Can't swap uid and euid |
| 2447 | 2192 | |
| 2448 | 2193 | =begin original |
| 2449 | 2194 | |
| 2450 | 2195 | (P) The setreuid() call failed for some reason in the setuid emulator of |
| 2451 | 2196 | suidperl. |
| 2452 | 2197 | |
| 2453 | 2198 | =end original |
| 2454 | 2199 | |
| 2455 | 2200 | (P) suidperl の setuid エミュレータで何らかの理由により、 |
| 2456 | 2201 | setreuid() 呼び出しが失敗しました。 |
| 2457 | 2202 | |
| 2458 | 2203 | =item Can't take log of %g |
| 2459 | 2204 | |
| 2460 | 2205 | =begin original |
| 2461 | 2206 | |
| 2462 | 2207 | (F) For ordinary real numbers, you can't take the logarithm of a |
| 2463 | 2208 | negative number or zero. There's a Math::Complex package that comes |
| 2464 | 2209 | standard with Perl, though, if you really want to do that for the |
| 2465 | 2210 | negative numbers. |
| 2466 | 2211 | |
| 2467 | 2212 | =end original |
| 2468 | 2213 | |
| 2469 | 2214 | (F) 実数に対しては、負数や 0 に対する対数を取ることはできません。 |
| 2470 | 2215 | しかし、もし本当に負数に対してそのようなことをしたいのなら、 |
| 2471 | 2216 | Perl 標準になっている Math::Complex パッケージがあります。 |
| 2472 | 2217 | |
| 2473 | 2218 | =item Can't take sqrt of %g |
| 2474 | 2219 | |
| 2475 | 2220 | =begin original |
| 2476 | 2221 | |
| 2477 | 2222 | (F) For ordinary real numbers, you can't take the square root of a |
| 2478 | 2223 | negative number. There's a Math::Complex package that comes standard |
| 2479 | 2224 | with Perl, though, if you really want to do that. |
| 2480 | 2225 | |
| 2481 | 2226 | =end original |
| 2482 | 2227 | |
| 2483 | 2228 | (F) 通常の実数では、負数の平方根をとることはできません。 |
| 2484 | 2229 | しかし、本当にその計算を行ないたいのであれば、Math::Complex パッケージが |
| 2485 | 2230 | Perl に標準で用意されています。 |
| 2486 | 2231 | |
| 2487 | 2232 | =item Can't undef active subroutine |
| 2488 | 2233 | |
| 2489 | 2234 | =begin original |
| 2490 | 2235 | |
| 2491 | 2236 | (F) You can't undefine a routine that's currently running. You can, |
| 2492 | 2237 | however, redefine it while it's running, and you can even undef the |
| 2493 | 2238 | redefined subroutine while the old routine is running. Go figure. |
| 2494 | 2239 | |
| 2495 | 2240 | =end original |
| 2496 | 2241 | |
| 2497 | 2242 | (F) 実行中のルーティンを未定義にすることはできません。 |
| 2498 | 2243 | しかし、実行中に再定義することはでき、古いルーティンを実行中に、 |
| 2499 | 2244 | 再定義したサブルーティンを undef することさえできます。 |
| 2500 | 2245 | 驚きです。 |
| 2501 | 2246 | |
| 2502 | 2247 | =item Can't unshift |
| 2503 | 2248 | |
| 2504 | 2249 | =begin original |
| 2505 | 2250 | |
| 2506 | 2251 | (F) You tried to unshift an "unreal" array that can't be unshifted, such |
| 2507 | 2252 | as the main Perl stack. |
| 2508 | 2253 | |
| 2509 | 2254 | =end original |
| 2510 | 2255 | |
| 2511 | 2256 | (F) Perl のメインスタックのように、unshift することのできない |
| 2512 | 2257 | 「実在しない」配列に対して、unshift を行なおうとしました。 |
| 2513 | 2258 | |
| 2514 | 2259 | =item Can't upgrade that kind of scalar |
| 2515 | 2260 | |
| 2516 | 2261 | =begin original |
| 2517 | 2262 | |
| 2518 | 2263 | (P) The internal sv_upgrade routine adds "members" to an SV, making it |
| 2519 | 2264 | into a more specialized kind of SV. The top several SV types are so |
| 2520 | 2265 | specialized, however, that they cannot be interconverted. This message |
| 2521 | 2266 | indicates that such a conversion was attempted. |
| 2522 | 2267 | |
| 2523 | 2268 | =end original |
| 2524 | 2269 | |
| 2525 | 2270 | (P) 内部の sv_upgrade ルーティンは、SV に「メンバ」を加えて、 |
| 2526 | 2271 | より特別な種類の SV にします。 しかし、上位のいくつかの SV 型は、 |
| 2527 | 2272 | 特殊化され過ぎて、内部変換することができません。 |
| 2528 | 2273 | このメッセージは、そのような変更を行なおうとしたことを示しています。 |
| 2529 | 2274 | |
| 2530 | 2275 | =item Can't upgrade to undef |
| 2531 | 2276 | |
| 2532 | 2277 | =begin original |
| 2533 | 2278 | |
| 2534 | 2279 | (P) The undefined SV is the bottom of the totem pole, in the scheme of |
| 2535 | 2280 | upgradability. Upgrading to undef indicates an error in the code |
| 2536 | 2281 | calling sv_upgrade. |
| 2537 | 2282 | |
| 2538 | 2283 | =end original |
| 2539 | 2284 | |
| 2540 | 2285 | (P) 未定義 SV は、upgrade の仕組みにおいて、階層構造の最下位に |
| 2541 | 2286 | 位置するものです。 |
| 2542 | 2287 | undef への upgrade は、sv_upgrade を呼ぶコードのエラーを示します。 |
| 2543 | 2288 | |
| 2544 | =item Can't use anonymous symbol table for method lookup | |
| 2545 | ||
| 2546 | =begin original | |
| 2547 | ||
| 2548 | (F) The internal routine that does method lookup was handed a symbol | |
| 2549 | table that doesn't have a name. Symbol tables can become anonymous | |
| 2550 | for example by undefining stashes: C<undef %Some::Package::>. | |
| 2551 | ||
| 2552 | =end original | |
| 2553 | ||
| 2554 | (F) メソッド検索を行う内部ルーチンが、名前のないシンボルテーブルを | |
| 2555 | 扱いました。 | |
| 2556 | シンボルテーブルは、例えば C<undef %Some::Package::> のように未定義の | |
| 2557 | stash によって無名となります。 | |
| 2558 | ||
| 2559 | 2289 | =item Can't use an undefined value as %s reference |
| 2560 | 2290 | |
| 2561 | 2291 | =begin original |
| 2562 | 2292 | |
| 2563 | 2293 | (F) A value used as either a hard reference or a symbolic reference must |
| 2564 | 2294 | be a defined value. This helps to delurk some insidious errors. |
| 2565 | 2295 | |
| 2566 | 2296 | =end original |
| 2567 | 2297 | |
| 2568 | 2298 | (F) ハードリファレンスやシンボリックリファレンスとして使用する値は、 |
| 2569 | 2299 | 定義済みの値でなければなりません。 |
| 2570 | 2300 | 潜伏中のエラーを引きずり出す助けとなります。 |
| 2571 | 2301 | |
| 2572 | 2302 | =item Can't use bareword ("%s") as %s ref while "strict refs" in use |
| 2573 | 2303 | |
| 2574 | 2304 | =begin original |
| 2575 | 2305 | |
| 2576 | 2306 | (F) Only hard references are allowed by "strict refs". Symbolic |
| 2577 | 2307 | references are disallowed. See L<perlref>. |
| 2578 | 2308 | |
| 2579 | 2309 | =end original |
| 2580 | 2310 | |
| 2581 | 2311 | (F) "strict refs" では、ハードリファレンスだけが許されます。 |
| 2582 | 2312 | シンボリックリファレンスは、許されていません。 |
| 2583 | 2313 | L<perlref> を参照してください。 |
| 2584 | 2314 | |
| 2585 | 2315 | =item Can't use %! because Errno.pm is not available |
| 2586 | 2316 | |
| 2587 | 2317 | =begin original |
| 2588 | 2318 | |
| 2589 | 2319 | (F) The first time the %! hash is used, perl automatically loads the |
| 2590 | 2320 | Errno.pm module. The Errno module is expected to tie the %! hash to |
| 2591 | 2321 | provide symbolic names for C<$!> errno values. |
| 2592 | 2322 | |
| 2593 | 2323 | =end original |
| 2594 | 2324 | |
| 2595 | 2325 | (F) 最初に %! ハッシュが使われるときに、 |
| 2596 | 2326 | perl は自動的に Errno.pm モジュールを読み込みます。 |
| 2597 | 2327 | Errno モジュールは C<$!> errno 値のシンボリック名を提供するために |
| 2598 | 2328 | %! ハッシュと tie されることになります。 |
| 2599 | 2329 | |
| 2600 | 2330 | =item Can't use %s for loop variable |
| 2601 | 2331 | |
| 2602 | 2332 | =begin original |
| 2603 | 2333 | |
| 2604 | 2334 | (F) Only a simple scalar variable may be used as a loop variable on a |
| 2605 | 2335 | foreach. |
| 2606 | 2336 | |
| 2607 | 2337 | =end original |
| 2608 | 2338 | |
| 2609 | 2339 | (F) 単純スカラ変数だけが、foreach のループ変数として |
| 2610 | 2340 | 使用することができます。 |
| 2611 | 2341 | |
| 2612 | 2342 | =item Can't use global %s in "my" |
| 2613 | 2343 | |
| 2614 | 2344 | =begin original |
| 2615 | 2345 | |
| 2616 | 2346 | (F) You tried to declare a magical variable as a lexical variable. This |
| 2617 | 2347 | is not allowed, because the magic can be tied to only one location |
| 2618 | 2348 | (namely the global variable) and it would be incredibly confusing to |
| 2619 | 2349 | have variables in your program that looked like magical variables but |
| 2620 | 2350 | weren't. |
| 2621 | 2351 | |
| 2622 | 2352 | =end original |
| 2623 | 2353 | |
| 2624 | 2354 | (F) マジカル変数を、字句スコープ変数として宣言しようとしました。 |
| 2625 | これが許されていないのは、マジ | |
| 2355 | これが許されていないのは、マジック変数は 1 か所だけにおくことができる | |
| 2626 | ||
| 2356 | (つまりグローバル変数) からであり、マジカル変数に見えながら、 | |
| 2627 | そうで | |
| 2357 | そうでないものがプログラム中に現われると混乱の元となるためです。 | |
| 2628 | 2358 | |
| 2629 | 2359 | =item Can't use "my %s" in sort comparison |
| 2630 | 2360 | |
| 2631 | 2361 | =begin original |
| 2632 | 2362 | |
| 2633 | 2363 | (F) The global variables $a and $b are reserved for sort comparisons. |
| 2634 | 2364 | You mentioned $a or $b in the same line as the <=> or cmp operator, |
| 2635 | 2365 | and the variable had earlier been declared as a lexical variable. |
| 2636 | 2366 | Either qualify the sort variable with the package name, or rename the |
| 2637 | 2367 | lexical variable. |
| 2638 | 2368 | |
| 2639 | 2369 | =end original |
| 2640 | 2370 | |
| 2641 | 2371 | (F) グローバル変数 $a と $b はソート比較のために予約されています。 |
| 2642 | 2372 | $a か $b を <=> か cmp 演算子と同じ行に記述しましたが、その変数は |
| 2643 | 2373 | その前にレキシカル変数として宣言されています。 |
| 2644 | 2374 | ソート変数をパッケージ名で修飾するか、レキシカル変数の名前を |
| 2645 | 2375 | 変更してください。 |
| 2646 | 2376 | |
| 2647 | 2377 | =item Can't use %s ref as %s ref |
| 2648 | 2378 | |
| 2649 | 2379 | =begin original |
| 2650 | 2380 | |
| 2651 | 2381 | (F) You've mixed up your reference types. You have to dereference a |
| 2652 | 2382 | reference of the type needed. You can use the ref() function to |
| 2653 | 2383 | test the type of the reference, if need be. |
| 2654 | 2384 | |
| 2655 | 2385 | =end original |
| 2656 | 2386 | |
| 2657 | 2387 | (F) リファレンス型を混同しています。 |
| 2658 | 2388 | 必要な型のリファレンスを被参照しなければなりません。 |
| 2659 | 2389 | 必要ならば、リファレンスの型を調べるのに、ref() 関数を使うことができます。 |
| 2660 | 2390 | |
| 2661 | 2391 | =item Can't use string ("%s") as %s ref while "strict refs" in use |
| 2662 | 2392 | |
| 2663 | 2393 | =begin original |
| 2664 | 2394 | |
| 2665 | 2395 | (F) Only hard references are allowed by "strict refs". Symbolic |
| 2666 | 2396 | references are disallowed. See L<perlref>. |
| 2667 | 2397 | |
| 2668 | 2398 | =end original |
| 2669 | 2399 | |
| 2670 | 2400 | (F) "strict refs" によって、ハードリファレンスのみが許可されます。 |
| 2671 | 2401 | シンボリックリファレンスは許可されません。 |
| 2672 | 2402 | L<perlref> を参照してください。 |
| 2673 | 2403 | |
| 2674 | 2404 | =item Can't use subscript on %s |
| 2675 | 2405 | |
| 2676 | 2406 | =begin original |
| 2677 | 2407 | |
| 2678 | 2408 | (F) The compiler tried to interpret a bracketed expression as a |
| 2679 | 2409 | subscript. But to the left of the brackets was an expression that |
| 2680 | didn't look like a | |
| 2410 | didn't look like an array reference, or anything else subscriptable. | |
| 2681 | 2411 | |
| 2682 | 2412 | =end original |
| 2683 | 2413 | |
| 2684 | 2414 | (F) コンパイラが大かっこで囲われた式を添字として解釈しようとしました。 |
| 2685 | 2415 | しかし、大かっこの左側はハッシュか配列のリファレンスやその他の |
| 2686 | 2416 | 添字化できるもののようには見えない式です。 |
| 2687 | 2417 | |
| 2688 | 2418 | =item Can't use \%c to mean $%c in expression |
| 2689 | 2419 | |
| 2690 | 2420 | =begin original |
| 2691 | 2421 | |
| 2692 | 2422 | (W syntax) In an ordinary expression, backslash is a unary operator that |
| 2693 | 2423 | creates a reference to its argument. The use of backslash to indicate a |
| 2694 | 2424 | backreference to a matched substring is valid only as part of a regular |
| 2695 | 2425 | expression pattern. Trying to do this in ordinary Perl code produces a |
| 2696 | 2426 | value that prints out looking like SCALAR(0xdecaf). Use the $1 form |
| 2697 | 2427 | instead. |
| 2698 | 2428 | |
| 2699 | 2429 | =end original |
| 2700 | 2430 | |
| 2701 | 2431 | (W syntax) 通常の式では、バックスラッシュは引数へのリファレンスを作る |
| 2702 | 2432 | 単項演算子です。 |
| 2703 | 2433 | マッチした部分文字列への後方参照を示すためのバックスラッシュの使用は |
| 2704 | 2434 | 正規表現パターンの一部の場合にのみ有効です。 |
| 2705 | 2435 | 通常の Perl コードの中でこれをしようとすると、SCALAR(0xdecaf) のように |
| 2706 | 2436 | 表示される値を生成します。 |
| 2707 | 2437 | 代わりに $1 の形を使ってください。 |
| 2708 | 2438 | |
| 2709 | 2439 | =item Can't weaken a nonreference |
| 2710 | 2440 | |
| 2711 | 2441 | =begin original |
| 2712 | 2442 | |
| 2713 | 2443 | (F) You attempted to weaken something that was not a reference. Only |
| 2714 | 2444 | references can be weakened. |
| 2715 | 2445 | |
| 2716 | 2446 | =end original |
| 2717 | 2447 | |
| 2718 | 2448 | (F) リファレンスではない何かを弱めようとしました。 |
| 2719 | 2449 | リファレンスだけが弱めることができます。 |
| 2720 | 2450 | |
| 2721 | 2451 | =item Can't x= to read-only value |
| 2722 | 2452 | |
| 2723 | 2453 | =begin original |
| 2724 | 2454 | |
| 2725 | 2455 | (F) You tried to repeat a constant value (often the undefined value) |
| 2726 | 2456 | with an assignment operator, which implies modifying the value itself. |
| 2727 | 2457 | Perhaps you need to copy the value to a temporary, and repeat that. |
| 2728 | 2458 | |
| 2729 | 2459 | =end original |
| 2730 | 2460 | |
| 2731 | 2461 | (F) 定数値 (未定義値であることが多い) を、自らを書き換えることを意味する、 |
| 2732 | 2462 | 代入演算子で繰り返しを行なおうとしました。 |
| 2733 | 2463 | テンポラリ変数に値を移してから、繰り返すと良いでしょう。 |
| 2734 | 2464 | |
| 2735 | =item | |
| 2465 | =item chmod() mode argument is missing initial 0 | |
| 2736 | 2466 | |
| 2737 | 2467 | =begin original |
| 2738 | 2468 | |
| 2739 | (W | |
| 2469 | (W chmod) A novice will sometimes say | |
| 2740 | 2470 | |
| 2741 | 2471 | =end original |
| 2742 | 2472 | |
| 2743 | (W | |
| 2473 | (W chmod) 初心者は以下のように書くことがあります: | |
| 2744 | 2474 | |
| 2745 | | |
| 2475 | chmod 777, $filename | |
| 2746 | 2476 | |
| 2747 | 2477 | =begin original |
| 2748 | 2478 | |
| 2749 | ||
| 2479 | not realizing that 777 will be interpreted as a decimal number, | |
| 2750 | ||
| 2480 | equivalent to 01411. Octal constants are introduced with a leading 0 in | |
| 2751 | ||
| 2481 | Perl, as in C. | |
| 2752 | 2482 | |
| 2753 | 2483 | =end original |
| 2754 | 2484 | |
| 2755 | ||
| 2485 | というふうに、777 が 01411 に等しい 10 進数であることに気付かないで | |
| 2756 | ||
| 2486 | 使うことがあります。 | |
| 2757 | ||
| 2487 | Perl では、8 進数の定数は、C と同じように、先頭に 0 を付けて表わします。 | |
| 2758 | それで、Perl は以下のように意味しているかのように振舞います: | |
| 2759 | 2488 | |
| 2760 | pack("C", $x & 255) | |
| 2761 | ||
| 2762 | =begin original | |
| 2763 | ||
| 2764 | If you actually want to pack Unicode codepoints, use the C<"U"> format | |
| 2765 | instead. | |
| 2766 | ||
| 2767 | =end original | |
| 2768 | ||
| 2769 | Unicode コードポイントを pack したい場合は、代わりに C<"U"> フォーマットを | |
| 2770 | 使ってください。 | |
| 2771 | ||
| 2772 | =item Character in "c" format wrapped in pack | |
| 2773 | ||
| 2774 | =begin original | |
| 2775 | ||
| 2776 | (W pack) You said | |
| 2777 | ||
| 2778 | =end original | |
| 2779 | ||
| 2780 | (W pack) 以下のように書きましたが: | |
| 2781 | ||
| 2782 | pack("c", $x) | |
| 2783 | ||
| 2784 | =begin original | |
| 2785 | ||
| 2786 | where $x is either less than -128 or more than 127; the C<"c"> format | |
| 2787 | is only for encoding native operating system characters (ASCII, EBCDIC, | |
| 2788 | and so on) and not for Unicode characters, so Perl behaved as if you meant | |
| 2789 | ||
| 2790 | =end original | |
| 2791 | ||
| 2792 | $x は -128 より小さいか 127 より大きいです; C<"c"> フォーマットは | |
| 2793 | ネイティブ OS 文字 (ASCII, EBCDIC など) のエンコーディングだけに | |
| 2794 | 対応していて、Unicode 文字は対応していません; | |
| 2795 | それで、Perl は以下のように意味しているかのように振舞います: | |
| 2796 | ||
| 2797 | pack("c", $x & 255); | |
| 2798 | ||
| 2799 | =begin original | |
| 2800 | ||
| 2801 | If you actually want to pack Unicode codepoints, use the C<"U"> format | |
| 2802 | instead. | |
| 2803 | ||
| 2804 | =end original | |
| 2805 | ||
| 2806 | Unicode コードポイントを pack したい場合は、代わりに C<"U"> フォーマットを | |
| 2807 | 使ってください。 | |
| 2808 | ||
| 2809 | 2489 | =item close() on unopened filehandle %s |
| 2810 | 2490 | |
| 2811 | 2491 | =begin original |
| 2812 | 2492 | |
| 2813 | 2493 | (W unopened) You tried to close a filehandle that was never opened. |
| 2814 | 2494 | |
| 2815 | 2495 | =end original |
| 2816 | 2496 | |
| 2817 | 2497 | (W unopened) オープンされていないファイルハンドルをクローズしようとしました。 |
| 2818 | 2498 | |
| 2819 | =item Code missing after '/' | |
| 2820 | ||
| 2821 | =begin original | |
| 2822 | ||
| 2823 | (F) You had a (sub-)template that ends with a '/'. There must be another | |
| 2824 | template code following the slash. See L<perlfunc/pack>. | |
| 2825 | ||
| 2826 | =end original | |
| 2827 | ||
| 2828 | (副)テンプレートが '/' で終わっています。 | |
| 2829 | スラッシュの後には他のテンプレートコードが必須です。 | |
| 2830 | L<perlfunc/pack> を参照してください。 | |
| 2831 | ||
| 2832 | 2499 | =item %s: Command not found |
| 2833 | 2500 | |
| 2834 | 2501 | =begin original |
| 2835 | 2502 | |
| 2836 | 2503 | (A) You've accidentally run your script through B<csh> instead of Perl. |
| 2837 | 2504 | Check the #! line, or manually feed your script into Perl yourself. |
| 2838 | 2505 | |
| 2839 | 2506 | =end original |
| 2840 | 2507 | |
| 2841 | 2508 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
| 2842 | 2509 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
| 2843 | 2510 | |
| 2844 | 2511 | =item Compilation failed in require |
| 2845 | 2512 | |
| 2846 | 2513 | =begin original |
| 2847 | 2514 | |
| 2848 | 2515 | (F) Perl could not compile a file specified in a C<require> statement. |
| 2849 | 2516 | Perl uses this generic message when none of the errors that it |
| 2850 | 2517 | encountered were severe enough to halt compilation immediately. |
| 2851 | 2518 | |
| 2852 | 2519 | =end original |
| 2853 | 2520 | |
| 2854 | 2521 | (F) Perl は C<require> 文で指定されたファイルをコンパイルできませんでした。 |
| 2855 | 2522 | Perl は、コンパイルを直ちに停止させるほど厳しいエラーに遭遇しなかった |
| 2856 | 2523 | ときに、この一般的なメッセージを使います。 |
| 2857 | 2524 | |
| 2858 | 2525 | =item Complex regular subexpression recursion limit (%d) exceeded |
| 2859 | 2526 | |
| 2860 | 2527 | =begin original |
| 2861 | 2528 | |
| 2862 | 2529 | (W regexp) The regular expression engine uses recursion in complex |
| 2863 | 2530 | situations where back-tracking is required. Recursion depth is limited |
| 2864 | 2531 | to 32766, or perhaps less in architectures where the stack cannot grow |
| 2865 | 2532 | arbitrarily. ("Simple" and "medium" situations are handled without |
| 2866 | 2533 | recursion and are not subject to a limit.) Try shortening the string |
| 2867 | 2534 | under examination; looping in Perl code (e.g. with C<while>) rather than |
| 2868 | 2535 | in the regular expression engine; or rewriting the regular expression so |
| 2869 | 2536 | that it is simpler or backtracks less. (See L<perlfaq2> for information |
| 2870 | 2537 | on I<Mastering Regular Expressions>.) |
| 2871 | 2538 | |
| 2872 | 2539 | =end original |
| 2873 | 2540 | |
| 2874 | 2541 | (W regexp) 正規表現エンジンはバックトラックが要求される複雑な状況では |
| 2875 | 2542 | 再帰を使用します。 |
| 2876 | 2543 | 再帰の深さは 32766、またはスタックを任意に増やせないアーキテクチャでは |
| 2877 | 2544 | おそらくもっと小さい値に制限されています。 |
| 2878 | 2545 | (「単純な」または「中くらいの」状況では再帰なしで扱われるので、制限は |
| 2879 | 2546 | ありません。) |
| 2880 | 2547 | 調べる文字列を短くしてみてください; 正規表現エンジンではなく |
| 2881 | 2548 | (C<while> などの) Perl コードを使ってループするか、 |
| 2882 | 2549 | あるいは正規表現をより単純にしたり、バックトラックが少なくなるように |
| 2883 | 2550 | 書き換えてください。 |
| 2884 | 2551 | (I<Mastering Regular Expressions> の情報については L<perlfaq2> を |
| 2885 | 2552 | 参照してください。) |
| 2886 | 2553 | |
| 2887 | =item cond_broadcast() called on unlocked variable | |
| 2888 | ||
| 2889 | =begin original | |
| 2890 | ||
| 2891 | (W threads) Within a thread-enabled program, you tried to call | |
| 2892 | cond_broadcast() on a variable which wasn't locked. The cond_broadcast() | |
| 2893 | function is used to wake up another thread that is waiting in a | |
| 2894 | cond_wait(). To ensure that the signal isn't sent before the other thread | |
| 2895 | has a chance to enter the wait, it is usual for the signaling thread to | |
| 2896 | first wait for a lock on variable. This lock attempt will only succeed | |
| 2897 | after the other thread has entered cond_wait() and thus relinquished the | |
| 2898 | lock. | |
| 2899 | ||
| 2900 | =end original | |
| 2901 | ||
| 2902 | (W threads) スレッドが有効になっているプログラムで、ロックされていない | |
| 2903 | 変数に対して cond_broadcast() を呼び出そうとしました。 | |
| 2904 | cond_broadcast() 関数は cond_wait() で待ち状態になっている他のスレッドを | |
| 2905 | 起こすために使います。 | |
| 2906 | 他のスレッドが待ち状態になる前にこのシグナルが送られないことを確実に | |
| 2907 | するために、シグナルを送るスレッドはまず変数をロックするために待ち状態に | |
| 2908 | 入るのが普通です。 | |
| 2909 | このロックの試みは他のスレッドが cond_wait() に入ることで、ロックを | |
| 2910 | 手放した場合にのみ成功します。 | |
| 2911 | ||
| 2912 | =item cond_signal() called on unlocked variable | |
| 2913 | ||
| 2914 | =begin original | |
| 2915 | ||
| 2916 | (W threads) Within a thread-enabled program, you tried to call | |
| 2917 | cond_signal() on a variable which wasn't locked. The cond_signal() | |
| 2918 | function is used to wake up another thread that is waiting in a | |
| 2919 | cond_wait(). To ensure that the signal isn't sent before the other thread | |
| 2920 | has a chance to enter the wait, it is usual for the signaling thread to | |
| 2921 | first wait for a lock on variable. This lock attempt will only succeed | |
| 2922 | after the other thread has entered cond_wait() and thus relinquished the | |
| 2923 | lock. | |
| 2924 | ||
| 2925 | =end original | |
| 2926 | ||
| 2927 | (W threads) スレッドが有効になっているプログラムで、ロックされていない | |
| 2928 | 変数に対して cond_signal() を呼び出そうとしました。 | |
| 2929 | cond_signal() 関数は cond_wait() で待ち状態になっている他のスレッドを | |
| 2930 | 起こすために使います。 | |
| 2931 | 他のスレッドが待ち状態になる前にこのシグナルが送られないことを確実に | |
| 2932 | するために、シグナルを送るスレッドはまず変数をロックするために待ち状態に | |
| 2933 | 入るのが普通です。 | |
| 2934 | このロックの試みは他のスレッドが cond_wait() に入ることで、ロックを | |
| 2935 | 手放した場合にのみ成功します。 | |
| 2936 | ||
| 2937 | 2554 | =item connect() on closed socket %s |
| 2938 | 2555 | |
| 2939 | 2556 | =begin original |
| 2940 | 2557 | |
| 2941 | 2558 | (W closed) You tried to do a connect on a closed socket. Did you forget |
| 2942 | 2559 | to check the return value of your socket() call? See |
| 2943 | 2560 | L<perlfunc/connect>. |
| 2944 | 2561 | |
| 2945 | 2562 | =end original |
| 2946 | 2563 | |
| 2947 | 2564 | (W closed) クローズされたソケットに connent を行なおうとしました。 |
| 2948 | 2565 | socket() の呼び出し時に、返却値のチェックを忘れたたのではありませんか。 |
| 2949 | 2566 | L<perlfunc/connect> を参照してください。 |
| 2950 | 2567 | |
| 2951 | 2568 | =item Constant(%s)%s: %s |
| 2952 | 2569 | |
| 2953 | 2570 | =begin original |
| 2954 | 2571 | |
| 2955 | 2572 | (F) The parser found inconsistencies either while attempting to define |
| 2956 | 2573 | an overloaded constant, or when trying to find the character name |
| 2957 | 2574 | specified in the C<\N{...}> escape. Perhaps you forgot to load the |
| 2958 | 2575 | corresponding C<overload> or C<charnames> pragma? See L<charnames> and |
| 2959 | 2576 | L<overload>. |
| 2960 | 2577 | |
| 2961 | 2578 | =end original |
| 2962 | 2579 | |
| 2963 | 2580 | (F) パーサは、オーバーロードされた定数を定義しようとしたときか、 |
| 2964 | 2581 | C<\N{...}> エスケープで指定された文字名を探そうとしたときに |
| 2965 | 2582 | 非一貫性を発見しました。 |
| 2966 | 2583 | おそらく対応する C<overload> か C<charnames> のプラグマの読み込みを |
| 2967 | 2584 | 忘れたのでは? |
| 2968 | 2585 | L<charnames> と L<overload> を参照してください。 |
| 2969 | 2586 | |
| 2970 | 2587 | =item Constant is not %s reference |
| 2971 | 2588 | |
| 2972 | 2589 | =begin original |
| 2973 | 2590 | |
| 2974 | 2591 | (F) A constant value (perhaps declared using the C<use constant> pragma) |
| 2975 | 2592 | is being dereferenced, but it amounts to the wrong type of reference. |
| 2976 | 2593 | The message indicates the type of reference that was expected. This |
| 2977 | 2594 | usually indicates a syntax error in dereferencing the constant value. |
| 2978 | 2595 | See L<perlsub/"Constant Functions"> and L<constant>. |
| 2979 | 2596 | |
| 2980 | 2597 | =end original |
| 2981 | 2598 | |
| 2982 | 2599 | (F) (おそらく C<use constant> プラグマを使って宣言した) 定数値が |
| 2983 | 2600 | デリファレンスされましたが、間違った型のリファレンスになりました。 |
| 2984 | 2601 | このメッセージは想定されたリファレンスの型を示しています。 |
| 2985 | 2602 | これは普通定数値をデリファレンスするときの文法エラーを示しています。 |
| 2986 | 2603 | L<perlsub/"Constant Functions"> と L<constant> を参照してください。 |
| 2987 | 2604 | |
| 2988 | 2605 | =item Constant subroutine %s redefined |
| 2989 | 2606 | |
| 2990 | 2607 | =begin original |
| 2991 | 2608 | |
| 2992 | (S) You redefined a subroutine which had previously been | |
| 2609 | (S|W redefine) You redefined a subroutine which had previously been | |
| 2993 | 2610 | eligible for inlining. See L<perlsub/"Constant Functions"> for |
| 2994 | 2611 | commentary and workarounds. |
| 2995 | 2612 | |
| 2996 | 2613 | =end original |
| 2997 | 2614 | |
| 2998 | (S) 以前にインライン化できる形であったサブルーチンを | |
| 2615 | (S|W redefine) 以前にインライン化できる形であったサブルーチンを | |
| 2999 | 2616 | 再定義しました。 |
| 3000 | 2617 | コメントと回避策については L<perlsub/"Constant Functions"> を |
| 3001 | 2618 | 参照してください。 |
| 3002 | 2619 | |
| 3003 | 2620 | =item Constant subroutine %s undefined |
| 3004 | 2621 | |
| 3005 | 2622 | =begin original |
| 3006 | 2623 | |
| 3007 | 2624 | (W misc) You undefined a subroutine which had previously been eligible |
| 3008 | 2625 | for inlining. See L<perlsub/"Constant Functions"> for commentary and |
| 3009 | 2626 | workarounds. |
| 3010 | 2627 | |
| 3011 | 2628 | =end original |
| 3012 | 2629 | |
| 3013 | 2630 | (W misc)以前にインライン化できる形であったサブルーチンを |
| 3014 | 2631 | 未定義化しました。 |
| 3015 | 2632 | コメントと回避策については L<perlsub/"Constant Functions"> を |
| 3016 | 2633 | 参照してください。 |
| 3017 | 2634 | |
| 3018 | 2635 | =item Copy method did not return a reference |
| 3019 | 2636 | |
| 3020 | 2637 | =begin original |
| 3021 | 2638 | |
| 3022 | (F) The method which overloads "=" is buggy. See | |
| 2639 | (F) The method which overloads "=" is buggy. See | |
| 3023 | 2640 | L<overload/Copy Constructor>. |
| 3024 | 2641 | |
| 3025 | 2642 | =end original |
| 3026 | 2643 | |
| 3027 | 2644 | (F) "=" をオーバーロードしたメソッドはバグっています。 |
| 3028 | 2645 | L<overload/Copy Constructor> を参照してください。 |
| 3029 | 2646 | |
| 3030 | 2647 | =item CORE::%s is not a keyword |
| 3031 | 2648 | |
| 3032 | 2649 | =begin original |
| 3033 | 2650 | |
| 3034 | 2651 | (F) The CORE:: namespace is reserved for Perl keywords. |
| 3035 | 2652 | |
| 3036 | 2653 | =end original |
| 3037 | 2654 | |
| 3038 | 2655 | (F) CORE:: 名前空間は Perl キーワードとして予約されています。 |
| 3039 | 2656 | |
| 3040 | 2657 | =item corrupted regexp pointers |
| 3041 | 2658 | |
| 3042 | 2659 | =begin original |
| 3043 | 2660 | |
| 3044 | 2661 | (P) The regular expression engine got confused by what the regular |
| 3045 | 2662 | expression compiler gave it. |
| 3046 | 2663 | |
| 3047 | 2664 | =end original |
| 3048 | 2665 | |
| 3049 | 2666 | (P) 正規表現コンパイラが渡したもので、正規表現エンジンが |
| 3050 | 2667 | 処理できなくなりました。 |
| 3051 | 2668 | |
| 3052 | 2669 | =item corrupted regexp program |
| 3053 | 2670 | |
| 3054 | 2671 | =begin original |
| 3055 | 2672 | |
| 3056 | 2673 | (P) The regular expression engine got passed a regexp program without a |
| 3057 | 2674 | valid magic number. |
| 3058 | 2675 | |
| 3059 | 2676 | =end original |
| 3060 | 2677 | |
| 3061 | 2678 | (P) 正規表現エンジンが、有効なマジックナンバーを持たない |
| 3062 | 2679 | regexp プログラムを渡しました。 |
| 3063 | 2680 | |
| 3064 | 2681 | =item Corrupt malloc ptr 0x%lx at 0x%lx |
| 3065 | 2682 | |
| 3066 | 2683 | =begin original |
| 3067 | 2684 | |
| 3068 | 2685 | (P) The malloc package that comes with Perl had an internal failure. |
| 3069 | 2686 | |
| 3070 | 2687 | =end original |
| 3071 | 2688 | |
| 3072 | 2689 | (P) Perl に付属の malloc ルーティンが内部エラーを起こしました。 |
| 3073 | 2690 | |
| 3074 | =item C | |
| 2691 | =item C<-p> destination: %s | |
| 3075 | 2692 | |
| 3076 | 2693 | =begin original |
| 3077 | 2694 | |
| 3078 | (F) | |
| 2695 | (F) An error occurred during the implicit output invoked by the C<-p> | |
| 3079 | ||
| 2696 | command-line switch. (This output goes to STDOUT unless you've | |
| 3080 | ||
| 2697 | redirected it with select().) | |
| 3081 | 2698 | |
| 3082 | 2699 | =end original |
| 3083 | 2700 | |
| 3084 | (F) | |
| 2701 | (F) C<-p> コマンドラインオプションで起動された | |
| 3085 | ||
| 2702 | 暗黙の出力中にエラーが発生しました。 | |
| 3086 | ||
| 2703 | (この出力は select() でリダイレクトしていない限り STDOUT に出力されます。) | |
| 3087 | 2704 | |
| 2705 | =item C<-T> and C<-B> not implemented on filehandles | |
| 2706 | ||
| 2707 | =begin original | |
| 2708 | ||
| 2709 | (F) Perl can't peek at the stdio buffer of filehandles when it doesn't | |
| 2710 | know about your kind of stdio. You'll have to use a filename instead. | |
| 2711 | ||
| 2712 | =end original | |
| 2713 | ||
| 2714 | (F) Perl が、お使いの stdio のことをよく知らないとき、 | |
| 2715 | ファイルハンドルの stdio バッファを覗くことはできません。 | |
| 2716 | 代わりにファイル名を使わなければなりません。 | |
| 2717 | ||
| 3088 | 2718 | =item Deep recursion on subroutine "%s" |
| 3089 | 2719 | |
| 3090 | 2720 | =begin original |
| 3091 | 2721 | |
| 3092 | 2722 | (W recursion) This subroutine has called itself (directly or indirectly) |
| 3093 | 2723 | 100 times more than it has returned. This probably indicates an |
| 3094 | 2724 | infinite recursion, unless you're writing strange benchmark programs, in |
| 3095 | 2725 | which case it indicates something else. |
| 3096 | 2726 | |
| 3097 | 2727 | =end original |
| 3098 | 2728 | |
| 3099 | 2729 | (W recursion) このサブルーティンは、(直接、間接に) 自分自身の呼び出しを、 |
| 3100 | 2730 | return より 100 回多く行ないました。 |
| 3101 | 2731 | 変わったベンチマークプログラムを書いているのでなければ、無限再帰の |
| 3102 | 2732 | 可能性があります。 |
| 3103 | 2733 | ベンチマークを書いている場合には、別のことを示しています。 |
| 3104 | 2734 | |
| 3105 | 2735 | =item defined(@array) is deprecated |
| 3106 | 2736 | |
| 3107 | 2737 | =begin original |
| 3108 | 2738 | |
| 3109 | 2739 | (D deprecated) defined() is not usually useful on arrays because it |
| 3110 | 2740 | checks for an undefined I<scalar> value. If you want to see if the |
| 3111 | array is empty, just use C<if (@array) { # not empty }> for example. | |
| 2741 | array is empty, just use C<if (@array) { # not empty }> for example. | |
| 3112 | 2742 | |
| 3113 | 2743 | =end original |
| 3114 | 2744 | |
| 3115 | 2745 | (D deprecated) defined() は未定義の I<スカラ> 値を調べるので、配列に |
| 3116 | 2746 | 使っても普通は無意味です。 |
| 3117 | 2747 | 配列が空かどうかを調べたい場合は、例えば単に |
| 3118 | 2748 | C<if (@array) { # not empty }> としてください。 |
| 3119 | 2749 | |
| 3120 | 2750 | =item defined(%hash) is deprecated |
| 3121 | 2751 | |
| 3122 | 2752 | =begin original |
| 3123 | 2753 | |
| 3124 | 2754 | (D deprecated) defined() is not usually useful on hashes because it |
| 3125 | 2755 | checks for an undefined I<scalar> value. If you want to see if the hash |
| 3126 | is empty, just use C<if (%hash) { # not empty }> for example. | |
| 2756 | is empty, just use C<if (%hash) { # not empty }> for example. | |
| 3127 | 2757 | |
| 3128 | 2758 | =end original |
| 3129 | 2759 | |
| 3130 | 2760 | (D deprecated) defined() は未定義の I<スカラ> 値を調べるので、ハッシュに |
| 3131 | 2761 | 使っても普通は無意味です。 |
| 3132 | 2762 | ハッシュが空かどうかを調べたい場合は、例えば単に |
| 3133 | 2763 | C<if (%hash) { # not empty }> としてください。 |
| 3134 | 2764 | |
| 3135 | =item %s defines neither package nor VERSION--version check failed | |
| 3136 | ||
| 3137 | =begin original | |
| 3138 | ||
| 3139 | (F) You said something like "use Module 42" but in the Module file | |
| 3140 | there are neither package declarations nor a C<$VERSION>. | |
| 3141 | ||
| 3142 | =end original | |
| 3143 | ||
| 3144 | (F) "use Module 42" のようなことをしましたが、Module ファイルに | |
| 3145 | パッケージ定義がないか、C<$VERSION> がありませんでした。 | |
| 3146 | ||
| 3147 | 2765 | =item Delimiter for here document is too long |
| 3148 | 2766 | |
| 3149 | 2767 | =begin original |
| 3150 | 2768 | |
| 3151 | 2769 | (F) In a here document construct like C<<<FOO>, the label C<FOO> is too |
| 3152 | 2770 | long for Perl to handle. You have to be seriously twisted to write code |
| 3153 | 2771 | that triggers this error. |
| 3154 | 2772 | |
| 3155 | 2773 | =end original |
| 3156 | 2774 | |
| 3157 | 2775 | (F) C<<<FOO> のようなヒアドキュメント構造で、ラベル C<FOO> が |
| 3158 | 2776 | Perl が扱うには長すぎました。 |
| 3159 | 2777 | このエラーを起こすようなコードを書くには相当ひねくれている必要があります。 |
| 3160 | 2778 | |
| 3161 | =item DESTROY created new reference to dead object '%s' | |
| 3162 | ||
| 3163 | =begin original | |
| 3164 | ||
| 3165 | (F) A DESTROY() method created a new reference to the object which is | |
| 3166 | just being DESTROYed. Perl is confused, and prefers to abort rather than | |
| 3167 | to create a dangling reference. | |
| 3168 | ||
| 3169 | =end original | |
| 3170 | ||
| 3171 | (F) DESTROY() メソッドが、DESTROY したばかりのオブジェクトへの | |
| 3172 | 新しいリファレンスを作りました。 | |
| 3173 | Perl は混乱して、不明瞭なリファレンスを作るよりは中断することを選びました。 | |
| 3174 | ||
| 3175 | 2779 | =item Did not produce a valid header |
| 3176 | 2780 | |
| 3177 | 2781 | =begin original |
| 3178 | 2782 | |
| 3179 | 2783 | See Server error. |
| 3180 | 2784 | |
| 3181 | 2785 | =end original |
| 3182 | 2786 | |
| 3183 | 2787 | "Server error" を参照してください。 |
| 3184 | 2788 | |
| 3185 | 2789 | =item %s did not return a true value |
| 3186 | 2790 | |
| 3187 | 2791 | =begin original |
| 3188 | 2792 | |
| 3189 | 2793 | (F) A required (or used) file must return a true value to indicate that |
| 3190 | 2794 | it compiled correctly and ran its initialization code correctly. It's |
| 3191 | 2795 | traditional to end such a file with a "1;", though any true value would |
| 3192 | 2796 | do. See L<perlfunc/require>. |
| 3193 | 2797 | |
| 3194 | 2798 | =end original |
| 3195 | 2799 | |
| 3196 | 2800 | (F) require (や use) されたファイルは、正常にコンパイルされ、 |
| 3197 | 2801 | 初期化コードを正しく実行したことを示すために、真を返さなければなりません。 |
| 3198 | 2802 | こういったファイルは、"1;" で終わるようにするのが習慣ですが、 |
| 3199 | 2803 | 真となる値であれば、何でもかまいません。 |
| 3200 | 2804 | L<perlfunc/require> を参照してください。 |
| 3201 | 2805 | |
| 3202 | 2806 | =item (Did you mean &%s instead?) |
| 3203 | 2807 | |
| 3204 | 2808 | =begin original |
| 3205 | 2809 | |
| 3206 | 2810 | (W) You probably referred to an imported subroutine &FOO as $FOO or some |
| 3207 | 2811 | such. |
| 3208 | 2812 | |
| 3209 | 2813 | =end original |
| 3210 | 2814 | |
| 3211 | 2815 | おそらく import したサブルーチン &FOO を $FOO として |
| 3212 | 2816 | 参照したようなことでしょう。 |
| 3213 | 2817 | |
| 3214 | 2818 | =item (Did you mean "local" instead of "our"?) |
| 3215 | 2819 | |
| 3216 | 2820 | =begin original |
| 3217 | 2821 | |
| 3218 | 2822 | (W misc) Remember that "our" does not localize the declared global |
| 3219 | 2823 | variable. You have declared it again in the same lexical scope, which |
| 3220 | 2824 | seems superfluous. |
| 3221 | 2825 | |
| 3222 | 2826 | =end original |
| 3223 | 2827 | |
| 3224 | 2828 | (W misc) "our" 宣言されたグローバル変数を local 化しないことを |
| 3225 | 2829 | 忘れないで下さい。 |
| 3226 | 2830 | これをもう一度同じレキシカルスコープで宣言していますが、 |
| 3227 | 2831 | 不必要でしょう。 |
| 3228 | 2832 | |
| 3229 | 2833 | =item (Did you mean $ or @ instead of %?) |
| 3230 | 2834 | |
| 3231 | 2835 | =begin original |
| 3232 | 2836 | |
| 3233 | 2837 | (W) You probably said %hash{$key} when you meant $hash{$key} or |
| 3234 | 2838 | @hash{@keys}. On the other hand, maybe you just meant %hash and got |
| 3235 | 2839 | carried away. |
| 3236 | 2840 | |
| 3237 | 2841 | =end original |
| 3238 | 2842 | |
| 3239 | 2843 | (W) おそらく $hash{$key} か @hash{@keys} としたいときに %hash{$key} と |
| 3240 | 2844 | したのでしょう。 |
| 3241 | 2845 | あるいは、単に %hash としたくてやりすぎたのでしょう。 |
| 3242 | 2846 | |
| 3243 | 2847 | =item Died |
| 3244 | 2848 | |
| 3245 | 2849 | =begin original |
| 3246 | 2850 | |
| 3247 | 2851 | (F) You passed die() an empty string (the equivalent of C<die "">) or |
| 3248 | 2852 | you called it with no args and both C<$@> and C<$_> were empty. |
| 3249 | 2853 | |
| 3250 | 2854 | =end original |
| 3251 | 2855 | |
| 3252 | 2856 | (F) die() に空文字列を渡した(C<die ""> と等価です)か、引数なしで |
| 3253 | 2857 | 呼び出して、C<$@> と C<$_> が空でした。 |
| 3254 | 2858 | |
| 3255 | 2859 | =item Document contains no data |
| 3256 | 2860 | |
| 3257 | 2861 | =begin original |
| 3258 | 2862 | |
| 3259 | 2863 | See Server error. |
| 3260 | 2864 | |
| 3261 | 2865 | =end original |
| 3262 | 2866 | |
| 3263 | 2867 | "Server error" を参照してください。 |
| 3264 | 2868 | |
| 3265 | =item %s does not define %s::VERSION--version check failed | |
| 3266 | ||
| 3267 | =begin original | |
| 3268 | ||
| 3269 | (F) You said something like "use Module 42" but the Module did not | |
| 3270 | define a C<$VERSION.> | |
| 3271 | ||
| 3272 | =end original | |
| 3273 | ||
| 3274 | (F) "use Module 42" のようなことをしましたが、Module は C<$VERSION> を | |
| 3275 | 定義していません。 | |
| 3276 | ||
| 3277 | =item '/' does not take a repeat count | |
| 3278 | ||
| 3279 | =begin original | |
| 3280 | ||
| 3281 | (F) You cannot put a repeat count of any kind right after the '/' code. | |
| 3282 | See L<perlfunc/pack>. | |
| 3283 | ||
| 3284 | =end original | |
| 3285 | ||
| 3286 | (F) '/' の直後には繰り返し数を指定できません。 | |
| 3287 | L<perlfunc/pack> を参照してください。 | |
| 3288 | ||
| 3289 | 2869 | =item Don't know how to handle magic of type '%s' |
| 3290 | 2870 | |
| 3291 | 2871 | =begin original |
| 3292 | 2872 | |
| 3293 | 2873 | (P) The internal handling of magical variables has been cursed. |
| 3294 | 2874 | |
| 3295 | 2875 | =end original |
| 3296 | 2876 | |
| 3297 | 2877 | (P) マジック変数の内部処理がおかしくなっています。 |
| 3298 | 2878 | |
| 3299 | 2879 | =item do_study: out of memory |
| 3300 | 2880 | |
| 3301 | 2881 | =begin original |
| 3302 | 2882 | |
| 3303 | 2883 | (P) This should have been caught by safemalloc() instead. |
| 3304 | 2884 | |
| 3305 | 2885 | =end original |
| 3306 | 2886 | |
| 3307 | 2887 | (P) これは、本来 safemalloc() で引っ掛かるはずのものです。 |
| 3308 | 2888 | |
| 3309 | 2889 | =item (Do you need to predeclare %s?) |
| 3310 | 2890 | |
| 3311 | 2891 | =begin original |
| 3312 | 2892 | |
| 3313 | (S | |
| 2893 | (S) This is an educated guess made in conjunction with the message "%s | |
| 3314 | ||
| 2894 | found where operator expected". It often means a subroutine or module | |
| 3315 | 2895 | name is being referenced that hasn't been declared yet. This may be |
| 3316 | 2896 | because of ordering problems in your file, or because of a missing |
| 3317 | 2897 | "sub", "package", "require", or "use" statement. If you're referencing |
| 3318 | 2898 | something that isn't defined yet, you don't actually have to define the |
| 3319 | 2899 | subroutine or package before the current location. You can use an empty |
| 3320 | 2900 | "sub foo;" or "package FOO;" to enter a "forward" declaration. |
| 3321 | 2901 | |
| 3322 | 2902 | =end original |
| 3323 | 2903 | |
| 3324 | (S | |
| 2904 | (S) これは "%s found where operator expected" メッセージと共に | |
| 3325 | 2905 | 表示される教育的な推測です。 |
| 3326 | 2906 | これはしばしばサブルーチンやモジュール名がまだ宣言される前に参照されている |
| 3327 | 2907 | ことを意味します。 |
| 3328 | 2908 | これはファイル内部での順番のためであったり、"sub", "package", "require", |
| 3329 | 2909 | "use" 文がないためであったりします。 |
| 3330 | 2910 | もしまだ定義されていないものを参照したい場合、現在位置より前に実際に |
| 3331 | 2911 | サブルーチンやパッケージを定義する必要はありません。 |
| 3332 | 2912 | 空の "sub foo;" や "package FOO;" を「前方」宣言として使えます。 |
| 3333 | 2913 | |
| 3334 | =item dump() better written as CORE::dump() | |
| 3335 | ||
| 3336 | =begin original | |
| 3337 | ||
| 3338 | (W misc) You used the obsolescent C<dump()> built-in function, without fully | |
| 3339 | qualifying it as C<CORE::dump()>. Maybe it's a typo. See L<perlfunc/dump>. | |
| 3340 | ||
| 3341 | =end original | |
| 3342 | ||
| 3343 | (W misc) 古いものである C<dump()> 組み込み関数を、C<CORE::dump()> と | |
| 3344 | いうように完全修飾せずに使いました。 | |
| 3345 | おそらくこれはタイプミスです。 | |
| 3346 | L<perlfunc/dump> を参照してください。 | |
| 3347 | ||
| 3348 | 2914 | =item Duplicate free() ignored |
| 3349 | 2915 | |
| 3350 | 2916 | =begin original |
| 3351 | 2917 | |
| 3352 | 2918 | (S malloc) An internal routine called free() on something that had |
| 3353 | 2919 | already been freed. |
| 3354 | 2920 | |
| 3355 | 2921 | =end original |
| 3356 | 2922 | |
| 3357 | 2923 | (S malloc) 既に解放されているものに対して、内部ルーティンが free() を |
| 3358 | 2924 | 行なおうとしました。 |
| 3359 | 2925 | |
| 3360 | =item Duplicate modifier '%c' after '%c' in %s | |
| 3361 | ||
| 3362 | =begin original | |
| 3363 | ||
| 3364 | (W) You have applied the same modifier more than once after a type | |
| 3365 | in a pack template. See L<perlfunc/pack>. | |
| 3366 | ||
| 3367 | =end original | |
| 3368 | ||
| 3369 | (W) pack テンプレートで、一つの型の後に同じ修飾子を複数指定しました。 | |
| 3370 | L<perlfunc/pack> を参照してください。 | |
| 3371 | ||
| 3372 | 2926 | =item elseif should be elsif |
| 3373 | 2927 | |
| 3374 | 2928 | =begin original |
| 3375 | 2929 | |
| 3376 | (S | |
| 2930 | (S) There is no keyword "elseif" in Perl because Larry thinks it's ugly. | |
| 3377 | ||
| 2931 | Your code will be interpreted as an attempt to call a method named | |
| 3378 | 2932 | "elseif" for the class returned by the following block. This is |
| 3379 | 2933 | unlikely to be what you want. |
| 3380 | 2934 | |
| 3381 | 2935 | =end original |
| 3382 | 2936 | |
| 3383 | 2937 | (S) Larry は "elseif" というのは醜いと考えたので、Perl にはこのキーワードは |
| 3384 | 2938 | ありません。 |
| 3385 | 2939 | このコードは引き続くブロックによって返されたクラスの "elseif" メソッドを |
| 3386 | 2940 | 呼び出そうとしていると解釈されます。 |
| 3387 | 2941 | これは望んでいることではないはずです。 |
| 3388 | 2942 | |
| 3389 | =item Empty %s | |
| 3390 | ||
| 3391 | =begin original | |
| 3392 | ||
| 3393 | (F) C<\p> and C<\P> are used to introduce a named Unicode property, as | |
| 3394 | described in L<perlunicode> and L<perlre>. You used C<\p> or C<\P> in | |
| 3395 | a regular expression without specifying the property name. | |
| 3396 | ||
| 3397 | =end original | |
| 3398 | ||
| 3399 | (F) C<\p> と C<\P> は、L<perlunicode> と L<perlre> に記述されているように、 | |
| 3400 | 名前付き Unicode プロパティを導入するために使われます。 | |
| 3401 | 正規表現の中で、C<\p> や C<\P> をプロパティ名の指定なしに使いました。 | |
| 3402 | ||
| 3403 | 2943 | =item entering effective %s failed |
| 3404 | 2944 | |
| 3405 | 2945 | =begin original |
| 3406 | 2946 | |
| 3407 | 2947 | (F) While under the C<use filetest> pragma, switching the real and |
| 3408 | 2948 | effective uids or gids failed. |
| 3409 | 2949 | |
| 3410 | 2950 | =end original |
| 3411 | 2951 | |
| 3412 | 2952 | (F) C<use filetest> プラグマを使っている間に、 |
| 3413 | 2953 | 実と実効の UID や GID の切り替えに失敗しました。 |
| 3414 | 2954 | |
| 3415 | =item %ENV is aliased to %s | |
| 3416 | ||
| 3417 | =begin original | |
| 3418 | ||
| 3419 | (F) You're running under taint mode, and the C<%ENV> variable has been | |
| 3420 | aliased to another hash, so it doesn't reflect anymore the state of the | |
| 3421 | program's environment. This is potentially insecure. | |
| 3422 | ||
| 3423 | =end original | |
| 3424 | ||
| 3425 | (F) 汚染モードで動作していて、C<%ENV> 変数が他のハッシュへのエイリアスに | |
| 3426 | なっているので、これ以上プログラムの環境の状態を反映しません。 | |
| 3427 | これは潜在的にはセキュアではありません。 | |
| 3428 | ||
| 3429 | 2955 | =item Error converting file specification %s |
| 3430 | 2956 | |
| 3431 | 2957 | =begin original |
| 3432 | 2958 | |
| 3433 | 2959 | (F) An error peculiar to VMS. Because Perl may have to deal with file |
| 3434 | 2960 | specifications in either VMS or Unix syntax, it converts them to a |
| 3435 | 2961 | single form when it must operate on them directly. Either you've passed |
| 3436 | 2962 | an invalid file specification to Perl, or you've found a case the |
| 3437 | 2963 | conversion routines don't handle. Drat. |
| 3438 | 2964 | |
| 3439 | 2965 | =end original |
| 3440 | 2966 | |
| 3441 | 2967 | (F) VMS に固有のエラーです。 |
| 3442 | 2968 | Perl はファイル仕様を VMS 式か Unix 式かどちらかで扱わなければならないので、 |
| 3443 | 2969 | 直接操作しなければならない場合は変換します。 |
| 3444 | 2970 | 不正なファイル仕様を Perl に渡したか、変換ルーチンが扱えないパターンを |
| 3445 | 2971 | 発見したかです。 |
| 3446 | 2972 | ちぇっ。 |
| 3447 | 2973 | |
| 3448 | 2974 | =item %s: Eval-group in insecure regular expression |
| 3449 | 2975 | |
| 3450 | 2976 | =begin original |
| 3451 | 2977 | |
| 3452 | 2978 | (F) Perl detected tainted data when trying to compile a regular |
| 3453 | 2979 | expression that contains the C<(?{ ... })> zero-width assertion, which |
| 3454 | 2980 | is unsafe. See L<perlre/(?{ code })>, and L<perlsec>. |
| 3455 | 2981 | |
| 3456 | 2982 | =end original |
| 3457 | 2983 | |
| 3458 | 2984 | C<(?{ ... })> ゼロ幅アサーションを含む正規表現をコンパイルしようと |
| 3459 | 2985 | したときに、Perl は汚染されたデータを検出しました; |
| 3460 | 2986 | これは安全ではありません。 |
| 3461 | 2987 | L<perlre/(?{ code })> と L<perlsec> を参照してください。 |
| 3462 | 2988 | |
| 3463 | 2989 | =item %s: Eval-group not allowed at run time |
| 3464 | 2990 | |
| 3465 | 2991 | =begin original |
| 3466 | 2992 | |
| 3467 | 2993 | (F) Perl tried to compile a regular expression containing the |
| 3468 | 2994 | C<(?{ ... })> zero-width assertion at run time, as it would when the |
| 3469 | 2995 | pattern contains interpolated values. Since that is a security risk, it |
| 3470 | 2996 | is not allowed. If you insist, you may still do this by explicitly |
| 3471 | 2997 | building the pattern from an interpolated string at run time and using |
| 3472 | 2998 | that in an eval(). See L<perlre/(?{ code })>. |
| 3473 | 2999 | |
| 3474 | 3000 | =end original |
| 3475 | 3001 | |
| 3476 | 3002 | (F) Perl が実行時に、変数展開された値を含んでいて、 |
| 3477 | 3003 | C<(?{ ... })> ゼロ幅アサーションを含む正規表現をコンパイルしようとしました。 |
| 3478 | 3004 | これはセキュリティ上の危険があるので、許可されていません。 |
| 3479 | 3005 | どうしても実行したい場合は、実行時に変数展開された文字列から |
| 3480 | 3006 | パターンを作成して、それを eval() の中で使うことで実行できます。 |
| 3481 | 3007 | L<perlre/(?{ code })> を参照してください。 |
| 3482 | 3008 | |
| 3483 | 3009 | =item %s: Eval-group not allowed, use re 'eval' |
| 3484 | 3010 | |
| 3485 | 3011 | =begin original |
| 3486 | 3012 | |
| 3487 | 3013 | (F) A regular expression contained the C<(?{ ... })> zero-width |
| 3488 | 3014 | assertion, but that construct is only allowed when the C<use re 'eval'> |
| 3489 | 3015 | pragma is in effect. See L<perlre/(?{ code })>. |
| 3490 | 3016 | |
| 3491 | 3017 | =end original |
| 3492 | 3018 | |
| 3493 | 3019 | (F) 正規表現に C<(?{ ... })> ゼロ幅アサーションを含んでいますが、 |
| 3494 | 3020 | この構造は C<use re 'eval'> プラグマが有効の場合にのみ許可されます。 |
| 3495 | 3021 | L<perlre/(?{ code })> を参照してください。 |
| 3496 | 3022 | |
| 3497 | 3023 | =item Excessively long <> operator |
| 3498 | 3024 | |
| 3499 | 3025 | =begin original |
| 3500 | 3026 | |
| 3501 | 3027 | (F) The contents of a <> operator may not exceed the maximum size of a |
| 3502 | 3028 | Perl identifier. If you're just trying to glob a long list of |
| 3503 | 3029 | filenames, try using the glob() operator, or put the filenames into a |
| 3504 | 3030 | variable and glob that. |
| 3505 | 3031 | |
| 3506 | 3032 | =end original |
| 3507 | 3033 | |
| 3508 | 3034 | (F) <> 演算子の内容は Perl 識別子の最大サイズを越えることはできません。 |
| 3509 | 3035 | 単にファイル名の長いリストをグロブしようとしただけなら、glob() 演算子を |
| 3510 | 3036 | 使うか、ファイル名を変数に入れて、それをグロブしてください。 |
| 3511 | 3037 | |
| 3512 | =item exec? I'm not *that* kind of operating system | |
| 3513 | ||
| 3514 | =begin original | |
| 3515 | ||
| 3516 | (F) The C<exec> function is not implemented in MacPerl. See L<perlport>. | |
| 3517 | ||
| 3518 | =end original | |
| 3519 | ||
| 3520 | (F) C<exec> 関数は MacPerl には実装されていません。 | |
| 3521 | L<perlport> を参照してください。 | |
| 3522 | ||
| 3523 | 3038 | =item Execution of %s aborted due to compilation errors |
| 3524 | 3039 | |
| 3525 | 3040 | =begin original |
| 3526 | 3041 | |
| 3527 | 3042 | (F) The final summary message when a Perl compilation fails. |
| 3528 | 3043 | |
| 3529 | 3044 | =end original |
| 3530 | 3045 | |
| 3531 | 3046 | (F) Perl のコンパイルが失敗したときの、最後のまとめメッセージです。 |
| 3532 | 3047 | |
| 3533 | 3048 | =item Exiting eval via %s |
| 3534 | 3049 | |
| 3535 | 3050 | =begin original |
| 3536 | 3051 | |
| 3537 | 3052 | (W exiting) You are exiting an eval by unconventional means, such as a |
| 3538 | 3053 | goto, or a loop control statement. |
| 3539 | 3054 | |
| 3540 | 3055 | =end original |
| 3541 | 3056 | |
| 3542 | 3057 | (W exiting) goto やループ制御文など、おかしな方法で eval を抜けました。 |
| 3543 | 3058 | |
| 3544 | 3059 | =item Exiting format via %s |
| 3545 | 3060 | |
| 3546 | 3061 | =begin original |
| 3547 | 3062 | |
| 3548 | (W exiting) You are exiting a | |
| 3063 | (W exiting) You are exiting an eval by unconventional means, such as a | |
| 3549 | 3064 | goto, or a loop control statement. |
| 3550 | 3065 | |
| 3551 | 3066 | =end original |
| 3552 | 3067 | |
| 3553 | (W exiting) goto やループ制御文といった、異例な形で | |
| 3068 | (W exiting) goto やループ制御文といった、異例な形で eval を終了しました。 | |
| 3554 | 終了しました。 | |
| 3555 | 3069 | |
| 3556 | 3070 | =item Exiting pseudo-block via %s |
| 3557 | 3071 | |
| 3558 | 3072 | =begin original |
| 3559 | 3073 | |
| 3560 | 3074 | (W exiting) You are exiting a rather special block construct (like a |
| 3561 | 3075 | sort block or subroutine) by unconventional means, such as a goto, or a |
| 3562 | 3076 | loop control statement. See L<perlfunc/sort>. |
| 3563 | 3077 | |
| 3564 | 3078 | =end original |
| 3565 | 3079 | |
| 3566 | 3080 | (W exiting) (ソートブロックやサブルーチンのような) 特別なブロック構造を、 |
| 3567 | 3081 | goto やループ制御文といった異例な方法で終了しました。 |
| 3568 | 3082 | L<perlfunc/sort> を参照してください。 |
| 3569 | 3083 | |
| 3570 | 3084 | =item Exiting subroutine via %s |
| 3571 | 3085 | |
| 3572 | 3086 | =begin original |
| 3573 | 3087 | |
| 3574 | 3088 | (W exiting) You are exiting a subroutine by unconventional means, such |
| 3575 | 3089 | as a goto, or a loop control statement. |
| 3576 | 3090 | |
| 3577 | 3091 | =end original |
| 3578 | 3092 | |
| 3579 | 3093 | (W exiting) goto やループ制御文など、おかしな方法でサブルーティンを |
| 3580 | 3094 | 抜けました。 |
| 3581 | 3095 | |
| 3582 | 3096 | =item Exiting substitution via %s |
| 3583 | 3097 | |
| 3584 | 3098 | =begin original |
| 3585 | 3099 | |
| 3586 | 3100 | (W exiting) You are exiting a substitution by unconventional means, such |
| 3587 | 3101 | as a return, a goto, or a loop control statement. |
| 3588 | 3102 | |
| 3589 | 3103 | =end original |
| 3590 | 3104 | |
| 3591 | 3105 | (W exit) return や goto やループ制御文など、おかしな方法で置換を |
| 3592 | 3106 | 抜けました。 |
| 3593 | 3107 | |
| 3594 | 3108 | =item Explicit blessing to '' (assuming package main) |
| 3595 | 3109 | |
| 3596 | 3110 | =begin original |
| 3597 | 3111 | |
| 3598 | 3112 | (W misc) You are blessing a reference to a zero length string. This has |
| 3599 | 3113 | the effect of blessing the reference into the package main. This is |
| 3600 | 3114 | usually not what you want. Consider providing a default target package, |
| 3601 | 3115 | e.g. bless($ref, $p || 'MyPackage'); |
| 3602 | 3116 | |
| 3603 | 3117 | =end original |
| 3604 | 3118 | |
| 3605 | 3119 | (W misc) リファレンスを長さゼロの文字列に bless しました。 |
| 3606 | 3120 | これはリファレンスをパッケージ main に bless する効果があります。 |
| 3607 | 3121 | これは普通あなたが望んでいることではありません。 |
| 3608 | 3122 | (bless($ref, $p || 'MyPackage'); のように) デフォルトターゲット |
| 3609 | 3123 | パッケージを提供することを考慮してください; |
| 3610 | 3124 | |
| 3611 | 3125 | =item %s: Expression syntax |
| 3612 | 3126 | |
| 3613 | 3127 | =begin original |
| 3614 | 3128 | |
| 3615 | 3129 | (A) You've accidentally run your script through B<csh> instead of Perl. |
| 3616 | 3130 | Check the #! line, or manually feed your script into Perl yourself. |
| 3617 | 3131 | |
| 3618 | 3132 | =end original |
| 3619 | 3133 | |
| 3620 | 3134 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
| 3621 | 3135 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
| 3622 | 3136 | |
| 3623 | 3137 | =item %s failed--call queue aborted |
| 3624 | 3138 | |
| 3625 | 3139 | =begin original |
| 3626 | 3140 | |
| 3627 | 3141 | (F) An untrapped exception was raised while executing a CHECK, INIT, or |
| 3628 | 3142 | END subroutine. Processing of the remainder of the queue of such |
| 3629 | 3143 | routines has been prematurely ended. |
| 3630 | 3144 | |
| 3631 | 3145 | =end original |
| 3632 | 3146 | |
| 3633 | 3147 | (F) CHECK, INIT, END サブルーチンを実行中にトラップされていない例外が |
| 3634 | 3148 | 発生しました。 |
| 3635 | 3149 | このようなルーチンのキューの残りの処理は途中で終了しました。 |
| 3636 | 3150 | |
| 3637 | =item | |
| 3151 | =item false [] range "%s" in regexp | |
| 3638 | 3152 | |
| 3639 | 3153 | =begin original |
| 3640 | 3154 | |
| 3641 | 3155 | (W regexp) A character class range must start and end at a literal |
| 3642 | character, not another character class like C<\d> or C<[:alpha:]>. The | |
| 3156 | character, not another character class like C<\d> or C<[:alpha:]>. The | |
| 3643 | in your false range is interpreted as a literal "-". Consider | |
| 3157 | "-" in your false range is interpreted as a literal "-". Consider | |
| 3644 | "-", "\-". | |
| 3158 | quoting the "-", "\-". See L<perlre>. | |
| 3645 | problem was discovered. See L<perlre>. | |
| 3646 | 3159 | |
| 3647 | 3160 | =end original |
| 3648 | 3161 | |
| 3649 | 3162 | (W regexp) 文字クラス範囲の先頭とと末尾は、C<\d> や C<[:alpha:]> のような |
| 3650 | 3163 | 他の文字クラスではなく、リテラル文字でなければなりません。 |
| 3651 | 3164 | 間違った範囲の "-" はリテラルの "-" と解釈されます。 |
| 3652 | 3165 | "-" を "\-" とクォートすることを考慮してください。 |
| 3653 | <-- HERE は正規表現の中で問題が発見された位置を示します。 | |
| 3654 | 3166 | L<perlre> を参照してください。 |
| 3655 | 3167 | |
| 3656 | 3168 | =item Fatal VMS error at %s, line %d |
| 3657 | 3169 | |
| 3658 | 3170 | =begin original |
| 3659 | 3171 | |
| 3660 | 3172 | (P) An error peculiar to VMS. Something untoward happened in a VMS |
| 3661 | 3173 | system service or RTL routine; Perl's exit status should provide more |
| 3662 | 3174 | details. The filename in "at %s" and the line number in "line %d" tell |
| 3663 | 3175 | you which section of the Perl source code is distressed. |
| 3664 | 3176 | |
| 3665 | 3177 | =end original |
| 3666 | 3178 | |
| 3667 | 3179 | (P) VMS に固有のエラーです。 |
| 3668 | 3180 | 何か都合の悪いことが VMS システムサービスか RTL ルーチンで起こりました; |
| 3669 | 3181 | Perl の終了コードに詳細が示されています。 |
| 3670 | 3182 | "at %s" のファイル名と "line %d" の行番号は、問題の起こった |
| 3671 | 3183 | Perl ソースコードの位置を示しています。 |
| 3672 | 3184 | |
| 3673 | 3185 | =item fcntl is not implemented |
| 3674 | 3186 | |
| 3675 | 3187 | =begin original |
| 3676 | 3188 | |
| 3677 | 3189 | (F) Your machine apparently doesn't implement fcntl(). What is this, a |
| 3678 | 3190 | PDP-11 or something? |
| 3679 | 3191 | |
| 3680 | 3192 | =end original |
| 3681 | 3193 | |
| 3682 | 3194 | (F) このマシンでは、fcntl() が実装されていないように見えます。 |
| 3683 | 3195 | PDP-11 か何かでしょうか。 |
| 3684 | 3196 | |
| 3685 | 3197 | =item Filehandle %s opened only for input |
| 3686 | 3198 | |
| 3687 | 3199 | =begin original |
| 3688 | 3200 | |
| 3689 | (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 | |
| 3690 | ||
| 3202 | to be a read-write filehandle, you needed to open it with "+<" or "+>" | |
| 3691 | ||
| 3203 | or "+>>" instead of with "<" or nothing. If you intended only to write | |
| 3692 | ||
| 3204 | the file, use ">" or ">>". See L<perlfunc/open>. | |
| 3693 | 3205 | |
| 3694 | 3206 | =end original |
| 3695 | 3207 | |
| 3696 | 3208 | (W io) リードオンリーのファイルハンドルに対して、書込みを行なおうとしました。 |
| 3697 | 3209 | 読み書き両用ファイルハンドルにしたいのであれば、"<" を付けたり、 |
| 3698 | 3210 | 何も付けなかったりするのではなく、"+<" や "+>" や "+>>" を付けて |
| 3699 | 3211 | open する必要があります。 |
| 3700 | 3212 | ライトオンリーであれば、">" や ">>" を使ってください。 |
| 3701 | 3213 | L<perlfunc/open> の項を参照してください。 |
| 3702 | 3214 | |
| 3703 | 3215 | =item Filehandle %s opened only for output |
| 3704 | 3216 | |
| 3705 | 3217 | =begin original |
| 3706 | 3218 | |
| 3707 | (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 | |
| 3708 | 3220 | you intended it to be a read/write filehandle, you needed to open it |
| 3709 | 3221 | with "+<" or "+>" or "+>>" instead of with "<" or nothing. If you |
| 3710 | 3222 | intended only to read from the file, use "<". See L<perlfunc/open>. |
| 3711 | Another possibility is that you attempted to open filedescriptor 0 | |
| 3712 | (also known as STDIN) for output (maybe you closed STDIN earlier?). | |
| 3713 | 3223 | |
| 3714 | 3224 | =end original |
| 3715 | 3225 | |
| 3716 | 3226 | (W io) 書き込み専用のファイルハンドルから読み込もうとしました。 |
| 3717 | 3227 | 読み書きできるファイルハンドルにしたい場合は、 |
| 3718 | 3228 | ファイルのオープン時に "<" や何もなしではなく、 |
| 3719 | 3229 | "+<" か "+>" か "+>>" をつける必要があります。 |
| 3720 | 3230 | 読み込み専用にしたい場合は、"<" を使ってください。 |
| 3721 | 3231 | L<perlfunc/open> を参照してください。 |
| 3722 | 他の可能性としては、ファイル記述子 0 (STDIN としても知られています) を | |
| 3723 | 出力用に開こうとした場合(おそらくその前に STDIN を閉じたのでは?)です。 | |
| 3724 | 3232 | |
| 3725 | =item Fi | |
| 3233 | =item Final $ should be \$ or $name | |
| 3726 | 3234 | |
| 3727 | 3235 | =begin original |
| 3728 | 3236 | |
| 3729 | ( | |
| 3237 | (F) You must now decide whether the final $ in a string was meant to be | |
| 3730 | a | |
| 3238 | a literal dollar sign, or was meant to introduce a variable name that | |
| 3731 | p | |
| 3239 | happens to be missing. So you have to put either the backslash or the | |
| 3240 | name. | |
| 3732 | 3241 | |
| 3733 | 3242 | =end original |
| 3734 | 3243 | |
| 3735 | ( | |
| 3244 | (F) 文字列の最後の $ が、リテラルのドル記号なのか、変数名を入れようとして | |
| 3736 | ||
| 3245 | 忘れたのかを、はっきりさせなければなりません。 | |
| 3737 | ||
| 3246 | バックスラッシュを付けるか、名前を入れてください。 | |
| 3738 | 3247 | |
| 3739 | =item Fi | |
| 3248 | =item Final @ should be \@ or @name | |
| 3740 | 3249 | |
| 3741 | 3250 | =begin original |
| 3742 | 3251 | |
| 3743 | ( | |
| 3252 | (F) You must now decide whether the final @ in a string was meant to be | |
| 3744 | a | |
| 3253 | a literal "at" sign, or was meant to introduce a variable name that | |
| 3745 | ||
| 3746 | =end original | |
| 3747 | ||
| 3748 | (W io) STDIN として使われていたのと同じファイルハンドル ID の | |
| 3749 | ファイルハンドルを書き込み用に開こうとしました。 | |
| 3750 | これは、以前 STDIN を閉じたときに起きます。 | |
| 3751 | ||
| 3752 | =item Final $ should be \$ or $name | |
| 3753 | ||
| 3754 | =begin original | |
| 3755 | ||
| 3756 | (F) You must now decide whether the final $ in a string was meant to be | |
| 3757 | a literal dollar sign, or was meant to introduce a variable name that | |
| 3758 | 3254 | happens to be missing. So you have to put either the backslash or the |
| 3759 | 3255 | name. |
| 3760 | 3256 | |
| 3761 | 3257 | =end original |
| 3762 | 3258 | |
| 3763 | (F) 文字列の最後の | |
| 3259 | (F) 文字列の最後の @ が、リテラルのアットマークなのか、変数名を | |
| 3764 | 忘れたのかを、はっきりさせなければなりません。 | |
| 3260 | 入れようとして忘れたのかを、はっきりさせなければなりません。 | |
| 3765 | 3261 | バックスラッシュを付けるか、名前を入れてください。 |
| 3766 | 3262 | |
| 3767 | 3263 | =item flock() on closed filehandle %s |
| 3768 | 3264 | |
| 3769 | 3265 | =begin original |
| 3770 | 3266 | |
| 3771 | 3267 | (W closed) The filehandle you're attempting to flock() got itself closed |
| 3772 | some time before now. Check your | |
| 3268 | some time before now. Check your logic flow. flock() operates on | |
| 3773 | 3269 | filehandles. Are you attempting to call flock() on a dirhandle by the |
| 3774 | 3270 | same name? |
| 3775 | 3271 | |
| 3776 | 3272 | =end original |
| 3777 | 3273 | |
| 3778 | 3274 | (W closed) flock() しようとしたファイルハンドルはその前に既に |
| 3779 | 3275 | 閉じられています。 |
| 3780 | ||
| 3276 | 論理フローをチェックしてください。 | |
| 3781 | 3277 | flock() はファイルハンドルを操作します。 |
| 3782 | 3278 | 同じ名前のディレクトリハンドルに flock() しようとしていませんか? |
| 3783 | 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 | ||
| 3784 | 3295 | =item Format not terminated |
| 3785 | 3296 | |
| 3786 | 3297 | =begin original |
| 3787 | 3298 | |
| 3788 | 3299 | (F) A format must be terminated by a line with a solitary dot. Perl got |
| 3789 | 3300 | to the end of your file without finding such a line. |
| 3790 | 3301 | |
| 3791 | 3302 | =end original |
| 3792 | 3303 | |
| 3793 | 3304 | (F) フォーマットは、単独のドットだけからなる行で終わらなければなりません。 |
| 3794 | 3305 | そのような行が見つからないまま、スクリプトの最後に行き当たってしまいました。 |
| 3795 | 3306 | |
| 3796 | 3307 | =item Format %s redefined |
| 3797 | 3308 | |
| 3798 | 3309 | =begin original |
| 3799 | 3310 | |
| 3800 | 3311 | (W redefine) You redefined a format. To suppress this warning, say |
| 3801 | 3312 | |
| 3802 | 3313 | =end original |
| 3803 | 3314 | |
| 3804 | 3315 | (W redefine) フォーマットを再定義しました。 |
| 3805 | 3316 | この警告を止めるには以下のようにしてください。 |
| 3806 | 3317 | |
| 3807 | 3318 | { |
| 3808 | no warnings | |
| 3319 | no warnings; | |
| 3809 | 3320 | eval "format NAME =..."; |
| 3810 | 3321 | } |
| 3811 | 3322 | |
| 3812 | 3323 | =item Found = in conditional, should be == |
| 3813 | 3324 | |
| 3814 | 3325 | =begin original |
| 3815 | 3326 | |
| 3816 | 3327 | (W syntax) You said |
| 3817 | 3328 | |
| 3818 | 3329 | =end original |
| 3819 | 3330 | |
| 3820 | 3331 | (W) 以下のようにしています: |
| 3821 | 3332 | |
| 3822 | 3333 | if ($foo = 123) |
| 3823 | 3334 | |
| 3824 | 3335 | =begin original |
| 3825 | 3336 | |
| 3826 | 3337 | when you meant |
| 3827 | 3338 | |
| 3828 | 3339 | =end original |
| 3829 | 3340 | |
| 3830 | 3341 | 以下のようにするべきところでしょう: |
| 3831 | 3342 | |
| 3832 | 3343 | if ($foo == 123) |
| 3833 | 3344 | |
| 3834 | 3345 | =begin original |
| 3835 | 3346 | |
| 3836 | 3347 | (or something like that). |
| 3837 | 3348 | |
| 3838 | 3349 | =end original |
| 3839 | 3350 | |
| 3840 | 3351 | (あるいは似たようなこと)。 |
| 3841 | 3352 | |
| 3842 | 3353 | =item %s found where operator expected |
| 3843 | 3354 | |
| 3844 | 3355 | =begin original |
| 3845 | 3356 | |
| 3846 | (S | |
| 3357 | (S) The Perl lexer knows whether to expect a term or an operator. If it | |
| 3847 | ||
| 3358 | sees what it knows to be a term when it was expecting to see an | |
| 3848 | 3359 | operator, it gives you this warning. Usually it indicates that an |
| 3849 | 3360 | operator or delimiter was omitted, such as a semicolon. |
| 3850 | 3361 | |
| 3851 | 3362 | =end original |
| 3852 | 3363 | |
| 3853 | (S | |
| 3364 | (S) Perl の字句解析部は、次に項が来るか、演算子が来るかを知っています。 | |
| 3854 | 知っています。 | |
| 3855 | 3365 | 次に演算子が来ると思っているときに、項であるとわかるものが現れると、 |
| 3856 | 3366 | この警告が出ることになります。 |
| 3857 | 3367 | 通常、演算子かセミコロンのような区切り文字が省略されたことをしめします。 |
| 3858 | 3368 | |
| 3859 | 3369 | =item gdbm store returned %d, errno %d, key "%s" |
| 3860 | 3370 | |
| 3861 | 3371 | =begin original |
| 3862 | 3372 | |
| 3863 | 3373 | (S) A warning from the GDBM_File extension that a store failed. |
| 3864 | 3374 | |
| 3865 | 3375 | =end original |
| 3866 | 3376 | |
| 3867 | 3377 | (S) GDBM_File 拡張モジュールが、値の設定に失敗したという警告です。 |
| 3868 | 3378 | |
| 3869 | 3379 | =item gethostent not implemented |
| 3870 | 3380 | |
| 3871 | 3381 | =begin original |
| 3872 | 3382 | |
| 3873 | 3383 | (F) Your C library apparently doesn't implement gethostent(), probably |
| 3874 | 3384 | because if it did, it'd feel morally obligated to return every hostname |
| 3875 | 3385 | on the Internet. |
| 3876 | 3386 | |
| 3877 | 3387 | =end original |
| 3878 | 3388 | |
| 3879 | 3389 | (F) C ライブラリに gethostent() が実装されていないようです。 |
| 3880 | 3390 | おそらく、実装すると Internet 上のすべてのホスト名を |
| 3881 | 3391 | 返さなければいけないと思っているのでしょう。 |
| 3882 | 3392 | |
| 3883 | 3393 | =item get%sname() on closed socket %s |
| 3884 | 3394 | |
| 3885 | 3395 | =begin original |
| 3886 | 3396 | |
| 3887 | 3397 | (W closed) You tried to get a socket or peer socket name on a closed |
| 3888 | 3398 | socket. Did you forget to check the return value of your socket() call? |
| 3889 | 3399 | |
| 3890 | 3400 | =end original |
| 3891 | 3401 | |
| 3892 | 3402 | (W closed) 閉じたソケットに対してソケットやピアソケット名を取得しようと |
| 3893 | 3403 | しました。 |
| 3894 | 3404 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか? |
| 3895 | 3405 | |
| 3896 | 3406 | =item getpwnam returned invalid UIC %#o for user "%s" |
| 3897 | 3407 | |
| 3898 | 3408 | =begin original |
| 3899 | 3409 | |
| 3900 | 3410 | (S) A warning peculiar to VMS. The call to C<sys$getuai> underlying the |
| 3901 | 3411 | C<getpwnam> operator returned an invalid UIC. |
| 3902 | 3412 | |
| 3903 | 3413 | =end original |
| 3904 | 3414 | |
| 3905 | 3415 | (S) VMS に固有の警告です。 |
| 3906 | 3416 | C<getpwnam> 演算子の基礎となる C<sys$getuai> 呼び出しで |
| 3907 | 3417 | 不正な UIC が返されました。 |
| 3908 | 3418 | |
| 3909 | 3419 | =item getsockopt() on closed socket %s |
| 3910 | 3420 | |
| 3911 | 3421 | =begin original |
| 3912 | 3422 | |
| 3913 | 3423 | (W closed) You tried to get a socket option on a closed socket. Did you |
| 3914 | 3424 | forget to check the return value of your socket() call? See |
| 3915 | 3425 | L<perlfunc/getsockopt>. |
| 3916 | 3426 | |
| 3917 | 3427 | =end original |
| 3918 | 3428 | |
| 3919 | 3429 | (W clockd) クローズされたソケットのソケットオプションを取得しようとしました。 |
| 3920 | 3430 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
| 3921 | 3431 | L<perlfunc/getsockopt> を参照してください。 |
| 3922 | 3432 | |
| 3923 | 3433 | =item Global symbol "%s" requires explicit package name |
| 3924 | 3434 | |
| 3925 | 3435 | =begin original |
| 3926 | 3436 | |
| 3927 | 3437 | (F) You've said "use strict vars", which indicates that all variables |
| 3928 | 3438 | must either be lexically scoped (using "my"), declared beforehand using |
| 3929 | 3439 | "our", or explicitly qualified to say which package the global variable |
| 3930 | 3440 | is in (using "::"). |
| 3931 | 3441 | |
| 3932 | 3442 | =end original |
| 3933 | 3443 | |
| 3934 | 3444 | (F) "use strict vars" が指定されていますので、すべての変数は、 |
| 3935 | 3445 | ("my" を使った) 字句スコープの変数か、"our" を使って事前に宣言するか、 |
| 3936 | 3446 | グローバル変数がどのパッケージのものかを ("::" を使って)、明示的に |
| 3937 | 3447 | 修飾しなくてはなりません。 |
| 3938 | 3448 | |
| 3939 | 3449 | =item glob failed (%s) |
| 3940 | 3450 | |
| 3941 | 3451 | =begin original |
| 3942 | 3452 | |
| 3943 | 3453 | (W glob) Something went wrong with the external program(s) used for |
| 3944 | 3454 | C<glob> and C<< <*.c> >>. Usually, this means that you supplied a |
| 3945 | 3455 | C<glob> pattern that caused the external program to fail and exit with a |
| 3946 | 3456 | nonzero status. If the message indicates that the abnormal exit |
| 3947 | 3457 | resulted in a coredump, this may also mean that your csh (C shell) is |
| 3948 | 3458 | broken. If so, you should change all of the csh-related variables in |
| 3949 | 3459 | config.sh: If you have tcsh, make the variables refer to it as if it |
| 3950 | 3460 | were csh (e.g. C<full_csh='/usr/bin/tcsh'>); otherwise, make them all |
| 3951 | 3461 | empty (except that C<d_csh> should be C<'undef'>) so that Perl will |
| 3952 | 3462 | think csh is missing. In either case, after editing config.sh, run |
| 3953 | 3463 | C<./Configure -S> and rebuild Perl. |
| 3954 | 3464 | |
| 3955 | 3465 | =end original |
| 3956 | 3466 | |
| 3957 | 3467 | (W glob) C<glob> や C<< <*.c> >> のために使われる外部プログラムに何か問題が |
| 3958 | 3468 | 発生しました。 |
| 3959 | 3469 | 通常、これは外部プログラムが失敗して非 0 のステータスで終了するような |
| 3960 | 3470 | C<glob> パターンが渡されたことを意味します。 |
| 3961 | 3471 | このメッセージがコアダンプを引きおこした異常終了を示している場合、 |
| 3962 | 3472 | csh (C シェル) が壊れていることを意味しているかもしれません。 |
| 3963 | 3473 | もしそうなら、config.sh の全ての csh 関連の変数を変更するべきです: |
| 3964 | 3474 | もし tcsh があるなら、(C<full_csh='/usr/bin/tcsh'> のように) tcsh を |
| 3965 | 3475 | 参照するように変数を設定します; |
| 3966 | 3476 | さもなければ、関連する全ての変数を空にする(例外として C<d_csh> は |
| 3967 | 3477 | C<'undef'> に設定するべきです)ことで、Perl は csh がないものと考えます。 |
| 3968 | 3478 | どちらの場合でも、config.sh を修正した後、C<./Configure -S> を実行して |
| 3969 | 3479 | Perl を再ビルドしてください。 |
| 3970 | 3480 | |
| 3971 | 3481 | =item Glob not terminated |
| 3972 | 3482 | |
| 3973 | 3483 | =begin original |
| 3974 | 3484 | |
| 3975 | 3485 | (F) The lexer saw a left angle bracket in a place where it was expecting |
| 3976 | 3486 | a term, so it's looking for the corresponding right angle bracket, and |
| 3977 | 3487 | not finding it. Chances are you left some needed parentheses out |
| 3978 | 3488 | earlier in the line, and you really meant a "less than". |
| 3979 | 3489 | |
| 3980 | 3490 | =end original |
| 3981 | 3491 | |
| 3982 | 3492 | (F) 項が必要とされるところで、開き山括弧が見つけたため、 |
| 3983 | 3493 | 対応する閉じ山括弧を探しましたが、見つかりませんでした。 |
| 3984 | 3494 | 可能性としては、必要な括弧を省いてしまい、本当は、「小なり記号」を |
| 3985 | 3495 | 表したかった場合が考えられます。 |
| 3986 | 3496 | |
| 3987 | 3497 | =item Got an error from DosAllocMem |
| 3988 | 3498 | |
| 3989 | 3499 | =begin original |
| 3990 | 3500 | |
| 3991 | 3501 | (P) An error peculiar to OS/2. Most probably you're using an obsolete |
| 3992 | 3502 | version of Perl, and this should not happen anyway. |
| 3993 | 3503 | |
| 3994 | 3504 | =end original |
| 3995 | 3505 | |
| 3996 | 3506 | (P) OS/2 に固有のエラーです。 |
| 3997 | 3507 | もっともありそうなのは廃止されたバージョンの Perl を使っていることで、 |
| 3998 | 3508 | どちらにしてもこのエラーは起きないはずです。 |
| 3999 | 3509 | |
| 4000 | 3510 | =item goto must have label |
| 4001 | 3511 | |
| 4002 | 3512 | =begin original |
| 4003 | 3513 | |
| 4004 | 3514 | (F) Unlike with "next" or "last", you're not allowed to goto an |
| 4005 | 3515 | unspecified destination. See L<perlfunc/goto>. |
| 4006 | 3516 | |
| 4007 | 3517 | =end original |
| 4008 | 3518 | |
| 4009 | 3519 | (F) "next" や "last" とは違って、goto には必ず、飛び先を |
| 4010 | 3520 | 指定しなくてはなりません。 |
| 4011 | 3521 | L<perlfunc/goto> を参照してください。 |
| 4012 | 3522 | |
| 4013 | =item ()-group starts with a count | |
| 4014 | ||
| 4015 | =begin original | |
| 4016 | ||
| 4017 | (F) A ()-group started with a count. A count is | |
| 4018 | supposed to follow something: a template character or a ()-group. | |
| 4019 | See L<perlfunc/pack>. | |
| 4020 | ||
| 4021 | =end original | |
| 4022 | ||
| 4023 | (F) () グループが繰り返し数で始まっています。 | |
| 4024 | 繰り返し数は、テンプレート文字か () グループの後に続くことを | |
| 4025 | 想定しています。 | |
| 4026 | ||
| 4027 | 3523 | =item %s had compilation errors |
| 4028 | 3524 | |
| 4029 | 3525 | =begin original |
| 4030 | 3526 | |
| 4031 | 3527 | (F) The final summary message when a C<perl -c> fails. |
| 4032 | 3528 | |
| 4033 | 3529 | =end original |
| 4034 | 3530 | |
| 4035 | 3531 | (F) C<perl -c> が失敗したときの最終まとめメッセージです。 |
| 4036 | 3532 | |
| 4037 | 3533 | =item Had to create %s unexpectedly |
| 4038 | 3534 | |
| 4039 | 3535 | =begin original |
| 4040 | 3536 | |
| 4041 | 3537 | (S internal) A routine asked for a symbol from a symbol table that ought |
| 4042 | 3538 | to have existed already, but for some reason it didn't, and had to be |
| 4043 | 3539 | created on an emergency basis to prevent a core dump. |
| 4044 | 3540 | |
| 4045 | 3541 | =end original |
| 4046 | 3542 | |
| 4047 | 3543 | (S internal) あるルーティンが、既に存在しているはずのシンボルを、 |
| 4048 | 3544 | シンボルテーブルで探しましたが、何らかの理由で存在せず、 |
| 4049 | 3545 | コアダンプを避けるために、緊急に生成しました。 |
| 4050 | 3546 | |
| 4051 | 3547 | =item Hash %%s missing the % in argument %d of %s() |
| 4052 | 3548 | |
| 4053 | 3549 | =begin original |
| 4054 | 3550 | |
| 4055 | 3551 | (D deprecated) Really old Perl let you omit the % on hash names in some |
| 4056 | 3552 | spots. This is now heavily deprecated. |
| 4057 | 3553 | |
| 4058 | 3554 | =end original |
| 4059 | 3555 | |
| 4060 | 3556 | (D deprecated) 本当に古い Perl では、ハッシュ名の % を省略できる場所が |
| 4061 | 3557 | ありました。 |
| 4062 | 3558 | 省略はしないようにしてください。 |
| 4063 | 3559 | |
| 4064 | 3560 | =item %s has too many errors |
| 4065 | 3561 | |
| 4066 | 3562 | =begin original |
| 4067 | 3563 | |
| 4068 | 3564 | (F) The parser has given up trying to parse the program after 10 errors. |
| 4069 | 3565 | Further error messages would likely be uninformative. |
| 4070 | 3566 | |
| 4071 | 3567 | =end original |
| 4072 | 3568 | |
| 4073 | 3569 | (F) 構文解析部が、プログラム中に 10 個のエラーを見つけたため、 |
| 4074 | 3570 | それ以上の解析を諦めました。 |
| 4075 | 3571 | それ以上のエラーメッセージは、おそらく意味がないでしょう。 |
| 4076 | 3572 | |
| 4077 | 3573 | =item Hexadecimal number > 0xffffffff non-portable |
| 4078 | 3574 | |
| 4079 | 3575 | =begin original |
| 4080 | 3576 | |
| 4081 | 3577 | (W portable) The hexadecimal number you specified is larger than 2**32-1 |
| 4082 | 3578 | (4294967295) and therefore non-portable between systems. See |
| 4083 | 3579 | L<perlport> for more on portability concerns. |
| 4084 | 3580 | |
| 4085 | 3581 | =end original |
| 4086 | 3582 | |
| 4087 | 3583 | (W portable) 指定した 16 進数が 2**32-1 (4294967295) より大きいので、 |
| 4088 | 3584 | システム間で移植性がありません。 |
| 4089 | 3585 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
| 4090 | 3586 | |
| 4091 | 3587 | =item Identifier too long |
| 4092 | 3588 | |
| 4093 | 3589 | =begin original |
| 4094 | 3590 | |
| 4095 | 3591 | (F) Perl limits identifiers (names for variables, functions, etc.) to |
| 4096 | 3592 | about 250 characters for simple names, and somewhat more for compound |
| 4097 | 3593 | names (like C<$A::B>). You've exceeded Perl's limits. Future versions |
| 4098 | 3594 | of Perl are likely to eliminate these arbitrary limitations. |
| 4099 | 3595 | |
| 4100 | 3596 | =end original |
| 4101 | 3597 | |
| 4102 | 3598 | (F) Perl は識別子(変数名や関数名など)について、単純な名前については |
| 4103 | 3599 | およそ 250 文字に、(C<$A::B> のような)複合名についてはもう少し長い長さに |
| 4104 | 3600 | 制限しています。 |
| 4105 | 3601 | この Perl の制限を越えました。 |
| 4106 | 3602 | 将来のバージョンの Perl ではこれらの恣意的な制限はなくなるでしょう。 |
| 4107 | 3603 | |
| 4108 | 3604 | =item Illegal binary digit %s |
| 4109 | 3605 | |
| 4110 | 3606 | =begin original |
| 4111 | 3607 | |
| 4112 | 3608 | (F) You used a digit other than 0 or 1 in a binary number. |
| 4113 | 3609 | |
| 4114 | 3610 | =end original |
| 4115 | 3611 | |
| 4116 | 3612 | (F) 2 進数として 0 と 1 以外の数値を使っています。 |
| 4117 | 3613 | |
| 4118 | 3614 | =item Illegal binary digit %s ignored |
| 4119 | 3615 | |
| 4120 | 3616 | =begin original |
| 4121 | 3617 | |
| 4122 | 3618 | (W digit) You may have tried to use a digit other than 0 or 1 in a |
| 4123 | 3619 | binary number. Interpretation of the binary number stopped before the |
| 4124 | 3620 | offending digit. |
| 4125 | 3621 | |
| 4126 | 3622 | =end original |
| 4127 | 3623 | |
| 4128 | 3624 | (W digit) 2 進数として 0 と 1 以外の数値を使おうとしたのでしょう。 |
| 4129 | 3625 | 2 進数の解釈は問題のある数値の手前で停止しました。 |
| 4130 | 3626 | |
| 4131 | 3627 | =item Illegal character %s (carriage return) |
| 4132 | 3628 | |
| 4133 | 3629 | =begin original |
| 4134 | 3630 | |
| 4135 | 3631 | (F) Perl normally treats carriage returns in the program text as it |
| 4136 | 3632 | would any other whitespace, which means you should never see this error |
| 4137 | 3633 | when Perl was built using standard options. For some reason, your |
| 4138 | 3634 | version of Perl appears to have been built without this support. Talk |
| 4139 | 3635 | to your Perl administrator. |
| 4140 | 3636 | |
| 4141 | 3637 | =end original |
| 4142 | 3638 | |
| 4143 | 3639 | (F) Perl は普通プログラムテキスト中の復帰文字をその他の空白と同様に |
| 4144 | 3640 | 扱いますので、Perl を標準のオプションでビルドした場合はこのエラーを |
| 4145 | 3641 | 見ることは決してないはずです。 |
| 4146 | 3642 | どういうわけか、お使いの Perl はこの機能なしでビルドされているようです。 |
| 4147 | 3643 | Perl の管理者に問い合わせてください。 |
| 4148 | 3644 | |
| 4149 | =item Illegal character in prototype for %s : %s | |
| 4150 | ||
| 4151 | =begin original | |
| 4152 | ||
| 4153 | (W syntax) An illegal character was found in a prototype declaration. Legal | |
| 4154 | characters in prototypes are $, @, %, *, ;, [, ], &, and \. | |
| 4155 | ||
| 4156 | =end original | |
| 4157 | ||
| 4158 | (W syntax) プロトタイプ宣言に無効な文字が見つかりました。 | |
| 4159 | プロトタイプでの有効な文字は、$, @, %, *, ;, [, ], &, \ です。 | |
| 4160 | ||
| 4161 | =item Illegal declaration of anonymous subroutine | |
| 4162 | ||
| 4163 | =begin original | |
| 4164 | ||
| 4165 | (F) When using the C<sub> keyword to construct an anonymous subroutine, | |
| 4166 | you must always specify a block of code. See L<perlsub>. | |
| 4167 | ||
| 4168 | =end original | |
| 4169 | ||
| 4170 | (F) 無名サブルーチンを作るために C<sub> を使ったときは、 | |
| 4171 | 常にコードのブロックを指定しなければなりません。 | |
| 4172 | L<perlsub> を参照してください。 | |
| 4173 | ||
| 4174 | =item Illegal declaration of subroutine %s | |
| 4175 | ||
| 4176 | =begin original | |
| 4177 | ||
| 4178 | (F) A subroutine was not declared correctly. See L<perlsub>. | |
| 4179 | ||
| 4180 | =end original | |
| 4181 | ||
| 4182 | (F) サブルーチンが正しく宣言されていません。 | |
| 4183 | L<perlsub> を参照してください。 | |
| 4184 | ||
| 4185 | 3645 | =item Illegal division by zero |
| 4186 | 3646 | |
| 4187 | 3647 | =begin original |
| 4188 | 3648 | |
| 4189 | 3649 | (F) You tried to divide a number by 0. Either something was wrong in |
| 4190 | 3650 | your logic, or you need to put a conditional in to guard against |
| 4191 | 3651 | meaningless input. |
| 4192 | 3652 | |
| 4193 | 3653 | =end original |
| 4194 | 3654 | |
| 4195 | 3655 | (F) ゼロで割り算をしようとしました。 |
| 4196 | 3656 | ロジックの誤りか、意味の無い入力を防ぐために、条件を付けることが |
| 4197 | 3657 | 必要かのどちらかでしょう。 |
| 4198 | 3658 | |
| 4199 | 3659 | =item Illegal hexadecimal digit %s ignored |
| 4200 | 3660 | |
| 4201 | 3661 | =begin original |
| 4202 | 3662 | |
| 4203 | 3663 | (W digit) You may have tried to use a character other than 0 - 9 or |
| 4204 | 3664 | A - F, a - f in a hexadecimal number. Interpretation of the hexadecimal |
| 4205 | 3665 | number stopped before the illegal character. |
| 4206 | 3666 | |
| 4207 | 3667 | =end original |
| 4208 | 3668 | |
| 4209 | 3669 | (W digit) 16 進数として 0 - 9, A - F, a - f 以外の文字を使おうとしました。 |
| 4210 | 3670 | 16 進数の解釈は不正な文字の手前で停止しました。 |
| 4211 | 3671 | |
| 4212 | 3672 | =item Illegal modulus zero |
| 4213 | 3673 | |
| 4214 | 3674 | =begin original |
| 4215 | 3675 | |
| 4216 | 3676 | (F) You tried to divide a number by 0 to get the remainder. Most |
| 4217 | 3677 | numbers don't take to this kindly. |
| 4218 | 3678 | |
| 4219 | 3679 | =end original |
| 4220 | 3680 | |
| 4221 | 3681 | (F) 余りを求めるのに、ゼロで割り算をしようとしました。 |
| 4222 | 3682 | これは、ほとんどの数体系で受け入れられません。 |
| 4223 | 3683 | |
| 4224 | 3684 | =item Illegal number of bits in vec |
| 4225 | 3685 | |
| 4226 | 3686 | =begin original |
| 4227 | 3687 | |
| 4228 | 3688 | (F) The number of bits in vec() (the third argument) must be a power of |
| 4229 | 3689 | two from 1 to 32 (or 64, if your platform supports that). |
| 4230 | 3690 | |
| 4231 | 3691 | =end original |
| 4232 | 3692 | |
| 4233 | 3693 | (F) vec() のビット数 (第三引数) は 1 から 32 (プラットフォームが |
| 4234 | 3694 | 対応している場合は 64) までの、2 のべき乗でなければなりません。 |
| 4235 | 3695 | |
| 4236 | 3696 | =item Illegal octal digit %s |
| 4237 | 3697 | |
| 4238 | 3698 | =begin original |
| 4239 | 3699 | |
| 4240 | (F) You used an 8 or 9 in a | |
| 3700 | (F) You used an 8 or 9 in a octal number. | |
| 4241 | 3701 | |
| 4242 | 3702 | =end original |
| 4243 | 3703 | |
| 4244 | 3704 | (F) 8 進数で 8 か 9 を使いました。 |
| 4245 | 3705 | |
| 4246 | 3706 | =item Illegal octal digit %s ignored |
| 4247 | 3707 | |
| 4248 | 3708 | =begin original |
| 4249 | 3709 | |
| 4250 | (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. | |
| 4251 | 3711 | Interpretation of the octal number stopped before the 8 or 9. |
| 4252 | 3712 | |
| 4253 | 3713 | =end original |
| 4254 | 3714 | |
| 4255 | 3715 | (W digit) 8 進数で 8 か 9 を使おうとしたのでしょう。 |
| 4256 | 3716 | 8 進数の解釈は 8 か 9 の手前で停止しました。 |
| 4257 | 3717 | |
| 4258 | 3718 | =item Illegal switch in PERL5OPT: %s |
| 4259 | 3719 | |
| 4260 | 3720 | =begin original |
| 4261 | 3721 | |
| 4262 | 3722 | (X) The PERL5OPT environment variable may only be used to set the |
| 4263 | following switches: B<-[DIMUdm | |
| 3723 | following switches: B<-[DIMUdmw]>. | |
| 4264 | 3724 | |
| 4265 | 3725 | =end original |
| 4266 | 3726 | |
| 4267 | (X) PERL5OPT 環境変数で設定できるのは B<-[DIMUdm | |
| 3727 | (X) PERL5OPT 環境変数で設定できるのは B<-[DIMUdmw]> の | |
| 4268 | 3728 | オプションだけです。 |
| 4269 | 3729 | |
| 4270 | 3730 | =item Ill-formed CRTL environ value "%s" |
| 4271 | 3731 | |
| 4272 | 3732 | =begin original |
| 4273 | 3733 | |
| 4274 | 3734 | (W internal) A warning peculiar to VMS. Perl tried to read the CRTL's |
| 4275 | 3735 | internal environ array, and encountered an element without the C<=> |
| 4276 | 3736 | delimiter used to separate keys from values. The element is ignored. |
| 4277 | 3737 | |
| 4278 | 3738 | =end original |
| 4279 | 3739 | |
| 4280 | 3740 | (W internal) VMS 固有の警告です。 |
| 4281 | 3741 | Perl は CRTL の内部環境配列を読み込もうとしましたが、キーを値と |
| 4282 | 3742 | 分離するために使われている C<=> デリミタのない要素に遭遇しました。 |
| 4283 | 3743 | この要素は無視しました。 |
| 4284 | 3744 | |
| 4285 | 3745 | =item Ill-formed message in prime_env_iter: |%s| |
| 4286 | 3746 | |
| 4287 | 3747 | =begin original |
| 4288 | 3748 | |
| 4289 | 3749 | (W internal) A warning peculiar to VMS. Perl tried to read a logical |
| 4290 | 3750 | name or CLI symbol definition when preparing to iterate over %ENV, and |
| 4291 | 3751 | didn't see the expected delimiter between key and value, so the line was |
| 4292 | 3752 | ignored. |
| 4293 | 3753 | |
| 4294 | 3754 | =end original |
| 4295 | 3755 | |
| 4296 | 3756 | (W internal) VMS 固有の警告です。 |
| 4297 | 3757 | Perl は %ENV を反復する準備したときに論理名や CLI シンボル定義を |
| 4298 | 3758 | 読み込もうとしましたが、キーと値の間のデリミタが見つからなかったので、 |
| 4299 | 3759 | その行は無視しました。 |
| 4300 | 3760 | |
| 4301 | 3761 | =item (in cleanup) %s |
| 4302 | 3762 | |
| 4303 | 3763 | =begin original |
| 4304 | 3764 | |
| 4305 | 3765 | (W misc) This prefix usually indicates that a DESTROY() method raised |
| 4306 | 3766 | the indicated exception. Since destructors are usually called by the |
| 4307 | 3767 | system at arbitrary points during execution, and often a vast number of |
| 4308 | 3768 | times, the warning is issued only once for any number of failures that |
| 4309 | 3769 | would otherwise result in the same message being repeated. |
| 4310 | 3770 | |
| 4311 | 3771 | =end original |
| 4312 | 3772 | |
| 4313 | 3773 | (W misc) この接頭辞は普通、示されている例外が DESTROY() メソッドで |
| 4314 | 3774 | 発生したことを示しています。 |
| 4315 | 3775 | デストラクタは普通実行中の任意の時点で呼び出され、しばしば大量に |
| 4316 | 3776 | 呼び出されるので、この警告は同じメッセージが繰り返されないように、 |
| 4317 | 3777 | 何回失敗しても一度だけ発生します。 |
| 4318 | 3778 | |
| 4319 | 3779 | =begin original |
| 4320 | 3780 | |
| 4321 | 3781 | Failure of user callbacks dispatched using the C<G_KEEPERR> flag could |
| 4322 | 3782 | also result in this warning. See L<perlcall/G_KEEPERR>. |
| 4323 | 3783 | |
| 4324 | 3784 | =end original |
| 4325 | 3785 | |
| 4326 | 3786 | C<G_KEEPERR> フラグを使ってディスパッチしたユーザーコールバックに失敗した |
| 4327 | 3787 | 場合にもこの警告が出ることがあります。 |
| 4328 | 3788 | L<perlcall/G_KEEPERR> を参照してください。 |
| 4329 | 3789 | |
| 4330 | =item In EBCDIC the v-string components cannot exceed 2147483647 | |
| 4331 | ||
| 4332 | =begin original | |
| 4333 | ||
| 4334 | (F) An error peculiar to EBCDIC. Internally, v-strings are stored as | |
| 4335 | Unicode code points, and encoded in EBCDIC as UTF-EBCDIC. The UTF-EBCDIC | |
| 4336 | encoding is limited to code points no larger than 2147483647 (0x7FFFFFFF). | |
| 4337 | ||
| 4338 | =end original | |
| 4339 | ||
| 4340 | (F) EBCDIC 特有のエラーです。 | |
| 4341 | 内部的に、v 文字列は Unicode 文字ポイントとして保管されていて、 | |
| 4342 | EBCDIC では UTF-EBCDIC でとしてエンコードされています。 | |
| 4343 | UTF-EBCDIC エンコーディングでは、コードポイントは | |
| 4344 | 2147483647 (0x7FFFFFFF) 以下に制限されます。 | |
| 4345 | ||
| 4346 | 3790 | =item Insecure dependency in %s |
| 4347 | 3791 | |
| 4348 | 3792 | =begin original |
| 4349 | 3793 | |
| 4350 | 3794 | (F) You tried to do something that the tainting mechanism didn't like. |
| 4351 | 3795 | The tainting mechanism is turned on when you're running setuid or |
| 4352 | 3796 | setgid, or when you specify B<-T> to turn it on explicitly. The |
| 4353 | 3797 | tainting mechanism labels all data that's derived directly or indirectly |
| 4354 | 3798 | from the user, who is considered to be unworthy of your trust. If any |
| 4355 | 3799 | such data is used in a "dangerous" operation, you get this error. See |
| 4356 | 3800 | L<perlsec> for more information. |
| 4357 | 3801 | |
| 4358 | 3802 | =end original |
| 4359 | 3803 | |
| 4360 | 3804 | (F) 何か汚染チェックの機構が、望ましくないと判断することを |
| 4361 | 3805 | 行なおうとしました。 |
| 4362 | 3806 | setuid や setgid を実行したときや、明示的に B<-T> で指定したときに、 |
| 4363 | 3807 | 汚染チェック機構が働きます。 |
| 4364 | 3808 | 汚染チェック機構は、信頼がおけないと仮定されるユーザが直接、間接を問わず、 |
| 4365 | 3809 | 指定したデータに印を付けます。 |
| 4366 | 3810 | そのようなデータを「危険な」操作に用いると、このエラーが発生します。 |
| 4367 | 3811 | 詳しくは、L<perlsec> を参照してください。 |
| 4368 | 3812 | |
| 4369 | 3813 | =item Insecure directory in %s |
| 4370 | 3814 | |
| 4371 | 3815 | =begin original |
| 4372 | 3816 | |
| 4373 | 3817 | (F) You can't use system(), exec(), or a piped open in a setuid or |
| 4374 | 3818 | setgid script if C<$ENV{PATH}> contains a directory that is writable by |
| 4375 | the world. | |
| 3819 | the world. See L<perlsec>. | |
| 4376 | See L<perlsec>. | |
| 4377 | 3820 | |
| 4378 | 3821 | =end original |
| 4379 | 3822 | |
| 4380 | 3823 | (F) C<$ENV{PATH}> の中に、誰にでも書き込みができるディレクトリが |
| 4381 | 3824 | 含まれているとき、system()、exec()、パイプのオープンを |
| 4382 | 3825 | 行なうことはできません。 |
| 4383 | また、PATH には相対早退ディレクトリを含んでいてはいけません。 | |
| 4384 | 3826 | L<perlsec> を参照してください。 |
| 4385 | 3827 | |
| 4386 | 3828 | =item Insecure $ENV{%s} while running %s |
| 4387 | 3829 | |
| 4388 | 3830 | =begin original |
| 4389 | 3831 | |
| 4390 | 3832 | (F) You can't use system(), exec(), or a piped open in a setuid or |
| 4391 | 3833 | setgid script if any of C<$ENV{PATH}>, C<$ENV{IFS}>, C<$ENV{CDPATH}>, |
| 4392 | C<$ENV{ENV}> | |
| 3834 | C<$ENV{ENV}> or C<$ENV{BASH_ENV}> are derived from data supplied (or | |
| 4393 | ||
| 3835 | potentially supplied) by the user. The script must set the path to a | |
| 4394 | ||
| 3836 | known value, using trustworthy data. See L<perlsec>. | |
| 4395 | 3837 | |
| 4396 | 3838 | =end original |
| 4397 | 3839 | |
| 4398 | 3840 | (F) C<$ENV{PATH}>, C<$ENV{IFS}>, C<$ENV{CDPATH}>, C<$ENV{ENV}>, |
| 4399 | C<$ENV{BASH_ENV}> | |
| 3841 | C<$ENV{BASH_ENV}> のいずれかがユーザーによって提供された(あるいは | |
| 4400 | ||
| 3842 | 提供された可能性のある)データの場合、setuid や setgid されたスクリプトでは | |
| 4401 | ||
| 3843 | system(), exec(), パイプされる open を使うことはできません。 | |
| 4402 | 使うことはできません。 | |
| 4403 | 3844 | スクリプトはパスとして、信頼の置けるデータを使った、既知の値を |
| 4404 | 3845 | セットしなければなりません。 |
| 4405 | 3846 | L<perlsec> を参照してください。 |
| 4406 | 3847 | |
| 4407 | 3848 | =item Integer overflow in %s number |
| 4408 | 3849 | |
| 4409 | 3850 | =begin original |
| 4410 | 3851 | |
| 4411 | 3852 | (W overflow) The hexadecimal, octal or binary number you have specified |
| 4412 | 3853 | either as a literal or as an argument to hex() or oct() is too big for |
| 4413 | 3854 | your architecture, and has been converted to a floating point number. |
| 4414 | 3855 | On a 32-bit architecture the largest hexadecimal, octal or binary number |
| 4415 | 3856 | representable without overflow is 0xFFFFFFFF, 037777777777, or |
| 4416 | 3857 | 0b11111111111111111111111111111111 respectively. Note that Perl |
| 4417 | 3858 | transparently promotes all numbers to a floating point representation |
| 4418 | 3859 | internally--subject to loss of precision errors in subsequent |
| 4419 | 3860 | operations. |
| 4420 | 3861 | |
| 4421 | 3862 | =end original |
| 4422 | 3863 | |
| 4423 | 3864 | (W overflow) リテラルまたは hex() や oct() の引数として指定された 16 進、 |
| 4424 | 3865 | 8 進、2 進数は実行しているアーキテクチャには大きすぎるので、浮動小数点数に |
| 4425 | 3866 | 変換されました。 |
| 4426 | 3867 | 32 ビットアーキテクチャでは、オーバーフローせずに表現できる 16 進、8 進 |
| 4427 | 3868 | 2 進数はそれぞれ 0xFFFFFFFF, 037777777777, |
| 4428 | 3869 | 0b11111111111111111111111111111111 です。 |
| 4429 | 3870 | Perl は全ての数値を内部では浮動小数点表現に透過的に変換することに |
| 4430 | 3871 | 注意してください -- 引き続く操作によって精度が失われることがあります。 |
| 4431 | 3872 | |
| 4432 | =item Internal disaster | |
| 3873 | =item Internal disaster before << HERE in regex m/%s/ | |
| 4433 | 3874 | |
| 4434 | 3875 | =begin original |
| 4435 | 3876 | |
| 4436 | 3877 | (P) Something went badly wrong in the regular expression parser. |
| 4437 | The < | |
| 3878 | The << HERE shows in the regular expression about where the problem was | |
| 4438 | 3879 | discovered. |
| 4439 | 3880 | |
| 4440 | 3881 | =end original |
| 4441 | 3882 | |
| 4442 | 3883 | (P) 正規表現解析部に何か悪いことが起こりました。 |
| 4443 | < | |
| 3884 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 4444 | 3885 | |
| 4445 | 3886 | =item Internal inconsistency in tracking vforks |
| 4446 | 3887 | |
| 4447 | 3888 | =begin original |
| 4448 | 3889 | |
| 4449 | 3890 | (S) A warning peculiar to VMS. Perl keeps track of the number of times |
| 4450 | 3891 | you've called C<fork> and C<exec>, to determine whether the current call |
| 4451 | 3892 | to C<exec> should affect the current script or a subprocess (see |
| 4452 | 3893 | L<perlvms/"exec LIST">). Somehow, this count has become scrambled, so |
| 4453 | 3894 | Perl is making a guess and treating this C<exec> as a request to |
| 4454 | 3895 | terminate the Perl script and execute the specified command. |
| 4455 | 3896 | |
| 4456 | 3897 | =end original |
| 4457 | 3898 | |
| 4458 | 3899 | (S) VMS 特有の警告です。 |
| 4459 | 3900 | Perl は C<fork> と C<exec> を呼び出した回数を数えています; |
| 4460 | 3901 | これは現在の C<exec> 呼び出しが現在のスクリプトかサブプロセスかどちらに |
| 4461 | 3902 | 影響を与えるかを決定するためです(L<perlvms/"exec LIST"> を |
| 4462 | 3903 | 参照してください)。 |
| 4463 | 3904 | どういうわけか、このカウントがおかしくなったので、Perl はこの C<exec> が |
| 4464 | 3905 | Perl スクリプトを終了させて指定されたコマンドを実行する要求であると |
| 4465 | 3906 | 仮定して、そのように扱いました。 |
| 4466 | 3907 | |
| 4467 | =item Internal urp | |
| 3908 | =item Internal urp before << HERE in regex m/%s/ | |
| 4468 | 3909 | |
| 4469 | 3910 | =begin original |
| 4470 | 3911 | |
| 4471 | (P) Something went badly awry in the regular expression parser. The | |
| 3912 | (P) Something went badly awry in the regular expression parser. The <<<HERE | |
| 4472 | ||
| 3913 | shows in the regular expression about where the problem was discovered. | |
| 4473 | discovered. | |
| 4474 | 3914 | |
| 4475 | 3915 | =end original |
| 4476 | 3916 | |
| 4477 | 3917 | (P) 正規表現解析部に何か間違ったことが起こりました。 |
| 4478 | < | |
| 3918 | <<<HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 4479 | 3919 | |
| 4480 | 3920 | =item %s (...) interpreted as function |
| 4481 | 3921 | |
| 4482 | 3922 | =begin original |
| 4483 | 3923 | |
| 4484 | 3924 | (W syntax) You've run afoul of the rule that says that any list operator |
| 4485 | 3925 | followed by parentheses turns into a function, with all the list |
| 4486 | operators arguments found inside the parentheses. See | |
| 3926 | operators arguments found inside the parentheses. See | |
| 4487 | 3927 | L<perlop/Terms and List Operators (Leftward)>. |
| 4488 | 3928 | |
| 4489 | 3929 | =end original |
| 4490 | 3930 | |
| 4491 | 3931 | (W syntax) リスト演算子の直後に括弧を置くと、括弧内にあるリスト演算子引数を |
| 4492 | 3932 | 持つ関数になる、という規則が適用されました。 |
| 4493 | 3933 | L<perlop/Terms and List Operators (Leftward)> を参照してください。 |
| 4494 | 3934 | |
| 4495 | 3935 | =item Invalid %s attribute: %s |
| 4496 | 3936 | |
| 4497 | 3937 | =begin original |
| 4498 | 3938 | |
| 4499 | 3939 | The indicated attribute for a subroutine or variable was not recognized |
| 4500 | 3940 | by Perl or by a user-supplied handler. See L<attributes>. |
| 4501 | 3941 | |
| 4502 | 3942 | =end original |
| 4503 | 3943 | |
| 4504 | 3944 | 示されたサブルーチンや変数の属性は |
| 4505 | 3945 | Perl やユーザー提供のハンドラで認識されませんでした。 |
| 4506 | 3946 | L<attributes> を参照してください。 |
| 4507 | 3947 | |
| 4508 | 3948 | =item Invalid %s attributes: %s |
| 4509 | 3949 | |
| 4510 | 3950 | =begin original |
| 4511 | 3951 | |
| 4512 | 3952 | The indicated attributes for a subroutine or variable were not |
| 4513 | 3953 | recognized by Perl or by a user-supplied handler. See L<attributes>. |
| 4514 | 3954 | |
| 4515 | 3955 | =end original |
| 4516 | 3956 | |
| 4517 | 3957 | 示されたサブルーチンや変数の属性は |
| 4518 | 3958 | Perl やユーザー提供のハンドラで認識されませんでした。 |
| 4519 | 3959 | L<attributes> を参照してください。 |
| 4520 | 3960 | |
| 4521 | 3961 | =item Invalid conversion in %s: "%s" |
| 4522 | 3962 | |
| 4523 | 3963 | =begin original |
| 4524 | 3964 | |
| 4525 | 3965 | (W printf) Perl does not understand the given format conversion. See |
| 4526 | 3966 | L<perlfunc/sprintf>. |
| 4527 | 3967 | |
| 4528 | 3968 | =end original |
| 4529 | 3969 | |
| 4530 | 3970 | (W printf) Perl は指定されたフォーマット変換が認識できませんでした。 |
| 4531 | 3971 | L<perlfunc/sprintf> を参照してください。 |
| 4532 | 3972 | |
| 4533 | =item | |
| 3973 | =item invalid [] range "%s" in regexp | |
| 4534 | 3974 | |
| 4535 | 3975 | =begin original |
| 4536 | 3976 | |
| 4537 | 3977 | (F) The range specified in a character class had a minimum character |
| 4538 | greater than the maximum character. | |
| 3978 | greater than the maximum character. See L<perlre>. | |
| 4539 | C<{}> from your ending C<\x{}> - C<\x> without the curly braces can go only | |
| 4540 | up to C<ff>. The <-- HERE shows in the regular expression about where the | |
| 4541 | problem was discovered. See L<perlre>. | |
| 4542 | 3979 | |
| 4543 | 3980 | =end original |
| 4544 | 3981 | |
| 4545 | 3982 | (F) 文字クラスに指定した範囲の最小値が、最大値よりも大きくなっています。 |
| 4546 | ひとつの可能性としては、末尾の C<\x{}> から C<{}> を | |
| 4547 | 忘れているということです - 中かっこなしの C<\x> は C<ff> までにしか | |
| 4548 | なりません。 | |
| 4549 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 4550 | 3983 | L<perlre> を参照してください。 |
| 4551 | 3984 | |
| 4552 | =item Invalid range "%s" in transliteration operator | |
| 4553 | ||
| 4554 | =begin original | |
| 4555 | ||
| 4556 | (F) The range specified in the tr/// or y/// operator had a minimum | |
| 4557 | character greater than the maximum character. See L<perlop>. | |
| 4558 | ||
| 4559 | =end original | |
| 4560 | ||
| 4561 | (F) tr/// や y/// の演算子での範囲指定で、最大の文字より最小の文字の方が | |
| 4562 | 大きいです。 | |
| 4563 | L<perlop> を参照してください。 | |
| 4564 | ||
| 4565 | 3985 | =item Invalid separator character %s in attribute list |
| 4566 | 3986 | |
| 4567 | 3987 | =begin original |
| 4568 | 3988 | |
| 4569 | 3989 | (F) Something other than a colon or whitespace was seen between the |
| 4570 | 3990 | elements of an attribute list. If the previous attribute had a |
| 4571 | 3991 | parenthesised parameter list, perhaps that list was terminated too soon. |
| 4572 | 3992 | See L<attributes>. |
| 4573 | 3993 | |
| 4574 | 3994 | =end original |
| 4575 | 3995 | |
| 4576 | 3996 | (F) 属性リストの要素の間にコロンと空白以外のものがあります。 |
| 4577 | 3997 | 直前の属性がかっこ付きのパラメータリストの場合、おそらくリストが |
| 4578 | 3998 | 予定より早く終端されています。 |
| 4579 | 3999 | L<attributes> を参照してください。 |
| 4580 | 4000 | |
| 4581 | =item Invalid | |
| 4001 | =item Invalid type in pack: '%s' | |
| 4582 | 4002 | |
| 4583 | 4003 | =begin original |
| 4584 | 4004 | |
| 4585 | ( | |
| 4005 | (F) The given character is not a valid pack type. See L<perlfunc/pack>. | |
| 4586 | ||
| 4006 | (W pack) The given character is not a valid pack type but used to be | |
| 4587 | ||
| 4007 | silently ignored. | |
| 4588 | list was terminated too soon. | |
| 4589 | 4008 | |
| 4590 | 4009 | =end original |
| 4591 | 4010 | |
| 4592 | ( | |
| 4011 | (F) 与えられた文字は有効な pack の型ではありません。 | |
| 4593 | ||
| 4012 | L<perlfunc/pack> を参照してください。 | |
| 4594 | ||
| 4013 | (W pack) 与えられた文字は有効な pack の型ではありませんが、暗黙に | |
| 4595 | ||
| 4014 | 無視されました。 | |
| 4596 | 4015 | |
| 4597 | =item Invalid type | |
| 4016 | =item Invalid type in unpack: '%s' | |
| 4598 | 4017 | |
| 4599 | 4018 | =begin original |
| 4600 | 4019 | |
| 4601 | (F) The given character is not a valid | |
| 4020 | (F) The given character is not a valid unpack type. See | |
| 4602 | ||
| 4021 | L<perlfunc/unpack>. | |
| 4603 | (W) The given character is not a valid | |
| 4022 | (W unpack) The given character is not a valid unpack type but used to be | |
| 4604 | 4023 | silently ignored. |
| 4605 | 4024 | |
| 4606 | 4025 | =end original |
| 4607 | 4026 | |
| 4608 | (F) 与えられた文字は有効な | |
| 4027 | (F) 与えられた文字は有効な unpack の型ではありません。 | |
| 4609 | L<perlfunc/pack> を参照してください。 | |
| 4028 | L<perlfunc/unpack> を参照してください。 | |
| 4610 | (W) 与えられた文字は有効な | |
| 4029 | (W unpack) 与えられた文字は有効な unpack の型ではありませんが、暗黙に | |
| 4611 | 4030 | 無視されました。 |
| 4612 | 4031 | |
| 4613 | 4032 | =item ioctl is not implemented |
| 4614 | 4033 | |
| 4615 | 4034 | =begin original |
| 4616 | 4035 | |
| 4617 | 4036 | (F) Your machine apparently doesn't implement ioctl(), which is pretty |
| 4618 | 4037 | strange for a machine that supports C. |
| 4619 | 4038 | |
| 4620 | 4039 | =end original |
| 4621 | 4040 | |
| 4622 | 4041 | (F) C をサポートしているマシンではおかしなことだと思いますが、 |
| 4623 | 4042 | このマシンでは ioctl() が実装されていないようです。 |
| 4624 | 4043 | |
| 4625 | =item ioctl() on unopened %s | |
| 4626 | ||
| 4627 | =begin original | |
| 4628 | ||
| 4629 | (W unopened) You tried ioctl() on a filehandle that was never opened. | |
| 4630 | Check you control flow and number of arguments. | |
| 4631 | ||
| 4632 | =end original | |
| 4633 | ||
| 4634 | (W unopened) 開いていないファイルハンドルに ioctl() を使おうとしました。 | |
| 4635 | 制御フローと引数の数をチェックしてください。 | |
| 4636 | ||
| 4637 | =item IO layers (like "%s") unavailable | |
| 4638 | ||
| 4639 | =begin original | |
| 4640 | ||
| 4641 | (F) Your Perl has not been configured to have PerlIO, and therefore | |
| 4642 | you cannot use IO layers. To have PerlIO Perl must be configured | |
| 4643 | with 'useperlio'. | |
| 4644 | ||
| 4645 | =end original | |
| 4646 | ||
| 4647 | (F) この Perl は PerlIO を使うように設定されていないので、IO 層は使えません。 | |
| 4648 | PerlIO を使うには、'useperlio' 付きで設定する必要があります。 | |
| 4649 | ||
| 4650 | =item IO::Socket::atmark not implemented on this architecture | |
| 4651 | ||
| 4652 | =begin original | |
| 4653 | ||
| 4654 | (F) Your machine doesn't implement the sockatmark() functionality, | |
| 4655 | neither as a system call or an ioctl call (SIOCATMARK). | |
| 4656 | ||
| 4657 | =end original | |
| 4658 | ||
| 4659 | (F) 実行されているマシンでは、システムコールでも | |
| 4660 | ioctl コール(SIOCATMARK) でも sockatmark() 機能が実装されていません。 | |
| 4661 | ||
| 4662 | 4044 | =item `%s' is not a code reference |
| 4663 | 4045 | |
| 4664 | 4046 | =begin original |
| 4665 | 4047 | |
| 4666 | (W | |
| 4048 | (W) The second (fourth, sixth, ...) argument of overload::constant needs | |
| 4667 | ||
| 4049 | to be a code reference. Either an anonymous subroutine, or a reference | |
| 4668 | 4050 | to a subroutine. |
| 4669 | 4051 | |
| 4670 | 4052 | =end original |
| 4671 | 4053 | |
| 4672 | (W | |
| 4054 | (W) overload::constant の 2 番目 (4 番目、6 番目, ...) の引数はコード | |
| 4673 | ||
| 4055 | リファレンスである必要があります。 | |
| 4674 | 4056 | 無名サブルーチンか、サブルーチンへのリファレンスです。 |
| 4675 | 4057 | |
| 4676 | 4058 | =item `%s' is not an overloadable type |
| 4677 | 4059 | |
| 4678 | 4060 | =begin original |
| 4679 | 4061 | |
| 4680 | (W | |
| 4062 | (W) You tried to overload a constant type the overload package is unaware of. | |
| 4681 | unaware of. | |
| 4682 | 4063 | |
| 4683 | 4064 | =end original |
| 4684 | 4065 | |
| 4685 | (W | |
| 4066 | (W) オーバーロードパッケージが知らない定数型をオーバーロードしようとしました。 | |
| 4686 | オーバーロードしようとしました。 | |
| 4687 | 4067 | |
| 4688 | 4068 | =item junk on end of regexp |
| 4689 | 4069 | |
| 4690 | 4070 | =begin original |
| 4691 | 4071 | |
| 4692 | 4072 | (P) The regular expression parser is confused. |
| 4693 | 4073 | |
| 4694 | 4074 | =end original |
| 4695 | 4075 | |
| 4696 | 4076 | (P) 正規表現の構文解析ができなくなりました。 |
| 4697 | 4077 | |
| 4698 | 4078 | =item Label not found for "last %s" |
| 4699 | 4079 | |
| 4700 | 4080 | =begin original |
| 4701 | 4081 | |
| 4702 | 4082 | (F) You named a loop to break out of, but you're not currently in a loop |
| 4703 | 4083 | of that name, not even if you count where you were called from. See |
| 4704 | 4084 | L<perlfunc/last>. |
| 4705 | 4085 | |
| 4706 | 4086 | =end original |
| 4707 | 4087 | |
| 4708 | 4088 | (F) 脱出するループを指定しましたが、その名前のループの中にいません、 |
| 4709 | 4089 | たとえ、呼び出された場所がそうであっても、今はそうではありません。 |
| 4710 | 4090 | L<perlfunc/last> を参照してください。 |
| 4711 | 4091 | |
| 4712 | 4092 | =item Label not found for "next %s" |
| 4713 | 4093 | |
| 4714 | 4094 | =begin original |
| 4715 | 4095 | |
| 4716 | 4096 | (F) You named a loop to continue, but you're not currently in a loop of |
| 4717 | 4097 | that name, not even if you count where you were called from. See |
| 4718 | 4098 | L<perlfunc/last>. |
| 4719 | 4099 | |
| 4720 | 4100 | =end original |
| 4721 | 4101 | |
| 4722 | 4102 | (F) 次の繰り返しを行なうループを指定しましたが、 |
| 4723 | 4103 | その名前のループの中にいません。 |
| 4724 | 4104 | たとえ、呼び出された場所がそうであっても、今はそうではありません。 |
| 4725 | 4105 | L<perlfunc/last> を参照してください。 |
| 4726 | 4106 | |
| 4727 | 4107 | =item Label not found for "redo %s" |
| 4728 | 4108 | |
| 4729 | 4109 | =begin original |
| 4730 | 4110 | |
| 4731 | 4111 | (F) You named a loop to restart, but you're not currently in a loop of |
| 4732 | 4112 | that name, not even if you count where you were called from. See |
| 4733 | 4113 | L<perlfunc/last>. |
| 4734 | 4114 | |
| 4735 | 4115 | =end original |
| 4736 | 4116 | |
| 4737 | 4117 | (F) 繰り返しの再実行を行なうループを指定しましたが、 |
| 4738 | 4118 | その名前のループの中にいません。 |
| 4739 | 4119 | たとえ、呼び出された場所がそうであっても、今はそうではありません。 |
| 4740 | 4120 | L<perlfunc/last> を参照してください。 |
| 4741 | 4121 | |
| 4742 | 4122 | =item leaving effective %s failed |
| 4743 | 4123 | |
| 4744 | 4124 | =begin original |
| 4745 | 4125 | |
| 4746 | 4126 | (F) While under the C<use filetest> pragma, switching the real and |
| 4747 | 4127 | effective uids or gids failed. |
| 4748 | 4128 | |
| 4749 | 4129 | =end original |
| 4750 | 4130 | |
| 4751 | 4131 | (F) C<use filetest> プラグマを使っている間に、 |
| 4752 | 4132 | 実と実効の UID や GID の切り替えに失敗しました。 |
| 4753 | 4133 | |
| 4754 | =item length/code after end of string in unpack | |
| 4755 | ||
| 4756 | =begin original | |
| 4757 | ||
| 4758 | (F) While unpacking, the string buffer was already used up when an unpack | |
| 4759 | length/code combination tried to obtain more data. This results in | |
| 4760 | an undefined value for the length. See L<perlfunc/pack>. | |
| 4761 | ||
| 4762 | =end original | |
| 4763 | ||
| 4764 | (F) unpack する間、さらなるデータを取り出すために長さ/コードの組み合わせを | |
| 4765 | unpack するときに文字列バッファが既に使い切っていました。 | |
| 4766 | これにより、長さが未定義値となります。 | |
| 4767 | L<perlfunc/pack> を参照してください。 | |
| 4768 | ||
| 4769 | 4134 | =item listen() on closed socket %s |
| 4770 | 4135 | |
| 4771 | 4136 | =begin original |
| 4772 | 4137 | |
| 4773 | 4138 | (W closed) You tried to do a listen on a closed socket. Did you forget |
| 4774 | 4139 | to check the return value of your socket() call? See |
| 4775 | 4140 | L<perlfunc/listen>. |
| 4776 | 4141 | |
| 4777 | 4142 | =end original |
| 4778 | 4143 | |
| 4779 | 4144 | (W closed) クローズされたソケットに listen を行なおうとしました。 |
| 4780 | 4145 | socket() の呼び出し時に、返却値のチェックを忘れたのではありませんか。 |
| 4781 | 4146 | L<perlfunc/listen> を参照してください。 |
| 4782 | 4147 | |
| 4783 | =item Lookbehind longer than %d not implemented | |
| 4148 | =item Lookbehind longer than %d not implemented at {#} mark in regex %s | |
| 4784 | 4149 | |
| 4785 | 4150 | =begin original |
| 4786 | 4151 | |
| 4787 | ||
| 4152 | There is an upper limit to the depth of lookbehind in the (?<= | |
| 4788 | ||
| 4153 | regular expression construct. | |
| 4789 | shows in the regular expression about where the problem was discovered. | |
| 4790 | 4154 | |
| 4791 | 4155 | =end original |
| 4792 | 4156 | |
| 4793 | 現 | |
| 4157 | (?<= 正規表現構造での前方参照の深さには上限があります。 | |
| 4794 | この制限は将来のリリースでは緩和されるでしょう。 | |
| 4795 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 4796 | 4158 | |
| 4797 | =item lstat() on filehandle %s | |
| 4798 | ||
| 4799 | =begin original | |
| 4800 | ||
| 4801 | (W io) You tried to do an lstat on a filehandle. What did you mean | |
| 4802 | by that? lstat() makes sense only on filenames. (Perl did a fstat() | |
| 4803 | instead on the filehandle.) | |
| 4804 | ||
| 4805 | =end original | |
| 4806 | ||
| 4807 | (W io) ファイルハンドルに lstat を実行しようとしました。 | |
| 4808 | これで何をしようとしたのですか? | |
| 4809 | lstat() はファイル名に対してのみ意味があります。 | |
| 4810 | (Perl はファイルハンドルには代わりに fstat() を行いました。) | |
| 4811 | ||
| 4812 | 4159 | =item Lvalue subs returning %s not implemented yet |
| 4813 | 4160 | |
| 4814 | 4161 | =begin original |
| 4815 | 4162 | |
| 4816 | 4163 | (F) Due to limitations in the current implementation, array and hash |
| 4817 | 4164 | values cannot be returned in subroutines used in lvalue context. See |
| 4818 | 4165 | L<perlsub/"Lvalue subroutines">. |
| 4819 | 4166 | |
| 4820 | 4167 | =end original |
| 4821 | 4168 | |
| 4822 | 4169 | (F) 現在の実装の制限により、左辺値コンテキストで使われるサブルーチンは |
| 4823 | 4170 | 配列とハッシュの値を返すことができません。 |
| 4824 | 4171 | L<perlsub/"Lvalue subroutines"> を参照してください。 |
| 4825 | 4172 | |
| 4826 | =item | |
| 4173 | =item Lookbehind longer than %d not implemented before << HERE %s | |
| 4827 | 4174 | |
| 4828 | 4175 | =begin original |
| 4829 | 4176 | |
| 4830 | (F) | |
| 4177 | (F) There is currently a limit on the length of string which lookbehind can | |
| 4831 | a | |
| 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. | |
| 4832 | 4180 | |
| 4833 | 4181 | =end original |
| 4834 | 4182 | |
| 4835 | ||
| 4183 | 現在のところ前方参照が扱える文字列の長さには制限があります。 | |
| 4836 | ||
| 4184 | この制限は将来のリリースでは緩和されるでしょう。 | |
| 4185 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 4837 | 4186 | |
| 4838 | =item Malformed integer in [] in unpack | |
| 4839 | ||
| 4840 | =begin original | |
| 4841 | ||
| 4842 | (F) Between the brackets enclosing a numeric repeat count only digits | |
| 4843 | are permitted. See L<perlfunc/pack>. | |
| 4844 | ||
| 4845 | =end original | |
| 4846 | ||
| 4847 | (F) 中かっこで数値繰り返し数を囲む場合、数値のみが許されます。 | |
| 4848 | L<perlfunc/pack> を参照してください。 | |
| 4849 | ||
| 4850 | 4187 | =item Malformed PERLLIB_PREFIX |
| 4851 | 4188 | |
| 4852 | 4189 | =begin original |
| 4853 | 4190 | |
| 4854 | 4191 | (F) An error peculiar to OS/2. PERLLIB_PREFIX should be of the form |
| 4855 | 4192 | |
| 4856 | 4193 | =end original |
| 4857 | 4194 | |
| 4858 | 4195 | (F) OS/2 固有のエラーです。 |
| 4859 | 4196 | PERLLIB_PREFIX は以下のような形か: |
| 4860 | 4197 | |
| 4861 | 4198 | prefix1;prefix2 |
| 4862 | 4199 | |
| 4863 | 4200 | =begin original |
| 4864 | 4201 | |
| 4865 | 4202 | or |
| 4866 | 4203 | |
| 4867 | 4204 | =end original |
| 4868 | 4205 | |
| 4869 | 4206 | あるいはこのような形で: |
| 4870 | 4207 | |
| 4871 | 4208 | prefix1 prefix2 |
| 4872 | 4209 | |
| 4873 | 4210 | =begin original |
| 4874 | 4211 | |
| 4875 | 4212 | with nonempty prefix1 and prefix2. If C<prefix1> is indeed a prefix of |
| 4876 | 4213 | a builtin library search path, prefix2 is substituted. The error may |
| 4877 | 4214 | appear if components are not found, or are too long. See |
| 4878 | 4215 | "PERLLIB_PREFIX" in L<perlos2>. |
| 4879 | 4216 | |
| 4880 | 4217 | =end original |
| 4881 | 4218 | |
| 4882 | 4219 | prefix1 と prefix2 が空でない形である必要があります。 |
| 4883 | 4220 | C<prefix1> が組み込みライブラリ検索パスのプレフィックスなら、 |
| 4884 | 4221 | prefix2 は置き換えられます。 |
| 4885 | 4222 | このエラーは、コンポーネントが見つからないか、長すぎる時に起こります。 |
| 4886 | 4223 | L<perlos2> の "PERLLIB_PREFIX" を参照してください。 |
| 4887 | 4224 | |
| 4888 | =item Malformed prototype for %s: %s | |
| 4889 | ||
| 4890 | =begin original | |
| 4891 | ||
| 4892 | (F) You tried to use a function with a malformed prototype. The | |
| 4893 | syntax of function prototypes is given a brief compile-time check for | |
| 4894 | obvious errors like invalid characters. A more rigorous check is run | |
| 4895 | when the function is called. | |
| 4896 | ||
| 4897 | =end original | |
| 4898 | ||
| 4899 | (F) 不正な形式のプロトタイプをもつ関数を使おうとしました。 | |
| 4900 | 関数プロトタイプの構文は、不正な文字のようなありふれたエラーについては | |
| 4901 | コンパイル時にチェックされます。 | |
| 4902 | より厳密なチェックは、関数が呼び出された時に実行されます。 | |
| 4903 | ||
| 4904 | 4225 | =item Malformed UTF-8 character (%s) |
| 4905 | 4226 | |
| 4906 | 4227 | =begin original |
| 4907 | 4228 | |
| 4908 | ||
| 4229 | Perl detected something that didn't comply with UTF-8 encoding rules. | |
| 4909 | encoding rules. | |
| 4910 | 4230 | |
| 4911 | 4231 | =end original |
| 4912 | 4232 | |
| 4913 | ||
| 4233 | Perl が、何か UTF-8 エンコーディングルールに従わないものを | |
| 4914 | 4234 | 検出しました。 |
| 4915 | 4235 | |
| 4916 | =begin original | |
| 4917 | ||
| 4918 | One possible cause is that you read in data that you thought to be in | |
| 4919 | UTF-8 but it wasn't (it was for example legacy 8-bit data). Another | |
| 4920 | possibility is careless use of utf8::upgrade(). | |
| 4921 | ||
| 4922 | =end original | |
| 4923 | ||
| 4924 | 原因の可能性の一つは、UTF-8 だと思っていたけれでもそうではなかったデータ | |
| 4925 | (例えばレガシーな 8 ビットデータ)を読み込んだことです。 | |
| 4926 | もう一つの可能性は、不注意に utf8::upgrade() を使ったことです。 | |
| 4927 | ||
| 4928 | 4236 | =item Malformed UTF-16 surrogate |
| 4929 | 4237 | |
| 4930 | 4238 | =begin original |
| 4931 | 4239 | |
| 4932 | 4240 | Perl thought it was reading UTF-16 encoded character data but while |
| 4933 | 4241 | doing it Perl met a malformed Unicode surrogate. |
| 4934 | 4242 | |
| 4935 | 4243 | =end original |
| 4936 | 4244 | |
| 4937 | 4245 | Perl は UTF-16 エンコード文字データを読み込んでいると考えましたが、 |
| 4938 | 4246 | その間に Perl が不正な Unicode サロゲートに遭遇しました。 |
| 4939 | 4247 | |
| 4940 | =item %s matches null string many times | |
| 4248 | =item %s matches null string many times | |
| 4941 | 4249 | |
| 4942 | 4250 | =begin original |
| 4943 | 4251 | |
| 4944 | 4252 | (W regexp) The pattern you've specified would be an infinite loop if the |
| 4945 | regular expression engine didn't specifically check for that. | |
| 4253 | regular expression engine didn't specifically check for that. See | |
| 4946 | ||
| 4254 | L<perlre>. | |
| 4947 | See L<perlre>. | |
| 4948 | 4255 | |
| 4949 | 4256 | =end original |
| 4950 | 4257 | |
| 4951 | 4258 | (W) 指定したパターンは、もし、正規表現エンジンがチェックを |
| 4952 | 4259 | 行なっていなければ、無限ループに陥るものです。 |
| 4953 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 4954 | 4260 | L<perlre> を参照してください。 |
| 4955 | 4261 | |
| 4956 | =item | |
| 4262 | =item % may only be used in unpack | |
| 4957 | 4263 | |
| 4958 | 4264 | =begin original |
| 4959 | 4265 | |
| 4960 | (W) This warning may be due to running a perl5 script through a perl4 | |
| 4961 | interpreter, especially if the word that is being warned about is | |
| 4962 | "use" or "my". | |
| 4963 | ||
| 4964 | =end original | |
| 4965 | ||
| 4966 | (W) この警告は perl5 のスクリプトを perl4 インタプリタで実行しようとした | |
| 4967 | ときに起きることが多いです; 特に警告された文字が "use" や "my" の場合は | |
| 4968 | そうです。 | |
| 4969 | ||
| 4970 | =item % may not be used in pack | |
| 4971 | ||
| 4972 | =begin original | |
| 4973 | ||
| 4974 | 4266 | (F) You can't pack a string by supplying a checksum, because the |
| 4975 | 4267 | checksumming process loses information, and you can't go the other way. |
| 4976 | 4268 | See L<perlfunc/unpack>. |
| 4977 | 4269 | |
| 4978 | 4270 | =end original |
| 4979 | 4271 | |
| 4980 | 4272 | (F) チェックサムを指定して pack を行なうことはできません。 |
| 4981 | 4273 | チェックサム処理では、情報が失われ、どうしようもなくなるからです。 |
| 4982 | 4274 | L<perlfunc/unpack> を参照してください。 |
| 4983 | 4275 | |
| 4984 | 4276 | =item Method for operation %s not found in package %s during blessing |
| 4985 | 4277 | |
| 4986 | 4278 | =begin original |
| 4987 | 4279 | |
| 4988 | 4280 | (F) An attempt was made to specify an entry in an overloading table that |
| 4989 | 4281 | doesn't resolve to a valid subroutine. See L<overload>. |
| 4990 | 4282 | |
| 4991 | 4283 | =end original |
| 4992 | 4284 | |
| 4993 | 4285 | (F) 多重定義テーブルで、有効なサブルーチンに解決できない |
| 4994 | 4286 | エントリを指定しようとしました。 |
| 4995 | 4287 | L<overload> を参照してください。 |
| 4996 | 4288 | |
| 4997 | 4289 | =item Method %s not permitted |
| 4998 | 4290 | |
| 4999 | 4291 | =begin original |
| 5000 | 4292 | |
| 5001 | 4293 | See Server error. |
| 5002 | 4294 | |
| 5003 | 4295 | =end original |
| 5004 | 4296 | |
| 5005 | 4297 | "Server error" を参照してください。 |
| 5006 | 4298 | |
| 5007 | 4299 | =item Might be a runaway multi-line %s string starting on line %d |
| 5008 | 4300 | |
| 5009 | 4301 | =begin original |
| 5010 | 4302 | |
| 5011 | 4303 | (S) An advisory indicating that the previous error may have been caused |
| 5012 | 4304 | by a missing delimiter on a string or pattern, because it eventually |
| 5013 | 4305 | ended earlier on the current line. |
| 5014 | 4306 | |
| 5015 | 4307 | =end original |
| 5016 | 4308 | |
| 5017 | 4309 | (S) ようやく現在行になって、文字列やパターンの終わりが見つかったことから、 |
| 5018 | 4310 | 先のエラーが、文字列やパターンのデリミタが、見つからなかったことで |
| 5019 | 4311 | 起ったかもしれないことを、補足的に示しています。 |
| 5020 | 4312 | |
| 5021 | 4313 | =item Misplaced _ in number |
| 5022 | 4314 | |
| 5023 | 4315 | =begin original |
| 5024 | 4316 | |
| 5025 | (W syntax) An under | |
| 4317 | (W syntax) An underline in a decimal constant wasn't on a 3-digit boundary. | |
| 5026 | separate two digits. | |
| 5027 | 4318 | |
| 5028 | 4319 | =end original |
| 5029 | 4320 | |
| 5030 | (W syntax) 数 | |
| 4321 | (W syntax) 十進数定数で下線が、3 桁ごとでありませんでした。 | |
| 5031 | 4322 | |
| 5032 | =item Missing argument to -%c | |
| 5033 | ||
| 5034 | =begin original | |
| 5035 | ||
| 5036 | (F) The argument to the indicated command line switch must follow | |
| 5037 | immediately after the switch, without intervening spaces. | |
| 5038 | ||
| 5039 | =end original | |
| 5040 | ||
| 5041 | (F) 示されたコマンドラインスイッチの引数は、 | |
| 5042 | スイッチの直後にスペースを空けないで書く必要があります。 | |
| 5043 | ||
| 5044 | 4323 | =item Missing %sbrace%s on \N{} |
| 5045 | 4324 | |
| 5046 | 4325 | =begin original |
| 5047 | 4326 | |
| 5048 | 4327 | (F) Wrong syntax of character name literal C<\N{charname}> within |
| 5049 | 4328 | double-quotish context. |
| 5050 | 4329 | |
| 5051 | 4330 | =end original |
| 5052 | 4331 | |
| 5053 | 4332 | (F) ダブルクォートされたコンテキストの中で、文字名リテラル C<\N{charname}> の |
| 5054 | 4333 | 文法が間違っています。 |
| 5055 | 4334 | |
| 5056 | 4335 | =item Missing comma after first argument to %s function |
| 5057 | 4336 | |
| 5058 | 4337 | =begin original |
| 5059 | 4338 | |
| 5060 | 4339 | (F) While certain functions allow you to specify a filehandle or an |
| 5061 | 4340 | "indirect object" before the argument list, this ain't one of them. |
| 5062 | 4341 | |
| 5063 | 4342 | =end original |
| 5064 | 4343 | |
| 5065 | 4344 | (F) ある種の関数では、引数リストの前に、ファイルハンドルや |
| 5066 | 4345 | 「間接オブジェクト」をおくことができますが、この関数は、 |
| 5067 | 4346 | そういったものではありません。 |
| 5068 | 4347 | |
| 5069 | 4348 | =item Missing command in piped open |
| 5070 | 4349 | |
| 5071 | 4350 | =begin original |
| 5072 | 4351 | |
| 5073 | 4352 | (W pipe) You used the C<open(FH, "| command")> or |
| 5074 | 4353 | C<open(FH, "command |")> construction, but the command was missing or |
| 5075 | 4354 | blank. |
| 5076 | 4355 | |
| 5077 | 4356 | =end original |
| 5078 | 4357 | |
| 5079 | 4358 | (W pipe) C<open(FH, "| command")> か C<open(FH, "command |")> の構文を |
| 5080 | 4359 | 使っていますが、コマンドが指定されていないか空白です。 |
| 5081 | 4360 | |
| 5082 | =item Missing control char name in \c | |
| 5083 | ||
| 5084 | =begin original | |
| 5085 | ||
| 5086 | (F) A double-quoted string ended with "\c", without the required control | |
| 5087 | character name. | |
| 5088 | ||
| 5089 | =end original | |
| 5090 | ||
| 5091 | (F) ダブルクォートされた文字列が "\c" で終わっています; 制御文字名が | |
| 5092 | 必要です。 | |
| 5093 | ||
| 5094 | 4361 | =item Missing name in "my sub" |
| 5095 | 4362 | |
| 5096 | 4363 | =begin original |
| 5097 | 4364 | |
| 5098 | 4365 | (F) The reserved syntax for lexically scoped subroutines requires that |
| 5099 | 4366 | they have a name with which they can be found. |
| 5100 | 4367 | |
| 5101 | 4368 | =end original |
| 5102 | 4369 | |
| 5103 | 4370 | (F) 予約された文法である、レキシカルスコープのサブルーチンには |
| 5104 | 4371 | 探すことの出来る名前が必要です。 |
| 5105 | 4372 | |
| 5106 | 4373 | =item Missing $ on loop variable |
| 5107 | 4374 | |
| 5108 | 4375 | =begin original |
| 5109 | 4376 | |
| 5110 | 4377 | (F) Apparently you've been programming in B<csh> too much. Variables |
| 5111 | 4378 | are always mentioned with the $ in Perl, unlike in the shells, where it |
| 5112 | 4379 | can vary from one line to the next. |
| 5113 | 4380 | |
| 5114 | 4381 | =end original |
| 5115 | 4382 | |
| 5116 | 4383 | (F) B<csh> を使いすぎた症状が現れているようです。 |
| 5117 | 4384 | Perl では、変数は常に $ を付けて表わされます。 |
| 5118 | 4385 | その時によって違う、シェルとは違っています。 |
| 5119 | 4386 | |
| 5120 | 4387 | =item (Missing operator before %s?) |
| 5121 | 4388 | |
| 5122 | 4389 | =begin original |
| 5123 | 4390 | |
| 5124 | (S | |
| 4391 | (S) This is an educated guess made in conjunction with the message "%s | |
| 5125 | ||
| 4392 | found where operator expected". Often the missing operator is a comma. | |
| 5126 | 4393 | |
| 5127 | 4394 | =end original |
| 5128 | 4395 | |
| 5129 | (S | |
| 4396 | (S) "%s found where operator expected" と共に表示される教育的な推測です。 | |
| 5130 | 教育的な推測です。 | |
| 5131 | 4397 | しばしば抜けている演算子はカンマです。 |
| 5132 | 4398 | |
| 5133 | =item Missing right brace on %s | |
| 5134 | ||
| 5135 | =begin original | |
| 5136 | ||
| 5137 | (F) Missing right brace in C<\p{...}> or C<\P{...}>. | |
| 5138 | ||
| 5139 | =end original | |
| 5140 | ||
| 5141 | (F) C<\p{...}> や C<\P{...}> で右中かっこがありません。 | |
| 5142 | ||
| 5143 | 4399 | =item Missing right curly or square bracket |
| 5144 | 4400 | |
| 5145 | 4401 | =begin original |
| 5146 | 4402 | |
| 5147 | 4403 | (F) The lexer counted more opening curly or square brackets than closing |
| 5148 | 4404 | ones. As a general rule, you'll find it's missing near the place you |
| 5149 | 4405 | were last editing. |
| 5150 | 4406 | |
| 5151 | 4407 | =end original |
| 5152 | 4408 | |
| 5153 | 4409 | (F) 字句解析部が、閉じ中括弧(または大括弧)よりも |
| 5154 | 4410 | 開き中括弧(大括弧)を多く発見しました。 |
| 5155 | 4411 | 一般的な規則として、最後に修正した場所の近くに間違いがあるといえます。 |
| 5156 | 4412 | |
| 5157 | 4413 | =item (Missing semicolon on previous line?) |
| 5158 | 4414 | |
| 5159 | 4415 | =begin original |
| 5160 | 4416 | |
| 5161 | (S | |
| 4417 | (S) This is an educated guess made in conjunction with the message "%s | |
| 5162 | ||
| 4418 | found where operator expected". Don't automatically put a semicolon on | |
| 5163 | 4419 | the previous line just because you saw this message. |
| 5164 | 4420 | |
| 5165 | 4421 | =end original |
| 5166 | 4422 | |
| 5167 | (S | |
| 4423 | (S) このメッセージは、"%s found where operator expected" という | |
| 5168 | 4424 | メッセージに伴って出される教育的な推測によるものです。 |
| 5169 | 4425 | このメッセージが出たからといって、機械的に前の行に |
| 5170 | 4426 | セミコロンを付けることはしないでください。 |
| 5171 | 4427 | |
| 5172 | 4428 | =item Modification of a read-only value attempted |
| 5173 | 4429 | |
| 5174 | 4430 | =begin original |
| 5175 | 4431 | |
| 5176 | 4432 | (F) You tried, directly or indirectly, to change the value of a |
| 5177 | 4433 | constant. You didn't, of course, try "2 = 1", because the compiler |
| 5178 | 4434 | catches that. But an easy way to do the same thing is: |
| 5179 | 4435 | |
| 5180 | 4436 | =end original |
| 5181 | 4437 | |
| 5182 | 4438 | (F) 直接、間接に関らず、定数値を変更しようとしました。 |
| 5183 | 4439 | もちろん、コンパイラが発見できる、"2 = 1" などといったことを |
| 5184 | 4440 | したわけではありません。 |
| 5185 | 4441 | しかし、同じことは以下のようにしても起こります。 |
| 5186 | 4442 | |
| 5187 | 4443 | sub mod { $_[0] = 1 } |
| 5188 | 4444 | mod(2); |
| 5189 | 4445 | |
| 5190 | 4446 | =begin original |
| 5191 | 4447 | |
| 5192 | 4448 | Another way is to assign to a substr() that's off the end of the string. |
| 5193 | 4449 | |
| 5194 | 4450 | =end original |
| 5195 | 4451 | |
| 5196 | 4452 | substr() で、文字列の終わりよりも後ろに代入を行なうことでも起こります。 |
| 5197 | 4453 | |
| 5198 | 4454 | =begin original |
| 5199 | 4455 | |
| 5200 | 4456 | Yet another way is to assign to a C<foreach> loop I<VAR> when I<VAR> |
| 5201 | 4457 | is aliased to a constant in the look I<LIST>: |
| 5202 | 4458 | |
| 5203 | 4459 | =end original |
| 5204 | 4460 | |
| 5205 | 4461 | もう一つの可能性は、C<foreach> ループにおいて、I<VAR> が I<LIST> の中の |
| 5206 | 4462 | 定数のエイリアスであるときに、I<VAR> に代入した時です: |
| 5207 | 4463 | |
| 5208 | 4464 | $x = 1; |
| 5209 | 4465 | foreach my $n ($x, 2) { |
| 5210 | 4466 | $n *= 2; # modifies the $x, but fails on attempt to modify the 2 |
| 5211 | } | |
| 4467 | } | |
| 5212 | 4468 | |
| 5213 | 4469 | =item Modification of non-creatable array value attempted, %s |
| 5214 | 4470 | |
| 5215 | 4471 | =begin original |
| 5216 | 4472 | |
| 5217 | 4473 | (F) You tried to make an array value spring into existence, and the |
| 5218 | 4474 | subscript was probably negative, even counting from end of the array |
| 5219 | 4475 | backwards. |
| 5220 | 4476 | |
| 5221 | 4477 | =end original |
| 5222 | 4478 | |
| 5223 | 4479 | (F) 配列値を存在するようにしようとしました。 おそらく、 |
| 5224 | 4480 | 添字が負数で、配列の終わりから逆に数えたとしても、 |
| 5225 | 4481 | おかしな位置を指しているようです。 |
| 5226 | 4482 | |
| 5227 | 4483 | =item Modification of non-creatable hash value attempted, %s |
| 5228 | 4484 | |
| 5229 | 4485 | =begin original |
| 5230 | 4486 | |
| 5231 | 4487 | (P) You tried to make a hash value spring into existence, and it |
| 5232 | 4488 | couldn't be created for some peculiar reason. |
| 5233 | 4489 | |
| 5234 | 4490 | =end original |
| 5235 | 4491 | |
| 5236 | 4492 | (F) ハッシュ値を存在するようにしようとしましたが、何か特別な理由で、 |
| 5237 | 4493 | できませんでした。 |
| 5238 | 4494 | |
| 5239 | 4495 | =item Module name must be constant |
| 5240 | 4496 | |
| 5241 | 4497 | =begin original |
| 5242 | 4498 | |
| 5243 | 4499 | (F) Only a bare module name is allowed as the first argument to a "use". |
| 5244 | 4500 | |
| 5245 | 4501 | =end original |
| 5246 | 4502 | |
| 5247 | 4503 | (F) "use" の最初の引数としてモジュール名を示すのに許されているのは、 |
| 5248 | 4504 | 裸の単語だけです。 |
| 5249 | 4505 | |
| 5250 | 4506 | =item Module name required with -%c option |
| 5251 | 4507 | |
| 5252 | 4508 | =begin original |
| 5253 | 4509 | |
| 5254 | 4510 | (F) The C<-M> or C<-m> options say that Perl should load some module, but |
| 5255 | 4511 | you omitted the name of the module. Consult L<perlrun> for full details |
| 5256 | 4512 | about C<-M> and C<-m>. |
| 5257 | 4513 | |
| 5258 | 4514 | =end original |
| 5259 | 4515 | |
| 5260 | 4516 | C<-M> と C<-m> のオプションは Perl にモジュールを読み込ませることを |
| 5261 | 4517 | 指示しますが、モジュール名がありませんでした。 |
| 5262 | 4518 | C<-M> と C<-m> に関する完全な詳細については L<perlrun> を参照してください。 |
| 5263 | 4519 | |
| 5264 | =item More than one argument to open | |
| 5265 | ||
| 5266 | =begin original | |
| 5267 | ||
| 5268 | (F) The C<open> function has been asked to open multiple files. This | |
| 5269 | can happen if you are trying to open a pipe to a command that takes a | |
| 5270 | list of arguments, but have forgotten to specify a piped open mode. | |
| 5271 | See L<perlfunc/open> for details. | |
| 5272 | ||
| 5273 | =end original | |
| 5274 | ||
| 5275 | (F) C<open> 関数に、複数のファイルを開くように指定されました。 | |
| 5276 | これは引数のリストを取るコマンドへのパイプを開こうとしたときに、パイプ | |
| 5277 | オープンモードを指定するのを忘れた時に起きます。 | |
| 5278 | 詳細は L<perlfunc/open> を参照してください。 | |
| 5279 | ||
| 5280 | 4520 | =item msg%s not implemented |
| 5281 | 4521 | |
| 5282 | 4522 | =begin original |
| 5283 | 4523 | |
| 5284 | 4524 | (F) You don't have System V message IPC on your system. |
| 5285 | 4525 | |
| 5286 | 4526 | =end original |
| 5287 | 4527 | |
| 5288 | 4528 | (F) このシステムでは、System V メッセージ IPC は使えません。 |
| 5289 | 4529 | |
| 5290 | 4530 | =item Multidimensional syntax %s not supported |
| 5291 | 4531 | |
| 5292 | 4532 | =begin original |
| 5293 | 4533 | |
| 5294 | 4534 | (W syntax) Multidimensional arrays aren't written like C<$foo[1,2,3]>. |
| 5295 | 4535 | They're written like C<$foo[1][2][3]>, as in C. |
| 5296 | 4536 | |
| 5297 | 4537 | =end original |
| 5298 | 4538 | |
| 5299 | 4539 | (W syntax) 多次元配列は、C<$foo[1,2,3]> のようには書けません。 |
| 5300 | 4540 | これは、C のように C<$foo[1][2][3]> のように書きます。 |
| 5301 | 4541 | |
| 5302 | =item | |
| 4542 | =item / must be followed by a*, A* or Z* | |
| 5303 | 4543 | |
| 5304 | 4544 | =begin original |
| 5305 | 4545 | |
| 5306 | 4546 | (F) You had a pack template indicating a counted-length string, |
| 5307 | 4547 | Currently the only things that can have their length counted are a*, A* |
| 5308 | 4548 | or Z*. See L<perlfunc/pack>. |
| 5309 | 4549 | |
| 5310 | 4550 | =end original |
| 5311 | 4551 | |
| 5312 | 4552 | (F) カウント長文字列を示す pack テンプレートがあります。 |
| 5313 | 4553 | 現在のところ長さをカウントできるのは a*, A*, Z* だけです。 |
| 5314 | 4554 | L<perlfunc/pack> を参照してください。 |
| 5315 | 4555 | |
| 5316 | =item | |
| 4556 | =item / must be followed by a, A or Z | |
| 5317 | 4557 | |
| 5318 | 4558 | =begin original |
| 5319 | 4559 | |
| 5320 | (F) You had an unpack template | |
| 4560 | (F) You had an unpack template indicating a counted-length string, which | |
| 5321 | follow | |
| 4561 | must be followed by one of the letters a, A or Z to indicate what sort | |
| 5322 | See L<perlfunc/pack>. | |
| 4562 | of string is to be unpacked. See L<perlfunc/pack>. | |
| 5323 | 4563 | |
| 5324 | 4564 | =end original |
| 5325 | 4565 | |
| 5326 | (F) | |
| 4566 | (F) カウント長文字列を示す unpack テンプレートがあります; | |
| 5327 | ||
| 4567 | これはどの種類の文字列を unpack するかを指示する、文字 a, A, Z の | |
| 4568 | いずれかの後に続かなければなりません。 | |
| 5328 | 4569 | L<perlfunc/pack> を参照してください。 |
| 5329 | 4570 | |
| 4571 | =item / must follow a numeric type | |
| 4572 | ||
| 4573 | =begin original | |
| 4574 | ||
| 4575 | (F) You had an unpack template that contained a '#', but this did not | |
| 4576 | follow some numeric unpack specification. See L<perlfunc/pack>. | |
| 4577 | ||
| 4578 | =end original | |
| 4579 | ||
| 4580 | (F) '#' を含む unpack テンプレートがありますが、これがなんらかの | |
| 4581 | 数値 unpack 指定に引き続いていません。 | |
| 4582 | L<perlfunc/pack> を参照してください。 | |
| 4583 | ||
| 5330 | 4584 | =item "my sub" not yet implemented |
| 5331 | 4585 | |
| 5332 | 4586 | =begin original |
| 5333 | 4587 | |
| 5334 | 4588 | (F) Lexically scoped subroutines are not yet implemented. Don't try |
| 5335 | 4589 | that yet. |
| 5336 | 4590 | |
| 5337 | 4591 | =end original |
| 5338 | 4592 | |
| 5339 | 4593 | (F) レキシカルスコープのサブルーチンはまだ実装されていません。 |
| 5340 | 4594 | まだ試さないでください。 |
| 5341 | 4595 | |
| 5342 | 4596 | =item "my" variable %s can't be in a package |
| 5343 | 4597 | |
| 5344 | 4598 | =begin original |
| 5345 | 4599 | |
| 5346 | 4600 | (F) Lexically scoped variables aren't in a package, so it doesn't make |
| 5347 | 4601 | sense to try to declare one with a package qualifier on the front. Use |
| 5348 | 4602 | local() if you want to localize a package variable. |
| 5349 | 4603 | |
| 5350 | 4604 | =end original |
| 5351 | 4605 | |
| 5352 | 4606 | (F) 字句スコープの変数は、パッケージ内に置かれませんので、 |
| 5353 | 4607 | 頭にパッケージ名を付けて宣言することは、無意味です。 |
| 5354 | 4608 | パッケージ変数をローカル化したい場合には、local() を使ってください。 |
| 5355 | 4609 | |
| 5356 | 4610 | =item Name "%s::%s" used only once: possible typo |
| 5357 | 4611 | |
| 5358 | 4612 | =begin original |
| 5359 | 4613 | |
| 5360 | 4614 | (W once) Typographical errors often show up as unique variable names. |
| 5361 | 4615 | If you had a good reason for having a unique name, then just mention it |
| 5362 | 4616 | again somehow to suppress the message. The C<our> declaration is |
| 5363 | 4617 | provided for this purpose. |
| 5364 | 4618 | |
| 5365 | 4619 | =end original |
| 5366 | 4620 | |
| 5367 | 4621 | (W once) しばしばタイプミスによってユニークな変数名として表示されます。 |
| 5368 | 4622 | ユニークな名前をを使う理由があるのなら、もう一度どこかで参照することで |
| 5369 | 4623 | このメッセージを抑制できます。 |
| 5370 | 4624 | C<our> 宣言がこの目的のために提供されています。 |
| 5371 | 4625 | |
| 5372 | =begin original | |
| 5373 | ||
| 5374 | NOTE: This warning detects symbols that have been used only once so $c, @c, | |
| 5375 | %c, *c, &c, sub c{}, c(), and c (the filehandle or format) are considered | |
| 5376 | the same; if a program uses $c only once but also uses any of the others it | |
| 5377 | will not trigger this warning. | |
| 5378 | ||
| 5379 | =end original | |
| 5380 | ||
| 5381 | 注意: この警告はシンボルが一度だけしか使われていないことを検出するので、 | |
| 5382 | $c, @c, %c, *c, &c, sub c{}, c(), c(ファイルハンドルかフォーマット)は | |
| 5383 | 全て同じ物として扱われます; もしプログラムで $c を一度しか使っていなくても | |
| 5384 | その他のものが使われている場合、警告は発生しません。 | |
| 5385 | ||
| 5386 | =item Negative '/' count in unpack | |
| 5387 | ||
| 5388 | =begin original | |
| 5389 | ||
| 5390 | (F) The length count obtained from a length/code unpack operation was | |
| 5391 | negative. See L<perlfunc/pack>. | |
| 5392 | ||
| 5393 | =end original | |
| 5394 | ||
| 5395 | (F) 長さ/コード unpack 操作で得られた長さカウントが負数でした。 | |
| 5396 | L<perlfunc/pack> を参照してください。 | |
| 5397 | ||
| 5398 | 4626 | =item Negative length |
| 5399 | 4627 | |
| 5400 | 4628 | =begin original |
| 5401 | 4629 | |
| 5402 | 4630 | (F) You tried to do a read/write/send/recv operation with a buffer |
| 5403 | 4631 | length that is less than 0. This is difficult to imagine. |
| 5404 | 4632 | |
| 5405 | 4633 | =end original |
| 5406 | 4634 | |
| 5407 | 4635 | (F) ゼロより短い長さのバッファで、読み込み、書き込み、送信、受信を |
| 5408 | 4636 | 行なおうとしました。 |
| 5409 | 4637 | どのようなことがしたいのか判断できません。 |
| 5410 | 4638 | |
| 5411 | =item Ne | |
| 4639 | =item Nested quantifiers before << HERE in regex m/%s/ | |
| 5412 | 4640 | |
| 5413 | 4641 | =begin original |
| 5414 | 4642 | |
| 5415 | (F) When C<vec> is called in an lvalue context, the second argument must be | |
| 5416 | greater than or equal to zero. | |
| 5417 | ||
| 5418 | =end original | |
| 5419 | ||
| 5420 | (F) 左辺値コンテキストで C<vec> が呼び出されたとき、 | |
| 5421 | 二つ目の引数は 0 以上でなければなりません。 | |
| 5422 | ||
| 5423 | =item Nested quantifiers in regex; marked by <-- HERE in m/%s/ | |
| 5424 | ||
| 5425 | =begin original | |
| 5426 | ||
| 5427 | 4643 | (F) You can't quantify a quantifier without intervening parentheses. So |
| 5428 | things like ** or +* or ?* are illegal. The < | |
| 4644 | things like ** or +* or ?* are illegal. The << HERE shows in the regular | |
| 5429 | 4645 | expression about where the problem was discovered. |
| 5430 | 4646 | |
| 5431 | 4647 | =end original |
| 5432 | 4648 | |
| 5433 | 4649 | (F) 括弧を挟まないで、数量子を数量子で修飾することはできません。 |
| 5434 | 4650 | つまり、** や +* や ?* といったものは、正しくありません。 |
| 5435 | < | |
| 4651 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 5436 | 4652 | |
| 5437 | 4653 | =begin original |
| 5438 | 4654 | |
| 5439 | Note that the minimal matching quantifiers, C<*?>, C<+?>, and | |
| 4655 | Note, however, that the minimal matching quantifiers, C<*?>, C<+?>, and | |
| 5440 | 4656 | C<??> appear to be nested quantifiers, but aren't. See L<perlre>. |
| 5441 | 4657 | |
| 5442 | 4658 | =end original |
| 5443 | 4659 | |
| 5444 | 最短一致数量子の C<*?>、C<+?>、C<??> は、ネストした数量子のように | |
| 4660 | しかし、最短一致数量子の C<*?>、C<+?>、C<??> は、ネストした数量子のように | |
| 5445 | 4661 | 見えますが、そうではありません。 |
| 5446 | 4662 | L<perlre> を参照してください。 |
| 5447 | 4663 | |
| 5448 | 4664 | =item %s never introduced |
| 5449 | 4665 | |
| 5450 | 4666 | =begin original |
| 5451 | 4667 | |
| 5452 | 4668 | (S internal) The symbol in question was declared but somehow went out of |
| 5453 | 4669 | scope before it could possibly have been used. |
| 5454 | 4670 | |
| 5455 | 4671 | =end original |
| 5456 | 4672 | |
| 5457 | 4673 | (S internal) 問題のシンボルは、宣言されましたが、使われる前にスコープから |
| 5458 | 4674 | 外れてしまいました。 |
| 5459 | 4675 | |
| 5460 | =item Newline in left-justified string for %s | |
| 5461 | ||
| 5462 | =begin original | |
| 5463 | ||
| 5464 | (W printf) There is a newline in a string to be left justified by | |
| 5465 | C<printf> or C<sprintf>. | |
| 5466 | ||
| 5467 | =end original | |
| 5468 | ||
| 5469 | (W printf) C<printf> や C<sprintf> で左寄せされるべき文字列に改行が | |
| 5470 | 含まれています。 | |
| 5471 | ||
| 5472 | =begin original | |
| 5473 | ||
| 5474 | The padding spaces will appear after the newline, which is probably not | |
| 5475 | what you wanted. Usually you should remove the newline from the string | |
| 5476 | and put formatting characters in the C<sprintf> format. | |
| 5477 | ||
| 5478 | =end original | |
| 5479 | ||
| 5480 | パッディングされる空白は改行の後につくので、おそらく望んでいることでは | |
| 5481 | ないでしょう。 | |
| 5482 | 普通は、文字列から改行を取り除き、C<sprintf> フォーマットの中に | |
| 5483 | フォーマット文字を置くべきです。 | |
| 5484 | ||
| 5485 | 4676 | =item No %s allowed while running setuid |
| 5486 | 4677 | |
| 5487 | 4678 | =begin original |
| 5488 | 4679 | |
| 5489 | 4680 | (F) Certain operations are deemed to be too insecure for a setuid or |
| 5490 | 4681 | setgid script to even be allowed to attempt. Generally speaking there |
| 5491 | 4682 | will be another way to do what you want that is, if not secure, at least |
| 5492 | 4683 | securable. See L<perlsec>. |
| 5493 | 4684 | |
| 5494 | 4685 | =end original |
| 5495 | 4686 | |
| 5496 | 4687 | (F) ある種の操作は、setuid や setgid スクリプトにとって、 |
| 5497 | 4688 | やってみることはできても、とても安全なものとは考えられないものです。 |
| 5498 | 4689 | 一般に言って、安全ではなくても、安全にしうる、別の方法があるはずです。 |
| 5499 | 4690 | L<perlsec> を参照してください。 |
| 5500 | 4691 | |
| 4692 | =item No B<-e> allowed in setuid scripts | |
| 4693 | ||
| 4694 | =begin original | |
| 4695 | ||
| 4696 | (F) A setuid script can't be specified by the user. | |
| 4697 | ||
| 4698 | =end original | |
| 4699 | ||
| 4700 | (F) setuid スクリプトは、ユーザによって指定することはできません。 | |
| 4701 | ||
| 5501 | 4702 | =item No comma allowed after %s |
| 5502 | 4703 | |
| 5503 | 4704 | =begin original |
| 5504 | 4705 | |
| 5505 | 4706 | (F) A list operator that has a filehandle or "indirect object" is not |
| 5506 | 4707 | allowed to have a comma between that and the following arguments. |
| 5507 | 4708 | Otherwise it'd be just another one of the arguments. |
| 5508 | 4709 | |
| 5509 | 4710 | =end original |
| 5510 | 4711 | |
| 5511 | 4712 | (F) ファイルハンドルや「間接オブジェクト」を伴うリスト演算子では、 |
| 5512 | 4713 | それらとそれ以降の引数の間にコンマを入れることはできません。 |
| 5513 | 4714 | そのようにした場合には、引数の一つとなってしまいます。 |
| 5514 | 4715 | |
| 5515 | 4716 | =begin original |
| 5516 | 4717 | |
| 5517 | 4718 | One possible cause for this is that you expected to have imported a |
| 5518 | 4719 | constant to your name space with B<use> or B<import> while no such |
| 5519 | 4720 | importing took place, it may for example be that your operating system |
| 5520 | 4721 | does not support that particular constant. Hopefully you did use an |
| 5521 | 4722 | explicit import list for the constants you expect to see, please see |
| 5522 | 4723 | L<perlfunc/use> and L<perlfunc/import>. While an explicit import list |
| 5523 | 4724 | would probably have caught this error earlier it naturally does not |
| 5524 | 4725 | remedy the fact that your operating system still does not support that |
| 5525 | 4726 | constant. Maybe you have a typo in the constants of the symbol import |
| 5526 | 4727 | list of B<use> or B<import> or in the constant name at the line where |
| 5527 | 4728 | this error was triggered? |
| 5528 | 4729 | |
| 5529 | 4730 | =end original |
| 5530 | 4731 | |
| 5531 | 4732 | これの原因としてあり得るものの一つは、B<use> や B<import> を使って |
| 5532 | 4733 | 名前空間にインポートしたつもりの定数が実際にはインポートされていなかった |
| 5533 | 4734 | 場合です; |
| 5534 | 4735 | 例えば OS が特定の定数に対応していない場合などです。 |
| 5535 | 4736 | できればインポートしたい定数のリストを明示的に使ってください; |
| 5536 | 4737 | L<perlfunc/use> と L<perlfunc/import> を参照して下さい。 |
| 5537 | 4738 | 明示的なインポートリストでおそらくこのエラーをより早く知ることができますが、 |
| 5538 | 4739 | そもそも OS がその定数に対応していないという問題を解決はしません。 |
| 5539 | 4740 | おそらく B<use> や B<import> のシンボルインポートリストの定数か、 |
| 5540 | 4741 | エラーを引き起こした行の定数名をタイプミスしたのでは? |
| 5541 | 4742 | |
| 5542 | 4743 | =item No command into which to pipe on command line |
| 5543 | 4744 | |
| 5544 | 4745 | =begin original |
| 5545 | 4746 | |
| 5546 | 4747 | (F) An error peculiar to VMS. Perl handles its own command line |
| 5547 | 4748 | redirection, and found a '|' at the end of the command line, so it |
| 5548 | 4749 | doesn't know where you want to pipe the output from this command. |
| 5549 | 4750 | |
| 5550 | 4751 | =end original |
| 5551 | 4752 | |
| 5552 | 4753 | (F) VMSに固有のエラーです。 |
| 5553 | 4754 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
| 5554 | 4755 | コマンドラインの最後にに '|' を発見しましたが、 |
| 5555 | 4756 | このコマンドから出力をどこにパイプしたいのかがわかりませんでした。 |
| 5556 | 4757 | |
| 5557 | 4758 | =item No DB::DB routine defined |
| 5558 | 4759 | |
| 5559 | 4760 | =begin original |
| 5560 | 4761 | |
| 5561 | 4762 | (F) The currently executing code was compiled with the B<-d> switch, but |
| 5562 | for some reason the | |
| 4763 | for some reason the perl5db.pl file (or some facsimile thereof) didn't | |
| 5563 | ||
| 4764 | define a routine to be called at the beginning of each statement. Which | |
| 5564 | 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. | |
| 5565 | 4767 | |
| 5566 | 4768 | =end original |
| 5567 | 4769 | |
| 5568 | 4770 | (F) 現在実行中のコードは、B<-d> スイッチを付けてコンパイルされましたが、 |
| 5569 | 何らかの理由により、 | |
| 4771 | 何らかの理由により、perl5db.pl (あるいは、その複製) が各実行文の頭で | |
| 5570 | ||
| 4772 | 呼び出すルーティンを定義していません。 | |
| 4773 | そのファイルは自動的に require されるものであり、正しく解釈できなければ、 | |
| 4774 | require が失敗するはずですので、これはとても有り得ない状態です。 | |
| 5571 | 4775 | |
| 5572 | 4776 | =item No dbm on this machine |
| 5573 | 4777 | |
| 5574 | 4778 | =begin original |
| 5575 | 4779 | |
| 5576 | 4780 | (P) This is counted as an internal error, because every machine should |
| 5577 | 4781 | supply dbm nowadays, because Perl comes with SDBM. See L<SDBM_File>. |
| 5578 | 4782 | |
| 5579 | 4783 | =end original |
| 5580 | 4784 | |
| 5581 | 4785 | (P) これは、内部エラーとして扱われます。 Perl に SDBM が付いてくるので、 |
| 5582 | 4786 | どのマシンでも dbm が使えるはずだからです。 |
| 5583 | 4787 | L<SDBM_File> を参照してください。 |
| 5584 | 4788 | |
| 5585 | =item No DB | |
| 4789 | =item No DBsub routine | |
| 5586 | 4790 | |
| 5587 | 4791 | =begin original |
| 5588 | 4792 | |
| 5589 | (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, | |
| 5590 | for some reason the | |
| 4794 | but for some reason the perl5db.pl file (or some facsimile thereof) | |
| 5591 | ||
| 4795 | didn't define a DB::sub routine to be called at the beginning of each | |
| 5592 | o | |
| 4796 | ordinary subroutine call. | |
| 5593 | 4797 | |
| 5594 | 4798 | =end original |
| 5595 | 4799 | |
| 5596 | 4800 | (F) 現在実行中のコードは、-d スイッチを付けてコンパイルされましたが、 |
| 5597 | 4801 | 何らかの理由により、perl5db.pl (あるいは、その複製) が |
| 5598 | 4802 | 各サブルーティン呼び出しの頭で呼び出す |
| 5599 | 4803 | DB::sub ルーティンを定義していませんでした。 |
| 5600 | 4804 | |
| 5601 | =item No B<-e> allowed in setuid scripts | |
| 5602 | ||
| 5603 | =begin original | |
| 5604 | ||
| 5605 | (F) A setuid script can't be specified by the user. | |
| 5606 | ||
| 5607 | =end original | |
| 5608 | ||
| 5609 | (F) setuid スクリプトは、ユーザによって指定することはできません。 | |
| 5610 | ||
| 5611 | 4805 | =item No error file after 2> or 2>> on command line |
| 5612 | 4806 | |
| 5613 | 4807 | =begin original |
| 5614 | 4808 | |
| 5615 | 4809 | (F) An error peculiar to VMS. Perl handles its own command line |
| 5616 | 4810 | redirection, and found a '2>' or a '2>>' on the command line, but can't |
| 5617 | 4811 | find the name of the file to which to write data destined for stderr. |
| 5618 | 4812 | |
| 5619 | 4813 | =end original |
| 5620 | 4814 | |
| 5621 | 4815 | (F) VMSに固有のエラーです。 |
| 5622 | 4816 | Perl は独自にコマンドラインのリダイレクトを扱っていて、 |
| 5623 | 4817 | コマンドラインに '2>' や '2>>' を発見しましたが、 |
| 5624 | 4818 | 標準エラーとしてデータを書き込むファイル名が見つかりませんでした。 |
| 5625 | 4819 | |
| 5626 | =item No group ending character '%c' found in template | |
| 5627 | ||
| 5628 | =begin original | |
| 5629 | ||
| 5630 | (F) A pack or unpack template has an opening '(' or '[' without its | |
| 5631 | matching counterpart. See L<perlfunc/pack>. | |
| 5632 | ||
| 5633 | =end original | |
| 5634 | ||
| 5635 | (F) pack や unpack のテンプレートに開きかっこの '(' や '[' がありますが、 | |
| 5636 | 対応する閉じかっこがありません。 | |
| 5637 | L<perlfunc/pack> を参照してください。 | |
| 5638 | ||
| 5639 | 4820 | =item No input file after < on command line |
| 5640 | 4821 | |
| 5641 | 4822 | =begin original |
| 5642 | 4823 | |
| 5643 | 4824 | (F) An error peculiar to VMS. Perl handles its own command line |
| 5644 | 4825 | redirection, and found a '<' on the command line, but can't find the |
| 5645 | 4826 | name of the file from which to read data for stdin. |
| 5646 | 4827 | |
| 5647 | 4828 | =end original |
| 5648 | 4829 | |
| 5649 | 4830 | (F) VMS 特有のエラーです。 |
| 5650 | 4831 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインに |
| 5651 | 4832 | '<' を発見しましたが、標準入力として読み込むためのファイル名が |
| 5652 | 4833 | 見つかりませんでした。 |
| 5653 | 4834 | |
| 5654 | 4835 | =item No #! line |
| 5655 | 4836 | |
| 5656 | 4837 | =begin original |
| 5657 | 4838 | |
| 5658 | 4839 | (F) The setuid emulator requires that scripts have a well-formed #! line |
| 5659 | 4840 | even on machines that don't support the #! construct. |
| 5660 | 4841 | |
| 5661 | 4842 | =end original |
| 5662 | 4843 | |
| 5663 | 4844 | (F) setuid エミュレータでは、たとえマシンがサポートしていなくても、 |
| 5664 | 4845 | 完全な形の #! 行がスクリプトに書かれていなければなりません。 |
| 5665 | 4846 | |
| 5666 | 4847 | =item "no" not allowed in expression |
| 5667 | 4848 | |
| 5668 | 4849 | =begin original |
| 5669 | 4850 | |
| 5670 | 4851 | (F) The "no" keyword is recognized and executed at compile time, and |
| 5671 | 4852 | returns no useful value. See L<perlmod>. |
| 5672 | 4853 | |
| 5673 | 4854 | =end original |
| 5674 | 4855 | |
| 5675 | 4856 | (F) "no" キーワードは、コンパイル時に認識され、実行されるもので、 |
| 5676 | 4857 | 意味のある値を返しません。 |
| 5677 | 4858 | L<perlmod> を参照してください。 |
| 5678 | 4859 | |
| 5679 | 4860 | =item No output file after > on command line |
| 5680 | 4861 | |
| 5681 | 4862 | =begin original |
| 5682 | 4863 | |
| 5683 | 4864 | (F) An error peculiar to VMS. Perl handles its own command line |
| 5684 | 4865 | redirection, and found a lone '>' at the end of the command line, so it |
| 5685 | 4866 | doesn't know where you wanted to redirect stdout. |
| 5686 | 4867 | |
| 5687 | 4868 | =end original |
| 5688 | 4869 | |
| 5689 | 4870 | (F) VMS 特有のエラーです。 |
| 5690 | 4871 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインの |
| 5691 | 4872 | 最後に単独の '>' を発見したので、stdout をどこにリダイレクトしたいのかが |
| 5692 | 4873 | わかりませんでした。 |
| 5693 | 4874 | |
| 5694 | 4875 | =item No output file after > or >> on command line |
| 5695 | 4876 | |
| 5696 | 4877 | =begin original |
| 5697 | 4878 | |
| 5698 | 4879 | (F) An error peculiar to VMS. Perl handles its own command line |
| 5699 | 4880 | redirection, and found a '>' or a '>>' on the command line, but can't |
| 5700 | 4881 | find the name of the file to which to write data destined for stdout. |
| 5701 | 4882 | |
| 5702 | 4883 | =end original |
| 5703 | 4884 | |
| 5704 | 4885 | (F) VMS 特有のエラーです。 |
| 5705 | 4886 | Perl は独自にコマンドラインのリダイレクトを扱っていて、コマンドラインに |
| 5706 | 4887 | '>' や '>>' を発見しましたが、stdout を書き込むためのファイル名が |
| 5707 | 4888 | 見つかりませんでした。 |
| 5708 | 4889 | |
| 5709 | 4890 | =item No package name allowed for variable %s in "our" |
| 5710 | 4891 | |
| 5711 | 4892 | =begin original |
| 5712 | 4893 | |
| 5713 | 4894 | (F) Fully qualified variable names are not allowed in "our" |
| 5714 | 4895 | declarations, because that doesn't make much sense under existing |
| 5715 | 4896 | semantics. Such syntax is reserved for future extensions. |
| 5716 | 4897 | |
| 5717 | 4898 | =end original |
| 5718 | 4899 | |
| 5719 | 4900 | (F) 完全修飾変数名は "our" 宣言では使えません; |
| 5720 | 4901 | なぜなら現在の動作ではほとんど意味がないからです。 |
| 5721 | 4902 | そのような文法は将来の拡張に予約されています。 |
| 5722 | 4903 | |
| 5723 | 4904 | =item No Perl script found in input |
| 5724 | 4905 | |
| 5725 | 4906 | =begin original |
| 5726 | 4907 | |
| 5727 | 4908 | (F) You called C<perl -x>, but no line was found in the file beginning |
| 5728 | 4909 | with #! and containing the word "perl". |
| 5729 | 4910 | |
| 5730 | 4911 | =end original |
| 5731 | 4912 | |
| 5732 | 4913 | (F) C<perl -x> を呼び出しましたが、そのファイルに #! で始まり、 |
| 5733 | 4914 | "perl" という語を含む行が見つかりませんでした。 |
| 5734 | 4915 | |
| 5735 | 4916 | =item No setregid available |
| 5736 | 4917 | |
| 5737 | 4918 | =begin original |
| 5738 | 4919 | |
| 5739 | 4920 | (F) Configure didn't find anything resembling the setregid() call for |
| 5740 | 4921 | your system. |
| 5741 | 4922 | |
| 5742 | 4923 | =end original |
| 5743 | 4924 | |
| 5744 | 4925 | (F) Configure が、システム上に setregid() のような関数を |
| 5745 | 4926 | 見つけられませんでした。 |
| 5746 | 4927 | |
| 5747 | 4928 | =item No setreuid available |
| 5748 | 4929 | |
| 5749 | 4930 | =begin original |
| 5750 | 4931 | |
| 5751 | 4932 | (F) Configure didn't find anything resembling the setreuid() call for |
| 5752 | 4933 | your system. |
| 5753 | 4934 | |
| 5754 | 4935 | =end original |
| 5755 | 4936 | |
| 5756 | 4937 | (F) Configure が、システム上に setreuid() のような関数を |
| 5757 | 4938 | 見つけられませんでした。 |
| 5758 | 4939 | |
| 5759 | =item No | |
| 4940 | =item No space allowed after -%c | |
| 5760 | 4941 | |
| 5761 | 4942 | =begin original |
| 5762 | 4943 | |
| 5763 | (F) The indicated command line switch | |
| 4944 | (F) The argument to the indicated command line switch must follow | |
| 5764 | y | |
| 4945 | immediately after the switch, without intervening spaces. | |
| 5765 | 4946 | |
| 5766 | 4947 | =end original |
| 5767 | 4948 | |
| 5768 | (F) | |
| 4949 | (F) 示されたコマンドラインスイッチの引数は、 | |
| 5769 | ||
| 4950 | スイッチの直後にスペースを空けないで書く必要があります。 | |
| 5770 | 4951 | |
| 5771 | =item No s | |
| 4952 | =item No %s specified for -%c | |
| 5772 | 4953 | |
| 5773 | 4954 | =begin original |
| 5774 | 4955 | |
| 5775 | (F) | |
| 4956 | (F) The indicated command line switch needs a mandatory argument, but | |
| 5776 | ||
| 4957 | you haven't specified one. | |
| 5777 | 4958 | |
| 5778 | 4959 | =end original |
| 5779 | 4960 | |
| 5780 | (F) | |
| 4961 | (F) 指示されたコマンドラインオプションには引数が必須ですが、それが | |
| 5781 | ||
| 4962 | 指定されませんでした。 | |
| 5782 | 4963 | |
| 5783 | 4964 | =item No such pipe open |
| 5784 | 4965 | |
| 5785 | 4966 | =begin original |
| 5786 | 4967 | |
| 5787 | 4968 | (P) An error peculiar to VMS. The internal routine my_pclose() tried to |
| 5788 | 4969 | close a pipe which hadn't been opened. This should have been caught |
| 5789 | 4970 | earlier as an attempt to close an unopened filehandle. |
| 5790 | 4971 | |
| 5791 | 4972 | =end original |
| 5792 | 4973 | |
| 5793 | 4974 | (P) VMS 特有のエラーです。 |
| 5794 | 4975 | 内部ルーチンである my_pclose() が、開いていないパイプを閉じようとしました。 |
| 5795 | 4976 | これは開いていないファイルハンドルを閉じようとしたとしてもっと早くに |
| 5796 | 4977 | 捕捉されるべきものです。 |
| 5797 | 4978 | |
| 5798 | 4979 | =item No such pseudo-hash field "%s" |
| 5799 | 4980 | |
| 5800 | 4981 | =begin original |
| 5801 | 4982 | |
| 5802 | 4983 | (F) You tried to access an array as a hash, but the field name used is |
| 5803 | 4984 | not defined. The hash at index 0 should map all valid field names to |
| 5804 | 4985 | array indices for that to work. |
| 5805 | 4986 | |
| 5806 | 4987 | =end original |
| 5807 | 4988 | |
| 5808 | 4989 | (F) 配列にハッシュとしてアクセスしようとしましたが、使われたフィールド名は |
| 5809 | 4990 | 未定義です。 |
| 5810 | 4991 | インデックス 0 のハッシュは全ての有効なフィールド名が動作する配列 |
| 5811 | 4992 | インデックスにマッピングされるべきです。 |
| 5812 | 4993 | |
| 5813 | 4994 | =item No such pseudo-hash field "%s" in variable %s of type %s |
| 5814 | 4995 | |
| 5815 | 4996 | =begin original |
| 5816 | 4997 | |
| 5817 | 4998 | (F) You tried to access a field of a typed variable where the type does |
| 5818 | 4999 | not know about the field name. The field names are looked up in the |
| 5819 | 5000 | %FIELDS hash in the type package at compile time. The %FIELDS hash is |
| 5820 | 5001 | %usually set up with the 'fields' pragma. |
| 5821 | 5002 | |
| 5822 | 5003 | =end original |
| 5823 | 5004 | |
| 5824 | 5005 | (F) 型がフィールド名について知らない型付き変数のフィールドに |
| 5825 | 5006 | アクセスしようとしました。 |
| 5826 | 5007 | フィールド名はコンパイル時に型パッケージの %FIELDS ハッシュから |
| 5827 | 5008 | 検索されます。 |
| 5828 | 5009 | %FIELDS ハッシュは通常 'fields' プラグマで設定されます。 |
| 5829 | 5010 | |
| 5830 | 5011 | =item No such signal: SIG%s |
| 5831 | 5012 | |
| 5832 | 5013 | =begin original |
| 5833 | 5014 | |
| 5834 | 5015 | (W signal) You specified a signal name as a subscript to %SIG that was |
| 5835 | 5016 | not recognized. Say C<kill -l> in your shell to see the valid signal |
| 5836 | 5017 | names on your system. |
| 5837 | 5018 | |
| 5838 | 5019 | =end original |
| 5839 | 5020 | |
| 5840 | 5021 | (W signal) %SIG の添字として認識できないシグナル名を指定しました。 |
| 5841 | 5022 | お使いのシステムで使用可能なシグナル名を調べるには、 |
| 5842 | 5023 | シェル上で C<kill -l> などとしてください。 |
| 5843 | 5024 | |
| 5844 | 5025 | =item Not a CODE reference |
| 5845 | 5026 | |
| 5846 | 5027 | =begin original |
| 5847 | 5028 | |
| 5848 | 5029 | (F) Perl was trying to evaluate a reference to a code value (that is, a |
| 5849 | 5030 | subroutine), but found a reference to something else instead. You can |
| 5850 | 5031 | use the ref() function to find out what kind of ref it really was. See |
| 5851 | 5032 | also L<perlref>. |
| 5852 | 5033 | |
| 5853 | 5034 | =end original |
| 5854 | 5035 | |
| 5855 | 5036 | (F) Perl がコード値 (サブルーティン) へのリファレンスを |
| 5856 | 5037 | 評価しようとしましたが、別のものへのリファレンスでした。 |
| 5857 | 5038 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
| 5858 | 5039 | 使うことができます。 |
| 5859 | 5040 | L<perlref> も参照してください。 |
| 5860 | 5041 | |
| 5861 | 5042 | =item Not a format reference |
| 5862 | 5043 | |
| 5863 | 5044 | =begin original |
| 5864 | 5045 | |
| 5865 | 5046 | (F) I'm not sure how you managed to generate a reference to an anonymous |
| 5866 | 5047 | format, but this indicates you did, and that it didn't exist. |
| 5867 | 5048 | |
| 5868 | 5049 | =end original |
| 5869 | 5050 | |
| 5870 | 5051 | (F) どのように無名のフォーマットへのリファレンスを生成したのかは |
| 5871 | 5052 | わかりませんが、このメッセージは、それが指定されて、 |
| 5872 | 5053 | 存在しなかったことを示します。 |
| 5873 | 5054 | |
| 5874 | 5055 | =item Not a GLOB reference |
| 5875 | 5056 | |
| 5876 | 5057 | =begin original |
| 5877 | 5058 | |
| 5878 | 5059 | (F) Perl was trying to evaluate a reference to a "typeglob" (that is, a |
| 5879 | 5060 | symbol table entry that looks like C<*foo>), but found a reference to |
| 5880 | 5061 | something else instead. You can use the ref() function to find out what |
| 5881 | 5062 | kind of ref it really was. See L<perlref>. |
| 5882 | 5063 | |
| 5883 | 5064 | =end original |
| 5884 | 5065 | |
| 5885 | 5066 | (F) Perl が「型グロブ」(これは、C<*foo> のような |
| 5886 | 5067 | シンボルテーブルエントリです) へのリファレンスを評価しようとしましたが、 |
| 5887 | 5068 | 別のものへのリファレンスでした。 |
| 5888 | 5069 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
| 5889 | 5070 | 使うことができます。 |
| 5890 | 5071 | L<perlref> を参照してください。 |
| 5891 | 5072 | |
| 5892 | 5073 | =item Not a HASH reference |
| 5893 | 5074 | |
| 5894 | 5075 | =begin original |
| 5895 | 5076 | |
| 5896 | 5077 | (F) Perl was trying to evaluate a reference to a hash value, but found a |
| 5897 | 5078 | reference to something else instead. You can use the ref() function to |
| 5898 | 5079 | find out what kind of ref it really was. See L<perlref>. |
| 5899 | 5080 | |
| 5900 | 5081 | =end original |
| 5901 | 5082 | |
| 5902 | 5083 | (F) Perl がハッシュ値へのリファレンスを評価しようとしましたが、 |
| 5903 | 5084 | 別のものへのリファレンスでした。 |
| 5904 | 5085 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
| 5905 | 5086 | 使うことができます。 |
| 5906 | 5087 | L<perlref> を参照してください。 |
| 5907 | 5088 | |
| 5908 | 5089 | =item Not an ARRAY reference |
| 5909 | 5090 | |
| 5910 | 5091 | =begin original |
| 5911 | 5092 | |
| 5912 | 5093 | (F) Perl was trying to evaluate a reference to an array value, but found |
| 5913 | 5094 | a reference to something else instead. You can use the ref() function |
| 5914 | 5095 | to find out what kind of ref it really was. See L<perlref>. |
| 5915 | 5096 | |
| 5916 | 5097 | =end original |
| 5917 | 5098 | |
| 5918 | 5099 | (F) Perl が配列値へのリファレンスを評価しようとしましたが、 |
| 5919 | 5100 | 別のものへのリファレンスでした。 |
| 5920 | 5101 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
| 5921 | 5102 | 使うことができます。 |
| 5922 | 5103 | L<perlref> を参照してください。 |
| 5923 | 5104 | |
| 5924 | 5105 | =item Not a perl script |
| 5925 | 5106 | |
| 5926 | 5107 | =begin original |
| 5927 | 5108 | |
| 5928 | 5109 | (F) The setuid emulator requires that scripts have a well-formed #! line |
| 5929 | 5110 | even on machines that don't support the #! construct. The line must |
| 5930 | 5111 | mention perl. |
| 5931 | 5112 | |
| 5932 | 5113 | =end original |
| 5933 | 5114 | |
| 5934 | 5115 | (F) setuid エミュレータでは、たとえマシンがサポートしていなくても、 |
| 5935 | 5116 | 完全な形の #! 行がスクリプトに書かれていなければなりません。 |
| 5936 | 5117 | この行で指定されるのは、perl でなければなりません。 |
| 5937 | 5118 | |
| 5938 | 5119 | =item Not a SCALAR reference |
| 5939 | 5120 | |
| 5940 | 5121 | =begin original |
| 5941 | 5122 | |
| 5942 | 5123 | (F) Perl was trying to evaluate a reference to a scalar value, but found |
| 5943 | 5124 | a reference to something else instead. You can use the ref() function |
| 5944 | 5125 | to find out what kind of ref it really was. See L<perlref>. |
| 5945 | 5126 | |
| 5946 | 5127 | =end original |
| 5947 | 5128 | |
| 5948 | 5129 | (F) Perl がスカラ値へのリファレンスを評価しようとしましたが、 |
| 5949 | 5130 | 別のものへのリファレンスでした。 |
| 5950 | 5131 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
| 5951 | 5132 | 使うことができます。 |
| 5952 | 5133 | L<perlref> を参照してください。 |
| 5953 | 5134 | |
| 5954 | 5135 | =item Not a subroutine reference |
| 5955 | 5136 | |
| 5956 | 5137 | =begin original |
| 5957 | 5138 | |
| 5958 | 5139 | (F) Perl was trying to evaluate a reference to a code value (that is, a |
| 5959 | 5140 | subroutine), but found a reference to something else instead. You can |
| 5960 | 5141 | use the ref() function to find out what kind of ref it really was. See |
| 5961 | 5142 | also L<perlref>. |
| 5962 | 5143 | |
| 5963 | 5144 | =end original |
| 5964 | 5145 | |
| 5965 | 5146 | (F) Perl がコード値 (サブルーティン) へのリファレンスを |
| 5966 | 5147 | 評価しようとしましたが、別のものへのリファレンスでした。 |
| 5967 | 5148 | 実際にどんな種類のリファレンスかを調べるには、ref() 関数を |
| 5968 | 5149 | 使うことができます。 |
| 5969 | 5150 | L<perlref> も参照してください。 |
| 5970 | 5151 | |
| 5971 | 5152 | =item Not a subroutine reference in overload table |
| 5972 | 5153 | |
| 5973 | 5154 | =begin original |
| 5974 | 5155 | |
| 5975 | 5156 | (F) An attempt was made to specify an entry in an overloading table that |
| 5976 | 5157 | doesn't somehow point to a valid subroutine. See L<overload>. |
| 5977 | 5158 | |
| 5978 | 5159 | =end original |
| 5979 | 5160 | |
| 5980 | 5161 | (F) 多重定義テーブルで、有効なサブルーティンを指していないエントリを |
| 5981 | 5162 | 指定しようとしました。 |
| 5982 | 5163 | L<overload> を参照してください。 |
| 5983 | 5164 | |
| 5984 | 5165 | =item Not enough arguments for %s |
| 5985 | 5166 | |
| 5986 | 5167 | =begin original |
| 5987 | 5168 | |
| 5988 | 5169 | (F) The function requires more arguments than you specified. |
| 5989 | 5170 | |
| 5990 | 5171 | =end original |
| 5991 | 5172 | |
| 5992 | 5173 | (F) この関数は、指定したよりも多くの引数を必要とします。 |
| 5993 | 5174 | |
| 5994 | 5175 | =item Not enough format arguments |
| 5995 | 5176 | |
| 5996 | 5177 | =begin original |
| 5997 | 5178 | |
| 5998 | 5179 | (W syntax) A format specified more picture fields than the next line |
| 5999 | 5180 | supplied. See L<perlform>. |
| 6000 | 5181 | |
| 6001 | 5182 | =end original |
| 6002 | 5183 | |
| 6003 | 5184 | (W syntax) 指定したフォーマットに、次の行で指定したより多くの |
| 6004 | 5185 | ピクチャフィールドがあります。 |
| 6005 | 5186 | L<perlform> を参照してください。 |
| 6006 | 5187 | |
| 6007 | 5188 | =item %s: not found |
| 6008 | 5189 | |
| 6009 | 5190 | =begin original |
| 6010 | 5191 | |
| 6011 | 5192 | (A) You've accidentally run your script through the Bourne shell instead |
| 6012 | 5193 | of Perl. Check the #! line, or manually feed your script into Perl |
| 6013 | 5194 | yourself. |
| 6014 | 5195 | |
| 6015 | 5196 | =end original |
| 6016 | 5197 | |
| 6017 | 5198 | (A) スクリプトを Perl ではなく Bourne shell で実行しようとしています。 |
| 6018 | 5199 | #! ラインをチェックするか、手動でスクリプトを Perl に渡してください。 |
| 6019 | 5200 | |
| 6020 | 5201 | =item no UTC offset information; assuming local time is UTC |
| 6021 | 5202 | |
| 6022 | 5203 | =begin original |
| 6023 | 5204 | |
| 6024 | 5205 | (S) A warning peculiar to VMS. Perl was unable to find the local |
| 6025 | 5206 | timezone offset, so it's assuming that local system time is equivalent |
| 6026 | 5207 | to UTC. If it's not, define the logical name |
| 6027 | 5208 | F<SYS$TIMEZONE_DIFFERENTIAL> to translate to the number of seconds which |
| 6028 | 5209 | need to be added to UTC to get local time. |
| 6029 | 5210 | |
| 6030 | 5211 | =end original |
| 6031 | 5212 | |
| 6032 | 5213 | (S) VMS 固有の警告です。 |
| 6033 | 5214 | Perl はローカルタイムゾーンオフセットを見つけることができなかったので、 |
| 6034 | 5215 | ローカルシステムタイムは UTC と等価であると仮定します。 |
| 6035 | 5216 | もし違うなら、論理名 F<SYS$TIMEZONE_DIFFERENTIAL> に、UTC からローカル |
| 6036 | 5217 | 時刻を得るために加える必要がある秒数を定義してください。 |
| 6037 | 5218 | |
| 6038 | =item Non-string passed as bitmask | |
| 6039 | ||
| 6040 | =begin original | |
| 6041 | ||
| 6042 | (W misc) A number has been passed as a bitmask argument to select(). | |
| 6043 | Use the vec() function to construct the file descriptor bitmasks for | |
| 6044 | select. See L<perlfunc/select> | |
| 6045 | ||
| 6046 | =end original | |
| 6047 | ||
| 6048 | (W misc) select() のビットマスク引数として数値が渡されました。 | |
| 6049 | select のためのファイル記述子のビットマスクを構成するには、 | |
| 6050 | vec() 関数を使ってください。 | |
| 6051 | L<perlfunc/select> を参照してください。 | |
| 6052 | ||
| 6053 | 5219 | =item Null filename used |
| 6054 | 5220 | |
| 6055 | 5221 | =begin original |
| 6056 | 5222 | |
| 6057 | 5223 | (F) You can't require the null filename, especially because on many |
| 6058 | 5224 | machines that means the current directory! See L<perlfunc/require>. |
| 6059 | 5225 | |
| 6060 | 5226 | =end original |
| 6061 | 5227 | |
| 6062 | 5228 | (F) 特に、多くのマシンでカレントディレクトリを意味するため、 |
| 6063 | 5229 | 空のファイル名は require できません! |
| 6064 | 5230 | L<perlfunc/require> を参照してください。 |
| 6065 | 5231 | |
| 6066 | 5232 | =item NULL OP IN RUN |
| 6067 | 5233 | |
| 6068 | 5234 | =begin original |
| 6069 | 5235 | |
| 6070 | 5236 | (P debugging) Some internal routine called run() with a null opcode |
| 6071 | 5237 | pointer. |
| 6072 | 5238 | |
| 6073 | 5239 | =end original |
| 6074 | 5240 | |
| 6075 | 5241 | (P debugging) 内部ルーティンで、ヌル opcode ポインタで run() を |
| 6076 | 5242 | 呼んだものがあります。 |
| 6077 | 5243 | |
| 6078 | 5244 | =item Null picture in formline |
| 6079 | 5245 | |
| 6080 | 5246 | =begin original |
| 6081 | 5247 | |
| 6082 | 5248 | (F) The first argument to formline must be a valid format picture |
| 6083 | 5249 | specification. It was found to be empty, which probably means you |
| 6084 | 5250 | supplied it an uninitialized value. See L<perlform>. |
| 6085 | 5251 | |
| 6086 | 5252 | =end original |
| 6087 | 5253 | |
| 6088 | 5254 | (F) formline の第 1 引数は有効なフォーマットピクチャー指定でなければ |
| 6089 | 5255 | なりません。 |
| 6090 | 5256 | これが空でした; おそらく初期化していない値を指定したのでしょう。 |
| 6091 | 5257 | L<perlform> を参照してください。 |
| 6092 | 5258 | |
| 6093 | 5259 | =item Null realloc |
| 6094 | 5260 | |
| 6095 | 5261 | =begin original |
| 6096 | 5262 | |
| 6097 | 5263 | (P) An attempt was made to realloc NULL. |
| 6098 | 5264 | |
| 6099 | 5265 | =end original |
| 6100 | 5266 | |
| 6101 | 5267 | (P) realloc NULL を行なおうとしました。 |
| 6102 | 5268 | |
| 6103 | 5269 | =item NULL regexp argument |
| 6104 | 5270 | |
| 6105 | 5271 | =begin original |
| 6106 | 5272 | |
| 6107 | 5273 | (P) The internal pattern matching routines blew it big time. |
| 6108 | 5274 | |
| 6109 | 5275 | =end original |
| 6110 | 5276 | |
| 6111 | 5277 | (P) 内部パターンマッチルーティンが、大当たりです。 |
| 6112 | 5278 | |
| 6113 | 5279 | =item NULL regexp parameter |
| 6114 | 5280 | |
| 6115 | 5281 | =begin original |
| 6116 | 5282 | |
| 6117 | 5283 | (P) The internal pattern matching routines are out of their gourd. |
| 6118 | 5284 | |
| 6119 | 5285 | =end original |
| 6120 | 5286 | |
| 6121 | 5287 | (P) 内部パターンマッチルーティンが、狂っています。 |
| 6122 | 5288 | |
| 6123 | 5289 | =item Number too long |
| 6124 | 5290 | |
| 6125 | 5291 | =begin original |
| 6126 | 5292 | |
| 6127 | 5293 | (F) Perl limits the representation of decimal numbers in programs to |
| 6128 | about 250 characters. You've exceeded that length. Future | |
| 5294 | about about 250 characters. You've exceeded that length. Future | |
| 6129 | 5295 | versions of Perl are likely to eliminate this arbitrary limitation. In |
| 6130 | 5296 | the meantime, try using scientific notation (e.g. "1e6" instead of |
| 6131 | 5297 | "1_000_000"). |
| 6132 | 5298 | |
| 6133 | 5299 | =end original |
| 6134 | 5300 | |
| 6135 | Perl はプログラム中での十進数の表現を 250 文字に制限しています。 | |
| 5301 | Perl はプログラム中での十進数の表現をおよそ 250 文字に制限しています。 | |
| 6136 | 5302 | この制限を越えました。 |
| 6137 | 5303 | Perl の将来のバージョンではこの恣意的な制限は除去されるでしょう。 |
| 6138 | 5304 | それまでの間は、科学的な記述法("1_000_000" ではなく "1e6")を |
| 6139 | 5305 | 使用してください。 |
| 6140 | 5306 | |
| 6141 | 5307 | =item Octal number in vector unsupported |
| 6142 | 5308 | |
| 6143 | 5309 | =begin original |
| 6144 | 5310 | |
| 6145 | 5311 | (F) Numbers with a leading C<0> are not currently allowed in vectors. |
| 6146 | 5312 | The octal number interpretation of such numbers may be supported in a |
| 6147 | 5313 | future version. |
| 6148 | 5314 | |
| 6149 | 5315 | =end original |
| 6150 | 5316 | |
| 6151 | 5317 | 頭に C<0> の付いた数値は現在のところベクタとしては使えません。 |
| 6152 | 5318 | このような数値を 8 進数として解釈する機能は将来のバージョンで |
| 6153 | 5319 | 対応されるでしょう。 |
| 6154 | 5320 | |
| 6155 | 5321 | =item Octal number > 037777777777 non-portable |
| 6156 | 5322 | |
| 6157 | 5323 | =begin original |
| 6158 | 5324 | |
| 6159 | 5325 | (W portable) The octal number you specified is larger than 2**32-1 |
| 6160 | 5326 | (4294967295) and therefore non-portable between systems. See |
| 6161 | 5327 | L<perlport> for more on portability concerns. |
| 6162 | 5328 | |
| 6163 | 5329 | =end original |
| 6164 | 5330 | |
| 6165 | 5331 | (W portable) 指定した 8 進数が 2**32-1 (4294967295) より大きいので、 |
| 6166 | 5332 | システム間で移植性がありません。 |
| 6167 | 5333 | 移植性に関するさらなる考察については L<perlport> を参照してください。 |
| 6168 | 5334 | |
| 6169 | 5335 | =begin original |
| 6170 | 5336 | |
| 6171 | 5337 | See also L<perlport> for writing portable code. |
| 6172 | 5338 | |
| 6173 | 5339 | =end original |
| 6174 | 5340 | |
| 6175 | 5341 | 移植性のあるコードの書き方についても L<perlport> を参照してください。 |
| 6176 | 5342 | |
| 6177 | 5343 | =item Odd number of arguments for overload::constant |
| 6178 | 5344 | |
| 6179 | 5345 | =begin original |
| 6180 | 5346 | |
| 6181 | (W | |
| 5347 | (W) The call to overload::constant contained an odd number of arguments. | |
| 6182 | ||
| 5348 | The arguments should come in pairs. | |
| 6183 | 5349 | |
| 6184 | 5350 | =end original |
| 6185 | 5351 | |
| 6186 | (W | |
| 5352 | (W) 奇数の数の引数で overload::constant を呼び出しました。 | |
| 6187 | 5353 | 引数はペアになっている必要があります。 |
| 6188 | 5354 | |
| 6189 | =item Odd number of elements in anonymous hash | |
| 6190 | ||
| 6191 | =begin original | |
| 6192 | ||
| 6193 | (W misc) You specified an odd number of elements to initialize a hash, | |
| 6194 | which is odd, because hashes come in key/value pairs. | |
| 6195 | ||
| 6196 | =end original | |
| 6197 | ||
| 6198 | (W misc) ハッシュリストへの要素の数が奇数でした。 | |
| 6199 | ハッシュリストは、key/value のペアで与えられますから、 | |
| 6200 | これは奇妙なことです。 | |
| 6201 | ||
| 6202 | 5355 | =item Odd number of elements in hash assignment |
| 6203 | 5356 | |
| 6204 | 5357 | =begin original |
| 6205 | 5358 | |
| 6206 | 5359 | (W misc) You specified an odd number of elements to initialize a hash, |
| 6207 | 5360 | which is odd, because hashes come in key/value pairs. |
| 6208 | 5361 | |
| 6209 | 5362 | =end original |
| 6210 | 5363 | |
| 6211 | 5364 | (W misc) ハッシュリストへの要素の数が奇数でした。 |
| 6212 | 5365 | ハッシュリストは、key/value のペアで与えられますから、 |
| 6213 | 5366 | これは奇妙なことです。 |
| 6214 | 5367 | |
| 6215 | 5368 | =item Offset outside string |
| 6216 | 5369 | |
| 6217 | 5370 | =begin original |
| 6218 | 5371 | |
| 6219 | 5372 | (F) You tried to do a read/write/send/recv operation with an offset |
| 6220 | 5373 | pointing outside the buffer. This is difficult to imagine. The sole |
| 6221 | 5374 | exception to this is that C<sysread()>ing past the buffer will extend |
| 6222 | 5375 | the buffer and zero pad the new area. |
| 6223 | 5376 | |
| 6224 | 5377 | =end original |
| 6225 | 5378 | |
| 6226 | 5379 | (F) バッファの外を指すオフセットで read/write/send/recv 操作を |
| 6227 | 5380 | しようとしました。 |
| 6228 | 5381 | これは想像しにくいことです。 |
| 6229 | 5382 | 唯一の例外は、バッファを通り過ぎて C<sysread()> するとバッファが |
| 6230 | 5383 | 拡張され、新しいエリアには 0 でパッディングされます。 |
| 6231 | 5384 | |
| 6232 | =item %s | |
| 5385 | =item -%s on unopened filehandle %s | |
| 6233 | 5386 | |
| 6234 | 5387 | =begin original |
| 6235 | 5388 | |
| 6236 | (W unopened) | |
| 5389 | (W unopened) You tried to invoke a file test operator on a filehandle | |
| 6237 | ||
| 5390 | that isn't open. Check your logic. See also L<perlfunc/-X>. | |
| 6238 | call, or call a constructor from the FileHandle package. | |
| 6239 | 5391 | |
| 6240 | 5392 | =end original |
| 6241 | 5393 | |
| 6242 | (W unopened) | |
| 5394 | (W unopened) 開いていないファイルハンドルに対してファイルテスト演算子を | |
| 6243 | ||
| 5395 | 使おうとしました。 | |
| 6244 | ||
| 5396 | 論理をチェックしてください。 | |
| 5397 | L<perlfunc/-X> も参照してください。 | |
| 6245 | 5398 | |
| 6246 | =item | |
| 5399 | =item %s() on unopened %s %s | |
| 6247 | 5400 | |
| 6248 | 5401 | =begin original |
| 6249 | 5402 | |
| 6250 | (W unopened) | |
| 5403 | (W unopened) An I/O operation was attempted on a filehandle that was | |
| 6251 | ||
| 5404 | never initialized. You need to do an open(), a sysopen(), or a socket() | |
| 5405 | call, or call a constructor from the FileHandle package. | |
| 6252 | 5406 | |
| 6253 | 5407 | =end original |
| 6254 | 5408 | |
| 6255 | (W unopened) | |
| 5409 | (W unopened) 初期化していないファイルハンドルに I/O 操作をしようとしました。 | |
| 6256 | ||
| 5410 | open(), sysopen(), socket() を呼び出すか、FileHandle パッケージの | |
| 6257 | ||
| 5411 | コンストラクタを呼び出す必要があります。 | |
| 6258 | L<perlfunc/-X> も参照してください。 | |
| 6259 | 5412 | |
| 6260 | 5413 | =item oops: oopsAV |
| 6261 | 5414 | |
| 6262 | 5415 | =begin original |
| 6263 | 5416 | |
| 6264 | 5417 | (S internal) An internal warning that the grammar is screwed up. |
| 6265 | 5418 | |
| 6266 | 5419 | =end original |
| 6267 | 5420 | |
| 6268 | 5421 | (S internal) 文法がおかしくなったことを示す内部警告です。 |
| 6269 | 5422 | |
| 6270 | 5423 | =item oops: oopsHV |
| 6271 | 5424 | |
| 6272 | 5425 | =begin original |
| 6273 | 5426 | |
| 6274 | 5427 | (S internal) An internal warning that the grammar is screwed up. |
| 6275 | 5428 | |
| 6276 | 5429 | =end original |
| 6277 | 5430 | |
| 6278 | 5431 | (S internal) 文法がおかしくなったことを示す内部警告です。 |
| 6279 | 5432 | |
| 6280 | =item Operation | |
| 5433 | =item Operation `%s': no method found, %s | |
| 6281 | 5434 | |
| 6282 | 5435 | =begin original |
| 6283 | 5436 | |
| 6284 | 5437 | (F) An attempt was made to perform an overloaded operation for which no |
| 6285 | 5438 | handler was defined. While some handlers can be autogenerated in terms |
| 6286 | 5439 | of other handlers, there is no default handler for any operation, unless |
| 6287 | 5440 | C<fallback> overloading key is specified to be true. See L<overload>. |
| 6288 | 5441 | |
| 6289 | 5442 | =end original |
| 6290 | 5443 | |
| 6291 | 5444 | (F) ハンドラが定義されていないオーバーロード操作が行われました。 |
| 6292 | 5445 | 一部のハンドラは他のハンドラから自動生成されますが、C<fallback> |
| 6293 | 5446 | オーバーロードキーが真に指定されていない限り、どの動作にも |
| 6294 | 5447 | デフォルトのハンドラはありません。 |
| 6295 | 5448 | L<overload> を参照してください。 |
| 6296 | 5449 | |
| 6297 | 5450 | =item Operator or semicolon missing before %s |
| 6298 | 5451 | |
| 6299 | 5452 | =begin original |
| 6300 | 5453 | |
| 6301 | 5454 | (S ambiguous) You used a variable or subroutine call where the parser |
| 6302 | 5455 | was expecting an operator. The parser has assumed you really meant to |
| 6303 | 5456 | use an operator, but this is highly likely to be incorrect. For |
| 6304 | 5457 | example, if you say "*foo *foo" it will be interpreted as if you said |
| 6305 | 5458 | "*foo * 'foo'". |
| 6306 | 5459 | |
| 6307 | 5460 | =end original |
| 6308 | 5461 | |
| 6309 | 5462 | (S ambiguous) パーサーが演算子を装置している場所で変数やサブルーチン |
| 6310 | 5463 | 呼び出しが使われました。 |
| 6311 | 5464 | パーサーはあなたが本当に演算子を使おうとしていると仮定しますが、 |
| 6312 | 5465 | これは大抵正しくありません。 |
| 6313 | 5466 | 例えば、"*foo *foo" とすると、"*foo * 'foo'" としたとして解釈されます。 |
| 6314 | 5467 | |
| 6315 | 5468 | =item "our" variable %s redeclared |
| 6316 | 5469 | |
| 6317 | 5470 | =begin original |
| 6318 | 5471 | |
| 6319 | 5472 | (W misc) You seem to have already declared the same global once before |
| 6320 | 5473 | in the current lexical scope. |
| 6321 | 5474 | |
| 6322 | 5475 | =end original |
| 6323 | 5476 | |
| 6324 | 5477 | (W misc) 現在のレキシカルスコープで、既に同じ名前のグローバル変数を |
| 6325 | 5478 | 宣言しているようです。 |
| 6326 | 5479 | |
| 6327 | 5480 | =item Out of memory! |
| 6328 | 5481 | |
| 6329 | 5482 | =begin original |
| 6330 | 5483 | |
| 6331 | 5484 | (X) The malloc() function returned 0, indicating there was insufficient |
| 6332 | 5485 | remaining memory (or virtual memory) to satisfy the request. Perl has |
| 6333 | 5486 | no option but to exit immediately. |
| 6334 | 5487 | |
| 6335 | 5488 | =end original |
| 6336 | 5489 | |
| 6337 | 5490 | (X) 要求を満たすだけの、十分な残メモリ (または、仮想メモリ) が |
| 6338 | 5491 | 取得できないことを示す、0 を malloc() 関数が返しました。 |
| 6339 | 5492 | Perl は直ちに終了するしかありませんでした。 |
| 6340 | 5493 | |
| 6341 | =begin original | |
| 6342 | ||
| 6343 | At least in Unix you may be able to get past this by increasing your | |
| 6344 | process datasize limits: in csh/tcsh use C<limit> and | |
| 6345 | C<limit datasize n> (where C<n> is the number of kilobytes) to check | |
| 6346 | the current limits and change them, and in ksh/bash/zsh use C<ulimit -a> | |
| 6347 | and C<ulimit -d n>, respectively. | |
| 6348 | ||
| 6349 | =end original | |
| 6350 | ||
| 6351 | 少なくとも Unix ではプロセスのデータサイズ制限を増やすことによって | |
| 6352 | これを回避することが可能です: | |
| 6353 | csh/tcsh では現在の制限を調べるのに C<limit> を、これを変更するには | |
| 6354 | C<limit datasize n> (ここで C<n> はキロバイト単位) を使ってください; | |
| 6355 | ksh/bash/zsh ではそれぞれ C<ulimit -a> と C<ulimit -d n> を使ってください。 | |
| 6356 | ||
| 6357 | =item Out of memory during %s extend | |
| 6358 | ||
| 6359 | =begin original | |
| 6360 | ||
| 6361 | (X) An attempt was made to extend an array, a list, or a string beyond | |
| 6362 | the largest possible memory allocation. | |
| 6363 | ||
| 6364 | =end original | |
| 6365 | ||
| 6366 | (X) 確保可能な最大メモリを越えて配列、リスト、文字列を拡張しようとしました。 | |
| 6367 | ||
| 6368 | 5494 | =item Out of memory during "large" request for %s |
| 6369 | 5495 | |
| 6370 | 5496 | =begin original |
| 6371 | 5497 | |
| 6372 | 5498 | (F) The malloc() function returned 0, indicating there was insufficient |
| 6373 | 5499 | remaining memory (or virtual memory) to satisfy the request. However, |
| 6374 | 5500 | the request was judged large enough (compile-time default is 64K), so a |
| 6375 | 5501 | possibility to shut down by trapping this error is granted. |
| 6376 | 5502 | |
| 6377 | 5503 | =end original |
| 6378 | 5504 | |
| 6379 | 5505 | (F) malloc() 関数が 0 を返しました; これは要求を満たすメモリ |
| 6380 | 5506 | (または仮想メモリ)が不十分であることを示しています。 |
| 6381 | 5507 | しかし、要求が十分大きい(コンパイル時のデフォルトは 64K)ので、 |
| 6382 | 5508 | このエラーをトラップすることでシャットダウンできる可能性があります。 |
| 6383 | 5509 | |
| 6384 | ||
| 6385 | 5510 | =item Out of memory during request for %s |
| 6386 | 5511 | |
| 6387 | 5512 | =begin original |
| 6388 | 5513 | |
| 6389 | 5514 | (X|F) The malloc() function returned 0, indicating there was |
| 6390 | 5515 | insufficient remaining memory (or virtual memory) to satisfy the |
| 6391 | 5516 | request. |
| 6392 | 5517 | |
| 6393 | 5518 | =end original |
| 6394 | 5519 | |
| 6395 | 5520 | (X|F) malloc() 関数が 0 を返しました; これは要求を満たすメモリ |
| 6396 | 5521 | (または仮想メモリ)が不十分であることを示しています。 |
| 6397 | 5522 | |
| 6398 | 5523 | =begin original |
| 6399 | 5524 | |
| 6400 | 5525 | The request was judged to be small, so the possibility to trap it |
| 6401 | 5526 | depends on the way perl was compiled. By default it is not trappable. |
| 6402 | 5527 | However, if compiled for this, Perl may use the contents of C<$^M> as an |
| 6403 | 5528 | emergency pool after die()ing with this message. In this case the error |
| 6404 | 5529 | is trappable I<once>, and the error message will include the line and file |
| 6405 | 5530 | where the failed request happened. |
| 6406 | 5531 | |
| 6407 | 5532 | =end original |
| 6408 | 5533 | |
| 6409 | 5534 | 要求は小さいものと判定されたので、これをトラップできる確率は perl が |
| 6410 | 5535 | どのようにコンパイルされたかに依存します。 |
| 6411 | 5536 | デフォルトではこれはトラップできません。 |
| 6412 | 5537 | しかし、もしこのためにコンパイルすると、Perl はこのメッセージと共に |
| 6413 | 5538 | die() した後の非常用エリアとして C<$^M> の内容を使います。 |
| 6414 | 5539 | この場合エラーは I<一度だけ> トラップ可能で、エラーメッセージは失敗した |
| 6415 | 5540 | 要求が起きたファイルと行番号を含んでいます。 |
| 6416 | 5541 | |
| 6417 | 5542 | =item Out of memory during ridiculously large request |
| 6418 | 5543 | |
| 6419 | 5544 | =begin original |
| 6420 | 5545 | |
| 6421 | 5546 | (F) You can't allocate more than 2^31+"small amount" bytes. This error |
| 6422 | 5547 | is most likely to be caused by a typo in the Perl program. e.g., |
| 6423 | 5548 | C<$arr[time]> instead of C<$arr[$time]>. |
| 6424 | 5549 | |
| 6425 | 5550 | =end original |
| 6426 | 5551 | |
| 6427 | 5552 | (F) 2^31+「少量」バイト以上割り当てることはできません。 |
| 6428 | 5553 | このエラーはほとんどの場合(C<$arr[$time]> の代わりに |
| 6429 | 5554 | C<$arr[time]> のような) Perl プログラムのタイプミスが原因です。 |
| 6430 | 5555 | |
| 6431 | 5556 | =item Out of memory for yacc stack |
| 6432 | 5557 | |
| 6433 | 5558 | =begin original |
| 6434 | 5559 | |
| 6435 | 5560 | (F) The yacc parser wanted to grow its stack so it could continue |
| 6436 | 5561 | parsing, but realloc() wouldn't give it more memory, virtual or |
| 6437 | 5562 | otherwise. |
| 6438 | 5563 | |
| 6439 | 5564 | =end original |
| 6440 | 5565 | |
| 6441 | 5566 | (F) yacc パーサーが解析を続けるために、スタックを広げようとしましたが、 |
| 6442 | 5567 | realloc() が仮想やその他のメモリを確保できませんでした。 |
| 6443 | 5568 | |
| 6444 | =item | |
| 5569 | =item @ outside of string | |
| 6445 | 5570 | |
| 6446 | 5571 | =begin original |
| 6447 | 5572 | |
| 6448 | (F) You had a template that specified an absolute position outside | |
| 5573 | (F) You had a pack template that specified an absolute position outside | |
| 6449 | 5574 | the string being unpacked. See L<perlfunc/pack>. |
| 6450 | 5575 | |
| 6451 | 5576 | =end original |
| 6452 | 5577 | |
| 6453 | 5578 | (F) unpack される文字列の外に絶対位置指定している、 |
| 6454 | テンプレートを指定しました。 | |
| 5579 | pack テンプレートを指定しました。 | |
| 6455 | 5580 | L<perlfunc/pack> を参照してください。 |
| 6456 | 5581 | |
| 6457 | 5582 | =item %s package attribute may clash with future reserved word: %s |
| 6458 | 5583 | |
| 6459 | 5584 | =begin original |
| 6460 | 5585 | |
| 6461 | 5586 | (W reserved) A lowercase attribute name was used that had a |
| 6462 | 5587 | package-specific handler. That name might have a meaning to Perl itself |
| 6463 | 5588 | some day, even though it doesn't yet. Perhaps you should use a |
| 6464 | 5589 | mixed-case attribute name, instead. See L<attributes>. |
| 6465 | 5590 | |
| 6466 | 5591 | =end original |
| 6467 | 5592 | |
| 6468 | 5593 | (W reserved) パッケージ固有のハンドラが、小文字の属性名を使っています。 |
| 6469 | 5594 | この名前は、たとえ今は使っていなくても、 Perl 自身がいつか使うかもしれません。 |
| 6470 | 5595 | おそらく代わりに大文字小文字の混じった属性名を使うべきでしょう。 |
| 6471 | 5596 | L<attributes> を参照してください。 |
| 6472 | 5597 | |
| 6473 | =item pack/unpack repeat count overflow | |
| 6474 | ||
| 6475 | =begin original | |
| 6476 | ||
| 6477 | (F) You can't specify a repeat count so large that it overflows your | |
| 6478 | signed integers. See L<perlfunc/pack>. | |
| 6479 | ||
| 6480 | =end original | |
| 6481 | ||
| 6482 | (F) 繰り返し回数として符号付き整数をオーバーフローするような | |
| 6483 | 値は指定できません。 | |
| 6484 | L<perlfunc/unpack> を参照してください。 | |
| 6485 | ||
| 6486 | 5598 | =item page overflow |
| 6487 | 5599 | |
| 6488 | 5600 | =begin original |
| 6489 | 5601 | |
| 6490 | 5602 | (W io) A single call to write() produced more lines than can fit on a |
| 6491 | 5603 | page. See L<perlform>. |
| 6492 | 5604 | |
| 6493 | 5605 | =end original |
| 6494 | 5606 | |
| 6495 | 5607 | (W io) write() の 1 度の呼び出しで、1 ページに収まるより |
| 6496 | 5608 | 多くの行ができました。 |
| 6497 | 5609 | L<perlform> を参照してください。 |
| 6498 | 5610 | |
| 6499 | 5611 | =item panic: %s |
| 6500 | 5612 | |
| 6501 | 5613 | =begin original |
| 6502 | 5614 | |
| 6503 | 5615 | (P) An internal error. |
| 6504 | 5616 | |
| 6505 | 5617 | =end original |
| 6506 | 5618 | |
| 6507 | 5619 | (P) 内部エラーです。 |
| 6508 | 5620 | |
| 6509 | 5621 | =item panic: ck_grep |
| 6510 | 5622 | |
| 6511 | 5623 | =begin original |
| 6512 | 5624 | |
| 6513 | 5625 | (P) Failed an internal consistency check trying to compile a grep. |
| 6514 | 5626 | |
| 6515 | 5627 | =end original |
| 6516 | 5628 | |
| 6517 | 5629 | (P) grep をコンパイルしようとして、内部の一貫性チェックに |
| 6518 | 5630 | 引っ掛かりました。 |
| 6519 | 5631 | |
| 6520 | 5632 | =item panic: ck_split |
| 6521 | 5633 | |
| 6522 | 5634 | =begin original |
| 6523 | 5635 | |
| 6524 | 5636 | (P) Failed an internal consistency check trying to compile a split. |
| 6525 | 5637 | |
| 6526 | 5638 | =end original |
| 6527 | 5639 | |
| 6528 | 5640 | (P) split をコンパイルしようとして、内部の一貫性チェックに |
| 6529 | 5641 | 引っ掛かりました。 |
| 6530 | 5642 | |
| 6531 | 5643 | =item panic: corrupt saved stack index |
| 6532 | 5644 | |
| 6533 | 5645 | =begin original |
| 6534 | 5646 | |
| 6535 | 5647 | (P) The savestack was requested to restore more localized values than |
| 6536 | 5648 | there are in the savestack. |
| 6537 | 5649 | |
| 6538 | 5650 | =end original |
| 6539 | 5651 | |
| 6540 | 5652 | (P) セーブスタックにある以上のローカル化した値を元に戻す |
| 6541 | 5653 | 要求がありました。 |
| 6542 | 5654 | |
| 6543 | 5655 | =item panic: del_backref |
| 6544 | 5656 | |
| 6545 | 5657 | =begin original |
| 6546 | 5658 | |
| 6547 | 5659 | (P) Failed an internal consistency check while trying to reset a weak |
| 6548 | 5660 | reference. |
| 6549 | 5661 | |
| 6550 | 5662 | =end original |
| 6551 | 5663 | |
| 6552 | 5664 | (P) 弱いリファレンスをリセットしようとしたときに内部の |
| 6553 | 5665 | 一貫性チェックに引っ掛かりました。 |
| 6554 | 5666 | |
| 6555 | =item panic: | |
| 5667 | =item panic: die %s | |
| 6556 | 5668 | |
| 6557 | 5669 | =begin original |
| 6558 | 5670 | |
| 6559 | (P) | |
| 5671 | (P) We popped the context stack to an eval context, and then discovered | |
| 6560 | ||
| 5672 | it wasn't an eval context. | |
| 6561 | an XSUB will lead very probably to a crash of the interpreter. This is | |
| 6562 | a bug that will hopefully one day get fixed. | |
| 6563 | 5673 | |
| 6564 | 5674 | =end original |
| 6565 | 5675 | |
| 6566 | (P) | |
| 5676 | (P) eval コンテキストへコンテキストスタックをポップしたあと、 | |
| 6567 | ||
| 5677 | eval コンテキストでないことがわかりました。 | |
| 6568 | XSUB から呼び出されたサブルーチンをこのような方法で離れると、 | |
| 6569 | インタプリタをクラッシュさせる可能性がとても高いです。 | |
| 6570 | これはいつか修正されてほしいバグです。 | |
| 6571 | 5678 | |
| 6572 | =item panic: | |
| 5679 | =item panic: pp_match | |
| 6573 | 5680 | |
| 6574 | 5681 | =begin original |
| 6575 | 5682 | |
| 6576 | (P) | |
| 5683 | (P) The internal pp_match() routine was called with invalid operational | |
| 6577 | ||
| 5684 | data. | |
| 6578 | 5685 | |
| 6579 | 5686 | =end original |
| 6580 | 5687 | |
| 6581 | (P) | |
| 5688 | (P) 内部の pp_match() ルーティンが、無効な省略可能データを | |
| 6582 | ||
| 5689 | 付けて呼ばれました。 | |
| 6583 | 5690 | |
| 6584 | 5691 | =item panic: do_subst |
| 6585 | 5692 | |
| 6586 | 5693 | =begin original |
| 6587 | 5694 | |
| 6588 | 5695 | (P) The internal pp_subst() routine was called with invalid operational |
| 6589 | 5696 | data. |
| 6590 | 5697 | |
| 6591 | 5698 | =end original |
| 6592 | 5699 | |
| 6593 | 5700 | (P) 内部の pp_subst() ルーティンが、無効な省略可能データを |
| 6594 | 5701 | 付けて呼ばれました。 |
| 6595 | 5702 | |
| 6596 | 5703 | =item panic: do_trans_%s |
| 6597 | 5704 | |
| 6598 | 5705 | =begin original |
| 6599 | 5706 | |
| 6600 | 5707 | (P) The internal do_trans routines were called with invalid operational |
| 6601 | 5708 | data. |
| 6602 | 5709 | |
| 6603 | 5710 | =end original |
| 6604 | 5711 | |
| 6605 | 5712 | (P) 内部の pp_trans ルーティンが、無効な省略可能データを |
| 6606 | 5713 | 付けて呼ばれました。 |
| 6607 | 5714 | |
| 6608 | 5715 | =item panic: frexp |
| 6609 | 5716 | |
| 6610 | 5717 | =begin original |
| 6611 | 5718 | |
| 6612 | 5719 | (P) The library function frexp() failed, making printf("%f") impossible. |
| 6613 | 5720 | |
| 6614 | 5721 | =end original |
| 6615 | 5722 | |
| 6616 | 5723 | (P) ライブラリ関数 frexp() が失敗したので、printf("%f") ができません。 |
| 6617 | 5724 | |
| 6618 | 5725 | =item panic: goto |
| 6619 | 5726 | |
| 6620 | 5727 | =begin original |
| 6621 | 5728 | |
| 6622 | 5729 | (P) We popped the context stack to a context with the specified label, |
| 6623 | 5730 | and then discovered it wasn't a context we know how to do a goto in. |
| 6624 | 5731 | |
| 6625 | 5732 | =end original |
| 6626 | 5733 | |
| 6627 | 5734 | (P) 指定したラベルを伴うコンテキストへコンテキストスタックを |
| 6628 | 5735 | ポップしたあと、どのように goto するかがわかっている |
| 6629 | 5736 | コンテキストでないことがわかりました。 |
| 6630 | 5737 | |
| 6631 | 5738 | =item panic: INTERPCASEMOD |
| 6632 | 5739 | |
| 6633 | 5740 | =begin original |
| 6634 | 5741 | |
| 6635 | 5742 | (P) The lexer got into a bad state at a case modifier. |
| 6636 | 5743 | |
| 6637 | 5744 | =end original |
| 6638 | 5745 | |
| 6639 | 5746 | (P) 大文字小文字修飾子のところで、字句解析部がおかしな状態に陥りました。 |
| 6640 | 5747 | |
| 6641 | 5748 | =item panic: INTERPCONCAT |
| 6642 | 5749 | |
| 6643 | 5750 | =begin original |
| 6644 | 5751 | |
| 6645 | 5752 | (P) The lexer got into a bad state parsing a string with brackets. |
| 6646 | 5753 | |
| 6647 | 5754 | =end original |
| 6648 | 5755 | |
| 6649 | 5756 | (P) 中括弧を伴う文字列を解析中に、字句解析部がおかしな状態に陥りました。 |
| 6650 | 5757 | |
| 6651 | 5758 | =item panic: kid popen errno read |
| 6652 | 5759 | |
| 6653 | 5760 | =begin original |
| 6654 | 5761 | |
| 6655 | 5762 | (F) forked child returned an incomprehensible message about its errno. |
| 6656 | 5763 | |
| 6657 | 5764 | =end original |
| 6658 | 5765 | |
| 6659 | 5766 | (F) fork した子プロセスが errno に関して不完全なメッセージを返しました。 |
| 6660 | 5767 | |
| 6661 | 5768 | =item panic: last |
| 6662 | 5769 | |
| 6663 | 5770 | =begin original |
| 6664 | 5771 | |
| 6665 | 5772 | (P) We popped the context stack to a block context, and then discovered |
| 6666 | 5773 | it wasn't a block context. |
| 6667 | 5774 | |
| 6668 | 5775 | =end original |
| 6669 | 5776 | |
| 6670 | 5777 | (P) block コンテキストへコンテキストスタックをポップしたあと、 |
| 6671 | 5778 | block コンテキストでないことがわかりました。 |
| 6672 | 5779 | |
| 6673 | 5780 | =item panic: leave_scope clearsv |
| 6674 | 5781 | |
| 6675 | 5782 | =begin original |
| 6676 | 5783 | |
| 6677 | 5784 | (P) A writable lexical variable became read-only somehow within the |
| 6678 | 5785 | scope. |
| 6679 | 5786 | |
| 6680 | 5787 | =end original |
| 6681 | 5788 | |
| 6682 | 5789 | (P) 書き込み可能な字句スコープ変数が、どういうわけか、スコープ内で |
| 6683 | 5790 | リードオンリーになりました。 |
| 6684 | 5791 | |
| 6685 | 5792 | =item panic: leave_scope inconsistency |
| 6686 | 5793 | |
| 6687 | 5794 | =begin original |
| 6688 | 5795 | |
| 6689 | 5796 | (P) The savestack probably got out of sync. At least, there was an |
| 6690 | 5797 | invalid enum on the top of it. |
| 6691 | 5798 | |
| 6692 | 5799 | =end original |
| 6693 | 5800 | |
| 6694 | 5801 | (P) おそらく、セーブスタックの同期がとれていません。 |
| 6695 | 5802 | 少なくとも、トップに不正な enum がありました。 |
| 6696 | 5803 | |
| 6697 | 5804 | =item panic: magic_killbackrefs |
| 6698 | 5805 | |
| 6699 | 5806 | =begin original |
| 6700 | 5807 | |
| 6701 | 5808 | (P) Failed an internal consistency check while trying to reset all weak |
| 6702 | 5809 | references to an object. |
| 6703 | 5810 | |
| 6704 | 5811 | =end original |
| 6705 | 5812 | |
| 6706 | 5813 | (P) あるオブジェクトへの全ての弱い参照をリセットしようとした時に内部の |
| 6707 | 5814 | 一貫性チェックに引っ掛かりました。 |
| 6708 | 5815 | |
| 6709 | 5816 | =item panic: malloc |
| 6710 | 5817 | |
| 6711 | 5818 | =begin original |
| 6712 | 5819 | |
| 6713 | 5820 | (P) Something requested a negative number of bytes of malloc. |
| 6714 | 5821 | |
| 6715 | 5822 | =end original |
| 6716 | 5823 | |
| 6717 | 5824 | (P) malloc に負のバイト数で要求が行なわれました。 |
| 6718 | 5825 | |
| 6719 | 5826 | =item panic: mapstart |
| 6720 | 5827 | |
| 6721 | 5828 | =begin original |
| 6722 | 5829 | |
| 6723 | 5830 | (P) The compiler is screwed up with respect to the map() function. |
| 6724 | 5831 | |
| 6725 | 5832 | =end original |
| 6726 | 5833 | |
| 6727 | 5834 | (P) コンパイラが、map() 関数に関しておかしくなりました。 |
| 6728 | 5835 | |
| 6729 | =item panic: memory wrap | |
| 6730 | ||
| 6731 | =begin original | |
| 6732 | ||
| 6733 | (P) Something tried to allocate more memory than possible. | |
| 6734 | ||
| 6735 | =end original | |
| 6736 | ||
| 6737 | (P) 何かが、確保可能な量を超えるメモリを確保しようとしました。 | |
| 6738 | ||
| 6739 | 5836 | =item panic: null array |
| 6740 | 5837 | |
| 6741 | 5838 | =begin original |
| 6742 | 5839 | |
| 6743 | 5840 | (P) One of the internal array routines was passed a null AV pointer. |
| 6744 | 5841 | |
| 6745 | 5842 | =end original |
| 6746 | 5843 | |
| 6747 | 5844 | (P) 内部配列ルーティンで、ヌル AV ポインタを渡されたものがありました。 |
| 6748 | 5845 | |
| 6749 | 5846 | =item panic: pad_alloc |
| 6750 | 5847 | |
| 6751 | 5848 | =begin original |
| 6752 | 5849 | |
| 6753 | 5850 | (P) The compiler got confused about which scratch pad it was allocating |
| 6754 | 5851 | and freeing temporaries and lexicals from. |
| 6755 | 5852 | |
| 6756 | 5853 | =end original |
| 6757 | 5854 | |
| 6758 | 5855 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
| 6759 | 5856 | スクラッチパッドについて混乱しました。 |
| 6760 | 5857 | |
| 6761 | 5858 | =item panic: pad_free curpad |
| 6762 | 5859 | |
| 6763 | 5860 | =begin original |
| 6764 | 5861 | |
| 6765 | 5862 | (P) The compiler got confused about which scratch pad it was allocating |
| 6766 | 5863 | and freeing temporaries and lexicals from. |
| 6767 | 5864 | |
| 6768 | 5865 | =end original |
| 6769 | 5866 | |
| 6770 | 5867 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
| 6771 | 5868 | スクラッチパッドについて混乱しました。 |
| 6772 | 5869 | |
| 6773 | 5870 | =item panic: pad_free po |
| 6774 | 5871 | |
| 6775 | 5872 | =begin original |
| 6776 | 5873 | |
| 6777 | 5874 | (P) An invalid scratch pad offset was detected internally. |
| 6778 | 5875 | |
| 6779 | 5876 | =end original |
| 6780 | 5877 | |
| 6781 | 5878 | (P) 不正なスクラッチパッドのオフセットが、内部的に検出されました。 |
| 6782 | 5879 | |
| 6783 | 5880 | =item panic: pad_reset curpad |
| 6784 | 5881 | |
| 6785 | 5882 | =begin original |
| 6786 | 5883 | |
| 6787 | 5884 | (P) The compiler got confused about which scratch pad it was allocating |
| 6788 | 5885 | and freeing temporaries and lexicals from. |
| 6789 | 5886 | |
| 6790 | 5887 | =end original |
| 6791 | 5888 | |
| 6792 | 5889 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
| 6793 | 5890 | スクラッチパッドについて混乱しました。 |
| 6794 | 5891 | |
| 6795 | 5892 | =item panic: pad_sv po |
| 6796 | 5893 | |
| 6797 | 5894 | =begin original |
| 6798 | 5895 | |
| 6799 | 5896 | (P) An invalid scratch pad offset was detected internally. |
| 6800 | 5897 | |
| 6801 | 5898 | =end original |
| 6802 | 5899 | |
| 6803 | 5900 | (P) 不正なスクラッチパッドのオフセットが、内部的に検出されました。 |
| 6804 | 5901 | |
| 6805 | 5902 | =item panic: pad_swipe curpad |
| 6806 | 5903 | |
| 6807 | 5904 | =begin original |
| 6808 | 5905 | |
| 6809 | 5906 | (P) The compiler got confused about which scratch pad it was allocating |
| 6810 | 5907 | and freeing temporaries and lexicals from. |
| 6811 | 5908 | |
| 6812 | 5909 | =end original |
| 6813 | 5910 | |
| 6814 | 5911 | (P) コンパイラが、一時領域や字句形式を割り当て、解放している |
| 6815 | 5912 | スクラッチパッドについて混乱しました。 |
| 6816 | 5913 | |
| 6817 | 5914 | =item panic: pad_swipe po |
| 6818 | 5915 | |
| 6819 | 5916 | =begin original |
| 6820 | 5917 | |
| 6821 | 5918 | (P) An invalid scratch pad offset was detected internally. |
| 6822 | 5919 | |
| 6823 | 5920 | =end original |
| 6824 | 5921 | |
| 6825 | 5922 | (P) 不正なスクラッチパッドのオフセットが、内部的に検出されました。 |
| 6826 | 5923 | |
| 6827 | 5924 | =item panic: pp_iter |
| 6828 | 5925 | |
| 6829 | 5926 | =begin original |
| 6830 | 5927 | |
| 6831 | 5928 | (P) The foreach iterator got called in a non-loop context frame. |
| 6832 | 5929 | |
| 6833 | 5930 | =end original |
| 6834 | 5931 | |
| 6835 | 5932 | (P) foreach の繰返し子が、ループ文脈以外のところで呼ばれました。 |
| 6836 | 5933 | |
| 6837 | =item panic: pp_match%s | |
| 6838 | ||
| 6839 | =begin original | |
| 6840 | ||
| 6841 | (P) The internal pp_match() routine was called with invalid operational | |
| 6842 | data. | |
| 6843 | ||
| 6844 | =end original | |
| 6845 | ||
| 6846 | (P) 内部の pp_match() ルーティンが、無効な省略可能データを | |
| 6847 | 付けて呼ばれました。 | |
| 6848 | ||
| 6849 | 5934 | =item panic: pp_split |
| 6850 | 5935 | |
| 6851 | 5936 | =begin original |
| 6852 | 5937 | |
| 6853 | 5938 | (P) Something terrible went wrong in setting up for the split. |
| 6854 | 5939 | |
| 6855 | 5940 | =end original |
| 6856 | 5941 | |
| 6857 | 5942 | (P) split の準備中に何かまずいことが起こってしまいました。 |
| 6858 | 5943 | |
| 6859 | 5944 | =item panic: realloc |
| 6860 | 5945 | |
| 6861 | 5946 | =begin original |
| 6862 | 5947 | |
| 6863 | 5948 | (P) Something requested a negative number of bytes of realloc. |
| 6864 | 5949 | |
| 6865 | 5950 | =end original |
| 6866 | 5951 | |
| 6867 | 5952 | (P) 何か、realloc に負のバイト数を要求したものがあります。 |
| 6868 | 5953 | |
| 6869 | 5954 | =item panic: restartop |
| 6870 | 5955 | |
| 6871 | 5956 | =begin original |
| 6872 | 5957 | |
| 6873 | 5958 | (P) Some internal routine requested a goto (or something like it), and |
| 6874 | 5959 | didn't supply the destination. |
| 6875 | 5960 | |
| 6876 | 5961 | =end original |
| 6877 | 5962 | |
| 6878 | 5963 | (P) 内部ルーティンから goto (または、同じようなもの) が |
| 6879 | 5964 | 要求されましたが、飛び先が与えれていません。 |
| 6880 | 5965 | |
| 6881 | 5966 | =item panic: return |
| 6882 | 5967 | |
| 6883 | 5968 | =begin original |
| 6884 | 5969 | |
| 6885 | 5970 | (P) We popped the context stack to a subroutine or eval context, and |
| 6886 | 5971 | then discovered it wasn't a subroutine or eval context. |
| 6887 | 5972 | |
| 6888 | 5973 | =end original |
| 6889 | 5974 | |
| 6890 | 5975 | (P) サブルーティンコンテキストや eval コンテキストへ、 |
| 6891 | 5976 | コンテキストスタックをポップしたあと、サブルーティンコンテキストや |
| 6892 | 5977 | eval コンテキストでないことがわかりました。 |
| 6893 | 5978 | |
| 6894 | 5979 | =item panic: scan_num |
| 6895 | 5980 | |
| 6896 | 5981 | =begin original |
| 6897 | 5982 | |
| 6898 | 5983 | (P) scan_num() got called on something that wasn't a number. |
| 6899 | 5984 | |
| 6900 | 5985 | =end original |
| 6901 | 5986 | |
| 6902 | 5987 | (P) scan_num() が、何か数字でないものに対して呼ばれました。 |
| 6903 | 5988 | |
| 6904 | 5989 | =item panic: sv_insert |
| 6905 | 5990 | |
| 6906 | 5991 | =begin original |
| 6907 | 5992 | |
| 6908 | 5993 | (P) The sv_insert() routine was told to remove more string than there |
| 6909 | 5994 | was string. |
| 6910 | 5995 | |
| 6911 | 5996 | =end original |
| 6912 | 5997 | |
| 6913 | 5998 | (P) sv_insert() ルーティンが、存在する以上の文字列を削除するように |
| 6914 | 5999 | 指示されました。 |
| 6915 | 6000 | |
| 6916 | 6001 | =item panic: top_env |
| 6917 | 6002 | |
| 6918 | 6003 | =begin original |
| 6919 | 6004 | |
| 6920 | 6005 | (P) The compiler attempted to do a goto, or something weird like that. |
| 6921 | 6006 | |
| 6922 | 6007 | =end original |
| 6923 | 6008 | |
| 6924 | 6009 | (P) コンパイラが、goto など妙なことを行なおうとしました。 |
| 6925 | 6010 | |
| 6926 | =item panic: | |
| 6011 | =item panic: yylex | |
| 6927 | 6012 | |
| 6928 | 6013 | =begin original |
| 6929 | 6014 | |
| 6930 | (P) | |
| 6015 | (P) The lexer got into a bad state while processing a case modifier. | |
| 6931 | to even) byte length. | |
| 6932 | 6016 | |
| 6933 | 6017 | =end original |
| 6934 | 6018 | |
| 6935 | (P) | |
| 6019 | (P) 大文字小文字修飾子を処理中に、字句解析部がおかしな状態に陥りました。 | |
| 6936 | 呼び出そうとしました。 | |
| 6937 | 6020 | |
| 6938 | =item panic: y | |
| 6021 | =item panic: utf16_to_utf8: odd bytelen | |
| 6939 | 6022 | |
| 6940 | 6023 | =begin original |
| 6941 | 6024 | |
| 6942 | (P) | |
| 6025 | (P) Something tried to call utf16_to_utf8 with an odd (as opposed | |
| 6026 | to even) byte length. | |
| 6943 | 6027 | |
| 6944 | 6028 | =end original |
| 6945 | 6029 | |
| 6946 | (P) | |
| 6030 | (P) 何かが(偶数ではなく)奇数のバイト長で utf16_to_utf8 を | |
| 6031 | 呼び出そうとしました。 | |
| 6947 | 6032 | |
| 6948 | 6033 | =item Parentheses missing around "%s" list |
| 6949 | 6034 | |
| 6950 | 6035 | =begin original |
| 6951 | 6036 | |
| 6952 | 6037 | (W parenthesis) You said something like |
| 6953 | 6038 | |
| 6954 | 6039 | =end original |
| 6955 | 6040 | |
| 6956 | 6041 | (W parenthesis) おそらく以下のようにしたのでしょう: |
| 6957 | 6042 | |
| 6958 | 6043 | my $foo, $bar = @_; |
| 6959 | 6044 | |
| 6960 | 6045 | =begin original |
| 6961 | 6046 | |
| 6962 | 6047 | when you meant |
| 6963 | 6048 | |
| 6964 | 6049 | =end original |
| 6965 | 6050 | |
| 6966 | 6051 | 以下のようにすべきです: |
| 6967 | 6052 | |
| 6968 | 6053 | my ($foo, $bar) = @_; |
| 6969 | 6054 | |
| 6970 | 6055 | =begin original |
| 6971 | 6056 | |
| 6972 | 6057 | Remember that "my", "our", and "local" bind tighter than comma. |
| 6973 | 6058 | |
| 6974 | 6059 | =end original |
| 6975 | 6060 | |
| 6976 | "my" | |
| 6061 | "my" や "local" は、コンマよりも強く結合することを忘れないでください。 | |
| 6977 | 忘れないでください。 | |
| 6978 | 6062 | |
| 6979 | =item C<-p> destination: %s | |
| 6980 | ||
| 6981 | =begin original | |
| 6982 | ||
| 6983 | (F) An error occurred during the implicit output invoked by the C<-p> | |
| 6984 | command-line switch. (This output goes to STDOUT unless you've | |
| 6985 | redirected it with select().) | |
| 6986 | ||
| 6987 | =end original | |
| 6988 | ||
| 6989 | (F) C<-p> コマンドラインオプションで起動された | |
| 6990 | 暗黙の出力中にエラーが発生しました。 | |
| 6991 | (この出力は select() でリダイレクトしていない限り STDOUT に出力されます。) | |
| 6992 | ||
| 6993 | =item (perhaps you forgot to load "%s"?) | |
| 6994 | ||
| 6995 | =begin original | |
| 6996 | ||
| 6997 | (F) This is an educated guess made in conjunction with the message | |
| 6998 | "Can't locate object method \"%s\" via package \"%s\"". It often means | |
| 6999 | that a method requires a package that has not been loaded. | |
| 7000 | ||
| 7001 | =end original | |
| 7002 | ||
| 7003 | (F) これは "Can't locate object method \"%s\" via package \"%s\"" の | |
| 7004 | メッセージと共に出る教育的な推測です。 | |
| 7005 | これはしばしばメソッドがまだロードされていないパッケージを | |
| 7006 | 要求していることを意味します。 | |
| 7007 | ||
| 7008 | 6063 | =item Perl %s required--this is only version %s, stopped |
| 7009 | 6064 | |
| 7010 | 6065 | =begin original |
| 7011 | 6066 | |
| 7012 | 6067 | (F) The module in question uses features of a version of Perl more |
| 7013 | 6068 | recent than the currently running version. How long has it been since |
| 7014 | 6069 | you upgraded, anyway? See L<perlfunc/require>. |
| 7015 | 6070 | |
| 7016 | 6071 | =end original |
| 7017 | 6072 | |
| 7018 | 6073 | (F) 問題のモジュールは、現在実行中の Perl よりも最近のバージョンの |
| 7019 | 6074 | 機能を使っています。 |
| 7020 | 6075 | ところで、いつからアップグレードしていないのですか? |
| 7021 | 6076 | L<perlfunc/require> を参照してください。 |
| 7022 | 6077 | |
| 7023 | 6078 | =item PERL_SH_DIR too long |
| 7024 | 6079 | |
| 7025 | 6080 | =begin original |
| 7026 | 6081 | |
| 7027 | 6082 | (F) An error peculiar to OS/2. PERL_SH_DIR is the directory to find the |
| 7028 | 6083 | C<sh>-shell in. See "PERL_SH_DIR" in L<perlos2>. |
| 7029 | 6084 | |
| 7030 | 6085 | =end original |
| 7031 | 6086 | |
| 7032 | 6087 | (F) OS/2 固有のエラーです。 |
| 7033 | 6088 | PERL_SH_DIR は C<sh>-shell を見つけるためのディレクトリです。 |
| 7034 | 6089 | L<perlos2> の "PERL_SH_DIR" を参照してください。 |
| 7035 | 6090 | |
| 7036 | =item PERL_SIGNALS illegal: "%s" | |
| 7037 | ||
| 7038 | =begin original | |
| 7039 | ||
| 7040 | See L<perlrun/PERL_SIGNALS> for legal values. | |
| 7041 | ||
| 7042 | =end original | |
| 7043 | ||
| 7044 | 有効な値については L<perlrun/PERL_SIGNALS> を参照してください。 | |
| 7045 | ||
| 7046 | 6091 | =item perl: warning: Setting locale failed. |
| 7047 | 6092 | |
| 7048 | 6093 | =begin original |
| 7049 | 6094 | |
| 7050 | 6095 | (S) The whole warning message will look something like: |
| 7051 | 6096 | |
| 7052 | 6097 | =end original |
| 7053 | 6098 | |
| 7054 | 6099 | (S) 警告全体は以下のような形になります: |
| 7055 | 6100 | |
| 7056 | 6101 | perl: warning: Setting locale failed. |
| 7057 | 6102 | perl: warning: Please check that your locale settings: |
| 7058 | 6103 | LC_ALL = "En_US", |
| 7059 | 6104 | LANG = (unset) |
| 7060 | 6105 | are supported and installed on your system. |
| 7061 | 6106 | perl: warning: Falling back to the standard locale ("C"). |
| 7062 | 6107 | |
| 7063 | 6108 | =begin original |
| 7064 | 6109 | |
| 7065 | 6110 | Exactly what were the failed locale settings varies. In the above the |
| 7066 | 6111 | settings were that the LC_ALL was "En_US" and the LANG had no value. |
| 7067 | 6112 | This error means that Perl detected that you and/or your operating |
| 7068 | 6113 | system supplier and/or system administrator have set up the so-called |
| 7069 | 6114 | locale system but Perl could not use those settings. This was not |
| 7070 | 6115 | dead serious, fortunately: there is a "default locale" called "C" that |
| 7071 | 6116 | Perl can and will use, the script will be run. Before you really fix |
| 7072 | 6117 | the problem, however, you will get the same error message each time |
| 7073 | 6118 | you run Perl. How to really fix the problem can be found in |
| 7074 | 6119 | L<perllocale> section B<LOCALE PROBLEMS>. |
| 7075 | 6120 | |
| 7076 | 6121 | =end original |
| 7077 | 6122 | |
| 7078 | 6123 | 正確にどのロケール設定が失敗したのかは様々です。 |
| 7079 | 6124 | 上記では設定は LC_ALL は "En_US" で、LANG は空でした。 |
| 7080 | 6125 | このエラーは、あなたや OS 供給者やシステム管理者がロケールシステムと呼ばれる |
| 7081 | 6126 | ものをセットアップしましたが、Perl がこれらの設定を使えないことを |
| 7082 | 6127 | 検出したことを意味します。 |
| 7083 | 6128 | これは幸いにして致命的ではありません; Perl が使用できる "C" と呼ばれる |
| 7084 | 6129 | 「デフォルトロケール」が存在するので、スクリプトは実行されます。 |
| 7085 | 6130 | しかし、本当にこの問題を解決するまでは、Perl を実行する毎に同じエラー |
| 7086 | 6131 | メッセージが表示されます。 |
| 7087 | 6132 | 本当にこの問題を修正する方法は L<perllocale> の B<LOCALE PROBLEMS> の |
| 7088 | 6133 | 章にあります。 |
| 7089 | 6134 | |
| 7090 | 6135 | =item Permission denied |
| 7091 | 6136 | |
| 7092 | 6137 | =begin original |
| 7093 | 6138 | |
| 7094 | 6139 | (F) The setuid emulator in suidperl decided you were up to no good. |
| 7095 | 6140 | |
| 7096 | 6141 | =end original |
| 7097 | 6142 | |
| 7098 | 6143 | (F) suidperl の setuid エミュレータは、実行者が安全とは |
| 7099 | 6144 | 言えないと判断しました。 |
| 7100 | 6145 | |
| 7101 | 6146 | =item pid %x not a child |
| 7102 | 6147 | |
| 7103 | 6148 | =begin original |
| 7104 | 6149 | |
| 7105 | 6150 | (W exec) A warning peculiar to VMS. Waitpid() was asked to wait for a |
| 7106 | 6151 | process which isn't a subprocess of the current process. While this is |
| 7107 | 6152 | fine from VMS' perspective, it's probably not what you intended. |
| 7108 | 6153 | |
| 7109 | 6154 | =end original |
| 7110 | 6155 | |
| 7111 | 6156 | (W exec) VMS 固有の警告です。 |
| 7112 | 6157 | 現在のプロセスのサブプロセスでないプロセスに Waitpid() を使いました。 |
| 7113 | 6158 | これは VMS の観点からは問題ありませんが、おそらくあなたの望んでいることでは |
| 7114 | 6159 | ないでしょう。 |
| 7115 | 6160 | |
| 7116 | =item | |
| 6161 | =item POSIX syntax [%s] belongs inside character classes | |
| 7117 | 6162 | |
| 7118 | 6163 | =begin original |
| 7119 | 6164 | |
| 7120 | ( | |
| 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. | |
| 7121 | 6170 | |
| 7122 | 6171 | =end original |
| 7123 | 6172 | |
| 7124 | (F) unpack フォーマット P は "*" ではなく、明示的なサイズを | |
| 7125 | 指定しなければなりません。 | |
| 7126 | ||
| 7127 | =item B<-P> not allowed for setuid/setgid script | |
| 7128 | ||
| 7129 | =begin original | |
| 7130 | ||
| 7131 | (F) The script would have to be opened by the C preprocessor by name, | |
| 7132 | which provides a race condition that breaks security. | |
| 7133 | ||
| 7134 | =end original | |
| 7135 | ||
| 7136 | (F) C プリプロセッサがスクリプトをオープンするときには、 | |
| 7137 | 名前でオープンしなければいけませんが、これは、安全性を損なう競合条件を | |
| 7138 | もたらします。 | |
| 7139 | ||
| 7140 | =item POSIX class [:%s:] unknown in regex; marked by <-- HERE in m/%s/ | |
| 7141 | ||
| 7142 | =begin original | |
| 7143 | ||
| 7144 | (F) The class in the character class [: :] syntax is unknown. The <-- HERE | |
| 7145 | shows in the regular expression about where the problem was discovered. | |
| 7146 | Note that the POSIX character classes do B<not> have the C<is> prefix | |
| 7147 | the corresponding C interfaces have: in other words, it's C<[[:print:]]>, | |
| 7148 | not C<isprint>. See L<perlre>. | |
| 7149 | ||
| 7150 | =end original | |
| 7151 | ||
| 7152 | (F) 文字クラス [: :] 文法の中のクラスは不明です。 | |
| 7153 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 7154 | POSIX 文字クラスは、対応する C インターフェースが持っている C<is> 接頭辞が | |
| 7155 | B<付かない> ことに注意してください: 言い換えると、C<[[:print:]]> であり、 | |
| 7156 | C<isprint> ではありません。 | |
| 7157 | L<perlre> を参照してください。 | |
| 7158 | ||
| 7159 | =item POSIX getpgrp can't take an argument | |
| 7160 | ||
| 7161 | =begin original | |
| 7162 | ||
| 7163 | (F) Your system has POSIX getpgrp(), which takes no argument, unlike | |
| 7164 | the BSD version, which takes a pid. | |
| 7165 | ||
| 7166 | =end original | |
| 7167 | ||
| 7168 | (F) お使いのシステムは、引数に pid をとる BSD バージョンの | |
| 7169 | getpgrp() と違って、引数をとらない POSIX のものを使っています。 | |
| 7170 | ||
| 7171 | =item POSIX syntax [%s] belongs inside character classes in regex; marked by <-- HERE in m/%s/ | |
| 7172 | ||
| 7173 | =begin original | |
| 7174 | ||
| 7175 | (W regexp) The character class constructs [: :], [= =], and [. .] go | |
| 7176 | I<inside> character classes, the [] are part of the construct, for example: | |
| 7177 | /[012[:alpha:]345]/. Note that [= =] and [. .] are not currently | |
| 7178 | implemented; they are simply placeholders for future extensions and will | |
| 7179 | cause fatal errors. The <-- HERE shows in the regular expression about | |
| 7180 | where the problem was discovered. See L<perlre>. | |
| 7181 | ||
| 7182 | =end original | |
| 7183 | ||
| 7184 | 6173 | (W regexp) 例えば /[012[:alpha:]345]/ のように、文字クラス構造 [: :], [= =], |
| 7185 | 6174 | [. .] が文字クラスの I<内側> にあり、[] は構造の一部です。 |
| 7186 | 6175 | [= =] と [. .] は現在のところ実装されていないことに注意してください; |
| 7187 | 6176 | これらは単に将来の拡張のためのプレースホルダであり、致命的エラーを |
| 7188 | 6177 | 生成します。 |
| 7189 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 7190 | L<perlre> を参照してください。 | |
| 7191 | 6178 | |
| 7192 | =item POSIX syntax [. .] is reserved for future extensions | |
| 6179 | =item POSIX syntax [. .] is reserved for future extensions | |
| 7193 | 6180 | |
| 7194 | =begin original | |
| 6181 | =begin original | |
| 7195 | 6182 | |
| 7196 | 6183 | (F regexp) Within regular expression character classes ([]) the syntax |
| 7197 | beginning with "[." and ending with ".]" is reserved for future | |
| 6184 | beginning with "[." and ending with ".]" is reserved for future | |
| 7198 | If you need to represent those character sequences inside | |
| 6185 | extensions. If you need to represent those character sequences inside | |
| 7199 | expression character class, just quote the square brackets | |
| 6186 | a regular expression character class, just quote the square brackets | |
| 7200 | backslash: "\[." and ".\]". | |
| 6187 | with the backslash: "\[." and ".\]". | |
| 7201 | about where the problem was discovered. See L<perlre>. | |
| 7202 | 6188 | |
| 7203 | 6189 | =end original |
| 7204 | 6190 | |
| 7205 | 6191 | (F regexp) 正規表現文字クラス ([]) の中では、"[." で始まる文法と ".]" で |
| 7206 | 6192 | 終わる文法は将来の拡張のために予約されます。 |
| 7207 | 6193 | 正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある |
| 7208 | 6194 | 場合には、"\[." と ".\]" のように、大かっこをバックスラッシュで |
| 7209 | 6195 | クォートしてください。 |
| 7210 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 7211 | L<perlre> を参照してください。 | |
| 7212 | 6196 | |
| 7213 | =item POSIX syntax [= =] is reserved for future extensions | |
| 6197 | =item POSIX syntax [= =] is reserved for future extensions | |
| 7214 | 6198 | |
| 7215 | 6199 | =begin original |
| 7216 | 6200 | |
| 7217 | (F) Within regular expression character classes ([]) the syntax | |
| 6201 | (F) Within regular expression character classes ([]) the syntax | |
| 7218 | with "[=" and ending with "=]" is reserved for future | |
| 6202 | beginning with "[=" and ending with "=]" is reserved for future | |
| 7219 | need to represent those character sequences inside | |
| 6203 | extensions. If you need to represent those character sequences inside | |
| 7220 | character class, just quote the square brackets | |
| 6204 | a regular expression character class, just quote the square brackets | |
| 7221 | ||
| 6205 | with the backslash: "\[=" and "=\]". | |
| 7222 | problem was discovered. See L<perlre>. | |
| 7223 | 6206 | |
| 7224 | 6207 | =end original |
| 7225 | 6208 | |
| 7226 | 6209 | (F) 正規表現文字クラス ([]) の中では、"[=" で始まる文法と "=]" で |
| 7227 | 6210 | 終わる文法は将来の拡張のために予約されます。 |
| 7228 | 6211 | 正規表現文字クラスの中でこのような文字シーケンスを表現する必要がある |
| 7229 | 6212 | 場合には、"\[=" と "=\]" のように、大かっこをバックスラッシュで |
| 7230 | 6213 | クォートしてください。 |
| 7231 | ||
| 6215 | =item POSIX class [:%s:] unknown | |
| 6216 | ||
| 6217 | =begin original | |
| 6218 | ||
| 6219 | (F) The class in the character class [: :] syntax is unknown. See | |
| 6220 | L<perlre>. | |
| 6221 | ||
| 6222 | =end original | |
| 6223 | ||
| 6224 | (F) 文字クラス [: :] 文法の中のクラスは不明です。 | |
| 7232 | 6225 | L<perlre> を参照してください。 |
| 7233 | 6226 | |
| 6227 | =item POSIX getpgrp can't take an argument | |
| 6228 | ||
| 6229 | =begin original | |
| 6230 | ||
| 6231 | (F) Your system has POSIX getpgrp(), which takes no argument, unlike | |
| 6232 | the BSD version, which takes a pid. | |
| 6233 | ||
| 6234 | =end original | |
| 6235 | ||
| 6236 | (F) お使いのシステムは、引数に pid をとる BSD バージョンの | |
| 6237 | getpgrp() と違って、引数をとらない POSIX のものを使っています。 | |
| 6238 | ||
| 7234 | 6239 | =item Possible attempt to put comments in qw() list |
| 7235 | 6240 | |
| 7236 | 6241 | =begin original |
| 7237 | 6242 | |
| 7238 | 6243 | (W qw) qw() lists contain items separated by whitespace; as with literal |
| 7239 | 6244 | strings, comment characters are not ignored, but are instead treated as |
| 7240 | 6245 | literal data. (You may have used different delimiters than the |
| 7241 | 6246 | parentheses shown here; braces are also frequently used.) |
| 7242 | 6247 | |
| 7243 | 6248 | =end original |
| 7244 | 6249 | |
| 7245 | 6250 | (W qw) qw() リストは空白で分割されたアイテムを含んでいます; |
| 7246 | 6251 | リテラル文字列では、コメント文字無視されず、リテラルデータとして扱われます。 |
| 7247 | 6252 | (かっこ以外のデリミタを使うこともできます; 中かっこもよく使われます。) |
| 7248 | 6253 | |
| 7249 | 6254 | =begin original |
| 7250 | 6255 | |
| 7251 | 6256 | You probably wrote something like this: |
| 7252 | 6257 | |
| 7253 | 6258 | =end original |
| 7254 | 6259 | |
| 7255 | 6260 | おそらく以下のように書いたのでしょう: |
| 7256 | 6261 | |
| 7257 | 6262 | @list = qw( |
| 7258 | 6263 | a # a comment |
| 7259 | 6264 | b # another comment |
| 7260 | 6265 | ); |
| 7261 | 6266 | |
| 7262 | 6267 | =begin original |
| 7263 | 6268 | |
| 7264 | 6269 | when you should have written this: |
| 7265 | 6270 | |
| 7266 | 6271 | =end original |
| 7267 | 6272 | |
| 7268 | 6273 | 以下のように書くべきです: |
| 7269 | 6274 | |
| 7270 | 6275 | @list = qw( |
| 7271 | 6276 | a |
| 7272 | 6277 | b |
| 7273 | 6278 | ); |
| 7274 | 6279 | |
| 7275 | 6280 | =begin original |
| 7276 | 6281 | |
| 7277 | 6282 | If you really want comments, build your list the |
| 7278 | 6283 | old-fashioned way, with quotes and commas: |
| 7279 | 6284 | |
| 7280 | 6285 | =end original |
| 7281 | 6286 | |
| 7282 | 6287 | 本当にコメントをつけたいのなら、 |
| 7283 | 6288 | リストを昔のクォートとカンマの形で書いてください。 |
| 7284 | 6289 | |
| 7285 | 6290 | @list = ( |
| 7286 | 6291 | 'a', # a comment |
| 7287 | 6292 | 'b', # another comment |
| 7288 | 6293 | ); |
| 7289 | 6294 | |
| 7290 | 6295 | =item Possible attempt to separate words with commas |
| 7291 | 6296 | |
| 7292 | 6297 | =begin original |
| 7293 | 6298 | |
| 7294 | 6299 | (W qw) qw() lists contain items separated by whitespace; therefore |
| 7295 | 6300 | commas aren't needed to separate the items. (You may have used |
| 7296 | 6301 | different delimiters than the parentheses shown here; braces are also |
| 7297 | 6302 | frequently used.) |
| 7298 | 6303 | |
| 7299 | 6304 | =end original |
| 7300 | 6305 | |
| 7301 | 6306 | (W qw) qw() リストに空白で分割された項目があります; |
| 7302 | 6307 | そのため、カンマは項目を分割する必要がありません。 |
| 7303 | 6308 | (ここで使われているのと違うデリミタを用いているかもしれません; |
| 7304 | 6309 | 大括弧もよく使われます。) |
| 7305 | 6310 | |
| 7306 | 6311 | =begin original |
| 7307 | 6312 | |
| 7308 | 6313 | You probably wrote something like this: |
| 7309 | 6314 | |
| 7310 | 6315 | =end original |
| 7311 | 6316 | |
| 7312 | 6317 | おそらく以下のように書いたのでしょう: |
| 7313 | 6318 | |
| 7314 | 6319 | qw! a, b, c !; |
| 7315 | 6320 | |
| 7316 | 6321 | =begin original |
| 7317 | 6322 | |
| 7318 | 6323 | which puts literal commas into some of the list items. Write it without |
| 7319 | 6324 | commas if you don't want them to appear in your data: |
| 7320 | 6325 | |
| 7321 | 6326 | =end original |
| 7322 | 6327 | |
| 7323 | 6328 | リスト要素の中にリテラルのカンマを書いています。 |
| 7324 | 6329 | データの中にカンマを出したくないなら、カンマなしで書きます: |
| 7325 | 6330 | |
| 7326 | 6331 | qw! a b c !; |
| 7327 | 6332 | |
| 7328 | 6333 | =item Possible memory corruption: %s overflowed 3rd argument |
| 7329 | 6334 | |
| 7330 | 6335 | =begin original |
| 7331 | 6336 | |
| 7332 | 6337 | (F) An ioctl() or fcntl() returned more than Perl was bargaining for. |
| 7333 | 6338 | Perl guesses a reasonable buffer size, but puts a sentinel byte at the |
| 7334 | 6339 | end of the buffer just in case. This sentinel byte got clobbered, and |
| 7335 | 6340 | Perl assumes that memory is now corrupted. See L<perlfunc/ioctl>. |
| 7336 | 6341 | |
| 7337 | 6342 | =end original |
| 7338 | 6343 | |
| 7339 | 6344 | (F) ioctl() や fcntl() が、Perl が求めていた以上のものを返してきました。 |
| 7340 | 6345 | Perl は、適量のバッファサイズを見積もりますが、念のためにバッファの |
| 7341 | 6346 | 最後に目印を付けています。 |
| 7342 | 6347 | この目印が壊されたため、Perl はメモリの破壊が起こったと判断しました。 |
| 7343 | 6348 | L<perlfunc/ioctl> を参照してください。 |
| 7344 | 6349 | |
| 7345 | =item Possible precedence problem on bitwise %c operator | |
| 7346 | ||
| 7347 | =begin original | |
| 7348 | ||
| 7349 | (W precedence) Your program uses a bitwise logical operator in conjunction | |
| 7350 | with a numeric comparison operator, like this : | |
| 7351 | ||
| 7352 | =end original | |
| 7353 | ||
| 7354 | (W precedence) 以下のように、ビット単位の論理演算子を数値比較演算子と | |
| 7355 | 結合して使用しています: | |
| 7356 | ||
| 7357 | if ($x & $y == 0) { ... } | |
| 7358 | ||
| 7359 | =begin original | |
| 7360 | ||
| 7361 | This expression is actually equivalent to C<$x & ($y == 0)>, due to the | |
| 7362 | higher precedence of C<==>. This is probably not what you want. (If you | |
| 7363 | really meant to write this, disable the warning, or, better, put the | |
| 7364 | parentheses explicitly and write C<$x & ($y == 0)>). | |
| 7365 | ||
| 7366 | =end original | |
| 7367 | ||
| 7368 | この式は、C<==> の優先順位の方が高いので、C<$x & ($y == 0)> と | |
| 7369 | 等価になります。 | |
| 7370 | これはおそらく望んでいるものではないでしょう。 | |
| 7371 | (もし本当にこのように書きたいのなら、警告を無効にするか、あるいは | |
| 7372 | よりよいのはかっこを明示的に使って C<$x & ($y == 0)> と書きます。) | |
| 7373 | ||
| 7374 | =item Possible unintended interpolation of %s in string | |
| 7375 | ||
| 7376 | =begin original | |
| 7377 | ||
| 7378 | (W ambiguous) You said something like `@foo' in a double-quoted string | |
| 7379 | but there was no array C<@foo> in scope at the time. If you wanted a | |
| 7380 | literal @foo, then write it as \@foo; otherwise find out what happened | |
| 7381 | to the array you apparently lost track of. | |
| 7382 | ||
| 7383 | =end original | |
| 7384 | ||
| 7385 | (W ambiguous) 「@foo」のようなものをダブルクォート文字列の中に書きましたが、 | |
| 7386 | 現在のスコープ内に C<@foo> という配列はありません。 | |
| 7387 | リテラルな @foo を指定したい場合は、\@foo と書いてください; | |
| 7388 | そうでなければ、どうやら見失ってしまったらしい配列に何が起こったを | |
| 7389 | 調べてください。 | |
| 7390 | ||
| 7391 | 6350 | =item Possible Y2K bug: %s |
| 7392 | 6351 | |
| 7393 | 6352 | =begin original |
| 7394 | 6353 | |
| 7395 | 6354 | (W y2k) You are concatenating the number 19 with another number, which |
| 7396 | 6355 | could be a potential Year 2000 problem. |
| 7397 | 6356 | |
| 7398 | 6357 | =end original |
| 7399 | 6358 | |
| 7400 | 6359 | (W y2k) 数値 19 を他の数値と結合しています; これは潜在的な |
| 7401 | 6360 | 2000 年問題かもしれません。 |
| 7402 | 6361 | |
| 7403 | 6362 | =item pragma "attrs" is deprecated, use "sub NAME : ATTRS" instead |
| 7404 | 6363 | |
| 7405 | 6364 | =begin original |
| 7406 | 6365 | |
| 7407 | ( | |
| 6366 | (W deprecated) You have written something like this: | |
| 7408 | 6367 | |
| 7409 | 6368 | =end original |
| 7410 | 6369 | |
| 7411 | ( | |
| 6370 | (W deprecated) おそらく以下のように書いたのでしょう: | |
| 7412 | 6371 | |
| 7413 | 6372 | sub doit |
| 7414 | 6373 | { |
| 7415 | 6374 | use attrs qw(locked); |
| 7416 | 6375 | } |
| 7417 | 6376 | |
| 7418 | 6377 | =begin original |
| 7419 | 6378 | |
| 7420 | 6379 | You should use the new declaration syntax instead. |
| 7421 | 6380 | |
| 7422 | 6381 | =end original |
| 7423 | 6382 | |
| 7424 | 6383 | 代わりに新しい定義の文法で書くべきです: |
| 7425 | 6384 | |
| 7426 | 6385 | sub doit : locked |
| 7427 | 6386 | { |
| 7428 | 6387 | ... |
| 7429 | 6388 | |
| 7430 | 6389 | =begin original |
| 7431 | 6390 | |
| 7432 | 6391 | The C<use attrs> pragma is now obsolete, and is only provided for |
| 7433 | 6392 | backward-compatibility. See L<perlsub/"Subroutine Attributes">. |
| 7434 | 6393 | |
| 7435 | 6394 | =end original |
| 7436 | 6395 | |
| 7437 | 6396 | C<use attrs> プラグマはもう古いもので、後方互換性のためだけに |
| 7438 | 6397 | 提供されています。 |
| 7439 | 6398 | L<perlsub/"Subroutine Attributes"> を参照してください。 |
| 7440 | 6399 | |
| 7441 | 6400 | =item Precedence problem: open %s should be open(%s) |
| 7442 | 6401 | |
| 7443 | 6402 | =begin original |
| 7444 | 6403 | |
| 7445 | 6404 | (S precedence) The old irregular construct |
| 7446 | 6405 | |
| 7447 | 6406 | =end original |
| 7448 | 6407 | |
| 7449 | 6408 | (S precedence) 古い変則的な構文 |
| 7450 | 6409 | |
| 7451 | 6410 | open FOO || die; |
| 7452 | 6411 | |
| 7453 | 6412 | =begin original |
| 7454 | 6413 | |
| 7455 | 6414 | is now misinterpreted as |
| 7456 | 6415 | |
| 7457 | 6416 | =end original |
| 7458 | 6417 | |
| 7459 | 6418 | は現在は、Perl 5 の文法の厳しい正規化の結果、単項演算子か |
| 7460 | 6419 | リスト演算子と解釈されますので、 |
| 7461 | 6420 | |
| 7462 | 6421 | open(FOO || die); |
| 7463 | 6422 | |
| 7464 | 6423 | =begin original |
| 7465 | 6424 | |
| 7466 | 6425 | because of the strict regularization of Perl 5's grammar into unary and |
| 7467 | 6426 | list operators. (The old open was a little of both.) You must put |
| 7468 | 6427 | parentheses around the filehandle, or use the new "or" operator instead |
| 7469 | 6428 | of "||". |
| 7470 | 6429 | |
| 7471 | 6430 | =end original |
| 7472 | 6431 | |
| 7473 | 6432 | という風に誤った解釈がなされます。 |
| 7474 | 6433 | (古い open は、単項演算子とリスト演算子の中間のようなものでした。) |
| 7475 | 6434 | ファイルハンドルの前後を括弧で囲むか、"||" 演算子の代わりに |
| 7476 | 6435 | "or" 演算子を使わなくてはなりません。 |
| 7477 | 6436 | |
| 7478 | 6437 | =item Premature end of script headers |
| 7479 | 6438 | |
| 7480 | 6439 | =begin original |
| 7481 | 6440 | |
| 7482 | 6441 | See Server error. |
| 7483 | 6442 | |
| 7484 | 6443 | =end original |
| 7485 | 6444 | |
| 7486 | 6445 | "Server error"を参照してください。 |
| 7487 | 6446 | |
| 7488 | 6447 | =item printf() on closed filehandle %s |
| 7489 | 6448 | |
| 7490 | 6449 | =begin original |
| 7491 | 6450 | |
| 7492 | 6451 | (W closed) The filehandle you're writing to got itself closed sometime |
| 7493 | before now. Check your | |
| 6452 | before now. Check your logic flow. | |
| 7494 | 6453 | |
| 7495 | 6454 | =end original |
| 7496 | 6455 | |
| 7497 | 6456 | (W closed) 書き込みを行なおうとしたファイルハンドルは、既にクローズされています。 |
| 7498 | ||
| 6457 | 論理フローをチェックしてください。 | |
| 7499 | 6458 | |
| 7500 | 6459 | =item print() on closed filehandle %s |
| 7501 | 6460 | |
| 7502 | 6461 | =begin original |
| 7503 | 6462 | |
| 7504 | 6463 | (W closed) The filehandle you're printing on got itself closed sometime |
| 7505 | before now. Check your | |
| 6464 | before now. Check your logic flow. | |
| 7506 | 6465 | |
| 7507 | 6466 | =end original |
| 7508 | 6467 | |
| 7509 | 6468 | (W closed) print を行なおうとしたファイルハンドルは、既にクローズされています。 |
| 7510 | ||
| 6469 | 論理フローをチェックしてください。 | |
| 7511 | 6470 | |
| 7512 | 6471 | =item Process terminated by SIG%s |
| 7513 | 6472 | |
| 7514 | 6473 | =begin original |
| 7515 | 6474 | |
| 7516 | 6475 | (W) This is a standard message issued by OS/2 applications, while *nix |
| 7517 | 6476 | applications die in silence. It is considered a feature of the OS/2 |
| 7518 | 6477 | port. One can easily disable this by appropriate sighandlers, see |
| 7519 | 6478 | L<perlipc/"Signals">. See also "Process terminated by SIGTERM/SIGINT" |
| 7520 | 6479 | in L<perlos2>. |
| 7521 | 6480 | |
| 7522 | 6481 | =end original |
| 7523 | 6482 | |
| 7524 | 6483 | (W) *nix アプリケーションは何も出力せずに終了しますが、 |
| 7525 | 6484 | OS/2 アプリケーションはこれを標準メッセージとして出力します。 |
| 7526 | 6485 | これは OS/2 版の仕様とみなされています。 |
| 7527 | 6486 | 適切なシグナルハンドラによって簡単に無効にできます; |
| 7528 | 6487 | L<perlipc/"Signals"> を参照してください。 |
| 7529 | 6488 | L<perlos2> の "Process terminated by SIGTERM/SIGINT" も参照してください。 |
| 7530 | 6489 | |
| 7531 | 6490 | =item Prototype mismatch: %s vs %s |
| 7532 | 6491 | |
| 7533 | 6492 | =begin original |
| 7534 | 6493 | |
| 7535 | (S | |
| 6494 | (S unsafe) The subroutine being declared or defined had previously been | |
| 7536 | 6495 | declared or defined with a different function prototype. |
| 7537 | 6496 | |
| 7538 | 6497 | =end original |
| 7539 | 6498 | |
| 7540 | (S | |
| 6499 | (S unsafe) 以前異なる関数プロトタイプで宣言または定義されたサブルーチンが | |
| 7541 | ||
| 6500 | 宣言または定義されました。 | |
| 7542 | 6501 | |
| 7543 | =item | |
| 6502 | =item Quantifier in {,} bigger than %d before << HERE in regex m/%s/ | |
| 7544 | 6503 | |
| 7545 | 6504 | =begin original |
| 7546 | 6505 | |
| 7547 | (F) You've omitted the closing parenthesis in a function prototype | |
| 7548 | definition. | |
| 7549 | ||
| 7550 | =end original | |
| 7551 | ||
| 7552 | (F) 関数プロトタイプ宣言で、閉じかっこがありませんでした。 | |
| 7553 | ||
| 7554 | =item Pseudo-hashes are deprecated | |
| 7555 | ||
| 7556 | =begin original | |
| 7557 | ||
| 7558 | (D deprecated) Pseudo-hashes were deprecated in Perl 5.8.0 and they | |
| 7559 | will be removed in Perl 5.10.0, see L<perl58delta> for more details. | |
| 7560 | You can continue to use the C<fields> pragma. | |
| 7561 | ||
| 7562 | =end original | |
| 7563 | ||
| 7564 | (D deprecated) 擬似ハッシュは Perl 5.8.0 から非推奨とされ、 Perl 5.10.0 で | |
| 7565 | 削除される予定です; さらなる詳細については L<perl58delta> を | |
| 7566 | 参照してください。 | |
| 7567 | C<fields> プラグマは使いつづけることができます。 | |
| 7568 | ||
| 7569 | =item Quantifier follows nothing in regex; marked by <-- HERE in m/%s/ | |
| 7570 | ||
| 7571 | =begin original | |
| 7572 | ||
| 7573 | (F) You started a regular expression with a quantifier. Backslash it if you | |
| 7574 | meant it literally. The <-- HERE shows in the regular expression about | |
| 7575 | where the problem was discovered. See L<perlre>. | |
| 7576 | ||
| 7577 | =end original | |
| 7578 | ||
| 7579 | (F) 正規表現を量指定子で開始しています。 | |
| 7580 | もしそれをリテラルに使いたいなら、バックスラッシュでクォートしてください。 | |
| 7581 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 7582 | L<perlre> を参照してください。 | |
| 7583 | ||
| 7584 | =item Quantifier in {,} bigger than %d in regex; marked by <-- HERE in m/%s/ | |
| 7585 | ||
| 7586 | =begin original | |
| 7587 | ||
| 7588 | 6506 | (F) There is currently a limit to the size of the min and max values of the |
| 7589 | {min,max} construct. The < | |
| 6507 | {min,max} construct. The << HERE shows in the regular expression about where | |
| 7590 | 6508 | the problem was discovered. See L<perlre>. |
| 7591 | 6509 | |
| 7592 | 6510 | =end original |
| 7593 | 6511 | |
| 7594 | 6512 | 現在のところ、{min,max} 構造の最大値と最小値には制限があります。 |
| 7595 | < | |
| 6513 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 7596 | 6514 | L<perlre> を参照してください。 |
| 7597 | 6515 | |
| 7598 | =item Quantifier unexpected on zero-length expression | |
| 6516 | =item Quantifier unexpected on zero-length expression before << HERE %s | |
| 7599 | 6517 | |
| 7600 | 6518 | =begin original |
| 7601 | 6519 | |
| 7602 | 6520 | (W regexp) You applied a regular expression quantifier in a place where |
| 7603 | 6521 | it makes no sense, such as on a zero-width assertion. Try putting the |
| 7604 | 6522 | quantifier inside the assertion instead. For example, the way to match |
| 7605 | 6523 | "abc" provided that it is followed by three repetitions of "xyz" is |
| 7606 | 6524 | C</abc(?=(?:xyz){3})/>, not C</abc(?=xyz){3}/>. |
| 7607 | 6525 | |
| 7608 | 6526 | =end original |
| 7609 | 6527 | |
| 7610 | 6528 | (W regexp) 正規表現量指定子をゼロ幅アサーションのような意味のない場所に |
| 7611 | 6529 | 適用しました。 |
| 7612 | 6530 | 代わりにアサーションの中に量指定子を置いてください。 |
| 7613 | 6531 | 例えば、"xyz" を 3 回繰り返した後の "abc" にマッチングさせるには、 |
| 7614 | 6532 | C</abc(?=xyz){3}/> ではなく C</abc(?=(?:xyz){3})/> としてください。 |
| 7615 | 6533 | |
| 7616 | =begin original | |
| 7617 | ||
| 7618 | The <-- HERE shows in the regular expression about where the problem was | |
| 7619 | discovered. | |
| 7620 | ||
| 7621 | =end original | |
| 7622 | ||
| 7623 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 7624 | ||
| 7625 | 6534 | =item Range iterator outside integer range |
| 7626 | 6535 | |
| 7627 | 6536 | =begin original |
| 7628 | 6537 | |
| 7629 | 6538 | (F) One (or both) of the numeric arguments to the range operator ".." |
| 7630 | 6539 | are outside the range which can be represented by integers internally. |
| 7631 | 6540 | One possible workaround is to force Perl to use magical string increment |
| 7632 | 6541 | by prepending "0" to your numbers. |
| 7633 | 6542 | |
| 7634 | 6543 | =end original |
| 7635 | 6544 | |
| 7636 | 6545 | (F) 範囲演算子 ".." の一つ(または両方)の数値引数が、内部で整数として |
| 7637 | 6546 | 表現できる範囲を越えています。 |
| 7638 | 6547 | 回避方法のひとつとしては、数値の頭に "0" を付けることで Perl に |
| 7639 | 6548 | マジカル文字列インクリメントの使用を強制させることです。 |
| 7640 | 6549 | |
| 7641 | 6550 | =item readline() on closed filehandle %s |
| 7642 | 6551 | |
| 7643 | 6552 | =begin original |
| 7644 | 6553 | |
| 7645 | 6554 | (W closed) The filehandle you're reading from got itself closed sometime |
| 7646 | before now. Check your | |
| 6555 | before now. Check your logic flow. | |
| 7647 | 6556 | |
| 7648 | 6557 | =end original |
| 7649 | 6558 | |
| 7650 | 6559 | (W closed) 読み込みを行なおうとしたファイルハンドルは、既にクローズされています。 |
| 7651 | ||
| 6560 | 論理フローをチェックしてください。 | |
| 7652 | 6561 | |
| 7653 | =item read() on closed filehandle %s | |
| 7654 | ||
| 7655 | =begin original | |
| 7656 | ||
| 7657 | (W closed) You tried to read from a closed filehandle. | |
| 7658 | ||
| 7659 | =end original | |
| 7660 | ||
| 7661 | (W closed) 閉じたファイルハンドルから読み込もうとしました。 | |
| 7662 | ||
| 7663 | =item read() on unopened filehandle %s | |
| 7664 | ||
| 7665 | =begin original | |
| 7666 | ||
| 7667 | (W unopened) You tried to read from a filehandle that was never opened. | |
| 7668 | ||
| 7669 | =end original | |
| 7670 | ||
| 7671 | (W unopened) 開いていないファイルハンドルから読み込もうとしました。 | |
| 7672 | ||
| 7673 | 6562 | =item Reallocation too large: %lx |
| 7674 | 6563 | |
| 7675 | 6564 | =begin original |
| 7676 | 6565 | |
| 7677 | 6566 | (F) You can't allocate more than 64K on an MS-DOS machine. |
| 7678 | 6567 | |
| 7679 | 6568 | =end original |
| 7680 | 6569 | |
| 7681 | 6570 | (F) MS-DOS マシンでは、64K を越えるメモリを割り当てることはできません。 |
| 7682 | 6571 | |
| 7683 | 6572 | =item realloc() of freed memory ignored |
| 7684 | 6573 | |
| 7685 | 6574 | =begin original |
| 7686 | 6575 | |
| 7687 | 6576 | (S malloc) An internal routine called realloc() on something that had |
| 7688 | 6577 | already been freed. |
| 7689 | 6578 | |
| 7690 | 6579 | =end original |
| 7691 | 6580 | |
| 7692 | 6581 | 内部ルーチンが、何か既に解放されているものに対して realloc() を |
| 7693 | 6582 | 呼び出しました。 |
| 7694 | 6583 | |
| 7695 | 6584 | =item Recompile perl with B<-D>DEBUGGING to use B<-D> switch |
| 7696 | 6585 | |
| 7697 | 6586 | =begin original |
| 7698 | 6587 | |
| 7699 | 6588 | (F debugging) You can't use the B<-D> option unless the code to produce |
| 7700 | 6589 | the desired output is compiled into Perl, which entails some overhead, |
| 7701 | 6590 | which is why it's currently left out of your copy. |
| 7702 | 6591 | |
| 7703 | 6592 | =end original |
| 7704 | 6593 | |
| 7705 | 6594 | (F debugging) Perl のコンパイル時に、適切な出力ルーティンが |
| 7706 | 6595 | 組み込まれていなければ、B<-D> スイッチを使うことはできません。 |
| 7707 | 6596 | これは、多少のオーバヘッドがかかるもので、それが現在使っている |
| 7708 | 6597 | Perl に組み込んでない理由でしょう。 |
| 7709 | 6598 | |
| 7710 | 6599 | =item Recursive inheritance detected in package '%s' |
| 7711 | 6600 | |
| 7712 | 6601 | =begin original |
| 7713 | 6602 | |
| 7714 | 6603 | (F) More than 100 levels of inheritance were used. Probably indicates |
| 7715 | 6604 | an unintended loop in your inheritance hierarchy. |
| 7716 | 6605 | |
| 7717 | 6606 | =end original |
| 7718 | 6607 | |
| 7719 | 6608 | (F) 100 レベル以上の継承が行なわれました。 |
| 7720 | 6609 | おそらく、継承階層の中で、予想外のループになっている部分があるものと |
| 7721 | 6610 | 思われます。 |
| 7722 | 6611 | |
| 7723 | 6612 | =item Recursive inheritance detected while looking for method %s |
| 7724 | 6613 | |
| 7725 | 6614 | =begin original |
| 7726 | 6615 | |
| 7727 | 6616 | (F) More than 100 levels of inheritance were encountered while invoking |
| 7728 | 6617 | a method. Probably indicates an unintended loop in your inheritance |
| 7729 | 6618 | hierarchy. |
| 7730 | 6619 | |
| 7731 | 6620 | =end original |
| 7732 | 6621 | |
| 7733 | 6622 | (F) メソッドの起動中に 100 レベル以上の継承が行なわれました。 |
| 7734 | 6623 | おそらく、継承階層の中で、予想外のループになっている部分があるものと |
| 7735 | 6624 | 思われます。 |
| 7736 | 6625 | |
| 7737 | 6626 | =item Reference found where even-sized list expected |
| 7738 | 6627 | |
| 7739 | 6628 | =begin original |
| 7740 | 6629 | |
| 7741 | 6630 | (W misc) You gave a single reference where Perl was expecting a list |
| 7742 | 6631 | with an even number of elements (for assignment to a hash). This usually |
| 7743 | 6632 | means that you used the anon hash constructor when you meant to use |
| 7744 | 6633 | parens. In any case, a hash requires key/value B<pairs>. |
| 7745 | 6634 | |
| 7746 | 6635 | =end original |
| 7747 | 6636 | |
| 7748 | 6637 | (W misc) Perl が(ハッシュへの代入のために)偶数の数の要素のリストを |
| 7749 | 6638 | 想定しているところに 1 つのリファレンスを渡しました。 |
| 7750 | 6639 | これは普通かっこを使うべきところで無名ハッシュコンストラクタを使ったことを |
| 7751 | 6640 | 意味します。 |
| 7752 | 6641 | とにかく、ハッシュはキー/値の B<組> を要求します。 |
| 7753 | 6642 | |
| 7754 | 6643 | %hash = { one => 1, two => 2, }; # WRONG |
| 7755 | 6644 | %hash = [ qw/ an anon array / ]; # WRONG |
| 7756 | 6645 | %hash = ( one => 1, two => 2, ); # right |
| 7757 | 6646 | %hash = qw( one 1 two 2 ); # also fine |
| 7758 | 6647 | |
| 7759 | 6648 | =item Reference is already weak |
| 7760 | 6649 | |
| 7761 | 6650 | =begin original |
| 7762 | 6651 | |
| 7763 | 6652 | (W misc) You have attempted to weaken a reference that is already weak. |
| 7764 | 6653 | Doing so has no effect. |
| 7765 | 6654 | |
| 7766 | 6655 | =end original |
| 7767 | 6656 | |
| 7768 | 6657 | (W misc) 既に弱いリファレンスを弱めようとしました。 |
| 7769 | 6658 | そうしても何の効果もありません。 |
| 7770 | 6659 | |
| 7771 | 6660 | =item Reference miscount in sv_replace() |
| 7772 | 6661 | |
| 7773 | 6662 | =begin original |
| 7774 | 6663 | |
| 7775 | 6664 | (W internal) The internal sv_replace() function was handed a new SV with |
| 7776 | 6665 | a reference count of other than 1. |
| 7777 | 6666 | |
| 7778 | 6667 | =end original |
| 7779 | 6668 | |
| 7780 | 6669 | (W internal) 内部の sv_replace() 関数が、参照数が 1 でない、新規の |
| 7781 | 6670 | SV を扱いました。 |
| 7782 | 6671 | |
| 7783 | =item Reference to nonexistent group | |
| 6672 | =item Reference to nonexistent group before << HERE in regex m/%s/ | |
| 7784 | 6673 | |
| 7785 | 6674 | =begin original |
| 7786 | 6675 | |
| 7787 | 6676 | (F) You used something like C<\7> in your regular expression, but there are |
| 7788 | 6677 | not at least seven sets of capturing parentheses in the expression. If you |
| 7789 | 6678 | wanted to have the character with value 7 inserted into the regular expression, |
| 7790 | 6679 | prepend a zero to make the number at least two digits: C<\07> |
| 7791 | 6680 | |
| 7792 | 6681 | =end original |
| 7793 | 6682 | |
| 7794 | 6683 | 正規表現の中で C<\7> のような記述がありますが、 |
| 7795 | 6684 | 正規表現の中に値を捕らえる括弧が 7 つありません。 |
| 7796 | 6685 | 正規表現の中に値 7 を持つ文字を挿入したい場合、 |
| 7797 | 6686 | ゼロをつけて最低二桁の数値にする必要があります: C<\07> |
| 7798 | 6687 | |
| 7799 | 6688 | =begin original |
| 7800 | 6689 | |
| 7801 | The < | |
| 6690 | The << HERE shows in the regular expression about where the problem was | |
| 7802 | 6691 | discovered. |
| 7803 | 6692 | |
| 7804 | 6693 | =end original |
| 7805 | 6694 | |
| 7806 | < | |
| 6695 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 7807 | 6696 | |
| 7808 | 6697 | =item regexp memory corruption |
| 7809 | 6698 | |
| 7810 | 6699 | =begin original |
| 7811 | 6700 | |
| 7812 | 6701 | (P) The regular expression engine got confused by what the regular |
| 7813 | 6702 | expression compiler gave it. |
| 7814 | 6703 | |
| 7815 | 6704 | =end original |
| 7816 | 6705 | |
| 7817 | 6706 | (P) 正規表現コンパイラが渡したもので、正規表現エンジンが |
| 7818 | 6707 | 処理できなくなりました。 |
| 7819 | 6708 | |
| 7820 | 6709 | =item Regexp out of space |
| 7821 | 6710 | |
| 7822 | 6711 | =begin original |
| 7823 | 6712 | |
| 7824 | 6713 | (P) A "can't happen" error, because safemalloc() should have caught it |
| 7825 | 6714 | earlier. |
| 7826 | 6715 | |
| 7827 | 6716 | =end original |
| 7828 | 6717 | |
| 7829 | (P) safemalloc() が見つけるはずなので、「起こるはずのない | |
| 6718 | (P) safemalloc() が見つけるはずなので、「起こるはずのないエラー」です。 | |
| 7830 | 6719 | |
| 7831 | =item Repeat | |
| 6720 | =item Repeat count in pack overflows | |
| 7832 | 6721 | |
| 7833 | 6722 | =begin original |
| 7834 | 6723 | |
| 7835 | (F) You | |
| 6724 | (F) You can't specify a repeat count so large that it overflows your | |
| 7836 | n | |
| 6725 | signed integers. See L<perlfunc/pack>. | |
| 7837 | terminates. You might use ^# instead. See L<perlform>. | |
| 7838 | 6726 | |
| 7839 | 6727 | =end original |
| 7840 | 6728 | |
| 7841 | (F) | |
| 6729 | (F) 繰り返し回数として符号付き整数をオーバーフローするような | |
| 7842 | ||
| 6730 | 値は指定できません。 | |
| 7843 | ||
| 6731 | L<perlfunc/pack> を参照してください。 | |
| 7844 | L<perlform> を参照してください。 | |
| 7845 | 6732 | |
| 6733 | =item Repeat count in unpack overflows | |
| 6734 | ||
| 6735 | =begin original | |
| 6736 | ||
| 6737 | (F) You can't specify a repeat count so large that it overflows your | |
| 6738 | signed integers. See L<perlfunc/unpack>. | |
| 6739 | ||
| 6740 | =end original | |
| 6741 | ||
| 6742 | (F) 繰り返し回数として符号付き整数をオーバーフローするような | |
| 6743 | 値は指定できません。 | |
| 6744 | L<perlfunc/unpack> を参照してください。 | |
| 6745 | ||
| 7846 | 6746 | =item Reversed %s= operator |
| 7847 | 6747 | |
| 7848 | 6748 | =begin original |
| 7849 | 6749 | |
| 7850 | 6750 | (W syntax) You wrote your assignment operator backwards. The = must |
| 7851 | 6751 | always comes last, to avoid ambiguity with subsequent unary operators. |
| 7852 | 6752 | |
| 7853 | 6753 | =end original |
| 7854 | 6754 | |
| 7855 | 6755 | (W syntax) 代入演算子を逆順に書いています。 |
| 7856 | 6756 | 等号の後に単項演算子が続くときに、曖昧になるのを避けるため、 |
| 7857 | 6757 | 代入演算子では、等号 = が、最後にこないといけません。 |
| 7858 | 6758 | |
| 7859 | 6759 | =item Runaway format |
| 7860 | 6760 | |
| 7861 | 6761 | =begin original |
| 7862 | 6762 | |
| 7863 | 6763 | (F) Your format contained the ~~ repeat-until-blank sequence, but it |
| 7864 | 6764 | produced 200 lines at once, and the 200th line looked exactly like the |
| 7865 | 6765 | 199th line. Apparently you didn't arrange for the arguments to exhaust |
| 7866 | 6766 | themselves, either by using ^ instead of @ (for scalar variables), or by |
| 7867 | 6767 | shifting or popping (for array variables). See L<perlform>. |
| 7868 | 6768 | |
| 7869 | 6769 | =end original |
| 7870 | 6770 | |
| 7871 | 6771 | (F) 定義したフォーマットに、空になるまで繰り返す ~~ が |
| 7872 | 6772 | 含まれていましたが、一度に 200 行以上となり、199 行目と 200 行目が |
| 7873 | 6773 | 全く同じになりました。 |
| 7874 | 6774 | (スカラ変数には) @ の代わりに ^ を用いるか、(配列変数には) shift か pop を |
| 7875 | 6775 | 行なうかして、引数が自動的になくなるようになっていないといけませんが、 |
| 7876 | 6776 | そうなっていないようです。 |
| 7877 | 6777 | L<perlform> を参照してください。 |
| 7878 | 6778 | |
| 7879 | =item Scalars leaked: %d | |
| 7880 | ||
| 7881 | =begin original | |
| 7882 | ||
| 7883 | (P) Something went wrong in Perl's internal bookkeeping of scalars: | |
| 7884 | not all scalar variables were deallocated by the time Perl exited. | |
| 7885 | What this usually indicates is a memory leak, which is of course bad, | |
| 7886 | especially if the Perl program is intended to be long-running. | |
| 7887 | ||
| 7888 | =end original | |
| 7889 | ||
| 7890 | (P) Perl 内部のスカラ管理で何かがおかしくなりました: | |
| 7891 | Perl 終了時に全てのスカラ変数が解放されませんでした。 | |
| 7892 | これは普通メモリリークを示していて、これはもちろん悪いことですが、 | |
| 7893 | Perl プログラムが長い間動作する場合には特にそうです。 | |
| 7894 | ||
| 7895 | 6779 | =item Scalar value @%s[%s] better written as $%s[%s] |
| 7896 | 6780 | |
| 7897 | 6781 | =begin original |
| 7898 | 6782 | |
| 7899 | 6783 | (W syntax) You've used an array slice (indicated by @) to select a |
| 7900 | 6784 | single element of an array. Generally it's better to ask for a scalar |
| 7901 | 6785 | value (indicated by $). The difference is that C<$foo[&bar]> always |
| 7902 | 6786 | behaves like a scalar, both when assigning to it and when evaluating its |
| 7903 | 6787 | argument, while C<@foo[&bar]> behaves like a list when you assign to it, |
| 7904 | 6788 | and provides a list context to its subscript, which can do weird things |
| 7905 | 6789 | if you're expecting only one subscript. |
| 7906 | 6790 | |
| 7907 | 6791 | =end original |
| 7908 | 6792 | |
| 7909 | 6793 | (W syntax) 配列の一つの要素を選ぶのに、(@ で示される) 配列 |
| 7910 | 6794 | スライスを用いました。 |
| 7911 | 6795 | 一般には、($ で示される) スカラ値を使った方が良いと思われます。 |
| 7912 | 6796 | 違いは、C<$foo[&bar]> とした場合、代入の対象としたときにも、 |
| 7913 | 6797 | 添字を評価するときにも、常にスカラとして振る舞うのに対し、 |
| 7914 | 6798 | C<@foo[&bar]> の場合には、代入の対象としてもリストとして振る舞い、 |
| 7915 | 6799 | 添字にもリストコンテキストを与えることになります。 |
| 7916 | 6800 | これは、1 つの添字だけを期待するときには、おかしなこととなるでしょう。 |
| 7917 | 6801 | |
| 7918 | 6802 | =begin original |
| 7919 | 6803 | |
| 7920 | 6804 | On the other hand, if you were actually hoping to treat the array |
| 7921 | 6805 | element as a list, you need to look into how references work, because |
| 7922 | 6806 | Perl will not magically convert between scalars and lists for you. See |
| 7923 | 6807 | L<perlref>. |
| 7924 | 6808 | |
| 7925 | 6809 | =end original |
| 7926 | 6810 | |
| 7927 | 6811 | 一方、もし本当に配列要素をリストとして扱いたい場合、リファレンスが |
| 7928 | 6812 | どのように働くかについて詳しく知る必要があります; なぜなら |
| 7929 | 6813 | Perl はスカラとリストを自動的に変換したりはしないからです。 |
| 7930 | 6814 | L<perlref> を参照してください。 |
| 7931 | 6815 | |
| 7932 | 6816 | =item Scalar value @%s{%s} better written as $%s{%s} |
| 7933 | 6817 | |
| 7934 | 6818 | =begin original |
| 7935 | 6819 | |
| 7936 | 6820 | (W syntax) You've used a hash slice (indicated by @) to select a single |
| 7937 | 6821 | element of a hash. Generally it's better to ask for a scalar value |
| 7938 | 6822 | (indicated by $). The difference is that C<$foo{&bar}> always behaves |
| 7939 | 6823 | like a scalar, both when assigning to it and when evaluating its |
| 7940 | 6824 | argument, while C<@foo{&bar}> behaves like a list when you assign to it, |
| 7941 | 6825 | and provides a list context to its subscript, which can do weird things |
| 7942 | 6826 | if you're expecting only one subscript. |
| 7943 | 6827 | |
| 7944 | 6828 | =end original |
| 7945 | 6829 | |
| 7946 | 6830 | (W syntax) ハッシュの一つの要素を選ぶのに、(@ で示される) ハッシュ |
| 7947 | 6831 | スライスを用いました。 |
| 7948 | 6832 | 一般には、($ で示される) スカラ値を使った方が良いと思われます。 |
| 7949 | 6833 | 違いは、C<$foo{&bar}> とした場合、代入の対象としたときにも、 |
| 7950 | 6834 | 添字を評価するときにも、常にスカラとして振る舞うのに対し、 |
| 7951 | 6835 | C<@foo{&bar}> の場合には、代入の対象としてもリストとして振る舞い、 |
| 7952 | 6836 | 添字にもリストコンテキストを与えることになります。 |
| 7953 | 6837 | これは、1 つの添字だけを期待するときには、おかしなこととなるでしょう。 |
| 7954 | 6838 | |
| 7955 | 6839 | =begin original |
| 7956 | 6840 | |
| 7957 | 6841 | On the other hand, if you were actually hoping to treat the hash element |
| 7958 | 6842 | as a list, you need to look into how references work, because Perl will |
| 7959 | 6843 | not magically convert between scalars and lists for you. See |
| 7960 | 6844 | L<perlref>. |
| 7961 | 6845 | |
| 7962 | 6846 | =end original |
| 7963 | 6847 | |
| 7964 | 6848 | 一方、もし本当にハッシュ要素をリストとして扱いたい場合、リファレンスが |
| 7965 | 6849 | どのように働くかについて詳しく知る必要があります; なぜなら |
| 7966 | 6850 | Perl はスカラとリストを自動的に変換したりはしないからです。 |
| 7967 | 6851 | L<perlref> を参照してください。 |
| 7968 | 6852 | |
| 6853 | =item Scalars leaked: %d | |
| 6854 | ||
| 6855 | =begin original | |
| 6856 | ||
| 6857 | (P) Something went wrong in Perl's internal bookkeeping of scalars: | |
| 6858 | not all scalar variables were deallocated by the time Perl exited. | |
| 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. | |
| 6861 | ||
| 6862 | =end original | |
| 6863 | ||
| 6864 | (P) Perl 内部のスカラ管理で何かがおかしくなりました: | |
| 6865 | Perl 終了時に全てのスカラ変数が解放されませんでした。 | |
| 6866 | これは普通メモリリークを示していて、これはもちろん悪いことですが、 | |
| 6867 | Perl プログラムが長い間動作する場合には特にそうです。 | |
| 6868 | ||
| 7969 | 6869 | =item Script is not setuid/setgid in suidperl |
| 7970 | 6870 | |
| 7971 | 6871 | =begin original |
| 7972 | 6872 | |
| 7973 | 6873 | (F) Oddly, the suidperl program was invoked on a script without a setuid |
| 7974 | 6874 | or setgid bit set. This doesn't make much sense. |
| 7975 | 6875 | |
| 7976 | 6876 | =end original |
| 7977 | 6877 | |
| 7978 | 6878 | (F) 妙なことに、setuid ビット、もしくは setgid ビットが立っていない |
| 7979 | 6879 | スクリプトに対して、suidperl プログラムが起動されました。 |
| 7980 | 6880 | これは意味がありません。 |
| 7981 | 6881 | |
| 7982 | 6882 | =item Search pattern not terminated |
| 7983 | 6883 | |
| 7984 | 6884 | =begin original |
| 7985 | 6885 | |
| 7986 | 6886 | (F) The lexer couldn't find the final delimiter of a // or m{} |
| 7987 | 6887 | construct. Remember that bracketing delimiters count nesting level. |
| 7988 | 6888 | Missing the leading C<$> from a variable C<$m> may cause this error. |
| 7989 | 6889 | |
| 7990 | 6890 | =end original |
| 7991 | 6891 | |
| 7992 | 6892 | (F) // もしくは m{} 構文の最後の区切り文字が見つかりませんでした。 |
| 7993 | 6893 | 括弧類の区切り文字では、ネストを数えることを忘れないでください。 |
| 7994 | 6894 | C<$m> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 |
| 7995 | 6895 | |
| 7996 | =begin original | |
| 7997 | ||
| 7998 | Note that since Perl 5.9.0 a // can also be the I<defined-or> | |
| 7999 | construct, not just the empty search pattern. Therefore code written | |
| 8000 | in Perl 5.9.0 or later that uses the // as the I<defined-or> can be | |
| 8001 | misparsed by pre-5.9.0 Perls as a non-terminated search pattern. | |
| 8002 | ||
| 8003 | =end original | |
| 8004 | ||
| 8005 | Perl 5.9.0 から、// は I<defined-or> 構文として扱われ、単なる | |
| 8006 | 空検索パターンではありません。 | |
| 8007 | 従って、Perl 5.9.0 以降で書かれた、// を I<defined-or> として使っている | |
| 8008 | コードは、5.9.0 以前の Perl では、終端していない検索パターンとして | |
| 8009 | 誤パースされるかもしれません。 | |
| 8010 | ||
| 8011 | =item Search pattern not terminated or ternary operator parsed as search pattern | |
| 8012 | ||
| 8013 | =begin original | |
| 8014 | ||
| 8015 | (F) The lexer couldn't find the final delimiter of a C<?PATTERN?> | |
| 8016 | construct. | |
| 8017 | ||
| 8018 | =end original | |
| 8019 | ||
| 8020 | (F) 構文解析器が C<?PATTERN?> 構造の最後のデリミタを見つけられませんでした。 | |
| 8021 | ||
| 8022 | =begin original | |
| 8023 | ||
| 8024 | The question mark is also used as part of the ternary operator (as in | |
| 8025 | C<foo ? 0 : 1>) leading to some ambiguous constructions being wrongly | |
| 8026 | parsed. One way to disambiguate the parsing is to put parentheses around | |
| 8027 | the conditional expression, i.e. C<(foo) ? 0 : 1>. | |
| 8028 | ||
| 8029 | =end original | |
| 8030 | ||
| 8031 | クエスチョンマークは (C<foo ? 0 : 1> のような) 3 項演算子の一部としても | |
| 8032 | 使われるので、紛らわしい構造の場合は間違ってパースされることがあります。 | |
| 8033 | パースのあいまいさをなくすための一つの方法は、C<(foo) ? 0 : 1> のように | |
| 8034 | 条件式をかっこで括ることです。 | |
| 8035 | ||
| 8036 | 6896 | =item %sseek() on unopened filehandle |
| 8037 | 6897 | |
| 8038 | 6898 | =begin original |
| 8039 | 6899 | |
| 8040 | 6900 | (W unopened) You tried to use the seek() or sysseek() function on a |
| 8041 | 6901 | filehandle that was either never opened or has since been closed. |
| 8042 | 6902 | |
| 8043 | 6903 | =end original |
| 8044 | 6904 | |
| 8045 | 6905 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
| 8046 | 6906 | ファイルハンドルに対して、seek() 関数や sysseek() 関数を使おうとしました。 |
| 8047 | 6907 | |
| 8048 | 6908 | =item select not implemented |
| 8049 | 6909 | |
| 8050 | 6910 | =begin original |
| 8051 | 6911 | |
| 8052 | 6912 | (F) This machine doesn't implement the select() system call. |
| 8053 | 6913 | |
| 8054 | 6914 | =end original |
| 8055 | 6915 | |
| 8056 | 6916 | (F) このマシンでは、select() システムコールは実装されていません。 |
| 8057 | 6917 | |
| 8058 | =item Self-ties of arrays and hashes are not supported | |
| 8059 | ||
| 8060 | =begin original | |
| 8061 | ||
| 8062 | (F) Self-ties are of arrays and hashes are not supported in | |
| 8063 | the current implementation. | |
| 8064 | ||
| 8065 | =end original | |
| 8066 | ||
| 8067 | (F) 配列やハッシュの自己 tie は現在の実装では対応していません。 | |
| 8068 | ||
| 8069 | 6918 | =item Semicolon seems to be missing |
| 8070 | 6919 | |
| 8071 | 6920 | =begin original |
| 8072 | 6921 | |
| 8073 | 6922 | (W semicolon) A nearby syntax error was probably caused by a missing |
| 8074 | 6923 | semicolon, or possibly some other missing operator, such as a comma. |
| 8075 | 6924 | |
| 8076 | 6925 | =end original |
| 8077 | 6926 | |
| 8078 | 6927 | (W semicolon) この付近の構文エラーは、おそらくセミコロンか、コンマなどの |
| 8079 | 6928 | 演算子がなかったために起こったものと考えられます。 |
| 8080 | 6929 | |
| 8081 | 6930 | =item semi-panic: attempt to dup freed string |
| 8082 | 6931 | |
| 8083 | 6932 | =begin original |
| 8084 | 6933 | |
| 8085 | 6934 | (S internal) The internal newSVsv() routine was called to duplicate a |
| 8086 | 6935 | scalar that had previously been marked as free. |
| 8087 | 6936 | |
| 8088 | 6937 | =end original |
| 8089 | 6938 | |
| 8090 | 6939 | (S internal) 既に解放と印を付けたスカラを複製するために、内部の |
| 8091 | 6940 | newSVsv() ルーティンが呼ばれました。 |
| 8092 | 6941 | |
| 8093 | 6942 | =item sem%s not implemented |
| 8094 | 6943 | |
| 8095 | 6944 | =begin original |
| 8096 | 6945 | |
| 8097 | 6946 | (F) You don't have System V semaphore IPC on your system. |
| 8098 | 6947 | |
| 8099 | 6948 | =end original |
| 8100 | 6949 | |
| 8101 | 6950 | (F) このシステムでは、System V セマフォ IPC は使えません。 |
| 8102 | 6951 | |
| 8103 | 6952 | =item send() on closed socket %s |
| 8104 | 6953 | |
| 8105 | 6954 | =begin original |
| 8106 | 6955 | |
| 8107 | 6956 | (W closed) The socket you're sending to got itself closed sometime |
| 8108 | before now. Check your | |
| 6957 | before now. Check your logic flow. | |
| 8109 | 6958 | |
| 8110 | 6959 | =end original |
| 8111 | 6960 | |
| 8112 | 6961 | (W closed) 送信を行なおうとしたソケットは、既にクローズされています。 |
| 8113 | ||
| 6962 | 論理フローをチェックしてください。 | |
| 8114 | 6963 | |
| 8115 | =item Sequence (? incomplete | |
| 6964 | =item Sequence (? incomplete before << HERE mark in regex m/%s/ | |
| 8116 | 6965 | |
| 8117 | 6966 | =begin original |
| 8118 | 6967 | |
| 8119 | (F) A regular expression ended with an incomplete extension (?. The < | |
| 6968 | (F) A regular expression ended with an incomplete extension (?. The <<<HERE | |
| 8120 | 6969 | shows in the regular expression about where the problem was discovered. See |
| 8121 | 6970 | L<perlre>. |
| 8122 | 6971 | |
| 8123 | 6972 | =end original |
| 8124 | 6973 | |
| 8125 | 6974 | (F) 正規表現が不完全な拡張 (? で終わっています。 |
| 8126 | < | |
| 6975 | <<<HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 8127 | 6976 | L<perlre> を参照してください。 |
| 8128 | 6977 | |
| 8129 | =item Sequence (? | |
| 6978 | =item Sequence (?{...}) not terminated or not {}-balanced in %s | |
| 8130 | 6979 | |
| 8131 | 6980 | =begin original |
| 8132 | 6981 | |
| 6982 | (F) If the contents of a (?{...}) clause contains braces, they must balance | |
| 6983 | for Perl to properly detect the end of the clause. See L<perlre>. | |
| 6984 | ||
| 6985 | =end original | |
| 6986 | ||
| 6987 | (F) (?{...}) 節の中に大括弧がある場合、対応していなければなりません。 | |
| 6988 | Perl が正しく節の最後を検出するためです。 | |
| 6989 | L<perlre> を参照してください。 | |
| 6990 | ||
| 6991 | =item Sequence (?%s...) not implemented before << HERE mark in %s | |
| 6992 | ||
| 6993 | =begin original | |
| 6994 | ||
| 8133 | 6995 | (F) A proposed regular expression extension has the character reserved but |
| 8134 | has not yet been written. The < | |
| 6996 | has not yet been written. The << HERE shows in the regular expression about | |
| 8135 | 6997 | where the problem was discovered. See L<perlre>. |
| 8136 | 6998 | |
| 8137 | 6999 | =end original |
| 8138 | 7000 | |
| 8139 | 7001 | (F) 使おうとした正規表現の拡張は、予約された文字ですが、 |
| 8140 | 7002 | まだ実装されていません。 |
| 8141 | < | |
| 7003 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 8142 | 7004 | L<perlre> を参照してください。 |
| 8143 | 7005 | |
| 8144 | =item Sequence (?%s...) not recognized | |
| 7006 | =item Sequence (?%s...) not recognized before << HERE mark in %s | |
| 8145 | 7007 | |
| 8146 | 7008 | =begin original |
| 8147 | 7009 | |
| 8148 | (F) You used a regular expression extension that doesn't make sense. | |
| 7010 | (F) You used a regular expression extension that doesn't make sense. | |
| 8149 | < | |
| 7011 | The << HERE shows in the regular expression about | |
| 8150 | ||
| 7012 | where the problem was discovered. | |
| 7013 | See L<perlre>. | |
| 8151 | 7014 | |
| 8152 | 7015 | =end original |
| 8153 | 7016 | |
| 8154 | 7017 | (F) お使いになった正規表現の拡張は、意味をなしません。 |
| 8155 | < | |
| 7018 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 8156 | 7019 | L<perlre> を参照してください。 |
| 8157 | 7020 | |
| 8158 | =item Sequence (?#... not terminated in regex | |
| 7021 | =item Sequence (?#... not terminated in regex m/%s/ | |
| 8159 | 7022 | |
| 8160 | 7023 | =begin original |
| 8161 | 7024 | |
| 8162 | 7025 | (F) A regular expression comment must be terminated by a closing |
| 8163 | parenthesis. Embedded parentheses aren't allowed. | |
| 7026 | parenthesis. Embedded parentheses aren't allowed. See L<perlre>. | |
| 8164 | the regular expression about where the problem was discovered. See | |
| 8165 | L<perlre>. | |
| 8166 | 7027 | |
| 8167 | 7028 | =end original |
| 8168 | 7029 | |
| 8169 | 7030 | (F) 正規表現コメントは、閉じ括弧で終わらなければなりません。 |
| 8170 | 7031 | 括弧を含めることは許されません。 |
| 8171 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 8172 | 7032 | L<perlre> を参照してください。 |
| 8173 | 7033 | |
| 8174 | =item Sequence (?{...}) not terminated or not {}-balanced in regex; marked by <-- HERE in m/%s/ | |
| 8175 | ||
| 8176 | =begin original | |
| 8177 | ||
| 8178 | (F) If the contents of a (?{...}) clause contains braces, they must balance | |
| 8179 | for Perl to properly detect the end of the clause. The <-- HERE shows in | |
| 8180 | the regular expression about where the problem was discovered. See | |
| 8181 | L<perlre>. | |
| 8182 | ||
| 8183 | =end original | |
| 8184 | ||
| 8185 | (F) (?{...}) 節の中に大括弧がある場合、対応していなければなりません。 | |
| 8186 | Perl が正しく節の最後を検出するためです。 | |
| 8187 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 8188 | L<perlre> を参照してください。 | |
| 8189 | ||
| 8190 | 7034 | =item 500 Server error |
| 8191 | 7035 | |
| 8192 | 7036 | =begin original |
| 8193 | 7037 | |
| 8194 | 7038 | See Server error. |
| 8195 | 7039 | |
| 8196 | 7040 | =end original |
| 8197 | 7041 | |
| 8198 | 7042 | "Server error" を参照してください。 |
| 8199 | 7043 | |
| 8200 | 7044 | =item Server error |
| 8201 | 7045 | |
| 8202 | 7046 | =begin original |
| 8203 | 7047 | |
| 8204 | 7048 | This is the error message generally seen in a browser window when trying |
| 8205 | 7049 | to run a CGI program (including SSI) over the web. The actual error text |
| 8206 | 7050 | varies widely from server to server. The most frequently-seen variants |
| 8207 | 7051 | are "500 Server error", "Method (something) not permitted", "Document |
| 8208 | 7052 | contains no data", "Premature end of script headers", and "Did not |
| 8209 | 7053 | produce a valid header". |
| 8210 | 7054 | |
| 8211 | 7055 | =end original |
| 8212 | 7056 | |
| 8213 | 7057 | これは、一般的には CGI (SSI を含みます)プログラムを WWW 越しに |
| 8214 | 7058 | 実行しようとしたときにブラウザのウィンドウに表示されるメッセージです。 |
| 8215 | 7059 | 実際のエラーテキストはサーバーによって大きく異なります。 |
| 8216 | 7060 | もっともよく見られるものとしては、"500 Server error", |
| 8217 | 7061 | "Method (something) not permitted", "Document contains no data", |
| 8218 | 7062 | "Premature end of script headers", "Did not produce a valid header" が |
| 8219 | 7063 | あります。 |
| 8220 | 7064 | |
| 8221 | 7065 | =begin original |
| 8222 | 7066 | |
| 8223 | 7067 | B<This is a CGI error, not a Perl error>. |
| 8224 | 7068 | |
| 8225 | 7069 | =end original |
| 8226 | 7070 | |
| 8227 | 7071 | B<これは CGI のエラーであり、Perl のエラーではありません>. |
| 8228 | 7072 | |
| 8229 | 7073 | =begin original |
| 8230 | 7074 | |
| 8231 | 7075 | You need to make sure your script is executable, is accessible by the |
| 8232 | 7076 | user CGI is running the script under (which is probably not the user |
| 8233 | 7077 | account you tested it under), does not rely on any environment variables |
| 8234 | 7078 | (like PATH) from the user it isn't running under, and isn't in a |
| 8235 | 7079 | location where the CGI server can't find it, basically, more or less. |
| 8236 | 7080 | Please see the following for more information: |
| 8237 | 7081 | |
| 8238 | 7082 | =end original |
| 8239 | 7083 | |
| 8240 | 7084 | まずはあなたのスクリプトが実行可能か、CGI を実行するユーザー(これはおそらく |
| 8241 | 7085 | あなたがテストしたユーザーではありません)で読み込み可能か、実行しているのとは |
| 8242 | 7086 | 異なるユーザーの環境変数(PATH など)に依存していないか、CGI サーバーが |
| 8243 | 7087 | 見つけられない場所に置いていないか、といったことを確認する必要があるでしょう。 |
| 8244 | 7088 | さらなる情報については以下を参照してください。 |
| 8245 | 7089 | |
| 8246 | http://www.perl.o | |
| 7090 | http://www.perl.com/CPAN/doc/FAQs/cgi/idiots-guide.html | |
| 8247 | http://www. | |
| 7091 | http://www.perl.com/CPAN/doc/FAQs/cgi/perl-cgi-faq.html | |
| 8248 | | |
| 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 | |
| 8249 | 7095 | |
| 8250 | 7096 | =begin original |
| 8251 | 7097 | |
| 8252 | 7098 | You should also look at L<perlfaq9>. |
| 8253 | 7099 | |
| 8254 | 7100 | =end original |
| 8255 | 7101 | |
| 8256 | 7102 | L<perlfaq9> も見るべきでしょう。 |
| 8257 | 7103 | |
| 8258 | 7104 | =item setegid() not implemented |
| 8259 | 7105 | |
| 8260 | 7106 | =begin original |
| 8261 | 7107 | |
| 8262 | 7108 | (F) You tried to assign to C<$)>, and your operating system doesn't |
| 8263 | 7109 | support the setegid() system call (or equivalent), or at least Configure |
| 8264 | 7110 | didn't think so. |
| 8265 | 7111 | |
| 8266 | 7112 | =end original |
| 8267 | 7113 | |
| 8268 | 7114 | (F) C<$)> へ代入を行なおうとしましたが、この OS では、setegid() |
| 8269 | 7115 | システムコール (または、同等のもの) がサポートされていません。 |
| 8270 | 7116 | 少なくとも Configure では、そう判断されました。 |
| 8271 | 7117 | |
| 8272 | 7118 | =item seteuid() not implemented |
| 8273 | 7119 | |
| 8274 | 7120 | =begin original |
| 8275 | 7121 | |
| 8276 | 7122 | (F) You tried to assign to C<< $> >>, and your operating system doesn't |
| 8277 | 7123 | support the seteuid() system call (or equivalent), or at least Configure |
| 8278 | 7124 | didn't think so. |
| 8279 | 7125 | |
| 8280 | 7126 | =end original |
| 8281 | 7127 | |
| 8282 | 7128 | (F) C<< $> >> へ代入を行なおうとしましたが、この OS では、seteuid() |
| 8283 | 7129 | システムコール (または、同等のもの) がサポートされていません。 |
| 8284 | 7130 | 少なくとも Configure では、そう判断されました。 |
| 8285 | 7131 | |
| 8286 | 7132 | =item setpgrp can't take arguments |
| 8287 | 7133 | |
| 8288 | 7134 | =begin original |
| 8289 | 7135 | |
| 8290 | 7136 | (F) Your system has the setpgrp() from BSD 4.2, which takes no |
| 8291 | 7137 | arguments, unlike POSIX setpgid(), which takes a process ID and process |
| 8292 | 7138 | group ID. |
| 8293 | 7139 | |
| 8294 | 7140 | =end original |
| 8295 | 7141 | |
| 8296 | 7142 | (F) このシステムの setpgrp() は BSD 4.2 由来のもので、引数がありません。 |
| 8297 | 7143 | POSIX setpgid() はプロセス ID とプロセスグループ ID を引数にとります。 |
| 8298 | 7144 | |
| 8299 | 7145 | =item setrgid() not implemented |
| 8300 | 7146 | |
| 8301 | 7147 | =begin original |
| 8302 | 7148 | |
| 8303 | 7149 | (F) You tried to assign to C<$(>, and your operating system doesn't |
| 8304 | 7150 | support the setrgid() system call (or equivalent), or at least Configure |
| 8305 | 7151 | didn't think so. |
| 8306 | 7152 | |
| 8307 | 7153 | =end original |
| 8308 | 7154 | |
| 8309 | 7155 | (F) C<$(> へ代入を行なおうとしましたが、この OS では、setrgid() |
| 8310 | 7156 | システムコール (または、同等のもの) がサポートされていません。 |
| 8311 | 7157 | 少なくとも Configure では、そう判断されました。 |
| 8312 | 7158 | |
| 8313 | 7159 | =item setruid() not implemented |
| 8314 | 7160 | |
| 8315 | 7161 | =begin original |
| 8316 | 7162 | |
| 8317 | 7163 | (F) You tried to assign to C<$<>, and your operating system doesn't |
| 8318 | 7164 | support the setruid() system call (or equivalent), or at least Configure |
| 8319 | 7165 | didn't think so. |
| 8320 | 7166 | |
| 8321 | 7167 | =end original |
| 8322 | 7168 | |
| 8323 | 7169 | (F) C<$<> へ代入を行なおうとしましたが、この OS では、setruid() |
| 8324 | 7170 | システムコール (または、同等のもの) がサポートされていません。 |
| 8325 | 7171 | 少なくとも Configure では、そう判断されました。 |
| 8326 | 7172 | |
| 8327 | 7173 | =item setsockopt() on closed socket %s |
| 8328 | 7174 | |
| 8329 | 7175 | =begin original |
| 8330 | 7176 | |
| 8331 | 7177 | (W closed) You tried to set a socket option on a closed socket. Did you |
| 8332 | 7178 | forget to check the return value of your socket() call? See |
| 8333 | 7179 | L<perlfunc/setsockopt>. |
| 8334 | 7180 | |
| 8335 | 7181 | =end original |
| 8336 | 7182 | |
| 8337 | 7183 | (W closed) 閉じているソケットにソケットオプションを設定しようとしました。 |
| 8338 | 7184 | socket() 呼び出しの返り値のチェックを忘れていませんか? |
| 8339 | 7185 | L<perlfunc/setsockopt> を参照してください。 |
| 8340 | 7186 | |
| 8341 | 7187 | =item Setuid/gid script is writable by world |
| 8342 | 7188 | |
| 8343 | 7189 | =begin original |
| 8344 | 7190 | |
| 8345 | 7191 | (F) The setuid emulator won't run a script that is writable by the |
| 8346 | 7192 | world, because the world might have written on it already. |
| 8347 | 7193 | |
| 8348 | 7194 | =end original |
| 8349 | 7195 | |
| 8350 | 7196 | (F) setuid エミュレータは、誰もが書き込みができるようになっている |
| 8351 | 7197 | スクリプトは実行しません。 |
| 8352 | 7198 | 誰かが既に書き換えたかも知れないからです。 |
| 8353 | 7199 | |
| 8354 | =item Setuid script not plain file | |
| 8355 | ||
| 8356 | =begin original | |
| 8357 | ||
| 8358 | (F) The setuid emulator won't run a script that isn't read from a file, | |
| 8359 | but from a socket, a pipe or another device. | |
| 8360 | ||
| 8361 | =end original | |
| 8362 | ||
| 8363 | (F) setuid エミュレータは、ファイルからではなく、ソケットやパイプや | |
| 8364 | その他のデバイスから読み込んだスクリプトは実行できません。 | |
| 8365 | ||
| 8366 | 7200 | =item shm%s not implemented |
| 8367 | 7201 | |
| 8368 | 7202 | =begin original |
| 8369 | 7203 | |
| 8370 | 7204 | (F) You don't have System V shared memory IPC on your system. |
| 8371 | 7205 | |
| 8372 | 7206 | =end original |
| 8373 | 7207 | |
| 8374 | 7208 | (F) このシステムでは、System V 共有メモリ IPC は使えません。 |
| 8375 | 7209 | |
| 8376 | 7210 | =item <> should be quotes |
| 8377 | 7211 | |
| 8378 | 7212 | =begin original |
| 8379 | 7213 | |
| 8380 | 7214 | (F) You wrote C<< require <file> >> when you should have written |
| 8381 | 7215 | C<require 'file'>. |
| 8382 | 7216 | |
| 8383 | 7217 | =end original |
| 8384 | 7218 | |
| 8385 | 7219 | (F) C<require 'file'> と書くべきところで C<< require <file> >> と |
| 8386 | 7220 | 書いています。 |
| 8387 | 7221 | |
| 8388 | 7222 | =item /%s/ should probably be written as "%s" |
| 8389 | 7223 | |
| 8390 | 7224 | =begin original |
| 8391 | 7225 | |
| 8392 | 7226 | (W syntax) You have used a pattern where Perl expected to find a string, |
| 8393 | 7227 | as in the first argument to C<join>. Perl will treat the true or false |
| 8394 | 7228 | result of matching the pattern against $_ as the string, which is |
| 8395 | 7229 | probably not what you had in mind. |
| 8396 | 7230 | |
| 8397 | 7231 | =end original |
| 8398 | 7232 | |
| 8399 | 7233 | (W syntax) C<join> の最初の引数として、Perl が文字列を想定しているところに |
| 8400 | 7234 | パターンを使いました。 |
| 8401 | 7235 | Perl は $_ をパターンマッチングした結果の真か偽の値を文字列として |
| 8402 | 7236 | 扱いますが、これはおそらく望んでいることではないでしょう。 |
| 8403 | 7237 | |
| 8404 | 7238 | =item shutdown() on closed socket %s |
| 8405 | 7239 | |
| 8406 | 7240 | =begin original |
| 8407 | 7241 | |
| 8408 | 7242 | (W closed) You tried to do a shutdown on a closed socket. Seems a bit |
| 8409 | 7243 | superfluous. |
| 8410 | 7244 | |
| 8411 | 7245 | =end original |
| 8412 | 7246 | |
| 8413 | 7247 | (W closed) クローズされたソケットに shutdown を行なおうとしました。 |
| 8414 | 7248 | 多少、無駄のように思われます。 |
| 8415 | 7249 | |
| 8416 | 7250 | =item SIG%s handler "%s" not defined |
| 8417 | 7251 | |
| 8418 | 7252 | =begin original |
| 8419 | 7253 | |
| 8420 | 7254 | (W signal) The signal handler named in %SIG doesn't, in fact, exist. |
| 8421 | 7255 | Perhaps you put it into the wrong package? |
| 8422 | 7256 | |
| 8423 | 7257 | =end original |
| 8424 | 7258 | |
| 8425 | 7259 | (W signal) %SIG 内で指定したシグナルハンドラが、存在しません。 |
| 8426 | 7260 | 間違ったパッケージで、設定を行なっているのかもしれません。 |
| 8427 | 7261 | |
| 8428 | 7262 | =item sort is now a reserved word |
| 8429 | 7263 | |
| 8430 | 7264 | =begin original |
| 8431 | 7265 | |
| 8432 | 7266 | (F) An ancient error message that almost nobody ever runs into anymore. |
| 8433 | 7267 | But before sort was a keyword, people sometimes used it as a filehandle. |
| 8434 | 7268 | |
| 8435 | 7269 | =end original |
| 8436 | 7270 | |
| 8437 | 7271 | (F) もはや、誰もお目にかかることのない、旧世代のエラーメッセージです。 |
| 8438 | 7272 | ただ、sort がキーワードとなる前には、これをファイルハンドルとして |
| 8439 | 7273 | 使う方がいました。 |
| 8440 | 7274 | |
| 8441 | 7275 | =item Sort subroutine didn't return a numeric value |
| 8442 | 7276 | |
| 8443 | 7277 | =begin original |
| 8444 | 7278 | |
| 8445 | 7279 | (F) A sort comparison routine must return a number. You probably blew |
| 8446 | 7280 | it by not using C<< <=> >> or C<cmp>, or by not using them correctly. |
| 8447 | 7281 | See L<perlfunc/sort>. |
| 8448 | 7282 | |
| 8449 | 7283 | =end original |
| 8450 | 7284 | |
| 8451 | 7285 | (F) sort の比較ルーティンは、必ず数値を返さなければなりません。 |
| 8452 | 7286 | C<< <=> >> や C<cmp> を使わなかったか、正しく使わなかったものと思います。 |
| 8453 | 7287 | L<perlfunc/sort> を参照してください。 |
| 8454 | 7288 | |
| 8455 | 7289 | =item Sort subroutine didn't return single value |
| 8456 | 7290 | |
| 8457 | 7291 | =begin original |
| 8458 | 7292 | |
| 8459 | 7293 | (F) A sort comparison subroutine may not return a list value with more |
| 8460 | 7294 | or less than one element. See L<perlfunc/sort>. |
| 8461 | 7295 | |
| 8462 | 7296 | =end original |
| 8463 | 7297 | |
| 8464 | 7298 | (F) sort の比較サブルーティンは、要素が 1 個以外のリスト値を |
| 8465 | 7299 | 返すことはできません。 |
| 8466 | 7300 | L<perlfunc/sort>を参照してください。 |
| 8467 | 7301 | |
| 8468 | =item splice() offset past end of array | |
| 8469 | ||
| 8470 | =begin original | |
| 8471 | ||
| 8472 | (W misc) You attempted to specify an offset that was past the end of | |
| 8473 | the array passed to splice(). Splicing will instead commence at the end | |
| 8474 | of the array, rather than past it. If this isn't what you want, try | |
| 8475 | explicitly pre-extending the array by assigning $#array = $offset. See | |
| 8476 | L<perlfunc/splice>. | |
| 8477 | ||
| 8478 | =end original | |
| 8479 | ||
| 8480 | (W misc) splice() で渡された配列の末尾より後ろのオフセットを指定しました。 | |
| 8481 | splice は配列の末尾ではなく、配列の最後の位置に対して実行されます。 | |
| 8482 | これが望んでいることではないなら、$#array = $offset と代入することで | |
| 8483 | 明示的に事前に配列を拡張してください。 | |
| 8484 | L<perlfunc/splice> を参照してください。 | |
| 8485 | ||
| 8486 | 7302 | =item Split loop |
| 8487 | 7303 | |
| 8488 | 7304 | =begin original |
| 8489 | 7305 | |
| 8490 | 7306 | (P) The split was looping infinitely. (Obviously, a split shouldn't |
| 8491 | 7307 | iterate more times than there are characters of input, which is what |
| 8492 | 7308 | happened.) See L<perlfunc/split>. |
| 8493 | 7309 | |
| 8494 | 7310 | =end original |
| 8495 | 7311 | |
| 8496 | 7312 | (P) split が無限ループに陥りました。 |
| 8497 | 7313 | (明らかに、split は、入力文字数以上にはできないはずですが、 |
| 8498 | 7314 | そうなってしまいました。) |
| 8499 | 7315 | L<perlfunc/split> を参照してください。 |
| 8500 | 7316 | |
| 8501 | 7317 | =item Statement unlikely to be reached |
| 8502 | 7318 | |
| 8503 | 7319 | =begin original |
| 8504 | 7320 | |
| 8505 | 7321 | (W exec) You did an exec() with some statement after it other than a |
| 8506 | 7322 | die(). This is almost always an error, because exec() never returns |
| 8507 | 7323 | unless there was a failure. You probably wanted to use system() |
| 8508 | 7324 | instead, which does return. To suppress this warning, put the exec() in |
| 8509 | 7325 | a block by itself. |
| 8510 | 7326 | |
| 8511 | 7327 | =end original |
| 8512 | 7328 | |
| 8513 | 7329 | (W exec) exec() の後に、die() 以外の実行文があります。 |
| 8514 | 7330 | 失敗したとき以外は、exec() から戻ってくることはありませんから、 |
| 8515 | 7331 | ほとんどの場合には誤りでしょう。 |
| 8516 | 7332 | 戻ってくるsystem() に置き換える必要があるかもしれません。 |
| 8517 | 7333 | この警告を止めるには、ブロック内に exec() だけを記述してください。 |
| 8518 | 7334 | |
| 8519 | 7335 | =item stat() on unopened filehandle %s |
| 8520 | 7336 | |
| 8521 | 7337 | =begin original |
| 8522 | 7338 | |
| 8523 | 7339 | (W unopened) You tried to use the stat() function on a filehandle that |
| 8524 | 7340 | was either never opened or has since been closed. |
| 8525 | 7341 | |
| 8526 | 7342 | =end original |
| 8527 | 7343 | |
| 8528 | 7344 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
| 8529 | 7345 | ファイルハンドルに対して、stat() 関数を使おうとしました。 |
| 8530 | 7346 | |
| 8531 | =item Stub found while resolving method | |
| 7347 | =item Stub found while resolving method `%s' overloading %s | |
| 8532 | 7348 | |
| 8533 | 7349 | =begin original |
| 8534 | 7350 | |
| 8535 | 7351 | (P) Overloading resolution over @ISA tree may be broken by importation |
| 8536 | 7352 | stubs. Stubs should never be implicitly created, but explicit calls to |
| 8537 | 7353 | C<can> may break this. |
| 8538 | 7354 | |
| 8539 | 7355 | =end original |
| 8540 | 7356 | |
| 8541 | 7357 | (P) @ISA ツリーでのオーバーロードの解決がインポートのスタブで壊されました。 |
| 8542 | 7358 | スタブは暗黙に作られることはありませんが、明示的に C<can> を呼び出すと |
| 8543 | 7359 | これを破壊することがあります。 |
| 8544 | 7360 | |
| 8545 | 7361 | =item Subroutine %s redefined |
| 8546 | 7362 | |
| 8547 | 7363 | =begin original |
| 8548 | 7364 | |
| 8549 | 7365 | (W redefine) You redefined a subroutine. To suppress this warning, say |
| 8550 | 7366 | |
| 8551 | 7367 | =end original |
| 8552 | 7368 | |
| 8553 | 7369 | (W redefine) サブルーティンを再定義しました。 |
| 8554 | 7370 | この警告を止めるには、以下のようにしてください: |
| 8555 | 7371 | |
| 8556 | 7372 | { |
| 8557 | no warnings | |
| 7373 | no warnings; | |
| 8558 | 7374 | eval "sub name { ... }"; |
| 8559 | 7375 | } |
| 8560 | 7376 | |
| 8561 | 7377 | =item Substitution loop |
| 8562 | 7378 | |
| 8563 | 7379 | =begin original |
| 8564 | 7380 | |
| 8565 | 7381 | (P) The substitution was looping infinitely. (Obviously, a substitution |
| 8566 | 7382 | shouldn't iterate more times than there are characters of input, which |
| 8567 | 7383 | is what happened.) See the discussion of substitution in |
| 8568 | 7384 | L<perlop/"Quote and Quote-like Operators">. |
| 8569 | 7385 | |
| 8570 | 7386 | =end original |
| 8571 | 7387 | |
| 8572 | 7388 | (P) 置換が無限ループに陥りました。 |
| 8573 | 7389 | (明らかに、置換は入力文字数以上には起こらないはずですが、 |
| 8574 | 7390 | それが起こってしまいました。) |
| 8575 | 7391 | L<perlop/"Quote and Quote-like Operators"> を参照してください。 |
| 8576 | 7392 | |
| 8577 | 7393 | =item Substitution pattern not terminated |
| 8578 | 7394 | |
| 8579 | 7395 | =begin original |
| 8580 | 7396 | |
| 8581 | (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{}{} | |
| 8582 | 7398 | construct. Remember that bracketing delimiters count nesting level. |
| 8583 | 7399 | Missing the leading C<$> from variable C<$s> may cause this error. |
| 8584 | 7400 | |
| 8585 | 7401 | =end original |
| 8586 | 7402 | |
| 8587 | 7403 | (F) s/// もしくは s{}{} 構文の真ん中の区切り文字が見つかりませんでした。 |
| 8588 | 7404 | 括弧類の区切り文字では、ネストを数えることを忘れないでください。 |
| 8589 | 7405 | C<$s> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 |
| 8590 | 7406 | |
| 8591 | 7407 | =item Substitution replacement not terminated |
| 8592 | 7408 | |
| 8593 | 7409 | =begin original |
| 8594 | 7410 | |
| 8595 | (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{}{} | |
| 8596 | 7412 | construct. Remember that bracketing delimiters count nesting level. |
| 8597 | 7413 | Missing the leading C<$> from variable C<$s> may cause this error. |
| 8598 | 7414 | |
| 8599 | 7415 | =end original |
| 8600 | 7416 | |
| 8601 | 7417 | (F) s/// もしくは s{}{} 構文の最後の区切り文字が見つかりませんでした。 |
| 8602 | 7418 | 括弧類の区切り文字では、ネストを数えることを忘れないでください。 |
| 8603 | 7419 | C<$s> 変数の前に C<$> をつけるのを忘れるとこのエラーが出ることがあります。 |
| 8604 | 7420 | |
| 8605 | 7421 | =item substr outside of string |
| 8606 | 7422 | |
| 8607 | 7423 | =begin original |
| 8608 | 7424 | |
| 8609 | 7425 | (W substr),(F) You tried to reference a substr() that pointed outside of |
| 8610 | 7426 | a string. That is, the absolute value of the offset was larger than the |
| 8611 | 7427 | length of the string. See L<perlfunc/substr>. This warning is fatal if |
| 8612 | 7428 | substr is used in an lvalue context (as the left hand side of an |
| 8613 | 7429 | assignment or as a subroutine argument for example). |
| 8614 | 7430 | |
| 8615 | 7431 | =end original |
| 8616 | 7432 | |
| 8617 | 7433 | (W substr),(F) 文字列の外を指す substr() を参照しようとしました。 |
| 8618 | 7434 | つまり、オフセットの絶対値が、文字列の長さより大きくなっています。 |
| 8619 | 7435 | L<perlfunc/substr> を参照してください。 |
| 8620 | 7436 | この警告は、substr が(代入の左側やサブルーチンの引数といった) |
| 8621 | 7437 | 左辺値として使われた場合は致命的となります。 |
| 8622 | 7438 | |
| 8623 | 7439 | =item suidperl is no longer needed since %s |
| 8624 | 7440 | |
| 8625 | 7441 | =begin original |
| 8626 | 7442 | |
| 8627 | 7443 | (F) Your Perl was compiled with B<-D>SETUID_SCRIPTS_ARE_SECURE_NOW, but |
| 8628 | 7444 | a version of the setuid emulator somehow got run anyway. |
| 8629 | 7445 | |
| 8630 | 7446 | =end original |
| 8631 | 7447 | |
| 8632 | 7448 | (F) お使いの Perl は、-DSETUID_SCRIPTS_ARE_SECURE_NOW を |
| 8633 | 7449 | 指定してコンパイルされていますが、setuid エミュレータが、 |
| 8634 | 7450 | 実行されてしまいました。 |
| 8635 | 7451 | |
| 8636 | =item Switch (?(condition)... contains too many branches | |
| 7452 | =item Switch (?(condition)... contains too many branches before << HE%s | |
| 8637 | 7453 | |
| 8638 | 7454 | =begin original |
| 8639 | 7455 | |
| 8640 | 7456 | (F) A (?(condition)if-clause|else-clause) construct can have at most two |
| 8641 | 7457 | branches (the if-clause and the else-clause). If you want one or both to |
| 8642 | 7458 | contain alternation, such as using C<this|that|other>, enclose it in |
| 8643 | 7459 | clustering parentheses: |
| 8644 | 7460 | |
| 8645 | 7461 | =end original |
| 8646 | 7462 | |
| 8647 | 7463 | (F) (?(condition)if-clause|else-clause) 構造は最大で 2 つの分岐 |
| 8648 | 7464 | (if-clause と else-clause) を持つことができます。 |
| 8649 | 7465 | 片方、または両方に選択肢を含めたいときは、それをかっこで囲んでください: |
| 8650 | 7466 | |
| 8651 | 7467 | (?(condition)(?:this|that|other)|else-clause) |
| 8652 | 7468 | |
| 8653 | 7469 | =begin original |
| 8654 | 7470 | |
| 8655 | The < | |
| 7471 | The << HERE shows in the regular expression about where the problem was | |
| 8656 | 7472 | discovered. See L<perlre>. |
| 8657 | 7473 | |
| 8658 | 7474 | =end original |
| 8659 | 7475 | |
| 8660 | < | |
| 7476 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 8661 | 7477 | L<perlre> を参照してください。 |
| 8662 | 7478 | |
| 8663 | =item Switch condition not recognized | |
| 7479 | =item Switch condition not recognized before << HERE in regex m/%s/ | |
| 8664 | 7480 | |
| 8665 | 7481 | =begin original |
| 8666 | 7482 | |
| 8667 | 7483 | (F) If the argument to the (?(...)if-clause|else-clause) construct is a |
| 8668 | number, it can be only a number. The < | |
| 7484 | number, it can be only a number. The << HERE shows in the regular expression | |
| 8669 | 7485 | about where the problem was discovered. See L<perlre>. |
| 8670 | 7486 | |
| 8671 | 7487 | =end original |
| 8672 | 7488 | |
| 8673 | 7489 | (?(...)if-clause|else-clause) 構造の引数が数値なら、数値だけが可能です。 |
| 8674 | < | |
| 7490 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 8675 | 7491 | L<perlre> を参照してください。 |
| 8676 | 7492 | |
| 8677 | 7493 | =item switching effective %s is not implemented |
| 8678 | 7494 | |
| 8679 | 7495 | =begin original |
| 8680 | 7496 | |
| 8681 | 7497 | (F) While under the C<use filetest> pragma, we cannot switch the real |
| 8682 | 7498 | and effective uids or gids. |
| 8683 | 7499 | |
| 8684 | 7500 | =end original |
| 8685 | 7501 | |
| 8686 | 7502 | (F) C<use filetest> プラグマを使っている間に、 |
| 8687 | 7503 | 実と実効の UID や GID の切り替えに失敗しました。 |
| 8688 | 7504 | |
| 8689 | =item %s syntax | |
| 8690 | ||
| 8691 | =begin original | |
| 8692 | ||
| 8693 | (F) The final summary message when a C<perl -c> succeeds. | |
| 8694 | ||
| 8695 | =end original | |
| 8696 | ||
| 8697 | (F) C<perl -c> が成功したときの最終まとめメッセージです。 | |
| 8698 | ||
| 8699 | 7505 | =item syntax error |
| 8700 | 7506 | |
| 8701 | 7507 | =begin original |
| 8702 | 7508 | |
| 8703 | 7509 | (F) Probably means you had a syntax error. Common reasons include: |
| 8704 | 7510 | |
| 8705 | 7511 | =end original |
| 8706 | 7512 | |
| 8707 | 7513 | (F) おそらく、構文エラーが起こっています。 |
| 8708 | 7514 | よくある原因としては以下のことが考えられます: |
| 8709 | 7515 | |
| 8710 | 7516 | =begin original |
| 8711 | 7517 | |
| 8712 | 7518 | A keyword is misspelled. |
| 8713 | 7519 | A semicolon is missing. |
| 8714 | 7520 | A comma is missing. |
| 8715 | 7521 | An opening or closing parenthesis is missing. |
| 8716 | 7522 | An opening or closing brace is missing. |
| 8717 | 7523 | A closing quote is missing. |
| 8718 | 7524 | |
| 8719 | 7525 | =end original |
| 8720 | 7526 | |
| 8721 | 7527 | キーワードのスペルミス。 |
| 8722 | 7528 | セミコロンを忘れた。 |
| 8723 | 7529 | コンマを忘れた。 |
| 8724 | 7530 | 開き括弧、閉じ括弧を忘れた。 |
| 8725 | 7531 | 開き中括弧、閉じ中括弧を忘れた。 |
| 8726 | 7532 | クォートの閉じ忘れ。 |
| 8727 | 7533 | |
| 8728 | 7534 | =begin original |
| 8729 | 7535 | |
| 8730 | 7536 | Often there will be another error message associated with the syntax |
| 8731 | 7537 | error giving more information. (Sometimes it helps to turn on B<-w>.) |
| 8732 | 7538 | The error message itself often tells you where it was in the line when |
| 8733 | 7539 | it decided to give up. Sometimes the actual error is several tokens |
| 8734 | 7540 | before this, because Perl is good at understanding random input. |
| 8735 | 7541 | Occasionally the line number may be misleading, and once in a blue moon |
| 8736 | 7542 | the only way to figure out what's triggering the error is to call |
| 8737 | 7543 | C<perl -c> repeatedly, chopping away half the program each time to see |
| 8738 | 7544 | if the error went away. Sort of the cybernetic version of S<20 |
| 8739 | 7545 | questions>. |
| 8740 | 7546 | |
| 8741 | 7547 | =end original |
| 8742 | 7548 | |
| 8743 | 7549 | 多くの場合、構文エラーと一緒に、別のエラーメッセージが出て、 |
| 8744 | 7550 | 情報を与えてくれます。(-w を付けることが、助けになることもあります。) |
| 8745 | 7551 | エラーメッセージ自身には、何行目まで行って、諦めたのかということも |
| 8746 | 7552 | 含まれています。 |
| 8747 | 7553 | Perl はでたらめな入力を理解するのが得意なので、実際のエラーはもう少し前に |
| 8748 | 7554 | 在ることもあります。 |
| 8749 | 7555 | ときには、行番号が全く役に立たないこともあり、はまってしまったなら、 |
| 8750 | 7556 | エラーのきっかけが何かを見つける唯一の手段は、プログラムを寸断して、 |
| 8751 | 7557 | エラーがなくなるまで、perl -c を繰り返すしかありません。 |
| 8752 | 7558 | S<頭の体操 20 問>だと思ってください。 |
| 8753 | 7559 | |
| 8754 | 7560 | =item syntax error at line %d: `%s' unexpected |
| 8755 | 7561 | |
| 8756 | 7562 | =begin original |
| 8757 | 7563 | |
| 8758 | 7564 | (A) You've accidentally run your script through the Bourne shell instead |
| 8759 | 7565 | of Perl. Check the #! line, or manually feed your script into Perl |
| 8760 | 7566 | yourself. |
| 8761 | 7567 | |
| 8762 | 7568 | =end original |
| 8763 | 7569 | |
| 8764 | 7570 | (A) スクリプトを perl ではなく Bourne shell で実行しようとしました。 |
| 8765 | 7571 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
| 8766 | 7572 | |
| 8767 | =item syntax | |
| 7573 | =item %s syntax OK | |
| 8768 | 7574 | |
| 8769 | 7575 | =begin original |
| 8770 | 7576 | |
| 8771 | (F) Th | |
| 7577 | (F) The final summary message when a C<perl -c> succeeds. | |
| 8772 | a perl4 interpreter, especially if the next 2 tokens are "use strict" | |
| 8773 | or "my $var" or "our $var". | |
| 8774 | 7578 | |
| 8775 | 7579 | =end original |
| 8776 | 7580 | |
| 8777 | (F) | |
| 7581 | (F) C<perl -c> が成功したときの最終まとめメッセージです。 | |
| 8778 | おきそうなものです; 特に次の 2 つのトークンが "use strict" か | |
| 8779 | "my $var" か "our $var" の場合はそうです。 | |
| 8780 | 7582 | |
| 8781 | =item sysread() on closed filehandle %s | |
| 8782 | ||
| 8783 | =begin original | |
| 8784 | ||
| 8785 | (W closed) You tried to read from a closed filehandle. | |
| 8786 | ||
| 8787 | =end original | |
| 8788 | ||
| 8789 | (W closed) 閉じたファイルハンドルから読み込もうとしました。 | |
| 8790 | ||
| 8791 | =item sysread() on unopened filehandle %s | |
| 8792 | ||
| 8793 | =begin original | |
| 8794 | ||
| 8795 | (W unopened) You tried to read from a filehandle that was never opened. | |
| 8796 | ||
| 8797 | =end original | |
| 8798 | ||
| 8799 | (W unopened) 開いていないファイルハンドルから読み込もうとしました。 | |
| 8800 | ||
| 8801 | 7583 | =item System V %s is not implemented on this machine |
| 8802 | 7584 | |
| 8803 | 7585 | =begin original |
| 8804 | 7586 | |
| 8805 | 7587 | (F) You tried to do something with a function beginning with "sem", |
| 8806 | 7588 | "shm", or "msg" but that System V IPC is not implemented in your |
| 8807 | 7589 | machine. In some machines the functionality can exist but be |
| 8808 | 7590 | unconfigured. Consult your system support. |
| 8809 | 7591 | |
| 8810 | 7592 | =end original |
| 8811 | 7593 | |
| 8812 | 7594 | (F) 何か、名前が "sem"、"shm"、"msg" で始まる関数を実行しようとしましたが、 |
| 8813 | 7595 | あなたのマシンには System V IPC が実装されていません。 |
| 8814 | 7596 | 機能はあっても設定されていない場合もあります。 |
| 8815 | 7597 | システムサポートに相談してください。 |
| 8816 | 7598 | |
| 8817 | 7599 | =item syswrite() on closed filehandle %s |
| 8818 | 7600 | |
| 8819 | 7601 | =begin original |
| 8820 | 7602 | |
| 8821 | 7603 | (W closed) The filehandle you're writing to got itself closed sometime |
| 8822 | before now. Check your | |
| 7604 | before now. Check your logic flow. | |
| 8823 | 7605 | |
| 8824 | 7606 | =end original |
| 8825 | 7607 | |
| 8826 | 7608 | (W closed) 書き込みを行なおうとしたファイルハンドルは、 |
| 8827 | 7609 | 既にクローズされています。 |
| 8828 | ||
| 7610 | 論理フローをチェックしてください。 | |
| 8829 | 7611 | |
| 8830 | =item C<-T> and C<-B> not implemented on filehandles | |
| 8831 | ||
| 8832 | =begin original | |
| 8833 | ||
| 8834 | (F) Perl can't peek at the stdio buffer of filehandles when it doesn't | |
| 8835 | know about your kind of stdio. You'll have to use a filename instead. | |
| 8836 | ||
| 8837 | =end original | |
| 8838 | ||
| 8839 | (F) Perl が、お使いの stdio のことをよく知らないとき、 | |
| 8840 | ファイルハンドルの stdio バッファを覗くことはできません。 | |
| 8841 | 代わりにファイル名を使わなければなりません。 | |
| 8842 | ||
| 8843 | 7612 | =item Target of goto is too deeply nested |
| 8844 | 7613 | |
| 8845 | 7614 | =begin original |
| 8846 | 7615 | |
| 8847 | 7616 | (F) You tried to use C<goto> to reach a label that was too deeply nested |
| 8848 | 7617 | for Perl to reach. Perl is doing you a favor by refusing. |
| 8849 | 7618 | |
| 8850 | 7619 | =end original |
| 8851 | 7620 | |
| 8852 | 7621 | (F) C<goto> で、Perl が届かないほど深くネストしたラベルに移動しようとしました。 |
| 8853 | 7622 | Perl は親切にもこれを拒否します。 |
| 8854 | 7623 | |
| 8855 | 7624 | =item tell() on unopened filehandle |
| 8856 | 7625 | |
| 8857 | 7626 | =begin original |
| 8858 | 7627 | |
| 8859 | 7628 | (W unopened) You tried to use the tell() function on a filehandle that |
| 8860 | 7629 | was either never opened or has since been closed. |
| 8861 | 7630 | |
| 8862 | 7631 | =end original |
| 8863 | 7632 | |
| 8864 | 7633 | (W unopened) オープンされていないファイルハンドルか、既にクローズされた |
| 8865 | 7634 | ファイルハンドルに対して、tell() 関数を使おうとしました。 |
| 8866 | 7635 | |
| 8867 | 7636 | =item That use of $[ is unsupported |
| 8868 | 7637 | |
| 8869 | 7638 | =begin original |
| 8870 | 7639 | |
| 8871 | 7640 | (F) Assignment to C<$[> is now strictly circumscribed, and interpreted |
| 8872 | 7641 | as a compiler directive. You may say only one of |
| 8873 | 7642 | |
| 8874 | 7643 | =end original |
| 8875 | 7644 | |
| 8876 | 7645 | (F) 現在、C<$[> への代入は、厳しく制限され、コンパイラ指示子と解釈されます。 |
| 8877 | 7646 | 使えるのは以下の形だけです: |
| 8878 | 7647 | |
| 8879 | 7648 | $[ = 0; |
| 8880 | 7649 | $[ = 1; |
| 8881 | 7650 | ... |
| 8882 | 7651 | local $[ = 0; |
| 8883 | 7652 | local $[ = 1; |
| 8884 | 7653 | ... |
| 8885 | 7654 | |
| 8886 | 7655 | =begin original |
| 8887 | 7656 | |
| 8888 | 7657 | This is to prevent the problem of one module changing the array base out |
| 8889 | 7658 | from under another module inadvertently. See L<perlvar/$[>. |
| 8890 | 7659 | |
| 8891 | 7660 | =end original |
| 8892 | 7661 | |
| 8893 | 7662 | これは、一つのモジュールで、他のモジュールが意図しないような、 |
| 8894 | 7663 | 配列のベースを変更する問題を回避するためのものです。 |
| 8895 | 7664 | L<perlvar/$[> を参照してください。 |
| 8896 | 7665 | |
| 8897 | 7666 | =item The crypt() function is unimplemented due to excessive paranoia |
| 8898 | 7667 | |
| 8899 | 7668 | =begin original |
| 8900 | 7669 | |
| 8901 | 7670 | (F) Configure couldn't find the crypt() function on your machine, |
| 8902 | 7671 | probably because your vendor didn't supply it, probably because they |
| 8903 | 7672 | think the U.S. Government thinks it's a secret, or at least that they |
| 8904 | 7673 | will continue to pretend that it is. And if you quote me on that, I |
| 8905 | 7674 | will deny it. |
| 8906 | 7675 | |
| 8907 | 7676 | =end original |
| 8908 | 7677 | |
| 8909 | 7678 | (F) Configure は、マシン上で crypt() 関数を見つけられませんでした。 |
| 8910 | 7679 | おそらく、ベンダからの供給がなかったからで、おそらく、ベンダは |
| 8911 | 7680 | アメリカ政府がそれを秘密だとしていると思っているか、 |
| 8912 | 7681 | 少なくとも思っているというふりをしているのでしょう。 |
| 8913 | 7682 | 私を引き合いに出したところで、それは否定されることでしょう。 |
| 8914 | 7683 | |
| 8915 | 7684 | =item The %s function is unimplemented |
| 8916 | 7685 | |
| 8917 | 7686 | =begin original |
| 8918 | 7687 | |
| 8919 | 7688 | The function indicated isn't implemented on this architecture, according |
| 8920 | 7689 | to the probings of Configure. |
| 8921 | 7690 | |
| 8922 | 7691 | =end original |
| 8923 | 7692 | |
| 8924 | 7693 | (F) この関数は、Configure の調査によると、このアーキテクチャでは、 |
| 8925 | 7694 | 実装されていないようです。 |
| 8926 | 7695 | |
| 8927 | =item The stat preceding | |
| 7696 | =item The stat preceding C<-l _> wasn't an lstat | |
| 8928 | 7697 | |
| 8929 | 7698 | =begin original |
| 8930 | 7699 | |
| 8931 | 7700 | (F) It makes no sense to test the current stat buffer for symbolic |
| 8932 | 7701 | linkhood if the last stat that wrote to the stat buffer already went |
| 8933 | 7702 | past the symlink to get to the real file. Use an actual filename |
| 8934 | 7703 | instead. |
| 8935 | 7704 | |
| 8936 | 7705 | =end original |
| 8937 | 7706 | |
| 8938 | 7707 | (F) 過去の stat がシンボリックリンクを通り過ぎた、実際のファイルの |
| 8939 | 7708 | 情報を取って、stat バッファに入れているときに、シンボリックタイプの |
| 8940 | 7709 | stat をカレント stat バッファに対して行なっても意味がありません。 |
| 8941 | 7710 | 実際のファイル名を使ってください。 |
| 8942 | 7711 | |
| 8943 | =item The 'unique' attribute may only be applied to 'our' variables | |
| 8944 | ||
| 8945 | =begin original | |
| 8946 | ||
| 8947 | (F) Currently this attribute is not supported on C<my> or C<sub> | |
| 8948 | declarations. See L<perlfunc/our>. | |
| 8949 | ||
| 8950 | =end original | |
| 8951 | ||
| 8952 | (F) 現在のところこの属性は C<my> や C<sub> の宣言で対応していません。 | |
| 8953 | L<perlfunc/our> を参照してください。 | |
| 8954 | ||
| 8955 | 7712 | =item This Perl can't reset CRTL environ elements (%s) |
| 8956 | 7713 | |
| 8957 | 7714 | =item This Perl can't set CRTL environ elements (%s=%s) |
| 8958 | 7715 | |
| 8959 | 7716 | =begin original |
| 8960 | 7717 | |
| 8961 | 7718 | (W internal) Warnings peculiar to VMS. You tried to change or delete an |
| 8962 | 7719 | element of the CRTL's internal environ array, but your copy of Perl |
| 8963 | 7720 | wasn't built with a CRTL that contained the setenv() function. You'll |
| 8964 | 7721 | need to rebuild Perl with a CRTL that does, or redefine |
| 8965 | 7722 | F<PERL_ENV_TABLES> (see L<perlvms>) so that the environ array isn't the |
| 8966 | 7723 | target of the change to |
| 8967 | 7724 | %ENV which produced the warning. |
| 8968 | 7725 | |
| 8969 | 7726 | =end original |
| 8970 | 7727 | |
| 8971 | 7728 | (W internal) VMS 固有の警告です。 |
| 8972 | 7729 | CRTL の内部環境配列を変更または削除しようとしましたが、この Perl は |
| 8973 | 7730 | setenv() 関数を含んだ CRTL でビルドされていません。 |
| 8974 | 7731 | これを含む CRTL を使って Perl を再ビルドするか、環境配列がこの警告を |
| 8975 | 7732 | 出力している %ENV を変更するターゲットとならないように |
| 8976 | 7733 | F<PERL_ENV_TABLES> (L<perlvms> を参照してください) を再定義してください。 |
| 8977 | 7734 | |
| 8978 | =item t | |
| 7735 | =item times not implemented | |
| 8979 | 7736 | |
| 8980 | 7737 | =begin original |
| 8981 | 7738 | |
| 8982 | ( | |
| 7739 | (F) Your version of the C library apparently doesn't do times(). I | |
| 7740 | suspect you're not running on Unix. | |
| 8983 | 7741 | |
| 8984 | 7742 | =end original |
| 8985 | 7743 | |
| 8986 | ( | |
| 7744 | (F) お使いの C ライブラリでは、times() を行わないようです。 | |
| 8987 | ||
| 7745 | UNIX ではない環境でしょうか。 | |
| 8988 | 7746 | |
| 8989 | =item | |
| 7747 | =item Too few args to syscall | |
| 8990 | 7748 | |
| 8991 | 7749 | =begin original |
| 8992 | 7750 | |
| 8993 | ( | |
| 7751 | (F) There has to be at least one argument to syscall() to specify the | |
| 8994 | ||
| 7752 | system call to call, silly dilly. | |
| 8995 | see L<perl58delta> for more details. | |
| 8996 | 7753 | |
| 8997 | 7754 | =end original |
| 8998 | 7755 | |
| 8999 | ( | |
| 7756 | (F) syscall() には、最低限でも呼び出すシステムコールを示す、 | |
| 9000 | ||
| 7757 | 引数が一つ必要です。 | |
| 9001 | さらなる詳細については L<perl58delta> を参照してください。 | |
| 9002 | 7758 | |
| 9003 | =item t | |
| 7759 | =item Too late for "B<-T>" option | |
| 9004 | 7760 | |
| 9005 | 7761 | =begin original |
| 9006 | 7762 | |
| 9007 | (F) Your version of the C library apparently doesn't do times(). I | |
| 9008 | suspect you're not running on Unix. | |
| 9009 | ||
| 9010 | =end original | |
| 9011 | ||
| 9012 | (F) お使いの C ライブラリでは、times() を行わないようです。 | |
| 9013 | UNIX ではない環境でしょうか。 | |
| 9014 | ||
| 9015 | =item "-T" is on the #! line, it must also be used on the command line | |
| 9016 | ||
| 9017 | =begin original | |
| 9018 | ||
| 9019 | 7763 | (X) The #! line (or local equivalent) in a Perl script contains the |
| 9020 | 7764 | B<-T> option, but Perl was not invoked with B<-T> in its command line. |
| 9021 | 7765 | This is an error because, by the time Perl discovers a B<-T> in a |
| 9022 | 7766 | script, it's too late to properly taint everything from the environment. |
| 9023 | 7767 | So Perl gives up. |
| 9024 | 7768 | |
| 9025 | 7769 | =end original |
| 9026 | 7770 | |
| 9027 | 7771 | (X) Perl スクリプトの #! 行(あるいはローカルで等価なもの)に B<-T> |
| 9028 | 7772 | オプションが含まれていますが、Perl はコマンドラインで B<-T> 付きで |
| 9029 | 7773 | 起動されていません。 |
| 9030 | 7774 | Perl がスクリプトの中で B<-T> を発見した時点では、環境からの全てを |
| 9031 | 7775 | 汚染チェックするには遅すぎるので、これはエラーになります。 |
| 9032 | 7776 | それで Perl は諦めます。 |
| 9033 | 7777 | |
| 9034 | 7778 | =begin original |
| 9035 | 7779 | |
| 9036 | 7780 | If the Perl script is being executed as a command using the #! |
| 9037 | 7781 | mechanism (or its local equivalent), this error can usually be fixed by |
| 9038 | 7782 | editing the #! line so that the B<-T> option is a part of Perl's first |
| 9039 | 7783 | argument: e.g. change C<perl -n -T> to C<perl -T -n>. |
| 9040 | 7784 | |
| 9041 | 7785 | =end original |
| 9042 | 7786 | |
| 9043 | 7787 | perl スクリプトが #! 機構(またはローカルな等価な機構)を使ってコマンドとして |
| 9044 | 7788 | 実行される場合、このエラーは普通 B<-T> オプションを Perl の最初の引数に |
| 9045 | 7789 | 変更する(C<perl -n -T> を C<perl -T -n> に変更する)ことで修正されます。 |
| 9046 | 7790 | |
| 9047 | 7791 | =begin original |
| 9048 | 7792 | |
| 9049 | 7793 | If the Perl script is being executed as C<perl scriptname>, then the |
| 9050 | 7794 | B<-T> option must appear on the command line: C<perl -T scriptname>. |
| 9051 | 7795 | |
| 9052 | 7796 | =end original |
| 9053 | 7797 | |
| 9054 | 7798 | Perl スクリプトが C<perl scriptname> として起動される場合、B<-T> オプションは |
| 9055 | 7799 | コマンドラインに書かなければなりません: C<perl -T scriptname> |
| 9056 | 7800 | |
| 9057 | =item To%s: illegal mapping '%s' | |
| 9058 | ||
| 9059 | =begin original | |
| 9060 | ||
| 9061 | (F) You tried to define a customized To-mapping for lc(), lcfirst, | |
| 9062 | uc(), or ucfirst() (or their string-inlined versions), but you | |
| 9063 | specified an illegal mapping. | |
| 9064 | See L<perlunicode/"User-Defined Character Properties">. | |
| 9065 | ||
| 9066 | =end original | |
| 9067 | ||
| 9068 | (F) lc(), lcfirst, uc(), or ucfirst() (またはこれらの文字列組み込み版)の | |
| 9069 | ためのカスタマイズされた変換先マッピングを定義しようとしましたが、 | |
| 9070 | 不正なマッピングを指定しました。 | |
| 9071 | L<perlunicode/"User-Defined Character Properties"> を参照してください。 | |
| 9072 | ||
| 9073 | =item Too deeply nested ()-groups | |
| 9074 | ||
| 9075 | =begin original | |
| 9076 | ||
| 9077 | (F) Your template contains ()-groups with a ridiculously deep nesting level. | |
| 9078 | ||
| 9079 | =end original | |
| 9080 | ||
| 9081 | (F) テンプレートに、おかしいぐらいネストした () グループがあります。 | |
| 9082 | ||
| 9083 | =item Too few args to syscall | |
| 9084 | ||
| 9085 | =begin original | |
| 9086 | ||
| 9087 | (F) There has to be at least one argument to syscall() to specify the | |
| 9088 | system call to call, silly dilly. | |
| 9089 | ||
| 9090 | =end original | |
| 9091 | ||
| 9092 | (F) syscall() には、最低限でも呼び出すシステムコールを示す、 | |
| 9093 | 引数が一つ必要です。 | |
| 9094 | ||
| 9095 | 7801 | =item Too late for "-%s" option |
| 9096 | 7802 | |
| 9097 | 7803 | =begin original |
| 9098 | 7804 | |
| 9099 | 7805 | (X) The #! line (or local equivalent) in a Perl script contains the |
| 9100 | 7806 | B<-M> or B<-m> option. This is an error because B<-M> and B<-m> options |
| 9101 | 7807 | are not intended for use inside scripts. Use the C<use> pragma instead. |
| 9102 | 7808 | |
| 9103 | 7809 | =end original |
| 9104 | 7810 | |
| 9105 | 7811 | (X) Perl スクリプトの #! 行(またはローカルな等価な機構)に B<-M> や |
| 9106 | 7812 | B<-m> オプションが含まれています。 |
| 9107 | 7813 | B<-M> と B<-m> のオプションは、スクリプト内部で使うためのものではないので、 |
| 9108 | 7814 | これはエラーになります。 |
| 9109 | 7815 | 代わりに C<use> プラグマを使ってください。 |
| 9110 | 7816 | |
| 9111 | 7817 | =item Too late to run %s block |
| 9112 | 7818 | |
| 9113 | 7819 | =begin original |
| 9114 | 7820 | |
| 9115 | 7821 | (W void) A CHECK or INIT block is being defined during run time proper, |
| 9116 | 7822 | when the opportunity to run them has already passed. Perhaps you are |
| 9117 | 7823 | loading a file with C<require> or C<do> when you should be using C<use> |
| 9118 | 7824 | instead. Or perhaps you should put the C<require> or C<do> inside a |
| 9119 | 7825 | BEGIN block. |
| 9120 | 7826 | |
| 9121 | 7827 | =end original |
| 9122 | 7828 | |
| 9123 | 7829 | (W void) CHECK か INIT のブロックが、それが実行される機会が過ぎてから |
| 9124 | 7830 | 実行時に定義されました。 |
| 9125 | 7831 | おそらく C<use> を使うべきときに C<require> か C<do> を使ってファイルを |
| 9126 | 7832 | 読み込んでいます。 |
| 9127 | 7833 | あるいはおそらく BEGIN ブロックの中に C<require> か C<do> を |
| 9128 | 7834 | 書いたのでしょう。 |
| 9129 | 7835 | |
| 9130 | 7836 | =item Too many args to syscall |
| 9131 | 7837 | |
| 9132 | 7838 | =begin original |
| 9133 | 7839 | |
| 9134 | 7840 | (F) Perl supports a maximum of only 14 args to syscall(). |
| 9135 | 7841 | |
| 9136 | 7842 | =end original |
| 9137 | 7843 | |
| 9138 | 7844 | (F) Perl では、syscall() に最大 14 までしか、引数を渡すことができません。 |
| 9139 | 7845 | |
| 9140 | 7846 | =item Too many arguments for %s |
| 9141 | 7847 | |
| 9142 | 7848 | =begin original |
| 9143 | 7849 | |
| 9144 | 7850 | (F) The function requires fewer arguments than you specified. |
| 9145 | 7851 | |
| 9146 | 7852 | =end original |
| 9147 | 7853 | |
| 9148 | 7854 | (F) 関数が要求する以上の引数を指定しました。 |
| 9149 | 7855 | |
| 9150 | 7856 | =item Too many )'s |
| 9151 | 7857 | |
| 9152 | 7858 | =begin original |
| 9153 | 7859 | |
| 9154 | 7860 | (A) You've accidentally run your script through B<csh> instead of Perl. |
| 9155 | 7861 | Check the #! line, or manually feed your script into Perl yourself. |
| 9156 | 7862 | |
| 9157 | 7863 | =end original |
| 9158 | 7864 | |
| 9159 | 7865 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
| 9160 | 7866 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
| 9161 | 7867 | |
| 9162 | 7868 | =item Too many ('s |
| 9163 | 7869 | |
| 9164 | = | |
| 7870 | =item trailing \ in regexp | |
| 9165 | 7871 | |
| 9166 | (A) You've accidentally run your script through B<csh> instead of Perl. | |
| 9167 | Check the #! line, or manually feed your script into Perl yourself. | |
| 9168 | ||
| 9169 | =end original | |
| 9170 | ||
| 9171 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 | |
| 9172 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 | |
| 9173 | ||
| 9174 | =item Trailing \ in regex m/%s/ | |
| 9175 | ||
| 9176 | 7872 | =begin original |
| 9177 | 7873 | |
| 9178 | 7874 | (F) The regular expression ends with an unbackslashed backslash. |
| 9179 | 7875 | Backslash it. See L<perlre>. |
| 9180 | 7876 | |
| 9181 | 7877 | =end original |
| 9182 | 7878 | |
| 9183 | 7879 | (F) 正規表現が、バックスラッシュを付けていないバックスラッシュで |
| 9184 | 7880 | 終了しました。バックスラッシュを付けてください。 |
| 9185 | 7881 | L<perlre> を参照してください。 |
| 9186 | 7882 | |
| 9187 | 7883 | =item Transliteration pattern not terminated |
| 9188 | 7884 | |
| 9189 | 7885 | =begin original |
| 9190 | 7886 | |
| 9191 | 7887 | (F) The lexer couldn't find the interior delimiter of a tr/// or tr[][] |
| 9192 | 7888 | or y/// or y[][] construct. Missing the leading C<$> from variables |
| 9193 | 7889 | C<$tr> or C<$y> may cause this error. |
| 9194 | 7890 | |
| 9195 | 7891 | =end original |
| 9196 | 7892 | |
| 9197 | 7893 | (F) tr///, tr[][], y///, y[][] 構文の真ん中の区切り文字が |
| 9198 | 7894 | 見つかりませんでした。 |
| 9199 | 7895 | C<$tr> 変数 や C<$y> 変数の前に C<$> をつけるのを忘れると |
| 9200 | 7896 | このエラーが出ることがあります。 |
| 9201 | 7897 | |
| 7898 | ||
| 9202 | 7899 | =item Transliteration replacement not terminated |
| 9203 | 7900 | |
| 9204 | 7901 | =begin original |
| 9205 | 7902 | |
| 9206 | (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[][] | |
| 9207 | ||
| 7904 | construct. | |
| 9208 | 7905 | |
| 9209 | 7906 | =end original |
| 9210 | 7907 | |
| 9211 | (F) tr/// | |
| 7908 | (F) tr/// もしくは tr[][] 構文の最後の区切り文字が見つかりませんでした。 | |
| 9212 | 見つかりませんでした。 | |
| 9213 | 7909 | |
| 9214 | =item '%s' trapped by operation mask | |
| 9215 | ||
| 9216 | =begin original | |
| 9217 | ||
| 9218 | (F) You tried to use an operator from a Safe compartment in which it's | |
| 9219 | disallowed. See L<Safe>. | |
| 9220 | ||
| 9221 | =end original | |
| 9222 | ||
| 9223 | (F) Safe 区画の中で、許されていない演算子を使おうとしました。 | |
| 9224 | L<Safe> を参照してください。 | |
| 9225 | ||
| 9226 | 7910 | =item truncate not implemented |
| 9227 | 7911 | |
| 9228 | 7912 | =begin original |
| 9229 | 7913 | |
| 9230 | 7914 | (F) Your machine doesn't implement a file truncation mechanism that |
| 9231 | 7915 | Configure knows about. |
| 9232 | 7916 | |
| 9233 | 7917 | =end original |
| 9234 | 7918 | |
| 9235 | 7919 | (F) このマシンでは、Configure が知りうる、ファイルの切り詰めの機能が |
| 9236 | 7920 | 実装されていません。 |
| 9237 | 7921 | |
| 9238 | 7922 | =item Type of arg %d to %s must be %s (not %s) |
| 9239 | 7923 | |
| 9240 | 7924 | =begin original |
| 9241 | 7925 | |
| 9242 | 7926 | (F) This function requires the argument in that position to be of a |
| 9243 | 7927 | certain type. Arrays must be @NAME or C<@{EXPR}>. Hashes must be |
| 9244 | 7928 | %NAME or C<%{EXPR}>. No implicit dereferencing is allowed--use the |
| 9245 | 7929 | {EXPR} forms as an explicit dereference. See L<perlref>. |
| 9246 | 7930 | |
| 9247 | 7931 | =end original |
| 9248 | 7932 | |
| 9249 | 7933 | (F) この関数は、その位置に決まった型の引数を必要とします。 |
| 9250 | 7934 | 配列は、@NAME もしくは C<@{EXPR}> でなくてはならず、ハッシュは、 |
| 9251 | 7935 | %NAME もしくは C<%{EXPR}> でなければなりません。 |
| 9252 | 7936 | 暗黙の被参照は許されませんので、明示的な被参照として、 |
| 9253 | 7937 | {EXPR} 形式を使ってください。 |
| 9254 | 7938 | L<perlref> を参照してください。 |
| 9255 | 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 | ||
| 9256 | 7953 | =item umask not implemented |
| 9257 | 7954 | |
| 9258 | 7955 | =begin original |
| 9259 | 7956 | |
| 9260 | 7957 | (F) Your machine doesn't implement the umask function and you tried to |
| 9261 | 7958 | use it to restrict permissions for yourself (EXPR & 0700). |
| 9262 | 7959 | |
| 9263 | 7960 | =end original |
| 9264 | 7961 | |
| 9265 | 7962 | (F) umask 関数が実装されていないマシンで、自分自身の権限を制限する |
| 9266 | 7963 | (EXPR & 0700) ためにこれを使おうとしました。 |
| 9267 | 7964 | |
| 9268 | 7965 | =item Unable to create sub named "%s" |
| 9269 | 7966 | |
| 9270 | 7967 | =begin original |
| 9271 | 7968 | |
| 9272 | 7969 | (F) You attempted to create or access a subroutine with an illegal name. |
| 9273 | 7970 | |
| 9274 | 7971 | =end original |
| 9275 | 7972 | |
| 9276 | 7973 | (F) 不正な名前のサブルーチンを作成または呼び出ししようとしました。 |
| 9277 | 7974 | |
| 9278 | 7975 | =item Unbalanced context: %d more PUSHes than POPs |
| 9279 | 7976 | |
| 9280 | 7977 | =begin original |
| 9281 | 7978 | |
| 9282 | 7979 | (W internal) The exit code detected an internal inconsistency in how |
| 9283 | 7980 | many execution contexts were entered and left. |
| 9284 | 7981 | |
| 9285 | 7982 | =end original |
| 9286 | 7983 | |
| 9287 | 7984 | (W internal) いくつの実行コンテキストに入って、出たかということの |
| 9288 | 7985 | 内部矛盾が exit コードで発見されました。 |
| 9289 | 7986 | |
| 9290 | 7987 | =item Unbalanced saves: %d more saves than restores |
| 9291 | 7988 | |
| 9292 | 7989 | =begin original |
| 9293 | 7990 | |
| 9294 | 7991 | (W internal) The exit code detected an internal inconsistency in how |
| 9295 | 7992 | many values were temporarily localized. |
| 9296 | 7993 | |
| 9297 | 7994 | =end original |
| 9298 | 7995 | |
| 9299 | 7996 | (W internal) いくつの値が、一時的にローカル化されたかということの |
| 9300 | 7997 | 内部矛盾が exit コードで発見されました。 |
| 9301 | 7998 | |
| 9302 | 7999 | =item Unbalanced scopes: %d more ENTERs than LEAVEs |
| 9303 | 8000 | |
| 9304 | 8001 | =begin original |
| 9305 | 8002 | |
| 9306 | 8003 | (W internal) The exit code detected an internal inconsistency in how |
| 9307 | 8004 | many blocks were entered and left. |
| 9308 | 8005 | |
| 9309 | 8006 | =end original |
| 9310 | 8007 | |
| 9311 | 8008 | (W internal) いくつのブロックに入って、出たかということの |
| 9312 | 8009 | 内部矛盾が exit コードで発見されました。 |
| 9313 | 8010 | |
| 9314 | 8011 | =item Unbalanced tmps: %d more allocs than frees |
| 9315 | 8012 | |
| 9316 | 8013 | =begin original |
| 9317 | 8014 | |
| 9318 | 8015 | (W internal) The exit code detected an internal inconsistency in how |
| 9319 | 8016 | many mortal scalars were allocated and freed. |
| 9320 | 8017 | |
| 9321 | 8018 | =end original |
| 9322 | 8019 | |
| 9323 | 8020 | (W internal) いくつの揮発性スカラの割り当てを行ない、解放したかと |
| 9324 | 8021 | いうことの内部矛盾が exit コードで発見されました。 |
| 9325 | 8022 | |
| 9326 | 8023 | =item Undefined format "%s" called |
| 9327 | 8024 | |
| 9328 | 8025 | =begin original |
| 9329 | 8026 | |
| 9330 | 8027 | (F) The format indicated doesn't seem to exist. Perhaps it's really in |
| 9331 | 8028 | another package? See L<perlform>. |
| 9332 | 8029 | |
| 9333 | 8030 | =end original |
| 9334 | 8031 | |
| 9335 | 8032 | (F) このフォーマットは存在しないように見えます。 |
| 9336 | 8033 | おそらく、別のパッケージに存在するのではないでしょうか。 |
| 9337 | 8034 | L<perlform> を参照してください。 |
| 9338 | 8035 | |
| 9339 | 8036 | =item Undefined sort subroutine "%s" called |
| 9340 | 8037 | |
| 9341 | 8038 | =begin original |
| 9342 | 8039 | |
| 9343 | 8040 | (F) The sort comparison routine specified doesn't seem to exist. |
| 9344 | 8041 | Perhaps it's in a different package? See L<perlfunc/sort>. |
| 9345 | 8042 | |
| 9346 | 8043 | =end original |
| 9347 | 8044 | |
| 9348 | 8045 | (F) 指定された sort の比較ルーティンは存在していないように思われます。 |
| 9349 | 8046 | おそらく、別のパッケージに存在するのではないでしょうか。 |
| 9350 | 8047 | L<perlfunc/sort>を参照してください。 |
| 9351 | 8048 | |
| 9352 | 8049 | =item Undefined subroutine &%s called |
| 9353 | 8050 | |
| 9354 | 8051 | =begin original |
| 9355 | 8052 | |
| 9356 | 8053 | (F) The subroutine indicated hasn't been defined, or if it was, it has |
| 9357 | 8054 | since been undefined. |
| 9358 | 8055 | |
| 9359 | 8056 | =end original |
| 9360 | 8057 | |
| 9361 | 8058 | (F) 指定されたサブルーティンが定義されていません。 |
| 9362 | 8059 | 定義されていたとしても、既に未定義になっています。 |
| 9363 | 8060 | |
| 9364 | 8061 | =item Undefined subroutine called |
| 9365 | 8062 | |
| 9366 | 8063 | =begin original |
| 9367 | 8064 | |
| 9368 | 8065 | (F) The anonymous subroutine you're trying to call hasn't been defined, |
| 9369 | 8066 | or if it was, it has since been undefined. |
| 9370 | 8067 | |
| 9371 | 8068 | =end original |
| 9372 | 8069 | |
| 9373 | 8070 | (F) 呼びだそうとしている無名のサブルーティンは、定義されていません。 |
| 9374 | 8071 | 定義されていたとしても、既に未定義になっています。 |
| 9375 | 8072 | |
| 9376 | 8073 | =item Undefined subroutine in sort |
| 9377 | 8074 | |
| 9378 | 8075 | =begin original |
| 9379 | 8076 | |
| 9380 | 8077 | (F) The sort comparison routine specified is declared but doesn't seem |
| 9381 | 8078 | to have been defined yet. See L<perlfunc/sort>. |
| 9382 | 8079 | |
| 9383 | 8080 | =end original |
| 9384 | 8081 | |
| 9385 | 8082 | (F) 指定された sort の比較ルーティンは宣言されましたが、 |
| 9386 | 8083 | 定義されていないようです。 |
| 9387 | 8084 | L<perlfunc/sort> を参照してください。 |
| 9388 | 8085 | |
| 9389 | 8086 | =item Undefined top format "%s" called |
| 9390 | 8087 | |
| 9391 | 8088 | =begin original |
| 9392 | 8089 | |
| 9393 | 8090 | (F) The format indicated doesn't seem to exist. Perhaps it's really in |
| 9394 | 8091 | another package? See L<perlform>. |
| 9395 | 8092 | |
| 9396 | 8093 | =end original |
| 9397 | 8094 | |
| 9398 | 8095 | (F) 示されたフォーマットが存在しないようです。 |
| 9399 | 8096 | おそらく本当は他のパッケージにあるのでは? |
| 9400 | 8097 | L<perlform> を参照してください。 |
| 9401 | 8098 | |
| 9402 | 8099 | =item Undefined value assigned to typeglob |
| 9403 | 8100 | |
| 9404 | 8101 | =begin original |
| 9405 | 8102 | |
| 9406 | 8103 | (W misc) An undefined value was assigned to a typeglob, a la |
| 9407 | 8104 | C<*foo = undef>. This does nothing. It's possible that you really mean |
| 9408 | 8105 | C<undef *foo>. |
| 9409 | 8106 | |
| 9410 | 8107 | =end original |
| 9411 | 8108 | |
| 9412 | 8109 | (W misc) C<*foo = undef> のように、未定義値を型グロブに代入しました。 |
| 9413 | 8110 | これは何もしません。 |
| 9414 | 8111 | 本当は C<undef *foo> としたかったのかもしれません。 |
| 9415 | 8112 | |
| 9416 | 8113 | =item %s: Undefined variable |
| 9417 | 8114 | |
| 9418 | 8115 | =begin original |
| 9419 | 8116 | |
| 9420 | 8117 | (A) You've accidentally run your script through B<csh> instead of Perl. |
| 9421 | 8118 | Check the #! line, or manually feed your script into Perl yourself. |
| 9422 | 8119 | |
| 9423 | 8120 | =end original |
| 9424 | 8121 | |
| 9425 | 8122 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
| 9426 | 8123 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
| 9427 | 8124 | |
| 9428 | 8125 | =item unexec of %s into %s failed! |
| 9429 | 8126 | |
| 9430 | 8127 | =begin original |
| 9431 | 8128 | |
| 9432 | 8129 | (F) The unexec() routine failed for some reason. See your local FSF |
| 9433 | 8130 | representative, who probably put it there in the first place. |
| 9434 | 8131 | |
| 9435 | 8132 | =end original |
| 9436 | 8133 | |
| 9437 | 8134 | (F) unexec() ルーティンが何らかの理由によって失敗しました。 |
| 9438 | 8135 | 最初にインストールしたであろう、サイトの FSF 代表者にたずねてみてください。 |
| 9439 | 8136 | |
| 9440 | =item Un | |
| 8137 | =item Unknown BYTEORDER | |
| 9441 | 8138 | |
| 9442 | 8139 | =begin original |
| 9443 | 8140 | |
| 9444 | ( | |
| 8141 | (F) There are no byte-swapping functions for a machine with this byte | |
| 9445 | ||
| 8142 | order. | |
| 9446 | what you are doing you can turn off this warning by C<no warnings 'utf8';>. | |
| 9447 | 8143 | |
| 9448 | 8144 | =end original |
| 9449 | 8145 | |
| 9450 | ( | |
| 8146 | (F) このバイト順序を入れ替える関数がありません。 | |
| 9451 | 指定されていて、生成されるはずのないものです。 | |
| 9452 | もし自分が何をしているかを本当に理解しているなら、C<no warnings 'utf8';> で | |
| 9453 | 警告を無効にできます。 | |
| 9454 | 8147 | |
| 9455 | =item Unknown | |
| 8148 | =item Unknown switch condition (?(%.2s before << HERE in regex m/%s/ | |
| 9456 | 8149 | |
| 9457 | 8150 | =begin original |
| 9458 | 8151 | |
| 9459 | (F) The | |
| 8152 | (F) The condition of a (?(condition)if-clause|else-clause) construct is not | |
| 9460 | order | |
| 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). | |
| 9461 | 8157 | |
| 9462 | 8158 | =end original |
| 9463 | 8159 | |
| 9464 | (F) | |
| 8160 | (F) (?(condition)if-clause|else-clause) 構文の条件が不明です。 | |
| 8161 | 条件は参照 (参照が真なら条件は真)、 | |
| 8162 | (?{...}) 構文 (コードが真の値に評価されれば真)、 | |
| 8163 | 数値 (番号付けされた、捕捉されたかっこの集合が定義されていれば真) の | |
| 8164 | いずれかです。 | |
| 9465 | 8165 | |
| 8166 | =begin original | |
| 8167 | ||
| 8168 | The << HERE shows in the regular expression about where the problem was | |
| 8169 | discovered. See L<perlre>. | |
| 8170 | ||
| 8171 | =end original | |
| 8172 | ||
| 8173 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 8174 | L<perlre> を参照してください。 | |
| 8175 | ||
| 9466 | 8176 | =item Unknown open() mode '%s' |
| 9467 | 8177 | |
| 9468 | 8178 | =begin original |
| 9469 | 8179 | |
| 9470 | 8180 | (F) The second argument of 3-argument open() is not among the list |
| 9471 | 8181 | of valid modes: C<< < >>, C<< > >>, C<<< >> >>>, C<< +< >>, |
| 9472 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|-> | |
| 8182 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|->. | |
| 9473 | 8183 | |
| 9474 | 8184 | =end original |
| 9475 | 8185 | |
| 9476 | 8186 | (F) 3 引数 open() の 第 2 引数が以下の有効なモードの |
| 9477 | 8187 | どれでもありませんでした: |
| 9478 | 8188 | C<< < >>, C<< > >>, C<<< >> >>>, C<< +< >>, |
| 9479 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|-> | |
| 8189 | C<< +> >>, C<<< +>> >>>, C<-|>, C<|->. | |
| 9480 | 8190 | |
| 9481 | =item Unknown PerlIO layer "%s" | |
| 9482 | ||
| 9483 | =begin original | |
| 9484 | ||
| 9485 | (W layer) An attempt was made to push an unknown layer onto the Perl I/O | |
| 9486 | system. (Layers take care of transforming data between external and | |
| 9487 | internal representations.) Note that some layers, such as C<mmap>, | |
| 9488 | are not supported in all environments. If your program didn't | |
| 9489 | explicitly request the failing operation, it may be the result of the | |
| 9490 | value of the environment variable PERLIO. | |
| 9491 | ||
| 9492 | =end original | |
| 9493 | ||
| 9494 | (W layer) 不明な層をPerl I/O システムに追加しようとしました。 | |
| 9495 | (層はデータの外部表現と内部表現の変換を扱います。) | |
| 9496 | C<mmap> のような層は、全ての環境で対応しているわけではないことに | |
| 9497 | 注意してください。 | |
| 9498 | 明示的に失敗する操作を要求していないのであれば、これは環境変数 PERLIO の | |
| 9499 | 値が原因かもしれません。 | |
| 9500 | ||
| 9501 | 8191 | =item Unknown process %x sent message to prime_env_iter: %s |
| 9502 | 8192 | |
| 9503 | 8193 | =begin original |
| 9504 | 8194 | |
| 9505 | 8195 | (P) An error peculiar to VMS. Perl was reading values for %ENV before |
| 9506 | 8196 | iterating over it, and someone else stuck a message in the stream of |
| 9507 | 8197 | data Perl expected. Someone's very confused, or perhaps trying to |
| 9508 | 8198 | subvert Perl's population of %ENV for nefarious purposes. |
| 9509 | 8199 | |
| 9510 | 8200 | =end original |
| 9511 | 8201 | |
| 9512 | 8202 | (P) VMS 固有のエラーです。 |
| 9513 | 8203 | Perl は %ENV を反復する前に %ENV から値を読み込み、Perl が想定している |
| 9514 | 8204 | データストリームの中に誰かがメッセージを差し込みました。 |
| 9515 | 8205 | 誰かはとても混乱しているか、邪悪な目的のために %ENV の Perl の集団を |
| 9516 | 8206 | 滅亡させようとしています。 |
| 9517 | 8207 | |
| 9518 | =item | |
| 8208 | =item unmatched [ before << HERE mark in regex m/%s/ | |
| 9519 | 8209 | |
| 9520 | 8210 | =begin original |
| 9521 | 8211 | |
| 9522 | You tried to use an unknown subpragma of the "re" pragma. | |
| 9523 | ||
| 9524 | =end original | |
| 9525 | ||
| 9526 | "re" プラグマの、不明なサブプラグマを使おうとしました。 | |
| 9527 | ||
| 9528 | =item Unknown switch condition (?(%.2s in regex; marked by <-- HERE in m/%s/ | |
| 9529 | ||
| 9530 | =begin original | |
| 9531 | ||
| 9532 | (F) The condition part of a (?(condition)if-clause|else-clause) construct | |
| 9533 | is not known. The condition may be lookahead or lookbehind (the condition | |
| 9534 | is true if the lookahead or lookbehind is true), a (?{...}) construct (the | |
| 9535 | condition is true if the code evaluates to a true value), or a number (the | |
| 9536 | condition is true if the set of capturing parentheses named by the number | |
| 9537 | matched). | |
| 9538 | ||
| 9539 | =end original | |
| 9540 | ||
| 9541 | (F) (?(condition)if-clause|else-clause) 構文の条件部が不明です。 | |
| 9542 | 条件は前方参照または後方参照 (前方参照または後方参照が真なら条件は真)、 | |
| 9543 | (?{...}) 構文 (コードが真の値に評価されれば真)、 | |
| 9544 | 数値 (番号付けされた、捕捉されたかっこの集合が定義されていれば真) の | |
| 9545 | いずれかです。 | |
| 9546 | ||
| 9547 | =begin original | |
| 9548 | ||
| 9549 | The <-- HERE shows in the regular expression about where the problem was | |
| 9550 | discovered. See L<perlre>. | |
| 9551 | ||
| 9552 | =end original | |
| 9553 | ||
| 9554 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 9555 | L<perlre> を参照してください。 | |
| 9556 | ||
| 9557 | =item Unknown Unicode option letter '%c' | |
| 9558 | ||
| 9559 | =begin original | |
| 9560 | ||
| 9561 | You specified an unknown Unicode option. See L<perlrun> documentation | |
| 9562 | of the C<-C> switch for the list of known options. | |
| 9563 | ||
| 9564 | =end original | |
| 9565 | ||
| 9566 | 不明な Unicode オプションを指定しました。 | |
| 9567 | オプションの一覧については、L<perlrun> ドキュメントの C<-C> オプションを | |
| 9568 | 参照してください。 | |
| 9569 | ||
| 9570 | =item Unknown Unicode option value %x | |
| 9571 | ||
| 9572 | =begin original | |
| 9573 | ||
| 9574 | You specified an unknown Unicode option. See L<perlrun> documentation | |
| 9575 | of the C<-C> switch for the list of known options. | |
| 9576 | ||
| 9577 | =end original | |
| 9578 | ||
| 9579 | 不明な Unicode オプションを指定しました。 | |
| 9580 | オプションの一覧については、L<perlrun> ドキュメントの C<-C> オプションを | |
| 9581 | 参照してください。 | |
| 9582 | ||
| 9583 | =item Unknown warnings category '%s' | |
| 9584 | ||
| 9585 | =begin original | |
| 9586 | ||
| 9587 | (F) An error issued by the C<warnings> pragma. You specified a warnings | |
| 9588 | category that is unknown to perl at this point. | |
| 9589 | ||
| 9590 | =end original | |
| 9591 | ||
| 9592 | (F) C<warnings> プラグマによるエラーです。 | |
| 9593 | 現在のところ perl が知らない警告カテゴリを指定しました。 | |
| 9594 | ||
| 9595 | =begin original | |
| 9596 | ||
| 9597 | Note that if you want to enable a warnings category registered by a module | |
| 9598 | (e.g. C<use warnings 'File::Find'>), you must have imported this module | |
| 9599 | first. | |
| 9600 | ||
| 9601 | =end original | |
| 9602 | ||
| 9603 | (C<use warnings 'File::Find'> のように)モジュールによって登録される | |
| 9604 | 警告カテゴリを有効にしたい場合、このモジュールを先にインポートする必要が | |
| 9605 | あることに注意してください。 | |
| 9606 | ||
| 9607 | =item unmatched [ in regex; marked by <-- HERE in m/%s/ | |
| 9608 | ||
| 9609 | =begin original | |
| 9610 | ||
| 9611 | 8212 | (F) The brackets around a character class must match. If you wish to |
| 9612 | 8213 | include a closing bracket in a character class, backslash it or put it |
| 9613 | first. The < | |
| 8214 | first. See L<perlre>. The << HERE shows in the regular expression about | |
| 9614 | was discovered | |
| 8215 | where the escape was discovered. | |
| 9615 | 8216 | |
| 9616 | 8217 | =end original |
| 9617 | 8218 | |
| 9618 | 8219 | (F) 文字クラスの周りの大かっこが一致していません。 |
| 9619 | 8220 | 文字クラスに閉じ大かっこを含めたい場合は、バックスラッシュをつけるか |
| 9620 | 8221 | 先頭に置いてください。 |
| 9621 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 9622 | 8222 | L<perlre> を参照してください。 |
| 8223 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 9623 | 8224 | |
| 9624 | =item unmatched ( in regex | |
| 8225 | =item unmatched ( in regexp before << HERE mark in regex m/%s/ | |
| 9625 | 8226 | |
| 9626 | 8227 | =begin original |
| 9627 | 8228 | |
| 9628 | 8229 | (F) Unbackslashed parentheses must always be balanced in regular |
| 9629 | expressions. If you're a vi user, the % key is valuable for finding the | |
| 8230 | expressions. If you're a vi user, the % key is valuable for finding the | |
| 9630 | matching parenthesis. | |
| 8231 | matching parenthesis. See L<perlre>. | |
| 9631 | where the problem was discovered. See L<perlre>. | |
| 9632 | 8232 | |
| 9633 | 8233 | =end original |
| 9634 | 8234 | |
| 9635 | 8235 | (F) 正規表現の中ではバックスラッシュのついていないかっこは常に |
| 9636 | 8236 | 対応していなければなりません。 |
| 9637 | 8237 | vi ユーザーであれば、% キーが対応するかっこの発見に有用です。 |
| 9638 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 9639 | 8238 | L<perlre> を参照してください。 |
| 9640 | 8239 | |
| 9641 | 8240 | =item Unmatched right %s bracket |
| 9642 | 8241 | |
| 9643 | 8242 | =begin original |
| 9644 | 8243 | |
| 9645 | 8244 | (F) The lexer counted more closing curly or square brackets than opening |
| 9646 | 8245 | ones, so you're probably missing a matching opening bracket. As a |
| 9647 | 8246 | general rule, you'll find the missing one (so to speak) near the place |
| 9648 | 8247 | you were last editing. |
| 9649 | 8248 | |
| 9650 | 8249 | =end original |
| 9651 | 8250 | |
| 9652 | (F) | |
| 8251 | (F) 字句解析部が開き中括弧よりも多くの閉じ中括弧または大括弧を | |
| 9653 | 見つけました | |
| 8252 | 見つけました。 | |
| 9654 | ||
| 8253 | 開き中括弧または大括弧のもれと思われます。 | |
| 9655 | 場所の近 | |
| 8254 | 一般的な規則として、最後に修正した場所の付近に、忘れた中括弧 | |
| 8255 | または大括弧 (であるはずのもの) があることでしょう。 | |
| 9656 | 8256 | |
| 9657 | 8257 | =item Unquoted string "%s" may clash with future reserved word |
| 9658 | 8258 | |
| 9659 | 8259 | =begin original |
| 9660 | 8260 | |
| 9661 | 8261 | (W reserved) You used a bareword that might someday be claimed as a |
| 9662 | 8262 | reserved word. It's best to put such a word in quotes, or capitalize it |
| 9663 | 8263 | somehow, or insert an underbar into it. You might also declare it as a |
| 9664 | 8264 | subroutine. |
| 9665 | 8265 | |
| 9666 | 8266 | =end original |
| 9667 | 8267 | |
| 9668 | 8268 | (W) いつの日にか、予約語とかち合うかもしれない、裸の単語を使用しています。 |
| 9669 | 8269 | そのような単語は、クォートするか、大文字を入れるか、アンダーバー (_) を |
| 9670 | 8270 | いれるかしてください。 |
| 9671 | 8271 | その裸の単語は、サブルーティンとして宣言することも可能です。 |
| 9672 | 8272 | |
| 9673 | 8273 | =item Unrecognized character %s |
| 9674 | 8274 | |
| 9675 | 8275 | =begin original |
| 9676 | 8276 | |
| 9677 | 8277 | (F) The Perl parser has no idea what to do with the specified character |
| 9678 | 8278 | in your Perl script (or eval). Perhaps you tried to run a compressed |
| 9679 | 8279 | script, a binary program, or a directory as a Perl program. |
| 9680 | 8280 | |
| 9681 | 8281 | =end original |
| 9682 | 8282 | |
| 9683 | 8283 | (F) Perl パーサーは、Perl スクリプト(または eval) で出てきた文字に対して |
| 9684 | 8284 | どうすればよいか分かりませんでした。 |
| 9685 | 8285 | おそらく圧縮したスクリプト、バイナリプログラム、ディレクトリといったものを |
| 9686 | 8286 | Perl プログラムとして実行しようとしたのでしょう。 |
| 9687 | 8287 | |
| 9688 | 8288 | =item /%s/: Unrecognized escape \\%c in character class passed through |
| 9689 | 8289 | |
| 9690 | 8290 | =begin original |
| 9691 | 8291 | |
| 9692 | 8292 | (W regexp) You used a backslash-character combination which is not |
| 9693 | 8293 | recognized by Perl inside character classes. The character was |
| 9694 | 8294 | understood literally. |
| 9695 | 8295 | |
| 9696 | 8296 | =end original |
| 9697 | 8297 | |
| 9698 | 8298 | (W regexp) Perl 内部文字クラスで認識できない、バックスラッシュ-文字の |
| 9699 | 8299 | 組み合わせを使いました。 |
| 9700 | 8300 | 文字はリテラルに理解されます。 |
| 9701 | 8301 | |
| 9702 | =item Unrecognized escape \\%c passed through | |
| 8302 | =item Unrecognized escape \\%c passed through before << HERE in m/%s/ | |
| 9703 | 8303 | |
| 9704 | 8304 | =begin original |
| 9705 | 8305 | |
| 9706 | (W | |
| 8306 | (W regexp) You used a backslash-character combination which is not | |
| 9707 | recognized by Perl. | |
| 8307 | recognized by Perl. This combination appears in an interpolated variable or | |
| 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. | |
| 9708 | 8311 | |
| 9709 | 8312 | =end original |
| 9710 | 8313 | |
| 9711 | (W | |
| 8314 | (W regexp) Perl が認識できない、バックスラッシュ-文字の組み合わせが | |
| 9712 | 8315 | 使われています。 |
| 8316 | この組み合わせは展開された変数の中か、C<'>-デリミタの正規表現で | |
| 8317 | 出現します。 | |
| 8318 | この文字はリテラルに処理されます。 | |
| 8319 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 9713 | 8320 | |
| 9714 | =item Unrecognized escape \\%c passed through | |
| 8321 | =item Unrecognized escape \\%c passed through | |
| 9715 | 8322 | |
| 9716 | 8323 | =begin original |
| 9717 | 8324 | |
| 9718 | (W | |
| 8325 | (W misc) You used a backslash-character combination which is not | |
| 9719 | recognized by Perl. | |
| 8326 | recognized by Perl. | |
| 9720 | a C<'>-delimited regular expression. The character was understood | |
| 9721 | literally. The <-- HERE shows in the regular expression about where the | |
| 9722 | escape was discovered. | |
| 9723 | 8327 | |
| 9724 | 8328 | =end original |
| 9725 | 8329 | |
| 9726 | (W | |
| 8330 | (W misc) Perl が理解できないバックスラッシュ-文字の組み合わせが | |
| 9727 | 8331 | 使われています。 |
| 9728 | この組み合わせは展開された変数の中か、C<'>-デリミタの正規表現で | |
| 9729 | 出現します。 | |
| 9730 | この文字はリテラルに処理されます。 | |
| 9731 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 9732 | 8332 | |
| 9733 | 8333 | =item Unrecognized signal name "%s" |
| 9734 | 8334 | |
| 9735 | 8335 | =begin original |
| 9736 | 8336 | |
| 9737 | 8337 | (F) You specified a signal name to the kill() function that was not |
| 9738 | 8338 | recognized. Say C<kill -l> in your shell to see the valid signal names |
| 9739 | 8339 | on your system. |
| 9740 | 8340 | |
| 9741 | 8341 | =end original |
| 9742 | 8342 | |
| 9743 | 8343 | (F) kill() 関数に、認識できないシグナル名を指定しました。 |
| 9744 | 8344 | お使いのシステムで使用可能なシグナル名を調べるには、 |
| 9745 | 8345 | シェル上で C<kill -l> などとしてください。 |
| 9746 | 8346 | |
| 9747 | 8347 | =item Unrecognized switch: -%s (-h will show valid options) |
| 9748 | 8348 | |
| 9749 | 8349 | =begin original |
| 9750 | 8350 | |
| 9751 | 8351 | (F) You specified an illegal option to Perl. Don't do that. (If you |
| 9752 | 8352 | think you didn't do that, check the #! line to see if it's supplying the |
| 9753 | 8353 | bad switch on your behalf.) |
| 9754 | 8354 | |
| 9755 | 8355 | =end original |
| 9756 | 8356 | |
| 9757 | 8357 | (F) Perl に間違ったオプションを指定しました。 |
| 9758 | 8358 | これを行なってはいけません。 |
| 9759 | 8359 | (指定したつもりがないのであれば、#! 行に間違ったオプションが |
| 9760 | 8360 | スイッチが指定されていないかをチェックしてください。) |
| 9761 | 8361 | |
| 9762 | 8362 | =item Unsuccessful %s on filename containing newline |
| 9763 | 8363 | |
| 9764 | 8364 | =begin original |
| 9765 | 8365 | |
| 9766 | 8366 | (W newline) A file operation was attempted on a filename, and that |
| 9767 | 8367 | operation failed, PROBABLY because the filename contained a newline, |
| 9768 | 8368 | PROBABLY because you forgot to chomp() it off. See L<perlfunc/chomp>. |
| 9769 | 8369 | |
| 9770 | 8370 | =end original |
| 9771 | 8371 | |
| 9772 | 8372 | (W newline) あるファイル名に対して、ファイル操作を行ないましたが、 |
| 9773 | 8373 | 失敗しました。 |
| 9774 | 8374 | 「おそらく」ファイル名に改行文字がついていたからで、 |
| 9775 | 8375 | 「おそらく」 chomp() するのを忘れたのでしょう。 |
| 9776 | 8376 | L<perlfunc/chomp> を参照してください。 |
| 9777 | 8377 | |
| 9778 | 8378 | =item Unsupported directory function "%s" called |
| 9779 | 8379 | |
| 9780 | 8380 | =begin original |
| 9781 | 8381 | |
| 9782 | 8382 | (F) Your machine doesn't support opendir() and readdir(). |
| 9783 | 8383 | |
| 9784 | 8384 | =end original |
| 9785 | 8385 | |
| 9786 | 8386 | (F) このマシンでは、opendir() や readdir() がサポートされていません。 |
| 9787 | 8387 | |
| 9788 | 8388 | =item Unsupported function %s |
| 9789 | 8389 | |
| 9790 | 8390 | =begin original |
| 9791 | 8391 | |
| 9792 | 8392 | (F) This machine doesn't implement the indicated function, apparently. |
| 9793 | 8393 | At least, Configure doesn't think so. |
| 9794 | 8394 | |
| 9795 | 8395 | =end original |
| 9796 | 8396 | |
| 9797 | 8397 | (F) このマシンでは、表示した関数は実装されていません。 |
| 9798 | 8398 | 少なくとも、Configure はそう判断しました。 |
| 9799 | 8399 | |
| 9800 | 8400 | =item Unsupported function fork |
| 9801 | 8401 | |
| 9802 | 8402 | =begin original |
| 9803 | 8403 | |
| 9804 | 8404 | (F) Your version of executable does not support forking. |
| 9805 | 8405 | |
| 9806 | 8406 | =end original |
| 9807 | 8407 | |
| 9808 | 8408 | (F) この実行ファイルは fork に対応していません。 |
| 9809 | 8409 | |
| 9810 | 8410 | =begin original |
| 9811 | 8411 | |
| 9812 | 8412 | Note that under some systems, like OS/2, there may be different flavors |
| 9813 | 8413 | of Perl executables, some of which may support fork, some not. Try |
| 9814 | 8414 | changing the name you call Perl by to C<perl_>, C<perl__>, and so on. |
| 9815 | 8415 | |
| 9816 | 8416 | =end original |
| 9817 | 8417 | |
| 9818 | 8418 | OS/2 のようなシステムには、Perl 実行ファイルにいくつかの種類があり、 |
| 9819 | 8419 | fork に対応しているものとしていないものがあります。 |
| 9820 | 8420 | Perl を呼び出す時の名前を C<perl_>, C<perl__> のように |
| 9821 | 8421 | 変えてみてください。 |
| 9822 | 8422 | |
| 9823 | =item Unsupported script encoding | |
| 8423 | =item Unsupported script encoding | |
| 9824 | 8424 | |
| 9825 | 8425 | =begin original |
| 9826 | 8426 | |
| 9827 | 8427 | (F) Your program file begins with a Unicode Byte Order Mark (BOM) which |
| 9828 | 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. | |
| 9829 | 8429 | |
| 9830 | 8430 | =end original |
| 9831 | 8431 | |
| 9832 | 8432 | (F) プログラムファイルが、Perl が読み込めない Unicode エンコーディングを |
| 9833 | 8433 | 宣言する Unicode Byte Order Mark (BOM) で始まっています。 |
| 9834 | 8434 | |
| 9835 | 8435 | =item Unsupported socket function "%s" called |
| 9836 | 8436 | |
| 9837 | 8437 | =begin original |
| 9838 | 8438 | |
| 9839 | 8439 | (F) Your machine doesn't support the Berkeley socket mechanism, or at |
| 9840 | 8440 | least that's what Configure thought. |
| 9841 | 8441 | |
| 9842 | 8442 | =end original |
| 9843 | 8443 | |
| 9844 | 8444 | (F) このマシンでは、Berkeley ソケット機構がサポートされていないか、 |
| 9845 | 8445 | 少なくとも Configure がそう判断しました。 |
| 9846 | 8446 | |
| 9847 | 8447 | =item Unterminated attribute list |
| 9848 | 8448 | |
| 9849 | 8449 | =begin original |
| 9850 | 8450 | |
| 9851 | 8451 | (F) The lexer found something other than a simple identifier at the |
| 9852 | 8452 | start of an attribute, and it wasn't a semicolon or the start of a |
| 9853 | 8453 | block. Perhaps you terminated the parameter list of the previous |
| 9854 | 8454 | attribute too soon. See L<attributes>. |
| 9855 | 8455 | |
| 9856 | 8456 | =end original |
| 9857 | 8457 | |
| 9858 | 8458 | (F) 字句解析器が、属性の先頭として単純な識別子やセミコロンやブロックの |
| 9859 | 8459 | 開始でないものを発見しました。 |
| 9860 | 8460 | おそらく以前の属性のパラメータリストを早く終端しすぎたのでしょう。 |
| 9861 | 8461 | L<attributes> を参照してください。 |
| 9862 | 8462 | |
| 9863 | 8463 | =item Unterminated attribute parameter in attribute list |
| 9864 | 8464 | |
| 9865 | 8465 | =begin original |
| 9866 | 8466 | |
| 9867 | 8467 | (F) The lexer saw an opening (left) parenthesis character while parsing |
| 9868 | 8468 | an attribute list, but the matching closing (right) parenthesis |
| 9869 | 8469 | character was not found. You may need to add (or remove) a backslash |
| 9870 | 8470 | character to get your parentheses to balance. See L<attributes>. |
| 9871 | 8471 | |
| 9872 | 8472 | =end original |
| 9873 | 8473 | |
| 9874 | 8474 | (F) 字句解析器が、属性リストをパースしているときに開き(左)かっこを |
| 9875 | 8475 | 発見しましたが、対応する閉じ(右)かっこが見つかりませんでした。 |
| 9876 | 8476 | かっこのバランスを取るために、バックスラッシュを追加(または削除)する |
| 9877 | 8477 | 必要があるでしょう。 |
| 9878 | 8478 | L<attributes> を参照してください。 |
| 9879 | 8479 | |
| 9880 | 8480 | =item Unterminated compressed integer |
| 9881 | 8481 | |
| 9882 | 8482 | =begin original |
| 9883 | 8483 | |
| 9884 | 8484 | (F) An argument to unpack("w",...) was incompatible with the BER |
| 9885 | 8485 | compressed integer format and could not be converted to an integer. |
| 9886 | 8486 | See L<perlfunc/pack>. |
| 9887 | 8487 | |
| 9888 | 8488 | =end original |
| 9889 | 8489 | |
| 9890 | 8490 | (F) unpack("w",...) の引数が BER 圧縮整数フォーマットと互換性がなく、 |
| 9891 | 8491 | 整数に変換できませんでした。 |
| 9892 | 8492 | L<perlfunc/pack> を参照してください。 |
| 9893 | 8493 | |
| 9894 | 8494 | =item Unterminated <> operator |
| 9895 | 8495 | |
| 9896 | 8496 | =begin original |
| 9897 | 8497 | |
| 9898 | 8498 | (F) The lexer saw a left angle bracket in a place where it was expecting |
| 9899 | 8499 | a term, so it's looking for the corresponding right angle bracket, and |
| 9900 | 8500 | not finding it. Chances are you left some needed parentheses out |
| 9901 | 8501 | earlier in the line, and you really meant a "less than". |
| 9902 | 8502 | |
| 9903 | 8503 | =end original |
| 9904 | 8504 | |
| 9905 | 8505 | (F) 項が必要とされるところで、開き山括弧が見つけたため、 |
| 9906 | 8506 | 対応する閉じ山括弧を探しましたが、見つかりませんでした。 |
| 9907 | 8507 | 可能性としては、必要な括弧を省いてしまい、本当は、「小なり記号」を |
| 9908 | 8508 | 表したかった場合が考えられます。 |
| 9909 | 8509 | |
| 9910 | 8510 | =item untie attempted while %d inner references still exist |
| 9911 | 8511 | |
| 9912 | 8512 | =begin original |
| 9913 | 8513 | |
| 9914 | 8514 | (W untie) A copy of the object returned from C<tie> (or C<tied>) was |
| 9915 | 8515 | still valid when C<untie> was called. |
| 9916 | 8516 | |
| 9917 | 8517 | =end original |
| 9918 | 8518 | |
| 9919 | 8519 | (W untie) C<tie> (または C<tied>) から返されたオブジェクトが、 |
| 9920 | 8520 | C<untie> が呼び出されたときにまだ有効でした。 |
| 9921 | 8521 | |
| 9922 | =item Usage: POSIX::%s(%s) | |
| 9923 | ||
| 9924 | =begin original | |
| 9925 | ||
| 9926 | (F) You called a POSIX function with incorrect arguments. | |
| 9927 | See L<POSIX/FUNCTIONS> for more information. | |
| 9928 | ||
| 9929 | =end original | |
| 9930 | ||
| 9931 | (F) POSIX 関数を間違った引数で呼び出しました。 | |
| 9932 | さらなる情報については L<POSIX/FUNCTIONS> を参照してください。 | |
| 9933 | ||
| 9934 | =item Usage: Win32::%s(%s) | |
| 9935 | ||
| 9936 | =begin original | |
| 9937 | ||
| 9938 | (F) You called a Win32 function with incorrect arguments. | |
| 9939 | See L<Win32> for more information. | |
| 9940 | ||
| 9941 | =end original | |
| 9942 | ||
| 9943 | (F) Win32 関数を間違った引数で呼び出しました。 | |
| 9944 | 更なる情報については L<Win32> を参照してください。 | |
| 9945 | ||
| 9946 | =item Useless (?-%s) - don't use /%s modifier in regex; marked by <-- HERE in m/%s/ | |
| 9947 | ||
| 9948 | =begin original | |
| 9949 | ||
| 9950 | (W regexp) You have used an internal modifier such as (?-o) that has no | |
| 9951 | meaning unless removed from the entire regexp: | |
| 9952 | ||
| 9953 | =end original | |
| 9954 | ||
| 9955 | (W regexp) (?-o) のような内部修飾子は、正規表現全体から除去されなければ | |
| 9956 | 意味がありません: | |
| 9957 | ||
| 9958 | if ($string =~ /(?-o)$pattern/o) { ... } | |
| 9959 | ||
| 9960 | =begin original | |
| 9961 | ||
| 9962 | must be written as | |
| 9963 | ||
| 9964 | =end original | |
| 9965 | ||
| 9966 | このように書かなければなりません: | |
| 9967 | ||
| 9968 | if ($string =~ /$pattern/) { ... } | |
| 9969 | ||
| 9970 | =begin original | |
| 9971 | ||
| 9972 | The <-- HERE shows in the regular expression about | |
| 9973 | where the problem was discovered. See L<perlre>. | |
| 9974 | ||
| 9975 | =end original | |
| 9976 | ||
| 9977 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 9978 | L<perlre> を参照してください。 | |
| 9979 | ||
| 9980 | =item Useless (?%s) - use /%s modifier in regex; marked by <-- HERE in m/%s/ | |
| 9981 | ||
| 9982 | =begin original | |
| 9983 | ||
| 9984 | (W regexp) You have used an internal modifier such as (?o) that has no | |
| 9985 | meaning unless applied to the entire regexp: | |
| 9986 | ||
| 9987 | =end original | |
| 9988 | ||
| 9989 | (W regexp) (?o) のような内部修飾子は、正規表現全体に適用されなければ | |
| 9990 | 意味がありません: | |
| 9991 | ||
| 9992 | if ($string =~ /(?o)$pattern/) { ... } | |
| 9993 | ||
| 9994 | =begin original | |
| 9995 | ||
| 9996 | must be written as | |
| 9997 | ||
| 9998 | =end original | |
| 9999 | ||
| 10000 | これは以下のように書かなければなりません: | |
| 10001 | ||
| 10002 | if ($string =~ /$pattern/o) { ... } | |
| 10003 | ||
| 10004 | =begin original | |
| 10005 | ||
| 10006 | The <-- HERE shows in the regular expression about | |
| 10007 | where the problem was discovered. See L<perlre>. | |
| 10008 | ||
| 10009 | =end original | |
| 10010 | ||
| 10011 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 10012 | L<perlre> を参照してください。 | |
| 10013 | ||
| 10014 | 8522 | =item Useless use of %s in void context |
| 10015 | 8523 | |
| 10016 | 8524 | =begin original |
| 10017 | 8525 | |
| 10018 | 8526 | (W void) You did something without a side effect in a context that does |
| 10019 | 8527 | nothing with the return value, such as a statement that doesn't return a |
| 10020 | 8528 | value from a block, or the left side of a scalar comma operator. Very |
| 10021 | 8529 | often this points not to stupidity on your part, but a failure of Perl |
| 10022 | 8530 | to parse your program the way you thought it would. For example, you'd |
| 10023 | 8531 | get this if you mixed up your C precedence with Python precedence and |
| 10024 | 8532 | said |
| 10025 | 8533 | |
| 10026 | 8534 | =end original |
| 10027 | 8535 | |
| 10028 | 8536 | (W void) ブロックの値を返さない文や、スカラのコンマ演算子の左側のように |
| 10029 | 8537 | 返却値の無い文脈で、副作用のないことを行ないました。 |
| 10030 | 8538 | 多くは、みなさんの間違いを指摘するものではなく、Perl がみなさんの |
| 10031 | 8539 | 意向を汲み取った解釈ができないことで起こります。 |
| 10032 | 8540 | たとえば、みなさんが C の優先順位を Python の優先順位と混同して |
| 10033 | 8541 | 以下のようにした場合です: |
| 10034 | 8542 | |
| 10035 | 8543 | $one, $two = 1, 2; |
| 10036 | 8544 | |
| 10037 | 8545 | =begin original |
| 10038 | 8546 | |
| 10039 | 8547 | when you meant to say |
| 10040 | 8548 | |
| 10041 | 8549 | =end original |
| 10042 | 8550 | |
| 10043 | 8551 | 以下のようにするべきです。 |
| 10044 | 8552 | |
| 10045 | 8553 | ($one, $two) = (1, 2); |
| 10046 | 8554 | |
| 10047 | 8555 | =begin original |
| 10048 | 8556 | |
| 10049 | 8557 | Another common error is to use ordinary parentheses to construct a list |
| 10050 | 8558 | reference when you should be using square or curly brackets, for |
| 10051 | 8559 | example, if you say |
| 10052 | 8560 | |
| 10053 | 8561 | =end original |
| 10054 | 8562 | |
| 10055 | 8563 | その他の良くあるエラーとしては、リストを作るのに中括弧や |
| 10056 | 8564 | 大括弧を使うべきところで普通の括弧を使うことです。 |
| 10057 | 8565 | 例えば、以下のように書いた場合です: |
| 10058 | 8566 | |
| 10059 | 8567 | $array = (1,2); |
| 10060 | 8568 | |
| 10061 | 8569 | =begin original |
| 10062 | 8570 | |
| 10063 | 8571 | when you should have said |
| 10064 | 8572 | |
| 10065 | 8573 | =end original |
| 10066 | 8574 | |
| 10067 | 8575 | 以下のように書くべきです: |
| 10068 | 8576 | |
| 10069 | 8577 | $array = [1,2]; |
| 10070 | 8578 | |
| 10071 | 8579 | =begin original |
| 10072 | 8580 | |
| 10073 | 8581 | The square brackets explicitly turn a list value into a scalar value, |
| 10074 | 8582 | while parentheses do not. So when a parenthesized list is evaluated in |
| 10075 | 8583 | a scalar context, the comma is treated like C's comma operator, which |
| 10076 | 8584 | throws away the left argument, which is not what you want. See |
| 10077 | 8585 | L<perlref> for more on this. |
| 10078 | 8586 | |
| 10079 | 8587 | =end original |
| 10080 | 8588 | |
| 10081 | 8589 | 角かっこはリスト値を明示的にスカラ値に変換しますが、かっこは変換しません。 |
| 10082 | 8590 | そのため、かっこで括られたリストをスカラコンテキストで評価すると、 |
| 10083 | 8591 | カンマは C のカンマ演算子のように扱われ、左側の引数は捨てられます; |
| 10084 | 8592 | これは望んでいることではないでしょう。 |
| 10085 | 8593 | これに関するさらなる情報については L<perlref> を参照してください。 |
| 10086 | 8594 | |
| 10087 | =begin original | |
| 10088 | ||
| 10089 | This warning will not be issued for numerical constants equal to 0 or 1 | |
| 10090 | since they are often used in statements like | |
| 10091 | ||
| 10092 | =end original | |
| 10093 | ||
| 10094 | この警告は、0 か 1 と等しい数値定数では起きません; なぜなら、 | |
| 10095 | しばしば以下のような文で使われるからです: | |
| 10096 | ||
| 10097 | 1 while sub_with_side_effects(); | |
| 10098 | ||
| 10099 | =begin original | |
| 10100 | ||
| 10101 | String constants that would normally evaluate to 0 or 1 are warned | |
| 10102 | about. | |
| 10103 | ||
| 10104 | =end original | |
| 10105 | ||
| 10106 | 通常 0 か 1 に評価される文字列定数は警告されます。 | |
| 10107 | ||
| 10108 | 8595 | =item Useless use of "re" pragma |
| 10109 | 8596 | |
| 10110 | 8597 | =begin original |
| 10111 | 8598 | |
| 10112 | 8599 | (W) You did C<use re;> without any arguments. That isn't very useful. |
| 10113 | 8600 | |
| 10114 | 8601 | =end original |
| 10115 | 8602 | |
| 10116 | 8603 | (W) C<use re;> プラグマを引数なしで指定しました。これは無意味です。 |
| 10117 | 8604 | |
| 10118 | =item Useless use of sort in scalar context | |
| 10119 | ||
| 10120 | =begin original | |
| 10121 | ||
| 10122 | (W void) You used sort in scalar context, as in : | |
| 10123 | ||
| 10124 | =end original | |
| 10125 | ||
| 10126 | (W void) こんな風に、ソートをスカラコンテキストで使いました: | |
| 10127 | ||
| 10128 | my $x = sort @y; | |
| 10129 | ||
| 10130 | =begin original | |
| 10131 | ||
| 10132 | This is not very useful, and perl currently optimizes this away. | |
| 10133 | ||
| 10134 | =end original | |
| 10135 | ||
| 10136 | これは全く便利ではないので、perl は現在のところ最適化して取り除きます。 | |
| 10137 | ||
| 10138 | =item Useless use of %s with no values | |
| 10139 | ||
| 10140 | =begin original | |
| 10141 | ||
| 10142 | (W syntax) You used the push() or unshift() function with no arguments | |
| 10143 | apart from the array, like C<push(@x)> or C<unshift(@foo)>. That won't | |
| 10144 | usually have any effect on the array, so is completely useless. It's | |
| 10145 | possible in principle that push(@tied_array) could have some effect | |
| 10146 | if the array is tied to a class which implements a PUSH method. If so, | |
| 10147 | you can write it as C<push(@tied_array,())> to avoid this warning. | |
| 10148 | ||
| 10149 | =end original | |
| 10150 | ||
| 10151 | (W syntax) C<push(@x)> や C<unshift(@foo)> のようにして、push() 関数や | |
| 10152 | unshift() 関数を、配列以外の引数なしで使いました。 | |
| 10153 | これは普通は配列に何の影響も与えないので、完全に無意味です。 | |
| 10154 | 理論的には、配列が tie されているクラスの PUSH メソッドの実装によっては | |
| 10155 | push(@tied_array) が何らかの効果を持つ可能性はあります。 | |
| 10156 | もしそうなら、これを C<push(@tied_array,())> のように書くことで警告を | |
| 10157 | 回避できます。 | |
| 10158 | ||
| 10159 | 8605 | =item "use" not allowed in expression |
| 10160 | 8606 | |
| 10161 | 8607 | =begin original |
| 10162 | 8608 | |
| 10163 | 8609 | (F) The "use" keyword is recognized and executed at compile time, and |
| 10164 | 8610 | returns no useful value. See L<perlmod>. |
| 10165 | 8611 | |
| 10166 | 8612 | =end original |
| 10167 | 8613 | |
| 10168 | 8614 | (F) "use" キーワードは、コンパイル時に認識され、実行されるもので、 |
| 10169 | 8615 | 意味のある値を返しません。 |
| 10170 | 8616 | L<perlmod> を参照してください。 |
| 10171 | 8617 | |
| 10172 | 8618 | =item Use of bare << to mean <<"" is deprecated |
| 10173 | 8619 | |
| 10174 | 8620 | =begin original |
| 10175 | 8621 | |
| 10176 | 8622 | (D deprecated) You are now encouraged to use the explicitly quoted form |
| 10177 | 8623 | if you wish to use an empty line as the terminator of the here-document. |
| 10178 | 8624 | |
| 10179 | 8625 | =end original |
| 10180 | 8626 | |
| 10181 | 8627 | (D deprecated) ヒアドキュメントの終端子として空行を使いたいときには、 |
| 10182 | 8628 | 明示的にクォートされた形を使うことを推奨しています。 |
| 10183 | 8629 | |
| 10184 | =item Use of chdir('') or chdir(undef) as chdir() deprecated | |
| 10185 | ||
| 10186 | =begin original | |
| 10187 | ||
| 10188 | (D deprecated) chdir() with no arguments is documented to change to | |
| 10189 | $ENV{HOME} or $ENV{LOGDIR}. chdir(undef) and chdir('') share this | |
| 10190 | behavior, but that has been deprecated. In future versions they | |
| 10191 | will simply fail. | |
| 10192 | ||
| 10193 | =end original | |
| 10194 | ||
| 10195 | (D deprecated) 引数なしの chdir() は、$ENV{HOME} か $ENV{LOGDIR} に | |
| 10196 | 変更すると文書化されています。 | |
| 10197 | chdir(undef) と chdir('') も同じふるまいをしますが、これは非推奨です。 | |
| 10198 | 将来のバージョンでは単に失敗するでしょう。 | |
| 10199 | ||
| 10200 | =begin original | |
| 10201 | ||
| 10202 | Be careful to check that what you pass to chdir() is defined and not | |
| 10203 | blank, else you might find yourself in your home directory. | |
| 10204 | ||
| 10205 | =end original | |
| 10206 | ||
| 10207 | chdir() に渡すものが定義されていて、空白ではないことをチェックするように | |
| 10208 | 注意してください; さもないとホームディレクトリに | |
| 10209 | 移動してしまうかもしれません。 | |
| 10210 | ||
| 10211 | =item Use of /c modifier is meaningless in s/// | |
| 10212 | ||
| 10213 | =begin original | |
| 10214 | ||
| 10215 | (W regexp) You used the /c modifier in a substitution. The /c | |
| 10216 | modifier is not presently meaningful in substitutions. | |
| 10217 | ||
| 10218 | =end original | |
| 10219 | ||
| 10220 | (W regexp) 置換で /c 修飾子を使いました。 | |
| 10221 | /c は置換では現在のところ無意味です。 | |
| 10222 | ||
| 10223 | =item Use of /c modifier is meaningless without /g | |
| 10224 | ||
| 10225 | =begin original | |
| 10226 | ||
| 10227 | (W regexp) You used the /c modifier with a regex operand, but didn't | |
| 10228 | use the /g modifier. Currently, /c is meaningful only when /g is | |
| 10229 | used. (This may change in the future.) | |
| 10230 | ||
| 10231 | =end original | |
| 10232 | ||
| 10233 | (W regexp) 正規表現オペランドに /c 修飾子を使いましたが、/g 修飾子は | |
| 10234 | 使いませんでした。 | |
| 10235 | 現在のところ、/c は /g が使われたときにのみ有効です。 | |
| 10236 | (これは将来変更されるかもしれません。) | |
| 10237 | ||
| 10238 | =item Use of freed value in iteration | |
| 10239 | ||
| 10240 | =begin original | |
| 10241 | ||
| 10242 | (F) Perhaps you modified the iterated array within the loop? | |
| 10243 | This error is typically caused by code like the following: | |
| 10244 | ||
| 10245 | =end original | |
| 10246 | ||
| 10247 | (F) おそらくループの中で反復される配列を変更したのでは? | |
| 10248 | このエラーは典型的には以下のようなコードで発生します: | |
| 10249 | ||
| 10250 | @a = (3,4); | |
| 10251 | @a = () for (1,2,@a); | |
| 10252 | ||
| 10253 | =begin original | |
| 10254 | ||
| 10255 | You are not supposed to modify arrays while they are being iterated over. | |
| 10256 | For speed and efficiency reasons, Perl internally does not do full | |
| 10257 | reference-counting of iterated items, hence deleting such an item in the | |
| 10258 | middle of an iteration causes Perl to see a freed value. | |
| 10259 | ||
| 10260 | =end original | |
| 10261 | ||
| 10262 | 反復中の配列は変更してはいけないことになっています。 | |
| 10263 | 速度と効率上の理由から、Perl 内部では反復されたアイテムの参照カウントを | |
| 10264 | 完全には数えていません; 従って反復中のアイテムのを削除すると Perl は | |
| 10265 | 解放された値を見ることになります。 | |
| 10266 | ||
| 10267 | =item Use of *glob{FILEHANDLE} is deprecated | |
| 10268 | ||
| 10269 | =begin original | |
| 10270 | ||
| 10271 | (D deprecated) You are now encouraged to use the shorter *glob{IO} form | |
| 10272 | to access the filehandle slot within a typeglob. | |
| 10273 | ||
| 10274 | =end original | |
| 10275 | ||
| 10276 | (D deprecated) 型グロブの中のファイルハンドルスロットにアクセスするには、 | |
| 10277 | より短い *glob{IO} の形を使うことを推奨されています。 | |
| 10278 | ||
| 10279 | =item Use of /g modifier is meaningless in split | |
| 10280 | ||
| 10281 | =begin original | |
| 10282 | ||
| 10283 | (W regexp) You used the /g modifier on the pattern for a C<split> | |
| 10284 | operator. Since C<split> always tries to match the pattern | |
| 10285 | repeatedly, the C</g> has no effect. | |
| 10286 | ||
| 10287 | =end original | |
| 10288 | ||
| 10289 | (W regexp) C<split> 演算子のパターンで /g 修飾子を使いました。 | |
| 10290 | C<split> は常にパターンを繰り返しマッチングしようとするので、 | |
| 10291 | C</g> は効果がありません。 | |
| 10292 | ||
| 10293 | 8630 | =item Use of implicit split to @_ is deprecated |
| 10294 | 8631 | |
| 10295 | 8632 | =begin original |
| 10296 | 8633 | |
| 10297 | 8634 | (D deprecated) It makes a lot of work for the compiler when you clobber |
| 10298 | 8635 | a subroutine's argument list, so it's better if you assign the results |
| 10299 | 8636 | of a split() explicitly to an array (or list). |
| 10300 | 8637 | |
| 10301 | 8638 | =end original |
| 10302 | 8639 | |
| 10303 | 8640 | (D deprecated) サブルーティンの引数を壊すとコンパイラに多大な労力を |
| 10304 | 8641 | かけることになるので、split() の結果は明示的に配列 (やリスト) に |
| 10305 | 8642 | 代入を行なうようにしてください。 |
| 10306 | 8643 | |
| 10307 | 8644 | =item Use of inherited AUTOLOAD for non-method %s() is deprecated |
| 10308 | 8645 | |
| 10309 | 8646 | =begin original |
| 10310 | 8647 | |
| 10311 | 8648 | (D deprecated) As an (ahem) accidental feature, C<AUTOLOAD> subroutines |
| 10312 | 8649 | are looked up as methods (using the C<@ISA> hierarchy) even when the |
| 10313 | 8650 | subroutines to be autoloaded were called as plain functions (e.g. |
| 10314 | 8651 | C<Foo::bar()>), not as methods (e.g. C<< Foo->bar() >> or C<< |
| 10315 | 8652 | $obj->bar() >>). |
| 10316 | 8653 | |
| 10317 | 8654 | =end original |
| 10318 | 8655 | |
| 10319 | 8656 | (D deprecated) (エヘン)偶発的な仕様によって、C<AUTOLOAD> サブルーチンは、 |
| 10320 | 8657 | autoload されるサブルーチンがメソッド (C<< Foo->bar() >> や |
| 10321 | 8658 | C<< $obj->bar() >>) ではなく、普通の関数 (C<Foo::bar()>) として |
| 10322 | 8659 | 呼び出された場合にも、(C<@ISA> 階層を使って) メソッドとして検索します。 |
| 10323 | 8660 | |
| 10324 | 8661 | =begin original |
| 10325 | 8662 | |
| 10326 | 8663 | This bug will be rectified in future by using method lookup only for |
| 10327 | 8664 | methods' C<AUTOLOAD>s. However, there is a significant base of existing |
| 10328 | 8665 | code that may be using the old behavior. So, as an interim step, Perl |
| 10329 | 8666 | currently issues an optional warning when non-methods use inherited |
| 10330 | 8667 | C<AUTOLOAD>s. |
| 10331 | 8668 | |
| 10332 | 8669 | =end original |
| 10333 | 8670 | |
| 10334 | 8671 | このバグは、メソッドの検索をメソッドの C<AUTOLOAD> のみで使うことによって |
| 10335 | 8672 | 将来修正される予定です。 |
| 10336 | 8673 | しかし、現在のコードの大部分は古い振る舞いを使っています。 |
| 10337 | 8674 | それで、暫定的なステップとして、Perl は現在のところは、 |
| 10338 | 8675 | メソッド以外が継承されたC<AUTOLOAD> を使うときにオプションの警告を |
| 10339 | 8676 | 発生させます。 |
| 10340 | 8677 | |
| 10341 | 8678 | =begin original |
| 10342 | 8679 | |
| 10343 | 8680 | The simple rule is: Inheritance will not work when autoloading |
| 10344 | 8681 | non-methods. The simple fix for old code is: In any module that used |
| 10345 | 8682 | to depend on inheriting C<AUTOLOAD> for non-methods from a base class |
| 10346 | 8683 | named C<BaseClass>, execute C<*AUTOLOAD = \&BaseClass::AUTOLOAD> during |
| 10347 | 8684 | startup. |
| 10348 | 8685 | |
| 10349 | 8686 | =end original |
| 10350 | 8687 | |
| 10351 | 8688 | 単純な規則は: 継承は autoload された非メソッドには動作しません。 |
| 10352 | 8689 | 古いコードを修正する簡単な方法は: C<BaseClass> という名前のベースクラスから |
| 10353 | 8690 | 非メソッドのための継承した C<AUTOLOAD> に依存しているモジュールに対して、 |
| 10354 | 8691 | 開始時に C<*AUTOLOAD = \&BaseClass::AUTOLOAD> を実行してください。 |
| 10355 | 8692 | |
| 10356 | 8693 | =begin original |
| 10357 | 8694 | |
| 10358 | 8695 | In code that currently says C<use AutoLoader; @ISA = qw(AutoLoader);> |
| 10359 | 8696 | you should remove AutoLoader from @ISA and change C<use AutoLoader;> to |
| 10360 | 8697 | C<use AutoLoader 'AUTOLOAD';>. |
| 10361 | 8698 | |
| 10362 | 8699 | =end original |
| 10363 | 8700 | |
| 10364 | 8701 | C<use AutoLoader; @ISA = qw(AutoLoader);> としているコードでは、 |
| 10365 | 8702 | @ISA から AutoLoader を取り除いて、C<use AutoLoader;> を |
| 10366 | 8703 | C<use AutoLoader 'AUTOLOAD';> に変更するべきです。 |
| 10367 | 8704 | |
| 10368 | 8705 | =item Use of %s in printf format not supported |
| 10369 | 8706 | |
| 10370 | 8707 | =begin original |
| 10371 | 8708 | |
| 10372 | 8709 | (F) You attempted to use a feature of printf that is accessible from |
| 10373 | 8710 | only C. This usually means there's a better way to do it in Perl. |
| 10374 | 8711 | |
| 10375 | 8712 | =end original |
| 10376 | 8713 | |
| 10377 | 8714 | (F) C でのみアクセス可能な printf の機能を使おうとしました。 |
| 10378 | 8715 | これは普通 Perl で行うより良い方法があります。 |
| 10379 | 8716 | |
| 10380 | 8717 | =item Use of $* is deprecated |
| 10381 | 8718 | |
| 10382 | 8719 | =begin original |
| 10383 | 8720 | |
| 10384 | 8721 | (D deprecated) This variable magically turned on multi-line pattern |
| 10385 | 8722 | matching, both for you and for any luckless subroutine that you happen |
| 10386 | 8723 | to call. You should use the new C<//m> and C<//s> modifiers now to do |
| 10387 | 8724 | that without the dangerous action-at-a-distance effects of C<$*>. |
| 10388 | 8725 | |
| 10389 | 8726 | =end original |
| 10390 | 8727 | |
| 10391 | 8728 | (D) この変数は、自分のスクリプトでも、たまたま呼んだ先のサブルーティンでも、 |
| 10392 | 8729 | 複数行のパターンマッチを有効にしてしまいます。 |
| 10393 | 8730 | C<$*> の離れたところに与える危険な影響を避けてこれを行なうために、 |
| 10394 | 8731 | 新しい C<//m> 修飾子と C<//s> 修飾子を使ってください。 |
| 10395 | 8732 | |
| 10396 | =item Use of $# is deprecated | |
| 10397 | ||
| 10398 | =begin original | |
| 10399 | ||
| 10400 | (D deprecated) This was an ill-advised attempt to emulate a poorly | |
| 10401 | defined B<awk> feature. Use an explicit printf() or sprintf() instead. | |
| 10402 | ||
| 10403 | =end original | |
| 10404 | ||
| 10405 | (D deprecated) これは、貧相な awk の機能をエミュレートしようとする | |
| 10406 | ものでした。 代わりに、明示的に printf() や sprintf() を使ってください。 | |
| 10407 | ||
| 10408 | 8733 | =item Use of %s is deprecated |
| 10409 | 8734 | |
| 10410 | 8735 | =begin original |
| 10411 | 8736 | |
| 10412 | 8737 | (D deprecated) The construct indicated is no longer recommended for use, |
| 10413 | 8738 | generally because there's a better way to do it, and also because the |
| 10414 | 8739 | old way has bad side effects. |
| 10415 | 8740 | |
| 10416 | 8741 | =end original |
| 10417 | 8742 | |
| 10418 | 8743 | (D deprecated) 示した構文は、もはや使うことが推奨されません。 |
| 10419 | 8744 | 一般にはもっと良い方法があるからであり、また古い方法は、悪い副作用が |
| 10420 | 8745 | あるからです。 |
| 10421 | 8746 | |
| 10422 | =item Use of | |
| 8747 | =item Use of $# is deprecated | |
| 10423 | 8748 | |
| 10424 | 8749 | =begin original |
| 10425 | 8750 | |
| 10426 | ( | |
| 8751 | (D deprecated) This was an ill-advised attempt to emulate a poorly | |
| 10427 | i | |
| 8752 | defined B<awk> feature. Use an explicit printf() or sprintf() instead. | |
| 10428 | The operation returned C<undef>. Use a filename instead. | |
| 10429 | 8753 | |
| 10430 | 8754 | =end original |
| 10431 | 8755 | |
| 10432 | ( | |
| 8756 | (D deprecated) これは、貧相な awk の機能をエミュレートしようとする | |
| 10433 | ||
| 8757 | ものでした。 | |
| 10434 | ||
| 8758 | 代わりに、明示的に printf() や sprintf() を使ってください。 | |
| 10435 | この操作は C<undef> を返します。 | |
| 10436 | 代わりにファイル名を使ってください。 | |
| 10437 | 8759 | |
| 10438 | =item Use of "package" with no arguments is deprecated | |
| 10439 | ||
| 10440 | =begin original | |
| 10441 | ||
| 10442 | (D deprecated) You used the C<package> keyword without specifying a package | |
| 10443 | name. So no namespace is current at all. Using this can cause many | |
| 10444 | otherwise reasonable constructs to fail in baffling ways. C<use strict;> | |
| 10445 | instead. | |
| 10446 | ||
| 10447 | =end original | |
| 10448 | ||
| 10449 | (D deprecated) C<package> キーワードを、パッケージ名なしで使いました。 | |
| 10450 | それで現在の名前空間はなしになっています。 | |
| 10451 | これは、妥当な構造を不可解な方法で失敗させることになります。 | |
| 10452 | 代わりに C<use strict;> を使ってください。 | |
| 10453 | ||
| 10454 | =item Use of reference "%s" as array index | |
| 10455 | ||
| 10456 | =begin original | |
| 10457 | ||
| 10458 | (W misc) You tried to use a reference as an array index; this probably | |
| 10459 | isn't what you mean, because references in numerical context tend | |
| 10460 | to be huge numbers, and so usually indicates programmer error. | |
| 10461 | ||
| 10462 | =end original | |
| 10463 | ||
| 10464 | (W misc) リファレンスを配列の添え字として使おうとしました; これはおそらく | |
| 10465 | 望んでいることではないでしょう; なぜなら数値コンテキストでの | |
| 10466 | リファレンスはとても大きな数になることが多いので、普通はプログラマの | |
| 10467 | ミスを意味しています。 | |
| 10468 | ||
| 10469 | =begin original | |
| 10470 | ||
| 10471 | If you really do mean it, explicitly numify your reference, like so: | |
| 10472 | C<$array[0+$ref]>. This warning is not given for overloaded objects, | |
| 10473 | either, because you can overload the numification and stringification | |
| 10474 | operators and then you assumedly know what you are doing. | |
| 10475 | ||
| 10476 | =end original | |
| 10477 | ||
| 10478 | 本当にそうしたい場合は、C<$array[0+$ref]> のように、リファレンスを明示的に | |
| 10479 | 数値化してください。 | |
| 10480 | この警告はオーバーロードされたオブジェクトでは発生しません; | |
| 10481 | 数値化と文字列化の演算子をオーバーロードして、何をしているかをわかっていると | |
| 10482 | 仮定できるからです。 | |
| 10483 | ||
| 10484 | 8760 | =item Use of reserved word "%s" is deprecated |
| 10485 | 8761 | |
| 10486 | 8762 | =begin original |
| 10487 | 8763 | |
| 10488 | 8764 | (D deprecated) The indicated bareword is a reserved word. Future |
| 10489 | 8765 | versions of perl may use it as a keyword, so you're better off either |
| 10490 | 8766 | explicitly quoting the word in a manner appropriate for its context of |
| 10491 | 8767 | use, or using a different name altogether. The warning can be |
| 10492 | 8768 | suppressed for subroutine names by either adding a C<&> prefix, or using |
| 10493 | 8769 | a package qualifier, e.g. C<&our()>, or C<Foo::our()>. |
| 10494 | 8770 | |
| 10495 | 8771 | =end original |
| 10496 | 8772 | |
| 10497 | 8773 | (D deprecated) 示されている裸の単語は予約語です。 |
| 10498 | 8774 | 将来のバージョンの perl ではこれをキーワードとして使う可能性があるので、 |
| 10499 | 8775 | 使っているコンテキストに適した形で単語をクォートするか、違う名前を |
| 10500 | 8776 | 使ってください。 |
| 10501 | 8777 | この警告は、サブルーチン名の前に C<&> を付ける(C<&our()>)か、 |
| 10502 | 8778 | パッケージ修飾子を付ける(C<Foo::our()>)ことで消すことができます。 |
| 10503 | 8779 | |
| 10504 | =item Use of tainted arguments in %s is deprecated | |
| 10505 | ||
| 10506 | =begin original | |
| 10507 | ||
| 10508 | (W taint, deprecated) You have supplied C<system()> or C<exec()> with multiple | |
| 10509 | arguments and at least one of them is tainted. This used to be allowed | |
| 10510 | but will become a fatal error in a future version of perl. Untaint your | |
| 10511 | arguments. See L<perlsec>. | |
| 10512 | ||
| 10513 | =end original | |
| 10514 | ||
| 10515 | (W taint, deprecated) C<system()> や C<exec()> に複数の引数を与えましたが、 | |
| 10516 | そのうち少なくとも一つが汚染されています。 | |
| 10517 | これは許されていましたが、将来のバージョンの perl では致命的エラーに | |
| 10518 | なるでしょう。 | |
| 10519 | 引数を浄化してください。 | |
| 10520 | L<perlsec> を参照してください。 | |
| 10521 | ||
| 10522 | 8780 | =item Use of uninitialized value%s |
| 10523 | 8781 | |
| 10524 | 8782 | =begin original |
| 10525 | 8783 | |
| 10526 | 8784 | (W uninitialized) An undefined value was used as if it were already |
| 10527 | 8785 | defined. It was interpreted as a "" or a 0, but maybe it was a mistake. |
| 10528 | 8786 | To suppress this warning assign a defined value to your variables. |
| 10529 | 8787 | |
| 10530 | 8788 | =end original |
| 10531 | 8789 | |
| 10532 | 8790 | (W uninitialized) 未定義値を、あたかも既に定義されているかのように |
| 10533 | 8791 | 使用しました。 |
| 10534 | 8792 | これは、"" か 0 と解釈されますが、間違いの可能性があります。 |
| 10535 | 8793 | この警告を止めるには、変数に定義された値を代入してください。 |
| 10536 | 8794 | |
| 10537 | 8795 | =begin original |
| 10538 | 8796 | |
| 10539 | 8797 | To help you figure out what was undefined, perl tells you what operation |
| 10540 | 8798 | you used the undefined value in. Note, however, that perl optimizes your |
| 10541 | 8799 | program and the operation displayed in the warning may not necessarily |
| 10542 | 8800 | appear literally in your program. For example, C<"that $foo"> is |
| 10543 | 8801 | usually optimized into C<"that " . $foo>, and the warning will refer to |
| 10544 | 8802 | the C<concatenation (.)> operator, even though there is no C<.> in your |
| 10545 | 8803 | program. |
| 10546 | 8804 | |
| 10547 | 8805 | =end original |
| 10548 | 8806 | |
| 10549 | ||
| 8807 | To help you figure out what was undefined, perl tells you what operation | |
| 10550 | ||
| 8808 | you used the undefined value in. Note, however, that perl optimizes your | |
| 10551 | ||
| 8809 | program and the operation displayed in the warning may not necessarily | |
| 10552 | ||
| 8810 | appear literally in your program. For example, C<"that $foo"> is | |
| 10553 | ||
| 8811 | usually optimized into C<"that " . $foo>, and the warning will refer to | |
| 10554 | ||
| 8812 | the C<concatenation (.)> operator, even though there is no C<.> in your | |
| 10555 | ||
| 8813 | program. | |
| 10556 | 8814 | |
| 10557 | =item Using a hash as a reference is deprecated | |
| 10558 | ||
| 10559 | =begin original | |
| 10560 | ||
| 10561 | (D deprecated) You tried to use a hash as a reference, as in | |
| 10562 | C<< %foo->{"bar"} >> or C<< %$ref->{"hello"} >>. Versions of perl <= 5.6.1 | |
| 10563 | used to allow this syntax, but shouldn't have. It is now deprecated, and will | |
| 10564 | be removed in a future version. | |
| 10565 | ||
| 10566 | =end original | |
| 10567 | ||
| 10568 | (D deprecated) C<< %foo->{"bar"} >> や C<< %$ref->{"hello"} >> の形で、 | |
| 10569 | ハッシュをリファレンスとして使おうとしました。 | |
| 10570 | 5.6.1 以前のバージョンの perl ではこの構文を許していましたが、 | |
| 10571 | そうするべきではありません。 | |
| 10572 | これは今では非推奨であり、将来のバージョンでは削除されるでしょう。 | |
| 10573 | ||
| 10574 | =item Using an array as a reference is deprecated | |
| 10575 | ||
| 10576 | =begin original | |
| 10577 | ||
| 10578 | (D deprecated) You tried to use an array as a reference, as in | |
| 10579 | C<< @foo->[23] >> or C<< @$ref->[99] >>. Versions of perl <= 5.6.1 used to | |
| 10580 | allow this syntax, but shouldn't have. It is now deprecated, and will be | |
| 10581 | removed in a future version. | |
| 10582 | ||
| 10583 | =end original | |
| 10584 | ||
| 10585 | (D deprecated) C<< @foo->[23] >> や C<< @$ref->[99] >> の形で、 | |
| 10586 | 配列をリファレンスとして使おうとしました。 | |
| 10587 | 5.6.1 以前のバージョンの perl ではこの構文を許していましたが、 | |
| 10588 | そうするべきではありません。 | |
| 10589 | これは今では非推奨であり、将来のバージョンでは削除されるでしょう。 | |
| 10590 | ||
| 10591 | =item UTF-16 surrogate %s | |
| 10592 | ||
| 10593 | =begin original | |
| 10594 | ||
| 10595 | (W utf8) You tried to generate half of an UTF-16 surrogate by | |
| 10596 | requesting a Unicode character between the code points 0xD800 and | |
| 10597 | 0xDFFF (inclusive). That range is reserved exclusively for the use of | |
| 10598 | UTF-16 encoding (by having two 16-bit UCS-2 characters); but Perl | |
| 10599 | encodes its characters in UTF-8, so what you got is a very illegal | |
| 10600 | character. If you really know what you are doing you can turn off | |
| 10601 | this warning by C<no warnings 'utf8';>. | |
| 10602 | ||
| 10603 | =end original | |
| 10604 | ||
| 10605 | (W utf8) コードポイントが 0xD800 から 0xDFFF までの Unicode 文字を | |
| 10606 | 要求することで UTF-16 サロゲートの半分を生成しようとしました。 | |
| 10607 | この範囲は UTF-16 エンコーディングのために(2 つの 16 ビット UCS-2 文字を | |
| 10608 | 持つことで)予約されています; しかし Perl はこの文字を UTF-8 で | |
| 10609 | エンコードするので、得られるものは不正な文字となります。 | |
| 10610 | 本当に何をしているのか分かっている場合は、C<no warnings 'utf8';> と | |
| 10611 | することで警告を消すことができます。 | |
| 10612 | ||
| 10613 | 8815 | =item Value of %s can be "0"; test with defined() |
| 10614 | 8816 | |
| 10615 | 8817 | =begin original |
| 10616 | 8818 | |
| 10617 | 8819 | (W misc) In a conditional expression, you used <HANDLE>, <*> (glob), |
| 10618 | 8820 | C<each()>, or C<readdir()> as a boolean value. Each of these constructs |
| 10619 | 8821 | can return a value of "0"; that would make the conditional expression |
| 10620 | 8822 | false, which is probably not what you intended. When using these |
| 10621 | 8823 | constructs in conditional expressions, test their values with the |
| 10622 | 8824 | C<defined> operator. |
| 10623 | 8825 | |
| 10624 | 8826 | =end original |
| 10625 | 8827 | |
| 10626 | 8828 | (W misc) 条件式の中で、<HANDLE>, <*> (グロブ), C<each()>, C<readdir()> を |
| 10627 | 8829 | 真偽値として使いました。 |
| 10628 | 8830 | これらの構文は値 "0" を返すことがあります; これは条件式では偽を示しますが、 |
| 10629 | 8831 | これはおそらく望んでいることではないでしょう。 |
| 10630 | 8832 | これらの構文を条件式の中で使うときは、その値を C<defined> 演算子で |
| 10631 | 8833 | テストしてください。 |
| 10632 | 8834 | |
| 10633 | 8835 | =item Value of CLI symbol "%s" too long |
| 10634 | 8836 | |
| 10635 | 8837 | =begin original |
| 10636 | 8838 | |
| 10637 | 8839 | (W misc) A warning peculiar to VMS. Perl tried to read the value of an |
| 10638 | 8840 | %ENV element from a CLI symbol table, and found a resultant string |
| 10639 | 8841 | longer than 1024 characters. The return value has been truncated to |
| 10640 | 8842 | 1024 characters. |
| 10641 | 8843 | |
| 10642 | 8844 | =end original |
| 10643 | 8845 | |
| 10644 | 8846 | (W misc) VMS 固有の警告です。 |
| 10645 | 8847 | Perl は CLI シンボルテーブルから %ENV 要素の値を読み込もうとしましたが、 |
| 10646 | 8848 | 結果の文字列が 1024 文字を越えました。 |
| 10647 | 8849 | 返り値は 1024 文字に切り詰められます。 |
| 10648 | 8850 | |
| 10649 | 8851 | =item Variable "%s" is not imported%s |
| 10650 | 8852 | |
| 10651 | 8853 | =begin original |
| 10652 | 8854 | |
| 10653 | 8855 | (F) While "use strict" in effect, you referred to a global variable that |
| 10654 | 8856 | you apparently thought was imported from another module, because |
| 10655 | 8857 | something else of the same name (usually a subroutine) is exported by |
| 10656 | 8858 | that module. It usually means you put the wrong funny character on the |
| 10657 | 8859 | front of your variable. |
| 10658 | 8860 | |
| 10659 | 8861 | =end original |
| 10660 | 8862 | |
| 10661 | 8863 | (F) "use strict" が有効のときに、見たところ他のモジュールから |
| 10662 | 8864 | インポートされたとあなたが考えたグローバル変数を参照しました; |
| 10663 | 8865 | なぜなら同じ名前の何か他のもの(通常はサブルーチン)がそのモジュールから |
| 10664 | 8866 | エクスポートされています。 |
| 10665 | 8867 | これは普通は変数の前に間違ったおかしな文字を置いたことを意味します。 |
| 10666 | 8868 | |
| 10667 | =item Variable length lookbehind not implemented in regex; marked by <-- HERE in m/%s/ | |
| 10668 | ||
| 10669 | =begin original | |
| 10670 | ||
| 10671 | (F) Lookbehind is allowed only for subexpressions whose length is fixed and | |
| 10672 | known at compile time. The <-- HERE shows in the regular expression about | |
| 10673 | where the problem was discovered. See L<perlre>. | |
| 10674 | ||
| 10675 | =end original | |
| 10676 | ||
| 10677 | (F) 後方参照は長さが固定で、コンパイル時に確定している副式に対してのみ可能です。 | |
| 10678 | <-- HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 10679 | ||
| 10680 | 8869 | =item "%s" variable %s masks earlier declaration in same %s |
| 10681 | 8870 | |
| 10682 | 8871 | =begin original |
| 10683 | 8872 | |
| 10684 | 8873 | (W misc) A "my" or "our" variable has been redeclared in the current |
| 10685 | 8874 | scope or statement, effectively eliminating all access to the previous |
| 10686 | 8875 | instance. This is almost always a typographical error. Note that the |
| 10687 | 8876 | earlier variable will still exist until the end of the scope or until |
| 10688 | 8877 | all closure referents to it are destroyed. |
| 10689 | 8878 | |
| 10690 | 8879 | =end original |
| 10691 | 8880 | |
| 10692 | 8881 | (W misc) 現在のスコープや文で "my" 変数や "our" 変数が再宣言されたので、 |
| 10693 | 8882 | 以前の実体への全てのアクセスができなくなりました。 |
| 10694 | 8883 | これはほとんどの場合タイプミスです。 |
| 10695 | 8884 | 以前の変数は、スコープが終わるか、それを参照している全てのクロージャが |
| 10696 | 8885 | 破壊されるまでは存在し続けることに注意してください。 |
| 10697 | 8886 | |
| 10698 | 8887 | =item Variable "%s" may be unavailable |
| 10699 | 8888 | |
| 10700 | 8889 | =begin original |
| 10701 | 8890 | |
| 10702 | 8891 | (W closure) An inner (nested) I<anonymous> subroutine is inside a |
| 10703 | 8892 | I<named> subroutine, and outside that is another subroutine; and the |
| 10704 | 8893 | anonymous (innermost) subroutine is referencing a lexical variable |
| 10705 | 8894 | defined in the outermost subroutine. For example: |
| 10706 | 8895 | |
| 10707 | 8896 | =end original |
| 10708 | 8897 | |
| 10709 | 8898 | (W closure) 内部の(ネストした) I<無名> サブルーチンが I<名前つき> |
| 10710 | 8899 | サブルーチンの内側にあり、その外側は別のサブルーチンです; |
| 10711 | 8900 | そして無名の(一番内側の)サブルーチンが一番外側のサブルーチンで |
| 10712 | 8901 | 定義されているレキシカル変数で参照されています。 |
| 10713 | 8902 | 例えば: |
| 10714 | 8903 | |
| 10715 | 8904 | sub outermost { my $a; sub middle { sub { $a } } } |
| 10716 | 8905 | |
| 10717 | 8906 | =begin original |
| 10718 | 8907 | |
| 10719 | 8908 | If the anonymous subroutine is called or referenced (directly or |
| 10720 | 8909 | indirectly) from the outermost subroutine, it will share the variable as |
| 10721 | 8910 | you would expect. But if the anonymous subroutine is called or |
| 10722 | 8911 | referenced when the outermost subroutine is not active, it will see the |
| 10723 | 8912 | value of the shared variable as it was before and during the *first* |
| 10724 | 8913 | call to the outermost subroutine, which is probably not what you want. |
| 10725 | 8914 | |
| 10726 | 8915 | =end original |
| 10727 | 8916 | |
| 10728 | 8917 | 無名サブルーチンが一番外側のサブルーチンから呼び出されるか(直接または |
| 10729 | 8918 | 間接に)リファレンスされたとき、予想通りに変数は共有されます。 |
| 10730 | 8919 | しかし、一番外側のサブルーチンが有効でない時に無名サブルーチンが呼び出されたり |
| 10731 | 8920 | リファレンスされたりすると、共有された変数の値は一番外側のサブルーチンへの |
| 10732 | 8921 | 最初の呼び出し前および呼び出し中のものになります; |
| 10733 | 8922 | これはおそらく望んでいることではないでしょう。 |
| 10734 | 8923 | |
| 10735 | 8924 | =begin original |
| 10736 | 8925 | |
| 10737 | 8926 | In these circumstances, it is usually best to make the middle subroutine |
| 10738 | 8927 | anonymous, using the C<sub {}> syntax. Perl has specific support for |
| 10739 | 8928 | shared variables in nested anonymous subroutines; a named subroutine in |
| 10740 | 8929 | between interferes with this feature. |
| 10741 | 8930 | |
| 10742 | 8931 | =end original |
| 10743 | 8932 | |
| 10744 | 8933 | このような状況では、普通は C<sub {}> 構文を使って、サブルーチン middle を |
| 10745 | 8934 | 無名にするのが最良です。 |
| 10746 | 8935 | Perl はネストした無名サブルーチンで変数を共有する機能をサポートしています; |
| 10747 | 8936 | この機能のインターフェースの間の名前付きサブルーチンです。 |
| 10748 | 8937 | |
| 10749 | 8938 | =item Variable syntax |
| 10750 | 8939 | |
| 10751 | 8940 | =begin original |
| 10752 | 8941 | |
| 10753 | 8942 | (A) You've accidentally run your script through B<csh> instead |
| 10754 | 8943 | of Perl. Check the #! line, or manually feed your script into |
| 10755 | 8944 | Perl yourself. |
| 10756 | 8945 | |
| 10757 | 8946 | =end original |
| 10758 | 8947 | |
| 10759 | 8948 | (A) スクリプトを perl ではなく B<csh> で実行しようとしました。 |
| 10760 | 8949 | #! 行をチェックするか、スクリプトを直接 Perl で起動してください。 |
| 10761 | 8950 | |
| 10762 | 8951 | =item Variable "%s" will not stay shared |
| 10763 | 8952 | |
| 10764 | 8953 | =begin original |
| 10765 | 8954 | |
| 10766 | 8955 | (W closure) An inner (nested) I<named> subroutine is referencing a |
| 10767 | 8956 | lexical variable defined in an outer subroutine. |
| 10768 | 8957 | |
| 10769 | 8958 | =end original |
| 10770 | 8959 | |
| 10771 | 8960 | (W closure) 内部の(ネストした) I<名前付き> サブルーチンが、 |
| 10772 | 8961 | 外側のサブルーチンで定義したレキシカル変数を参照しています。 |
| 10773 | 8962 | |
| 10774 | 8963 | =begin original |
| 10775 | 8964 | |
| 10776 | 8965 | When the inner subroutine is called, it will probably see the value of |
| 10777 | 8966 | the outer subroutine's variable as it was before and during the *first* |
| 10778 | 8967 | call to the outer subroutine; in this case, after the first call to the |
| 10779 | 8968 | outer subroutine is complete, the inner and outer subroutines will no |
| 10780 | 8969 | longer share a common value for the variable. In other words, the |
| 10781 | 8970 | variable will no longer be shared. |
| 10782 | 8971 | |
| 10783 | 8972 | =end original |
| 10784 | 8973 | |
| 10785 | 8974 | 内側のサブルーチンが呼び出された時、おそらく外側のサブルーチンの値は、 |
| 10786 | 8975 | 最初の外側のサブルーチンへの呼び出し前および呼び出し中のものになります; |
| 10787 | 8976 | この場合、外側のサブルーチンへの最初の呼び出しが終了した後、内側と |
| 10788 | 8977 | 外側のサブルーチンは変数に関して同じ値を共有しなくなります。 |
| 10789 | 8978 | 言い換えると、変数はもはや共有されません。 |
| 10790 | 8979 | |
| 10791 | 8980 | =begin original |
| 10792 | 8981 | |
| 10793 | 8982 | Furthermore, if the outer subroutine is anonymous and references a |
| 10794 | 8983 | lexical variable outside itself, then the outer and inner subroutines |
| 10795 | 8984 | will I<never> share the given variable. |
| 10796 | 8985 | |
| 10797 | 8986 | =end original |
| 10798 | 8987 | |
| 10799 | 8988 | さらに、外側のサブルーチンが無名で、それ自身の外側のレキシカル変数を |
| 10800 | 8989 | 参照している場合、外側と内側のサブルーチンは与えられた変数は |
| 10801 | 8990 | 共有 I<しません>。 |
| 10802 | 8991 | |
| 10803 | 8992 | =begin original |
| 10804 | 8993 | |
| 10805 | 8994 | This problem can usually be solved by making the inner subroutine |
| 10806 | 8995 | anonymous, using the C<sub {}> syntax. When inner anonymous subs that |
| 10807 | 8996 | reference variables in outer subroutines are called or referenced, they |
| 10808 | 8997 | are automatically rebound to the current values of such variables. |
| 10809 | 8998 | |
| 10810 | 8999 | =end original |
| 10811 | 9000 | |
| 10812 | 9001 | この問題は普通、C<sub {}> 構文を使って内側のサブルーチンを無名にすることで |
| 10813 | 9002 | 解決します。 |
| 10814 | 9003 | 外側のサブルーチンの変数を参照している内側の無名サブルーチンが |
| 10815 | 9004 | 呼び出されたり参照されたとき、これらはそのような変数の現在の値に |
| 10816 | 9005 | 自動的に回復します。 |
| 10817 | 9006 | |
| 9007 | =item Variable length lookbehind not implemented before << HERE in %s | |
| 9008 | ||
| 9009 | =begin original | |
| 9010 | ||
| 9011 | (F) Lookbehind is allowed only for subexpressions whose length is fixed and | |
| 9012 | known at compile time. The << HERE shows in the regular expression about where | |
| 9013 | the problem was discovered. | |
| 9014 | ||
| 9015 | =end original | |
| 9016 | ||
| 9017 | (F) 後方参照は長さが固定で、コンパイル時に確定している副式に対してのみ可能です。 | |
| 9018 | << HERE で正規表現のどこに問題が発見されたかを示しています。 | |
| 9019 | ||
| 10818 | 9020 | =item Version number must be a constant number |
| 10819 | 9021 | |
| 10820 | 9022 | =begin original |
| 10821 | 9023 | |
| 10822 | 9024 | (P) The attempt to translate a C<use Module n.n LIST> statement into |
| 10823 | 9025 | its equivalent C<BEGIN> block found an internal inconsistency with |
| 10824 | 9026 | the version number. |
| 10825 | 9027 | |
| 10826 | 9028 | =end original |
| 10827 | 9029 | |
| 10828 | 9030 | (P) C<use Module n.n LIST> 文を等価な C<BEGIN> ブロックに変換しようと |
| 10829 | 9031 | したときに、バージョン番号について内部の不整合を発見しました。 |
| 10830 | 9032 | |
| 10831 | 9033 | =item Warning: something's wrong |
| 10832 | 9034 | |
| 10833 | 9035 | =begin original |
| 10834 | 9036 | |
| 10835 | 9037 | (W) You passed warn() an empty string (the equivalent of C<warn "">) or |
| 10836 | 9038 | you called it with no args and C<$_> was empty. |
| 10837 | 9039 | |
| 10838 | 9040 | =end original |
| 10839 | 9041 | |
| 10840 | 9042 | (W) warn() に空文字列を渡した (C<warn ""> と透過です) か、 |
| 10841 | 9043 | 引数なしで呼び出され、C<$_> も空でした。 |
| 10842 | 9044 | |
| 10843 | 9045 | =item Warning: unable to close filehandle %s properly |
| 10844 | 9046 | |
| 10845 | 9047 | =begin original |
| 10846 | 9048 | |
| 10847 | 9049 | (S) The implicit close() done by an open() got an error indication on |
| 10848 | 9050 | the close(). This usually indicates your file system ran out of disk |
| 10849 | 9051 | space. |
| 10850 | 9052 | |
| 10851 | 9053 | =end original |
| 10852 | 9054 | |
| 10853 | 9055 | (S) open() によって暗黙のうちに行なわれる close() が、 |
| 10854 | 9056 | close() のエラーとなりました。 |
| 10855 | 9057 | 通常、ファイルシステムがいっぱいであることを示します。 |
| 10856 | 9058 | |
| 10857 | 9059 | =item Warning: Use of "%s" without parentheses is ambiguous |
| 10858 | 9060 | |
| 10859 | 9061 | =begin original |
| 10860 | 9062 | |
| 10861 | 9063 | (S ambiguous) You wrote a unary operator followed by something that |
| 10862 | 9064 | looks like a binary operator that could also have been interpreted as a |
| 10863 | 9065 | term or unary operator. For instance, if you know that the rand |
| 10864 | 9066 | function has a default argument of 1.0, and you write |
| 10865 | 9067 | |
| 10866 | 9068 | =end original |
| 10867 | 9069 | |
| 10868 | 9070 | (S ambiguous) 単項演算子の後に、何か項にも単項演算子にも解釈できる、 |
| 10869 | 9071 | 二項演算子のようなものが置かれました。 |
| 10870 | 9072 | たとえば、rand 関数がデフォルトの引数として、1.0 をとることを知って |
| 10871 | 9073 | いれば、以下のように書いて: |
| 10872 | 9074 | |
| 10873 | 9075 | rand + 5; |
| 10874 | 9076 | |
| 10875 | 9077 | =begin original |
| 10876 | 9078 | |
| 10877 | 9079 | you may THINK you wrote the same thing as |
| 10878 | 9080 | |
| 10879 | 9081 | =end original |
| 10880 | 9082 | |
| 10881 | 9083 | 以下の同じことと思うかもしれませんが: |
| 10882 | 9084 | |
| 10883 | 9085 | rand() + 5; |
| 10884 | 9086 | |
| 10885 | 9087 | =begin original |
| 10886 | 9088 | |
| 10887 | 9089 | but in actual fact, you got |
| 10888 | 9090 | |
| 10889 | 9091 | =end original |
| 10890 | 9092 | |
| 10891 | 9093 | 実際には以下のようになります: |
| 10892 | 9094 | |
| 10893 | 9095 | rand(+5); |
| 10894 | 9096 | |
| 10895 | 9097 | =begin original |
| 10896 | 9098 | |
| 10897 | 9099 | So put in parentheses to say what you really mean. |
| 10898 | 9100 | |
| 10899 | 9101 | =end original |
| 10900 | 9102 | |
| 10901 | 9103 | したがって、思うように解釈させるには、括弧が必要になります。 |
| 10902 | 9104 | |
| 10903 | 9105 | =item Wide character in %s |
| 10904 | 9106 | |
| 10905 | 9107 | =begin original |
| 10906 | 9108 | |
| 10907 | ( | |
| 9109 | (F) Perl met a wide character (>255) when it wasn't expecting one. | |
| 10908 | one. This warning is by default on for I/O (like print). The easiest | |
| 10909 | way to quiet this warning is simply to add the C<:utf8> layer to the | |
| 10910 | output, e.g. C<binmode STDOUT, ':utf8'>. Another way to turn off the | |
| 10911 | warning is to add C<no warnings 'utf8';> but that is often closer to | |
| 10912 | cheating. In general, you are supposed to explicitly mark the | |
| 10913 | filehandle with an encoding, see L<open> and L<perlfunc/binmode>. | |
| 10914 | 9110 | |
| 10915 | 9111 | =end original |
| 10916 | 9112 | |
| 10917 | ( | |
| 9113 | (F) Perl が(想定していないところで)ワイド文字(>255)に遭遇しました。 | |
| 10918 | この警告は、(print のような) I/O に対してはデフォルトでオンです。 | |
| 10919 | この警告を黙らせる最も簡単な方法は、C<binmode STDOUT, ':utf8'> のように | |
| 10920 | 出力に単に C<:utf8> 層を追加することです。 | |
| 10921 | もう一つの方法は C<no warnings 'utf8';> を追加することですが、これは | |
| 10922 | しばしばいかさまに近い方法です。 | |
| 10923 | 一般的に、ファイルハンドルにはエンコーディングを明示的に指定することに | |
| 10924 | なっています; L<open> と L<perlfunc/binmode> を参照してください。 | |
| 10925 | 9114 | |
| 10926 | =item | |
| 9115 | =item write() on closed filehandle %s | |
| 10927 | 9116 | |
| 10928 | 9117 | =begin original |
| 10929 | 9118 | |
| 10930 | ( | |
| 9119 | (W closed) The filehandle you're writing to got itself closed sometime | |
| 10931 | ||
| 9120 | before now. Check your logic flow. | |
| 10932 | determined from the template alone. This is not possible if it contains an | |
| 10933 | of the codes @, /, U, u, w or a *-length. Redesign the template. | |
| 10934 | 9121 | |
| 10935 | 9122 | =end original |
| 10936 | 9123 | |
| 10937 | ( | |
| 9124 | (W) 書き込みを行なおうとしたファイルハンドルは、既にクローズされています。 | |
| 10938 | ||
| 9125 | 論理フローをチェックしてください。 | |
| 10939 | 場合にのみ C<[TEMPLATE]> によって置き換えられます。 | |
| 10940 | これは、コード @, /, U, u, w や、長さ * が含まれていると不可能です。 | |
| 10941 | テンプレートを再設計してください。 | |
| 10942 | 9126 | |
| 10943 | =item | |
| 9127 | =item X outside of string | |
| 10944 | 9128 | |
| 10945 | 9129 | =begin original |
| 10946 | 9130 | |
| 10947 | ( | |
| 9131 | (F) You had a pack template that specified a relative position before | |
| 10948 | be | |
| 9132 | the beginning of the string being unpacked. See L<perlfunc/pack>. | |
| 10949 | 9133 | |
| 10950 | 9134 | =end original |
| 10951 | 9135 | |
| 10952 | ( | |
| 9136 | (F) unpack している文字列の先頭より前の相対位置を示している | |
| 10953 | ||
| 9137 | pack テンプレートを指定しました。 | |
| 9138 | L<perlfunc/pack> を参照してください。 | |
| 10954 | 9139 | |
| 10955 | =item | |
| 9140 | =item x outside of string | |
| 10956 | 9141 | |
| 10957 | 9142 | =begin original |
| 10958 | 9143 | |
| 10959 | ||
| 9144 | (F) You had a pack template that specified a relative position after | |
| 10960 | ||
| 9145 | the end of the string being unpacked. See L<perlfunc/pack>. | |
| 10961 | this encoding, for example | |
| 10962 | 9146 | |
| 10963 | 9147 | =end original |
| 10964 | 9148 | |
| 10965 | ||
| 9149 | (F) unpack している文字列の最後より後の相対位置を示している | |
| 10966 | ||
| 9150 | pack テンプレートを指定しました。 | |
| 10967 | ||
| 9151 | L<perlfunc/pack> を参照してください。 | |
| 10968 | 9152 | |
| 10969 | | |
| 9153 | =item Xsub "%s" called in sort | |
| 10970 | 9154 | |
| 10971 | 9155 | =begin original |
| 10972 | 9156 | |
| 10973 | ||
| 9157 | (F) The use of an external subroutine as a sort comparison is not yet | |
| 9158 | supported. | |
| 10974 | 9159 | |
| 10975 | 9160 | =end original |
| 10976 | 9161 | |
| 10977 | ||
| 9162 | (F) ソートの比較ルーティンとして、外部サブルーティンを使用することは、 | |
| 9163 | まだサポートされていません。 | |
| 10978 | 9164 | |
| 10979 | =item | |
| 9165 | =item Xsub called in sort | |
| 10980 | 9166 | |
| 10981 | 9167 | =begin original |
| 10982 | 9168 | |
| 10983 | (F) | |
| 9169 | (F) The use of an external subroutine as a sort comparison is not yet | |
| 10984 | ||
| 9170 | supported. | |
| 10985 | 9171 | |
| 10986 | 9172 | =end original |
| 10987 | 9173 | |
| 10988 | (F) | |
| 9174 | (F) ソートの比較ルーティンとして、外部サブルーティンを使用することは、 | |
| 10989 | ||
| 9175 | まだサポートされていません。 | |
| 10990 | L<perlfunc/pack> を参照してください。 | |
| 10991 | 9176 | |
| 10992 | =item | |
| 9177 | =item You can't use C<-l> on a filehandle | |
| 10993 | 9178 | |
| 10994 | 9179 | =begin original |
| 10995 | 9180 | |
| 10996 | (F) | |
| 9181 | (F) A filehandle represents an opened file, and when you opened the file | |
| 10997 | t | |
| 9182 | it already went past any symlink you are presumably trying to look for. | |
| 9183 | Use a filename instead. | |
| 10998 | 9184 | |
| 10999 | 9185 | =end original |
| 11000 | 9186 | |
| 11001 | (F) | |
| 9187 | (F) ファイルはオープンされたファイルを表わすものであり、 | |
| 11002 | ||
| 9188 | ファイルをオープンしたときには、探しているシンボリックリンクは、 | |
| 11003 | ||
| 9189 | 既に通り過ぎた後です。 | |
| 9190 | 代わりにファイル名を使ってください。 | |
| 11004 | 9191 | |
| 11005 | 9192 | =item YOU HAVEN'T DISABLED SET-ID SCRIPTS IN THE KERNEL YET! |
| 11006 | 9193 | |
| 11007 | 9194 | =begin original |
| 11008 | 9195 | |
| 11009 | 9196 | (F) And you probably never will, because you probably don't have the |
| 11010 | 9197 | sources to your kernel, and your vendor probably doesn't give a rip |
| 11011 | about what you want. Your best bet is to | |
| 9198 | about what you want. Your best bet is to use the wrapsuid script in the | |
| 11012 | your script. | |
| 9199 | eg directory to put a setuid C wrapper around your script. | |
| 11013 | 9200 | |
| 11014 | 9201 | =end original |
| 11015 | 9202 | |
| 11016 | 9203 | (F) (このカーネルでは、SET-ID スクリプトが禁止されていません!) |
| 11017 | そして、そうすることはできないでしょう。 | |
| 9204 | そして、そうすることはできないでしょう。 カーネルのソースはお持ちでは | |
| 11018 | ||
| 9205 | ないでしょうし、ベンダも欲しいものを提供してはくれないでしょうから。 | |
| 11019 | ||
| 9206 | もっとも良いのは、スクリプトに setuid C ラッパーを被せるために、 | |
| 11020 | ||
| 9207 | eg ディレクトリの wrapsuid スクリプトを使ってみることです。 | |
| 11021 | 9208 | |
| 11022 | 9209 | =item You need to quote "%s" |
| 11023 | 9210 | |
| 11024 | 9211 | =begin original |
| 11025 | 9212 | |
| 11026 | 9213 | (W syntax) You assigned a bareword as a signal handler name. |
| 11027 | 9214 | Unfortunately, you already have a subroutine of that name declared, |
| 11028 | 9215 | which means that Perl 5 will try to call the subroutine when the |
| 11029 | 9216 | assignment is executed, which is probably not what you want. (If it IS |
| 11030 | 9217 | what you want, put an & in front.) |
| 11031 | 9218 | |
| 11032 | 9219 | =end original |
| 11033 | 9220 | |
| 11034 | 9221 | (W syntax) シグナルハンドラ名に、裸の単語を代入しました。 |
| 11035 | 9222 | 残念ながら、そのサブルーティンは既に宣言されていて、Perl 5 では、 |
| 11036 | 9223 | おそらく思惑とは違って、代入の実行時にサブルーティンの呼び出しが起こります。 |
| 11037 | 9224 | (もし、本当にそうしたいのであれば、サブルーティン名に & を付けてください。) |
| 11038 | 9225 | |
| 11039 | =item Your random numbers are not that random | |
| 11040 | ||
| 11041 | =begin original | |
| 11042 | ||
| 11043 | (F) When trying to initialise the random seed for hashes, Perl could | |
| 11044 | not get any randomness out of your system. This usually indicates | |
| 11045 | Something Very Wrong. | |
| 11046 | ||
| 11047 | =end original | |
| 11048 | ||
| 11049 | (F) ハッシュのための乱数の種を初期化しようとしたとき、Perl はシステムから | |
| 11050 | 何の乱数性も得られませんでした。 | |
| 11051 | これは普通「何かとても具合が悪い」ことを示しています。 | |
| 11052 | ||
| 11053 | 9226 | =back |
| 11054 | 9227 | |
| 11055 | =cut | |
| 11056 | ||
| 11057 | 9228 | =begin meta |
| 11058 | 9229 | |
| 11059 | Translate: 吉村 寿人 <JAE00534@niftyserve.or.jp> | |
| 9230 | Translate: 吉村 寿人 <JAE00534@niftyserve.or.jp> | |
| 11060 | Update: Kentaro Shirakata <argrath@ub32.org> | |
| 9231 | Update: Kentaro Shirakata <argrath@ub32.org> | |
| 11061 | 9232 | License: GPL or Artistic |
| 11062 | 9233 | |
| 11063 | 9234 | =end meta |
| 9235 | ||
| 9236 | =cut |