I installed this module via ppm. After I tried a very basic sample, i got an error.
Here's the test script:
CPAN::Forum
WWW-Myspace - WWW-Myspace missing routines
| Posted on Thu Jan 17 22:16:31 2008 by bugmenot |
| WWW-Myspace missing routines |
|
I installed this module via ppm. After I tried a very basic sample, i got an error.
Here's the test script:
my $myspace = WWW::Myspace->new ($account, $password);
unless ( $myspace->logged_in ) { die "Login failed: " . $myspace->error }
my ( @friends ) = $myspace->get_friends();
Can't locate object method "decoded_content" via package "HTTP::Headers" at (eva l 47) line 1. So i figured i didn't have this sub. I found HTTP\Message.pm and duplicated:
<BR>sub content { shift->_elem('_content', @_); }
to
sub decoded_content { shift->_elem('_content', @_); }
just to see if it would work. So i got past that part but now i get a new error: Can't locate object method "readonly" via package "HTML::Form::TextInput" at C:/ Perl/site/lib/WWW/Myspace.pm line 5668. Now i'm missing that. Obviously i don't want to go through and "fix" all of these places. What can i do to get this module working. I thought it installs all dependant modules. Thanks in advance. |
| Write a response |
(2)
]