- Name: perl-MooseX-SetOnce
- Version: 0.200.0
- Release: 1
- 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: 36083
- Distribution: Mandriva Linux
- Vendor: Mandriva
- Packager: Guillaume Rousse <guillomovitch@mandriva.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.
- OptFlags: -O2 -g -frecord-gcc-switches -Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC
- Cookie: celeste.mandriva.com 1303049336
- Buildhost: celeste.mandriva.com