in reply to testing cgi scripts

Just I put the program tryit.pm came with activeperl into c:\inetpub\wwwroot\cgi-bin and typed at address in browser http://localhost/cgi-bin/tryit.cgi.

One thing right off: you mention tryit.pm, but the URL you cite is looking for tryit.cgi