# next if $username ne $user; if ($username ne $user) { print "

user '$user' didn't match '$username'

"; next; } # $good = 1 if $username eq $user and $password eq $pass; print "

matched username '$user'

"; if ($password eq $pass) { print "

.. and matched password, marking as good

"; $good = 1; } else { print "

.. but password '$pass' didn't match '$password'

"; }