query regarding undocumented feature of Email::Simple

2009-06-30 Thread Saurabh Hirani
Hi, I wanted to parse an email, get the headers, replace a few and delete a few. I saw that Email::Simple wonderfully fits the bill being simple and light. I saw that you can replace or set message headers using $email-header_set(headername, headerval1, headerval2,) But I wanted to delete a

Re: query regarding undocumented feature of Email::Simple

2009-06-30 Thread Ricardo SIGNES
* Saurabh Hirani saurabh.hir...@gmail.com [2009-06-30T02:07:41] So I looked at the source and deduced that if I have $email-header_set($headername) i.e I don't give the value to set, as per the internal working of the code, it actually deletes the header - which is what I want. Is this an