Have a look to : http://www.masonhq.com/
José. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2003 11:45 AM To: [EMAIL PROTECTED] Subject: RE: rendering html from perl 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. From: drieux [mailto:[EMAIL PROTECTED] Sent: 15 November 2003 17:13 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 Hi Drieux and thanks for the subject line, which I forgot in the effort to avoid legal notices/footers. Here is an example of what I do in php: <body> <? if($x=1){print("this")}else{print("that");} ?> <font size=1>Print this anyway</font> </body> The code bits are executed on the server of course. Is there an equivalent of the <? ?> tags to start and stop code writing in perl? Thanks, John -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] **** DISCLAIMER **** "This e-mail and any attachment thereto may contain information which is confidential and/or protected by intellectual property rights and are intended for the sole use of the recipient(s) named above. Any use of the information contained herein (including, but not limited to, total or partial reproduction, communication or distribution in any form) by other persons than the designated recipient(s) is prohibited. If you have received this e-mail in error, please notify the sender either by telephone or by e-mail and delete the material from any computer". Thank you for your cooperation. For further information about Proximus mobile phone services please see our website at http://www.proximus.be or refer to any Proximus agent. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]