summaryrefslogtreecommitdiff
path: root/usr/src/libpiny/lib/Piny/Email.pm
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/libpiny/lib/Piny/Email.pm')
-rw-r--r--usr/src/libpiny/lib/Piny/Email.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/libpiny/lib/Piny/Email.pm b/usr/src/libpiny/lib/Piny/Email.pm
index 7ad17d8..e031c34 100644
--- a/usr/src/libpiny/lib/Piny/Email.pm
+++ b/usr/src/libpiny/lib/Piny/Email.pm
@@ -18,6 +18,8 @@ subtype 'EmailAddress'
=> message { 'That does not appear to be a valid email address.' }
;
+Moose::Util::TypeConstraints::export_type_constraints_as_functions;
+
# Attributes
has 'address' =>