parsing a mbox file in PERL



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.

.



Relevant Pages

  • Re: How To Give The Client Peace Of Mind
    ... that the code can't be extracted from a mde file. ... extract all the code from an .mde (or he claimed he could bypass whatever ... and they didn't have the source code. ...
    (comp.databases.ms-access)
  • Re: How Fast is TCL?
    ... I am in the middle of writing a program which is suppose to decode ... For this purpose, ... Do you have some test data you could share? ...
    (comp.lang.tcl)
  • Re: need help for installing source code
    ... > Hello Paul, ... > but I didnt see any extracted source code file anywhere. ... > Also can I extract the kernel source in any directory, ... > I am trying to learn how to compile a linux kernel. ...
    (Fedora)
  • Re: Decoding a JPEG in memory
    ... >having great difficulty in finding a library or source code to decode a ... >JPEG image that I have in memory. ... >image in memory and would like to call a lib function to decode the ... custom data source manager. ...
    (comp.compression)
  • Re: Request For Reviewers
    ... computer instead of reading from a book kind of defeats the purpose, ... really cannot be made without a multi-page chunk of source code, ... serves no other purpose than pleasing a fictitious compiler and/or tester. ...
    (borland.public.delphi.non-technical)