Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Think about Loose Coupling
 
PerlMonks  

Re: View The HTML ???

by einerwitzen (Sexton)
on Aug 25, 2003 at 23:08 UTC ( [id://286569]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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 25, 2003 at 23: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 CGI.pm anyway to parse parameters?

    Makeshifts last the longest.

2Re: View The HTML ???
by jeffa (Bishop) on Aug 26, 2003 at 09: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. ;)

    jeffa

    L-LL-L--L-LL-L--L-LL-L--
    -R--R-RR-R--R-RR-R--R-RR
    B--B--B--B--B--B--B--B--
    H---H---H---H---H---H---
    (the triplet paradiddle with high-hat)
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://286569]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.