-1

How would I go about doing this? I have a list of proxies and want to rotate through them, but I need to know how to set the proxy first.

1 Answers1

1

You need to add more details to your question, such as what are you really trying to do and what modules you're currently using.

If you're using LWP::UserAgent, which is pretty much standard, the docs have examples:

https://metacpan.org/module/LWP::UserAgent#Proxy-attributes

By the way: this probably belongs on Stack Overflow.

Eduardo Ivanec
  • 14,881
  • 1
  • 37
  • 43