in reply to LWP::Simple setting a proxy

check out the documentation for LWP::UserAgent, you should find what you need there...