I see you're using AS PDK, so further to
NetWallahs answer, the PDK contains (or contained) something called
perlsvc which, AFAIK, creates a Windoze compatible service from a perl script - tho' I freely admit to never having utilised it.
A user level that continues to overstate my experience :-))