in reply to
Re^2: Replace the nth occurence
in thread
Replace the nth occurence
It doesn't even work on the example string for any count other than three--it was just a coincidence that it happened to be in the right position in that case.
When's the last time you used duct tape on a duct? --Larry Wall
Comment on
Re^3: Replace the nth occurence
In Section
Seekers of Perl Wisdom