- ${^WARNING_BITS}
-
The current set of warning checks enabled by the
use warningspragma. It has the same scoping as the$^Hand%^Hvariables. The exact values are considered internal to the warnings pragma and may change between versions of Perl.use warningsプラグマで有効にされた、現在の警告チェックの集合です。$^Hおよび%^H変数と同じスコープを持ちます。 正確な値は warnings プラグマの内部の値と考えられ、Perl の バージョンによって変更されるかもしれません。Each time a statement completes being compiled, the current value of
${^WARNING_BITS}is stored with that statement, and can later be retrieved via(caller($level))[9].文のコンパイルが完了する毎に、
${^WARNING_BITS}の現在の値が文と共に 保管され、(caller($level))[9]として後で取得できます。This variable was added in Perl v5.6.0.
この変数は Perl v5.6.0 で追加されました。