in reply to what instead of #!/usr/bin/perl

Detailed instructions for teaching PWS that ".cgi" means "Perl" are in this node. And, should you desire to have -T working with IIS/PWS, see the discussion that starts in this node.