Run perl script as a daemon
http://stackoverflow.com/questions/766397/how-can-i-run-a-perl-script-as-a-system-daemon-in-linux
http://search.cpan.org/~deti/Proc-Daemon-0.14/lib/Proc/Daemon.pod
#!/usr/bin/perl
use strict;
use warnings;
use Proc::Daemon;
Proc::Daemon::Init;
my $continue = 1;
$SIG{TERM} = sub { $continue = 0 };
while ($continue) {
<a href="/cgi-bin/junco.pl/tag/do">#do</a> stuff
}
http://search.cpan.org/~jesse/HTTP-Server-Simple-0.44/lib/HTTP/Server/Simple.pm
http://search.cpan.org/~rhandom/Net-Server-2.008/lib/Net/Server.pod
http://www.perlmonks.org/?node_id=865148
http://www.wellho.net/resources/ex.php4?item=p402/miniserver.pl
http://www.floodgap.com/httpi/
http://www.perl.com/pub/2002/09/17/ewispp.html
#perl - #programming - #howto
From JR's : articles
40 words - 752 chars
created on
updated on
- #
source
- versions
Related articles
Installing a Perl Module - Jan 13, 2015
Loop through a Perl array - Oct 02, 2013
Perl links to read - Jul 09, 2013
Add HTML Scrubber to Junco - Oct 01, 2013
Perl code for date and time processing - Jul 08, 2013
more >>