Re: first steps with mod_perl

[email protected] (Gunnar Hjalmarsson)
Newsgroups perl.beginners.cgi
Message-ID <[email protected]>
Marek wrote:
> I see only the possibility to insert it manually, but I don't know 
> how to achieve this.

By printing directly I meant not making use of the start_html() function.

print <<START, h1('Hello World!');
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
   <title>Hello World, Address, Colours</title>
   <link type="text/css" media="screen" rel="stylesheet"
     href="../styles/style.css" />
</head>
<body>
START

-- 
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.