send-email: add and use a local copy of Mail::Address
[git.git] / perl / Git / Mail / Address.pm
blob2ce3e84670b71d88fe74d51c527edea29ee3d0b4
1 package Git::Mail::Address;
2 use 5.008;
3 use strict;
4 use warnings;
6 =head1 NAME
8 Git::Mail::Address - Wrapper for the L<Mail::Address> module, in case it's not installed
10 =head1 DESCRIPTION
12 This module is only intended to be used for code shipping in the
13 C<git.git> repository. Use it for anything else at your peril!
15 =cut
17 eval {
18 require Mail::Address;
20 } or do {
21 require Git::FromCPAN::Mail::Address;