- Name: perl-MooseX-SetOnce
- Version: 0.200.0
- Release: 1.mga1
- Epoch:
- Group: Development/Perl
- License: GPL+ or Artistic
- Url: http://search.cpan.org/dist/MooseX-SetOnce
- Summary: Write-once, read-many attributes for Moose
- Architecture: noarch
- Size: 12853
- Distribution: Mageia
- Vendor: Mageia.Org
- Packager: Mageia Team <http://www.mageia.org>
Description:
The 'SetOnce' attribute lets your class have attributes that are not lazy
and not set, but that cannot be altered once set.
The logic is very simple: if you try to alter the value of an attribute
with the SetOnce trait, either by accessor or writer, and the attribute has
a value, it will throw an exception.
If the attribute has a clearer, you may clear the attribute and set it
again.
- BuildArch:
- ExcludeArch:
- ExclusiveArch:
- Cookie: jonund 1302186195
- Buildhost: jonund