1MouseX::Foreign(3) User Contributed Perl Documentation MouseX::Foreign(3)
2
3
4
6 MouseX::Foreign - Extends non-Mouse classes as well as Mouse classes
7
9 This document describes MouseX::Foreign version 1.000.
10
12 package MyInt;
13 use Mouse;
14 use MouseX::Foreign qw(Math::BigInt);
15
16 has name => (
17 is => 'ro',
18 isa => 'Str',
19 );
20
22 MouseX::Foreign provides an ability for Mouse classes to extend any
23 classes, including non-Mouse classes, including Moose classes.
24
26 Perl 5.8.1 or later.
27
29 All complex software has bugs lurking in it, and this module is no
30 exception. If you find a bug please either email me, or add the bug to
31 cpan-RT.
32
34 This is a Mouse port of MooseX::NonMoose, although the name is
35 different.
36
38 Mouse
39
40 Moose
41
42 MooseX::NonMoose
43
44 MooseX::Alien
45
47 Fuji, Goro (gfx) <gfuji(at)cpan.org>
48
50 Copyright (c) 2010, Fuji, Goro (gfx). All rights reserved.
51
52 This library is free software; you can redistribute it and/or modify it
53 under the same terms as Perl itself.
54
55
56
57perl v5.36.0 2022-07-22 MouseX::Foreign(3)