Skip Menu |

This queue is for tickets about the WWW-Netflix-API CPAN distribution.

Report information
The Basics
Id: 48863
Status: resolved
Priority: 0/
Queue: WWW-Netflix-API

People
Owner: davidrw [...] cpan.org
Requestors: ryan [...] entink.net
Cc:
AdminCc:

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



Subject: Can't locate object "as_string"
When attempting any kind of interface with the Netflix API, it gives the error: Can't locate object method "as_string" via package "http://api.netflix.com/catalog/titles? oauth_consumer_key=CONSUMERKEY&oauth_nonce=%2Fetc%2Fperl%2Ftemp%2Fnetflix.pl%3A%3A25947&oauth_signature=OAUTHSIG&oauth_signature_method=HMAC- SHA1&oauth_timestamp=1250753980&oauth_token=OAUTHTOKEN&oauth_version=1.0&term=zzyzx" (perhaps you forgot to load "[SAME AS ABOVE]"?) at /usr/local/share/perl/5.8.8/WWW/Netflix/API.pm line 253.
From: zaksantanu [...] gmail.com
replace (line 253) my $url = $request->to_url->as_string; with my $url = $request->to_url; looks working On Kms. Agst. 20 03:47:18 2009, ryan@entink.net wrote: Show quoted text
> When attempting any kind of interface with the Netflix API, it gives > the error: > > Can't locate object method "as_string" via package > "http://api.netflix.com/catalog/titles? >
oauth_consumer_key=CONSUMERKEY&oauth_nonce=%2Fetc%2Fperl%2Ftemp%2Fnetflix.pl%3A%3A25947&oauth_signature=OAUTHSIG&oauth_signature_method=HMAC- Show quoted text
>
SHA1&oauth_timestamp=1250753980&oauth_token=OAUTHTOKEN&oauth_version=1.0&term=zzyzx" Show quoted text
> (perhaps you forgot to load "[SAME AS ABOVE]"?) at > /usr/local/share/perl/5.8.8/WWW/Netflix/API.pm line 253.
This has been fixed in v0.10 and uploaded to CPAN.