Mail::Header::Received is probably not a good place for it given
that Mail::Header is a bit different.
However If you module could be made to work with Mail::Field then
that would be great. Parsing of mail headers is exactly what
that package is all about.
Graham.
On Sun, Mar 19, 2000 at 10:28:56PM +0000, Adam Spiers wrote:
> [Please cc replies to me, thanks]
>
> Hi all,
>
> I've written a state-machine parser of e-mail Received: headers which
> adheres to RFC822 except for cases where a significant number of MDA's
> deviate from it. I would like to make it available on CPAN. What
> should I call it? It's currently Mail::Header::Received.
>
> For anyone who's interested, the module is available at
>
> http://www.new.ox.ac.uk/~adam/computing/parp/Mail/Header/Received.pm
>
> (For the even curiouser, I wrote it as part of a Perl replacement for
> procmail I'm writing, which has added spam fighting capabilities. The
> filter is at
>
> http://www.new.ox.ac.uk/~adam/computing/parp/
>
> .)
>
> --
> --- [EMAIL PROTECTED] --- musician and hacker --- http://www.new.ox.ac.uk/~adam/
> echo '$_=bless[q]]],q;_;;sub s;{local$_=shift;push@$_,++$0,pop(@$_).$s;;$_}($,
> =eval((join"\$_->[",qw)Just Another Perl Hacker)).q)$_->[1]]]])))=~s~((?<=.(?{
> ++$*})))?_::~$*&&$"~egx,print""=>""=>'|perl -ln0e';s;s\;;_::AUTOLOAD$1;g;eval'
>