evaluates to true? This is very unlikely.if (grep /($FORM{user}|$FORM{pin})/i, "/export/install/users.txt") {
Take a look at what the grep function does, it is not what you apparently think. In Perl, grep is used to filter the elements of an array.
In reply to Re: perl if statement
by Laurent_R
in thread perl if statement
by Drsin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |