in reply to Integrated Windows Auth using Perl

Well Apache2::AuthenNTLM is an auth module for apache. I don't see any mention of you wanting this script to run under the apache web-server. If indeed you aren't interested in that, then you shouldn't be interested in Apache2::AuthenNTLM.

You might look at Authen::NTLM