in reply to Thanks
in thread List of groups on Win32

Try removing the qw[] block, and using the "qualified" names (like Win32::AdminMisc::GetGroups)... does that help any?