Subject: | CC: email header confused with roman numeral |
Text::Autoformat confuses the email header CC: with a roman numeral. For example:
ctriv@arwen:~/tmp$ cat <<END | perl -MText::Autoformat -we'autoformat{all => 1, renumber => 0}'
Show quoted text
> To: someone@somewhere.net
> Cc: webmaster@dyndns.org
> From: chris@dyndns.org
>
> Foo bar baz
> END
To: someone@somewhere.net
Cc: webmaster@dyndns.org From: chris@dyndns.org
Foo bar baz
As you can see the From: header is merged into the same paragraph as the CC: header. The CC: header is parsed as:
$VAR1 = {
'quotespace' => '',
'presig' => '',
'hangspace' => ' ',
'separator' => '',
'text' => 'webmaster@dyndns.org',
'empty' => 0,
'prespace' => '',
'raw' => 'Cc: webmaster@dyndns.org',
'quoter' => '',
'hang' => bless( [
{
'cut' => 0,
'nval' => 200,
'pre' => '',
'post' => ':',
'val' => 'Cc',
'type' => 'rom'
}
], 'Hang' )
};