in reply to problem in connecting remote host
I put in a print statement after the variable assignment to $prompt,
and got this result:print "$prompt\n";
Hence, I think you need to change your strategy on the second line.ash-2.03\\
Also, (guessing here) I don't think you want to set that prompt in the "new Net::Telnet" object creation. You should just leave that out if you're going to use the explicit open & waitfor strategy.
non-Perl: Andy Ford
|
|---|