in reply to print content in cgi and html
Method 2 - Using HEREDOCprint qq{Content-type: text/html <html><head>.....</head> <body bgcolor="white"> ..... </body> ..... </html> };
Note that you can get rid of the \n from the end of every line, and you can embed variables in them too.print <<HTML Content-type: text/html <html><head>.....</head> <body bgcolor="white"> ..... </body> ..... $variable_text </html> HTML
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: print content in cgi and html
by Anonymous Monk on Sep 26, 2003 at 14:23 UTC | |
by barrd (Canon) on Sep 26, 2003 at 16:25 UTC |