Subject: | get_friends |
Date: | Mon, 25 Aug 2008 15:56:34 -0500 |
To: | bug-WWW-Myspace [...] rt.cpan.org |
From: | "Rick Smith" <wilpower50 [...] gmail.com> |
Hello
I'm having an issue with the get_friends module, or more specifically, the
follow_link called by the get_friends module.
I am utilizing the get_friends function using args source => 'profile', id
=> $friend_id
If I execute the following code:
$myspace->new()
$myspace->get_friends( source => 'profile', id => '12345' );
$myspace->get_friends( source => 'profile', id => '67890' );
The second call to $myspace->get_friends (for 67890) returns no friends.
The issue appears to be that when follow_link is called from get_friends,
the regex that is known to follow_link is from the previous call to
get_friends.
The variables are being set properly in get_friends. but when follow_link is
called a second time from get_friends, the @_ variables within follow_link
seem to still be set from the initial call.
I'm running on a win32 platform
utilizing myspace 0.84
activeperl 5.8.8 build 819
spiffy 0.30
thanks
Derek