title: Net::Telnet capture error
body: <p>Below is part of the code </p>
  
  <pre><code>use Net::Telnet;
  my $session = new Net::Telnet (Timeout =&gt; 15,Prompt =&gt; '/#$/');
  foreach $node (@nodes) {
      $session-&gt;open("$node") or die ("\n\n\n NOT ACCESSIBLE ");
      $session-&gt;login('admin', 'admin');
      $session-&gt;cmd('term len 0');
  
      my @output1=$session-&gt;cmd("sh isis neighbor");
      print @output1;
  }
  </code></pre>
  
  <p>Puspose of this script: login to list of nodes and print output</p>
  
  <p>however i see one of the node is not reachable from server and this script stops printing output with below output.</p>
  
  <p>"eof read waiting for login prompt:  at telnet-test-rtc1.pl line 11 "</p>
  
  <p>My requirement is even if one of the node is not reachable the script should continue excluding that node.</p>
  
  <p>Is it possible ? Please let me know if more clarity required</p>
  
  <p>regards</p>