"David Gilden" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > Having some issues with cgi.pm
> Here is my PERL: > > ####################### > # Start HTML OUT > ####################### > print header; > print start_html( -title => $title ); > print qq|<meta http-equiv="Pragma" content="no-cache">\n|; > > > and here is the output: > > > <?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-US"><head><title>Jake's Guestbook entries 0 - 10</title> > </head><body><meta http-equiv="Pragma" content="no-cache"> > First you print the output of the start_html() method, and then a html tag named 'meta'. Its doing exactly what you told it to. > > How do I move the Pragam inside the <head> and it also looks like I have two doctype definitions. > Thanks for any suggestions. > You do not have two doctype definitions. Read the specs on dtds. As far as the meta tag, try reading the CGI.pm documentation: perldoc -m CGI heres an excerpt: print $query->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'); After running this your next question will be how to create a http-equiv meta tag. Again, read the docs. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]