Subject: | make test fails |
Date: | Mon, 2 Mar 2009 14:42:09 -0800 (PST) |
To: | bug-Music-Tag-OGG [...] rt.cpan.org |
From: | Sharif Nassar <sharif [...] mrwacky.com> |
I was trying out this package today, and make test fails.
I'm useing Ogg::Vorbis::Header::PurePerl v1.0, and the interface seems to
have changed.
Removing line 95 in Ogg.pm (that calls the missing and no longer
needed call to Ogg::Vorbis::Header::PurePerl->load) fixes the issue.
I've opened a ticket to patch the Pod for Ogg::Vorbis::Header::PurePerl as
well.
See below for gory details.
$ make test
cp lib/Music/Tag/OGG.pm blib/lib/Music/Tag/OGG.pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/1-ogg.............ok 1/8Can't locate object method "load" via package
"Ogg::Vorbis::Header::PurePerl" at
/usr/src/redhat/BUILD/Music-Tag-OGG-0.33/blib/lib/Music/Tag/OGG.pm line
95.
Line 95 is the load in sub ogg{} :
90: sub ogg {
91: my $self = shift;
92: unless ((exists $self->{_OGG}) && (ref $self->{_OGG})) {
93: if ($self->info->filename) {
94: $self->{_OGG} = Ogg::Vorbis::Header::PurePerl->new($self->info->filename);
95: $self->{_OGG}->load();
96:
97: }
-sharif