Bart Schaefer writes:

> I'd suggest that init() set $self->{rules_filename} after it figures out
> what it is, but that will still be wrong for triplets.txt in the event
> that it is the name of a file rather than a directory.

There is also the problem of localization.  If you have a localized
"languages" but "triplets.txt" is not localized, or vice-versa, then
they're going to be coming out of different configuration directories.
I think you need to set both configuration files in init().

I think it could be speed up a bit by looking for the localized versions
first, then the non-localized version.  (It's potentially one stat()
call instead of always being two.)

Dan

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to