|
NAMETypes::Namespace - type constraints for dealing with namespaces SYNOPSIS package Namespace::Counter {
use Moo; # or Moose
use Types::Namespace qw( Namespace );
has ns => (
is => "ro",
isa => Namespace,
required => 1,
);
sub count_uses_in_document { ... }
}
DESCRIPTIONTypes::Namespace is a type constraint library suitable for use with Moo/Moose attributes, Kavorka sub signatures, and so forth. It builds on Types::URI. TYPES
FURTHER DETAILSSee URI::NamespaceMap for further details about authors, license, etc.
|