Created
November 20, 2011 19:53
-
-
Save djanatyn/1380783 to your computer and use it in GitHub Desktop.
weird error with rakudo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
my $fh = open('birthdays.ics', :r); | |
my @index; | |
my $items = 0; | |
for $fh.lines -> $line { | |
if $line ~~ m/^DTSTART\:(.+)/ { | |
push @index[$items], $0; | |
}; | |
if $line ~~ m/^SUMMARY\:(.+)/ { | |
push @index[$items], $0; | |
print "."; | |
$items++; | |
}; | |
}; | |
# Method '!fill' not found for invocant of class '' | |
# in 'List::push' at line 2930:src/gen/core.pm | |
# in <anon> at line 8:test.pl | |
# in main program body at line 1:src/metamodel/RoleToInstanceApplier.nqp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment