Help for this page

Select Code to Download


  1. or download this
    my $result = $exp->send("exec dummp.pl\n");
    {
    ...
    }
    $exp->soft_close();
    my $status = $exp->exitstatus();
    
  2. or download this
    my $resonse =  'Installation finished successfully' ;
    
    ...
            ['-re', $resonse => sub {} ],
            [ timeout => sub { die "Timeout, no prompt" } ],
    );