Subject: | Can't locate object method "instance" via package "XML::Atom::Syndication" |
Date: | Tue, 31 Jan 2017 21:57:05 +0100 |
To: | bug-XML-RSS-FromAtom [...] rt.cpan.org |
From: | Christophe Gevrey <gevrey [...] pobox.com> |
Hello,
Apparently there is a reference to a non-existing method:
Can't locate object method "instance" via package
"XML::Atom::Syndication" at
/usr/local/share/perl/5.18.2/XML/RSS/FromAtom.pm line 44.
Sample code:
use strict;
use warnings;
use XML::RSS::FromAtom;
use Data::Dumper;
use LWP::Simple;
my $atom2rss = new XML::RSS::FromAtom;
my $data = get 'http://recode.net/feed/';
my $rss = $atom2rss->parse($data);
#$rss->isa('XML::RSS');
print Dumper($rss), "\n";
-----------
Regards,
Christophe