April 2006


This is really an open question but how do you submit queries into Active Directory using Perl? Do you use Net::LDAP or Win32::OLE? I suppose for non-Win32 versions of Perl it would have to be Net::LDAP, but do Windows Perl users really use ADSI via Win32::OLE?

Dave Roth’s May 2006 issue of Windows Scripting Solutions (link) article discusses a simple way to detect differences between directories. Sure tools exist that do this already, but this article uses a Perl script to solve the problem. The reason for using a script instead of existing tools is that it is much easier to modify the script than it is to modify C code, recompile and relink. The former requires an editor and Perl, the latter requires an editor, a C compiler, a linker (optionally a debugger) and a lot of knowledge of C. Don’t get me wrong, I love C, but Perl is much faster to write and use. :)
To read this article requires a subscription to Windows Scripting Solutions.

In my June 2006 article for Windows Scripting Solutions I look at how to use the Net::UPnP package to query your network routers’ port mapping. Unfortunately I finished the script before Satoshi Konno updated his package to the latest version 1.2.1 (available on CPAN). This new version provides simple functions that my script goes through great pains to do itself. This version change is a welcome update. Great work Satoshi!
Yes, I know, Net::UPnP is not by any means Win32 specific. However it is definitely useful even in Win32 environments.

We are trying something new. This Perl blog is being experimentally deployed to see what happens. Consider this a place where you can go to post questions, comments and thoughts about Win32 Perl. Give it a try and let’s see where this takes us…
Enjoy!