The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
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;