I did try using exp_continue; statement after every send but that didnt seem to help either.Did you try returning it?
what advantage will Net::ssh offer that Use Expect doesnt?More clean Perl code? You will need only to do things in ssh instead of running ssh manually and agreeing with it.
In reply to Re^5: regular expression matching in expect
by aitap
in thread regular expression matching in expect
by cmastays
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |