package
Mouse::Util::TypeConstraints;
+use Scalar::Util qw(blessed looks_like_number openhandle);
+
sub _generate_class_type_for{
my($for_class, $name) = @_;
- my $predicate = sub{ Scalar::Util::blessed($_[0]) && $_[0]->isa($for_class) };
+ my $predicate = sub{ blessed($_[0]) && $_[0]->isa($for_class) };
if(defined $name){
no strict 'refs';
use Mouse::Util qw(does_role not_supported); # enables strict and warnings
use Carp qw(confess);
-use Scalar::Util qw/blessed looks_like_number openhandle/;
+use Scalar::Util qw(blessed);
use Mouse::Meta::TypeConstraint;
use Mouse::Exporter;