summaryrefslogtreecommitdiff
path: root/perl/Git/Mail/Address.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl/Git/Mail/Address.pm')
-rwxr-xr-xperl/Git/Mail/Address.pm24
1 files changed, 24 insertions, 0 deletions
diff --git a/perl/Git/Mail/Address.pm b/perl/Git/Mail/Address.pm
new file mode 100755
index 0000000000..2ce3e84670
--- /dev/null
+++ b/perl/Git/Mail/Address.pm
@@ -0,0 +1,24 @@
+package Git::Mail::Address;
+use 5.008;
+use strict;
+use warnings;
+
+=head1 NAME
+
+Git::Mail::Address - Wrapper for the L<Mail::Address> module, in case it's not installed
+
+=head1 DESCRIPTION
+
+This module is only intended to be used for code shipping in the
+C<git.git> repository. Use it for anything else at your peril!
+
+=cut
+
+eval {
+ require Mail::Address;
+ 1;
+} or do {
+ require Git::FromCPAN::Mail::Address;
+};
+
+1;