4 eval { require XML::RSS::LibXML };
5 plan skip_all => "XML::RSS::LibXML is required." if $@;
11 for my $parser (qw( XML::RSS XML::RSS::LibXML )) {
12 $XML::Feed::Format::RSS::PREFERRED_PARSER = $parser;
14 my $f = XML::Feed->parse("t/samples/category-bug.xml");
15 for my $e ($f->entries) {
16 eval { $e->category };