Help for this page

Select Code to Download


  1. or download this
     $exp->expect($timeout,
                 [ qr/\(yes\/no\)\?/i, sub { my $self = shift;
                                          $self->send("yes\r");   <----unk
    +nown host
    ...
                                           }],
    
                );
    
  2. or download this
    $exp->expect($timeout,
                 [ qr/#/i, sub { my $self = shift;
    ...
                                           }],                          un
    +less ($exp->expect($timeout, -re , "~")){} ;
    
                );
    
  3. or download this
    #!/usr/bin/env perl
    use strict;
    ...
    #                 $exp->send("time\n");
    
    }