1Perl::Critic::Policy::MUissecrelCloPanentrerlai::b::uCPtrreiodthiiPcbe:ir:tlPToiDleoiscc(uy3m:)e:nMtiastcieolnlanea::ProhibitTies(3)
2
3
4
6 Perl::Critic::Policy::Miscellanea::ProhibitTies - Do not use "tie".
7
9 This Policy is part of the core Perl::Critic distribution.
10
12 Conway discourages using "tie" to bind Perl primitive variables to
13 user-defined objects. Unless the tie is done close to where the object
14 is used, other developers probably won't know that the variable has
15 special behavior. If you want to encapsulate complex behavior, just
16 use a proper object or subroutine.
17
19 This Policy is not configurable except for the standard options.
20
22 Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>
23
25 Copyright (c) 2005-2011 Imaginative Software Systems. All rights
26 reserved.
27
28 This program is free software; you can redistribute it and/or modify it
29 under the same terms as Perl itself. The full text of this license can
30 be found in the LICENSE file included with this module.
31
32
33
34perl v5.34.0 Perl::2C0r2i1t-i0c7:-:2P2olicy::Miscellanea::ProhibitTies(3)