[...]
MGC> I'm certain this has an obvious answer.  Why does this "if" always pass the
MGC> test?
MGC>    $strpwd = "C0ll\@b";
...
MGC>    if ($fields[0] == $strpwd) {
...

as compare operator use 'eq' (for strings) instead of '==' (for
numbers)


_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to