Subject: | Missing _create method in Net::ICal::Duration |
With this .ics file:
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//Apple Computer\, Inc//iCal 1.0//EN
VERSION:2.0
BEGIN:VEVENT
DTSTAMP:20030128T172023Z
SUMMARY:test
UID:948EFBA6-1E79-11D7-9155-000393D6093E-RID
DTSTART;TZID=America/Chicago:20030106T190000
DURATION:PT4H
END:VEVENT
END:VCALENDAR
and running the following command:
perl -MNet::ICal -e'undef$/;Net::ICal::Calendar->new_from_ical(<>)' test.ics
I get the warning:
MethodMapper: Can't invoke _create on Net::ICal::Duration at /perl/lib/site_perl/5.8.0/Net/ICal/Property.pm line 135
due to the missing _create() method in Net::ICal::Duration, which leads to the following fatal error a few lines later, since $self is undef:
Can't call method "restore" on an undefined value at /perl/lib/site_perl/5.8.0/Net/ICal/Property.pm line 178, <> chunk 1.