laziness, impatience, and hubris | |
PerlMonks |
Re^3: Expect questionby Crackers2 (Parson) |
on Oct 27, 2007 at 00:37 UTC ( [id://647525]=note: print w/replies, xml ) | Need Help?? |
I might be wrong of course, but it looks to me like that's just the parsing of the parameter you gave to the function, not what was received from the server. Could the problem have something to do with the "exact match" part? You can see it's trying to match against 'Connecting to <host_ip>...\r\nPassword: ' So perhaps you need something like '.*Password: ' as a pattern? (assuming it takes regexes).
In Section
Seekers of Perl Wisdom
|
|