http://www.perlmonks.org?node_id=1004859


in reply to Reaped: Replace the nth occurence

My apologies... Accidentally repeated the posting.