Help for this page

Select Code to Download


  1. or download this
    $mech->get($url);
    
  2. or download this
    my $mech = WWW::Mechanize->new(); 
    my @args = (Authorization => "Basic " .MIME::Base64::encode('USER:PASS
    ++'));
    $mech->get('http://mylink/', @args);
    $mech->get('http://mylink/');
    $mech->credentials($username,$password);