Re: talking to Perl for a text-cleanup.

From: Date: Tue, 15 Apr 2003 16:03:46 +0000
Subject: Re: talking to Perl for a text-cleanup.
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-143972@lists.php.net to get a copy of this message
How do you normally pass it? julien Beauviala wrote:
On (15/04/03 09:35), John Nichel wrote:
Enclose your command in backticks to call that actual line $formated_text = `perl -MText::Autoformat -e'autoformat{right=>63, all=>1}'`;
Yes, but how do I pass '$argument' to this command, so as to use $formated_text into the field where it is supposed to be once $argument is processed. $argument in that case being an email length block of text. j.


« previous php.general (#143972) next »