in reply to Net::Telnet, Errmode problem

docs say ErrorMode needs a coderef:
try something like this....
$$telnet = new Net::Telnet( Timeout=>7, Errormode=> sub { &report_error($error_msg); }, ) or die "Bang, ya got me...$!";
I think you need to set your prompt too BTW...

Replies are listed 'Best First'.
Re: Re: Net::Telnet, Errmode problem
by jcpunk (Friar) on Jun 20, 2003 at 14:15 UTC
    thank you for the help
    jcpunk

    by the way thanks for all the help that was, is, and will be