perl module for converting between a kind of interval representation.