in reply to continuuos intervals

Sure, first read file, then match or split, then print. Simple perlintro stuff