davemabe has asked for the wisdom of the Perl Monks concerning the following question:

I'm trying to post to Blogger with Perl. I realize there's Net::Blogger, but it doesn't support post titles. I understand that XML::Atom can be used, but this code always results in a 500 error from the server. It seems to authenticate me fine because I can put an incorrect password in there and I get a different error. It seems there are others having the same problem, so I thought I'd ask my fellow monk.
use XML::Atom::Client; use XML::Atom::Entry; use XML::Atom::Person; use strict; my $api = XML::Atom::Client->new; $api->use_soap(0); $api->username("username"); $api->password("password"); my $entry = XML::Atom::Entry->new; $entry->title("Testing Blogger via Perl"); $entry->content("Did it work?"); my $author = XML::Atom::Person->new; $author->name("Dave"); $author->email("email\@gmail.com"); $entry->author($author); $api->createEntry("https://www.blogger.com/atom/<blogid>", $entry) or +warn $api->errstr;