in reply to finding the first unique element in an array

Have a look at List::Util, List::MoreUtils

  • Comment on Re: finding the first unique element in an array