Yes. A failed ->connect call returns undef so there's no object that a method can be called upon.
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
In reply to Re^5: error catching by diotalevi in thread error catching by Anonymous Monk