TIMTOWTDI, but perhaps:
my $key = ( sort keys %in )[0]; [download]
In reply to Re: First Value in hash by bingos in thread First Value in hash by techie411