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


in reply to Union of overlapping numeric intervals

With a little bit of front end work with your data, this should be something Set::IntSpan can handle, (see especially the 'Set operations' section.)


*My* tenacity goes to eleven...
  • Comment on Re: Union of overlapping numeric intervals