Andy Lester > Perl-Critic-Bangs-1.10 > Perl::Critic::Policy::Bangs::ProhibitDebuggingModules

Download:
Perl-Critic-Bangs-1.10.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Module Version: 1.10   Source   Latest Release: Perl-Critic-Bangs-1.11_02

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 deubgging_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.

syntax highlighting: