1Perl::Critic::Policy::VUasrePirearbCllo:en:stC:rr:iiPbtruiotcte:ed:cPtPoPelrriilcvyaD:to:ecVVuaamrreisna(tb3al)teiso:n:ProtectPrivateVars(3)
2
3
4

NAME

6       Perl::Critic::Policy::Variables::ProtectPrivateVars - Prevent access to
7       private vars in other packages.
8

AFFILIATION

10       This Policy is part of the core Perl::Critic distribution.
11

DESCRIPTION

13       By convention Perl authors (like authors in many other languages)
14       indicate private methods and variables by inserting a leading
15       underscore before the identifier.  This policy catches attempts to
16       access private variables from outside the package itself.
17

CONFIGURATION

19       This Policy is not configurable except for the standard options.
20

HISTORY

22       This policy is inspired by a similar test in B::Lint
23

SEE ALSO

25       Perl::Critic::Policy::Subroutines::ProtectPrivateSubs
26

AUTHOR

28       Chris Dolan <cdolan@cpan.org>
29
31       Copyright (c) 2006-2009 Chris Dolan.
32
33       This program is free software; you can redistribute it and/or modify it
34       under the same terms as Perl itself.  The full text of this license can
35       be found in the LICENSE file included with this module.
36
37
38
39perl v5.10.1            Perl::Crit2i0c1:0:-P1o1l-i1c2y::Variables::ProtectPrivateVars(3)
Impressum