I don't think papering over all errors is a good approach, especially for somebody new to WWW::Mechanize. I would instead suggest trapping the initial failure case within eval {...} and then skipping the device if the connection fails.
In reply to Re^2: Little issue perl script with WWW::Mechanize 1.73
by Corion
in thread perl script logging into multiple routers
by xubu83
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |