http://www.perlmonks.org?node_id=26236


in reply to Perl/Tk Chatterbox Client

Is there a workaround for us poor people with proxies? Is there anyway I can get this to connect to my proxy?

--=Lolindrath=--

Replies are listed 'Best First'.
Re: RE: Perl/Tk Chatterbox Client
by Asim (Hermit) on Feb 22, 2001 at 18:57 UTC

    First, set up your enviromental variables for your HTTP proxy. Then, backup Perlmonks.pm, open it, and move to line 63, which looks like this:

    $self->{ua}=new LWP::UserAgent;

    And add below it:

    $self->{ua}->env_proxy();

    Save it and run it.

    That will get you on as a Anonymous Monk, but I havn't sorted out why it fails with logging in. Ideas welcome! By the By, this is on a WinNT system.

    ----Asim, known to some as Woodrow.
      But what about proxies that require a username/pass combo?
      I've managed to set "HTTP_PROXY="http://bozo.the.com:83" in my .profile, but what about username and pass?

      What does this little button do . .<Click>; "USER HAS SIGNED OFF FOR THE DAY"
        "HTTP_PROXY="http://user:pass@bozo.the.com:83"