HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/strawberry/perl/vendor/lib/MooseX/Types/Structured/OverflowHandler.pm
package ## Hide from PAUSE
  MooseX::Types::Structured::OverflowHandler;

our $VERSION = '0.36';

use Moose;

use overload '""' => 'name', fallback => 1;

has type_constraint => (
    is       => 'ro',
    isa      => 'Moose::Meta::TypeConstraint',
    required => 1,
    handles  => [qw/check/],
);

sub name {
    my ($self) = @_;
    return 'slurpy(' . $self->type_constraint->name . ')';
}

no Moose;
__PACKAGE__->meta->make_immutable;

1;