in reply to Displaying text files with perl.

For the first part I think I don't have a freaking idea what you mean. Do you mean how to get ridd of the formatting or do you want to reproduce the formatting on your web page?

For the second part: the wrap: take a look at Text::Wrap (simple and good) or take a look at Text::Reflow which is more complex but richer in functionality. I use both and I am quite happy with them.

Hope this helps.

Replies are listed 'Best First'.
Re^2: Displaying text files with perl.
by mikelieman (Friar) on Aug 25, 2008 at 19:44 UTC
    antiword

    Antiword is a free MS-Word reader for Linux, RISC OS, and DOS. It converts the documents from Word 2, 6, 7, 97, 2000, 2002, and 2003 to text, Postscript, and XML/DocBook. Antiword tries to keep the layout of the document intact.