Skip Menu |

This queue is for tickets about the Tie-iCal CPAN distribution.

Maintainer(s)' notes

The latest code (work in progress) is in a Git repository here:

   git clone --origin upstream git:// Tie-iCal

The best way to submit patches is to create a new branch from the Git repo, fork it on Github and push your branch, and submit a pull request. But old-style patches attached to a ticket here are fine too.

Report information
The Basics
Id: 69278
Status: new
Priority: 0/
Queue: Tie-iCal

Owner: Nobody in particular
Requestors: krishnoid+perlbug+pig [...]

Bug Information
Severity: Normal
Broken in: 0.14
Fixed in: (no value)

Subject: not checking for array value
Trying to read and dump the YAPC::NA 2011 schedule in iCal format: ---------------------------------------- #!/usr/bin/perl # my $yapc_2011_ical = 'yapc-2011/timetable.ics'; use Tie::iCal; tie %my_events, 'Tie::iCal', $yapc_2011_ical or die "Couldnt tie ical file ($yapc_2011_ical): $!"; use Data::Dumper; print Dumper \%my_events; ---------------------------------------- produces this complaint: % bin/ Can't use string ("Michael Krabll") as an ARRAY ref while "strict refs" in use at /usr/share/perl5/Tie/ line 553, <$fh> line 3960. Changing line 553 from: ---------------------------------------- if (!(@{$e{$name}} && !grep({ref($_) ne 'ARRAY'} @{$e{$name}}))) { # not a strict list of arrays to: if (!(ref $e{$name} eq 'ARRAY' && @{$e{$name}} && !grep({ref($_) ne 'ARRAY'} @{$e{$name}}))) { # not a strict list of arrays ---------------------------------------- allows it to work, but I haven't checked to see that the resulting parse is correct.
Subject: timetable.ics.orig
Download timetable.ics.orig
application/octet-stream 132.7k

Message body not shown because it is not plain text.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to