Why when sending the page, the file name is not "xxxx.html" or "xxx.htm"?
Thanks, Jerry -----Original Message----- From: Jerry Preston [mailto:[EMAIL PROTECTED] Sent: Sunday, January 23, 2005 1:55 AM To: 'Perl Beginners' Subject: Perl html or xml 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 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>