Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Converting an array of hashrefs into a hashref of arrays

by bowei_99 (Friar)
on Mar 28, 2006 at 15:56 UTC ( [id://539802]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Converting an array of hashrefs into a hashref of arrays

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:

use Data::Dumper; ...your code here ... print Dumper($ref);
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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://539802]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.