in reply to View The HTML ???

Absolutely Wonderful, thanks a ton ...

open (PAGE, "$file"); @HTML = <PAGE>; close (PAGE); print <<PART1; <textarea style="{border: solid 1 #000033; width: 900; height: 550;}" +name="text"> PART1 use CGI qw(:standard); print escapeHTML(join '', @HTML); print <<PART2; </textarea> PART2

Replies are listed 'Best First'.
Re^2: View The HTML ???
by Aristotle (Chancellor) on Aug 26, 2003 at 03:36 UTC
    Well, FWIW, you shouldn't be importing a million functions using :standard if you're only using one of them. Are you using anyway to parse parameters?

    Makeshifts last the longest.

2Re: View The HTML ???
by jeffa (Bishop) on Aug 26, 2003 at 13:25 UTC
    You really should look into Templating Solutions. Here are two for your amusement:
    1. Template:
    2. HTML::Template:
    Feel free to ask questions about these modules, they are designed to make your life easier - but you don't appreciate that up front. ;)


    (the triplet paradiddle with high-hat)