SPUG: failed: Bad file descriptor
Luis Medrano
lmzaldivar at mac.com
Thu May 12 13:06:26 PDT 2005
List,
I'm running this code below but is showing this error "failed: Bad file descriptor". any Ideas?
Thanks,
Luis
my $res = XMLRPC::Lite
-> proxy($proxyurl)
## -> call('blogger.getUsersBlogs', $appkey, $username, $password)
## -> call('blogger.getRecentPosts', $appkey, $blogid, $username, $password, 4 )
## -> call('blogger.newPost', $appkey, $blogid, $username, $password, 4 )
-> call('metaWeblog.newPost', $blogid, $username, $password,
{
'title'=>$title,
'description'=>$content,
'mt_allow_comments'=>1,
#'mt_allow_pings'=>1
},
1
)
->result;
if (defined ($res))
{
print "--success--\n";
print Dumper ($res);
}
else
{
print "failed: $!";
}
More information about the spug-list
mailing list