http://www.perlmonks.org?node_id=640698


in reply to Remove redundency from an array

There's also List::MoreUtils's uniq function.