On Mon, 9 Aug 2004, Larry Starr wrote:

> Has anyone tried, or does anyone see a problem with, code like:
>        sub filter_begin {
>            if (stream_by_recipient()  && <list contains specific users> )
>            {
>                return;
>            }

It *must* be the other way around, because of how Perl short-circuits
logical operators:

if (list_contains_specific_users() && stream_by_recipient()) {
    return;
}

If you do it your way around, the streaming will happen unconditionally.

Regards,

David.
_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to