in reply to RE: Strange Behavior while Parsing Sendmail logsin thread Strange Behavior while Parsing Sendmail logs
That will set $to_addr to either 1 or 0 depending on whether the substitution succeeded or not.
-Matt