in reply to Read entire file then clear while flocking
Can you simply rename it so the mailer can start a new one, and let you process the other one without worrying about locking or hurrying? I don't whack EMail in perl, so there may be some shortcomings to this approach that I haven't thought of.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Read entire file then clear while flocking
by citycrew (Acolyte) on Nov 05, 2011 at 05:04 UTC | |
by roboticus (Chancellor) on Nov 05, 2011 at 15:12 UTC |