Perhaps it would be easier to fix your code?
If you change:
} elsif ($count = 2) { # ERROR HEREto be:
} elsif ($count == 2) { # ERROR HEREThat just might fix the issue, which is what the error message that you listed seems to be indicating.
Of course, that's just a suggestion.
In reply to Re: Failing to warn about "Found = in conditional"
by dasgar
in thread Failing to warn about "Found = in conditional"
by Ineffectual
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |