Help for this page

Select Code to Download


  1. or download this
    #! /bin/bash
    dummp.pl  # may need full/relative path here
    echo $?
    
  2. or download this
    my $result = $exp->send("exec wrapper.sh");
    $exp->expect (5, [qr/1/, sub {<handle failure>}],
                     [qr/0/, sub {<handle success>}],
                     ...);
    ...