On Feb 21, 2009, at 2:10 AM, Eric Wilhelm wrote:

Is there a critic metric for that?

There are several designed to protect internals. Here are the ones among the Perl::Critic core policies:

  Subroutines::ProtectPrivateSubs
  ValuesAndExpressions::ProhibitLongChainsOfMethodCalls
  Variables::ProtectPrivateVars
  Variables::ProhibitPackageVars

Chris

Reply via email to