Skip Menu |

This queue is for tickets about the HTTP-DAV CPAN distribution.

Report information
The Basics
Id: 14506
Status: resolved
Worked: 10 min
Priority: 0/
Queue: HTTP-DAV

People
Owner: OPERA [...] cpan.org
Requestors: lee.goddard [...] easa.eu.int
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.31
Fixed in: (no value)



Subject: Undefined method "get_response"
Perl speaks better than English on this, i think: use HTTP::DAV; my $uri = 'http://edms/EASA/common/si2 supporting documents/COM/L1/EASA.1310'; my $uri_dir = 'http://edms/EASA/common/si2 supporting documents/COM/L1/XXXXXX'; my $ua = HTTP::DAV->new; $ua->credentials( # Will inherit from marc -uri => $uri, -user => 'goddale', -pass => 'welcome1', -realm => 'EDMS', ); $ua->open( -url=>$uri_dir ) or confess("Couldn't open $uri_dir:\n\n\n" .$ua->message."\n\n\n".Dumper($ua->get_lastresponse() )); Can't locate object method "get_lastresponse" via package "HTTP::DAV" at C:\temp.pl line 29.
[guest - Thu Sep 8 06:38:24 2005]: Show quoted text
> Perl speaks better than English on this, i think: > > .... > > Can't locate object method "get_lastresponse" via package "HTTP::DAV" > at C:\temp.pl line 29.
This looks like a bug in the documentation - the method is get_last_response(). Regards vittal
Documentation will be fixed in next version.