use if ( not our $__mx_is_compiled ), 'Moose::Meta::Class';
use if ( not our $__mx_is_compiled ), metaclass => 'Moose::Meta::Class';
-use Carp 'confess';
-
our $VERSION = '0.57';
$VERSION = eval $VERSION;
our $AUTHORITY = 'cpan:STEVAN';
if (scalar @_ == 1) {
if (defined $_[0]) {
(ref($_[0]) eq 'HASH')
- || $class->throw_error("Single parameters to new() must be a HASH ref", data => $_[0]);
+ || $class->meta->throw_error("Single parameters to new() must be a HASH ref", data => $_[0]);
return {%{$_[0]}};
}
else {