HASH ~~ ARRAY : any ARRAY elements exist as HASH keys (like: grep { exists HASH->{$_} } ARRAY)
Update: If you want to get unique nodes and ports, use a hash of hashes:
$href->{$node}{$port} = 1;
In reply to Re: Removing duplicate hashrefs from an array
by choroba
in thread Removing duplicate hashrefs from an array
by msomanat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |