|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Re: Regex without 'm' or '/'by danger (Priest) |
| on Jul 10, 2002 at 04:05 UTC ( #180667=note: print w/ replies, xml ) | Need Help?? |
|
What I cannot find in the on-line docs Its an operator thing, not a regex thing --- from perlop under "Binding Operators":
This can sometimes cause problems for newcomers, especially when they use split with a double-quoted string as the split pattern (as seems to happen with undue frequency) and have an escaped metacharacter in the pattern:
In the second case, the double-quoted string is first evaluated and the *resulting* string (sans backslash) is then used as the pattern in the regex.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||