in reply to Read Bit String...!!!
Have you looked at Bit::Vector?
With the Interval_xxx funtions it should be possible...