moritz / svg-plot

Various plot types with SVG output, with Perl 6
Artistic License 2.0
13 stars 5 forks source link

error report #3

Closed rkdt closed 9 years ago

rkdt commented 12 years ago

[examples]# perl6 -v This is perl6 version 2012.09-21-g9af8f20 built on parrot 4.8.0 revision RELEASE_4_8_0-78-g1fe3b78

[examples]# ls circle.pl parse-access-log.pl parse-spectest-progress.pl test-suite-committers.pl

[examples]# perl6 circle.pl No such method 'key' for invocant of type 'List' in method serialize at lib/SVG.pm:12 in block at circle.pl:15

[examples]# perl6 parse-access-log.pl Unable to open filehandle from path 'access.log' in method open at src/gen/CORE.setting:7295 in sub open at src/gen/CORE.setting:7542 in block at parse-access-log.pl:64

[examples]# perl6 test-suite-committers.pl No such method 'key' for invocant of type 'List' in method serialize at lib/SVG.pm:12 in block at test-suite-committers.pl:34

rkdt commented 12 years ago

that's ok!

just change

say SVG.serialize($svg); to say SVG.serialize(|$svg);

no error message anymore..