MooseX...sideOut(3pm)
π NAME π
MooseX::NonMoose::InsideOut β the icon of subclassing non-Moose, non-hashref classes without losing your mind π
okay so real talk, this module is the friend who shows up when you're trying to extends some ancient class that isn't Moose and isn't even a hashref, and it just... handles it. lowkey magic. no cap.
β¨ VERSION β¨
version 0.27 π
πΈ SYNOPSIS πΈ
package Term::VT102::NBased;
use Moose;
use MooseX::NonMoose::InsideOut;
extends 'Term::VT102';
has [qw/x_base y_base/] => (
is => 'ro',
isa => 'Int',
default => 1,
);
around x => sub {
my $orig = shift;
my $self = shift;
$self->$orig(@_) + $self->x_base - 1;
};
# ... (wrap other methods)
no Moose;
# no need to fiddle with inline_constructor here
__PACKAGE__->meta->make_immutable;
my $vt = Term::VT102::NBased->new(x_base => 0, y_base => 0);
like, look at that. <pink>no need to fiddle with inline_constructor here</pink> β the comment is right there in the code, bestie, that's not me editorializing, that's the actual line πβ¨
π¦ DESCRIPTION π¦
this section is genuinely empty in the original, and I'm not about to invent lore for it π so yeah. that's the whole vibe. nothing to see here, moving on, we stay honest in this household π«Ά
π AUTHOR π
- Original author: Jesse Luehrs
<doy@tozt.net>π - Current maintainer: Graham Ollis
<plicease@cpan.org>π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2009-2025 by Jesse Luehrs.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. π like, go wild, remix it, it's free fr fr.
and that's a wrap on the MooseX...sideOut(3pm) page, which came to you courtesy of perl v5.40.0 and was last touched on 2025-01-11 β¨ mwah, take care of her, she's iconic ππ
π¦ where this page comes from
- debian trixie: libmoosex-nonmoose-perl 0.27-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libmoosex-nonmoose-perl 0.27-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libmoosex-nonmoose-perl 0.27-1 Β· 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