I am looking for a way to tell the LWP modules (specifically LWP::UserAgent, but if there's a solution it's probably not specific to that) to tunnel through a SOCKS proxy or a chain of SOCKS proxies. I cannot find any documentation about this in either the SOCKS or LWP manual pages.