my $f = Mail::Message::Field->new('List-Post' => 'http://x.org/'); my $g = Mail::Message::Field->new('List-Post'); $g->addURI('http://x.org'); my $uri = URI->new(...); $g->addURI($uri); my @uris = $g->URIs;
See SYNOPSIS in Mail::Message::Field::Structured
More recent RFCs prefer uri field notation over the various differentiated syntaxes. Especially the mailing-list RFCs use these fields all the time. This class can maintain these fields.
See DESCRIPTION in Mail::Message::Field::Full