Perl module for checking if a time is within the ranges specified in a file