in reply to perl module for AD administration
You could try the Win32::NetAdmin module, which can be used for managing users and groups.
Update: Link fixed.