Data::ICal

Data::ICal is a Perl module that generates iCalendar (RFC 2445) calendar files.
Download

Data::ICal Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Jesse Vincent
  • Publisher web site:
  • http://search.cpan.org/~jesse/

Data::ICal Tags


Data::ICal Description

Data::ICal is a Perl module that generates iCalendar (RFC 2445) calendar files. Data::ICal is a Perl module that generates iCalendar (RFC 2445) calendar files.SYNOPSIS use Data::ICal; my $calendar = Data::ICal->new(); my $vtodo = Data::ICal::Entry::Todo->new(); $vtodo->add_properties( # ... see Data::ICal::Entry::Todo documentation ); # ... or $calendar = Data::ICal->new(filename => 'foo.ics'); # parse existing file $calendar = Data::ICal->new(data => 'BEGIN:VCALENDAR...'); # parse existing file $calendar->add_entry($vtodo); print $calendar->as_string; # Or, if you're printing to something you want google to read: print $calendar->as_string(fold => 0);A Data::ICal object represents a VCALENDAR object as defined in the iCalendar protocol (RFC 2445, MIME type "text/calendar"), as implemented in many popular calendaring programs such as Apple's iCal.Each Data::ICal object is a collection of "entries", which are objects of a subclass of Data::ICal::Entry. The types of entries defined by iCalendar (which refers to them as "components") include events, to-do items, journal entries, free/busy time indicators, and time zone descriptors; in addition, events and to-do items can contain alarm entries. (Currently, Data::ICal only implements to-do items and events.)Data::ICal is a subclass of Data::ICal::Entry; see its manpage for more methods applicable to Data::ICal. Requirements: · Perl · Data::ICal · Class::Accessor


Data::ICal Related Software