Do you know where your variables are? | |
PerlMonks |
Re: elsif loopby liverpole (Monsignor) |
on Dec 12, 2006 at 14:26 UTC ( [id://589280]=note: print w/replies, xml ) | Need Help?? |
It looks like you're doing string comparisons, but you're not being consistent. Sometimes you use eq, and sometimes you use ==.
Try using eq for checking equality, and ne for checking inequality (instead of == and !=, respectively). Your use of $null is also a little suspicious; are you sure you don't mean $hashPassword eq "" or perhaps !defined $hashPassword? s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/
In Section
Seekers of Perl Wisdom
|
|