DCI::Meta - Base class for meta objects.
- $meta->new( $target )
Creates a new instance of the meta object.
Returns the target package of the meta object.
Returns the name of the package which should be subclassed.
- $meta->make_subclass( $target )
Turns $target into a subclass of $meta->subclass()
- inject( $target, $name, $code )
Inject the $code as a new function named $name in the $target package.
Used by Exporter::Declare in subclasses.
The DCI concept was created by Trygve Reenskaug, (inventor of MVC) and James Coplien.
Chad Granum firstname.lastname@example.org
Copyright (C) 2011 Chad Granum
DCI is free software; Standard perl licence.
DCI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license for more details.