[Melbourne-pm] Testing fork

David Dick david_dick at iprimus.com.au
Mon Aug 30 06:56:04 CDT 2004



David Dick wrote:
>     } elsif ($! =~ /No more process/) {

*ahem* I believe the correct phrase is "cargo cult"...
the following seems to be a little better. Or not... I still haven't had 
any luck actually creating this error for forks on linux. :(

} elsif ($! == POSIX::EAGAIN()) {

on linux at least the error message seems to be 'Try again' according to 
my copy of /usr/include/asm/errno.h


More information about the Melbourne-pm mailing list