NAME
Mite::Manual::Missing - major Moose features not supported by Mite
MANUAL
Native Attribute Traits
Sub::HandlesVia 0.026 and above should work with Mite classes. You need to make sure the Mite shim is loaded before Sub::HandlesVia.
package Your::Project::Class;
use Your::Project::Mite;
use Sub::HandlesVia;
has numbers => (
is => 'lazy',
builder => sub { [] },
isa => 'ArrayRef[Int]',
handles_via => 'Array',
handles => {
add_number => 'push',
pop_number => 'pop',
},
);
1;
The Meta-Object Protocol
Upgrade to Moose if you need this.
BUGS
Please report any bugs to https://github.com/tobyink/p5-mite/issues.
AUTHOR
Michael G Schwern <mschwern@cpan.org>.
Toby Inkster <tobyink@cpan.org>.
COPYRIGHT AND LICENCE
This software is copyright (c) 2011-2014 by Michael G Schwern.
This software is copyright (c) 2022 by Toby Inkster.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
DISCLAIMER OF WARRANTIES
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.