if your only concern is LWP, then you can do this on a per UA basis using proxy settings...
use LWP::UserAgent; my $u = LWP::UserAgent->new; $u->proxy("http","http://www.apache.org/" +); print $u->get("http://google.com/")->as_string;
UPDATE: your milage may vary based on the HTTP Server you connect to, see followup replies for details
In reply to Re: Direct a LWP connection to a different host
by hossman
in thread Direct a LWP connection to a different host
by Corion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |