in reply to Re: Re: print content in cgi and html
in thread print content in cgi and html
if ($condition) { print <<HTML Content-type: text/html <html><head>.....</head> <body bgcolor="white"> ... blah blah HTML if ($variable == 1) { print $anotherVariable; } print <<HTML ... blah blah </body></html> HTML }
Or as I mentioned before use HTML::Template, it can handle all that for you too... go on try it, you know you want to. ;)
|
---|