PerlDancer/Dancer — pull request #887 by symkat (2013-02-06 13:02:52+00:00)
Title: Cleaning up the warnings settings.

A new settings, global_warnings was added to replace import_warnings, as
the function globally enabled warnings the same way as -w/$^W does, this
seems more clear. The documentation was updated to this affect.

import_warnings was deprecated in favor of the more clear global_warnings
to turn global warnings on and off through $^W. The code still exists,
the documentation was updated.

The import_warnings/global_warnings functionality is now off by default.

Dancer's import() function now exports warnings, which is documented
behavior, however was left out of the function. As global warnings
were previously enabled by default, I foresee no issue with this
affecting any current user applications.

Test cases for this behavior were added.