[feedback-report] Email::ARF::Report, etc

Ricardo SIGNES rjbs-arf at lists.manxome.org
Wed Mar 21 08:30:02 PST 2007


* Ricardo SIGNES <rjbs-arf at lists.manxome.org> [2007-03-20T22:33:36]
> I will probably be making a "create" method for Email::ARF::Report (or maybe
> a Email::ARF::Producer class) in the near future.  I know that MIME::ARF
> exists, but it's not on the CPAN -- which means that in a lot of ways, it
> might as well not exist.  Also, I needed the parser more than the producer;
> having written that, it would be nice to have a producer that uses the same
> conventions.

I've added that method, although I can promise that I will soon refactor it.  I
really don't like that the "new" method gets an ARF report and the "create"
method gets a standard MIME message.

This may just get solved by having the MIME message representation of an ARF
report available via an "as_email" or "as_string" method.  (Then again, it's
nice to have parsed reports be immutable and generated reports be mutable, but
cautious programming is probably better than premature complexification, now.)

The "create" method appears in version 0.001, on the CPAN now.

-- 
rjbs


More information about the abuse-feedback-report mailing list