我坐在代理后面,让 HTTP 和 WWW::Mechanize 在本地正常工作。
但是建议|| 请提供有关如何通过代理的指示。
问候伊恩
WWW::Mechanize是LWP::UserAgent的扩展:
WWW::Mechanize是 的适当子类,LWP::UserAgent您也可以使用 的任何LWP::UserAgent方法。
因此,您可以使用->env_proxy, 或->proxy— 如手册中所述。
Excellent clue depesz||cjm.
It was actually a matter of "rtfm". Forgot the need for the environment variable "HTTP_PROXY". Do not get old you guys !!
Ian