Subject: | $item->content() doesn't work |
This should help illustrate:
use XML::Atom::API;
my $api = XML::Atom::API->new();
my $feed = $api->getFeed( 'http://diveintomark.org/xml/atom.xml' );
foreach $entry( $feed->entries() ) {
print $entry->title(),"\n";
print $entry->content(),"\n";
}
Can't locate object method "getDocumentElement" via package "XML::LibXML::Element" at /usr/local/lib/perl5/site_perl/5.8.2/XML/Atom/Entry.pm line 18