1Perl::Critic::Policy::BUPasenergrls::C::oCPnrrtiorthiiibcbu:it:tePDdoelbPiuecgrygl:i:nDBgoaMcnougdmsue:ln:etPsar(to3ih)oinbitDebuggingModules(3)
2
3
4
6 Perl::Critic::Policy::Bangs::ProhibitDebuggingModules - Prohibit
7 loading of debugging modules like Data::Dumper
8
10 This policy prohibits loading common debugging modules like
11 Data::Dumper.
12
13 While such modules are incredibly useful during development and
14 debugging, they should probably not be loaded in production use. If
15 this policy is violated, it probably means you forgot to remove a "use
16 Data::Dumper;" line that you had added when you were debugging.
17
19 The current list of detected debugging modules is:
20
21 · Data::Dumper
22
23 · Data::Printer
24
25 To add more modules that shouldn't be loaded unless you're actively
26 debugging something, add them in .perlcriticrc using the
27 "deubgging_modules" option.
28
30 This policy is part of Perl::Critic::Bangs.
31
33 Mike Doherty "doherty@cpan.org"
34
36 Copyright (c) 2012 Mike Doherty
37
38 This library is free software; you can redistribute it and/or modify it
39 under the terms of the Artistic License 2.0.
40
41
42
43perl v5.32.0 Perl::Critic2:0:2P0o-l0i7c-y2:8:Bangs::ProhibitDebuggingModules(3)