++ed by:

2 non-PAUSE users.

Chad Granum

NAME

DCI::Meta - Base class for meta objects.

DESCRIPTION

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

METHODS

$meta->new( $target )

Creates a new instance of the meta object.

$meta->target()

Returns the target package of the meta object.

$meta->subclass()

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.

before_import()

Used by Exporter::Declare in subclasses.

ACHNOWLEDGEMENTS

The DCI concept was created by Trygve Reenskaug, (inventor of MVC) and James Coplien.

AUTHORS

Chad Granum exodist7@gmail.com

COPYRIGHT

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.