Many thanks for that example you posted.
I assume that the mail folders are in the format of unix mboxes, ascii-mode, line-by-line.
Yes, they are ascii-mode, with CR/LF's. When I tried the script, a message:
D:\Perl\myscripts>\perl\bin\perl.exe checke~1.pl Can't locate Mail/Box.pm in @INC (@INC contains: D:/Perl/lib D:/Perl/s +ite/lib .) at checke~1.pl line 5. BEGIN failed--compilation aborted at checke~1.pl line 5.
I then checked for Mail::Box, and it didn't appear to be part of the Active State Perl I have installed. I then used the PPM (version 3.0.1) and did an "install Mail::Box" command, it took about 10 mins, but said everything was okay. However, the same error message appeared.
The PPM search for Mail::Box displayed
and that is all that was installed, just a file called "C.pm" in a folder D:\Perl\site\lib\Mail\Box\. I did download the file http://perl.overmeer.net/mailbox/source/source-current.tar.gz , and there is a Box.Pm in that file, but I don't know where to put it. No doubt somehow I should reference the 'tar' file in the PPM, for the install ? When I do a SET command at DOS, there are no environment variables for Perl ?ppm> search Mail::Box Searching in Active Repositories 1. Mail-Box-Parser-C [3.003] C parser for Mail::Box
I'm trying to read up more on the documentation also.
Many thanks,
Peter
In reply to Re: Re: Parsing email files, what are the best modules ?
by peterr
in thread Parsing email files, what are the best modules ?
by peterr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |