Changeset 10534
- Timestamp:
- 04/27/08 14:14:45 (5 years ago)
- Files:
-
- 1 modified
-
lang/perl/Nanto/trunk/lib/Nanto/Plugin/Factory.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/Nanto/trunk/lib/Nanto/Plugin/Factory.pm
r10532 r10534 3 3 use Moose::Role; 4 4 use UNIVERSAL::require; 5 use Carp; 5 6 6 7 requires 'base_name', 'config'; … … 11 12 $factory->use or die $@; 12 13 13 # TODO: check $class does Nanto::Role::Factory? 14 croak "$factory does not Nanto::Role::Factory" unless $factory->does('Nanto::Role::Factory'); 15 14 16 if ($factory->per_context) { 15 17 $self->{__PACKAGE__ . "__Factory::$module"} ||= $self->_create_instance( $factory, $module );
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)