From: Martin DeMello Date: 2007-01-10T01:53:56+09:00 Subject: Re: recommended mailbox parsing library On 1/9/07, ara.t.howard@noaa.gov wrote: > > > > loader = TMail::UNIXMbox.new( 'mailbox' ) > > at_exit{ loader.close } > > you may also check to see if 'new' takes a block - not sure if it does. > either way, the mbox can still be truncated if your process is 'kill -9'd. > for that reason i generally impliment a transaction on top of tmail's. Ah - thanks! I thought the each_port block would close the file. martin