Is there any reason you aren't using Net::LastFM or WebService::LastFM?
Because WebService::LastFM implements some kind of old streaming API for playing Last.FM radio which I'm not interested in, and it does not seem to be compatible with the current v2.0 API from Last.FM.
With regards to your Net::LastFM module, which I actually considered to extend instead, I have to agree with the CPAN naming guidelines which states that the Net:: namespace should be for wire/socket protocols like NNTP, SMTP, HTTP and such, and that high-level application protocols that implement on top of HTTP should use the WebService:: or WWW:: namespaces.
Once I publish the fifth and final part of the article series you'll see my reason for recreating the wheel. But I'll be more than happy to work with you in creating a good API to communicate with Last.FM if you're interested.
Just hang on for a few days, and you can be the judge if you think I'm on to something useful or if it is a waste of time.
The example you gave to start - cpan Dist::Zilla, git clone, authordeps, listdeps doesn't work on 5.14.2 from perlbrew.
listdeps fails (hard error) because these modules are not installed:
What's more - after I installed it, output of dzil listdeps is not parseable by cpan:
=$ dzil listdeps
[Name] couldn't find abstract in lib/WWW/LastFM/Response/MetroList.pm
[Name] couldn't find abstract in lib/WWW/LastFM/Response/Event.pm
[Name] couldn't find abstract in lib/WWW/LastFM/Response/EventList.pm
[Name] couldn't find abstract in lib/WWW/LastFM/Response/Venue.pm
[Name] couldn't find abstract in lib/WWW/LastFM/Response/Metro.pm
[Name] couldn't find abstract in lib/WWW/LastFM/Response.pm
Warning: Cannot install [Name], don't know what it is.
Try the command
Thanks for the update. I've fixed the abstract problems in all the response classes. Github master branch is updated.
How can I modify dist.ini so that authordeps outputs the names of those three missing Pod::Weaver classes?
No idea. I'm not using dzil.
@despesz: https://metacpan.org/module/Dist::Zilla::App::Command::authordeps shows the solution.
I've added the needed lines to the dist.ini so that other people trying it out should have it working properly. Thanks again for the information.
Hope you like the article series.
Comment from: John [Visitor]
How can I install XML::Rabbit on Ubuntu 14.04.1, Kernal 3.19.0-37, PERL v5.18.2?
$ sudo cpanm -S XMl::Rabbit
! Finding XMl::Rabbit on cpanmetadb failed.
! Finding XMl::Rabbit () on mirror http://www.cpan.org failed.
! Couldn't find module or a distribution XMl::Rabbit
Comment from: John [Visitor]
Disregard. I downloaded the module from here: https://cpan.metacpan.org/authors/id/R/RO/ROBINS/XML-Rabbit-0.4.1.tar.gz .
I then copied and pasted the command from your "INSTALL" file, which has a lower-case "L" in "XML." When I did...
sudo cpanm -S XML::Rabbit
sudo cpanm -S XMl::Rabbit
...it seems to have installed.
@John: I can't seem to find this typo in the current source code, but glad you found it out.
Form is loading...