Lines Matching full:inc
3 # Check that modifying %INC during an @INC hook does not
4 # clobber the hook by modifying @INC at the same time.
19 $INC{$filename} = "the_test_file";
33 *{"${class}::INC"} = sub {
42 unshift @INC, bless \%fatpacked, $class;
47 ok(UNIVERSAL::isa($INC[0],"FatPacked"), '$INC[0] starts FatPacked');
48 ok(!exists $INC{"Test1.pm"}, 'Test1.pm not in %INC');
49 ok(!exists $INC{"Test2.pm"}, 'Test2.pm not in %INC');
54 ok(UNIVERSAL::isa($INC[0],"FatPacked"), '$INC[0] is still FatPacked');
55 ok(UNIVERSAL::isa($INC{"Test1.pm"},"FatPacked"), '$INC{"Test1.pm"} is still FatPacked');
56 is($INC{"Test2.pm"},"the_test_file", '$INC{"Test2.pm"} is as expected');
57 is($INC[0],$INC{"Test1.pm"},'Same object in @INC and %INC');