Subject: | Bug in myspace::comments |
I get the following error message when trying to use the main "Example 1" and "Example 2"
scripts on the myspace::comments man page.
Can't use an undefined value as an ARRAY reference at /usr/lib/perl5/site_perl/5.8.0/WWW/
Myspace/Comment.pm line 124, <STDIN> line 2.
*Code that reproduces bug:
use WWW::Myspace;
use WWW::Myspace::Comment;
my $myspace = new WWW::Myspace;
my $comment = WWW::Myspace::Comment->new( $myspace );
my $response = "";
while ( $response ne "DONE" ) {
$response = $comment->post_comments( "Evening!" );
sleep 24*60*60;
}
Other info:
* Accepting friends requests and sending them comments works fine
* There were some problems installing YAML - had to force install it. After that www-
myspace installed fine
* I'm not sure whether expat is working
* perl v5.8.0
* Linux p15161741.pureserver.info 2.4.25-040218 #1 SMP Wed Feb 18 17:59:29 CET 2004
i686 i686 i386 GNU/Linux