in reply to why browser can not see?

Why do you have a Context-type of text/html?

Make that a Content-type of text/plain and see if your output doesn't look a little better.

Replies are listed 'Best First'.
Re: Re (tilly) 1: why browser can not see?
by dws (Chancellor) on Feb 17, 2001 at 11:11 UTC
    And remember to add a colon after "Content-type" so that the browser will recognize it as an HTTP keyword.

      Several months ago some monks advised me to start using CGI.pm, which is built in to current versions of Perl. One thing which CGI.pm does very well is producing the http header and boilerplate HTML required for displaying output. In this case, using CGI.pm would have solved the part of the problem caused by the typo in the http header.

      To use CGI.pm add:

      use CGI qw/:standard/; print header, start_html('A Simple Example');
      Then add your application-specific HTML. End your page with the statement
      print end_html;

      A programmer named Lincoln D. Stein who approaches Larry-hood in his good works wrote this module. You can read his documentation for it here.