in reply to Re^2: Doing every X seconds
in thread Doing every X seconds

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re^4: Doing every X seconds
by haukex (Archbishop) on Aug 07, 2018 at 09:53 UTC
    I cannot find a single correct statement in your post, even after careful testing of each point you make ... For example, if ($child) will likely be undef, so what?

    At a minimum, the statement "upon failure to fork you'll get undef" is certainly correct, and fork certainly can fail. In your updated code you're still not checking for the definedness of $child. See also the various fork examples in perlfork and perlipc.

    A reply falls below the community's threshold of quality. You may see it by logging in.
Re^4: Doing every X seconds
by marto (Cardinal) on Aug 07, 2018 at 10:04 UTC

    Your post has grown from the first sentence, that's a significant update that has gone undeclared :)

Re^4: Doing every X seconds
by mr_mischief (Monsignor) on Aug 08, 2018 at 19:04 UTC