Peter Flanigan > CatalystX-Usul > CatalystX::Usul::Base

Download:
catalystx-usul/CatalystX-Usul-0.7.1184.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: v0.7.1181   Source  

Name ^

CatalystX::Usul::Base - Base class utility methods

Version ^

0.7.$Revision: 1181 $

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

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 ^

CatalystX::Usul::Constants
CatalystX::Usul::Exception
Class::Accessor::Grouped
Class::MOP
TryCatch

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

syntax highlighting: