in reply to Re (tilly) 1: why browser can not see?
in thread why browser can not see?

And remember to add a colon after "Content-type" so that the browser will recognize it as an HTTP keyword.

  • Comment on Re: Re (tilly) 1: why browser can not see?

Replies are listed 'Best First'.
Re: Re: Re (tilly) 1: why browser can not see?
by sierrathedog04 (Hermit) on Feb 17, 2001 at 18:19 UTC
    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.