9 use constant FOO => 'bar';
12 my $meta = Class::MOP::Class->initialize('Foo');
14 my $syms = $meta->get_all_package_symbols('CODE');
15 is(ref $syms->{FOO}, 'CODE', 'get constant symbol');
19 $syms = $meta->get_all_package_symbols('CODE');
20 is(ref $syms->{FOO}, 'CODE', 'constant symbol still there, although we dropped our reference');