in reply to Re^4: Accessing this array ref.
in thread Accessing this array ref.
Then this should do it.my $results; my $type; for my $entry (@$VAR1) { if ( $entry->{type} ne $type ) { $type = $entry->{type}; push @$results, "$type\n"; } push @$results, "\t$entry->{name} - $entry->{reference}\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Accessing this array ref.
by Cristoforo (Curate) on Apr 03, 2013 at 22:45 UTC |