This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Avoid needing to stub B::OPf_KIDS by loading the XS earlier.
authorNicholas Clark <nick@ccl4.org>
Thu, 4 Nov 2010 11:39:19 +0000 (11:39 +0000)
committerNicholas Clark <nick@ccl4.org>
Thu, 4 Nov 2010 11:39:19 +0000 (11:39 +0000)
commit744aaba0598b45009977ebe8c7d6dc376288e2e4
treee3fc9b69cb4268691ba9e46069aedc368c4003d1
parent4bf035ef9384dfbe85a500502cc3866c87c59b26
Avoid needing to stub B::OPf_KIDS by loading the XS earlier.

This will also inline the constant in the code of walkoptree_slow().
Things are complicated by the fact that B's BOOT code needs $VERSION set, and
pushes to @EXPORT_OK.

Move the 'use strict' much earlier.
ext/B/B.pm