in reply to Re^2: How to use timeout in perl
in thread How to use timeout in perl

Hi vasuperl, read the source code for that module, its very short

Also this message is obligatory :) Yes, even you can use CPAN, A Guide to Installing Modules, Top 11 (GOOD) reasons not to use someone else's Modules, Top Seven (Bad) Reasons Not To Use Modules