blob: 29914eb634d5a28e0ccea5e4fe567c303efab445 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
package t::BHK;
sub import {
shift;
unless (@_) {
XS::APItest::bhk_record(1);
return;
}
if ($_[0] eq "push") {
push @XS::APItest::bhkav, $_[1];
return;
}
}
sub unimport { XS::APItest::bhk_record(0) }
1;
|