use strict;
use warnings;
-use Test::More tests => 1;
+use Test::More;
=pod
subtype Stuff
=> as Object
=> where { ... }
-
-will break if the Object:: namespace exists. So the
+
+will break if the Object:: namespace exists. So the
solution is to quote 'Object', like so:
subtype Stuff
=> as 'Object'
=> where { ... }
-Moose 0.03 did this, now it doesn't, so all should
-be well from now on.
+Moose 0.03 did this, now it doesn't, so all should
+be well from now on.
=cut
{ package Object::Test; }
-use_ok('Moose');
+{
+ package Foo;
+ ::use_ok('Moose');
+}
+
+done_testing;