Re: perl daemon program



beast wrote:
Hi All,

Hello,

1. Does Perl program suitable for long running process or daemon?

Yes.

2. Is this considered as daemon program?

$ cat myprog.pl
while($true) {
# do something
}

$ ./myprog.pl &

No.

http://www.enderunix.org/documents/eng/daemon.php
http://www.webreference.com/perl/tutorial/9/
http://www-theorie.physik.unizh.ch/~dpotter/howto/daemonize




John
--
Perl isn't a toolbox, but a small machine shop where you
can special-order certain sorts of tools at low cost and
in short order. -- Larry Wall
.



Relevant Pages