Subject: | WebService::MusicBrainz::Track search with INC=>'puids' dies with error |
The attached Perl script is basically a direct example from the CPAN
WebService::MusicBrainz::Track page at [1]. When INC includes 'puids',
the following error message is displayed:
Can't call method "getAttribute" on an undefined value at
/usr/share/perl5/WebService/MusicBrainz/Response.pm line 731.
When INC is omitted, or contains different objects (e.g. 'artist
releases') without 'puids', this error does not occur. As soon as
'puids' is added back, the same error message is returned.
[1] http://search.cpan.org/~bfaist/WebService-MusicBrainz/lib/WebService
MusicBrainz/Track.pm
Subject: | test.pl |
#!/usr/bin/perl
use WebService::MusicBrainz::Track;
my $ws = WebService::MusicBrainz::Track->new();
my $response = $ws->search({ MBID=>'bd08eddf-b811-4653-b56b-892292c291bc', INC=>'puids' });