On line 11 you have =-, which is what the error/warning is referring to. From the context, I think you meant to use =~.
--MidLifeXis
In reply to Re: pattern match operator
by MidLifeXis
in thread pattern match operator
by ostra
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |