Skip Menu |

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

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

People
Owner: GRANTG [...] cpan.org
Requestors: chris [...] churchofgirl.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 0.45
  • 0.46
  • 0.47
  • 0.48
  • 0.49
Fixed in: (no value)



Subject: User gets 'Can't call method "find_input" on an undefined value' from myspace.pm when invoking comment script
.49 Can't call method "find_input" on an undefined value at /usr/local/share/perl/5.8.4/WWW/Myspace.pm line 3447. .48 Can't call method "find_input" on an undefined value at /usr/local/share/perl/5.8.4/WWW/Myspace.pm line 3434. .47 Can't call method "find_input" on an undefined value at /usr/local/share/perl/5.8.4/WWW/Myspace.pm line 3312. .46 Can't call method "find_input" on an undefined value at /usr/local/share/perl/5.8.4/WWW/Myspace.pm line 3312. .45 Can't call method "find_input" on an undefined value at /usr/local/share/perl/5.8.4/WWW/Myspace.pm line 3243. CODE #!/usr/bin/perl use WWW::Myspace; use WWW::Myspace::Comment; my $myspace = new WWW::Myspace; my $comment = new WWW::Myspace::Comment( $myspace ); # Send the message $comment->message(""); $comment->friend_ids( ... ); $comment->post_all; $comment->reset_exclusions;
I can't reproduce this error - in fact "make test" runs an almost identical script. If you're still having this problem, please reply and give a bit more detail. I believe there were some issues with an error like this being displayed when invalid friend_ids were being used (that is, the module should have been returning a status code such as "FF", but was displaying this error instead).