Skip Menu |

This queue is for tickets about the WebService-Google-Reader CPAN distribution.

Report information
The Basics
Id: 40875
Status: resolved
Priority: 0/
Queue: WebService-Google-Reader

People
Owner: Nobody in particular
Requestors: cjp [...] cosmicvibes.net
Cc:
AdminCc:

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



Subject: Error Whilst Adding Feed
My simple script: #!/usr/bin/perl $user = "hiddenuser"; $pass = "hiddenpass"; $url = "http://www.scan.co.uk/rss/todayonlyrss.xml"; use WebService::Google::Reader; my $reader = WebService::Google::Reader->new( username => $user, password => $pass, ); print $reader->error; #$reader->subscribe($url); $reader->edit_feed($url, subscribe); ------------------------------------------------- Returns this error: Use of uninitialized value in concatenation (.) or string at /usr/local/share/perl/5.8.8/WebService/Google/Reader.pm line 599. -------------------------------------------------- Using: perl, v5.8.8 built for x86_64-linux-gnu-thread-multi Kubuntu 8.04 - Linux cadabra 2.6.24-19-generic #1 SMP Wed Aug 20 17:53:40 UTC 2008 x86_64 GNU/Linux
From: cjp [...] cosmicvibes.net
Looking closer, I think you just need to change line 599 to: $path = 'feed/' . ($escape ? uri_escape( $f ) : $f); Cheers, cjp On Wed Nov 12 18:27:56 2008, cjp wrote: Show quoted text
> My simple script: > > #!/usr/bin/perl > > $user = "hiddenuser"; > $pass = "hiddenpass"; > > $url = "http://www.scan.co.uk/rss/todayonlyrss.xml"; > > use WebService::Google::Reader; > > my $reader = WebService::Google::Reader->new( > username => $user, > password => $pass, > ); > > print $reader->error; > #$reader->subscribe($url); > $reader->edit_feed($url, subscribe); > > ------------------------------------------------- > > Returns this error: > > Use of uninitialized value in concatenation (.) or string at > /usr/local/share/perl/5.8.8/WebService/Google/Reader.pm line 599. > > -------------------------------------------------- > Using: > perl, v5.8.8 built for x86_64-linux-gnu-thread-multi > Kubuntu 8.04 - Linux cadabra 2.6.24-19-generic #1 SMP Wed Aug 20 > 17:53:40 UTC 2008 x86_64 GNU/Linux >
_warning_ handled in 0.08