in reply to error in script
“... is usually a typo” is your number-one clue here. Did you, say, omit a quote-mark in a string a few lines back? Did you typo something? Look extremely carefully at the source-code in the immediate vicinity. The author of that message is trying to tell you that it is probably a red-herring.
In Section
Seekers of Perl Wisdom