- or download this
{
time => $time,
...
type => $value2,
comment => $value3,
}
- or download this
push @AoH, { time => $t, conference => $v1, ... };
- or download this
my @sorted_AoH = sort { $_->{time} <=> $_->{time} } @AoH;
foreach my $conf ( @sorted_AoH ) {
my $time = $conf->{time};
print ... # element
}
- or download this
push @{ $hash{$time} }, { time => $time, type => $v2, ... };
- or download this
for my $time ( sort keys %hash ) {
for my $conf ( @{ $hash{ $time } } ) {
print ... # $conf element
}
}