procmail
[Top] [All Lists]

Q on procmail to perl pipe

1999-03-23 16:56:54
I have this perl script...

==============CODE

#! usr/local/bin/perl5 -w

print '==============================', "\n";

open(LOG, ">>perl.out") or die;
        while(<STDIN>)
        {
                print LOG '===============================', "\n";
                print LOG @_, "\n\n";
                print LOG '==============================', "\n";
        }
close LOG;

# eof

==============END CODE

I have this receipt

==============CODE

# ------------------------------------------------------------
# Testing to see if perl scripts can get and process mail!

## -- Testing
        :0
        * ^TO()perl(_at_)tscinternet(_dot_)com
        * HB ?? ? "$HOME/vmail/perl/perl test.pl"
        | true

==============END CODE

This is my log report of the process...

    /export/home/walter/vmail/perl/perl test.pl:
    /export/home/walter/vmail/perl/perl test.pl: cannot open 

What am I doing wrong?



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