Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting {<META http-equiv} values with {print header} CGI.PM statement

Status
Not open for further replies.

datduke

Programmer
Sep 22, 1999
6
US
I am trying to do the equivalent of this HTML tag:<br>
<br>
&lt;META http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset-ISO-8859-1&quot;&gt;<br>
<br>
with CGI.PM. Will this line do what I want?<br>
<br>
print header(-type=&gt;'text/html; charset-ISO-8859-1');<br>
<br>
<br>
The reason I am wondering is that when I generate HTML output with this<br>
statement in my Perl script and try to &quot;view source&quot; in my browser, I don't<br>
see the http-equiv in any tags.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top