package Mouse::Util;
use strict;
use warnings;
-use Exporter 'import';
+use base qw/Exporter/;
use Carp;
our @EXPORT_OK = qw(
# weaken
# other functions need to be loaded from our respective sources
- if (defined &Scalar::Util::openhandle || eval { require Scalar::Util; 1 }) {
+ if (defined &Scalar::Util::openhandle) {
*openhandle = \&Scalar::Util::openhandle;
} else {
# XXX - room for improvement