Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Perl Advent Calendar Daily Installer

by Aristotle (Chancellor)
on Dec 08, 2003 at 12:54 UTC ( [id://313071]=note: print w/replies, xml ) Need Help??


in reply to Re: Perl Advent Calendar Daily Installer
in thread Perl Advent Calendar Daily Installer

And for those of us who like to avoid the expat-based modules and prefer libxml2:
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' ) );
Actually for the RDF feed currently provided you can just use //title as the XPath expression.

Makeshifts last the longest.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://313071]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-05-18 23:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found