Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Writing Daemons

by jakeeboy (Sexton)
on Dec 11, 2001 at 18:52 UTC ( [id://131027]=perlquestion: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.

jakeeboy has asked for the wisdom of the Perl Monks concerning the following question:

I've been searching for some articles about writing Daemons and haven't been too sucessful. I was wondering if people have some URLS to articles about writing them. Doesn't necessarily have to be about Perl Daemons just the theory and same sample code. Please let me know if anyone has any articles out there. Thanks

Replies are listed 'Best First'.
Re: Writing Daemons
by belg4mit (Prior) on Dec 11, 2001 at 19:18 UTC
    perlipc is a good place to start. And if you know C the source of Vixie Cron can be rather illuminating as well, as would Apache.

    Did you check SysAdmin Magzine or Dr. Dobbs'?

    --
    perl -p -e "s/(?:\w);([st])/'\$1/mg"

Re: Writing Daemons
by jaldhar (Vicar) on Dec 11, 2001 at 19:23 UTC
Re: Writing Daemons
by Zaxo (Archbishop) on Dec 11, 2001 at 19:34 UTC
Re: Writing Daemons
by clintp (Curate) on Dec 11, 2001 at 20:11 UTC
    And...just in case you missed it: perldoc -q daemon has the basic recipe for writing a daemon.
Re: Writing Daemons
by perrin (Chancellor) on Dec 11, 2001 at 20:30 UTC
    The Perl Cookbook has good info on this, and so does the Advanced Perl book. However, you will usually be better off starting with something on CPAN like Net::Daemon or Net::Server or Net::ServerGeneric.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://131027]
Approved by root
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.