http://bugzilla.spamassassin.org/show_bug.cgi?id=3889
Summary: Debug code is hard to use in third-party code
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Platform: Other
OS/Version: other
Status: NEW
Severity: enhancement
Priority: P5
Component: Libraries
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
I have a small bit of code used to parse a message and then do things with it:
#!/usr/bin/perl
use Mail::SpamAssassin;
use Mail::SpamAssassin::Message;
$Mail::SpamAssassin::DEBUG->{enabled} = 1;
my $msg = new Mail::SpamAssassin::Message({parsenow => 1});
This used to work, but doesn't now due to the massive debug change. Either
way, it makes the debug
output tied in to the M::SA code, even if M::SA isn't necessary (as in this
case).
I'd like to see the debug code moved into its own module separate from M::SA.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.