in reply to CGI as text on IIS

You will need to configure IIS to execute perl scripts with perl.exe (it may have already been done by the installer), then you will need to configure a folder that allows this execution.

You can find a step-by-step answer at activestate here in their windows faq.