in reply to Re^2: Question about loops and breaking out of them properly
in thread Question about loops and breaking out of them properly

Hi, and thank you for your feedback

You're correct, I'm basically trying to recreate a list of some sort that I can iterate over later. I considered using a hash for this but in this case it's such a short list that it's probably faster to do this with a list.

I realized later that I want to check the final list for duplicates, which I've fixed with the List::Util::uniq function (using this module is already paying off!). It adds an extra iteration over the final list but again, quite small in size, otherwise I would've also preferred to use a hash.