Thank you Gunnar, I know how to print in Perl! My question was about CGI.pm Module, and how the default DTD is set: by the version of the CGI-Mudule, or by Apache-Config ...
Strangely Matthew Hellman answered again off-list and suggested the following code, which finally gave me an idea, how to insert the DTD the right way: print start_html( -title=>'Secrets of the Pyramids', -author=>'[EMAIL PROTECTED]', -base=>'true', -target=>'_blank', -meta=>{'keywords'=>'pharaoh secret mummy', 'copyright'=>'copyright 1996 King Tut'}, -style=>{'src'=>'/styles/style1.css'}, -BGCOLOR=>'blue', -dtd=>[ '-//W3C//DTD XHTML 1.0 Strict//EN', 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd' ] ); Why the programmer of CGI.pm did not provide a simple Hash like -dtd=>'xhtml strict' -dtd=>'xhtml transitional' ... Would be so easy! Why are in the docs no hints, how to insert the DTD ? Ok thanks guys of this group here. Also if the replies were not very helpful. marek -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/