Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Parsing a Pine mailbox

by jaldhar (Vicar)
on May 06, 2004 at 14:14 UTC ( #351120=note: print w/replies, xml ) Need Help??


in reply to Parsing a Pine mailbox

You mentioned being confused by the large number of mail parsing modules available. For maximum compatability I would advise using the Mail::Cclient module from CPAN as it is just a thin perl wrapper around the exact same C library pine uses to parse mail.

Although it is most likely pine is using mbox folders, there is a possibility it could be one of the several other formats c-client supports which are also stored as flat files.

Also I have used Mail::Box and it is quite fast. It is however IIRC pure perl so there is a chance that Mail::Cclient being based on C is faster. But I haven't done any benchmarks.

--
જલધર

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://351120]
help
Chatterbox?
[LanX]: and this Re^2: extract column data
[Lady_Aleena]: I have two sub recurse { my ($directory, $other_var) = @_; my @files = file_list($directo ry); for my $file (@files) { if (-f $file) { do "stuff"; } if (-d $file) { recurse(" $directory/$file" , $other_var); } } } This was when I hated File::Find.
[tobyink]: 1nickt: your code?
[LanX]: pryrt: yeah, that's why I didn't consider, but the last >10 anonymous posts are from the same troll-person
[jdporter]: is there a module for expanding tabs in text?
[jdporter]: A: yes.
[Lady_Aleena]: I don't know how hard it will be to get out of that mess.
[LanX]: M-x untabify
[choroba]: I don't think they're multiple people. I was told "he or she" sounds old-fashioned and "they" is the way to say it
[pryrt]: Those others were definitely offensive or unequivocably rude, I agree.

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (17)
As of 2017-05-24 20:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?