in reply to Calculate the overlap length between two ranges

You could split those strings on dash, then use Range Operators to create arrays, then loop over those arrays.

Or maybe get some inspiration from Set::IntSpan

  • Comment on Re: Calculate the overlap length between two ranges

Replies are listed 'Best First'.
Re^2: Calculate the overlap length between two ranges
by Anonymous Monk on Oct 30, 2013 at 12:18 UTC
    Thanks guys, will look for your suggestions! Cheers!