PERL BEGINNERS 8 SICK OF INSTALLING CPAN MODULES
Subject: Sick of installing CPAN modules
Date: Thu, 7 Aug 2003 11:05:19 -0700

From: jc@no-spam (Jc)

I have parse a mailbox in order to grab data from each email. Simple enough right?

So I tried to use the CPAN module Mail::MboxParser (0.17 version because the new one requires more modules than this one) I installed the prerequisite MIME::Tools (5 version, not developer) and this went fine. MIME::Tools also requires IO::Stringy, and Mail::Field, Mail::Header, Mail::Internet. No problem, installed all of those.

However, the Mail::MboxParser, the one that I really need still says it need MIME::Tools. The actual module is called MIME::tools. I'm wondering if the program is so stupid that it doesn't realize this ist he same thing. Or perhaps it's not the same thing and there's a secret to installing these modules that I don't know about.

I am using RH Linux 9 straight from the box.


Date: Fri, 08 Aug 2003 08:52:06 +0200

Subject: Re: Sick of installing CPAN modules




From: tassilo.parseval@no-spam (Tassilo Von Parseval)
On Thu, Aug 07, 2003 at 11:05:19AM -0700 jc wrote:

> I have parse a mailbox in order to grab data from each email. Simple enough > right?
> > So I tried to use the CPAN module Mail::MboxParser (0.17 version because the > new one requires more modules than this one) I installed the prerequisite > MIME::Tools (5 version, not developer) and this went fine. MIME::Tools also > requires IO::Stringy, and Mail::Field, Mail::Header, Mail::Internet. No > problem, installed all of those.
> > However, the Mail::MboxParser, the one that I really need still says it need > MIME::Tools. The actual module is called MIME::tools. I'm wondering if the > program is so stupid that it doesn't realize this ist he same thing. Or > perhaps it's not the same thing and there's a secret to installing these > modules that I don't know about.

This is a thing I noticed just recently. The thing is: this error message makes no sense and you can safely ignore it. Why it happens, I have no idea because
ethan@no-spam perl -MMIME::Tools=5 -e1
ethan@no-spam
so it's all fine. Blame it on MIME::Tools...or ExtUtils::MakeMaker, but not me. :-)

As for using this old version of MboxParser: the additional obligatory requirements were MIME::QuotedPrint. Clearly, when you were able to install MIME::Tools, you can install MIME::QuotedPrint, too.

The current version is 0.39 (released yesterday actually; might not yet have propagated onto every CPAN mirror). It uses a new optional parser (Mail::Mbox::MessageParser which has been released by David Coppit shortly ago) which is _very_ fast. But even if you use 0.38 (which is definitely less experimental), it should be significantly more performant than 0.17. Also, 0.38 has shown to be relatively bug-free.
Some small changes to your existing scripts might be necessary though,
since the interface changed in a few spots.

Tassilo -- $_=q#",}])!JAPH!qq(tsuJ[{@no-spam"tnirp}3..0}_$;//::niam/s~=)]3[))_$-3(rellac(=_$({

pam{rekcahbus})(rekcah{lrePbus})(lreP{rehtonabus})!JAPH!qq(rehtona{tsuJbus#;
$_=reverse,s+(?<=sub).+q#q!'"qq.\t$&."'!#+sexisexiixesixeseg;y~\n~~dddd;eval