in reply to Re^2: Opening multiple files in directory
in thread Opening multiple files in directory

If you stored the values in an array rather than printing them directly, you could use uniq from List::MoreUtils, which is a core module.
  • Comment on Re^3: Opening multiple files in directory