in reply to saving the key of a hash
my $SaveKey; while (my ($key, $val) = each %hash){ if (WHatever condition){ $SaveKey = $key; # Save this one } } my $SavedValue = $hash{$SaveKey}; # Use the saved key, if any
By guaranteeing freedom of expression, the First Amendment also guarntees offense.