Package : perl-MooseX-SetOnce > RPM : perl-MooseX-SetOnce-0.200.2-9.mga7.src.rpm
Basic items
Name | perl-MooseX-SetOnce |
Version | 0.200.2 |
Release | 9.mga7 |
URL | http://search.cpan.org/dist/MooseX-SetOnce |
Group | Development/Perl |
Summary | Write-once, read-many attributes for Moose |
Size | 17KB |
Arch | noarch |
License | GPL+ or Artistic |
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.
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.
Media information
Distribution release | Mageia 7 |
Media name | core-release |
Media arch | aarch64 |
Advanced items
Source RPM | NOT IN DATABASE ?! |
Build time | 2018-09-19 11:11:41 |
Changelog | View in Sophie |
Files | View in Sophie |
Dependencies | View in Sophie |