[mythtv-users] Mythvideo/IMDB script not working [Bump]
Stephen Tait
tait at digitallaw.co.uk
Wed Jun 30 08:18:58 EDT 2004
>Possible LWP misconfig:
>
>What does this give?
>
>All on one line:
>perl -e'use LWP::Debug qw(+);use LWP::UserAgent;$ua = LWP::UserAnew;my
>$req = HTTP::Request->new(GET=>"http://www.imdb.com/find?;q=akira");my
>$res = $ua->request($req);print $res->status_line,"\n";'
>
>David
Bingo.
banquo root # perl -e'use LWP::Debug qw(+);use LWP::UserAgent;$ua =
LWP::UserAnew;my $req =
HTTP::Request->new(GET=>"http://www.imdb.com/find?;q=akira");my $res =
$ua->request($req);print $res->status_line,"\n";'
Can't locate object method "request" via package "LWP::UserAnew" (perhaps
you forgot to load "LWP::UserAnew"?) at -e line 1.
Looks like I'm missing this module (flip know where it's got to...?) or
it's misconfigured. I'll go and google it; in the meantime if anyone has
any idea how to fix this I'd be much obliged for any shortcuts :^)
Cheers David, you're a star! I'm afraid I gave away my prize strawberry jam
to Michael yesterday, for his ALSA knowledge, but I can probably get a hold
of some Bavarian blueberry muffins if you give me a week or two.
Note To Self: Learn PERL, damnit!
More information about the mythtv-users
mailing list