Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Converting an array of hashrefs into a hashref of arraysby bowei_99 (Friar) |
on Mar 28, 2006 at 20:56 UTC ( [id://539802]=note: print w/replies, xml ) | Need Help?? |
I think the module you may be referring to is Data::Dumper, although it tends to format it a little differently. You could have something like:
where $ref is a reference to your data structure, in this case, a hash of arrays. It's included by default on at least perl 5.6 and above; maybe even earlier versions, so you shouldn't have to install it. -- Burvil
In Section
Seekers of Perl Wisdom
|
|