procmail
[Top] [All Lists]

Re: PROCESS THE MAIL - TO SCRIPT

1998-01-13 05:14:48
Mon 98-01-12 "Randy A. Katz" <randyk(_at_)ccsales(_dot_)com> list.procmail
| 
|      :0
|      | someperlscript.pl

If I just run something as a side effect, I usually write:

    dummy = `someperlscript.pl`     # Give the message to perl

| ...correct syntax to use inside the PERL script to receive that PIPE?

Nothing magical, just reading from STDIN as you would do:

    while ( <> ) { ... }   

jari

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