Re: talking to Perl for a text-cleanup.
| From: | julien Beauviala | Date: | Tue, 15 Apr 2003 16:48:56 +0000 |
| Subject: | Re: talking to Perl for a text-cleanup. | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-143979@lists.php.net to get a copy of this message | ||
On (15/04/03 11:03), John Nichel wrote:
> How do you normally pass it?
I don't, that's what I'm after.
Basically I want to do the same thing as the following :
$somefield = "bla blabla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
";
$cleantext = wordwrap($somefield, 63);
echo $cleantext;
but using
perl -MText::Autoformat -e'autoformat instead of
wordwrap.
I hope it's clearer.
j.