Color Vs. No Color question

Joel Fentin joel at
Mon Jun 16 21:29:02 CDT 2003

I recently made a discovery of more than passing interest to me. Those 
perl programs written with object oriented perl are drained of their 
color on Mozilla browsers and Netscape 7. Those written with print 
statements using html tags retain their color. Both types of programs 
always retain their color on older versions of Netscape and on Internet 
Explorer. Do I have to use html tags to retain color on all browsers?

#!/usr/bin/perl -w
#!/perl/bin/perl -w
use strict;use CGI;
my $co = new CGI;
print $co->header,
print 'This is test1';
print $co->end_form(),
#!/usr/bin/perl -w
#!/perl/bin/perl -w
use strict;use CGI;
print "Content-type: text/html\n\n",
'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<body bgcolor="CCCCCC">
<form name="form2" method="post" action="">
This is test2
I intend to be at the meeting tomorrow (Tuesday).
Joel Fentin    tel: 760-749-8863    FAX: 760-749-8864
email:   joel at


The posting address is: san-diego-pm-list at

List requests should be sent to: majordomo at

If you ever want to remove yourself from this mailing list,
you can send mail to <majordomo at> with the following
command in the body of your email message:

    unsubscribe san-diego-pm-list

If you ever need to get in contact with the owner of the list,
(if you have trouble unsubscribing, or have questions about the
list itself) send email to <owner-san-diego-pm-list at> .
This is the general rule for most mailing lists when you need
to contact a human.

More information about the San-Diego-pm mailing list