in reply to Error in Telnet wait function even though succesful telnet on machine
$ is a meta character meaning end of line, so if you want to match it in 'tdd:~$' you'll have to escape it. See the docs Net::Telnet for more details and advice on debugging.
so :-
obj->waitfor('/tdd:~\$$'); # search for tdd:~$ at the end of a line
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Error in Telnet wait function even though succesful telnet on machine
by singhabsk (Initiate) on Dec 30, 2014 at 09:53 UTC |