procmail
[Top] [All Lists]

Re: procmail shell variables?

2003-12-30 09:25:28
On Tue, Dec 30, 2003 at 09:47:29AM -0500, Lee Hoffner wrote:
Here's some more information:

I have this perl script:
#! /usr/bin/perl
# badcheck.pl

You should add:

  $ADDRESS = $ENV{'ADDRESS'};

in order to grab the environment variable.

$address = qx'$ADDRESS';

You'll also want to use interpolating quotes here, I'm guessing:

  $address = qx($ADDRESS);

might give you better results. These are Perl (not PERL) questions,
however, and probably better suited to a Perl discussion list.

Scott
-- 
Scott Wiersdorf
scott(_at_)perlcode(_dot_)org

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>