in reply to Re: Unique Array Items
in thread Unique Array Items

Or instead of "this is the first occurrence", use "haven't seen this before":
...grep {!$h{$_}++}...