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;