in reply to Bad evalled substitution pattern

The error message is the following Bad evalled substitution pattern.

According to perldiag:

You've used the /e switch to evaluate the replacement for a substitution, but perl found a syntax error in the code to evaluate, most likely an unexpected right brace '}'.

However, the only regular expression in your example that uses /e is not only commented out, but is valid syntax.

The code you showed actually produces the error message "Substitution replacement not terminated".

We can only help you if you follow the advice in How do I post a question effectively?, I know what I mean. Why don't you?, and SSCCE.

Replies are listed 'Best First'.
Re^2: Bad evalled substitution pattern
by *alexandre* (Scribe) on Jan 02, 2023 at 18:02 UTC
    Already fixed but thanks.