This perl module selects a subset of a list of timestamps according to rules that you specify, which is useful for pruning backups.
You can install the latest stable release of this module on CPAN
cpanm Date::RetentionPolicy
and see the full documentation locally with
perldoc Date::RetentionPolicy
# or
perldoc ./lib/Date/RetentionPolicy.pm
To build and install this source code, use the Dist::Zilla tool:
cpanm Dist::Zilla
dzil authordeps --missing | cpanm
dzil build
cpanm ./Date-RetentionPolicy-$VERSION