Subject: | Searching via keyword 'release-group' is broken |
Date: | Thu, 11 Apr 2019 11:29:31 -0700 |
To: | bug-WebService-MusicBrainz [...] rt.cpan.org |
From: | Mike Cappella <mike [...] cappella.us> |
Distrbution: WebService::MusicBrainz-1.0.5
Searching via keyword 'release-group' does not work.
The search resource keyword 'release-group' is the correct name, and correctly mentioned in the 'search' method documentation, but the key used in the MusicBrainz.pm source is "release_group" (underbar vs. hyphen). I presume this was done to allow Perl's word auto-quoting on the LHS of =>.
It either has to be changed to the quoted keyword with a hyphen, or the code has to special-case this keyword to replace the underbar with a hyper before issuing the web request.