The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Types::Attean - Type constraints for dealing with Attean classes

SYNOPSIS

TODO package IRI::Counter { use Moo; # or Moose use Types::Attean qw( AtteanIRI );

  has iri => (
    is => "ro",
    isa => AtteanIRI,
    required => 1,
  );

  sub count_uses_in_document { ... }
}

DESCRIPTION

Types::Attean is a type constraint library suitable for use with Moo/Moose attributes, Kavorka sub signatures, and so forth. It builds on Types::URI.

TYPES

AtteanIri

A class type for Attean::IRI.

Can coerce from URI, IRI, URI::Namespace and strings.

OTHER COERCIONS

This library can also coerce from Attean::IRI to the Namespace type defined in URI::Namespace.