OT? Perl Question, iCal
simon at thegestalt.org
Fri Jun 1 21:59:00 BST 2012
On Tue, May 22, 2012 at 02:48:05PM +0100, Roger Burton West said:
> On Tue, May 22, 2012 at 03:35:51PM +0200, Nic Gibson wrote:
> >search.cpan.org gives me far too many results for iCal. I need to parse iCalendar (rfc 5545) files and then write them out as xCal (rfc 6321) files. Does anyone have a particular recommendation for a module? Writing the XML isn't the issue for me - it's more the parsing iCalendar files. Suggestions?
> Date::ICal seems to get the basic job done. Data::ICal::DateTime is
> great but dog-slow (or perhaps it's my programming). Other opinions are
> probably at least as valid as mine.
I second Data::ICal - it's dead easy and it can read and generate. It
uses Text::vFile underneath for parsing.
Data::ICal::DateTime basically just adds DateTime support in and, you're
right, it's dog slow (fcvo 'dog'). It's mostly my programming rather
than yours I suspect although also partly DateTime (correctness comes at
a price) and also the overhead of working out recurring events and
More information about the london.pm