This is not mod_perl related, but take a look at: perldoc -f alarm
On Tue, 10 May 2005, Igor Chudov wrote: > I am working on a system on algebra.com where anyone > could define a math solver for a particular kind of > problem. It could be defined either via a custom > markup language (not interesting), or as a perl > script. > > These user submitted perl scripts will be executed > inside Safe.pm compartment. I hope that they will be > secure enough. > > My question is, is there some way to limit execution > time of a subroutine? I would not want those scripts > to run for more than a second CPU time. > > i > > - Igor > > > > > Yahoo! Mail > Stay connected, organized, and protected. Take the tour: > http://tour.mail.yahoo.com/mailtour.html > >