[Clipart] SVG::Metadata with Perl 5.10

Francis Bond fcbond at gmail.com
Sun Jan 25 00:58:51 PST 2009


G'day,

A quick bug-report (and fix) for SVG::Metadata, which I gratefully use
for playing with images from OCAL.

SVG::Metadata (v 0.28) will not work with perl 5.10.

replacing line 131 as follows makes it work again:
 -      my $self = bless [\%FIELDS], $class;
+     my $self = fields::new($class);

This still works with version 5.8.8, I haven't tested any earlier versions

-- 
Francis Bond <http://www2.nict.go.jp/x/x161/en/member/bond/>
NICT Language Infrastructure Group



More information about the clipart mailing list