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