We don't bite newbies here... much | |
PerlMonks |
Re: Replace after match in regex (key value subsitution)by JadeNB (Chaplain) |
on Oct 23, 2008 at 18:47 UTC ( [id://719123]=note: print w/replies, xml ) | Need Help?? |
Although others have pointed out that there is a nice one-pass approach to your problem, it is possible to access the location of a match after the match itself:
See perlvar.
In Section
Seekers of Perl Wisdom
|
|