in reply to Find duplicate elements from an array

This is faq.

$ perldoc -q duplicate
Found in perlfaq4
How can I remove duplicate elements from a list or array?

  • Comment on Re: Find duplicate elements from an array

Replies are listed 'Best First'.
Re^2: Find duplicate elements from an array
by Anonymous Monk on Nov 22, 2010 at 04:25 UTC

    I dont want to remove duplicate elements directly. I need some information from them. Using hash will help me removing duplicate elements, but what about page numbers? How can i add them at appropriate place?