++ed by:

2 non-PAUSE users.

Chad Granum


DCI::Meta - Base class for meta objects.


Base class for meta objects. Do not use this class directly. Use DCI::Meta::Cast and DCI::Meta::Context instead.


$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 exodist7@gmail.com


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.