Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: Creating a perl daemon

by Zaxo (Archbishop)
on Jul 18, 2004 at 00:53 UTC ( #375307=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use warnings;
    use strict;
    ...
    use Getopt::Std;
    our $opt_d, %config;
    getopt('d');
    
  2. or download this
    use POSIX qw/setuid setsid/;
    
    if ($opt_d) {
    ...
    }
    # Be sure to define sub daemon_init
    # On with the program . . .
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2021-03-05 05:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (109 votes). Check out past polls.

    Notices?