Lucio Crusca wrote:
"Perl newbie" is way too much when referred to me. I've never even thought
to try to understand a single character of a perl program. Now I need to.
But, still, I don't want. I live more than well with my knowledge of other
languages.
However I'm facing a wonderful Courier ESMTP setup that requires me to use
perl in order to write a filter. And I don't want to use perl. So I could
use one single perl operator I've found: backticks.
What I need is to call an external executable passing a filename as the only
argument and then returning its output to the caller of the perl script,
e.g:
$reply=`myfilter.sh $filename`;
print $reply;
Is the above code correct for my purpose (assuming $filename is defined)?
why don't you try it out yourself and enlighten us...
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>