i'm guessing you ment windows ;)
well.. if you install activeperl from activestate.com it will install a perl binary on your machine, of which you can use that directly... then... you will need both srvany.exe and instsrv.exe from:
http://www.pyeung.com/userdefinedservice.html
instsrv is the program that installs srvany as a service... and it's srvany that allows perl program to run...
follow the instructions on that site about installing a service, but the program you want to install as the service is your path to the perl.exe installed on your computer that comes as part of activeperl.. eg c:\ActivePerl\Perl\bin\perl.exe....
and also... while still in regedit in the same place as you were while following the other instructions you'll need to do this:
right click the Parameters key and select new, then String value, then in there type "AppParameters"..
then... click on AppParameters and click modify and type the path to your .pl perl program.. eg c:\myprogramms\myperlprog.pl..
close regedit... now when you go to your services part of Windows NT there will be service with the name you specified at the earlier step... you can now click start and stop to control it... :-) i think! i hope so anyway! good luck! i hope that answered the part of the question i could answer.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
i would slit my wrists for you
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.