strict->import;
warnings->import;
warnings->import(FATAL => @WARNING_CATEGORIES);
- warnings->import(NONFATAL => @V2_NONFATAL);
+ warnings->unimport(FATAL => @V2_NONFATAL);
+ warnings->import(@V2_NONFATAL);
warnings->unimport(@V2_DISABLE);
if (_want_extra($opts->{file})) {
BEGIN {
warnings->import('all');
warnings->import(FATAL => @strictures::WARNING_CATEGORIES);
- warnings->import(NONFATAL => @strictures::V2_NONFATAL);
+ warnings->unimport(FATAL => @strictures::V2_NONFATAL);
+ warnings->import(@strictures::V2_NONFATAL);
warnings->unimport(@strictures::V2_DISABLE);
}
BEGIN { capture_hints }