start page | rating of books | rating of authors | reviews | copyrights

Book Home Perl for System AdministrationSearch this book

4.5. Module Information for This Chapter

Module

CPAN ID

Version

Mac::Processes (ships with MacPerl; a modified version is available in the Mac-Glue package)

CNANDOR

1.01

Win32::API

0.011

Win32::ISync (found at http://www.generation.net/~aminer/Perl/)

1.11

Win32::IProc (found at http://www.generation.net/~aminer/Perl/)

1.32

Win32::Setupsup (found at ftp://ftp.roth.net/pub/NTPerl/Others/SetupSup/ or http://Jenda.Krynicky.cz)

980320

Win32::Lanman (found at ftp://ftp.roth.net/pub/ntperl/Others/Lanman/)

1.05

Win32::OLE (ships with ActiveState Perl)

JDB

1.11

Proc::ProcessTable

DURIST

0.26

Win32::AdvNotify (found at http://www.generation.net/~aminer/Perl/)

1.01

Data::Dumper

GSAR

2.101

Win32::IpHelp (found at http://www.generation.net/~aminer/Perl/)

1.02

Text::Wrap (ships with Perl)

MUIR

98.112902

4.5.1. Installing Win32::IProc

Getting and installing Win32::IProc is a little less straightforward than with other modules. The module itself can be found along with Ramdane's other modules at http://www.generation.net/~aminer/Perl/. To make use of Win32::IProc, you will also need to get two other modules: Ramdane's Win32::ISync, and Win32::API by Aldo Calpini. The former can be found at Ramdane's site, the latter in the ActiveState module repository or at http://dada.perl.it/.

Some of Ramdane's modules are installed by hand, without the help of the ppm command, and require some minor source code edits. Here's a complete recipe for installation, assuming you have unzipped the distributions and are installing into an ActiveState build that lives in C:\Perl:

  1. ppminstall Win32-API

  2. mdc:\Perl\site\lib\auto\Win32\Sync and C:\Perl\site\lib\auto\Win32\Iproc

  3. Copy timer.dll and sync.dll to c:\Perl\site\lib\auto\Win32\Sync

  4. Copy iprocnt.dll, psapi.dll and iproc.dll to C:\Perl\site\lib\auto\Win32\Iproc

  5. Copy iproc.pm, iipc.pm and isync.pm to C:\Perl\site\lib\Win32\

  6. Change the DLLPath lines in iproc.pm to look like this:

    my($DLLPath) ="C:\\Perl\\site\\lib\\auto\\Win32\\Iproc\\IProc.dll";
    my($DLLPath1)="C:\\Perl\\site\\lib\\auto\\Win32\\Iproc\\IprocNT.dll";
    my($DLLPath2)="C:\\Perl\\site\\lib\\auto\\Win32\\Sync\\Sync.dll";
  7. Change the DLLPath line in iipc.pm to:

    my($DLLPath)="C:\\Perl\\site\\lib\\auto\\Win32\\Sync\\sync.dll";
  8. Change the DLLPath lines in isync.pm to:

    my($DLLPath) ="C:\\Perl\\site\\lib\\auto\\Win32\\Sync\\sync.dll";
    my($DLLPath1)="C:\\Perl\\site\\lib\\auto\\Win32\\Sync\\timer.dll";

4.5.2. Installing Win32::Setupsup

If you want to install Win32::Setupsup by hand and/or gaze at the source code, you can find a ZIP archive of the module at ftp://ftp.roth.net/pub/NTPerl/Others/SetupSup/. If you'd prefer to install it the easy way on an ActiveState installation, you can connect to Jenda Krynicky's module archive and install it using the usual ppm method. For instructions on how to do this, see the instructions (and other useful modules) at http://Jenda.Krynicky.cz.

The tricky part is that the pod documentation does not format its information correctly when it is processed by perldoc or when installed as HTML. The documentation at the end of setupsup.pm (most likely found in <your Perl directory>\site\lib\Win32\) is much more legible. If you are trying to learn how to use this module, I would recommend opening this file up in an editor and then scanning for the documentation portions.



Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.