$@ holds any error message the stuff inside the eval {} might have died with.eval { $t = Net::Telnet->new(...); $t->open(...); # and so on }; warn $@ if $@;
In reply to Re: Catching timeout for Net::Telnet
by no_slogan
in thread Catching timeout for Net::Telnet
by HeffaK
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |