Help for this page

Select Code to Download


  1. or download this
     $telnet_box->open("$host") || 
            die "Failed to connect to $host $!";
    ...
            die "Failed to log onto $host. The username or password is wro
    +ng$!";   
    @$lines = $telnet_box->cmd("perl expect_execute.pl");
    
  2. or download this
    $exp_inst->log_file("$templog", "w");
            $exp_inst->expect($timeout,
    ...
                    }
                ]
            );
    
  3. or download this
    prompt> command
     
     
    More ...
    
  4. or download this
    prompt> command
    xyz
    yy
    prompt>