FoxtrotUniform has asked for the wisdom of the Perl Monks concerning the following question:
Monks,
I want to process a mostly-plain text document (one of the atxt documents semi-described in Automating a Static Website) in separate segments, doing slightly different things to each: one segment might be "Usenet-format" text, which I want to mark up with HTML::FromText; the next might be Perl code, which I want to markup as HTML with perltidy; the next might be more text, and so on. So I want to go through all of these segments, processing them appropriately, and end up with a large combined output (which I'll write to an html file or something).
One of my goals is to minimise the amount of explicit markup in the source file (which is why I'm not using XML). It strikes me that POD might be useful, if not directly, then as a base for the format I end up with.
So my questions:
--
The hell with paco, vote for Erudil!
:wq
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Segmented text processing (with POD?)
by Corion (Patriarch) on Jul 14, 2002 at 21:02 UTC | |
by FoxtrotUniform (Prior) on Jul 14, 2002 at 21:09 UTC | |
|
Re: Segmented text processing (with POD?)
by domm (Chaplain) on Jul 15, 2002 at 08:06 UTC | |
|
Re: Segmented text processing (with POD?)
by FoxtrotUniform (Prior) on Jul 14, 2002 at 21:17 UTC | |
by Aristotle (Chancellor) on Jul 14, 2002 at 21:40 UTC |