Subject: | Proxy deactivate |
When $lwpcurl->proxy('') is called, it is simply ignored. The problem is on this lines:
sub proxy {
my ( $self, $proxy ) = @_;
if ( !$proxy ) { # Show be changed by if ( !defined $proxy ) {
return $self->{proxy};
}
$self->{proxy} = $proxy;
$self->{agent}->setopt( CURLOPT_PROXY, $self->proxy );
}