You could also override &CORE::GLOBAL::gethostbyname for a more implementation-agnostic approach. It's slightly less code, too.
Makeshifts last the longest.
In reply to Re: Direct a LWP connection to a different host
by Aristotle
in thread Direct a LWP connection to a different host
by Corion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |