Module |
CPAN ID |
Version |
---|---|---|
|
CNANDOR |
1.01 |
|
0.011 | |
|
1.11 | |
|
1.32 | |
|
980320 | |
|
1.05 | |
|
JDB |
1.11 |
|
DURIST |
0.26 |
|
1.01 | |
|
GSAR |
2.101 |
|
1.02 | |
|
MUIR |
98.112902 |
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
:
ppm install Win32-API
md
c:\Perl\site\lib\auto\Win32\Sync
andC:\Perl\site\lib\auto\Win32\Iproc
Copy
timer.dll
andsync.dll
toc:\Perl\site\lib\auto\Win32\Sync
Copy
iprocnt.dll
,psapi.dll
andiproc.dll
toC:\Perl\site\lib\auto\Win32\Iproc
Copy
iproc.pm
,iipc.pm
andisync.pm
toC:\Perl\site\lib\Win32\
Change the
DLLPath
lines iniproc.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";
Change the
DLLPath
line iniipc.pm
to:my($DLLPath)="C:\\Perl\\site\\lib\\auto\\Win32\\Sync\\sync.dll";
Change the
DLLPath
lines inisync.pm
to:my($DLLPath) ="C:\\Perl\\site\\lib\\auto\\Win32\\Sync\\sync.dll"; my($DLLPath1)="C:\\Perl\\site\\lib\\auto\\Win32\\Sync\\timer.dll";
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.
Get Perl for System Administration now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.