In this case, it's the other way around. A "return 0;" or "exit 0;" means the trigger allows the operation to continue. A "return 1;" or "exit 1;" means that the cleartool command is stopped.
Don't Panic! Brian Bygland Boeing Commercial Airplane - IS / CATIA Support -----Original Message----- From: Bob Andriola [mailto:[EMAIL PROTECTED] Sent: Saturday, June 10, 2006 6:33 PM To: Anthony Ettinger Cc: CCIUG Subject: Re: [cciug] perl trigger's ending with 1? Anthony Ettinger wrote: > Is this necessary? > > I see some triggers with a 1; at the end, and some without. > > It's so that if no other "return" is encountered during execution, the trigger returns true (allowing the op that pulled the trigger to continue). Bob <============================================================ To unsubscribe, send email to [EMAIL PROTECTED] and put these words in the message body: unsubscribe cciug ============================================================> <============================================================ To unsubscribe, send email to [EMAIL PROTECTED] and put these words in the message body: unsubscribe cciug ============================================================>