parsing a mbox file in PERL
- From: Madhusudhanan Chandrasekaran <mc79@xxxxxxxxxxxxxxx>
- Date: Wed, 28 Nov 2007 19:46:46 -0500
Hi,
I am trying to parse a mbox file and extract the message's
body. I am using Mail::MboxParser for this purpose. In my
source code, I have
my $mb = Mail::MboxParser->new('some_mailbox',
decode => 'ALL',
parseropts => $parseropts);
with the $parseropts initialized. However, it gives me the
following error message:
Can't locate object method "new" via package "MIME::Parser" at
/usr/local/share/perl/5.8.8/Mail/MboxParser/Mail.pm line 513.
I've MIME::Parser installed and it does seem to have a new method.
Any pointers appreciated.
Thanks in advance,
_Madhu
--------------------------------------------------
All in all I'm just another brick in the FIREWALL.
.
- Follow-Ups:
- Re: parsing a mbox file in PERL
- From: Jim Gibson
- Re: parsing a mbox file in PERL
- From: Ben Morrow
- Re: parsing a mbox file in PERL
- Prev by Date: Re: Script to disconnect Linksys WRT54G wireless router on Windows
- Next by Date: Re: page 124 of the camel book
- Previous by thread: Parsing two files and comparing the first fields..
- Next by thread: Re: parsing a mbox file in PERL
- Index(es):
Relevant Pages
|