MooseX::NonMoose::InsideOut(3pm)

MooseX::NonMoose::InsideOut3pm

Easy subclassing of non-moose non-hashref classes

Usage

  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);

Version

version 0.27

Overview

Releases

7 releases since Debian 7 (Wheezy); the text changed 4 times.

  1. 7
  2. 8–10
  3. 11
  4. 12
  5. 13

Author

Original author: Jesse Luehrs <[email protected]>

Current maintainer: Graham Ollis <[email protected]>

From libmoosex-nonmoose-perl 0.27-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.