in reply to Re^2: Perl script to EXE to Windows Service
in thread Perl script to EXE to Windows Service

all the perl-code. c-parts (dlls in windows) are different (because the are already compiled).
you will have to supply them. (as you would have to if you deploy you program in perl-sourcecode)
  • Comment on Re^3: Perl script to EXE to Windows Service

Replies are listed 'Best First'.
Re^4: Perl script to EXE to Windows Service
by PodMaster (Abbot) on Dec 31, 2004 at 12:29 UTC
    Not really. If you have the latest PAR and Moudule::Scandeps (a dependency), you shouldn't have to (at least with a regular module like Win32::Daemon). Try these to see that its true :)
    perl -e "use Win32::Daemon;print $/,$Win32::Daemon::VERSION,$/;" scandeps -V -e "use Win32::Daemon;print $/,$Win32::Daemon::VERSION,$/; +" pp -e "use Win32::Daemon;print $/,$Win32::Daemon::VERSION,$/;" a.exe
    If it doesn't work for you (and you're on win32:), you're not using the latest and the greatest PAR (and its dependencies).

    As a general rule, if `pp' isn't packing up everything it should be, chances are you need to learn How to use PAR.

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

      E:\freddie>perl -e "use Win32::Daemon;print $/,$Win32::Daemon::VERSION +,$/;" 20030617 E:\freddie>scandeps -V -e "use Win32::Daemon;print $/,$Win32::Daemon:: +VERSION,$/ ;" # AutoLoader.pm [module] Can't use an undefined value as a HASH reference at E:\Perl\bin\scande +ps.bat lin e 78. E:\freddie>pp -e "use Win32::Daemon;print $/,$Win32::Daemon::VERSION,$ +/;" E:\freddie>
      If it doesn't work for you (and you're on win32:), you're not using the latest and the greatest PAR (and its dependencies).

      Well, it does work, sort of... I am not sure if it is what should be expected. And, I am not sure whether on not I have the latest and greatest PAR. I installed it using ppm.

      Interestingly, roth.net lists the latest version of Win32::Daemon as 20020606. I get 20030617 above, which, I am assuming, should be more recent (lookslikeadatetome).