I have to start somewhere, This works:
print "Enter your name: "; $text = <STDIN>; print "\nHello $text\n"; print "Please enter your password: "; $password = <STDIN>; if ($password == 21) { print"Correct\n"; } else { print "wrong\n"; } This doesn't: print "Enter your name: "; $text = <STDIN>; print "\nHello $text\n"; print "Please enter your password: "; $password eq <STDIN>; if ($password eq qwert) { print"Correct\n"; } else { print "wrong\n"; } Why? if anyone replies Thank you, (flames expected!!) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]