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


in reply to Re: Efficient walk/iterate along a string
in thread Efficient walk/iterate along a string

Please do this - I've occasionally had to solve similar problems, and thought "this is where perl needs pointers", but never had the tuits to actually implement it.