Welcome to the Monastery | |
PerlMonks |
Re^2: Little issue perl script with WWW::Mechanize 1.73by Corion (Patriarch) |
on May 20, 2015 at 06:26 UTC ( [id://1127214]=note: print w/replies, xml ) | Need Help?? |
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 Section
Seekers of Perl Wisdom
|
|