Reindeer
view release on metacpan or search on metacpan
seconds) that a stored value is allowed to live; after that time the
value is cleared and the value rebuilt (given that the attribute is
lazy and has a builder defined).
See MooseX::AutoDestruct for more information.
CascadeClearing
This attribute trait allows one to designate that certain attributes
are to be cleared when certain other ones are; that is, when an
attribute is cleared that clearing will be cascaded down to other
attributes. This is most useful when you have attributes that are
lazily built.
See MooseX::CascadeClearing for more information and a significantly
more cogent description.
ENV
This is a Moose attribute trait that you use when you want the default
value for an attribute to be populated from the %ENV hash. So, for
lib/Reindeer.pm view on Meta::CPAN
that a stored value is allowed to live; after that time the value is cleared
and the value rebuilt (given that the attribute is lazy and has a builder
defined).
See L<MooseX::AutoDestruct> for more information.
=head2 CascadeClearing
This attribute trait allows one to designate that certain attributes are to be
cleared when certain other ones are; that is, when an attribute is cleared
that clearing will be cascaded down to other attributes. This is most useful
when you have attributes that are lazily built.
See L<MooseX::CascadeClearing> for more information and a significantly more
cogent description.
=head2 ENV
This is a Moose attribute trait that you use when you want the default value
for an attribute to be populated from the %ENV hash. So, for example if you
have set the environment variable USERNAME to 'John' you can do:
( run in 1.104 second using v1.01-cache-2.11-cpan-49f99fa48dc )