if (@arr eq 1) does work the same, i just think if (scalar(@arr) eq 1) is clearer, and i dont play golf
if (scalar(@arr) == 1) might be cleaner/faster too, eq "causes" each side to get cast into char
In reply to Re^5: DB search results using DBI...execute
by huck
in thread DB search results using DBI...execute
by jamroll
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |