Help for this page

Select Code to Download


  1. or download this
    $ua->proxy(["http"], "http://username:password@proxy.com");
    
  2. or download this
    my $ua = LWP::Custom->new();
    $ua->proxy(["http"], "http://proxy.com");
    ...
        sub set_basic_credentials{ ( $username, $password ) = @_[1..2] }
        sub get_basic_credentials{ $username, $password };
    }