Re: error...



On Fri, 2005-11-25 at 17:01 -0300, Alejandro Valdes Jimenez wrote:
> Estimados....
> 
> ¿como puedo controlar el que no mate una aplicación cuando ocurre un
> error???, es un script en PERL.
> 
> me pasa lo siguiente:
> 
> ....
> my $session = Net::Telnet::Cisco->new(Host => $host, Timeout =>
> TIMEOUT);
> ...
> if ($session)... pero no pesca, me bota antes.

Es el valor de TIMEOUT el que esta molestando.

-- 
Juan Carlos Inostroza O.
Registered Linux User #246002
jci codemonkey cl - http://jci.codemonkey.cl

Sam: Whenever there is any doubt, there is no doubt. That's the 
first thing they teach you. 
Vincent: Who taught you? 
Sam: I don't remember. That's the second thing they teach you.
                                   -- Ronin




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]