Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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

Replies are listed 'Best First'.
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2016-12-09 16:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (153 votes). Check out past polls.