4 use Test::More 'no_plan';
18 my ( $class, %opts ) = @_;
20 { attrib => 'bar', %opts };
23 __PACKAGE__->meta->make_immutable;
27 MySingleton->attrib, 'bar',
28 'BUILDARGS changed value of attrib when instance was auto-instantiated'
31 MySingleton->meta->remove_package_glob('singleton');
33 MySingleton->instance;
36 MySingleton->attrib, 'bar',
37 'BUILDARGS changed value of attrib when instance was explicitly instantiated'