DCI::Context - Base class for context packages.
All Context classes inherit from this class. This class provides several key methods.
- $class->new( $ROLE => $OBJECT, ... )
Creates a new instance of your context with the specified role to object mapping.
- $class->dci_export_to( $PACKAGE )
Exports sugar methods to the specified package.
- $class->import( @IMPORT_LIST )
Used automatically when someone imports your class
The DCI concept was created by Trygve Reenskaug, (inventor of MVC) and James Coplien.
Chad Granum email@example.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.