http://qs1969.pair.com?node_id=970725

perl.j has asked for the wisdom of the Perl Monks concerning the following question:

I'm looking to make a markup method for myself. Something like a breed of HTML and LaTeX but nowhere near as advanced.

I was thinking I could do something like this (in this instance, the tag would make the text bold):

if (text is surrounded by tag) { make text bold } else { leave text alone }

I know that you could check to see if the tag is around the text easily. It's Regular Expressions of course. But does Perl have some kind of module or functionality to change the layout of text? In case it matters, the output would be to another text file, maybe rich text format (.rtf).

--perl.j