in reply to Setting Conditional Variable Based on Partial Match
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Setting Conditional Variable Based on Partial Match
by Osiris1975 (Novice) on Dec 23, 2008 at 20:41 UTC |