mpolo has asked for the wisdom of the Perl Monks concerning the following question:
This version of LWP chokes on the normal $ua->proxy('http','http://username:password@proxy:port/') This version of LWP also lacks the proxy_authentication method that I found by searching Perlmonks.
Installing modern modules is something of a hit-and-miss on this computer, due to the older libraries and program versions. In particular, "use warnings" and "our" are no-no's, and require lots of wild editing of the module files.
How can I make this work with the old LWP, or how new an LWP I would need to install to get this functionality? Would the newest LWP likely install on such a machine with just removing all the "use warnings" and removing the "our"s (probably nuking "use strict" in the process -- not the nicest thing in the world to have to do)? Unfortunately, the server I am programming on is a production machine, and an upgrade to a modern OS and Perl would break things that I would rather not have to fix (like a big PHP site -- ick), and is remote to me. This is the only use of LWP on the server, so I can freely mess with that...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Ancient LWP and proxies
by cees (Curate) on Nov 30, 2003 at 22:29 UTC | |
by mpolo (Chaplain) on Dec 01, 2003 at 09:48 UTC | |
|
Re: Ancient LWP and proxies
by Roger (Parson) on Nov 30, 2003 at 22:44 UTC | |
by Abigail-II (Bishop) on Dec 01, 2003 at 00:06 UTC | |
by Roger (Parson) on Dec 01, 2003 at 00:36 UTC |