in reply to remove entries with duplicate characters

Hi, welcome! There's lots of help here. The thing to do is show what you have, what works, what doesn't, what error messages you are getting. See SSCCE. Like, can you open the file yet? Can you read a line from it yet? And so on.


The way forward always starts with a minimal test.
  • Comment on Re: remove entries with duplicate characters

Replies are listed 'Best First'.
Re^2: remove entries with duplicate characters
by davi54 (Sexton) on Jul 31, 2019 at 21:07 UTC
    Sorry, I should have mentioned this. But, actually I'm new to perl. I thought of asking you guys to have some kind of knowledge and then kind of start learning from there.

      How new? :-) If you have not yet, set aside an afternoon and go through perlintro. There's a section there for virtually each piece of what you need to do in your program. Start with some simple exercises, loops, etc. Don't try to pull off your goal in the first step. See my follow up to the code you showed here.


      The way forward always starts with a minimal test.