Lines Matching defs:enabled
520 # &enabled and &fatal_enabled
523 # &warnif, and the category is neither enabled as warning nor as fatal
543 # category is enabled
578 sub enabled
634 # Standard warnings are enabled by use v5.35 or above
644 if (warnings::enabled()) {
648 if (warnings::enabled("void")) {
652 if (warnings::enabled($object)) {
662 The C<warnings> pragma gives control over which warnings are enabled in
677 All warnings are enabled in a block by either of these:
697 The code in the enclosing block has warnings enabled, but the inner
702 All warnings are enabled automatically within the scope of
719 mandatory warnings are still enabled by default, they can then be
720 subsequently enabled or disabled with the lexical warning pragma. For
877 are used, then default warnings will be enabled and optional warnings
915 to be enabled/disabled in isolation.
1087 use warnings qw(void); # only "void" warnings enabled
1089 use warnings qw(io); # only "void" & "io" warnings enabled
1091 no warnings qw(void); # only "io" warnings enabled
1216 warning to a calling module that has enabled warnings via the C<warnings>
1229 if warnings::enabled();
1241 enabled them with the C<warnings> pragma as below - note that a plain
1249 The specific warning can be enabled or disabled, but only after the module
1260 set in the calling module with the C<warnings::enabled> function. Consider
1266 if (warnings::enabled("deprecated")) {
1279 "deprecated" warnings category enabled. Something like this, say.
1300 and C<warnings::enabled> can optionally take an object reference in place
1322 if ($value % 2 && warnings::enabled($self))
1391 =item warnings::enabled()
1395 Return TRUE if that warnings category is enabled in the calling module.
1398 =item warnings::enabled($category)
1400 Return TRUE if the warnings category, C<$category>, is enabled in the
1404 =item warnings::enabled($object)
1409 Return TRUE if that warnings category is enabled in the first scope
1415 Like C<warnings::enabled>, but $level specifies the exact call frame, 0
1479 if (warnings::enabled())
1486 if (warnings::enabled($category))
1493 if (warnings::enabled($object))