Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Install a perl script as a Win NT/2000/XP service.

by ibanix (Hermit)
on Jan 28, 2003 at 03:10 UTC ( #230468=note: print w/replies, xml ) Need Help??

in reply to Install a perl script as a Win NT/2000/XP service.

Very interesting.

I prefer to compile my scripts with perl2exe and install the binary as a service. I've used instsrv and srvany, but I prefer to use the freely available FireDaemon. Get the v0.09 version -- the new version only supports 1 service without a registration code.

You might also consider Win32::Daemon for a pure-perl solution.

Update: Srvany.exe and instsrv.exe are part of the Windows NT 4.0 Resource Kit, available here.


$ echo '$0 & $0 &' > foo; chmod a+x foo; foo;

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://230468]
[james28909]: that looks like it would be alot more work than just renaming the sub though lol
[Lady_Aleena]: james28909, did you even look at the subs?
[james28909]: yes
[Lady_Aleena]: And you see how the first two are vastly different than the third, right?
[james28909]: it would be to much work just to get around renaming three subs lol

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2017-05-24 05:01 GMT
Find Nodes?
    Voting Booth?