Config::Model::TypeConstraints - Mouse type constraints for Config::Model
version 2.146
use Config::Model::TypeConstraints ; has 'some_dir' => ( is => 'ro', isa => 'Config::Model::TypeContraints::Path', coerce => 1 );
This module provides type constraints used by Config::Model:
Config::Model::TypeContraints::Path. A Maybe[Path::Tiny] type. This type can be coerced from Str type if coerce => 1 is used to construct the attribute.
Config::Model::TypeContraints::Path
Maybe[Path::Tiny]
Str
coerce => 1
Config::Model, Mouse::Util::TypeConstraints
Dominique Dumont
This software is Copyright (c) 2005-2021 by Dominique Dumont.
This is free software, licensed under:
The GNU Lesser General Public License, Version 2.1, February 1999
To install Config::Model, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Config::Model
CPAN shell
perl -MCPAN -e shell install Config::Model
For more information on module installation, please visit the detailed CPAN module installation guide.