The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

DCI::Cast::Object - The object from which all Casts inherit.

METHODS

my $cast = $class->new( $core, %params )

Create a new instance of the cast around the core object $core. Anything in %params will be passed to init() if a method of that name exists.

my $core = $cast->CORE()

Get the core object around which the cast instance is built.

my $subref = $cast->can( $method_name )

Implementation of can() which will check the cast first, then the core.

my $bool = $cast->isa( $package_name )

Implementation of isa which will check the cast first, then the core.

AUTOLOAD()

Documented for completeness, do not override.

AUTHORS

Chad Granum exodist7@gmail.com

COPYRIGHT

Copyright (C) 2011 Chad Granum

DCI-Cast is free software; Standard perl licence.

DCI-Cast 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.