getting perl script to remain running after logout

hi all.

i’ve got a perl script that i want to run as a server/daemon, but it keeps exiting when i logout of the box. i’ve tried the following so far:

pps-syslog.pl &
nohup pps-syslog.pl
nohup pps-syslog.pl &
nohup /usr/bin/perl pps-syslog.pl &

it runs fine as long as i stay logged in. can anyone assist with this?

thanks.

Have you tried the Proc::Daemon module?

no, i will look into it. i’ve never used it before.

that seems to have done it. i appreciate it very much. i’ll be able to use this for other things as well!