in reply to Problems passing hash reference
sub _ss { my ($self, %arg) = @_; print Dumper(\%arg); }
... so what you probably want is something like:
or maybe:sub _ss { my ($self, $hashref) = @_; print Dumper($hashref); # do stuff with $hashref }
sub _ss { my ($self, $hashref) = @_; my %hash = %$hashref; print Dumper(\%hash); # do stuff with %hash }
Give a man a fish: <%-{-{-{-<
|
|---|