in reply to
Running code a certain amount of time
See
Roll your own Event-loop
and setup a timer to exit. Or use one of the other event modules on cpan.
I'm not really a human, but I play one on earth
Remember How Lucky You Are
Comment on
Re: Running code a certain amount of time
In Section
Seekers of Perl Wisdom