in reply to Re: Print values and keys from hash of hashes.
in thread Print values and keys from hash of hashes.

Like stevo said, it is also mentioned in perlreftut (Make rule 2)
If you write just "[]", you get a new, empty anonymous array. If you write just "{}", you get a new, empty anonymous hash. my %hash = ( 'debt-1' => { 'debt_id' => 10, 'mobile' => 11, 'address1' => 12 }, ); my $hash_ref = { 'debt-1' => { 'debt_id' => 10, 'mobile' => 11, 'address1' => 12 }, };