4 use File::Temp qw(tempdir);
7 # Test that refs in @INC don't get mangled.
11 my $dir = tempdir('test_local_lib-XXXXX', DIR => Cwd::abs_path('t'), CLEANUP => 1);
16 local::lib->import($dir);
17 ok grep({ $_ eq $code } @INC), 'Can find code ref in @INC';
18 ok grep({ ref $_ } @INC), 'It really is a ref, not stringified';