forked from PerlDancer/Dancer2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't futz with $^W. Import warnings and remove import_warnings conf …
…setting. Use warnings->import when importing Dancer2 to ensure any code using it has the warnings pragma enabled (just like strict and utf8). L<perllexwarn> states ".. using $^W to either disable or enable blocks of code is fundamentally flawed.". Also see Matt Trout's comments in PerlDancer#427. Remove the import_config setting and its trigger that mucks with $^W and purge it from the POD. If anyone really wants to set $^W, they can add it to their app or psgi file and be in control of the results.
- Loading branch information
Showing
5 changed files
with
5 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters