There's a heap of dependencies listed for that module, did all of them install OK? Although the cpan install WWW::Myspace
command should have downloaded the dependencies for you (I think), if it didn't you might be able to find out by doing the steps manually. For example:
# You could run the following instead and check output.log:
make test | tee output.log
sudo make install
When I try and run the steps manually I get plenty of wstat errors, but not the same one that you do.