|
|
| go ahead... be a heretic | |
| PerlMonks |
Re^2: help with a regexby Athanasius (Vicar) |
| on Feb 02, 2013 at 03:27 UTC ( #1016637=note: print w/ replies, xml ) | Need Help?? |
|
You should print $_ instead Or, just add the /r modifier to the substitution:
Output:
From s/PATTERN/REPLACEMENT/msixpodualgcer in Regexp Quote Like Operators: r Return substitution and leave the original string untouched. Hope that helps,
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||