1Perl::Critic::Policy::CUosdeerLPaCeyoronlut:tr::iC:brRuiettqeiudci:rP:eePTroilldiyDcCoyoc:du:emC(eo3nd)teaLtaiyoonut::RequireTidyCode(3)
2
3
4

NAME

6       Perl::Critic::Policy::CodeLayout::RequireTidyCode
7

DESCRIPTION

9       Conway does make specific recommendations for whitespace and curly-
10       braces in your code, but the most important thing is to adopt a consis‐
11       tent layout, regardless of the specifics.  And the easiest way to do
12       that is to use Perl::Tidy.  This policy will complain if you're code
13       hasn't been run through Perl::Tidy.
14

CONFIGURATION

16       This policy can be configured to tell Perl::Tidy to use a particular
17       perltidyrc file or no configuration at all.  By default, Perl::Tidy is
18       told to look in its default location for configuration.  Perl::Critic
19       can be told to tell Perl::Tidy to use a specific configuration file by
20       putting an entry in a .perlcriticrc file like this:
21
22         [CodeLayout::RequireTidyCode]
23         perltidyrc = /usr/share/perltidy.conf
24
25       As a special case, setting "perltidyrc" to the empty string tells
26       Perl::Tidy not to load any configuration file at all and just use
27       Perl::Tidy's own default style.
28
29         [CodeLayout::RequireTidyCode]
30         perltidyrc =
31

NOTES

33       Perl::Tidy is not included in the Perl::Critic distribution.  The lat‐
34       est version of Perl::Tidy can be downloaded from CPAN.  If Perl::Tidy
35       is not installed, this policy is silently ignored.
36

SEE ALSO

38       Perl::Tidy
39

AUTHOR

41       Jeffrey Ryan Thalhammer <thaljef@cpan.org>
42
44       Copyright (c) 2005-2007 Jeffrey Ryan Thalhammer.  All rights reserved.
45
46       This program is free software; you can redistribute it and/or modify it
47       under the same terms as Perl itself.  The full text of this license can
48       be found in the LICENSE file included with this module.
49
50
51
52perl v5.8.8               Perl::Cr2i0t0i7c-:0:3P-o2l0icy::CodeLayout::RequireTidyCode(3)
Impressum