|Problems? Is your data what you think it is?|
REGEX Non-Destructive Flagby mmartin (Monk)
|on Jan 10, 2012 at 17:38 UTC||Need Help??|
mmartin has asked for the
wisdom of the Perl Monks concerning the following question:
I was trying to use the "/r" flag in a REGEX Search and Replace and I keep getting the error:
"Bareword found where operator expected at ./test.pl line 11, near "s/Matt/Matthew/r" "
The server it's running on has Perl Version 5.8.8.
Was the Non-Destructive Flag "/r" not implemented in this version of Perl? If so, is it possible to get it without upgrading all of Perl..?
Thanks in Advance,