in reply to Re: Leave it runningin thread Leave it running
Try this, inside your perl script:
Or, to act like a real daemon process, read perlipc under the 'Complete Dissociation of Child from Parent' section.