The CGI environment variable REMOTE_USER is the closest I know of. It won't directly provide the NT username, but if your intranet authentication is provided by your domain controller(s), it should be right unless users have multiple IDs.
Something like this should work:
use CGI;
print $ENV{'REMOTE_USER'};
cheers,
ybiC