On Tue, Aug 15, 2000 at 05:02:29PM -0700, Tim Reynolds wrote: > print "Content-type: text/html\n\n"; > print <<"HTML code"; > > and then placed all of my HTML code for the reponse page here > > HTML code > } > > However by doing it this way I am unable to process part of Matt's > sub routine which is: > > if ($message_url) { > print "Link: $message_url_title > \n"; > } > if ($message_img) { > print "Image: > \n"; > } > > With my method the HTML actual prints out the perl code onto the > page. I would rather not code every line of HTML because the page is > rather long - does anybody > know how I can include the above conditionals and still use > > print <<"HTML code"; Did you try ending that here-doc before the if blocks, and then starting another here-doc after the if blocks for the rest of the HTML? Ronald ==== Want to unsubscribe from this list? ==== Send mail with body "unsubscribe" to macperl-anyperl-request@macperl.org