Skip Menu |

This queue is for tickets about the Net-CouchDb CPAN distribution.

Report information
The Basics
Id: 46647
Status: resolved
Priority: 0/
Queue: Net-CouchDb

People
Owner: Nobody in particular
Requestors: mendoza [...] pvv.ntnu.no
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.01
Fixed in: (no value)



Subject: dies when call() is called in list context
$ perl -wle 'use Net::CouchDb; my $cdb = Net::CouchDb->new(); $cdb- Show quoted text
>create_db("test"); my $db = $cdb->db("test"); my @a = $db->call
("POST","", { "test" => "lol" });' gives: Can't locate object method "status" via package "HTTP::Headers" at /usr/ share/perl5/HTTP/Message.pm line 533. line 240 in CouchDb.pm: return wantarray ? ($res->status, $obj) : $obj; Did you mean $res->code?
Sorry, didn't see this bug report for some reason. I'm not maintaining this module anymore (I suggest you use CouchDB::Client instead). A new release will be hitting CPAN shortly suggesting that, plus a fix for this bug (I believe).