requires 'Carp';
requires 'Devel::GlobalDestruction';
-requires 'MRO::Compat' => '0.05';
-requires 'Scalar::Util' => '1.18';
-requires 'Sub::Name' => '0.04';
+requires 'MRO::Compat' => '0.05';
+requires 'Scalar::Util' => '1.18';
+requires 'Sub::Name' => '0.04';
+requires 'namespace::clean' => '0.11';
requires 'Task::Weaken';
test_requires 'File::Spec';
use Carp 'confess';
use Scalar::Util 'blessed', 'weaken';
+use namespace::clean;
+
our $VERSION = '0.93';
$VERSION = eval $VERSION;
our $AUTHORITY = 'cpan:STEVAN';
use Sub::Name 'subname';
use Devel::GlobalDestruction 'in_global_destruction';
+use namespace::clean;
+
our $VERSION = '0.93';
$VERSION = eval $VERSION;
our $AUTHORITY = 'cpan:STEVAN';
use Carp qw( cluck );
use Scalar::Util qw( blessed );
+use namespace::clean;
+
+# force loading of everything to prevent namespace::clean in the patched
+# packages from deleting our symbols
+use Class::MOP;
+
our $VERSION = '0.93';
$VERSION = eval $VERSION;
our $AUTHORITY = 'cpan:STEVAN';
my $map = $self->_full_method_map;
$map->{$_} = $self->get_method($_)
- for grep { !blessed( $map->{$_} ) } keys %{$map};
+ for grep { !Scalar::Util::blessed( $map->{$_} ) } keys %{$map};
return $map;
}
use Scalar::Util 'weaken', 'blessed';
+use namespace::clean;
+
our $VERSION = '0.93';
$VERSION = eval $VERSION;
our $AUTHORITY = 'cpan:STEVAN';
use Carp 'confess';
use Scalar::Util 'weaken', 'reftype', 'blessed';
+use namespace::clean;
+
our $VERSION = '0.93';
$VERSION = eval $VERSION;
our $AUTHORITY = 'cpan:STEVAN';
use Carp 'confess';
use Scalar::Util 'blessed', 'weaken';
+use namespace::clean;
+
our $VERSION = '0.93';
$VERSION = eval $VERSION;
our $AUTHORITY = 'cpan:STEVAN';
use Carp 'confess';
use Scalar::Util 'blessed', 'weaken', 'looks_like_number';
+use namespace::clean;
+
our $VERSION = '0.93';
$VERSION = eval $VERSION;
our $AUTHORITY = 'cpan:STEVAN';
use Carp 'confess';
+use namespace::clean;
+
our $VERSION = '0.93';
$VERSION = eval $VERSION;
our $AUTHORITY = 'cpan:STEVAN';
use Carp 'confess';
use Scalar::Util 'blessed', 'weaken', 'looks_like_number', 'refaddr';
+use namespace::clean;
+
our $VERSION = '0.93';
$VERSION = eval $VERSION;
our $AUTHORITY = 'cpan:STEVAN';
use Carp 'confess';
use Scalar::Util 'blessed';
+use namespace::clean;
+
+
our $VERSION = '0.93';
$VERSION = eval $VERSION;
our $AUTHORITY = 'cpan:STEVAN';
use Carp 'confess';
use Scalar::Util 'blessed';
+use namespace::clean;
+
our $VERSION = '0.93';
$VERSION = eval $VERSION;
our $AUTHORITY = 'cpan:STEVAN';
use Scalar::Util 'blessed';
+use namespace::clean;
+
our $VERSION = '0.93';
$VERSION = eval $VERSION;
our $AUTHORITY = 'cpan:STEVAN';
use Carp 'confess';
use Sub::Name 'subname';
+use namespace::clean;
+
our $VERSION = '0.93';
$VERSION = eval $VERSION;
our $AUTHORITY = 'cpan:STEVAN';
use Carp 'confess';
use Scalar::Util 'blessed';
+use namespace::clean;
+
our $VERSION = '0.93';
$VERSION = eval $VERSION;
our $AUTHORITY = 'cpan:STEVAN';
use metaclass;
use Scalar::Util qw/blessed/;
+ use namespace::clean -except => "meta";
+
my $meta = Buzz->meta;
::lives_ok {
$meta->add_attribute($FOO_ATTR_2);