Also, as a debugging tip, it's usually helpful to print out the values of things like this in some sort of delimiters:
warn " Compare <<$usrfile{password}>> to <<$password>>"; if ( $usrfile{password} eq $password ) { ... blah blah blah... }
I'm ashamed to admit that this has saved more time than I can shake a stick at.
In reply to RE: eq is being stubborn
by lachoy
in thread eq is being stubborn
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |