OK I have ben RTFMing for about 5 hours now.... and I did find a fix for part of my 
problem

It seems that Mac browsers (IE 4.5 and an old AOL that I know of) are having trouble 
viewing our HTML producing CGI scripts that use
a function called &CGI::start_html()

Apparently (recently in CGI.pm) there has been a change where the CGI::start_html 
includes the following
<?xml version="1.0" encoding="utf-8"?>

This tag is reaking havoc on some browsers on Mac and possibly others.

Well after pouring through the "perldoc CGI" I found that if you
use CGI(:all -no_xhtml);

then you will not get the <?xml----- tag that is fragging the browsers... 
unfortunately in mod_perl, It only seems to work on *some*
of the children....

here is what I have in my mod_perl_startup.pl script
use CGI ();
CGI->compile(qw(:all -no_xhtml));#used to optimize CGI.pm memory consumption for 
forked processes

and I have this in the 2 scripts that I actually use in mod_perl
use CGI qw(:all -no_xhtml);

my problem is that in mod_perl... it still occasionally prints the <?xml....  tag

Does anybody have any suggestion as to why?  Or, how I can get the damn thing to stop 
printing the xml tag... short of changing the
100's of times I use CGI::start_html?


Reply via email to