Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^5: Doing every X seconds

by anonymized user 468275 (Curate)
on Aug 07, 2018 at 11:32 UTC ( [id://1219985]=note: print w/replies, xml ) Need Help??


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

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^6: Doing every X seconds
by haukex (Archbishop) on Aug 07, 2018 at 11:54 UTC
    The code that tests for defined is in the section on CAVEAT/limitations

    No, every single fork example in perlipc shows the defined check too, and of course it's documented in fork itself.

    perlipc is a more advanced set of functionality ... I will certainly consider the possibility of undef for more complex multiforking situations, but that hardly justifies raising it for this case

    It's much simpler than that: the system may not support fork, may be out of resources, etc. Are you certain that on the OP's system, or any system that their code might be run on in the future, fork will never ever return undef under any circumstances?

    inhibit learning as well as disrupting the purpose of SOPW

    You seem to be advocating "don't check the operation for errors" - do you really think that's a good idea?

    Frankly these "contributions" are a sign of ego problems 'I know something too -- look at me!'

    That could be said about many replies to many questions here - yours, mine, and just about everyone else's. Sorry, but that's a silly non-insult.

    A reply falls below the community's threshold of quality. You may see it by logging in.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1219985]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2024-04-20 07:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found