This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Change B::COP::stashlen to stashoff
authorFather Chrysostomos <sprout@cpan.org>
Tue, 5 Jun 2012 21:41:25 +0000 (14:41 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Wed, 6 Jun 2012 03:30:08 +0000 (20:30 -0700)
commita60c099b83a336be6df44b89eb468b0cdfe351ca
tree31b610b9c6dc7110440b05b7bb23187f5d694755
parentee39f343efffd64e53e2d8282afa1cb99a1b7dcd
Change B::COP::stashlen to stashoff

This was brought up in ticket #78742.

The stashlen method has never been in a stable release, and no longer
exists, as of d4d03940c, since it is dependent on a define that
d4d03940c removed.

So this commit removes stashlen from B.xs and adds stashoff in its
place, since this is what B::C needs.

It also adds a few basic tests for the stash and stashpv methods.
ext/B/B.pm
ext/B/B.xs
ext/B/t/b.t