MooseX...::Array(3pm)
π MooseX::AttributeHelpers::Collection::Array β bestie edition π
okay so this is a page from the User Contributed Perl Documentation, manual section 3pm (that's the "perl modules" shelf, iykyk). The header up top literally just says MooseX...::Array(3pm) because manpages love to truncate things dramatically, but the actual full name is right here:
MooseX::AttributeHelpers::Collection::Array β array attribute type π
β¨ VERSION β¨
version 0.25 π
π SYNOPSIS π
no cap, here's the whole vibe:
package Stuff;
use Moose;
use MooseX::AttributeHelpers;
has 'options' => (
metaclass => 'Collection::Array',
is => 'ro',
isa => 'ArrayRef[Int]',
default => sub { [] },
provides => {
'push' => 'add_options',
'pop' => 'remove_last_option',
}
);
π¦ DESCRIPTION π¦
This module hands you an Array attribute that comes with a whole little squad of array operations attached. Like, it's giving "attribute but make it do tricks." π
If you want the full tea on all the operations it can provide, go read MooseX::AttributeHelpers::MethodProvider::Array β that's where the details live.
π METHODS π
metaβ the meta thing. yes bestie, it's there.method_providerβ the method provider, obviously.has_method_providerβ checks whether there's a method provider. iconic of it.helper_typeβ the helper type. slay.
π SUPPORT π
Found a bug? π First of all, same. Second of all, you can submit it through the RT bug tracker: <https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-AttributeHelpers>
Or if email is more your thing, hit up bug-MooseX-AttributeHelpers@rt.cpan.org
There's also a mailing list for users of this distribution, at: <http://lists.perl.org/list/moose.html>
And there's an irc channel for users of this distribution too β #moose on irc.perl.org <irc://irc.perl.org/#moose>. come hang out, the group chat is right there π«Ά
πΈ AUTHOR πΈ
Stevan Little <stevan@iinteractive.com>
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2007 by Stevan Little and Infinity Interactive, Inc.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. fr fr, free as in do whatever the Perl 5 license says you can do. β
okay that's the whole page, we ate and left no crumbs π
this was MooseX...::Array(3pm) (perl v5.34.0, dated 2022-06-15), signed off with love from your favorite manpage bestie. mwah π§β¨
π¦ where this page comes from
- debian bookworm: libmoosex-attributehelpers-perl 0.25-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libmoosex-attributehelpers-perl 0.25-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libmoosex-attributehelpers-perl 0.25-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libmoosex-attributehelpers-perl 0.25-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libmoosex-attributehelpers-perl 0.25-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms