DB::CouchDB::Result - a result object for DB::CouchDB Gives you some convenience functions for dealing with CouchDB results my $rs = $db->get_doc($docname); if ($rs->err) { die $rs->errstr; } my $docid = $rs->{_id}; my %result = %$rs;

err
Returns the error from couchdb if there was an error.

errstr
Returns the error string from couchdb if there was an error.