in reply to CGI.pm for HTML output?

Search is your friend. This topic has been properly beaten to death many times, such as here.

Gary Blackburn
Trained Killer