Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 meditating upon the Monastery: (10)
As of 2014-09-19 19:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (144 votes), past polls