MyMonkName has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,

There seems to be a plethora of ways to parse iCal files on CPAN. Which one do you like the best? Data::ICal and ICal::Parser seem to be obvious contenders, but I am open to any alternative.

Thanks!

Replies are listed 'Best First'.
Re: Opinions on iCal (.ics) parsers
by Tux (Canon) on Sep 27, 2011 at 07:33 UTC

    Having just shortly written an iCal calendar client in perl/Tk to replace Sunbird, I can show you the iCal related module-list I use:

    use Date::ICal; use iCal::Parser (); use Time::Local; use Date::Calc qw( Mktime ); use Encode qw( encode ); use Data::ICal::Entry::Event;

    Note the Date::ICal wich is not Data::ICal.


    Enjoy, Have FUN! H.Merijn