David F. Skoll wrote:
I'd rather not add yet another global variable.
I can understand that. The reasons I added it as a global variable was a) it was simple and b) it fits the seeming philosophy of how mimedefang.pl is written. A more clean way would be as an optional argument (giving a reference to an array) to the functions calling SpamAssassin.
A long-range TODO at Roaring Penguin is to rewrite MIMEDefang to be more CPAN-like and not rely on global variables.
An object oriented MIMEDefang seems logical. And nice. :-) Regards /Jonas -- Jonas Eckerman, FSDB & Fruktträdet http://whatever.frukt.org/ http://www.fsdb.org/ http://www.frukt.org/ _______________________________________________ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list [email protected] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

