Name
CatalystX::Usul::Base - Base class utility methods
Version
0.5.$Revision: 1139 $
Synopsis
package YourBaseClass;
use parent qw(CatalystX::Usul::Base);
__PACKAGE__->mk_accessors( qw(list of accessor names) );
Description
Provides dynamic class loading method and exposes the exception handling methods in CatalystX::Usul::Exception. Also provides accessor/mutator creation method which it inherits from Class::Accessor::Grouped
Subroutines/Methods
dumper
$self->udump( $object );
Calls dumper for dumping objects for inspection
ensure_class_loaded
$self->ensure_class_loaded( $some_class );
Require the requested class, throw an error if it doesn't load
exception_class
$self->exception_class;
Return the exception class used to throw errors. Wraps the constant EXCEPTION_CLASS
in a method so we can use it for inversion of control
mk_accessors
$self->mk_accessors( @fieldspec );
Create accessors methods like Class::Accessor::Fast but using Class::Accessor::Grouped
Diagnostics
None
Configuration and Environment
None
Dependencies
Incompatibilities
None known
Bugs and Limitations
There are no known bugs in this module. Please report problems to the address below. Patches are welcome
Author
Peter Flanigan, <Support at RoxSoft.co.uk>
License and Copyright
Copyright (c) 2011 Peter Flanigan. All rights reserved
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic
This program is distributed in the hope that it will be useful, but WITHOUT WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE