http://qs1969.pair.com?node_id=459709


in reply to Re^3: Error Handling with Packages
in thread Error Handling with Packages

to allow your module users to activate/deactivate warnings you can use warnings::register and warnings::enabled() instead of a custom aproach.