> > I'm having trouble understanding how I should use the > > methods compile_now() and init(). > > > > Right now I use something like this. > > > > $spamtest->compile_now(1);
My way of thinking is that compile_now() should be used if you're going to be checking multiple messages (>2) with your program, since it will actually run a fake message through the rules to get everything loaded before you start running check(). init() would therefore be used if you're only doing a one-time run. Although as long as you don't care about the first message taking longer than the second message, it probably doesn't matter which way you go. -- Randomly Generated Tagline: Holy Moly! The bastard's rich! -- Homer Simpson Oh Brother, Where Art Thou?
msg10129/pgp00000.pgp
Description: PGP signature