Subject: | hashref treated as object = randomly and incorrectly failing |
http://cpantesters.perl.org/show/Data-Rand.html
Two strange issues:
1) the same version of Test::Perl::Critic (1.01) give different results, some pass, some fail
2) The failures are this:
Private Member Data shouldn't be accessed directly. at line XX, column XX. Accessing an
objects data directly breaks encapsulation and should be avoided. Example: $object->
{ some_key }. (Severity: 5)
Trouble is this is not an OO based module, the errors are in reference to a hashref like so:
$options_hr->{'details'}