in reply to Re: Does Perl support a given number of replacements ?
in thread Does Perl support a given number of replacements ?
A nice one.
I use a similar code with awk. I had the impression that Perl might have a ready-made construct that works right out of the box.
Thanks.