http://www.perlmonks.org?node_id=955780

jdlev has asked for the wisdom of the Perl Monks concerning the following question:

I've got 2 routers I want to monitor (basically to see if a website goes down). If the website goes down, I want to navigate into the router, and reboot it (which fixes the problem 75% of the time).

I've got a javascript form on the router webpage that requests a password. What's the best way to do this automatically using Perl?

Also have another router site that requests a username & password, but it looks like it comes from a windows prompt. How can I use Perl to automatically enter a username & password into that field?

TIA!

I love it when a program comes together - jdhannibal