NAME

MooseX::Registry::Role - The role for MooseX::Registry.

VERSION

Version 0.01

SYNOPSIS

package Long::Name::I::Want::To::Change::Later;

with MooseX::Registry::Role;

__PACKAGE__->register( 'nice-name-v2');

1;

use MooseX::Registry;
 
$class = MooseX::Registry->lookup( 'nice-name-v2' );

my $instance = $class->new;

METHODS

register

Adds an entry in the registry for this class name with a label.

lookup

Looks up a label to find the original class name.

AUTHOR

Rob Brown, <rob at intelcompute.com>

LICENSE AND COPYRIGHT

Copyright 2012 Rob Brown.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.