☰
Debian Codegraph
@
5.42.3-1
5.42.2-3
5.40.1-8
/
/
ext
/
XS-APItest
/
t
/
BHK.pm
☽
☼
ext/XS-APItest/t/BHK.pm
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
package t::BHK;
2
3
sub import {
4
shift;
5
unless (@_) {
6
XS::APItest::bhk_record(1);
7
return;
8
}
9
if ($_[0] eq "push") {
10
push @XS::APItest::bhkav, $_[1];
11
return;
12
}
13
}
14
sub unimport { XS::APItest::bhk_record(0) }
15
16
1;