use Data::Dump 'pp';
my $feed = XML::Feed->parse(\*DATA)
or die XML::Feed->errstr;
for my $entry ($feed->entries) {
pp $entry;
}
outputs
bless({
_version => "2.0",
entry => {
"dc" => { creator => "foo bar three" },
"description" => " <p align=\"center\">\n<span style=\"font-size:
+0.75em;\">
</span></p>\n<p>words words words</p> ",
"guid" => "https://example.org/",
"http://purl.org/dc/elements/1.1/" => { creator => "foo bar three"
+ },
"isPermaLink" => "",
"item" => "\n\n\n\n\n\n\n",
"link" => "https://www.example.org/",
"pubDate" => "2019-09-10 13:38:00",
"title" => " Foo Bar Two ",
},
}, "XML::Feed::Entry::Format::RSS")
poj |