$ perl -MCGI=:standard -le 'print header, start_html'
Content-Type: text/html; charset=ISO-8859-1
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-U
+S"><head><title>Untitled Document</title>
</head><body>
which looks right to me.
The list of changes includes this:
Version 2.81
- Removed extraneous slash from end of stylesheet tags generated by start_html in non-XHTML mode.
- Changed behavior of CGI::Carp with respect to eval{} contexts so that output behaves properly in mod_perl environments.
- Fixed default DTD so that it validates with W3C validator.
--
<http://www.dave.org.uk>
"The first rule of Perl club is you do not talk about
Perl club." -- Chip Salzenberg
|