Set::Crontab - Expand crontab(5)-style integer lists
$s = Set::Crontab->new("1-9/3,>15,>30,!23", [0..30]);
if ($s->contains(3)) { ... }
Set::Crontab parses crontab-style lists of integers and defines some utility functions to make it easier to deal with them.
Numbers, ranges, *, and step values all work exactly as described in crontab(5). A few extensions to the standard syntax are described below.
$num
exists in the set.
The functions described above croak if they are called with incorrect arguments.
Abhijit Menon-Sen <ams@toroid.org>
Copyright 2001 Abhijit Menon-Sen <ams@toroid.org>
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.