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...
In Section
Seekers of Perl Wisdom