You're losing your first character in the headers because that "\S". Maybe you should try something more like:
@fixedheaders = split(/\n+/, $fixedmsgheader);...roboticus
When your only tool is a hammer, all problems look like your thumb.
In reply to Re: Splitting folded MIME headers into indivual headers?
by roboticus
in thread Splitting folded MIME headers into indivual headers?
by sebastiannielsen2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |