Subject: | improper parameters passing in Atompub::Client::init |
You have the following code in the Atompub::Client:
sub init {
my($client) = @_;
$client->NEXT::init(@_);
...
}
instead of
my ($client) = @_;
should be
my $client = shift;
because in the first case you pass reference to object twice, it causes
improper params handling in XML::Atom::Client::init and warnings such as
Reference found where even-sized list expected at
/usr/share/perl5/XML/Atom/Client.pm line 31.