#!/usr/bin/perl -w use strict; my %fruit = ( apple => 'green', orange => 'orange', banana => 'yellow' ); print ${{reverse %fruit}}{'yellow'};
In reply to Re: Finding a hash key from the value (reverse lookup)
by kilinrax
in thread Finding a hash key from the value (reverse lookup)
by ryddler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |