Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: I've got a hash of hashes how do i get my values out

by C-Keen (Monk)
on Oct 02, 2001 at 20:04 UTC ( #116167=note: print w/replies, xml ) Need Help??


in reply to I've got a hash of hashes how do i get my values out

Simple as stated in the Camel:
foreach $item (keys %hash){ print "$item: "; foreach $iteminitem (keys %{$hash{$item}}){ print "$iteminitem = $hash{$item}{$iteminitem} "; } print "\n"; }

Read the chapter on Data structures in the Camel book.

Happy coding,
C-Keen

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://116167]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2022-12-04 14:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?