my @possible_last_names = map {$_->{lastname}} grep {$_->{firstname} eq "Alice"} values %uid; # Returns ("Foo")
"Think of how stupid the average person is, and realize half of them are stupider than that." - George Carlin
In reply to Re: In search of elegant code - looking deeply into a hash
by NetWallah
in thread In search of elegant code - looking deeply into a hash
by davidfilmer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |