Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

To start with HTML or Text that is the Question.

by Angel (Friar)
on Dec 19, 2002 at 23:47 UTC ( [id://221291]=perlquestion: print w/replies, xml ) Need Help??

Angel has asked for the wisdom of the Perl Monks concerning the following question:

I can have a page that needs to be generated in text for emails and for display on screen in HTML. Should I start in HTML and use HTML::Parser, Or in txt and look for module that does txt to html?

Angel

Replies are listed 'Best First'.
Re: To start with HTML or Text that is the Question.
by sauoq (Abbot) on Dec 19, 2002 at 23:54 UTC

    Start with HTML. Trying to figure out how to rationally insert tags into plain text isn't going to be easy.

    Better yet, use XML.

    -sauoq
    "My two cents aren't worth a dime.";
    
Re: To start with HTML or Text that is the Question.
by Aristotle (Chancellor) on Dec 20, 2002 at 00:43 UTC
    If you want to be able to produce sane plaintext output, chances are it lends itself to writing in POD. :)

    Makeshifts last the longest.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://221291]
Approved by gjb
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2024-03-28 10:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found