in reply to LWP::Useragent - why doesn't this code work? :/

$request = HTTP::Request->new(GET => qq|$1/$split[1]|) ^

The URL you GET (one slash http:/...) is not the one you print out two lines below (two slashes http://...).

"No Host option provided" is the error you get when starting an URL with http:/domain.org/...

Replies are listed 'Best First'.
Re^2: LWP::Useragent - why doesn't this code work? :/
by ultranerds (Hermit) on Jun 14, 2010 at 14:47 UTC
    Yeah, already caught that one - but still not working :(