Skip Menu |

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

Report information
The Basics
Id: 24360
Status: resolved
Worked: 10 min
Priority: 0/
Queue: WWW-Myspace

People
Owner: GRANTG [...] cpan.org
Requestors: ducky [...] flukiest.com
Cc:
AdminCc:

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



Subject: get_comments not returning any values for WWW-Myspace-0.61
Date: Sun, 14 Jan 2007 10:15:44 -0800
To: bug-WWW-Myspace [...] rt.cpan.org
From: Ducky <ducky [...] flukiest.com>
The get_comments method does not seem to be returning any data with the WWW-Myspace-0.61 module. Below is my test script along with the output. Script: #!/usr/bin/perl -w use strict; use WWW::Myspace; use WWW::Myspace::Comment; use Data::Dumper; my $args = { 'username' => 'usernameGoesHere', 'password' => 'passwordGoesHere', }; my $myspace = WWW::Myspace->new( $args->{'username'}, $args->{'password'} ); die "Login failed\n" unless ( $myspace->logged_in ); my $comment_list = $myspace->get_comments( $myspace->my_friend_id() ); print Dumper( $comment_list ); Output: Day too big - 2238936 > 24855 Sec too big - 2238936 > 11647 Day too big - 2238936 > 24855 Sec too big - 2238936 > 11647 Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.5/WWW/Myspace.pm line 1392, <DATA> line 22008. Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.5/WWW/Myspace.pm line 1392, <DATA> line 22008. Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.5/WWW/Myspace.pm line 1392, <DATA> line 22008. Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.5/WWW/Myspace.pm line 1392, <DATA> line 22008. Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.5/WWW/Myspace.pm line 1392, <DATA> line 22008. Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.5/WWW/Myspace.pm line 1392, <DATA> line 22008. Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.5/WWW/Myspace.pm line 1392, <DATA> line 22008. $VAR1 = [ undef, undef ];
Myspace drastically changed the way lists are navigated through. get_comments has been temporarily disabled in 0.62 until I can re-write it. On Sun Jan 14 13:16:06 2007, ducky@flukiest.com wrote: Show quoted text
> The get_comments method does not seem to be returning any data with the > WWW-Myspace-0.61 module. > > Below is my test script along with the output. > > Script: > > #!/usr/bin/perl -w > > use strict; > use WWW::Myspace; > use WWW::Myspace::Comment; > use Data::Dumper; > > my $args = { > 'username' => 'usernameGoesHere', > 'password' => 'passwordGoesHere', > }; > > my $myspace = WWW::Myspace->new( $args->{'username'}, > $args->{'password'} ); > > die "Login failed\n" unless ( $myspace->logged_in ); > > my $comment_list = $myspace->get_comments( $myspace->my_friend_id() ); > > print Dumper( $comment_list ); > > > Output: > > Day too big - 2238936 > 24855 > Sec too big - 2238936 > 11647 > Day too big - 2238936 > 24855 > Sec too big - 2238936 > 11647 > Use of uninitialized value in concatenation (.) or string at > /usr/lib/perl5/site_perl/5.8.5/WWW/Myspace.pm line 1392, <DATA> line > 22008. > Use of uninitialized value in concatenation (.) or string at > /usr/lib/perl5/site_perl/5.8.5/WWW/Myspace.pm line 1392, <DATA> line > 22008. > Use of uninitialized value in concatenation (.) or string at > /usr/lib/perl5/site_perl/5.8.5/WWW/Myspace.pm line 1392, <DATA> line > 22008. > Use of uninitialized value in concatenation (.) or string at > /usr/lib/perl5/site_perl/5.8.5/WWW/Myspace.pm line 1392, <DATA> line > 22008. > Use of uninitialized value in concatenation (.) or string at > /usr/lib/perl5/site_perl/5.8.5/WWW/Myspace.pm line 1392, <DATA> line > 22008. > Use of uninitialized value in concatenation (.) or string at > /usr/lib/perl5/site_perl/5.8.5/WWW/Myspace.pm line 1392, <DATA> line > 22008. > Use of uninitialized value in concatenation (.) or string at > /usr/lib/perl5/site_perl/5.8.5/WWW/Myspace.pm line 1392, <DATA> line > 22008. > $VAR1 = [ > undef, > undef > ]; >
Fixed in version 0.66 (not yet released)