Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I cannot install win32::Daemon by Dave Roth on active state perl 5.6.
1-ppm does not work. It could not locate the file ppd that is in the rigth place.
2-Ihad put the module in the site/lib/win32 path and I have rebuild the @INC too, but it still not works.
so when I cast the test daemon.pl it is not able to find the module.
I need to put use lib 'path/to/module'?
can anyone explain me step by step?
PS I have read the FM! and also the node 22783.
thanks a lot

Replies are listed 'Best First'.
Re: problem installing module 2
by helgi (Hermit) on Oct 08, 2002 at 10:08 UTC
    Unfortunately, Dave Roth has not put his excellent modules on Activestate, as far as I can tell.

    Therefore, you need to set your repository to his site woth the command:

    c:\>ppm set repository RothNet http://www.roth.net/perl/packages

    Evon more unfortunately, the roth.net server frequently appears to be down or inaccessible, so I recommend getting everything at once.

    --
    Regards,
    Helgi Briem
    helgi AT decode DOT is

Re: problem installing module 2
by hopes (Friar) on Oct 08, 2002 at 22:18 UTC
    Try this:
    D:\>ppm install --location=http://www.roth.net/perl/packages win32-dae +mon Installing package 'win32-daemon'... Bytes transferred: 38626 Installing D:\Perl\site\lib\auto\Win32\daemon\daemon.DLL Installing D:\Perl\site\lib\Win32\DAEMON.PM Installing D:\Perl\site\lib\Win32\daemon\AutoStart.pl Installing D:\Perl\site\lib\Win32\daemon\Create.pl Installing D:\Perl\site\lib\Win32\daemon\daemon.pl Installing D:\Perl\site\lib\Win32\daemon\Daemon_Template.pl Installing D:\Perl\site\lib\Win32\daemon\Win32-daemon.ppd Writing D:\Perl\site\lib\auto\Win32\Daemon\.packlist D:\>perl -MWin32::Daemon -e "print 'OK'" OK
    This worked for me!

    Hopes
    perl -le '$_=$,=q,\,@4O,,s,^$,$\,,s,s,^,b9,s,$_^=q,$\^-]!,,print'