This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove unnecessary module loads from B and O
authorTodd Rinaldo <toddr@cpan.org>
Wed, 13 Sep 2017 19:35:21 +0000 (14:35 -0500)
committerTodd Rinaldo <toddr@cpanel.net>
Wed, 8 Nov 2017 22:36:16 +0000 (16:36 -0600)
commit95d444af8eeefcf058bb763df9a51ae1ba3d8942
tree32744fa0c86687a89d87556f4573eba7959afe0a
parent6f1b38bf953ca99a594fc10a4c30a302f2017c93
Remove unnecessary module loads from B and O

This commit removes multiple unnecessary modules so that
perl -MO= can hand back to compile as cleanly as possible.

This change caused significant jitter in tests for B::Concise. While updating
the test to the new reality, OptreeCheck.pm was corrected to stop stripping
regexes off $got when it started failing so it would be easier to see where
the failure happened.
ext/B/B.pm
ext/B/O.pm
ext/B/t/OptreeCheck.pm
ext/B/t/optree_specials.t