in reply to Re: Expect.pm - FYI and question
in thread Expect.pm - FYI and question

No I have not done that. However, if I add the my "Password: " template the entire text the server is sending my way (such as "Connecting to ..." etc, on previous lines) the match works just fine with double quotes (and I have not touched the blanks when I added the "Connecting to ... " text to the template.

Replies are listed 'Best First'.
Re^3: Expect.pm - FYI and question
by samtregar (Abbot) on Oct 30, 2007 at 19:55 UTC
    I'm pretty sure your problem is not the double-quotes. I would focus my attention on the data coming from the server - it may not be what you think it is. I've been using Expect for years, starting with the TCL version, and this kind of problem is very common.

    -sam