Subject: | unique shuffles the array |
The `unique` method seems to shuffle the array order. Can this be updated to preserve the
existing order yet unique-fy by "first occurrence wins"? If not - please update the
documentation to reflect the _shuffle_ behavior.
Patch attached.
Thanks,
Mithun
Subject: | Utils.pm.patch |
109,110c109
< my %e;
< return grep { ! $e{$_}++ } @_;
---
> return keys %{ {map { $_ => undef } @_}};