http://www.perlmonks.org?node_id=185857


in reply to use HTML; # !!!

Move the $SIG{__WARN__} setting into import and have a sub unimport { delete $SIG{__WARN__} } (untested)