Date-Remind-Event
view release on metacpan or search on metacpan
lib/Date/Remind/Event.pm view on Meta::CPAN
'2010/07/06 * * 60 1080 18:00-19:00 My Event'
);
print 'Start: '. $e->date->hms ."\n";
print 'Duration: '. $e->duration->hours ." hour\n";
print 'Description: '. $e->body ."\n";
=head1 DESCRIPTION
B<Date::Remind::Event> provides a Perl object interface to textual
events emitted by the L<remind>(1) calendar program. The expected
format of the input is the same as what is produced by "remind -s" (as
defined in the L<rem2ps>(1) manpage under "REM2PS INPUT FORMAT").
L<remind>(1) produces slightly different output depending on the value
of the -b flag. To make sure that Date::Remind::Event handles this
correctly you should set $Date::Remind::Event::BFLAG to the same value
(default is 0).
See the "example/remind-simple" file in the distribution for one
possible way of calling L<remind>(1) from within Perl and parsing its
( run in 0.405 second using v1.01-cache-2.11-cpan-5dc5da66d9d )