I'd want to avoid the incrementalism required by using push this way. At least replace that for() loop with a grep() loop.
@found = grep exists $search{$_}, @keys1In reply to Re: Re: Finding duplicate keys
by diotalevi
in thread Finding duplicate keys
by Wally Hartshorn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |