In case of quoting the variable with:
What happens if the string itself has \E in it?:m/\Q$string\E/;
Does that mean that everything after \E in the string will not be escaped anymore and starts interpolating?$string = "Author[p100-107]\E-book.{Publisher}+_What?"; m/\Q$string\E/;
In reply to How to prevent metacharacter interpolation by igoryonya
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |