in reply to Getting around Win32 limitations
my $child_pid = fork(); if ($child_pid) { $ret = wait($child_pid, 1); do { ... #whatever you want; } until ($ret == -1); print "got alarm\n"; } else { sleep($seconds); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Getting around Win32 limitations
by pg (Canon) on Nov 10, 2002 at 06:37 UTC |