in reply to pattern match operator

On line 11 you have =-, which is what the error/warning is referring to. From the context, I think you meant to use =~.

--MidLifeXis