help with if else conditional

Richard Reina <[email protected]>
Newsgroups gmane.mail.procmail
Message-ID <[email protected]>
I thought this would work:

* ? /usr/bin/perl -e 'require "/home/richard/.pmdir/test_subject.pl";
test_if_billed($ENV{SUBJECT},$ENV{FROM});'
work #already billed test_if_billed() notified sender. just dump in work
folder

:0E  # has not been billed rip & save attachements
{
|ripmime -i - -d /home/richard/.pmdir/attachments/ &&\
  /usr/bin/perl -e 'require "/home/richard/.pmdir/test_subject.pl";
rename_att($ENV{SUBJECT});'
 invoices
}

The perl script gets the variables and executes correctly but the
conditional does not trigger the results expected. Can anyone tell me what I
am doing wrong?

Thanks,

Richard

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
[email protected]
http://mailman.rwth-aachen.de/mailman/listinfo/procmail
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.