There is an easier way. Go out to ActiveState site and download the ZIP for Win32::API, unzip then run:
ppm install Win32-API.ppd > but .. i can't get any of these compiled on my machine.. > > errors like these > > C:\gb\api\Win32-API-0.20>nmake > > Microsoft (R) Program Maintenance Utility Version 1.50 > Copyright (c) Microsoft Corp 1988-94. All rights reserved. > > cl.exe -c -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT > -DHAVE_DES_FC > RYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX -O1 > -MD - > DNDEBUG -DVERSION=\"0.20\" -DXS_VERSION=\"0.20\" -IE:\Perl\lib\CORE > API. > c > Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 11.00.7022 for 80x86 > Copyright (C) Microsoft Corp 1984-1997. All rights reserved. > > API.c > Command line error D2027 : cannot execute 'c1' > NMAKE : fatal error U1077: 'C:\WIN2K\system32\cmd.exe' : return code '0x2' > Stop.