Or more succinctly:
my @found = grep exists $my_hash{ $_ }, qw( name vorname plz tel tel49 + );
Update: Good point below. Omit the exists if that's the desired behavior. MENTAL NOTE: NO POSTING OR UPDATING NODES BEFORE CAFFEINE TAKES EFFECT.
In reply to Re^2: A Case with 5 Var's
by Fletch
in thread A Case with 5 Var's
by ultibuzz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |