0

I sit behind a proxy and have HTTP and WWW::Mechanize working OK locally.

But advice || pointers as to how to get through a proxy please.

Regards Ian

brian d foy
  • 129,424
  • 31
  • 207
  • 592

2 Answers2

8

WWW::Mechanize is an extension of LWP::UserAgent:

WWW::Mechanize is a proper subclass of LWP::UserAgent and you can also use any of LWP::UserAgent's methods.

So you can just use ->env_proxy, or ->proxy — as described in the manual.

cjm
  • 61,471
  • 9
  • 126
  • 175
0

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