in reply to Re: Perl Advent Calendar Daily Installer
in thread Perl Advent Calendar Daily Installer
Actually for the RDF feed currently provided you can just use //title as the XPath expression.use strict; use warnings; use LWP::Simple 'get'; use XML::LibXML; use CPAN; CPAN::Shell->install( XML::LibXML ->new() ->parse_string( get( 'http://perladvent.org/perladventone.rdf' + ) ) ->findvalue( '/rss/channel/item/title' ) );
Makeshifts last the longest.
|
|---|