Subject: | Uninitialized value errors in myspace.pm 0.61 |
Date: | Mon, 1 Jan 2007 23:48:09 -0800 |
To: | <bug-WWW-Myspace [...] rt.cpan.org> |
From: | "DJ Boy" <djboy [...] churchofgirl.com> |
I get the following error messages when trying to run autocomment or
sendmessage routines.
Didn't get friend count at /usr/local/share/perl/5.8.4/WWW/Myspace.pm line
5306, <STDIN> line 2.
Didn't get user_name at /usr/local/share/perl/5.8.4/WWW/Myspace.pm line
5311, <STDIN> line 2.
Use of uninitialized value in numeric gt (>) at
/usr/local/share/perl/5.8.4/WWW/Myspace.pm line 2221, <STDIN> line 2.
Use of uninitialized value in concatenation (.) or string at
/usr/local/share/perl/5.8.4/WWW/Myspace.pm line 5265, <STDIN> line 2.
Use of uninitialized value in concatenation (.) or string at
/usr/local/share/perl/5.8.4/WWW/Myspace.pm line 5265, <STDIN> line 2.
Use of uninitialized value in numeric gt (>) at
/usr/local/share/perl/5.8.4/WWW/Myspace.pm line 2221, <STDIN> line 2.
clobbergirl:/var/www/development/cgi-bin#
Here is a sample script
use WWW::Myspace;
use WWW::Myspace::Message;
my $myspace = new WWW::Myspace;
my $message = WWW::Myspace::Message->new( $myspace );
$message->subject("Happy New Year Sluts and Squares");
$message->message("It's January lovelies and you know what that means...the
maiden voyage of Sluts and Squares!!! The club night where YOU dance and
party it up and WE do the rest.<br><br>Live music starts at 10pm (doors at
9).<br>Get fluffed-up with the love-punk stylings of Hey Lover and dreamtime
galaxy girls The Ovulators.<br>Then let DJ Crusher and DJ Boy love you long
time on the dancefloor<br>Saturday, January 20<br>acme<br>SE 8th and
Main<br>10pm (doors at 9):: 21+ :: $3");
$message->friend_ids( $myspace->get_friends );
my $response = "";
while ( 1 ) {
$response = $message->send_message;
last if ( $response eq "DONE" );
if ( $response eq "CAPTCHA" ) {
}
sleep 12*60*60;
}
$message->reset_exclusions;