This module is to help people handle these things. I guess some lazy boys want the module maybe.It`s really troublesome adding a alarm() after every system(), especially in a exist big program. This module will handle everything, include timeout, local %SIG,$@,right exit code,etc. Boys only use System::Timeout.all done. I guess it help people saving SIGALRM for something else too.
2011/5/31 brian d foy <brian.d....@gmail.com> > [[ This message was both posted and mailed: see > the "To," "Cc," and "Newsgroups" headers for details. ]] > > In article <banlktim0samr2-vitfhsxasd-esqguo...@mail.gmail.com>, ��谨 > <yikuyiku....@gmail.com> wrote: > > > Hello all - I've written a new module called System::Timeout that I'm > > planning toput on CPAN. > > > > Take a look at the documentation(produced by pod2text) and tell me what > you > > think. > > There are a lot of things to handle if you want to extend system. I > think it would be easier just to use alarm() and avoid the hassle of > changing the system() interface. > > -- > brian d foy (one of many PAUSE admins), http://pause.perl.org > PAUSE instructions: > http://pause.perl.org/pause/query?ACTION=pause_04about > Archives: http://www.xray.mpe.mpg.de/mailing-lists/modules > Please send all messages back to modules@perl.org with no CC to me. >