$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/...
In reply to Re: LWP::Useragent - why doesn't this code work? :/
by almut
in thread LWP::Useragent - why doesn't this code work? :/
by ultranerds
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |