bump version
[gitmo/MooseX-Types-Common.git] / lib / MooseX / Types / Common.pm
index 8bf9726..d670dc8 100644 (file)
@@ -2,14 +2,23 @@ package MooseX::Types::Common;
 
 use strict;
 use warnings;
+use Carp qw/cluck/;
 
-our $VERSION = '0.001000';
+our $VERSION = '0.001005';
+
+sub import {
+    my $package = shift;
+    return unless @_;
+    cluck("Tried to import the symbols " . join(', ', @_)
+        . " from MooseX::Types::Common.\nDid you mean "
+        . "MooseX::Types::Common::String or MooseX::Type::Common::Numeric?");
+}
 
 1;
 
 =head1 NAME
 
-MooseX::Types::Common
+MooseX::Types::Common - A library of commonly used type constraints
 
 =head1 SYNOPSIS