Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Writing Daemons

by jakeeboy (Sexton)
on Dec 11, 2001 at 23:52 UTC ( #131027=perlquestion: print w/ replies, xml ) Need Help??
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

Comment on Writing Daemons
Re: Writing Daemons
by belg4mit (Prior) on Dec 12, 2001 at 00: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 12, 2001 at 00:23 UTC
Re: Writing Daemons
by Zaxo (Archbishop) on Dec 12, 2001 at 00:34 UTC
Re: Writing Daemons
by clintp (Curate) on Dec 12, 2001 at 01: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 12, 2001 at 01: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
Node Status?
node history
Node Type: perlquestion [id://131027]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2014-09-21 06:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (166 votes), past polls