in reply to Active Directory

A special interface exists for ActiveDirectory (and some other directories called ADSI. Win32::AD::User ist based on this interface. At perlmonks, you'll find a lot of codes, and you can (more or less) easily translate the VBscript-codes in a lot of examples from (see M$) to Perl. You'll also find an introduction in the O'Reilly book "Perl for System Administration"

Best regards,
perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"