You need win32-daemon from  http://www.roth.net/perl/Daemon/
(mod_inst.pl will take care of that)

Usage:

  perl addservice.pl -i c:\\assp\\assp.pl   installs at location specified
                                          (base is assumed to be c:\\assp)
  perl addservice.pl -i c:\\assp\\assp.pl c:\\assp  -- installs the program and base
  perl addservice.pl -s                   starts the ASSP service
  perl addservice.pl -u                   uninstalls the ASSP service

Note that you must start the service after you install it, and that you must
stop it before you uninstall it. You can do this from the service control
manager.

