... how, after "$re_str" has been stringified, would the code know the string is meant to be used as a regexp instead of a direct compare.
The code "knows" because the string is used by a =~ m// s/// (I think that's all of them) matching operator. And what's a "direct compare" anyway?
Give a man a fish: <%-{-{-{-<
In reply to Re^3: how to use string RE (against $_ and capture)
by AnomalousMonk
in thread how to use string RE (against $_ and capture)
by perl-diddler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |