the code doesnt work cannot load win32/api.pm
@inc contains e;\perl\lib (ect ect)
E: is where perl is and D: is where winnt is... i changed of course the obvious c: to d: in your code....
Did you install the Win32::API module? If you're using ActiveState perl you can use ppm to install it. I don't recall the exact syntax but I think you can do something like: