X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FTypes%2FBase.pm;fp=lib%2FMooseX%2FTypeLibrary%2FBase.pm;h=0bd4ee0578a959cf792440dd72017c3dcac749c7;hb=52d358e2cf004a8b632b655832f7e9101db3c4dc;hp=d6dda02217556ea76b2736dcccaf965d5fd24743;hpb=57dad71eda1d16e561b364e216ff6f868c366236;p=gitmo%2FMooseX-Types.git diff --git a/lib/MooseX/TypeLibrary/Base.pm b/lib/MooseX/Types/Base.pm similarity index 91% rename from lib/MooseX/TypeLibrary/Base.pm rename to lib/MooseX/Types/Base.pm index d6dda02..0bd4ee0 100644 --- a/lib/MooseX/TypeLibrary/Base.pm +++ b/lib/MooseX/Types/Base.pm @@ -1,8 +1,8 @@ -package MooseX::TypeLibrary::Base; +package MooseX::Types::Base; =head1 NAME -MooseX::TypeLibrary::Base - Type library base class +MooseX::Types::Base - Type library base class =cut @@ -11,7 +11,7 @@ MooseX::TypeLibrary::Base - Type library base class use Sub::Install qw( install_sub ); use Carp qw( croak ); -use MooseX::TypeLibrary::Util qw( filter_tags ); +use MooseX::Types::Util qw( filter_tags ); use Moose::Util::TypeConstraints; use Moose; use namespace::clean; @@ -20,7 +20,7 @@ use namespace::clean; You normally won't need to interact with this class by yourself. It is merely a collection of functionality that type libraries need to -interact with moose and the rest of the L module. +interact with moose and the rest of the L module. =cut @@ -33,7 +33,7 @@ my $UndefMsg = q{Unable to find type '%s' in library '%s'}; =head2 import Provides the import mechanism for your library. See -L for syntax details on this. +L for syntax details on this. =cut @@ -78,7 +78,7 @@ sub export_type_into { my $tobj = find_type_constraint($full); # a possible wrapper around library functionality - my $wrap = $args{ -wrapper } || 'MooseX::TypeLibrary'; + my $wrap = $args{ -wrapper } || 'MooseX::Types'; # install Type name constant install_sub({ @@ -185,7 +185,7 @@ sub type_storage { =head1 SEE ALSO -L +L =head1 AUTHOR AND COPYRIGHT