in reply to Logging into multiple devices

I'm not familiar with this module, but in general you can catch calls to die by wrapping the fatal code with eval. Your code will look something like this:

eval { $t->login(Name => $login_att[11], Password =>$login_att[12]); 1 } or warn "Can't Login: " . $t->errmsg;

In the general case, $@ has the error you would normally get printed on stderr when the script died.