in reply to Problems passing hash reference

Further to shmem's post:

sub _ss { my ($self, %arg) = @_; print Dumper(\%arg); }

... so what you probably want is something like:

sub _ss { my ($self, $hashref) = @_; print Dumper($hashref); # do stuff with $hashref }
or maybe:
sub _ss { my ($self, $hashref) = @_; my %hash = %$hashref; print Dumper(\%hash); # do stuff with %hash }


Give a man a fish:  <%-{-{-{-<