in reply to can't use global @_in "my"

As others have said, look at the code preceeding the error. Likely you are missing a comma, semicolon, or anything that comes in pairs such as quotes, braces, etc..