in reply to Re^2: Turn a perl script into a Win32 Service
in thread Turn a perl script into a Win32 Service

OK - lots of little questions to answer...

Yes, the Win32::Daemon module came direct from Roth Consulting's Official Win32::Daemon Home Page, using the dead simple instructions there:

If you have ActivePerl (aka Perl from ActiveState Tool Corp. version 5.005 or higher) or if you have Core Perl 5.005 compiled with the PERL_OBJECT macro defined you can auto download and install the extension. You need to run the Perl Package Manager script which comes with Perl in the perl\bin directory:
perl ppm.pl install http://www.roth.net/perl/packages/win32-daemon.ppd
This will automatically download and install the latest version.
I'm running wih Perl v5.8.7 (build 813 from ActiveState) on Win XP.

I've not cross-posted to the Win32::Daemon forms there, but I'll try tomorrow (time to go $home now).

I don't know if Win32::Daemon::Simple will still work with it.
That would appear to be the million dollar question (but remember that the value of your question can go down as well as up).

Until tomorrow...

--
.sig : File not found.

  • Comment on Re^3: Turn a perl script into a Win32 Service