Peter Flanigan > CatalystX-Usul > CatalystX::Usul::TraitFor::LoadingClasses

Download:
catalystx-usul/CatalystX-Usul-0.17.1.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: v0.17.1   Source  

Name ^

CatalystX::Usul::TraitFor::LoadingClasses - Load classes at runtime

Version ^

This documents version v0.17.$Rev: 1 $ of CatalystX::Usul::TraitFor::LoadingClasses

Synopsis ^

   use Moo;

   with q(CatalystX::Usul::TraitFor::LoadingClasses);

Description ^

A Moo::Role which load classes at runtime

Subroutines/Methods ^

build_subcomponents

   __PACKAGE__->build_subcomponents( $base_class );

Class method that allows us to define components that inherit from the base class at runtime

load_component

   $self->load_component( $child, @parents );

Ensures that each component is loaded then fixes @ISA for the child so that it inherits from the parents

setup_plugins

   @plugins = $self->setup_plugins( $class, $config_ref );

Load the given list of plugins and have the supplied class inherit from them. Returns an array ref of available plugins

Configuration and Environment ^

None

Diagnostics ^

None

Dependencies ^

Class::Usul::Constants
Class::Usul::Functions
Module::Pluggable::Object
Moo::Role

Incompatibilities ^

There are no known incompatibilities in this module

Bugs and Limitations ^

There are no known bugs in this module. Please report problems to the address below. Patches are welcome

Acknowledgements ^

Larry Wall - For the Perl programming language

Author ^

Peter Flanigan, <Support at RoxSoft.co.uk>

License and Copyright ^

Copyright (c) 2014 Peter Flanigan. All rights reserved

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic

This program is distributed in the hope that it will be useful, but WITHOUT WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE

syntax highlighting: