Think about Loose Coupling | |
PerlMonks |
alarm in DBI moduleby vetrivel (Sexton) |
on Aug 31, 2010 at 11:09 UTC ( [id://858153]=perlquestion: print w/replies, xml ) | Need Help?? |
vetrivel has asked for the wisdom of the Perl Monks concerning the following question: Hai , I am using DBI module to connect with postgres data base .
My postgresql server is down . If I run the above code , DBI gives me an error after 20 seconds . In this case , Alarm is not captured . But I required alarm should be executecd . Is alarm useful only for IO Interuppt?
Back to
Seekers of Perl Wisdom
|
|