in reply to Re^2: Referencing/returning array of hashes from sub
in thread Referencing/returning array of hashes from sub
Dereference your references as you need to work with them. There's no syntactic need to expand them into non-references. Instead of:
my @expanded = @$reference; for my $element (@expanded) { ... }
... you can just as well write:
for my $element (@$reference) { ... }
In Section
Seekers of Perl Wisdom