the other is input from a form, it called $useranswe.
Okay.
then compare it to $useranswer
Well, there's your problem. $useranswe and $useranswer are two different variable names.
…
Now, I know what you're thinking. I spelt the variable name wrong when posting on PerlMonks. It's correct in my code. But how do we know that? You haven't shown us the code where you read the user input. You haven't shown us the code where you do the string comparison.
In reply to Re: Random F%^k up strings!
by tobyink
in thread Random F%^k up strings!
by TroyH
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |