http://www.perlmonks.org?node_id=1017847

spencerr1 has asked for the wisdom of the Perl Monks concerning the following question:

I'm learning CGI bought a couple of books. I can run scripts from one book but I can't from the other book. I have tried to fix this introductory script but no output.

<html> <head> <title>Animal</title> </head> <body> <form action="cgi-bin/animal.cgi" METHOD=POST> Which animal? <INPUT type="text" name="animal"> <P><INPUT type="submit"> </form> </body> </html>
CGI script #!/usr/local/bin/perl -wT use strict; use CGI ':standard'; my $animal; $animal = param('animal'); print "Content-type: text/html\n\n"; print "Show me the $animal";

Any ideas. Thanks