Help for this page

Select Code to Download


  1. or download this
    $mech->submit_form(
        form_number => 1,
        fields    => { 'password' => $self->{password} },
    );
    
  2. or download this
    $mech->submit_form(
        form_name => 'login',
        fields    => { 'input-login-email' => $self->{account}, 'password'
    + => $self->{password} },
    );
    
  3. or download this
    if ($self->{location} eq 'us'){
        login_us($self) unless $self->{logged_in};
    ...
        $self->{logged_in} = 1;
        return $mech->content(base_href => [undef]);
    }