- Name: perl-MooseX-SetOnce
- Version: 0.203.0
- Release: 1.mga9
- Epoch:
- Group: Development/Perl
- License: GPL+ or Artistic
- Url: https://metacpan.org/release/MooseX-SetOnce
- Summary: Write-once, read-many attributes for Moose
- Architecture: noarch
- Size: 20351
- Distribution: Mageia
- Vendor: Mageia.Org
- Packager: tv <tv>
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: localhost 1672647871
- Buildhost: localhost