in reply to Direct a LWP connection to a different host

You could also override &CORE::GLOBAL::gethostbyname for a more implementation-agnostic approach. It's slightly less code, too.

Makeshifts last the longest.

  • Comment on Re: Direct a LWP connection to a different host