libmoosex-setonce-perl 0.200001-1 source package in Ubuntu
Changelog
libmoosex-setonce-perl (0.200001-1) unstable; urgency=low [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ Salvatore Bonaccorso ] * debian/copyright: Replace DEP5 Format-Specification URL from svn.debian.org to anonscm.debian.org URL. [ gregor herrmann ] * New upstream release. * Add newer perl as an alternative build dependency for Test::More. -- Ubuntu Archive Auto-Sync <email address hidden> Tue, 18 Oct 2011 10:03:38 +0000
Upload details
- Uploaded by:
- Ubuntu Archive Auto-Sync
- Uploaded to:
- Precise
- Original maintainer:
- Debian Perl Group
- Architectures:
- all
- Section:
- perl
- Urgency:
- Low Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Precise | release | universe | perl |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
libmoosex-setonce-perl_0.200001.orig.tar.gz | 11.0 KiB | 86d293ac6424c381cb4234e5370c2d365a64d44e6ac1f338c8c47ef10a894261 |
libmoosex-setonce-perl_0.200001-1.debian.tar.gz | 2.0 KiB | e487de370f05ecb00877ac80b17307616123b0e5ec59c85d271a7fd2d7316c0c |
libmoosex-setonce-perl_0.200001-1.dsc | 2.3 KiB | a1c974ddef91225d3c274a648336654dc3cb14a86711642e6a946b6b1df9af3b |
Available diffs
- diff from 0.200000-1 to 0.200001-1 (5.4 KiB)
Binary packages built by this source
- libmoosex-setonce-perl: module providing write-once, read-many attributes for Moose
MooseX::SetOnce provides the SetOnce attribute which 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.