... $self->{KOLS} = %results; ...
That's your problem: you're using %results in a scalar context which isn't what you want (you get the underlying bucket usage which isn't very useful). You want $self->{KOLS} = \%results instead which will store a reference to your hash; that or use my $results = {} and store that hashref. See perldoc perlreftut and perldoc perldsc.
In reply to Re: Hashes in Perl Modules
by Fletch
in thread Hashes in Perl Modules
by rsiedl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |