From d809044c2f00d7f8358dc8013c4e6639760aba67 Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Wed, 7 Jul 2010 15:44:46 -0700 Subject: Revising newrepo to use libpiny. --- usr/src/libpiny/lib/Piny/Email.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'usr/src/libpiny/lib/Piny/Email.pm') 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' => -- cgit v1.2.3