| Bread-Board documentation | Contained in the Bread-Board distribution. |
Bread::Board::Service::WithClass
All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT.
Stevan Little <stevan@iinteractive.com>
Copyright 2007-2011 by Infinity Interactive, Inc.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| Bread-Board documentation | Contained in the Bread-Board distribution. |
package Bread::Board::Service::WithClass; use Moose::Role; use Bread::Board::Types; our $VERSION = '0.20'; our $AUTHORITY = 'cpan:STEVAN'; with 'Bread::Board::Service'; has 'class' => ( is => 'rw', isa => 'Str', required => 1, ); before 'get' => sub { Class::MOP::load_class((shift)->class) }; no Moose::Role; 1; __END__