in reply to Skipping unreachable nodes in script.

I must recommend Net::Telnet::Cisco. It will save you a lot of trouble in the long run.

Happily, it returns a result you could use for skipping purposes:

$ok = $obj->login($username, $password);

-Paul