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


in reply to PerlMonksChat module via proxy

PerlMonks module does not handle proxies, so you need to edit the PerlMonks.pm file, and add a $self->{ua}->env_proxy() call in the new() method, like this :
sub new { my $class=shift; my $self={}; $self->{ua}=new LWP::UserAgent; $self->{ua}->env_proxy(); bless $self, $class; return $self; }
Then, define your proxy by setting the environment variable http_proxy before launching the client :
http_proxy=http://your.proxy.net:8001 export http_proxy
(LWP::UserAgent)