DCI::Context - Base class for context packages.
All Context classes inherit from this class. This class provides several key methods.
See DCI or DCI::Meta::Context, you should probably not directly subclass this yourself.
Creates a new instance of your context with the specified role to object mapping.
Exports sugar methods to the specified package.
Used automatically when someone imports your class use Your::Context.
use Your::Context
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.
To install DCI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DCI
CPAN shell
perl -MCPAN -e shell install DCI
For more information on module installation, please visit the detailed CPAN module installation guide.