Hello, looking at the release date for your module I see that the issue
might not have been obvious when the module was written. Anyway, now,
when Google sees User-Agent HTTP header which either LWP::UserAgent or
LWP::Simple use by default it gives 403. So your fetch method always
comes out with an undef due to 403 error. The solution is to change the
User-Agent string with either use LWP::Simple; LWP::Simple::_init_ua;
$LWP::Simple::ua->agent("MyUserAgentString");" or just use
LWP::UserAgent instead (I'd recommend the later and provide a useful
error message).
Cheers