in reply to How to make an array from an array?

@unique_list = keys %{{map{($_=>1)} @non_unique_list}};

------------
:Wq
Not an editor command: Wq