in reply to Re: How to tokenize a RTF file and print it to another file (Update with solution)
in thread How to tokenize a RTF file and print it to another file

What functions would I use to get the formatting correct? I tried rtfesc but it didn't really do anything

  • Comment on Re^2: How to tokenize a RTF file and print it to another file (Update with solution)

Replies are listed 'Best First'.
Re^3: How to tokenize a RTF file and print it to another file (Update with solution)
by thanos1983 (Parson) on Jul 07, 2017 at 21:42 UTC

    Hello mdavies23,

    Take a look at the RTF::Writer/METHODS.

    For example, from the documentation:

    $h->paragraph(...); This makes the items in the list (...) into a paragraph. Basically + just a wrapper for $h->print([ \'{\par', ..., \'\pard}', ])

    Hope this helps, BR

    Seeking for Perl wisdom...on the process of learning...not there...yet!