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.
In reply to Re^2: Perl Advent Calendar Daily Installer
by Aristotle
in thread Perl Advent Calendar Daily Installer
by jeffa
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |