Hi Johan, Thank you on the note on quotemeta. Overlooked that one totally!
I did search CPAN, but I was concerned about preserving my mbox as much as possible while injecting tags into them, so that a simple diff can help me verify if my processed mbox was correct - maybe I wasn't thorough, but a quick search on CPAN didn't return promising results... so while my script may not be as reliable, at least I know that my output is verifiable... Besides, there are other hacks I need to do to work around Thunderbird, so I was hoping the code could serve as a skeleton for people like me... until Thunderbird 3 finally manages to fix all my problems! exit;
