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?