in reply to Telling LWP which source IP to use
It's not documented in the POD, but...
@LWP::Protocol::http::EXTRA_SOCK_OPTS = (LocalAddr => $ip_to_use);However, I don't recall if it works for all protocols that LWP supports, and may be something that is deprecated in future releases.
--k.
In Section
Seekers of Perl Wisdom