Two alternative ways derived from: perldoc -q duplicate
my %seen; my @uniq = grep { !$seen{$_}++ } keys(%hash1), keys(%hash2);
use List::MoreUtils qw(uniq); my @uniq = uniq( keys(%hash1), keys(%hash2) );
In reply to Re: Syntax explanation required
by eyepopslikeamosquito
in thread Syntax explanation required
by ghosh123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |