in reply to How to display text in IE?

It sounds as though you would like to learn how to do some CGI programming. 'perldoc CGI' at the command line for information on the CGI.pm module. There are some articles on this topic in the Tutorials section. Essentially, all you need to do is add
use CGI qw(:standard); print header;
to your programs. All print statements after this will go to the browser, so you'll need to decorate your output with appropriate HTML tags in order to make it look right.

You will also need a webserver in order to make this work. See http://www.apache.org for an excellent free webserver which runs on most platforms.