gil <> wrote:
> Hi,
>
> I'm new at perl programming,
> I'd like to execute a UNIX command, which takes no longer than
> $time_out seconds.
What do you want to happen when the $time_out seconds has expired?
> Is there any easy way to do it, or do I have to use SIGs?
IPC::Run might be useful. It also might be overkill for a simple timeout,
though. But probably easier than handling it all yourself with fork
and alarm and kill and whatnot.
Xho
--
--------------------
http://NewsReader.Com/ --------------------
Usenet Newsgroup Service $9.95/Month 30GB