Am I right in thinking you don’t need to escape anything as long as html code is in between these:
print qq| |;
and the variables I'm calling - I asume these ok in the same mix?
All seems to be working correctly ( but hey! I'm a newbie at perl! )
Sample section from script:
print "Content-type: text/html\n\n";
print qq|
<!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">
<head>
<title>Printer Page Format</title>
</head>
<body>
$doc
<p> </p>
<p> </p>
Page printed from: $refer<br />
Date: $date.<br />
</body>
</html>
|;
--------------------------------
Privacy Software
print qq| |;
and the variables I'm calling - I asume these ok in the same mix?
All seems to be working correctly ( but hey! I'm a newbie at perl! )
Sample section from script:
print "Content-type: text/html\n\n";
print qq|
<!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">
<head>
<title>Printer Page Format</title>
</head>
<body>
$doc
<p> </p>
<p> </p>
Page printed from: $refer<br />
Date: $date.<br />
</body>
</html>
|;
--------------------------------
Privacy Software