Todd Wade wrote: > Richard wrote: > >> Hello >> >> I wrote a script that creates dynamic html. I validated the resulting >> html code with W3C and it couldn't validate it because it didn't detect >> the character encoding. I added the meta information to the header with >> the -meta argument: >>
<snip /> > > See about upgrading CGI.pm. My start_html() outputs a XHTML transitional > dtd and a XML processing instruction that has the document encoding. My > docs validate fine. If its not your server, put CGI.pm in one of your > directories, and say: > > use lib qw(/place/where/i/put/); #path to CGI.pm > > BEFORE you say: I think the above instruction is unnecessary because use lib; puts the @INC munging in a BEGIN: block. > use CGI.pm; > > This will load the newer version because the above path will be looked in > for modules before any others in @INC are. > Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]