Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^4: regular expression matching in expect

by cmastays (Initiate)
on Aug 09, 2012 at 23:05 UTC ( #986623=note: print w/ replies, xml ) Need Help??


in reply to Re^3: regular expression matching in expect
in thread regular expression matching in expect

I did try using exp_continue; statement after every send but that didnt seem to help either.

BTW. what advantage will Net::ssh offer that Use Expect doesnt?


Comment on Re^4: regular expression matching in expect
Re^5: regular expression matching in expect
by aitap (Deacon) on Aug 10, 2012 at 07:26 UTC

    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.

    Sorry if my advice was wrong.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://986623]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2014-12-27 07:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls