Re: Re: How to handle long lines?
Date: Apr 12th 2007, 01:45 EST
Subject: Re: Re: How to handle long lines?
Thanks for the idea! I asked one of my perl buddies if there might be
some sort of built-in function. He recommended a perl module to me
called Text::Wrapper. Here's the synopsis:
I think this will do the trick, so I'll implement and test it tonight.
On Apr 11, 2007, at 7:20 PM, email@example.com wrote:
> In PHP there's a wordwrap function, surely there's something
> similar in Perl.
> On Apr 9th 2007, 20:44 EST, chrisgagne wrote:
> > One of the things that a typical email client does when
> > replying to long emails is to hard-wrap each line to 80
> > columns before adding the "> " bit that marks it as a reply.
> > We don't handle this gracefully when you issue a reply
> > through the Cerbumi website. Does anyone have an idea for a
> > perl snippet that takes a large blob of text and adds
> > newlines gracefully to get things to fit to 80 columns?
> > To see an example of this at work, simply reply to this
> > message on the website.
Please note that these attachments have not been scanned for viruses or other malicious content. Download them only at your own risk.