NAME

Perl::Critic::Policy::Bangs::ProhibitDebuggingModules - Prohibit loading of debugging modules like Data::Dumper

DESCRIPTION

This policy prohibits loading common debugging modules like Data::Dumper.

While such modules are incredibly useful during development and debugging, they should probably not be loaded in production use. If this policy is violated, it probably means you forgot to remove a use Data::Dumper; line that you had added when you were debugging.

CONFIGURATION

The current list of detected debugging modules is:

To add more modules that shouldn't be loaded unless you're actively debugging something, add them in .perlcriticrc using the debugging_modules option.

AFFILIATION

This policy is part of Perl::Critic::Bangs.

AUTHOR

Mike Doherty doherty@cpan.org

COPYRIGHT & LICENSE

Copyright (c) 2012 Mike Doherty

This library is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0.