my $usr = "your_username";
my $pw = "your_password";
$mech->field( "ctl00$MainContent$Login1$UserName", $usr);
$mech->dump_text; # for debugging
Could it have something to do with the 'action' field? How do I set that in a form?
1. Keep it simple
2. Just remember to pull out 3 in the morning
3. A good puzzle will wake me up
Many. I like to torture myself
0. Socks just get in the way
Results (315 votes). Check out past polls.