in reply to Splitting folded MIME headers into indivual headers?

Hi there!

I propose use perl regexp positive look ahead:

split /\n(?=\S)/, $fixwdmsgheader;

p.s.: also please look at: Email::MIME - mail rfc have a lot of hidden issue/s

good luck!