in reply to Misreading m// documentation
The m is optional, if its clearly supposed to be a regex.
IIRC are single quoted regexes documented to be taken literally, i.e. w/o variable interpolation.
Indeed, see perlop
If "'" is the delimiter, no interpolation is performed on the PATTERN.
Cheers Rolf
( addicted to the Perl Programming Language)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Misreading m// documentation (BUG?)
by LanX (Saint) on Mar 12, 2014 at 11:50 UTC | |
by ikegami (Patriarch) on Mar 12, 2014 at 15:06 UTC | |
by Anonymous Monk on Mar 12, 2014 at 12:16 UTC | |
by LanX (Saint) on Mar 12, 2014 at 13:48 UTC | |
by Anonymous Monk on Mar 12, 2014 at 12:00 UTC | |
by LanX (Saint) on Mar 12, 2014 at 12:03 UTC | |
by Anonymous Monk on Mar 12, 2014 at 12:07 UTC |