in reply to phantom log from hell?
Seems to me that the log you're receiving at the top of your desired output come from the STDERR. Try something like open STDERR, '/dev/null'; in your code. This should stop the "Phantom Log From Hell"tm.
Alternativelly, you could consider redirecting (by other means)the telnet standard error to /dev/null.
I think you should try to use the Net::Telnet module instead of the Expect module.
Hope that helps.
updated:The STDERR is used as the default way to tell things that aren't the expected output of a program. I tought that telnet or expect could be using the STDERR to output unexpected information about the operation status. Sorry if this does not work.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Just Another Perl Monk
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: phantom log from hell?
by jcpunk (Friar) on Jun 16, 2003 at 15:46 UTC |