☰
Debian Codegraph
@
5.42.3-1
5.42.2-3
5.40.1-8
/
/
ext
/
XS-APItest
/
t
/
mro.t
☽
☼
ext/XS-APItest/t/mro.t
code
plain
raw
GPL-1+
or
Artistic
Copyright (C) 2002,2004 Tim Jenness, Christian Soeller, Hugo van der Sanden.; All Rights Reserved.; .; Copyright (C) 2009 Andrew Main (Zefram) <
[email protected]
>
debian/copyright
1
#!perl
2
3
use XS::APItest;
4
use Test::More;
5
6
plan tests => 1;
7
8
use mro;
9
mro::set_mro(AA => 'justisa');
10
11
@AA::ISA = qw "BB CC";
12
13
sub BB::fromp { "bb" }
14
sub CC::fromp { "cc" }
15
16
is fromp AA, 'bb', 'first elem of linearisation is not ignored';