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. thank you for your time. NAME System::Timeout - Extend <system> to Allow Timeout after specified seconds SYNOPSIS use System::Timeout qw(system); system("3", "sleep 9"); % timeout --timeout=3 "sleep 9" #Run command "Sleep 9" and timeout after 3 seconds DESCRIPTION This module takes the existing File::Glob module as a starting point and extends it to allow timeout after the specified seconds and log the command in file. This can be useful when invoking <system> in daemon. This also include a cli tool "timeout" which can be easily used to force command exit after specified seconds. This module is based on core function <fork> and <exec>. AUTHOR Written by Chen Gang. <missingyousom...@163.com> COPYRIGHT Copyright (c) 2011 Chen Gang. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.