You need to use eq to compare strings. Using "==" is treating the strings as numbers for the comparison.
Update: Since you appear to be comparing versions, you might also be interested in:
And more generally, Super Search really is super.
In reply to Re: if elsif else question
by kyle
in thread if elsif else question
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |