[Templates] Correct replace vmethod
Randal L. Schwartz
merlyn@stonehenge.com
01 Feb 2006 20:15:42 -0800
>>>>> "Sergey" == Sergey Martynoff <sergey@martynoff.info> writes:
Sergey> There are other issues with backslashes - perl handles \1-\9 as
Sergey> $1-$9, but \10 and so on are handled as octal character code (as
Sergey> in double-quoed strings).
... unless there are ten or more capturing parens, in which case, \10
means $10.
Yeah, lots of DWIMery.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!