in reply to Ignore $mech->click() errors
Is there anyway to tell Perl to simply ignore it instead of dying?
Not exactly sure about the context of your question... but maybe you want to unset autocheck (i.e. pass autocheck => 0 to the mech constructor), or wrap the call in question into an eval {...}, which would be Perl's generic way to catch exceptions.
|
|---|