story
while (<>) { ($h{$_}++ == 1) && push (@outputarray, $_); };
my @output-array = lines.unique;
my @output-array = lines(:!chomp).unique;