|go ahead... be a heretic|
Can't get cmd_remove_mode to work in Net::Telnetby gctaylor1 (Hermit)
|on Jan 15, 2009 at 20:53 UTC||Need Help??|
gctaylor1 has asked for the
wisdom of the Perl Monks concerning the following question:
When I use Net::Telnet my command works but it also echoes the command and I want just the results. The docs for Net::Telnet talk about this and suggest using cmd_remove_mode, yet I still get the same result in my output. I've been working on this silly problem for hours. It seems so simple but I cannot figure out what I'm missing here?
Here's my code:
Which produces this output:
and I don't want the cat command. Can anyone shed some light?
to remove two lines.