![]() |
![]()
| ![]() |
![]()
NAMEMouseX::AttributeHelpers::Collection::ImmutableHash SYNOPSISpackage MyClass; use Mouse; use MouseX::AttributeHelpers; has 'options' => ( metaclass => 'Collection::ImmutableHash', is => 'rw', isa => 'HashRef', default => sub { +{} }, provides => { get => 'get_option', empty => 'has_options', keys => 'get_option_list', }, ); DESCRIPTIONThis module provides a immutable HashRef attribute which provides a number of hash-line operations. PROVIDERScountemptyexistsgetkeysvalueskvMETHODSmethod_constructorshelper_typeAUTHORNAKAGAWA Masaki <masaki@cpan.org> LICENSEThis library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSOMouseX::AttributeHelpers, MouseX::AttributeHelpers::Base
|