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.
In reply to Re: Bad evalled substitution pattern
by haukex
in thread Bad evalled substitution pattern
by *alexandre*
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |