in reply to Is it possible to background a perl script from within itself?

I believe this will do the trick:
#!/usr/bin/perl print "Now backgrounding your process...\n"; fork and exit; # rest of code goes here
  • Comment on Re: Is it possible to background a perl script from within itself?
  • Download Code