Adam Kennedy > POE-Declare-0.59 > POE::Declare::Meta::Attribute

Download:
POE-Declare-0.59.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.59   Source  

NAME ^

POE::Declare::Meta::Attribute - Named accessor with read-only accessor

SYNOPSIS ^

  declare status => 'Attribute';
  
  my $object = My::Class->new;
  
  print $object->status . "\n";

DESCRIPTION ^

A POE::Declare::Meta::Attribute is a POE::Declare::Meta::Slot subclass that represents the simplest possible slot, a named attribute with a data storage element in the object HASH, and a readonly accessor.

These methods are intended for use outside of the object, allowing parents and others to read publically visible state advertised by the object.

SUPPORT ^

Bugs should be always be reported via the CPAN bug tracker at

http://rt.cpan.org/NoAuth/ReportBug.html?Queue=POE-Declare

For other issues, or commercial enhancement or support, contact the author.

AUTHORS ^

Adam Kennedy <adamk@cpan.org>

SEE ALSO ^

POE, POE::Declare

COPYRIGHT ^

Copyright 2006 - 2012 Adam Kennedy.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.

syntax highlighting: