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 reply to Re^3: Referencing/returning array of hashes from sub
by chromatic
in thread Referencing/returning array of hashes from sub
by PoGGiE
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |