- SEE ALSO
- COPYRIGHT AND LICENSE
Types::Const - Types that coerce references to read-only
use Moo; use Types::Const -types; use Types::Standard -types; ... has bar => ( is => 'ro', isa => ConstArrayRef[Str], coerce => 1, );
The type library provides types that force read-only hash and array reference attributes to be deeply read-only.
A read-only array reference.
A read-only hash reference.
Please report any bugs or feature requests on the bugtracker website https://github.com/robrwo/Types-Const/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Robert Rothenberg <email@example.com>
This software is Copyright (c) 2018 by Robert Rothenberg.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)