in reply to problem with @INC when using activestate perl

Try replacing:
require 'Win32API::File';
with either one of:
require Win32API::File;
OR
require 'Win32API/File.pm';
and read the require docs very carefully....

-Blake