On Friday, Nov 14, 2003, at 02:29 US/Pacific, [EMAIL PROTECTED] wrote:


When writing HTML in perl can you interpolate the html with perl code
or do you have to write the whole script in perl with each tag within
a prel print() function. The importance of this is layout, nested tables,
design view in Dreamweaver etc etc - Dreamweaver 4 cannot render the code
in design view.

I'm not sure I follow what you mean by 'interpolate the html'.


Allow me to illustrate, I have a piece of perl cgi code
that I use to simplify my bloging,

[jeeves: 59:] lwp-request http://www.wetware.com/drieux/PR/blog2/Code/
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd";>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<title>Perl One, Code Two, it is knitting</title>
<base href="http://www.wetware.com/drieux/PR/blog2/Code/";
<META http-equiv=Cache-Control content=no-cache>
<META http-equiv=Pragma content=no-cache>
</head>
<frameset rows="122,*" >
<frame name="BlogHead" src="header.html">
<frameset cols="120,*"><frame name="VertNav" src="../bin/vertNav.cgi?dir=Code">
<frame name="BlogSpace" src="200311.html">
</frameset>
</frameset>
</html>[jeeves: 60:]


everything gets set up and then a Print Statement sends
the whole scalar $page out the door. As you will note,
the above sets up 'framesets' and as such would require
the browser to make all of the additional calls, and
then based upon what the browser is doing, render that
for the human to see.

So, please help us help you.

ciao
drieux

---


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



  • re john
    • drieux

Reply via email to