use Cronos::Period; my $period = Cronos::Period->new( '07:13 ~ 13:20, 23:00 ~ 02:23' ); my ( $range, $event ) = $period->dump( $dt1, $dt2, period => 7 );
Returns a range of durations and a list of events indicated by seconds since epoch.
period: interation day: days to select by
To install pantheon, copy and paste the appropriate command in to your terminal.
cpanm
cpanm pantheon
CPAN shell
perl -MCPAN -e shell install pantheon
For more information on module installation, please visit the detailed CPAN module installation guide.