RSS | Module Info | Add a review of Time-Out
Time-Out (0.11)
A wrapper around Perl's alarm()/$SIG{ALRM}, so it has the same limitations, e.g. you cannot use this to properly timeout external programs started by system()/backtick. For the latter, you might want to try IPC::Cmd (run() or run_forked()), or some simpler interface for it like System::Timeout.
Steven Haryanto - 2012-12-14T00:42:05 (permalink)
2 out of 2 found this review helpful.
Was this review helpful to you?
Yes
No
Time-Out
(0.05)
A great module.
The reason I give it only 4 stars is the frivolous 'affects' syntax. It looks like it adds semantics, but it's actually a no-op. You can (and should) just say “timeout $x => sub { ... }†to make this clear.
Other than that, I have no complaints: the interface is natural, the docs are as exhaustive as such a trivial interface requires, and ease of use… well, it would be hard to make this difficult to use.
Aristotle Pagaltzis - 2005-01-06T06:52:25 (permalink)
2 out of 2 found this review helpful.
Was this review helpful to you?
Yes
No
Time-Out
(0.03)
This is a great idea: the module has an intuitive interface for implementing time-outs. And (unlike many other time-out/alarm modules on CPAN) it has tests!
The only downside is that it does not work for blocking I/O (at least not on Windows).
Note: this is a review of v0.01
Robert Rothenberg - 2005-01-05T05:16:16 (permalink)
Was this review helpful to you?
Yes
No

