> Is there a way to write a perl application
> and let it run as a service [ without using
> SRVANY or other proprietary tool] ?

Not really, if it's truly a service as defined by Windows, you want. 
Services use a specific API for interacting with the OS, and perl.exe simply 
doesn't make use of those.

But if you can overcome the hesitation to use a proprietary tool, look into 
the ActiveState PDK (Perl Dev Kit). It has great support for 'compiling' a 
Perl app into a 'real' service, implementing the specific startup 
entrypoints, support for handling start/stop/pause etc etc as used for 
services.

Note that you really need a service in order to make it start at boot and 
'always' be available & survive logons/logoffs (well, in principle; if 
you're really determined you can probably find other ways to spawn a process 
of your own during bootup but I wouldn't recommend that).

> Can the service be hidden ?

No.

That is, unless you want to implement and foist a root kit based thingie on 
your users...http://en.wikipedia.org/wiki/Rootkit. Not recommended.

HTH,

ken1 

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to