http://qs1969.pair.com?node_id=60308


in reply to (tye)Re: quoted-printable, and ugly code
in thread quoted-printable, and ugly code

Better yet, I think you can get both the quoted-printable decoding you want and the mail header parsing you'd like with use MIME::Parser, part of the MIME-tools package.

And if what you're doing is tinkering with a Perl-based mail filter, check out Mail::Audit.

Peace,
-McD

Replies are listed 'Best First'.
Re: Re: (tye)Re: quoted-printable, and ugly code
by gaudior (Pilgrim) on Feb 23, 2001 at 00:47 UTC
    MIME::Parser is a real heavyweight. MIME::Lite is a good alternative.


    Always keep a song in your heart.
    It's like karaoke for the voices in your head.
      Cool, I hadn't seen that one!

      Of course, the original query had to do with parsing MIME, and MIME::Lite doesn't seem to do that. From the docs:

      MIME::Lite is intended as a simple, standalone module for generating (not parsing!) MIME messages...

      Peace,
      -McD