in reply to Re^2: use warnings and debug messages
in thread use warnings and debug messages

It should be possible to write your own Our::warnings pragma in order to activate only the finegrained warnings you want.

that's certainly better than using no warnings at all.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

update

Something like

sub import { my ($class, $date) = @_; ... warnings->import(@wanted_warnings); ... }