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

Hello all, I have a general question. I am currently using Active State Perl 5.8 and developing on Windows XP.
The code I am working on right now is basically a extensive Windows security scanner. I'm trying to look at such things as registry settings, file permissions, etc. However, I have had some problems finding the right modules to meet my needs. I really need to use the Win32::Perms module in order to have easy access to things such as registry key permissions, but it is not compatible with 5.8.

Does anyone have and knowledge or suggestions for this problem? Should I just download an earlier version of Perl? I've been checking the Roth page, and there is no indication he is going to update the module for 5.8.

Thanks for your help, I hope I asked my question clearly enough.

Take care.

Replies are listed 'Best First'.
Re: Security Modules
by Jenda (Abbot) on Jun 04, 2004 at 21:01 UTC

    No need to downgrade your perl. You can get Win32::Perms from Dave's own PPM repository at http://www.roth.net/perl/packages.

    c:\> ppm ppm> rep add DaveRoth http://www.roth.net/perl/packages ppm> search Win32::Perms ppm> install 1

    HTH, Jenda
    Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
       -- Rick Osborne

    Edit by castaway: Closed small tag in signature

      Yes, I already downloaded this module, but it does not work with Active State 5.8. Unless I installed something wrong.

        Yes, you must have done something wrong. I have

        c:\temp>perl -v This is perl, v5.8.0 built for MSWin32-x86-multi-thread (with 1 registered patch, see perl -V for more detail) Copyright 1987-2002, Larry Wall Binary build 805 provided by ActiveState Corp. http://www.ActiveState. +com Built 18:08:02 Feb 4 2003
        and Win32::Perms 20020605 and everything works fine.

        How did you install the module? Could you try to uninstall it and then do this:

        c:\> ppm ppm> rep add RothConsulting http://www.roth.net/perl/packages (some messages I can't remember) ppm> search Win32::Perms Searching in Active Repositories 1. Win32-Perms [0.2002.06.05] The Win32::Perms extension for Win32 X +86. Manages object permissio~ ppm> desc 1 ==================== Package 1: Name: Win32-Perms Version: 0.2002.06.05 Author: Roth Consulting (http://www.roth.net/) Title: Win32::Perms Abstract: The Win32::Perms extension for Win32 X86. Manages object per +missions for Windows NT. Location: RothConsulting Available Platforms: 1. MSWin32-x86 2. MSWin32-x86-multi-thread 3. MSWin32-x86-multi-thread-5.8 4. MSWin32-x86-object ==================== ppm> install 1 (some more messages)

        Jenda
        Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
           -- Rick Osborne

        Edit by castaway: Closed small tag in signature