Are you trying to assign the value 'S' or 'I' to the variable $type? If so, use =, not eq. It is the assignment operator.
Update (~2min after initial post): Ahh! Everyone just updated their replies! Mine looks pathetic now :P
And you didn't even know bears could type.
In reply to Re: Setting Conditional Variable Based on Partial Match
by Lawliet
in thread Setting Conditional Variable Based on Partial Match
by Osiris1975
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |