Hi!

I was sending a web page and it showed it's self as "xxxx.xml".  When I look
at the source code of my Perl CGI script the first lines are:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
        PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

Why XML?

I start my Perl CGI scripts generally in the following format:

#!/usr/local/bin/perl

  use CGI;
  use CGI::Carp qw(fatalsToBrowser);
  use strict;

  print $cgi->header( );
  print $cgi->start_html( -title  => "My script",
                          -script => $JSCRIPT,
                        );
  print $cgi->startform(  -name   => 'update_form',
                          -method => 'POST',
                          -name   => My script"
                       );

What am I missing?

Thanks,

Jerry

Reply via email to