Path: usenet.cis.ufl.edu!usenet.eel.ufl.edu!news.mathworks.com!news.bluesky.net!news.sprintlink.net!psgrain!nntp.teleport.com!usenet
From: [email protected] ( BIU)
Newsgroups: comp.lang.perl.announce,comp.lang.perl.misc,comp.lang.perl
Subject: Sys::AlarmCall module
Followup-To: comp.lang.perl.misc
Date: 28 Jul 1995 14:07:18 GMT
Organization: Imperial Cancer Research Fund
Lines: 28
Approved: [email protected] (comp.lang.perl.announce)
Message-ID: <[email protected]>
NNTP-Posting-Host: linda.teleport.com
X-Disclaimer: The "Approved" header verifies header information for article transmission and does not imply approval of content.
Xref: usenet.cis.ufl.edu comp.lang.perl.announce:83 comp.lang.perl.misc:2560 comp.lang.perl:55190

The Sys::AlarmCall has had its documentation updated to pod
format. The current version, 1.1, is now available at

ftp://ftp.icnet.uk/icrf-public/biu/perlmods/AlarmCall-1.1.tar.gz

Sys::AlarmCall is a package to handle the logic in timing out calls
with alarm() and an ALRM handler, allowing nested calls as well.

Timed out calls become straightforward function calls, e.g.

   $result = func1(@args1);
   @result = func2(@args2);

are changed to timed out calls with

   use Sys::AlarmCall;
   $result = alarm_call($timeout1,$func1,@args1);
   @result = alarm_call($timeout2,$func2,@args2);


The Sys::AlarmCall module is free software; you can redistribute it
and/or modify it under the same terms as Perl itself.
--
      Jack               [email protected]

If you only have a hammer, you tend to see every problem as a nail.
               -- Maslow