Perl: Retrieving Records
Retrieving Records
Sometimes you might want to retrieve the record as a whole hash, not just individual records
Put braces around the entire index and prefix it by a %
foreach $key (keys(%{NAMES{'000-00-001'}})) {
# This will print "NAME" and "PHONE"