produces this:use strict; use warnings; use Data::Dump; my $HoH = { flintstones => { lead => "fred", pal => "barney", }, jetsons => { lead => "george", wife => "jane", "his boy" => "elroy", }, simpsons => { lead => "homer", wife => "marge", kid => "bart", }, }; dd $HoH;
Isn’t that much tidier?{ flintstones => { lead => "fred", pal => "barney" }, jetsons => { "his boy" => "elroy", "lead" => "george", "wife" => + "jane" }, simpsons => { kid => "bart", lead => "homer", wife => "marge" }, }
In reply to Re: fetching from a hash
by tchrist
in thread fetching from a hash
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |