a zero-width assertion like \Q
\Q isn't an assertion. It's like \U et al. and works in all interpolating quote operators. It's just that one almost always sees it with the regexp operators. An example:
print "\U\Qfoo.bar"; __END__ FOO\.BAR
lodin
In reply to Re^2: Style question: regex versus string builtin function (\Q not an assertion)
by lodin
in thread Style question: regex versus string builtin function
by eyepopslikeamosquito
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |