in reply to Reading a telnet command output

It depends on the formatting of the error code.
Use dump_log or dump_input to get an idea of the output.
You could then use getline and test its content.
See Net::Telnet
Jim

Replies are listed 'Best First'.
Re^2: Reading a telnet command output
by Anonymous Monk on Dec 20, 2008 at 15:35 UTC
    Thank you Jim, I appreciate your. I'll follow the link and take your advice. Being that this the first time I'm writing a Perl script, I'd appreciate if anyone can direct me to tutorials or examples of this dumplog and getline.