in reply to Re: Array of Hashes to Hash of arrays for SQL::Abstract
in thread Array of Hashes to Hash of arrays for SQL::Abstract
However, I would probably try to loop over $data just once
The disadvantage here is, that you might loose null-values due to missing keys in your data
my $data = [ {a => 1, b => 2, c => 11}, {a => 3, c => 12}, {a => 5, b => 6} ];
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Array of Hashes to Hash of arrays for SQL::Abstract
by Veltro (Hermit) on Mar 18, 2020 at 16:27 UTC | |
Re^3: Array of Hashes to Hash of arrays for SQL::Abstract
by haukex (Archbishop) on Mar 19, 2020 at 09:52 UTC | |
by Skeeve (Parson) on Mar 19, 2020 at 15:13 UTC |