should work@small_hash{@interesting_keys} = @$config{@interesting_keys}; delete @small_hash{ grep { ! $config->{$_} } keys %$config };
In reply to Re: Taking a subset of a hash
by james2vegas
in thread [Answered!] Taking a subset of a hash
by Narveson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |