On Wed, 12 Jun 2002 the voices made [EMAIL PROTECTED] write: > > :0 > > * ^X-Spam-Status:[ ]*\/.* > > { > > MATCH=`perl -e '$ENV{"MATCH"} =~ s/exa/mple/i; print $ENV{"MATCH"}'` > > :0fh > > | formail -I "X-Spama-Status: $MATCH" > > }
> Maybe my perl program goes in where your `perl -e' is. Not sure I see how, > but probably just overlooking the obvious. Yes, that's where your program goes; perl -e is simply a one line-program (on the command line instead of in a file). > So will `my_script' know what env{"MATCH"} is? I can use it like: Yes, it will, and no... you can't; $ENV{"MATCH"} is a single line with the contents of the header. /Tony -- # Per scientiam ad libertatem! // Through knowledge towards freedom! # # Genom kunskap mot frihet! =*= (c) 1999-2002 [EMAIL PROTECTED] =*= # -- Random epigram: (6/11) "Shut up, friends! My Internetbrowser heard you saying the word "Fry", and it found a movie about Phillip J. Fry for us. It also opened my calendar to friday, and ordered me some french fries." -- The professor, Futurama. _______________________________________________________________ Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk