- or download this
$VAR1 = [
{
...
'datetime' => '1310146917'
}
];
- or download this
[ $id1 => [ { $hashrefs_with_id1 } ... ]
$id2 => [ { $hashrefs_with_id2 } ... ]
]
- or download this
$VAR1 = {
'2446438717782054' => {
...
'datetime' => '1309966331'
}
};
- or download this
my @row = $r->hashes; # produce flat format of arrays of hashrefs
my %row;
...
push @{$row{$row->{id}}}, $row;
}
warn Dumper(\%row);