in reply to Re^2: Collapsing a string to unique characters
in thread Collapsing a string to unique characters

You can leave off the -l. You don't need it for the output, as you're using say. And you don't need it for the chomp, as /./ doesn't match the newline.
  • Comment on Re^3: Collapsing a string to unique characters