- or download this
my %People;
while( my $id= GetNextId() ) {
...
foreach my $person ( @{ $People{AGE}{20} } ) {
print "\t",$person->{NAME},"\n";
}
- or download this
print "(The first) John Smith is ",
"$People{ByNAME}{'John Smith'}[0]{AGE} years old.\n";
- or download this
my $byID= $People{ID};
foreach my $person ( @$byID ) {
}