Ernst-J. Johnsdorf > Frost-0.70 > Frost::Meta::Attribute

Download:
Frost-0.70.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Module Version: 0.65   Source  

NAME ^

Frost::Meta::Attribute - Sweets for my sweet, sugar for my honey

SYNOPSIS ^

               Locum  Twilight  Cemetery  Illuminator
   Feature                                             Access (default)

   transient   X      -         -         -            r/w   (ro)
   virtual     -      X         -         -            r/w   (ro)
   derived     -      X         -         -            ro    (ro)
   index       -      X         X         X            r/w   (--)
   (none)      -      X         X         -            r/w   (--)

   Attr "id"   X      X         X         -            ro    (ro)

   A transient attribute lives at run-time and is "local":
   It becomes undef, when the Locum object goes out of scope,
   and it is not stored.

   A virtual attribute lives at run-time and is "global":
   It is still present, when the Locum object goes out of scope,
   but it is not stored.

   The definition

      has deri_att => ( derived => 1, isa => 'Str' );

   is a shortcut for:

      has deri_att => ( virtual => 1, isa => 'Str', is => 'ro', lazy_build => 1 );

   which becomes:

      has deri_att =>
      (
         virtual   => 1,
         is        => 'ro',
         isa       => 'Str',
         lazy      => 1,                   # lazy_build...
         builder   => '_build_deri_att',         #
         clearer   => 'clear_deri_att',  #
         predicate => 'has_deri_att',            #
      );

ABSTRACT ^

No documentation yet...

DESCRIPTION ^

No user maintainable parts inside ;-)

CLASS METHODS ^

Frost::Meta::Attribute->legal_options_for_inheritance ( @_ )

PUBLIC ATTRIBUTES ^

transient

derived

virtual

index

auto_id

auto_inc

PUBLIC METHODS ^

is_readonly

is_unique

GETTING HELP ^

I'm reading the Moose mailing list frequently, so please ask your questions there.

The mailing list is moose@perl.org. You must be subscribed to send a message. To subscribe, send an empty message to moose-subscribe@perl.org

BUGS ^

All complex software has bugs lurking in it, and this module is no exception.

Please report any bugs to me or the mailing list.

AUTHOR ^

Ernesto ernesto@dienstleistung-kultur.de

COPYRIGHT AND LICENSE ^

Copyright (C) 2010 by Dienstleistung Kultur Ltd. & Co. KG

http://dienstleistung-kultur.de/frost/

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

syntax highlighting: