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

Re^3: Creating a perl daemon

by Zaxo (Archbishop)
on Jul 18, 2004 at 00:53 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://375307]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2024-04-16 06:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found