The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use strict;
use warnings FATAL => 'all';
use Test::More tests => 1;
use lib::core::only ();
use Config;

is_deeply(
  [ do { local @INC = @INC; lib::core::only->import; @INC } ],
  [ $Config{privlibexp}, $Config{archlibexp} ],
  'lib::core::only mangles @INC correctly'
);