Hand-editing CPAN modules is a chancy proposition at best. You are setting yourself up to strange bugs in the future; and, what have you just done to the other folks using LWP::UserAgent? Suddenly their code breaks because they aren't using a proxy...? Also, is this code going to be run on other machines? Are you going to make the change to line 98 everywhere? Sigh.
I'd strongly suggest that you rethink this policy. Make a local copy of LWP::UA in your ~home directory and edit *that* if you have absolutely to. Changing the universal copy of a CPAN module -- this is just Not A Good Idea.
----
I Go Back to Sleep, Now.
OGB
In reply to Re^3: Forcing LWP-UserAgent to use a proxy server without modifying code
by Old_Gray_Bear
in thread Forcing LWP-UserAgent to use a proxy server without modifying code
by mvaline
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |