in reply to Re^2: Need help getting output from Telnet into a string or array
in thread Need help getting output from Telnet into a string or array
Is the prompt actually /=>/? That's an odd prompt. Maybe you should try '=>'? Or perhaps qr/=>/ if it's expecting a regex.
I don't know if this will be more distracting than useful, but if I was coding this I would use Expect. It takes a little getting used to but it has great debugging features.
-sam
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Need help getting output from Telnet into a string or array
by TravisC (Novice) on Mar 15, 2012 at 19:23 UTC | |
Re^4: Need help getting output from Telnet into a string or array
by TravisC (Novice) on Mar 15, 2012 at 21:49 UTC |
In Section
Seekers of Perl Wisdom