Facility for creating read-only scalars, arrays, hashes
Репозитории
PowerTools
Полное описание
Readonly provides a facility for creating non-modifiable scalars,
arrays, and hashes. Any attempt to modify a Readonly variable throws
an exception.
Readonly:
* Creates scalars, arrays (not lists), and hashes
* Creates variables that look and work like native perl variables
* Creates global or lexical variables
* Works at run-time or compile-time
* Works with deep or shallow data structures
* Prevents reassignment of Readonly variables
* Thu Dec 07 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 2.05-5
- Rebuilt for MSVSphere 8.8
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.05-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.05-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.05-3
- Perl 5.26 rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.05-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Mon Jun 13 2016 Paul Howarth <paul@city-fan.org> - 2.05-1
- Update to 2.05
- Fix deref when using the stupid and utterly unnecessary Readonly::Clone
- BR: perl-generators where available
- Bump Test::More version requirement to 0.88 due to use of done_testing
- Update interpreter patch
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.04-2
- Perl 5.24 rebuild
* Sat May 07 2016 Paul Howarth <paul@city-fan.org> - 2.04-1
- Update to 2.04
- Create mutable clones of readonly structures with Readonly::Clone (GH#13)
- Minor typo fix (GH#21)
- Rewording some documentation
- No longer require an explicit version of perl in META.json or cpanfile
- Quiet compile time warnings about function prototypes and vars being used
only once
- Update interpreter patch
* Thu Feb 25 2016 Paul Howarth <paul@city-fan.org> - 2.01-1
- Update to 2.01
- Disallow initialization of Readonly variables by assignment, allowed by
Perl prototype changes in v5.16; assignment initialization of scalars sets
scalar variables to undef and lists and hashes initialized by assignment
are not read only
- Use %license
- Upstream switched to Module::Build::Tiny flow
- Update interpreter patch
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.00-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild