in reply to Re: Adding gaps to a sequence
in thread Adding gaps to a sequence

I probably missed a trick or two but here goes nothing at 39 chars
sub gapify_lk { $s=shift;$s=~s/(.*-)?.{$_}/$&-/for@_;$s }

"Argument is futile - you will be ignorralated!"