Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Little issue perl script with WWW::Mechanize 1.73

by Corion (Patriarch)
on May 20, 2015 at 06:26 UTC ( [id://1127214]=note: print w/replies, xml ) Need Help??


in reply to Re: Little issue perl script with WWW::Mechanize 1.73
in thread perl script logging into multiple routers

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1127214]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2024-04-23 10:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found