http://www.perlmonks.org?node_id=1003176


in reply to Re: Checking username and password but cant break whileloop!
in thread [SOLVED] Checking username and password but cant break whileloop!

Same thing happened, it printed "...does not match..." for each user in the file rather than just once. Where you have it is for when the username is correct, which I don't have any issues with. It's when the username entered is incorrect that is giving me problems.