cs::DBI::DatedTable - control a table of attributes with a date range
use cs::DBI::DatedTable;
The cs::DBI::DatedTable module manipulates a table of records with day-resolution START_DATE and END_DATE fields (the latter of which may be NULL to indicate an open range).
Creates a new object attached to the specified database dbh and table.
Return an array of hashrefs for all the records matching selwhere which overlap the day when. selwhere is a flat array of field/value pairs to select the records.
Add the record denoted by the hashref rec to the table as a new record commencing when. The argument when is optional and defaults to today.
Expire the record denoted by delwhere at the date when. delwhere is a flat array of field/value pairs to select the record to expire.
Cameron Simpson <cs@zip.com.au>