use Test::More;
plan skip_all => 'B::C required for testing perlcc -O3'
- unless eval "require B::C;";
+ unless eval { +require B::C; };
plan skip_all => 'B::C is too old (require 1.48, have ' . ($B::C::VERSION || 'undef') . ')'
unless eval { B::C->VERSION('1.48') };
plan skip_all => 'Devel::CheckBin required for looking for a perlcc executable'
- unless eval 'require Devel::CheckBin';
+ unless eval { +require Devel::CheckBin };
plan skip_all => 'perlcc required' unless Devel::CheckBin::can_run('perlcc');