"-T" is on the #! line, it must also be used on the command line at c:\inetpub\wwwroot\cgi-bin\perl2e\basics\animal.cgi line 1."
It appears the http server you are using does not read the shebang line to find perl but it does to load some switches, like -w. I'm not sure which http sever "inetpub\wwwroot" is associated with. If its the windows personal server I have no experience with it and to me that appears to be the problem, not perl. Read your servers help files and see if explains how to run CGI script and use the -T switch. Since Windows ignores the shebang line you can't load the -T switch like you tried which is what that error message above indicates. I recommend you doanload and install apache (its free). Then google for a tutorial or a how-to that explains what you need to do to get it to run CGI scripts. Its not hard but it might take a little time and a few tries to get it to work if you have never done it before.