Subject: | Imported constants are not cleaned up |
It appears that at least some imported constants are not cleaned up properly.
For instance, the attached test fails on 0.28.
Greg
Subject: | imported-constant.t |
use strict;
use warnings;
use Test::More;
{
package Foo;
use Fcntl qw( O_CREAT );
use namespace::autoclean;
}
ok(!Foo->can('O_CREAT'), 'imported constant is cleaned up');
done_testing;