I'm attempting to pass the user name and password to apache with WWW::Mechanize::Chrome to my router: $mech->get('http://admin:password@10.0.0.1/DEV_control.htm');
Sometimes it will work, more often it will not. I have tried it with and without WMC's sync setting turned on. It didn't make a different. I don't see any other obvious way of filling out the username and password with $mech as the form does not appear on the html page. Is there anything else I can try?
Update: Problem is actually worse than I imagined. $mech is basically cut off from my program. I can't even navigate away from the page.
UPDATE, with solution: Out of sheer luck, I discovered that shortening the password from 20 characters down to 10 solved the problem.
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest Vicar";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |